/* ==========================================================================
   stew-design-tokens.css — the ONE shared Stew token set (deploy projection)
   S139 · door 4 (design-tokens) · WIRING-ONLY: makes existing cohesion explicit
   --------------------------------------------------------------------------
   WHAT THIS IS
   The Stew surfaces already SHARE one palette — they just each re-declared it
   inline. This sheet is the single, named home for that shared set, so the
   landing (and any future surface) can reference it instead of re-typing hexes.
   This is EXTRACTION of an existing, proven token set — not new design.

   UPSTREAM SOURCE (L1 / source-of-truth):
     design-system/tokens.css  v01.00  (§1 Dark-Academia, council-governed,
     MASCOM_DESIGN_SYSTEM_v01.00.md). That sheet lives outside the deploy root;
     this file is its DEPLOY-LOCAL projection of the color layer the static
     landing links. Per EOE: design-system/tokens.css is the one source to edit;
     keep these values in step with its §1 block. Values below are byte-for-byte
     the §1 Dark-Academia color tokens.

   GREP EVIDENCE the set is genuinely shared (not invented) — every var below is
   present, with THIS value, in all of:
     • design-system/tokens.css §1            (the governed source)
     • tenants/detective/templates/detective-pilot_v02.00.html  :root (line 8-15)
     • 99_ARCHIVE/MASTER_COMMAND_v04.02.html  :root (line 8)  [+ v3.3 desktop copy]
   The handoff named 7 vars; --gemini is MASTER_COMMAND's name for the same
   #5b8def the design-system calls --blue (both kept as aliases below).

   HOW IT'S WIRED (non-breaking, additive):
   The landing links this sheet FIRST in <head>; the landing's own inline :root
   loads AFTER and therefore WINS wherever it intentionally diverges (e.g. the
   landing's darker space --bg:#06090d, its --warm / --zone-protect aliases).
   Nothing here restyles the landing — it only provides the shared NAMES so the
   landing's matching colors can reference one source. Drop the <link> to revert.
   ========================================================================== */

:root {
  /* --- Backgrounds (the dark-academia surface stack) --- */
  --bg:           #050b14;   /* page background (DP + MC + DS) — landing overrides to #06090d (darker space; intentional, wins via cascade) */
  --panel:        #0b1524;   /* card / room surface (DP + MC + DS) */
  --surface:      #161e29;   /* inner card / inputs (DP + MC + DS) */
  --sidebar-bg:   #080c14;   /* left rail (DP + MC + DS) */

  /* --- Ink --- */
  --ink:          #f0ebd8;   /* primary text (DP + MC + DS) — matches landing */
  --muted:        #a38652;   /* secondary text (DP + MC + DS) — matches landing */
  --dim:          #323e4f;   /* borders / dividers (DP + MC + DS) — matches landing */

  /* --- Accents (the gold/wine/warm identity) --- */
  --gold:         #e6c687;             /* primary accent (DP + MC + DS) — matches landing */
  --gold-glow:    rgba(230,198,135,.15);/* hover/focus halo (DP + MC + DS) — matches landing */
  --wine:         #6b2737;             /* disclaimer/sensitive fill (DP + MC + DS) — matches landing */
  --wine-glow:    rgba(107,39,55,.2);  /* (DP + MC + DS) — matches landing */
  --claude:       #c9a57b;             /* drafter accent / brand warm (DP + MC + DS) — landing names this --warm */
  --sun:          #fff6e6;             /* max-priority / "you are here" (DP + MC + DS) — matches landing */

  /* --- Provider / zone accents --- */
  --blue:         #5b8def;   /* digital / info (DS --blue; MC --inner) */
  --gemini:       #5b8def;   /* alias: MASTER_COMMAND's name for the same #5b8def — landing uses --zone-protect */
  --link:         #4874ad;   /* link blue — v3 navy lane */

  /* --- ONE-SOURCE BRIDGE TOKENS (Imperial Navy v3) — read by the landing WebGL
         scene + comet JS via getComputedStyle (S160/Agent-108). --- */
  --multiverse:   #050b14;              /* deep-space canvas (== --bg)            */
  --comet-core:   #fff6e6;              /* Stew comet core — cream (Paul-locked)  */
  --comet-gold:   #ffcc66;              /* Stew comet glow / trail — warm gold    */
  --comet-eyes:   #1a140a;              /* comet dot-eyes                          */
  --trail-length: 120;                  /* smooth-ribbon sample count              */
  --trail-samples: 6;                   /* sub-samples between points (smoothing)  */
  --trail-head:   var(--comet-core);    /* ribbon head colour                      */
  --trail-tail:   rgba(255,204,102,0);  /* ribbon fade to transparent gold         */
  --scene-label:  #e8edf3;              /* WebGL planet/label base text            */
  --scene-price:  var(--gold);          /* pricing-planet accent (Imperial gold)   */
  --beam-card-title: var(--gold);       /* projected beam-card title               */
  --beam-card-body:  #cdd5df;           /* beam-card body text                      */
  /* --- SCENE BODY TOKENS (planets / central star / nebula) — read by the landing
         WebGL scene via getComputedStyle, same bridge as --comet-* (S160/A2). --- */
  --planet-base:  #e6c687;              /* planet body tint (multiplies sphere) — gold nudge */
  --planet-land:  #a38652;              /* planet landmass / 2nd tint — bronze (== --muted)  */
  --star-core:    #fff6e6;              /* central star core — cream (== --sun / --comet-core)*/
  --star-glow:    #ffcc66;              /* central star halo — warm gold (== --comet-gold)    */
  --nebula-1:     #1a2740;              /* nebula cloud band 1 — deep navy                    */
  --nebula-2:     #2a1838;              /* nebula cloud band 2 — wine-violet                  */
  --nebula-3:     #102030;              /* nebula cloud band 3 — teal-navy                    */
}
