:root {
  /* ─────────────────────────────────────────────────────────────
     TrenchRush palette — dark navy deck + neon CYAN (brand) + bright YELLOW (CTA).
     Token NAMES are kept from the old nautical theme so every existing
     var(--gold|--walnut|--brass|…) reference flips at once; the hues are
     remapped here. Per-screen semantic cleanup happens in the revamp.
     ───────────────────────────────────────────────────────────── */

  /* light text / ink */
  --cream: #EAF2FF;
  --cream-warm: #C9D9F5;

  /* PRIMARY CTA — brand bright-yellow (the logo keyline). Token name is legacy. */
  --gold: #FFE000;
  --gold-deep: #C9A800;
  --gold-hot: #FFEC5C;

  /* panel bodies — navy slate (was walnut) */
  --walnut: #0E1B33;
  --walnut-hi: #1B2F50;
  --walnut-lo: #060E1E;

  /* SECONDARY accent — neon cyan (was brass) */
  --brass: #00E5FF;
  --brass-hi: #7FF2FF;
  --brass-lo: #0090A8;

  --rope: #2A3F66;
  --teal: #00E5FF;
  --teal-lo: #06323F;
  --deep: #050D1F;
  --deep-ui: #0A1428;

  /* cool gradient — navy → teal → cyan (sporty day) */
  --dusk-1: #0A0E24;
  --dusk-2: #0A1E33;
  --dusk-3: #0F4A5C;
  --dusk-4: #00B8D4;
  --dusk-5: #00E5FF;
  --dusk-6: #7FF2FF;
  --water-hi: #00E5FF;
  --water-lo: #052E4A;

  --gem-gold: #FFD700;
  --gem-aqua: #00E5FF;
  --gem-emerald: #5CE0A0;
  --gem-amethyst: #00E5FF;
  --gem-ruby: #FF5C8A;

  --firefly: #00E5FF;
  --bio: #7CFCD0;
  --lantern: #00E5FF;
  --aura: rgba(0, 229, 255, .3);
  --glow-warm: 0, 229, 255;

  --font-head: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  --zen-dur: .55s;
  --zen-ease: cubic-bezier(.4, 0, .2, 1);
  --engine-dur: .16s;
  --engine-ease: cubic-bezier(.2, .9, .2, 1.5);

  --z-bg: 0;
  --z-parallax: 1;
  --z-stage: 2;
  --z-fore: 3;
  --z-fx: 4;

  /* World/UI palette (merged from race.css :root — B1.2) */
  --deep-mid: #112240;
  --deep-surface: rgba(8, 16, 34, .92);
  --bark: #C9D9F5;
  --bark-dark: #0A1428;
  --sage: #5CE0A0;
  --sage-dark: #38A058;
  --sage-glow: rgba(92, 224, 160, .3);
  --marigold: #FFD700;
  --marigold-glow: rgba(255, 215, 0, .4);
  --marigold-dark: #B89500;
  --blush: #FF5C8A;
  --sand: #1E3048;
  --paper: rgba(8, 18, 36, .9);
  --paper-border: rgba(0, 229, 255, .22);

  /* Radius + easing scale (merged from race.css :root — B1.2) */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Spacing scale (B1.3 — foundation) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;

  /* Brand accents — cyan + yellow (purple retired; name kept so var() refs flip to cyan) */
  --accent-purple: #00e5ff;
  --accent-cyan: #00e5ff;
  --accent-navy: #050D1F;

  /* Coral retired (sporty repalette) — repointed to cyan so any var(--coral) ref reads
     as brand cyan. Speed/boost = cyan ("RUSH"). */
  --coral: #00E5FF;
  --coral-hi: #7FF2FF;
  --coral-lo: #0090A8;
  --glow-coral: 0, 229, 255;
}
