/* Night Watch tokens — Grok Fantasy desk.
 * Values may be edited, STRUCTURE may not. No page hard-codes a colour or size.
 * Contrast measured against --field #05070C. */
:root{
  /* 1. The field: near-black with a BLUE undertone. Never #000. */
  --field:#05070C;
  --field-2:#080B12;          /* one step up, for a density shift only */
  --rule:#1B2130;             /* hairline */
  --rule-2:#121724;

  /* 2. The accent is a GRADIENT. Four stops = light moving across a surface. */
  --gold-deep:#8A6A1C;        /* 3.99:1 — GRADIENT STOP ONLY, never flat text */
  --gold-core:#E9B94F;        /* 10.4:1 */
  --gold-pale:#F6D488;        /* 13.6:1 */
  --gold-mid:#C9A23F;         /*  7.9:1 */
  --accent-grad:linear-gradient(100deg,var(--gold-deep) 0%,var(--gold-core) 38%,var(--gold-pale) 62%,var(--gold-mid) 100%);

  /* Ink ramp — every step re-checked. --ink-3 was lightened off #68738A (4.23:1, FAILS). */
  --ink-1:#EEF1F6;            /* 16.9:1 */
  --ink-2:#AEB7C6;            /*  9.0:1 */
  --ink-3:#7C879B;            /*  5.56:1 — the floor for body text */
  --ink-4:#4A5468;            /*  2.9:1 — rules and disabled only, NEVER text */

  /* The one warm counter-accent. Refusal copy, once per view. */
  --warn:#D98C5F;
  --live:#6FD39A;

  /* 3. Type. Two families plus one mono. Display weight 200 is the whole look. */
  --f-display:"Archivo",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --f-body:"Archivo",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --f-mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;

  --t-display:clamp(34px,8.4vw,78px);
  --t-h2:clamp(22px,4.4vw,34px);
  --t-h3:clamp(16px,2.4vw,20px);
  --t-body:clamp(15px,1.5vw,16.5px);
  --t-small:clamp(13px,1.3vw,14px);
  --t-micro:10.5px;           /* 6. the FLOOR. Never smaller. */

  --lh-display:0.98;
  --ls-display:-.028em;
  --ls-micro:.13em;

  /* Spacing + the gutter. 20px is the iPhone edge margin. */
  --gut:clamp(20px,5vw,72px);
  --s1:6px; --s2:12px; --s3:20px; --s4:32px; --s5:52px; --s6:84px;
  --tap:44px;                 /* minimum touch target, Apple HIG */
  --maxw:1240px;
}
