/* =========================================================================
   DNA DESIGN SYSTEM — TOKENS
   Change brand colours, fonts and spacing here; every page updates.
   ========================================================================= */

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

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Brand colours  ---- */
  --dna-blue: #14205a;        /* primary — deep DNA blue */
  --dna-blue-700: #0f1847;    /* hover / pressed (darker) */
  --dna-blue-900: #0b1236;    /* footer, deepest backgrounds */
  --dna-blue-50: #eef1fa;     /* tinted backgrounds */
  --dna-yellow: #ffe50a;      /* signature accent — bands, CTAs, highlights */
  --dna-yellow-600: #f2d600;  /* yellow hover */

  /* ---- Neutrals ---- */
  --ink: #12151f;             /* headings on white */
  --text: #2c303b;            /* body text */
  --muted: #5d6272;           /* secondary text (passes WCAG AA on white) */
  --line: #e2e4eb;            /* thin grid lines */
  --line-strong: #c9ccd6;
  --paper: #ffffff;
  --paper-2: #f5f5f2;         /* warm off-white sections */

  /* ---- Typography ---- */
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Display width: condensed for editorial statements */
  --display-stretch: 78%;

  /* Fluid type scale (min at 360px → max at 1440px) */
  --fs-xs: 0.75rem;                                   /* 12 */
  --fs-sm: 0.875rem;                                  /* 14 */
  --fs-base: 1rem;                                    /* 16 */
  --fs-md: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);/* 17–19 */
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);    /* 20–24 */
  --fs-xl: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem);    /* 24–36 */
  --fs-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);      /* 32–56 */
  --fs-3xl: clamp(2.5rem, 1.6rem + 4vw, 5rem);        /* 40–80 */
  --fs-4xl: clamp(3rem, 1.8rem + 5.6vw, 6.75rem);     /* 48–108 */

  /* ---- Spacing ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section: clamp(4rem, 2.5rem + 6vw, 8rem);        /* vertical padding between sections */
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 3rem);       /* page side padding */

  /* ---- Layout ---- */
  --container: 1320px;
  --header-h: 84px;
  --radius: 0;                /* DNA style is square-edged */

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 220ms;
}

@media (max-width: 1100px) {
  :root { --header-h: 68px; }
}
