/* =========================================================
   STVMRGN V11 — "The office cut."
   A theme layer, not a rewrite. Loads after v10.css on every
   page and only applies when <html> carries .t-office, which
   js/theme.js sets by default (and lets the visitor switch off
   via the nav pill — click it and the station goes full
   Channel 84, click again and it's back).

   Same hair, better cut: the set, the channels, the guide, the
   jukebox and the ident all stay. What comes off is the gel —
   the neon palette, the five typefaces, the scanlines, the
   caps-everywhere, the glowing hardware.

   Removing this theme = delete the <link> and the two <script>
   lines from each page. Nothing else changed.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ---------- 1. Tokens: graphite, ink, one brass accent ---------- */
html.t-office {
  --bg: #0e0e11;
  --bg-panel: #131316;
  --bg-panel-2: #18181c;
  --bg-raise: #1e1e23;

  --ink: #ebebe6;
  --ink-dim: #a3a39d;
  --ink-quiet: rgba(163, 163, 157, 0.74);
  --ink-whisper: rgba(163, 163, 157, 0.46);

  --gold: #c9a35c;
  --gold-bright: #dcb870;
  --gold-deep: #8a6f3a;

  /* teal is demoted to a quiet steel so nothing else competes with the picture */
  --teal: #8fa6ad;
  --teal-bright: #aebfc5;
  --teal-soft: rgba(143, 166, 173, 0.10);
  --teal-line: rgba(143, 166, 173, 0.34);
  --teal-glow: rgba(143, 166, 173, 0.0);

  --pink: #8a8a95;
  --violet: #6f6f7c;

  --rule: rgba(255, 255, 255, 0.10);
  --rule-soft: rgba(255, 255, 255, 0.065);
  --rule-gold: rgba(201, 163, 92, 0.38);

  /* two families do the work; the 14-segment face survives only on the set's own readout */
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --chrome-display: 'Oswald', 'Arial Narrow', sans-serif;
  --neon-script: 'Oswald', sans-serif;
  --script: 'Oswald', sans-serif;

  background: var(--bg);
  color-scheme: dark;
}

/* ---------- 2. Effects off ---------- */
html.t-office body::after { display: none; }                 /* page-wide scanlines */
html.t-office .grid-horizon::before { display: none; }       /* neon floor grid */
html.t-office .signon::after { display: none; }              /* warm-up static */
html.t-office body.home-page .signon::before { display: none; }
html.t-office body.home-page .signon { background: var(--bg); }
html.t-office .signon__bars {
  /* the colour bars stay — they're the one flourish left — but they sit back */
  height: 6px;
  opacity: 0.55;
  box-shadow: none;
  border-radius: 1px;
}
html.t-office body.home-page .signon__bars {
  height: 6px;
  border-radius: 1px;
  box-shadow: none;
  background: linear-gradient(90deg,
    #c4c8d2 0 14.28%, #ffd24a 14.28% 28.56%, #25e2ff 28.56% 42.84%,
    #3ee06b 42.84% 57.12%, #ff3df0 57.12% 71.4%, #e8483e 71.4% 85.68%, #2e4bd8 85.68% 100%);
}
html.t-office .chrome {
  font-family: var(--display);
  font-weight: 600;
  font-style: normal;
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--ink);
  filter: none;
  animation: none;
}
html.t-office .signon__logo { animation: none; }

/* ---------- 3. Type: sentence case, normal tracking ---------- */
html.t-office h1,
html.t-office h2,
html.t-office h3,
html.t-office h4 {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
html.t-office .slug {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-dim);
}
html.t-office .slug .gold { color: var(--gold); }
html.t-office .act-head__action { font-family: var(--body); color: var(--ink-dim); }

html.t-office .nav { background: rgba(14, 14, 17, 0.86); border-bottom-color: var(--rule-soft); }
html.t-office .nav__mark { letter-spacing: 0.01em; font-weight: 500; }
html.t-office .nav__links {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-transform: none;
}
html.t-office .nav__links a { color: var(--ink-dim); padding: 6px 0 5px; }
html.t-office .nav__links a:hover { color: var(--ink); border-bottom-color: var(--ink-dim); }
html.t-office .nav__links a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
  box-shadow: none;
}
html.t-office .nav__toggle:hover,
html.t-office .nav__toggle[aria-expanded="true"] { color: var(--ink); }

html.t-office .button {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  min-height: 42px;
  padding: 10px 16px;
}
html.t-office .button:hover {
  color: var(--ink);
  border-color: var(--ink-dim);
  box-shadow: none;
  transform: none;
}
html.t-office .button--gold { background: var(--gold); border-color: var(--gold); color: #111; }
html.t-office .button--gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: #111; }

html.t-office .case-grid__label,
html.t-office .craft-project__tag,
html.t-office .headlines figure .tag,
html.t-office .headlines--img figure .tag,
html.t-office .foot__tag,
html.t-office .tv-guide__daypart,
html.t-office .tv-controls__brand,
html.t-office .tv-osd__label,
html.t-office .station-break__kicker,
html.t-office .scene__number,
html.t-office .scene__meta {
  text-transform: none;
  letter-spacing: 0.02em;
}
html.t-office .case-grid__label { font-family: var(--mono); font-weight: 500; font-size: 12.5px; color: var(--gold); }
html.t-office .craft-project__tag { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--ink-dim); }
html.t-office .headlines figure .tag,
html.t-office .headlines--img figure .tag { font-family: var(--mono); font-size: 11.5px; color: var(--ink-dim); }
html.t-office .foot__tag { font-family: var(--body); font-weight: 500; font-size: 15px; }
html.t-office .foot a:hover { color: var(--gold-bright); }

/* ---------- 4. The set: hairline bezel, quiet hardware ---------- */
html.t-office .tv-set {
  background: #08080a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: clamp(8px, 1.2vw, 14px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}
html.t-office .tv-screen { border-radius: 2px; }
html.t-office .tv-screen::after {
  /* no scanlines; a whisper of vignette so the frame has an edge */
  background: radial-gradient(130% 100% at 50% 50%, transparent 72%, rgba(0, 0, 0, 0.22) 100%);
  border-radius: 2px;
}
html.t-office .tv-osd {
  color: rgba(235, 235, 230, 0.86);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
html.t-office .tv-osd__ch { font-size: clamp(18px, 2.8vw, 32px); }
html.t-office .tv-osd__label { font-family: var(--mono); font-weight: 500; font-size: clamp(11px, 1.2vw, 13px); }
html.t-office .tv-controls { padding-top: clamp(8px, 1.2vw, 14px); gap: 8px; }
html.t-office .tv-controls__brand { font-family: var(--mono); font-size: 11.5px; color: var(--ink-whisper); }
html.t-office .tv-btn {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  background: transparent;
  color: var(--ink-dim);
}
html.t-office .tv-btn:hover { color: var(--ink); border-color: var(--ink-dim); }
html.t-office .film-tv .tv-controls__brand { text-transform: none; }

/* ---------- 5. The guide: mono numbers, sentence-case titles, brass for "tuned" ---------- */
html.t-office .home-guide__col { border-top: 1px solid var(--rule); }
html.t-office .home-guide__col h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  margin: 2px 0 6px;
}
html.t-office .home-guide__col li { border-top: 1px solid var(--rule-soft); }
html.t-office .home-guide__row { grid-template-columns: 28px minmax(0, 1fr); padding: 7px 0; }
html.t-office .home-guide__row .ch { font-family: var(--mono); font-size: 12.5px; color: var(--ink-quiet); }
html.t-office .home-guide__row b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 21px);
  text-transform: none;
  letter-spacing: 0.005em;
  line-height: 1.05;
}
html.t-office .home-guide__row em {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0;
  color: var(--ink-quiet);
  margin-top: 3px;
}
html.t-office .home-guide__row:hover b,
html.t-office .home-guide__row:focus-visible b { color: var(--gold-bright); }
html.t-office .home-guide__notes { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0; color: var(--ink-dim); }
html.t-office .home-guide__notes:hover { color: var(--gold-bright); }
html.t-office .home-guide__col li.is-tuned { box-shadow: inset 2px 0 0 var(--gold); background: rgba(255, 255, 255, 0.03); }
html.t-office .home-guide__col li.is-tuned .ch { color: var(--gold); text-shadow: none; }
html.t-office .home-guide__col li.is-tuned b { color: var(--ink); }
html.t-office .home-guide__col li.is-tuned em { color: var(--ink-dim); }

html.t-office .tv-guide__daypart { font-family: var(--mono); font-weight: 500; font-size: 12.5px; color: var(--gold); }
html.t-office .tv-guide li { border-bottom-color: var(--rule-soft); }
html.t-office .tv-guide__row .ch { font-family: var(--mono); font-size: 12.5px; color: var(--ink-quiet); }
html.t-office .tv-guide__row .show {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  text-transform: none;
  letter-spacing: 0.005em;
}
html.t-office .tv-guide__row .show small { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0; }
html.t-office .tv-guide__row .now { font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; text-transform: none; color: var(--gold); }
html.t-office li.is-tuned .tv-guide__row .ch { color: var(--gold); text-shadow: none; }
html.t-office .tv-guide__notes { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0; }
html.t-office .tv-guide__notes:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- 6. Intermission (the jukebox block), contact, cards ---------- */
html.t-office .intermission { background: var(--bg-panel); border-top-color: var(--rule); border-bottom-color: var(--rule-soft); }
html.t-office .intermission__title {
  font-size: clamp(30px, 4vw, 52px);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.05;
}
html.t-office .intermission__title .teal { color: var(--gold); }
html.t-office .intermission__copy { font-family: var(--body); }
html.t-office .intermission__art {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  transform: none;
}
html.t-office .intermission a:hover .intermission__art { transform: none; }

html.t-office .fadeout { background: var(--bg); border-top-color: var(--rule); }
html.t-office .fadeout__title { text-transform: none; letter-spacing: 0; }
html.t-office .fadeout__copy { font-family: var(--body); }
html.t-office .fadeout__contacts {
  font-family: var(--body);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
html.t-office .fadeout__contacts a { border-bottom: 1px solid var(--rule); }
html.t-office .fadeout__contacts a:hover { color: var(--gold-bright); border-color: var(--gold); }

html.t-office .station-card { box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85); }
html.t-office .station-break { border-top-color: var(--rule); }
html.t-office .station-break__copy h2 { text-transform: none; letter-spacing: 0; }
html.t-office .station-break__kicker { font-family: var(--mono) !important; }
html.t-office .scene__title { text-transform: none; letter-spacing: 0; }
html.t-office .scene__number,
html.t-office .scene__meta { font-family: var(--mono); }

/* ---------- 7. The switch: the ON AIR pill becomes the control ---------- */
html.t-office .nav__onair,
html.t-office .theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: clamp(18px, 3vw, 42px);
  margin-right: auto;
  padding: 5px 10px 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  text-transform: none;
  cursor: pointer;
  transition: color var(--ease-fast), border-color var(--ease-fast);
}
html.t-office .nav__onair:hover,
html.t-office .theme-switch:hover { color: var(--ink); border-color: var(--ink-dim); }
html.t-office .nav__onair i,
html.t-office .theme-switch i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: none;
  filter: none;
  animation: none;
}
html.t-office .nav__onair i::after { display: none; }

/* in the full broadcast theme the pill keeps v10's red ON AIR dress;
   we only need it to behave like a button there */
.theme-switch { appearance: none; -webkit-appearance: none; cursor: pointer; }
.theme-switch:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 860px) { .theme-switch { display: none; } }

/* ---------- 8. Second pass: the labels that were still shouting ---------- */
html.t-office .label,
html.t-office .eyebrow,
html.t-office .meta,
html.t-office .case-hero__eyebrow > *,
html.t-office .next-up .label,
html.t-office .next-up .title,
html.t-office .foot__row,
html.t-office .hero__tagline,
html.t-office .stat__label,
html.t-office .award__body h4,
html.t-office .resume-title,
html.t-office .resume-mantra,
html.t-office .resume-download__link,
html.t-office .resume-stats b,
html.t-office .resume-stats span,
html.t-office .resume-timeline h3,
html.t-office .resume-education-copy h3,
html.t-office .resume-awards strong,
html.t-office .resume-awards-marquee span,
html.t-office .contact-block h3,
html.t-office .contact-feature__head h3,
html.t-office .station-id__ticker,
html.t-office .foot__resume {
  text-transform: none;
  letter-spacing: 0.01em;
}
html.t-office .case-hero__eyebrow .tag { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); }
html.t-office .next-up .label { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); }
html.t-office .next-up .title { font-weight: 500; }
html.t-office .foot__row { font-family: var(--mono); font-size: 12px; color: var(--ink-quiet); }
html.t-office .resume-title { letter-spacing: 0.02em; }
html.t-office .resume-mantra { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; line-height: 1.9; }
html.t-office .resume-download__link { font-family: var(--mono); font-size: 12px; }
html.t-office .resume-awards-marquee span,
html.t-office .resume-awards strong { font-family: var(--mono); font-size: 12px; }

/* the infomercial card keeps its joke (the copy carries it) but comes off the neon */
html.t-office .callnow-card {
  background: linear-gradient(180deg, #1b2340 0%, #12162a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
html.t-office .callnow-card::before { opacity: 0.35; }
html.t-office .callnow-card__screen::before { opacity: 0.5; }
html.t-office .callnow-card h1 { text-shadow: none; letter-spacing: 0; }
html.t-office .callnow-card__burst { filter: saturate(0.6); opacity: 0.9; }
