/* HARD CHROME — the DESFASE cybercore token set.
   Chrome neutrals + one electric Current + Infrared as alarm state.
   Color is wired to the phase engine: chrome at CALM, Current through
   ESCALATION, Infrared seizes FAILURE. Nothing hidden. */

:root {
  /* Chrome + Current + Infrared */
  --void: #05060a;
  --chrome-1: #f2f4f8;
  --chrome-2: #aeb6c2;
  --chrome-3: #5c6470;
  --chrome-4: #1c1f26;
  --current: #2ee6ff;
  --infrared: #ff2a4d;
  --chrome-grad: linear-gradient(180deg, #f2f4f8 0%, #aeb6c2 38%, #5c6470 52%, #e8ecf2 100%);
  /* Resting foreground for infrared-field scenes (FIRE/HELL): infrared is an
     alarm state, never a resting accent, so those scenes swap the foreground
     to this chrome-white instead of their own accent. See resolveAccent()
     in app.js. */
  --chrome-white: #e8f4ff;

  /* Semantic aliases consumed across layout.css and templates */
  --bg: var(--void);
  --ink: var(--chrome-2);
  --ink-dim: rgba(174, 182, 194, 0.62);
  --grid: rgba(92, 100, 112, 0.30);
  --accent: var(--current);

  /* Geometry — the 45° chamfer is the single angular signature. */
  --chamfer: 14px;
  --glow: 0 0 18px rgba(46, 230, 255, 0.35);

  /* Type voice system — curated, not a font menu. Switched via data-type-voice. */
  --font-mono: "JetBrains Mono", SFMono-Regular, Menlo, Consolas, "IBM Plex Mono", "Share Tech Mono", monospace;

  /* Default voice = CIRCUIT. Per-voice overrides live on #artboard[data-type-voice]. */
  --font-display: "Saira Condensed", "Arial Narrow Bold", "Helvetica Neue Condensed Black", sans-serif;
  --weight-display: 900;
  --tracking-display: 0em;
  --stretch-display: condensed;

  --tracking-label: 0.08em;
  --tracking-wide: 0.16em;
  /* Metadata register — wire-service folio: light weight, tracked out.
     The display/meta contrast is weight + tracking, not bold-vs-bolder. */
  --weight-meta: 500;
  --tracking-meta: 0.12em;
  --radius: 0;
}

/* VOICE 01 · CIRCUIT — condensed masthead slab. Impact, verticality. */
#artboard[data-type-voice="CIRCUIT"] {
  --font-display: "Saira Condensed", "Arial Narrow Bold", "Helvetica Neue Condensed Black", sans-serif;
  --weight-display: 900;
  --tracking-display: 0em;
  --stretch-display: condensed;
}

/* VOICE 02 · CURRENT — terminal/telemetry display. (Legacy name: DRIFT.) */
#artboard[data-type-voice="CURRENT"] {
  --font-display: "JetBrains Mono", "IBM Plex Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --weight-display: 800;
  --tracking-display: -0.02em;
  --stretch-display: normal;
}

/* VOICE 03 · CHROME — geometric-wide Deco display, tracked out.
   (Replaces PRESS; the slab serif is retired.) */
#artboard[data-type-voice="CHROME"] {
  --font-display: "Syncopate", "Arial Black", "Helvetica Neue", sans-serif;
  --weight-display: 700;
  --tracking-display: 0.06em;
  --stretch-display: normal;
}
