/* Hallmark · macrostructure: Pinned scroll-scene + Long Document · tone: clinical luxury, editorial · anchor hue: cobalt 252
 * theme: custom · vibe: "cold porcelain, cobalt iris, surgical calm"
 * paper oklch(97.4% 0.004 240) · accent #14509c (logo blue) + #ffe900 (logo yellow) · Newsreader + Hanken Grotesk + JetBrains Mono
 * axes: light / roman-serif / cool
 */
:root {
  /* colour */
  --color-paper: oklch(97.4% 0.004 240);
  --color-paper-2: oklch(94.6% 0.006 240);
  --color-paper-3: oklch(91% 0.008 240);
  --color-ink: oklch(21% 0.025 255);
  --color-ink-2: oklch(38% 0.02 255);
  --color-muted: oklch(52% 0.015 255);
  --color-rule: oklch(87% 0.008 245);
  --color-rule-strong: oklch(78% 0.01 245);
  --color-accent: #14509c; /* logo blue */
  --color-accent-hover: #0f4180;
  --color-brand-cyan: #ffe900; /* logo yellow */
  --color-accent-soft: oklch(92% 0.03 250);
  --color-tint: oklch(95.2% 0.012 240);
  --color-tint-2: oklch(98.6% 0.004 240);
  --color-tint-rule: oklch(86% 0.014 245);
  --color-tint-ink: oklch(21% 0.025 255);
  --color-tint-muted: oklch(46% 0.02 255);
  --color-tint-accent: #14509c;
  --color-pupil: oklch(15% 0.02 256);
  --color-ok: oklch(62% 0.13 155);
  --color-closed: oklch(62% 0.12 45);
  --color-error: oklch(52% 0.17 28);
  --color-focus: oklch(55% 0.18 256);
  --color-shadow: oklch(30% 0.04 256 / 0.14);

  /* type */
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --text-3xl: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  --text-display: clamp(2.75rem, 1.6rem + 4.8vw, 6rem);

  /* space (4pt) */
  --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;
  --space-9: 6rem;
  --space-10: 8rem;
  --section: clamp(5rem, 3rem + 7vw, 9rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --maxw: 1320px;

  /* shape */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --rule: 1px solid var(--color-rule);

  /* 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-1: 160ms;
  --dur-2: 280ms;
  --dur-3: 600ms;
  --dur-4: 900ms;
}
