:root{
  --ink:#0E1116; --panel:#151A21; --panel-2:#1B212A;
  --line:rgba(255,255,255,.08);            /* dividers only */
  --line-strong:rgba(236,232,225,.38);     /* button + field outlines, 3.1:1 (WCAG 1.4.11) */
  --text:#ECE8E1; --muted:#A39E95; --faint:#8C877F;   /* faint was #6E6A64 (failed AA) */
  --accent:#D2AD76; --accent-soft:rgba(210,173,118,.14); --on-accent:#0E1116;  /* brass, 9.5:1 on ink */
  --brady:#7FB0FF; --narrow:#FF6A6A; --wide:#B99BFF; --mi:#FF9D5C; --conduction:#5FE0BD;
  --arterial:#D64545; --venous:#4F7BD9; --ok:#7FB8A4; --warn:#EBCB5A; --danger:#E0605A;
  --font-display:"Cormorant Garamond", Georgia, serif;
  --font-text:"IBM Plex Sans", system-ui, sans-serif;
  --font-mono:"JetBrains Mono", ui-monospace, monospace;
  --font-thai:"IBM Plex Sans Thai", var(--font-text);
  --h1:clamp(44px,7vw,96px); --h2:clamp(32px,4.5vw,60px); --body:18px; --small:15px; /* never < 14px (raised 2 Dec on P's request) */
  --radius:10px; --radius-sm:4px; --gap:clamp(16px,2.5vw,32px);
  --page-max:1920px; --page-gutter:clamp(16px,3vw,64px);
  --ease:cubic-bezier(.2,.7,.2,1); --dur:600ms; --ecg-speed:.25;
}
@media (prefers-reduced-motion:reduce){:root{--dur:0ms}}
