/* Hallmark · route: custom (tuned) · scope: site system · genre: playful · tone: playful-bold · idea: "the three dots are the interface"
 * nav: N12 banner + fixed bar (solid on scroll, no morph) + N11 mega panel (anchored card, no scrim) · footer: Ft5 statement + brief-as-a-sentence form + sitemap (SEO hub)
 * paper: oklch(98.6% 0.004 264) · accent: oklch(53% 0.24 265) · display: Anton · body: Plus Jakarta Sans
 * axes: light / display-condensed-bold / cool · studied: no · context: user-provided palette + tone, inferred type
 * motion: Lenis 1.3.26 smooth wheel scroll (touch stays native; off with reduced motion)
 * pre-emit critique: P4 H4 E4 S5 R4 V4
 */

:root {
  /* Colour — black, white, blue. Every neutral leans toward the brand-blue hue (264). */
  --color-ink: oklch(16.5% 0.020 264);          /* #0a0e17 — black */
  --color-ink-2: oklch(23.5% 0.026 264);        /* #181e2b — raised dark surface */
  --color-ink-3: oklch(30% 0.030 264);          /* #262e3d */
  --color-paper: oklch(98.6% 0.004 264);        /* #f9fafd — white */
  --color-paper-2: oklch(95.8% 0.008 264);      /* #eef1f7 */
  --color-rule: oklch(87% 0.012 264);           /* hairlines on paper */
  --color-rule-dark: oklch(34% 0.024 264);      /* hairlines on ink */
  --color-muted: oklch(48% 0.022 264);          /* secondary text on paper · 6.3:1 */
  --color-muted-dark: oklch(76% 0.020 264);     /* secondary text on ink · 9:1 */
  --color-blue: oklch(53% 0.240 265);           /* #2456f3 — electric blue · white text 5.4:1 */
  --color-blue-deep: oklch(39.4% 0.222 264);    /* #012bba — the current brand blue · links on paper 9.8:1 */
  --color-blue-night: oklch(30% 0.170 266);     /* deepest pool in the moving About background */
  --color-blue-soft:oklch(80% 0.095 266);      /* blue text on ink · 10.3:1 */
  --color-blue-tint: oklch(94% 0.028 266);      /* secondary text on blue · 4.7:1 */
  --color-lime: oklch(92% 0.222 128.3);         /* #b8ff3d — banner highlight + typing caret · ink text on it 16:1 */
  --color-rec:oklch(63% 0.225 27);             /* the viewfinder's REC dot — the only red on the site */
  --color-error-soft: oklch(76% 0.130 25);      /* error text on ink · 9.6:1 */
  --color-error: oklch(50% 0.190 27);           /* error text on paper · ~5.9:1 */
  --color-ink-clear: oklch(16.5% 0.020 264 / 0);/* transparent ink, for transitions */
  --color-shadow: oklch(16.5% 0.020 264 / 0.32);
  --color-focus: var(--color-blue);

  /* Type — Anton echoes the condensed wordmark; Plus Jakarta Sans was drawn for Jakarta by Tokotype. */
  --font-display: "Anton", Impact, "Arial Narrow Bold", "Noto Sans SC", sans-serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  --text-xs: 0.8rem;                                    /* 12.8px — badges, legal */
  --text-sm: 0.875rem;                                  /* 14px — descriptions, small print */
  --text-base: 1rem;                                    /* 16px — nav, body, buttons */
  --text-md: 1.25rem;                                   /* 20px */
  --text-xl: clamp(1.5rem, 1.6vw + 1rem, 2.4414rem);    /* brief sentence, footer email, card titles */
  --text-2xl: clamp(1.5rem, 2.4vw + 1rem, 3.25rem);     /* service names, process steps — one line even at 320px */
  --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);  /* footer statement */
  --text-display-word: clamp(2.75rem, min(7vw + 0.5rem, 10.5dvh), 7rem); /* single words only (menu) — also capped by height */
  --text-hero: clamp(2.75rem, 14vw, 15rem);             /* home banner: two short lines that hug the edges */

  --leading-hero: 0.88;
  --leading-tight: 1.05;
  --leading-snug: 1.25;
  --leading-body: 1.6;

  /* Space — 4pt scale */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 9rem;

  --gutter: clamp(1rem, 3.5vw, 2.5rem);
  --page-max: 90rem;
  --header-h: 4rem;
  /* Shape */
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
  --rule-hair: 1px;
  --rule-field: 2px;                            /* underline of the brief's inline fields */

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 420ms;
  --dur-morph: 520ms;
  --dur-reveal: 640ms;
  --dur-flow: 900ms;   /* one dash length of the process line's march */
  --dur-drift: 9s;     /* one sweep of the About background */

  /* Layers */
  --z-base: 1;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-skip: 600;
}

@media (min-width: 72rem) {
  :root {
    --header-h: 4.75rem;
  }
}
