/* Hallmark · genre: editorial · macrostructure: Split Studio · theme: design.md (warm-paper · forest-green · Source Serif 4)
 * nav: N5 floating-pill · footer: Ft5 statement
 * Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V4
 */

:root {
  /* Paper */
  --color-paper: oklch(97.5% 0.004 88);
  --color-paper-2: oklch(96.2% 0.005 88);
  --color-paper-3: oklch(94% 0.006 88);
  --color-paper-4: oklch(92% 0.007 88);

  /* Ink */
  --color-ink: oklch(17% 0.005 175);
  --color-ink-2: oklch(32% 0.008 175);
  --color-ink-3: oklch(50% 0.007 175);
  --color-ink-4: oklch(66% 0.006 175);

  /* Accent — forest green */
  --color-accent: oklch(23% 0.065 155);
  --color-accent-mid: oklch(29% 0.07 155);
  --color-accent-hover: oklch(26% 0.065 155);
  --color-accent-light: oklch(82% 0.04 155);
  --color-accent-pale: oklch(91% 0.025 155);

  /* Secondary — slate blue */
  --color-secondary: oklch(38% 0.06 230);

  /* Border */
  --color-border: oklch(88.5% 0.007 88);
  --color-border-strong: oklch(79% 0.009 88);

  /* Focus */
  --color-focus: oklch(45% 0.08 155);

  /* Fonts */
  --font-display: "Source Serif 4", Georgia, ui-serif, serif;
  --font-body: "Source Serif 4", Georgia, ui-serif, serif;
  --font-ui: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-code: "JetBrains Mono", "Fira Code", ui-monospace, monospace;

  /* Type scale — major third ×1.25 */
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-display: clamp(3rem, 5.5vw + 0.75rem, 5.5rem);
  --text-display-s: clamp(1.875rem, 3vw + 0.5rem, 3rem);

  /* Spacing — 4pt scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Radii — from DESIGN.md */
  --radius-sm: 0.125rem;
  --radius-md: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-pill: 9999px;

  /* Motion */
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 350ms;
}
