/* 88.EXHAUSTS theme. Direction: tech x poster (work/88exhausts/direction.md).
   Light tokens in :root keep print light; the dark remap is the default on screen
   unless the visitor picks light (data-theme="light"). */
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("fonts/exo-2-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: optional; }
@font-face { font-family: "Exo 2"; src: url("fonts/exo-2-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: optional; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: optional; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: optional; }

:root {
  --font-display: "Unbounded", "Arial Black", Arial, sans-serif;
  --font-body: "Exo 2", "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --w-display: 800;
  --tr-display: -0.02em;
  --tr-h2: -0.02em;
  --lh-display: 1.02;
  --radius: 4px;
  --radius-sm: 2px;
  --radius-button: 2px;
  --case-eyebrow: uppercase;
  --tr-eyebrow: 0.14em;
  --fs-display: clamp(2.1rem, 0.9rem + 4.4vw, 5.2rem);
  --fs-h2: clamp(1.75rem, 1.1rem + 2.7vw, 3.6rem);

  /* daylight garage (light) */
  --bg: #f2f0eb;            /* concrete floor */
  --surface: #ffffff;       /* white paint */
  --surface-2: #e6e3dc;     /* worn concrete */
  --ink: #0b0c10;           /* tyre black */
  --muted-strong: #33343c;  /* graphite */
  --muted: #555663;         /* brake dust */
  --line: #d6d2c9;          /* masking tape */
  --line-strong: #b4afa4;
  --ink-field: #0a0b0f;     /* carbon */
  --on-ink: #f1eee8;        /* chrome */
  --on-ink-muted: #a9a7b6;  /* ash */
  --accent: #d8380b;        /* afterfire */
  --accent-fill: #d8380b;
  --accent-on-fill: #ffffff;
  --accent-text: #b02c06;
  --accent-soft: #f7ddd2;   /* hot wash */
  --field-1: #e6e3dc;
  --field-1-ink: #0b0c10;
  --field-2: #f7ddd2;
  --field-2-ink: #0b0c10;
  --field-3: #0a0b0f;
  --field-3-ink: #f1eee8;
  --neon: #0d7fb8;          /* titanium blue, as text-safe on light */
  --heat-1: #f2c46b;        /* straw gold */
  --heat-2: #e0743a;        /* bronze */
  --heat-3: #9d5bff;        /* violet */
  --heat-4: #3fb8ff;        /* titanium blue */
  --glow: rgba(216, 56, 11, 0.18);
  /* fixed night-scene tokens (hero, build bay, loader stay dark in both themes) */
  --night: #08090c;         /* carbon at night */
  --night-deep: #050608;
  --night-stage: #06070a;
  --chrome: #f1eee8;        /* chrome under street light */
  --chrome-soft: #d2cfd9;
  --chrome-muted: #c9c6d2;
  --chrome-dim: #8f8d9c;
  --afterfire: #ff4d1c;     /* flame out of the tip */
  --afterfire-ink: #0b0c10;
  --ti-blue: #3fb8ff;       /* titanium blue heat tint */
  --neon-magenta: #ff2f9a;
  --neon-cyan: #2fd0ff;
  --redline: #ff2f2f;
  --redline-text: #ff5a3c;
  color-scheme: light dark;
}

@media screen {
  :root:not([data-theme="light"]) {
    --bg: #08090c;            /* carbon */
    --surface: #101218;       /* soot */
    --surface-2: #161922;     /* heat shield */
    --ink: #f1eee8;           /* chrome */
    --muted-strong: #cfccd6;
    --muted: #a3a1b0;         /* ash */
    --line: rgba(241, 238, 232, 0.10);
    --line-strong: rgba(241, 238, 232, 0.22);
    --ink-field: #040506;     /* night */
    --on-ink: #f1eee8;
    --on-ink-muted: #a9a7b6;
    --accent: #ff4d1c;        /* afterfire */
    --accent-fill: #ff4d1c;
    --accent-on-fill: #0b0c10;
    --accent-text: #ff7a4f;
    --accent-soft: rgba(255, 77, 28, 0.14);
    --field-1: #161922;
    --field-1-ink: #f1eee8;
    --field-2: #1d1420;
    --field-2-ink: #f1eee8;
    --field-3: #040506;
    --field-3-ink: #f1eee8;
    --neon: #3fb8ff;
    --glow: rgba(255, 77, 28, 0.28);
    color-scheme: dark;
  }
  :root[data-theme="light"] { color-scheme: light; }
}
