/* Hallmark · tokens · theme: custom · vibe: "austere, inspected, cool, plainly stated"
 * paper: oklch(98.5% 0.006 250) · accent: oklch(50% 0.15 252) (badge blue)
 * display: Big Shoulders Display · body: Instrument Sans · label: JetBrains Mono
 * axes: light / display-condensed-bold / cool
 */

:root {
  /* Paper → ink, every step tinted toward the badge-blue anchor (hue ~252) */
  --color-paper:      oklch(98.5% 0.006 250);
  --color-paper-2:    oklch(96%   0.008 250);
  --color-paper-3:    oklch(93%   0.010 251);
  --color-rule:       oklch(86%   0.012 252);
  --color-rule-2:     oklch(76%   0.014 252);
  --color-muted:      oklch(48%   0.016 254);
  --color-ink-2:      oklch(33%   0.018 256);
  --color-ink:        oklch(20%   0.018 258);

  /* The one signal — the anchor badge's blue */
  --color-accent:       oklch(50% 0.15 252);
  --color-accent-hover: oklch(44% 0.15 252);
  --color-accent-ink:   oklch(98.5% 0.006 250);
  --color-focus:        oklch(52% 0.19 252);

  /* Form feedback only */
  --color-error:   oklch(48% 0.17 28);
  --color-success: oklch(46% 0.12 155);

  /* Type — display / body / label */
  --font-display: "Big Shoulders Display", "Barlow Condensed", ui-sans-serif, sans-serif;
  --font-body:    "Instrument Sans", ui-sans-serif, sans-serif;
  --font-label:   "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1.0625rem;
  --text-md:   1.25rem;
  --text-lg:   1.625rem;
  --text-xl:   2.25rem;
  --text-display:   clamp(3rem, 6vw + 1rem, 5.5rem);
  --text-display-s: clamp(2.25rem, 3.5vw + 1rem, 3.5rem);

  --lh-tight:   0.92;
  --lh-snug:    1.2;
  --lh-normal:  1.5;
  --lh-relaxed: 1.65;

  --tracking-display: 0.005em;
  --tracking-label:   0.08em;

  /* Space — 4 pt scale, named by role */
  --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;

  --page-max:    78rem;
  --page-gutter: clamp(1rem, 4vw, 3rem);
  --measure:     60ch;

  --rule-fine:    1px;
  --radius-input: 2px;

  /* 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:  480ms;

  --z-base:       1;
  --z-sticky-nav: 300;
}
