/* ============================================================
   Brushed Reel — Web Token File
   Derived from DESIGN.md (stringers.io/styles/brushed-reel)
   1960s studio hardware: black readout strip + brushed-aluminium
   faceplate. Single source of truth for every token in index.html.
   ============================================================ */

:root {
  /* ---- Signal (exactly ONE red element per screen) ---- */
  --record-red: #E8392B;

  /* ---- Faceplate (light: cool silver-white metal) ---- */
  --plate-top: #F4F5F6;
  --plate-bottom: #DADDE0;
  --plate-mid: #E7E9EB;
  --knob-face-hi: #FFFFFF;
  --knob-face-lo: #C9CDD1;

  /* ---- Engraving (paired cut lines) ---- */
  --engrave-dark: #9EA3A8;
  --engrave-light: #FFFFFF;

  /* ---- Readout strip (the black display) ---- */
  --strip: #141515;
  --strip-raised: #232526;
  --strip-dim: #3A3C3E;
  --readout: #F5F5F2;
  --readout-dim: #7C7F82;
  --led-off: #2E3032;

  /* ---- Text on metal ---- */
  --ink: #1E2022;
  --label: #4A4E52;
  --secondary: #7D8287;
  --tertiary: #A7ACB1;

  /* ---- Tape / reel internals ---- */
  --tape-black: #141515;
  --sleeve-light: #C7CCD0;

  /* ---- Geometry ---- */
  --margin: 22px;
  --strip-pad: 22px;
  --radius-chip: 3px;
  --radius-plate: 10px;
  --radius-strip: 0px;
  --hairline: 1px;
  --row-h: 68px;
  --row-gap: 10px;
  --section-gap: 28px;
  --knob: 32px;
  --knob-hero: 44px;
  --shadow-max: 0 1.5px 3px rgba(0, 0, 0, 0.2);

  /* ---- Type families (SF Pro on Apple, grotesk fallbacks elsewhere) ---- */
  --font: -apple-system, "SF Pro Text", "SF Pro Display", "Helvetica Neue",
          "PingFang SC", "Noto Sans SC", sans-serif;

  /* ---- Type scale ---- */
  --fs-timecode-hero: clamp(44px, 14vw, 64px);  /* weight 300, tabular */
  --fs-timecode: 34px;
  --fs-page-title: 30px;                        /* weight 300, on metal */
  --fs-row-title: 18px;                         /* weight 400 */
  --fs-body: 16px;
  --fs-strip-label: 13px;                       /* weight 500, caps, +1.2 tracking */
  --fs-engraved: 12px;
  --fs-chip: 13px;                              /* weight 500, tabular */
  --fs-micro: 10px;                             /* weight 500, caps, +1.4 tracking */
}

/* ---- Dark mode: gunmetal faceplate, deeper strip, red stays ---- */
@media (prefers-color-scheme: dark) {
  :root {
    --plate-top: #3A3D40;
    --plate-bottom: #26282A;
    --plate-mid: #303235;
    --knob-face-hi: #4A4E52;
    --knob-face-lo: #2E3032;
    --engrave-dark: #17191A;
    --engrave-light: #4A4E52;
    --strip: #0B0B0C;
    --strip-raised: #1A1B1C;
    --strip-dim: #2E3032;
    --readout: #F5F5F2;
    --readout-dim: #6E7174;
    --led-off: #26282A;
    --ink: #ECEEEF;
    --label: #C4C8CC;
    --secondary: #9499A0;
    --tertiary: #6C7176;
    --tape-black: #0B0B0C;
    --sleeve-light: #4A4F53;
  }
}
