/* cooperph.com — base neutra condivisa da tutte le pagine.
   Fondo nero, testo bianco; ogni pagina aggiunge il suo stile sopra. */

/* Font: sottoinsiemi latin (*.latin.woff2, fontTools) — latino base + Latin-1,
   – — ‘ ’ “ ” • …  I file completi originali restano accanto, non usati. */
@font-face {
  font-family: "Courier Prime";
  src: url("/assets/fonts/CourierPrime-Regular.latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("/assets/fonts/CourierPrime-Bold.latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Prata";
  src: url("/assets/fonts/Prata-Regular.latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --ink: #fff;
  --ink-80: rgba(255, 255, 255, 0.8);
  --ink-60: rgba(255, 255, 255, 0.6);
  --ink-40: rgba(255, 255, 255, 0.4);
  --ink-20: rgba(255, 255, 255, 0.2);
  --ink-10: rgba(255, 255, 255, 0.1);

  --font-ui: "Courier Prime", ui-monospace, "SF Mono", Menlo, monospace;
  --font-text: "Prata", Georgia, "Times New Roman", serif;

  --ease-shutter: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-film: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img,
svg,
canvas {
  display: block;
}

.label {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}
