/* ADDJ — shared design system, stage 01.
   Source: ../.. / ADDJ_Website_Build_Handoff.md, sections 9–18, 31–33.
   Palette names are locked; these exact hex values are implementation choices.
   Archivo Narrow's supplied 700 face is used without synthetic heavy weights. */
@font-face {
  font-family: 'Archivo Narrow';
  src: url('./assets/fonts/archivo-narrow-700.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('./assets/fonts/space-grotesk-400.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('./assets/fonts/space-grotesk-500.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('./assets/fonts/space-grotesk-600.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --color-black: #080808;
  --color-near-black: #101010;
  --color-white: #f5f4f0;
  --color-muted: #c2c1bc;
  --color-rule: #343432;
  --color-champagne: #d9c6a2;
  --color-magenta: #cc3977;
  --color-cyan: #65cede;
  --color-purple: #a48add;
  --color-accent: var(--color-champagne);

  --font-display: 'Archivo Narrow', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --weight-display: 700;
  --weight-body: 400;
  --weight-ui: 500;
  --weight-emphasis: 600;
  --text-micro: 0.75rem;
  --text-label: 0.875rem;
  --text-body: clamp(1rem, 1.1vw, 1.0625rem);
  --text-hero: clamp(6rem, 14.2vw, 13.625rem);
  --text-section: clamp(3.5rem, 7.05vw, 6.75rem);
  --leading-body: 1.7;
  --leading-display: 0.96;
  --tracking-display: -0.035em;
  --tracking-label: 0.12em;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-chapter: clamp(5rem, 11vw, 10rem);
  --page-gutter: clamp(1.5rem, 4.45vw, 5.5rem);
  --layout-max: 100rem;
  --body-column: 26rem;
  --nav-height: 6.5rem;

  --motion-fast: 180ms;
  --motion-reveal: 520ms;
  --motion-rule: 700ms;
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-ui: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 700px) {
  :root {
    --nav-height: 4.5rem;
    --text-hero: clamp(3rem, 15.6vw, 6.8rem);
    --text-section: clamp(3rem, 11.7vw, 5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-fast: 0ms;
    --motion-reveal: 0ms;
    --motion-rule: 0ms;
  }
}
