/* ── LUCID · DESIGN TOKENS ── single source of truth for the estate palette.
 * Mirrored VERBATIM into all LUCID repos (static-duplication doctrine, same as lucid-track.js) and
 * read by the shared design system lucid-design-system (claude.ai/design project 6c60cca5). Loaded
 *   <link rel="stylesheet" href="/assets/lucid-tokens.css?v=N">
 * on every surface (excalibur · ovaltable · atoms · jjdreamss/frequency + film + media).
 *
 * v3 · RECONCILED 2026-07-14 — the estate SSOT converged after a 5-way drift (see
 * excalibur.no/design-audit/TOKEN-CONVERGENCE.md): --lc-bg → #09090f (canon), instrument vocab +
 * font stack adopted, --lc-hedge converged UP to #8fb09c (DS canon, 8.38:1 on #09090f), --lc-clash
 * promoted (Oval's intent), and the structural scales (--r-* / --fs-* / --elev-1) promoted estate-wide.
 * Flagship map/film + blade-local (--pro/--eso/--ink-on-accent) tokens stay LOCAL (not mirrored here).
 * NOTE: tokens/tokens.json is the derivation the React components read — reconcile the new tokens
 * (--lc-clash, --r-*, --fs-*, --elev-1) into it on the next DS pass; existing components are unaffected
 * (they resolve accents + hedge + bg, all already canon in tokens.json).
 *
 * Decision ⑦A (locked): PURPLE is the PRO/DEEP-CALIBRATION accent AND Matter's cross-blade/trinity hue
 * (dual-use); the trinity reads green → gold → purple. Matter's OWN on-page accent is green (--lc-matter). */
:root{
  /* ── surface ── */
  --lc-bg:#09090f;
  --lc-bg-2:#0b0e14;
  --lc-txt:#eef2ee;
  --lc-line:rgba(255,255,255,.10);

  /* ── tier · uniform estate-wide ── */
  --lc-free:#22d3ee;          /* DECODE ME / FREE (cyan) */
  --lc-pro:#a855f7;           /* DEEP CALIBRATION / PRO (purple) */

  /* ── hedge / disclosure · the honesty layer (≥4.5:1 floor; converged to DS canon 8.38:1 on #09090f) ── */
  --lc-hedge:#8fb09c;         /* ≡ --lc-inst-ink-dim. Every hedge/disclosure/provenance class rides this. */

  /* ── semantic state ── */
  --lc-clash:#f87171;         /* error/clash red — promoted per Oval's intent (same family as --red / --rose) */

  /* ── blade accents (canonical) ── */
  --lc-exca:#19ff6b;          /* ⚔ Excalibur */
  --lc-oval:#e7b73f;          /* ⭕ Oval Table */
  --lc-matter:#00d973;        /* 🧪 Matter — home accent (GREEN) */
  --lc-trinity-matter:#a855f7;/* Matter's cross-blade/trinity hue — dual-use with --lc-pro (decision ⑦A) */

  /* ── instrument vocabulary (flagship Engine/Bridge cockpits · /frequency + /film) ── */
  --lc-inst-green:var(--lc-exca,#19ff6b);
  --lc-inst-gold:var(--lc-oval,#e7b73f);
  --lc-inst-purple:var(--lc-pro,#a855f7);
  --lc-inst-purple-lt:#c98bff;
  --lc-inst-cyan:var(--lc-free,#22d3ee);
  --lc-inst-ink:#d7ffe0;
  --lc-inst-ink-dim:#8fb09c;  /* == --lc-hedge */
  --lc-inst-ink-faint:#5a9268;
  --lc-inst-bg-2:#0d1410;     /* cockpit radial inner (green-tinted) — distinct from neutral --lc-bg-2 */
  --lc-inst-line:rgba(25,255,107,.14);

  /* ── estate type stack ── */
  --lc-font-display:'Orbitron',monospace;
  --lc-font-data:'IBM Plex Mono',monospace;
  --lc-font-body:'Inter',sans-serif;

  /* ── STRUCTURE · promoted estate-wide (WAVE-3 Excalibur → SSOT) ── */
  --r-sm:4px; --r-md:6px; --r-lg:9px; --r-xl:24px; --r-pill:999px;   /* radius (Excalibur live 4/6/9/999 + xl) */
  --fs-1:.56rem; --fs-2:.62rem; --fs-3:.68rem; --fs-4:.74rem;        /* type ladder · UI tier (micro→body-sm) */
  --fs-5:.82rem; --fs-6:.92rem; --fs-7:1.08rem; --fs-8:1.4rem;       /* body→head · display ≥1.6rem stays blade-authored */
  --elev-1:0 8px 28px rgba(0,0,0,.35);                               /* neutral drop-depth for elevated cards */
}
