/* Stanch · genre: industrial-editorial ledger · macrostructure: Stat-Led · theme: Oxblood & Forged Iron
 * paper: unbleached cotton · ink: forged cast iron · accent: arterial vermilion · display: Newsreader
 */

:root {
  --color-paper: oklch(96.4% 0.012 75);
  --color-paper-2: oklch(93.2% 0.016 72);
  --color-ink: oklch(18.5% 0.014 45);
  --color-muted: oklch(41% 0.016 50);
  --color-accent: oklch(46% 0.185 26);
  --color-accent-ink: oklch(97.5% 0.008 75);
  --color-rule: oklch(81% 0.018 70);
  --color-rule-2: oklch(24% 0.015 45);
  --color-focus: oklch(46% 0.185 26);
  --color-danger: oklch(44% 0.185 26);
  --color-ok: oklch(38% 0.085 158);
  --color-scrim: oklch(16% 0.014 45 / 0.55);
  --color-night: oklch(16.5% 0.012 45);
  --color-night-ink: oklch(92% 0.012 75);

  --font-display: "Newsreader", Georgia, serif;
  --font-body: "IBM Plex Sans", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  --text-sm: 0.8rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.563rem;
  --text-2xl: 1.953rem;
  --text-3xl: 2.441rem;
  --text-4xl: 3.052rem;
  --text-display: clamp(2.5rem, 4vw + 1rem, 4.75rem);
  --text-figure: clamp(4.5rem, 16vw, 10rem);

  --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-fast: 120ms;
  --dur-base: 200ms;

  --radius-sm: 2px;
  --rule-hair: 1px;
  --page-gutter: clamp(1rem, 4vw, 2.5rem);
}
