/* syp makeover tokens, direction A "The Level". Single source of truth.
   Every page will link this file. Nothing below is repeated per page.
   Brand kit values: 08 Marketing & Brand/Brand Assets/Brand Kit/brand-tokens.json */

:root {
  /* Colour: two bases and exactly one accent per page */
  --black: #0B0B0C;
  --white: #F5F5F2;
  --accent: #C6FF00;            /* Volt. Change here to re-theme (one accent per page, never two) */
  --accent-ink: #0B0B0C;        /* text on an accent block, always black */

  /* Surface and text, dark is the default theme */
  --bg: var(--black);
  --fg: var(--white);
  --mute: #A3A3A0;              /* units, captions, secondary text on black (7.6:1) */
  --hair: rgba(245, 245, 242, 0.18);   /* the hairline */
  --hair-strong: rgba(245, 245, 242, 0.42);

  /* Type */
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(5rem, 26vw, 16rem);        /* one per view, weight 200, tracking -0.06em */
  --fs-numeral: clamp(2.5rem, 8vw, 4.5rem);   /* numeral L, weight 300 */
  --fs-lede: clamp(1.25rem, 2.4vw, 1.75rem);  /* the sentence under the number, weight 300 (extension to the kit, to confirm) */
  --fs-heading: clamp(1.375rem, 2.2vw, 1.75rem); /* weight 500 */
  --fs-body: 1rem;                            /* weight 400, line-height 1.6 */
  --fs-caption: 0.8125rem;                    /* 13px, weight 400 */
  --fs-label: 0.75rem;                        /* 12px, weight 500, caps, +0.14em */
  --track-hero: -0.06em;
  --track-label: 0.14em;

  /* Space: 4px base */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 144px;
  --section: clamp(64px, 12vw, 144px);        /* vertical rhythm between views */

  /* Grid */
  --gutter: 16px;                             /* page gutter on phones */
  --max: 1200px;
  --cols: 4;                                  /* 4 on phones, 12 from 900px */
  --col-gap: 16px;

  /* Line */
  --hairline: 1px;
  --stroke: 3px;                              /* illustration stroke, square caps, miter joins */

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 120ms;
  --t-base: 200ms;
  --t-slow: 400ms;
}

@media (min-width: 600px) { :root { --gutter: 32px; --col-gap: 24px; } }
@media (min-width: 900px) { :root { --cols: 12; } }

/* Light theme: reading surfaces only (research articles, legal). Volt is never text here (1.09:1). */
.theme-light {
  --bg: var(--white);
  --fg: var(--black);
  --mute: #5E5E5B;
  --hair: rgba(11, 11, 12, 0.16);
  --hair-strong: rgba(11, 11, 12, 0.42);
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 0ms; --t-base: 0ms; --t-slow: 0ms; }
}
