/* ==========================================================================
   HxM (Hexagon Media Ltd.) — Architectural Design Tokens
   Fusing WisdomIR Editorial Restraint + HxM Isometric Gold & Obsidian
   ========================================================================== */

:root {
  /* Core Surfaces */
  --bg-pure: #ffffff;
  --bg-alabaster: #faf9f5;
  --bg-faceted: #f3f2ed;
  --bg-stone: #dfddd7;
  --bg-obsidian: #141412;
  --bg-obsidian-elevated: #1c1b18;

  /* Signature Brand Gold & Marigold Accent System */
  --gold-band: #f5b038;       /* WisdomIR-inspired warm marigold band */
  --gold-bright: #ffd951;     /* HxM SVG cube accent gold */
  --gold-soft: #ffe792;       /* HxM SVG highlight gold */
  --gold-pale: #ffedaf;       /* HxM SVG top facet */
  --gold-line: #f0b43a;       /* Architectural 1px hairlines */

  /* Secondary Kinetic & AI Telemetry Accent */
  --coral: #f06e3a;           /* Highlight wipes, hero climax, live pulses */
  --coral-deep: #d95623;

  /* Typography & Ink */
  --ink-primary: #2b2a25;     /* Warm architectural charcoal */
  --ink-logo: #3d3d3d;        /* Exact HxM SVG ink */
  --ink-muted: #67645a;
  --ink-light: #ffffff;
  --ink-on-dark: #f4f1ea;
  --ink-on-dark-muted: #a8a395;

  /* Borders & Rules */
  --rule-light: rgba(43, 42, 37, 0.12);
  --rule-gold: rgba(240, 180, 58, 0.72);
  --rule-dark: rgba(255, 217, 81, 0.22);

  /* Fonts */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-latin: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-cjk: 'Noto Sans TC', 'Microsoft JhengHei', 'PingFang HK', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-body: var(--font-latin), var(--font-cjk);

  /* Layout & Chrome Geometry */
  --container-max: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
  --chrome-pad-x: clamp(20px, 3vw, 44px);
  --chrome-pad-y: clamp(18px, 2.6vh, 32px);

  /* Motion Curves */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Scroll-Driven Live Variables (updated via rAF in scroll-engine.js) */
  --scroll-progress: 0;
  --scroll-y: 0;

  /* Z-index Stack */
  --z-canvas: 2;
  --z-content: 10;
  --z-cutout: 18;
  --z-chrome: 40;
  --z-mobile-nav: 60;
  --z-modal: 80;
  --z-cursor: 100;
}
