/* Hallmark · macrostructure: Specimen · tone: technical-editorial · anchor hue: vermilion 32deg
 * theme: custom · vibe: "reversed Linear, 1970s specimen sheet"
 * paper oklch(100% 0 0) · accent oklch(58% 0.185 32)
 * axes: light paper / grotesk-display / warm accent
 * type: Cabinet Grotesk (display) + Switzer (text) + JetBrains Mono (data)
 * pre-emit critique: P5 H5 E4 S5 R5 V4
 * ============================================================
 * Crew of One - Design Tokens
 * Single source of truth. Loaded by every page (homepage,
 * glossary, /style). Change a value here and it lands everywhere.
 * ============================================================ */
:root{
  /* --- Paper (white-forward, three steps only) --- */
  --paper:oklch(100% 0 0);          /* page ground */
  --paper-2:oklch(97.6% 0.002 95);  /* recessed fields, ledger stripe */
  --paper-3:oklch(95.2% 0.003 95);  /* pressed, hover fill */
  --band:oklch(14.5% 0.006 265);    /* the one dark moment */
  --band-2:oklch(19% 0.006 265);    /* rules inside the dark band */

  /* --- Ink --- */
  --ink:oklch(18% 0.006 265);       /* headings, display, primary */
  --ink-2:oklch(44% 0.008 265);     /* body copy */
  --ink-3:oklch(52% 0.008 265);     /* labels, meta (4.6:1 on paper) */
  --on-band:oklch(97% 0.002 95);    /* text on the dark band */
  --on-band-2:oklch(72% 0.006 265); /* secondary on the dark band */

  /* --- Rules (hairlines do the work shadows used to) --- */
  --rule:rgba(23,25,28,0.14);
  --rule-2:rgba(23,25,28,0.07);
  --rule-hard:rgba(23,25,28,0.30);
  --rule-band:rgba(255,255,255,0.14);

  /* --- Accent: one spot colour, printer's vermilion --- */
  --accent:oklch(58% 0.185 32);      /* marks, rules, non-text only */
  --accent-deep:oklch(47% 0.16 32);  /* accent-coloured TEXT (5.5:1 on paper) */
  --accent-wash:oklch(58% 0.185 32 / 0.10);

  /* --- Five-layer coding (glossary + stack), muted to document-key --- */
  --brand-c:oklch(47% 0.16 32);
  --web-c:oklch(47% 0.09 235);
  --content-c:oklch(47% 0.08 155);
  --acq-c:oklch(48% 0.10 70);
  --ops-c:oklch(47% 0.09 290);

  /* --- Type --- */
  --f-display:'Cabinet Grotesk','Switzer',-apple-system,sans-serif;
  --f-text:'Switzer',-apple-system,'Segoe UI',sans-serif;
  --f-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;

  /* --- Shape: hard edges, near-zero radii --- */
  --radius:3px;
  --radius-in:2px;
  --radius-pill:3px;

  /* --- Motion --- */
  --ease-out:cubic-bezier(0.16,1,0.3,1);
  --ease-in-out:cubic-bezier(0.65,0,0.35,1);
  --dur:.4s;

  /* --- Legacy aliases (older names still referenced by glossary + /style) --- */
  --ground:var(--paper);
  --ground-2:var(--paper);
  --surface:var(--paper-2);
  --raise:var(--paper);
  --ink-soft:var(--ink-2);
  --ink-faint:var(--ink-3);
  --hair:var(--rule);
  --hair-2:var(--rule-2);
  --red:var(--accent);
  --red-deep:var(--accent-deep);
  --amber:var(--accent);
  --navy:var(--band);
  --navy-2:var(--band-2);
  --surface-raise:var(--paper);
  --accent-ink:oklch(100% 0 0);
  --masthead:var(--accent);
  --spring:var(--ease-out);
  --shadow-soft:none;
  --shadow-lift:none;
  --inset-hi:none;
}
