/* ============================================================
   tokens — the whole palette, type and spacing live here.
   One accent only (finder). No gradients, no soft shadows.
   ============================================================ */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("../fonts/space-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour */
  --fog: #E3E3E0;
  --paper: #F4F4F2;
  --ink: #000000;
  --graphite: #5E5E5A;
  --white: #FFFFFF;
  --finder: #2D5BFF;

  /* type */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;

  --fs-xs: 0.75rem;
  --fs-s: 0.875rem;
  --fs-m: 1rem;
  --fs-l: clamp(1.125rem, 0.95rem + 0.6vw, 1.5rem);
  --fs-xl: clamp(2rem, 1.2rem + 3.6vw, 4.75rem);
  --fs-display: clamp(3.5rem, 1.5rem + 11vw, 15rem);

  /* space */
  --gutter: clamp(16px, 2.2vw, 32px);
  --header-h: 64px;
  --g: 16px;                          /* the one gallery gutter */
  --frame: rgba(0, 0, 0, 0.16);       /* hairline around every image */

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* layers */
  --z-grain: 90;
  --z-header: 60;
  --z-menu: 70;
}

@media (max-width: 720px) {
  :root { --header-h: 56px; }
}
