/* =============================================================
   BLUE ROOM — Color tokens
   "The room is a warm dark stage; accent is currency, not paint."

   Law (DESIGN_TOKENS.md):
   - No pure white. The Sand ramp is the ONE canonical warm-neutral text scale.
   - --ink-950 (#0a0b0d) is the LOCKED room floor — the only cool-leaning
     surface, and only as the deepest shadow. Every lighter surface re-warms.
   - One palette speaks at a time: Free = graphite/moss archive;
     Halo = the source's own material (Copper / Frost). They never mix.
============================================================= */

:root {
  /* ---- Sand text ramp — the ONE warm-neutral ramp, 5 named tiers ---- */
  --t-display: #e9e5dc;   /* headlines, card titles — the warm ceiling */
  --t-primary: #d7d3ca;   /* primary reading text */
  --t-body:    #b1ada4;   /* body copy */
  --t-meta:    #948f87;   /* metadata, captions */
  --t-ghost:   #6e6b63;   /* quietest — disabled, faint labels */

  /* ---- Room / surfaces — warm dark stage ---- */
  --ink-950: #0a0b0d;     /* LOCKED room floor — deepest shadow only */
  --ink-900: #100f0c;     /* first warm surface above the floor */
  --ink-850: #11100d;
  --ink-800: #151310;
  --ink-700: #1c1915;     /* raised plate fill / scrollbar */

  /* ---- Hairlines — warm light at low alpha, never solid grey ---- */
  --line-faint:  rgba(233, 229, 220, 0.07);
  --line:        rgba(233, 229, 220, 0.12);
  --line-strong: rgba(233, 229, 220, 0.20);

  /* ---- Free Pull palette — graphite + moss archive (the preview tier) ---- */
  --moss:        #5e6f60;   /* free-pull dark green, muted */
  --moss-bright: #7e937f;
  --free-silver: #b8b3a8;   /* matte serial ink, dimmer than --silver */

  /* ---- Halo accents — the spectral bridge (base palette) ---- */
  --violet:     #8b7bff;
  --cyan:       #5fd4e0;
  --halo-green: #6fe09f;

  /* ---- Per-source Halo materials (the developed card "speaks" one of these) ----
     Warm Glass Copper — derived from SRC-01 (red jacket, cabin warmth, fjord). */
  --copper-a: #c98a5e;
  --copper-b: #8b7bff;
  --copper-c: #e8b27d;
  /* Cold Prism Frost — derived from SRC-02 (snow field, hard sun, cold sky). */
  --frost-a: #5fd4e0;
  --frost-b: #cfe2ee;
  --frost-c: #8b9bff;

  /* ---- Legacy aliases — every rule inherits the warm scale ---- */
  --silver:        #c8c4bb;
  --silver-bright: var(--t-display);
  --silver-dim:    var(--t-meta);
  --text:  var(--t-primary);
  --muted: var(--t-body);
  --faint: var(--t-ghost);

  /* ---- Semantic surface aliases ---- */
  --surface-room:    var(--ink-950);
  --surface-plate:   var(--ink-800);
  --surface-raised:  var(--ink-700);
  --border-quiet:    var(--line-faint);
  --border-default:  var(--line);
  --border-loud:     var(--line-strong);

  /* ---- Room background — the warm radial stage gradient ---- */
  --bg-room: radial-gradient(110% 80% at 50% -10%, #161411 0%, var(--ink-900) 55%, var(--ink-950) 100%);
}
