/* ==========================================================================
   PAPA MEAT — OFFICIAL CHANNEL HUB
   Analog-noir broadcast system. Colour discipline: ~85% noir surfaces,
   ~12% bone/silver type, ~3% crimson (interactive + YouTube) with amber used
   only for metadata labels. Corners 2px. Structure = hairlines.
   ========================================================================== */

:root {
  /* surfaces */
  --ink-0: #070709;          /* obsidian */
  --ink-1: #0e0e12;          /* smoked asphalt */
  --ink-2: #15151c;          /* brushed gunmetal */
  --ink-3: #1c1c25;
  --hair: rgba(255, 255, 255, 0.08);
  --hair-2: rgba(255, 255, 255, 0.14);
  --hair-3: rgba(255, 255, 255, 0.24);

  /* type */
  --bone: #f3f1ec;
  --silver: #9e9ea8;
  --ash: #8b8b96;            /* small labels: about 6:1 on the page (was #63636e, 3.4:1, under WCAG AA) */

  /* accents */
  --red: #e11d48;
  --red-hi: #f43f5e;
  --red-lo: rgba(225, 29, 72, 0.14);
  --red-fill: #d41543;       /* red behind bone text: 4.7:1 (--red is 4.2:1, under AA for small text) */
  --red-fill-hi: #be123c;    /* its hover: 5.6:1 */
  --amber: #d97706;

  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --r: 2px;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --strip-h: 30px;
  --mast-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mast-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink-0); color: var(--bone);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
::selection { background: var(--red-fill); color: var(--bone); }
:focus-visible { outline: 1px solid var(--bone); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--bone); color: var(--ink-0); padding: 10px 14px; font: 700 12px var(--mono); }
.skip-link:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.red { color: var(--red); }
.hide-sm { display: inline; }
.icon { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.12em; }
.icon--down { transform: rotate(90deg); }

/* ---------- registration crosshairs (corner "+" marks) ---------- */
.reg { position: relative; }
.reg::after {
  --c: var(--hair-3);
  content: ''; position: absolute; inset: -6px; pointer-events: none; z-index: 3;
  background:
    linear-gradient(var(--c), var(--c)) 0 6px / 13px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) 6px 0 / 1px 13px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 6px / 13px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) calc(100% - 6px) 0 / 1px 13px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 calc(100% - 6px) / 13px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) 6px 100% / 1px 13px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% calc(100% - 6px) / 13px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) calc(100% - 6px) 100% / 1px 13px no-repeat;
}

/* ---------- CRT scan overlay ---------- */
.fx { position: fixed; inset: 0; z-index: 1500; pointer-events: none; transition: opacity 0.4s; }
body.fx-off .fx { opacity: 0; }
.fx__scan { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px); }
.fx__grain {
  position: absolute; inset: -50%; opacity: 0.055; animation: grain 1s steps(6) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.fx__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.45)); }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-2%, -2%); } 80% { transform: translate(5%, 4%); } }
@keyframes blink { 50% { opacity: 0.2; } }

/* ---------- shared type: meta rule, section heads ---------- */
.meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding-top: 12px; border-top: 1px solid var(--hair-2);
  font: 500 11px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash);
}
.meta__lbl { color: var(--amber); }
.meta__tc { margin-left: auto; }
.sec { padding: clamp(64px, 7.5vw, 108px) 0; position: relative; }
.sec--panel { background: var(--ink-1); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.sec--flush { padding-top: 0; }
.sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-top: 22px; }
.sec-head__title {
  font: 400 clamp(34px, 4vw, 60px)/0.95 var(--display); text-transform: uppercase; letter-spacing: 0.002em; max-width: 19ch;
}
.sec-head__title em, .pagehead__title em, .spread__title em, .signoff__title em, .hero__title em {
  font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em; color: var(--bone);
}
.sec-head__title em { font-size: 1.08em; white-space: nowrap; }
.sec-head__lede { max-width: 440px; color: var(--silver); font-size: 15px; }
.sec-head__lede--wide { max-width: 720px; margin-top: 16px; }
.footnote { margin-top: 22px; font: 400 11px/1.6 var(--mono); color: var(--ash); letter-spacing: 0.02em; max-width: 900px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--r); text-decoration: none; white-space: nowrap;
  font: 700 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.15s, transform 0.12s var(--ease);
}
.btn .icon { width: 16px; height: 16px; }
.btn__meta { opacity: 0.8; font-weight: 500; }
.btn__meta::before { content: '\2022'; margin-right: 10px; opacity: 0.7; }
.btn--red { background: var(--red-fill); color: var(--bone); }
.btn--red:hover { background: var(--red-fill-hi); }
.btn--red .btn__meta { opacity: 1; }
.btn--line { border-color: var(--hair-3); color: var(--bone); }
.btn--line:hover { border-color: var(--bone); background: rgba(255, 255, 255, 0.04); }
.btn--bone { background: var(--bone); color: var(--ink-0); }
.btn--bone:hover { background: #fff; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 11px; }
.btn--lg { height: 52px; padding: 0 22px; }
.btn--xl { height: 60px; padding: 0 28px; font-size: 13px; }
.btn--xl .icon { width: 20px; height: 20px; }
.sep { margin: 0 0.6em; color: var(--red-hi); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; white-space: nowrap;
  border: 1px solid var(--hair-3); border-radius: var(--r); background: rgba(7, 7, 9, 0.78);
  font: 700 10px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone);
}
.pill .icon { width: 12px; height: 12px; }
.pill--hot { background: var(--red-fill); border-color: var(--red-fill); }
.pill--cat { color: var(--amber); border-color: rgba(217, 119, 6, 0.42); background: rgba(217, 119, 6, 0.08); }
/* outbound links switched off (PM.EXTERNAL_LINKS = false): they look and feel live —
   pointer cursor, hover and a press effect — but a click goes nowhere (guarded in app.js) */
a.is-off { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a.is-off:active { opacity: 0.85; }
.btn:active, a.is-off.btn:active { transform: translateY(1px) scale(0.97); }
.look__item.is-off:active .look__img img { transform: scale(1.02); }
.link { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- telemetry strip ---------- */
.strip { height: var(--strip-h); display: flex; align-items: center; overflow: hidden; background: var(--ink-1); border-bottom: 1px solid var(--hair); }
.strip__track { display: flex; width: max-content; animation: strip 60s linear infinite; }
.strip__group { display: flex; white-space: nowrap; font: 500 11.5px/1 var(--body); letter-spacing: 0.04em; color: var(--silver); }
.strip__group span { display: inline-flex; align-items: center; }
.strip__group span::after { content: ''; width: 4px; height: 4px; margin: 0 22px; border-radius: 50%; background: var(--red); }
@keyframes strip { to { transform: translateX(-50%); } }

/* ---------- masthead ---------- */
.mast { position: sticky; top: 0; z-index: 100; background: rgba(7, 7, 9, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hair); }
.mast__bar { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: var(--mast-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; }
.brand__mark { width: 30px; height: 30px; color: var(--bone); }
.brand__mark path[fill='currentColor'] { fill: var(--red); }
.brand__type { display: flex; flex-direction: column; line-height: 1; }
.brand__type b { white-space: nowrap; font: 400 21px/1 var(--display); letter-spacing: 0.04em; }
.brand__type small { margin-top: 4px; font: 500 9px/1 var(--mono); letter-spacing: 0.24em; color: var(--ash); }
.tabs { display: flex; height: var(--mast-h); }
.tabs a {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; height: 100%;
  font: 600 15px/1 var(--body); letter-spacing: 0.01em; color: var(--silver); text-decoration: none; transition: color 0.2s;
}
.tabs a em { margin-left: 2px; padding: 3px 6px; border-radius: 999px; background: var(--ink-3); font: 600 10px/1 var(--mono); color: var(--silver); }
.tabs a[aria-current='page'] em { background: var(--red-fill); color: var(--bone); }
.tabs a:hover { color: var(--bone); }
.tabs a[aria-current='page'] { color: var(--bone); }
.tabs a[aria-current='page']::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; background: var(--red); }
.mast__actions { display: flex; align-items: center; gap: 14px; justify-self: end; }
.switch { white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 12px; border: 1px solid var(--hair-2); border-radius: 999px; font: 500 13px/1 var(--body); color: var(--silver); transition: border-color 0.2s, color 0.2s; }
.switch:hover { border-color: var(--hair-3); color: var(--bone); }
.switch__icon { width: 16px; height: 16px; }
.switch__track { position: relative; width: 30px; height: 18px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--hair-2); transition: background 0.2s; }
.switch__knob { position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--silver); transition: transform 0.25s var(--ease), background 0.2s; }
.switch[aria-checked='true'] { color: var(--bone); }
.switch[aria-checked='true'] .switch__track { background: var(--red); border-color: var(--red); }
.switch[aria-checked='true'] .switch__knob { transform: translateX(12px); background: var(--bone); }

/* ---------- pages ---------- */
.page[hidden] { display: none !important; }
#main:focus { outline: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.32s; animation-timing-function: var(--ease); }

/* ==========================================================================
   HOME — HERO
   ========================================================================== */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 6vw, 88px); border-bottom: 1px solid var(--hair); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.hero__copy { grid-column: span 7; padding-top: 6px; }
.hero__deck { grid-column: span 5; }
.tag { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 500 11px/1 var(--mono); letter-spacing: 0.16em; color: var(--silver); }
.live-dot { display: inline-block; width: 8px; height: 8px; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 1.2s infinite; }
.hero__title {
  margin: 26px 0 26px; font: 400 clamp(46px, 6.1vw, 98px)/0.9 var(--display); text-transform: uppercase; letter-spacing: 0.002em;
  text-wrap: balance;
}
.hero__title em { font-size: 1.06em; line-height: 0.8; white-space: nowrap; }
.hero__title .amp { font-family: var(--serif); font-style: italic; text-transform: none; color: var(--silver); }
.hero__lede { max-width: 580px; font-size: 17px; line-height: 1.6; color: var(--silver); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.readout { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hair-2); }
.readout > div { padding: 16px 18px 18px; border-right: 1px solid var(--hair-2); }
.readout > div:last-child { border-right: 0; }
.readout dt { font: 500 10px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); }
.readout dd { margin-top: 10px; font: 400 clamp(26px, 2.6vw, 38px)/1 var(--display); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.readout > div:first-child dd { color: var(--red); }

/* Featured episode player */
.pvm { padding: 14px; background: linear-gradient(180deg, #17171e, #101015 70%); border: 1px solid var(--hair-2); border-radius: 4px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.pvm__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 2px 12px; }
.pvm__brand { display: inline-flex; align-items: center; gap: 9px; font: 700 10.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone); }
.pvm__brand .live-dot { width: 7px; height: 7px; border-radius: 50%; }
.pvm__bezel { padding: 0; background: #050507; border: 1px solid #000; }
.pvm__screen { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: #000; }
.pvm__screen img { width: 100%; height: 100%; object-fit: cover; }
.pvm__static {
  position: absolute; inset: 0; z-index: 4; opacity: 0; pointer-events: none; background-size: 220px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='turbulence' baseFrequency='1.1' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.pvm__screen.is-switching .pvm__static { animation: static 0.42s steps(6) both; }
@keyframes static { 0% { opacity: 1; } 60% { opacity: 0.85; background-position: 40px 60px; } 100% { opacity: 0; background-position: -30px 90px; } }
/* Retro TV effect on: curved glass, scanlines, vignette */
body:not(.fx-off) .pvm__screen { border-radius: 10px / 14px; }
body:not(.fx-off) .pvm__screen img { filter: saturate(0.85) contrast(1.06); }
body:not(.fx-off) .pvm__screen::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.65));
}
.pvm__dur { position: absolute; right: 10px; bottom: 10px; z-index: 5; padding: 5px 7px; border-radius: var(--r); background: rgba(7, 7, 9, 0.88); font: 600 11.5px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--bone); }
.pvm__info { padding: 16px 2px 16px; border-bottom: 1px solid var(--hair); }
.pvm__title { margin: 12px 0 6px; font: 600 20px/1.25 var(--body); }
.pvm__stats { font: 400 12px/1 var(--mono); color: var(--silver); letter-spacing: 0.04em; }
.pvm__keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-top: 14px; }
.pvm__key {
  min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 5px 5px 9px; text-align: left;
  background: #0b0b0f; border: 1px solid var(--hair); border-radius: var(--r); transition: border-color 0.2s, background 0.2s;
}
.pvm__key img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.55; filter: grayscale(0.5); transition: opacity 0.2s, filter 0.2s; }
.pvm__key span { padding: 0 3px; font: 600 12.5px/1.2 var(--body); color: var(--silver); overflow-wrap: anywhere; }
.pvm__key:hover { border-color: var(--hair-3); }
.pvm__key:hover img { opacity: 0.85; }
.pvm__key[aria-selected='true'] { background: #121218; border-color: var(--red); box-shadow: inset 0 -2px 0 var(--red); }
.pvm__key[aria-selected='true'] img { opacity: 1; filter: none; }
.pvm__key[aria-selected='true'] span { color: var(--bone); }

/* ==========================================================================
   HOME — HALL OF FAME BENTO
   ========================================================================== */
.hof { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; border: 1px solid var(--hair-2); }
.hof__feature { min-width: 0; grid-row: span 3; border-right: 1px solid var(--hair-2); display: flex; flex-direction: column; }
.hof__row { min-width: 0; display: grid; grid-template-columns: 44% minmax(0, 1fr); border-bottom: 1px solid var(--hair-2); }
.hof__row:last-child { border-bottom: 0; }
.hof__media { position: relative; display: block; width: 100%; overflow: hidden; background: #000; }
.hof__feature .hof__media { aspect-ratio: 16 / 10; flex: 1; min-height: 360px; }
.hof__row .hof__media { aspect-ratio: auto; height: 100%; min-height: 150px; border-right: 1px solid var(--hair-2); }
.hof__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hof__feature .hof__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 7, 9, 0.96) 0%, rgba(7, 7, 9, 0.7) 32%, transparent 62%); }
.hof__rank { position: absolute; z-index: 2; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.hof__dur { position: absolute; z-index: 2; right: 10px; bottom: 10px; padding: 5px 7px; border-radius: var(--r); background: rgba(7, 7, 9, 0.88); font: 600 11px/1 var(--mono); font-variant-numeric: tabular-nums; }
.hof__feature .hof__dur { top: 12px; bottom: auto; }
.hof__row .hof__rank { top: auto; bottom: 10px; left: 10px; }
.hof__big { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; }
.hof__big .hof__title { display: block; margin-top: 10px; font: 400 clamp(30px, 3.4vw, 50px)/0.96 var(--display); text-transform: uppercase; max-width: 16ch; }
.hof__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hof__cat { display: inline-flex; align-items: center; gap: 7px; font: 500 10px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.hof__cat .icon { width: 13px; height: 13px; }
.hof__row .hof__title { font: 600 17px/1.25 var(--body); }
.hof__stats { font: 400 12px/1 var(--mono); letter-spacing: 0.04em; color: var(--silver); }
.hof__links { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.hof__feature .hof__body { padding: 18px 24px 22px; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--hair-2); }
.hof__feature .hof__links { margin: 0; padding: 0; }

/* ==========================================================================
   HOME — GRINDER
   ========================================================================== */
.grinder { display: grid; grid-template-columns: 5fr 7fr; gap: 0; border: 1px solid var(--hair-2); background: var(--ink-0); }
.grinder__panel { padding: 26px; border-right: 1px solid var(--hair-2); display: flex; flex-direction: column; }
.grinder__step { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 600 14px/1 var(--body); color: var(--silver); }
.grinder__step b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink-3); color: var(--bone); font: 700 11px/1 var(--mono); }
.moods { display: grid; gap: 0; margin-bottom: 26px; border: 1px solid var(--hair-2); }
.mood { display: grid; grid-template-columns: 10px 22px 1fr auto; align-items: center; gap: 14px; padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--hair); transition: background 0.2s; }
.mood:last-child { border-bottom: 0; }
.mood__led { width: 6px; height: 6px; background: #2a2a33; }
.mood .icon { width: 20px; height: 20px; color: var(--ash); }
.mood__txt b { display: block; font: 600 14px/1.25 var(--body); color: var(--silver); }
.mood__txt small { font: 400 10px/1 var(--mono); letter-spacing: 0.08em; color: var(--ash); text-transform: uppercase; }
.mood__count { font: 500 11px/1 var(--mono); color: var(--ash); letter-spacing: 0.02em; }
.mood:hover { background: rgba(255, 255, 255, 0.025); }
.mood[aria-checked='true'] { background: var(--ink-2); }
.mood[aria-checked='true'] .mood__led { background: var(--red); box-shadow: 0 0 8px var(--red); }
.mood[aria-checked='true'] .icon, .mood[aria-checked='true'] .mood__txt b { color: var(--bone); }
.trigger {
  margin-top: auto; display: flex; align-items: center; gap: 14px; width: 100%; height: 66px; padding: 0 22px;
  background: var(--red-fill); color: var(--bone); border-radius: var(--r); font: 400 22px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
}
.trigger .icon { width: 20px; height: 20px; }
.trigger .icon:last-child { margin-left: auto; }
.trigger__icon { width: 28px !important; height: 28px !important; transition: transform 0.6s var(--ease); }
.trigger:hover { background: var(--red-fill-hi); }
.trigger:hover .trigger__icon, .trigger.is-pulling .trigger__icon { transform: rotate(180deg); }
.trigger:disabled { cursor: wait; opacity: 0.85; }
.grinder__deck { padding: 26px; }
.deck { height: 100%; display: flex; flex-direction: column; }
.deck__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font: 700 10.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver); }
.deck__leds { display: flex; gap: 5px; }
.deck__leds i { width: 6px; height: 6px; background: #2a2a33; }
.deck.is-spinning .deck__leds i { animation: led 0.45s infinite alternate; }
.deck.is-spinning .deck__leds i:nth-child(even) { animation-delay: 0.22s; }
.deck.is-done .deck__leds i { background: var(--red); }
@keyframes led { to { background: var(--amber); } }
.deck__window { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #050507; border: 1px solid var(--hair-2); }
.deck__window::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(rgba(5, 5, 7, 0.7), transparent 20%, transparent 80%, rgba(5, 5, 7, 0.7)), repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0 1px, transparent 1px 3px); }
/* height = full strip of frames, so translateY(%) is measured against the whole reel */
.reel { position: absolute; top: 0; left: 0; right: 0; display: flex; flex-direction: column; will-change: transform; }
.reel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; flex: none; filter: saturate(0.85); }
.deck.is-spinning .reel { filter: blur(1.5px); }
.deck__idle { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 0 20px; text-align: center; font: 500 14px/1.4 var(--body); color: var(--silver); }
.deck__idle .icon { width: 44px; height: 44px; color: var(--silver); }
.deck__idle[hidden] { display: none; }
.deck__out { margin-top: 18px; min-height: 172px; }
.deck__hint { padding: 26px 0; text-align: center; font: 500 14px/1 var(--body); color: var(--ash); border: 1px dashed var(--hair-2); }
.out { animation: rise 0.45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.out__title { margin: 10px 0 6px; font: 400 clamp(24px, 2.4vw, 34px)/1 var(--display); text-transform: uppercase; }
.out__stats { font: 400 12px/1 var(--mono); color: var(--silver); letter-spacing: 0.04em; }
.out__voice { margin: 16px 0; padding: 12px 16px; border-left: 2px solid var(--red); background: var(--ink-1); }
.out__voice b { display: block; font: 500 10px/1 var(--mono); letter-spacing: 0.14em; color: var(--ash); text-transform: uppercase; margin-bottom: 6px; }
.out__voice q { font: italic 400 19px/1.35 var(--serif); color: var(--bone); quotes: '“' '”'; }
.out__ctas { display: flex; flex-wrap: wrap; gap: 8px; }

/* ==========================================================================
   HOME — MERCH LOOKBOOK + SIGN-OFF
   ========================================================================== */
.look { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--hair-2); }
.look__item { display: flex; flex-direction: column; text-decoration: none; border-right: 1px solid var(--hair-2); }
.look__item:last-child { border-right: 0; }
.look__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #e7e4dd; }
.look__img img { width: 100%; height: 100%; object-fit: contain; padding: 9%; transition: transform 0.6s var(--ease); }
.look__item:hover .look__img img { transform: scale(1.05); }
.look__cap { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.look__tag { font: 500 10px/1 var(--mono); letter-spacing: 0.14em; color: var(--amber); text-transform: uppercase; }
.look__name { font: 600 15px/1.3 var(--body); }
.look__cta { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font: 700 10.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); }
.look__cta .icon { width: 12px; height: 12px; }
.look__item:hover .look__cta { color: var(--red); }

.signoff { padding: clamp(72px, 9vw, 132px) 0; border-top: 1px solid var(--hair); background: radial-gradient(60% 80% at 85% 100%, rgba(225, 29, 72, 0.12), transparent 70%), var(--ink-0); }
.signoff__title { margin: 28px 0 34px; font: 400 clamp(54px, 9vw, 150px)/0.88 var(--display); text-transform: uppercase; letter-spacing: 0.002em; }
.signoff__title em { font-size: 1.04em; }
.signoff__row { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--hair-2); }
.signoff__row p { max-width: 520px; color: var(--silver); }

/* ==========================================================================
   VIDEOS — PAGE HEAD, FILTERS, VIDEO CARDS, PAGER
   ========================================================================== */
.pagehead { padding: clamp(32px, 4vw, 56px) 0 clamp(28px, 3vw, 40px); }
/* 404 — /404.html and any unknown path (js/app.js route "notfound") */
.pagehead--notfound { display: grid; align-content: center; min-height: 58svh; }
.pagehead--notfound .pagehead__title { margin-top: 18px; max-width: 18ch; }
.pagehead--notfound .pagehead__lede { margin-top: 18px; max-width: 56ch; }
.pagehead--notfound .pagehead__actions { margin-top: 28px; }
.pagehead__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 56px; align-items: end; margin-top: 22px; }
.pagehead__title { max-width: 14ch; font: 400 clamp(44px, 5.4vw, 84px)/0.92 var(--display); text-transform: uppercase; letter-spacing: 0.002em; text-wrap: balance; }
.pagehead__title .amp { font-family: var(--serif); font-style: italic; text-transform: none; color: var(--silver); }
.pagehead__lede { margin-top: 18px; max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--silver); }
.pagehead__lede em { font-family: var(--serif); font-style: italic; font-size: 1.1em; color: var(--bone); }

/* Copyright & Contact: plain reading pages */
.pagehead--doc .pagehead__title { margin-top: 18px; max-width: 20ch; }
.pagehead--doc .pagehead__lede { max-width: 62ch; }
.legal { padding: 8px 0 clamp(64px, 8vw, 112px); }
.legal__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; font-size: 16px; line-height: 1.65; color: var(--silver); overflow-wrap: anywhere; }
.legal__body > :not(.contacts) { max-width: 72ch; }
.legal__body h2 { margin-top: 22px; font: 700 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body ul, .legal__body ol { display: grid; gap: 6px; padding-left: 1.4em; }
.legal__body ul { list-style: disc; }
.legal__body ol { list-style: decimal; }
.legal__body li::marker { color: var(--ash); }
.legal__body .link { overflow-wrap: anywhere; }
.legal__note { font: 500 12px/1.6 var(--mono); letter-spacing: 0.02em; }
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--hair-2); background: var(--ink-1); }
.contacts > div { display: grid; gap: 6px; align-content: start; padding: 20px 22px; border-right: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); }
.contacts > div:nth-child(2n) { border-right: 0; }
.contacts > div:nth-last-child(-n + 2) { border-bottom: 0; }
.contacts dt { font: 700 11px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.contacts dd { font-size: 15px; line-height: 1.55; }
@media (max-width: 640px) {
  .contacts { grid-template-columns: 1fr; }
  .contacts > div { border-right: 0; }
  .contacts > div:nth-last-child(2) { border-bottom: 1px solid var(--hair-2); }
}
.pagehead__aside { display: grid; gap: 14px; }
.pagehead__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--hair-2); background: var(--ink-1); }
.kv > div { padding: 14px 16px 16px; border-right: 1px solid var(--hair-2); }
.kv > div:last-child { border-right: 0; }
.kv dt { font: 500 10px/1 var(--mono); letter-spacing: 0.14em; color: var(--ash); text-transform: uppercase; }
.kv dd { margin-top: 10px; font: 400 clamp(26px, 2.4vw, 36px)/1 var(--display); letter-spacing: 0.02em; color: var(--bone); white-space: nowrap; }
.kv dd small { margin-left: 6px; font: 500 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ash); }

.console { position: sticky; top: var(--mast-h); z-index: 30; margin-bottom: 28px; background: rgba(14, 14, 18, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--hair-2); }
.console__tabs { display: flex; min-height: 51px; border-bottom: 1px solid var(--hair-2); overflow-x: auto; scrollbar-width: none; } /* 50px tabs + border, reserved before app.js renders them */
.console__tabs::-webkit-scrollbar { display: none; }
.ctab {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 18px;
  border-right: 1px solid var(--hair); font: 700 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); white-space: nowrap; transition: color 0.2s, background 0.2s;
}
.ctab .icon { width: 15px; height: 15px; color: var(--ash); }
.ctab__n { font-weight: 500; color: var(--ash); }
.ctab:hover { color: var(--bone); background: rgba(255, 255, 255, 0.02); }
.ctab[aria-selected='true'] { color: var(--bone); background: var(--ink-2); }
.ctab[aria-selected='true'] .icon { color: var(--bone); }
.ctab[aria-selected='true']::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); }
.ctab--cast { color: var(--bone); background: var(--red-lo); }
.ctab--cast .ctab__x { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--hair-3); }
.ctab--cast .ctab__x .icon { width: 10px; height: 10px; color: var(--bone); }
.console__tools { display: grid; grid-template-columns: 1fr 220px 170px; }
.field { position: relative; display: flex; align-items: center; height: 54px; border-right: 1px solid var(--hair); }
.field:last-child { border-right: 0; }
.field__lbl { position: absolute; left: 44px; top: 9px; font: 500 9px/1 var(--mono); letter-spacing: 0.16em; color: var(--ash); pointer-events: none; }
.field > .icon { position: absolute; left: 16px; width: 16px; height: 16px; color: var(--ash); pointer-events: none; }
.field input, .field select {
  width: 100%; height: 100%; padding: 18px 16px 0 44px; background: transparent; border: 0; border-radius: 0; outline: none;
  font: 500 14px/1 var(--body); color: var(--bone); appearance: none; -webkit-appearance: none;
}
.field select { cursor: pointer; padding-right: 32px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239E9EA8' stroke-width='1.75'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; }
.field select option { background: var(--ink-1); color: var(--bone); }
.field input::placeholder { color: var(--ash); }
.field input:focus-visible, .field select:focus-visible { outline: 1px solid var(--bone); outline-offset: -6px; } /* keyboard focus was invisible (outline: none) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.field:focus-within { background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 -2px 0 var(--red); }

.tapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hair-2); border-left: 1px solid var(--hair-2); }
.tape { display: flex; flex-direction: column; border-right: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); background: var(--ink-0); transition: background 0.25s; animation: rise 0.45s var(--ease) both; }
.tape:hover { background: var(--ink-1); }
.tape__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.tape__media img { width: 100%; height: 100%; object-fit: cover; }
.tape__badge { position: absolute; left: 10px; bottom: 10px; z-index: 2; }
.tape__dur { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 5px 7px; border-radius: var(--r); background: rgba(7, 7, 9, 0.88); font: 600 11px/1 var(--mono); font-variant-numeric: tabular-nums; }
.tape__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.tape__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tape__views { font: 500 12px/1 var(--mono); letter-spacing: 0.02em; color: var(--silver); }
.tape__title { font: 600 19px/1.22 var(--body); }
.tape__hook { font-size: 14px; line-height: 1.55; color: var(--silver); flex: 1; }
.tape__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--hair); }
.tape__ctas { display: flex; gap: 6px; }
.tape__ctas .btn { height: 34px; padding: 0 12px; font-size: 10.5px; gap: 7px; }
.tape__ctas .btn .icon { width: 13px; height: 13px; }
.tape__ctas .btn--line:hover { border-color: var(--red-fill); color: var(--bone); background: var(--red-fill); }
.tape.is-flagged { box-shadow: inset 0 0 0 1px var(--red); }

.empty { padding: 64px 20px; text-align: center; border: 1px dashed var(--hair-2); color: var(--silver); }
.empty__title { font: 400 34px/1 var(--display); text-transform: uppercase; color: var(--bone); margin-bottom: 10px; }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding: 14px 16px; border: 1px solid var(--hair-2); background: var(--ink-1); }
.pager[hidden] { display: none; }
.pager__status { font: 400 14px/1.5 var(--body); color: var(--silver); }
.pager__status b { color: var(--bone); font-weight: 700; }
.pager__keys { display: flex; gap: 6px; flex-wrap: wrap; }
.pk {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; height: 42px; padding: 0 12px;
  background: #0b0b0f; border: 1px solid var(--hair-2); border-bottom-width: 3px; border-radius: var(--r);
  font: 700 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--silver); transition: 0.15s;
}
.pk .icon { width: 14px; height: 14px; }
.pk:hover:not(:disabled) { color: var(--bone); border-color: var(--hair-3); }
.pk:active:not(:disabled) { transform: translateY(2px); border-bottom-width: 1px; }
.pk[aria-current='page'] { background: var(--red-fill); border-color: var(--red-fill); border-bottom-color: #9f1239; color: var(--bone); }
.pk:disabled { opacity: 0.3; cursor: not-allowed; }

/* ---------- tier matrix ---------- */
.matrix { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.matrix__board { border: 1px solid var(--hair-2); background: var(--ink-0); }
.trow { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 96px; border-bottom: 1px solid var(--hair-2); }
.trow:last-child { border-bottom: 0; }
.trow__label { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px 16px; }
.trow__label b { font: 400 44px/0.9 var(--display); }
.trow__label small { font: 700 9px/1.25 var(--mono); letter-spacing: 0.12em; }
.trow__drop { display: flex; flex-wrap: wrap; align-content: center; gap: 8px; padding: 12px; min-width: 0; transition: background 0.2s; }
.trow__drop.is-over { background: var(--red-lo); box-shadow: inset 0 0 0 1px var(--red); }
.trow__drop:empty::after { content: 'Drop an item here'; font: 400 13px/1 var(--body); color: var(--ash); }
.spec {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 5px 12px 5px 5px; text-align: left;
  background: var(--ink-1); border: 1px solid var(--hair-2); border-radius: var(--r); cursor: grab; user-select: none; -webkit-user-select: none;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.spec img { width: 38px; height: 38px; object-fit: cover; flex: none; filter: saturate(0.85); }
.spec span { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.spec b { font: 600 13px/1.2 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spec small { font: 400 9.5px/1.2 var(--mono); letter-spacing: 0.08em; color: var(--ash); text-transform: uppercase; margin-top: 3px; }
.spec:hover { border-color: var(--hair-3); transform: translateY(-1px); }
.spec[aria-pressed='true'] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.spec.is-dragging { opacity: 0.35; }
.spec.is-moved { animation: pop 0.4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.06); } }
.inspect { position: sticky; top: calc(var(--mast-h) + 20px); border: 1px solid var(--hair-2); background: var(--ink-0); }
.inspect__head { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--hair-2); font: 700 10.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); }
.inspect__head b { color: var(--red-hi); font-weight: 700; }
.inspect__empty { display: grid; place-items: center; gap: 14px; padding: 56px 28px; text-align: center; color: var(--silver); font-size: 14px; }
.inspect__empty .icon { width: 34px; height: 34px; color: var(--ash); }
.inspect__body { padding: 18px 16px 18px; display: grid; gap: 16px; }
.inspect__top { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.inspect__top img { width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--hair-2); }
.inspect__tier { display: inline-flex; padding: 5px 8px; border-radius: var(--r); font: 700 10px/1 var(--mono); letter-spacing: 0.12em; }
.inspect__name { margin-top: 8px; font: 400 26px/1 var(--display); text-transform: uppercase; }
.inspect__verdict { padding: 14px 16px; border-left: 2px solid var(--red); background: var(--ink-1); }
.inspect__verdict small { display: block; margin-bottom: 8px; font: 500 9.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.inspect__verdict p { font: italic 400 20px/1.32 var(--serif); }
.inspect__kv { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--hair-2); }
.inspect__kv div { padding: 9px 12px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.inspect__kv div:nth-child(2n) { border-right: 0; }
.inspect__kv div:nth-last-child(-n + 2) { border-bottom: 0; }
.inspect__kv dt { font: 500 9px/1 var(--mono); letter-spacing: 0.14em; color: var(--ash); text-transform: uppercase; }
.inspect__kv dd { margin-top: 5px; font: 600 13px/1.2 var(--body); }
.inspect__keys { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.inspect__keys button { height: 40px; border: 1px solid var(--hair-2); border-bottom-width: 3px; border-radius: var(--r); background: #0b0b0f; font: 400 20px/1 var(--display); color: var(--silver); }
.inspect__keys button:hover { color: var(--bone); border-color: var(--hair-3); }
.inspect__keys button[aria-pressed='true'] { background: var(--bone); color: var(--ink-0); border-color: var(--bone); }
.inspect__ep { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--hair-2); }
.inspect__ep img { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; }
.inspect__ep b { display: block; font: 600 13px/1.25 var(--body); }
.inspect__ep small { font: 400 10px/1 var(--mono); color: var(--ash); letter-spacing: 0.06em; }
.inspect .btn { width: 100%; }

/* ==========================================================================
   ABOUT — SPREAD, CAST, NETWORK
   ========================================================================== */
.spread { padding: clamp(32px, 4vw, 56px) 0 clamp(64px, 7vw, 96px); }
.spread__title { margin-bottom: 26px; max-width: 17ch; font: 400 clamp(44px, 5.4vw, 84px)/0.92 var(--display); text-transform: uppercase; letter-spacing: 0.002em; text-wrap: balance; }
.spread__title em { font-size: 1.04em; white-space: nowrap; }
.spread__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 56px; align-items: start; margin-top: 22px; }
.spread__text { grid-column: span 7; }
.plate { grid-column: 8 / span 5; }
.spread__lede { font: 400 clamp(21px, 1.9vw, 27px)/1.35 var(--serif); color: var(--bone); margin-bottom: 22px; max-width: 34em; }
.spread__lede strong { font-family: var(--display); font-weight: 400; letter-spacing: 0.04em; font-size: 0.86em; }
.spread__cols { columns: 2; column-gap: 28px; color: var(--silver); font-size: 15px; }
.spread__cols p { margin-bottom: 14px; break-inside: avoid; }
.spread__cols em { font-family: var(--serif); font-style: italic; font-size: 1.12em; color: var(--bone); }
.connect { margin-top: clamp(40px, 5vw, 64px); }
.socials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; border-top: 1px solid var(--hair-2); border-left: 1px solid var(--hair-2); }
.socials li { border-right: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); }
.socials a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 16px 18px; text-decoration: none; color: var(--bone); transition: background 0.2s; }
.socials__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.socials__txt b { font: 600 15px/1.2 var(--body); }
.socials__txt small { font: 400 11px/1.2 var(--mono); letter-spacing: 0.02em; color: var(--ash); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.socials a .icon { width: 14px; height: 14px; color: var(--ash); }
.socials a:hover { background: rgba(255, 255, 255, 0.025); }
.plate__img { position: relative; border: 1px solid var(--hair-2); overflow: hidden; }
.plate__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 30% 50%; }
body:not(.fx-off) .plate__img::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.14) 0 1px, transparent 1px 3px); pointer-events: none; }
.plate figcaption { display: flex; flex-direction: column; gap: 2px; padding: 10px 0 16px; font: 400 13px/1.5 var(--body); color: var(--ash); }
.plate figcaption span:first-child { color: var(--silver); }
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--hair-2); background: var(--ink-1); }
.ledger > div { padding: 14px 16px 16px; border-right: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); }
.ledger > div:nth-child(2n) { border-right: 0; }
.ledger > div:nth-last-child(-n + 2) { border-bottom: 0; }
.ledger dt { font: 500 9.5px/1 var(--mono); letter-spacing: 0.14em; color: var(--ash); text-transform: uppercase; }
.ledger dd { margin-top: 10px; font: 400 clamp(24px, 2.2vw, 32px)/1 var(--display); letter-spacing: 0.02em; }

/* cast & crew spotlight cards */
.dossiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.file { display: flex; flex-direction: column; overflow: hidden; background: var(--ink-0); border: 1px solid var(--hair-2); border-radius: 4px; transition: border-color 0.25s; }
.file:hover { border-color: var(--hair-3); }
.file--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.file__photo { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #050507; isolation: isolate; }
.file--lead .file__photo { aspect-ratio: auto; min-height: 100%; border-right: 1px solid var(--hair-2); }
.file__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.file:hover .file__photo img { transform: scale(1.03); }
body:not(.fx-off) .file__photo::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0 1px, transparent 1px 3px); }
.file--redacted .file__photo img { filter: grayscale(1) brightness(0.4) blur(1.5px); }
.file--redacted:hover .file__photo img { transform: none; }
.file__nophoto { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 24px; text-align: center; }
.file__nophoto .icon { width: 30px; height: 30px; color: var(--red); margin-bottom: 4px; }
.file__nophoto b { font: 400 30px/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.file__nophoto small { max-width: 30ch; font-size: 14px; line-height: 1.45; color: var(--silver); }
.file__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 24px; }
.file__role { font: 700 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.file__name { margin-top: -4px; font: 400 clamp(32px, 3vw, 44px)/0.95 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.file--lead .file__name { font-size: clamp(38px, 3.8vw, 58px); }
.file__bio { font-size: 15px; line-height: 1.6; color: var(--silver); }
.spec-table { border-top: 1px solid var(--hair-2); }
.spec-table > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--hair); }
.spec-table dt { font: 500 10px/1.6 var(--mono); letter-spacing: 0.12em; color: var(--ash); text-transform: uppercase; }
.spec-table dd { font: 500 14px/1.45 var(--body); color: var(--bone); }
.transcript { border: 1px solid var(--hair-2); border-radius: var(--r); background: var(--ink-1); }
.transcript__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--hair); font: 700 10px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); }
.wave { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
.wave i { width: 3px; height: 22%; background: var(--ash); transition: height 0.2s, background 0.2s; }
.wave i:nth-child(2) { height: 45%; } .wave i:nth-child(3) { height: 70%; } .wave i:nth-child(4) { height: 100%; }
.wave i:nth-child(5) { height: 60%; } .wave i:nth-child(6) { height: 38%; } .wave i:nth-child(7) { height: 20%; }
.file.is-talking .wave i { background: var(--red); animation: eq 0.48s ease-in-out infinite alternate; }
.file.is-talking .wave i:nth-child(2n) { animation-duration: 0.36s; animation-delay: -0.12s; }
.file.is-talking .wave i:nth-child(3n) { animation-duration: 0.42s; animation-delay: -0.24s; }
@keyframes eq { from { height: 12%; } to { height: 100%; } }
.transcript__txt { min-height: 74px; padding: 12px 14px 14px; font: italic 400 19px/1.35 var(--serif); color: var(--bone); }
.transcript__txt.is-empty { font: 400 14px/1.5 var(--body); font-style: normal; color: var(--ash); }
.caret { display: inline-block; width: 2px; height: 0.95em; margin-left: 2px; vertical-align: -0.1em; background: var(--red); animation: blink 0.8s infinite; }
.file__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.file__ctas .btn { padding: 0 12px; font-size: 10.5px; white-space: normal; text-align: center; line-height: 1.2; }
.file__credit { font: 400 12px/1.4 var(--body); color: var(--ash); }

/* network */
.network { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-top: 1px solid var(--hair-2); border-left: 1px solid var(--hair-2); }
.node { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-right: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); background: var(--ink-0); overflow: hidden; }
.node--mc { grid-column: span 7; grid-row: span 2; padding: 0; }
.node--pm { grid-column: span 5; }
.node--cc { grid-column: span 5; }
.node--mm, .node--clips { grid-column: span 6; }
.node__banner { aspect-ratio: 6 / 1; overflow: hidden; border-bottom: 1px solid var(--hair-2); }
.node__banner img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(0.8); transition: filter 0.4s; }
.node--mc:hover .node__banner img { filter: grayscale(0) contrast(1.05) brightness(0.9); }
.node--mc .node__inner { display: flex; flex-direction: column; gap: 14px; padding: 24px; flex: 1; }
.node__head { display: flex; align-items: center; gap: 12px; }
.node__avatar { width: 44px; height: 44px; object-fit: cover; border: 1px solid var(--hair-3); filter: grayscale(1) contrast(1.1); transition: filter 0.3s; }
.node:hover .node__avatar { filter: none; }
.node__handle { font: 500 10px/1.3 var(--mono); letter-spacing: 0.14em; color: var(--ash); text-transform: uppercase; }
.node__handle b { display: block; color: var(--amber); font-weight: 500; }
.node__name { font: 400 clamp(32px, 3.4vw, 50px)/0.92 var(--display); text-transform: uppercase; }
.node__desc { max-width: 520px; font-size: 14px; color: var(--silver); }
.node__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.node__icon { position: absolute; right: 18px; top: 20px; width: 22px; height: 22px; color: var(--ash); }
.mc-list { border-top: 1px solid var(--hair-2); }
.mc-item { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; width: 100%; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.mc-item img { width: 132px; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(0.8); }
.mc-item b { display: block; font: 600 15px/1.25 var(--body); }
.mc-item small { font: 400 10px/1 var(--mono); letter-spacing: 0.08em; color: var(--ash); text-transform: uppercase; }

/* ---------- footer ---------- */
.foot { padding: 64px 0 28px; border-top: 1px solid var(--hair-2); background: var(--ink-1); }
.foot__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--hair-2); }
.foot__pages { display: flex; gap: 26px; flex-wrap: wrap; }
.foot__pages a { font: 700 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); text-decoration: none; }
.foot__pages a:hover { color: var(--bone); }
.foot__grid { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 32px; padding: 32px 0; }
.foot__h { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 500 10px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.foot__h .icon { width: 14px; height: 14px; }
.foot__list { display: grid; gap: 9px; }
.foot__list a { color: var(--silver); text-decoration: none; font-size: 14px; }
.foot__list a:hover { color: var(--bone); }
.foot__keys { display: grid; gap: 10px; font-size: 14px; color: var(--silver); }
kbd { display: inline-block; min-width: 40px; margin-right: 10px; padding: 4px 6px; text-align: center; border: 1px solid var(--hair-3); border-bottom-width: 3px; border-radius: var(--r); font: 700 10px/1 var(--mono); letter-spacing: 0.1em; color: var(--bone); }
.foot__note p { color: var(--ash); font-size: 14px; max-width: 380px; }
.foot__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--hair); font: 400 11px/1.5 var(--mono); color: var(--ash); letter-spacing: 0.04em; }
.foot__bottom a { color: var(--silver); text-decoration: none; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 1900; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; padding: 12px 16px; background: var(--bone); color: var(--ink-0); font: 700 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; transition: 0.3s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .hero__copy { grid-column: span 12; }
  .hero__deck { grid-column: span 12; max-width: 720px; }
  .look { grid-template-columns: repeat(3, 1fr); }
  .look__item:nth-child(3) { border-right: 0; }
  .look__item:nth-child(-n + 3) { border-bottom: 1px solid var(--hair-2); }
  .matrix { grid-template-columns: 1fr; }
  .inspect { position: relative; top: 0; }
  .console__tools { grid-template-columns: 1fr 200px 150px; }
}
@media (max-width: 960px) {
  :root { --mast-h: 58px; }
  .mast__bar { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'brand actions' 'tabs tabs'; height: auto; row-gap: 0; padding-top: 10px; }
  .brand { grid-area: brand; }
  .mast__actions { grid-area: actions; }
  .tabs { grid-area: tabs; height: 46px; margin: 10px calc(var(--gutter) * -1) 0; border-top: 1px solid var(--hair); }
  .tabs a { flex: 1; justify-content: center; padding: 0 8px; }
  .tabs a[aria-current='page']::after { left: 0; right: 0; }
  html { scroll-padding-top: 130px; }
  .console { top: 104px; }
  .inspect { top: 0; }
  .hof { grid-template-columns: minmax(0, 1fr); }
  .hof__feature { grid-row: auto; border-right: 0; border-bottom: 1px solid var(--hair-2); }
  .grinder { grid-template-columns: 1fr; }
  .grinder__panel { border-right: 0; border-bottom: 1px solid var(--hair-2); }
  .tapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spread__grid { grid-template-columns: minmax(0, 1fr); }
  .spread__text, .plate { grid-column: 1 / -1; }
  .pagehead__grid { grid-template-columns: minmax(0, 1fr); }
  .socials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dossiers { grid-template-columns: 1fr; }
  .file--lead { display: flex; }
  .file--lead .file__photo { aspect-ratio: 16 / 10; min-height: 0; border-right: 0; }
  .network { grid-template-columns: 1fr 1fr; }
  .node--mc { grid-column: 1 / -1; grid-row: auto; }
  .node--pm, .node--cc { grid-column: span 1; }
  .node--mm, .node--clips { grid-column: span 1; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
/* the brand name needs the room: compact switch and Subscribe from 760px down */
@media (max-width: 760px) {
  .switch__label { display: none; }
  .switch { padding: 0 9px; }
  .mast__actions .btn__meta { display: none; }
}
@media (max-width: 400px) {
  .mast__actions .btn__label { display: none; } /* icon only; the link keeps its aria-label */
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .brand__type small { display: none; }
  .mast__bar { column-gap: 10px; }
  .mast__actions { gap: 8px; }
  .brand { gap: 9px; min-width: 0; }
  .brand__mark { width: 26px; height: 26px; }
  .brand__type { min-width: 0; }
  .brand__type b { font-size: 19px; white-space: normal; line-height: 0.95; } /* a long name stacks on two lines */
  .mast__actions .btn__meta { display: none; }
  .tabs a { font-size: 14px; gap: 5px; }
  .console { top: 104px; }
  .hero__title { font-size: clamp(40px, 11.5vw, 60px); }
  .hero__ctas .btn { width: 100%; }
  .readout { grid-template-columns: 1fr 1fr; }
  .readout > div:nth-child(2) { border-right: 0; }
  .readout > div:nth-child(-n + 2) { border-bottom: 1px solid var(--hair-2); }
  .pvm { padding: 10px; }
  .pvm__bezel { padding: 8px; }
  .pvm__keys { grid-template-columns: 1fr 1fr; }
  .sec-head__row .btn { width: 100%; }
  .hof__row { grid-template-columns: 40% minmax(0, 1fr); }
  .hof__row .hof__media { min-height: 120px; }
  .hof__row .hof__body { padding: 12px 14px; }
  .hof__row .hof__title { font-size: 15px; }
  .hof__row .hof__links { display: none; }
  .hof__feature .hof__media { min-height: 260px; }
  .grinder__panel, .grinder__deck { padding: 18px; }
  .mood { grid-template-columns: 8px 20px 1fr; gap: 12px; }
  .mood__count { display: none; }
  .trigger { font-size: 19px; height: 60px; }
  .look { grid-template-columns: 1fr 1fr; }
  .look__item { border-bottom: 1px solid var(--hair-2); }
  .look__item:nth-child(3) { border-right: 1px solid var(--hair-2); }
  .look__item:nth-child(2n) { border-right: 0; }
  .look__item:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .look__item:last-child .look__img { aspect-ratio: 16 / 9; }
  .pagehead__lede { font-size: 16px; }
  .kv > div { padding: 12px 12px 14px; }
  .kv dd small { display: block; margin: 6px 0 0; }
  .pagehead__actions .btn { flex: 1 1 100%; }
  .console__tools { grid-template-columns: 1fr 1fr; }
  .field--grow { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--hair); }
  .ctab { height: 46px; padding: 0 14px; }
  .console__tabs { min-height: 47px; }
  .tapes { grid-template-columns: 1fr; }
  .pager { justify-content: center; text-align: center; }
  .pager__keys { justify-content: center; }
  .pk { min-width: 38px; height: 40px; padding: 0 9px; }
  .pk span { display: none; }
  .trow { grid-template-columns: 92px minmax(0, 1fr); }
  .trow__label { padding: 10px; }
  .trow__label b { font-size: 34px; }
  .trow__label small { font-size: 8px; }
  .spread__cols { columns: 1; }
  .socials a { padding: 14px; }
  .connect .meta__tc { display: none; }
  .spec-table > div { grid-template-columns: 1fr; gap: 2px; }
  .file__ctas { grid-template-columns: 1fr; }
  .network { grid-template-columns: 1fr; }
  .node--pm, .node--cc, .node--mm, .node--clips { grid-column: auto; }
  .mc-item { grid-template-columns: 96px 1fr; }
  .mc-item img { width: 96px; }
  .foot__grid { grid-template-columns: 1fr; }
  .signoff__row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .strip__track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   PRIVATE VIDEOS — lock badge on thumbnails + private-link notice modal
   ========================================================================== */
[data-video] { cursor: pointer; }
.tape__title[data-video]:hover, .hof__title[data-video]:hover, .out__title[data-video]:hover { color: var(--red-hi); }
.vlock {
  position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%) scale(0.92); opacity: 0;
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 12px; border-radius: 999px;
  background: rgba(7, 7, 9, 0.82); border: 1px solid var(--hair-3); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font: 700 10.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone);
  transition: opacity 0.2s, transform 0.25s var(--ease); pointer-events: none;
}
.vlock .icon { width: 15px; height: 15px; color: var(--red); }
[data-video]:hover > .vlock, [data-video]:focus-visible > .vlock { opacity: 1; transform: translate(-50%, -50%); }
@media (hover: none) { .vlock { opacity: 1; transform: translate(-50%, -50%) scale(0.85); } }
.inspect__ep[data-video], .mc-item[data-video] { transition: border-color 0.2s, background 0.2s; }
.inspect__ep[data-video]:hover { border-color: var(--red); }
.mc-item[data-video]:hover { background: rgba(255, 255, 255, 0.025); }
.mc-item[data-video]:hover b, .inspect__ep[data-video]:hover b { color: var(--red-hi); }
.deck__window[data-video]:hover { border-color: var(--red); }

body.no-scroll { overflow: hidden; }
.lock { position: fixed; inset: 0; z-index: 1800; display: grid; place-items: center; padding: 20px; }
.lock[hidden] { display: none; }
.lock__backdrop { position: absolute; inset: 0; background: rgba(4, 4, 6, 0.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: lockFade 0.22s both; }
.lock__panel { position: relative; width: min(480px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--ink-1); border: 1px solid var(--hair-2); border-radius: 4px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9); animation: lockRise 0.3s var(--ease) both; }
@keyframes lockFade { from { opacity: 0; } }
@keyframes lockRise { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.lock__close { position: absolute; right: 10px; top: 10px; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(7, 7, 9, 0.7); border: 1px solid var(--hair-2); }
.lock__close .icon { width: 13px; height: 13px; }
.lock__close:hover { background: var(--red); border-color: var(--red); }
.lock__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-bottom: 1px solid var(--hair-2); }
.lock__media img { width: 100%; height: 100%; object-fit: cover; filter: blur(6px) brightness(0.42) saturate(0.7); transform: scale(1.08); }
.lock__badge { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 8px rgba(225, 29, 72, 0.18), 0 14px 34px rgba(0, 0, 0, 0.5); }
.lock__badge .icon { width: 26px; height: 26px; color: var(--bone); }
.lock__body { display: grid; gap: 12px; padding: 22px 24px 24px; text-align: center; justify-items: center; }
.lock__kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 10.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.lock__kicker .live-dot { width: 7px; height: 7px; border-radius: 50%; }
.lock__title { font: 400 clamp(30px, 4vw, 40px)/0.95 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.lock__text { max-width: 34ch; font-size: 16px; line-height: 1.55; color: var(--silver); }
.lock__video { display: grid; gap: 4px; width: 100%; padding: 12px 14px; border: 1px solid var(--hair-2); border-radius: var(--r); background: var(--ink-0); }
.lock__video b { font: 600 15px/1.3 var(--body); color: var(--bone); }
.lock__video small { font: 400 11px/1.3 var(--mono); letter-spacing: 0.04em; color: var(--ash); }
.lock__ok { width: 100%; margin-top: 4px; }
@media (max-width: 640px) {
  .lock { padding: 12px; align-items: end; }
  .lock__body { padding: 20px 18px 22px; }
}

/* ==========================================================================
   IMAGE PIPELINE — zero-CLS 16:9 frames with a studio skeleton shimmer,
   lazy images fade in once decoded (js: initImages)
   ========================================================================== */
.tape__media, .hof__media, .pvm__screen, .episode__stage, .file__photo, .plate__img, .deck__window,
.pvm__key img, .inspect__ep img, .mc-item img, .lock__media {
  background-color: #121217;
  background-image: linear-gradient(100deg, #121217 30%, #1a1a22 50%, #121217 70%);
  background-size: 300% 100%;
  animation: skel 1.4s linear infinite;
}
@keyframes skel { from { background-position: 100% 0; } to { background-position: 0 0; } }
/* stop shimmering once the picture is in */
.tape__media:has(> img.is-loaded), .hof__media:has(> img.is-loaded), .file__photo:has(> img.is-loaded), .plate__img:has(> img.is-loaded) { animation: none; }
img.img-fade { opacity: 0; transform: scale(1.015); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
img.img-fade.is-loaded { opacity: 1; transform: scale(1); }
/* keep each layout's own transforms on top of the fade */
.file--redacted .file__photo img.img-fade.is-loaded { transform: none; }

/* links that wrap video titles */
.tape__title a, .hof__title a, .out__title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.tape__title a:hover, .hof__title a:hover, .out__title a:hover { color: var(--red-hi); }
a.tape__media, a.hof__media, a.pvm__screen, a.inspect__ep { color: inherit; text-decoration: none; }
a.tape__media:hover > .vlock, a.hof__media:hover > .vlock, a.pvm__screen:hover > .vlock,
a.tape__media:focus-visible > .vlock, a.hof__media:focus-visible > .vlock, a.pvm__screen:focus-visible > .vlock { opacity: 1; transform: translate(-50%, -50%); }
.vlock .icon { color: var(--red); }
.inspect__ep:hover { border-color: var(--red); }
.inspect__ep:hover b { color: var(--red-hi); }
[data-watch] { cursor: pointer; }
.deck__window[data-watch]:hover { border-color: var(--red); }

/* ==========================================================================
   EPISODE PAGE — /watch/<n>
   Header + 16:9 stage + title/duration/date fit one screen at 1366×768:
   the stage width is capped by the viewport height (16:9 of 100svh − 260px).
   ========================================================================== */
.episode { padding: 20px 0 32px; }
.episode__inner { width: min(100%, 1040px, max(520px, calc((100svh - 260px) * 16 / 9))); margin: 0 auto; }
.episode__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background-color: #0e0e12; border: 1px solid var(--hair-2); border-radius: 4px; }
.episode__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body:not(.fx-off) .episode__stage::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0 1px, transparent 1px 3px); }
.episode__play { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 14px; background: linear-gradient(to top, rgba(7, 7, 9, 0.55), rgba(7, 7, 9, 0.1) 45%, rgba(7, 7, 9, 0.25)); transition: background 0.25s; }
.episode__play-btn { display: grid; place-items: center; width: clamp(64px, 7vw, 84px); aspect-ratio: 1; border-radius: 50%; background: var(--red); color: var(--bone); box-shadow: 0 0 0 10px rgba(225, 29, 72, 0.18), 0 18px 40px rgba(0, 0, 0, 0.5); transition: transform 0.25s var(--ease), background 0.2s; }
.episode__play-btn .icon { width: 40%; height: 40%; margin-left: 6%; }
.episode__play-label { padding: 6px 12px; border-radius: 999px; background: rgba(7, 7, 9, 0.72); font: 700 10.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone); }
.episode__play:hover .episode__play-btn, .episode__play:focus-visible .episode__play-btn { transform: scale(1.07); background: var(--red-hi); }
.episode__play:active .episode__play-btn { transform: scale(0.96); }
.episode__play:hover { background: linear-gradient(to top, rgba(7, 7, 9, 0.45), transparent 45%, rgba(7, 7, 9, 0.15)); }
.episode__play:focus-visible { outline: 2px solid var(--bone); outline-offset: -4px; }
.episode__meta { display: grid; gap: 12px; padding: 16px 2px 0; }
.episode__title { font: 400 clamp(26px, 2.5vw, 38px)/1.02 var(--display); text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; }
.episode__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.episode__facts > div { display: inline-flex; align-items: center; gap: 8px; }
.episode__facts > div + div { padding-left: 22px; border-left: 1px solid var(--hair-2); }
.episode__facts dt { display: inline-flex; align-items: center; gap: 7px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); }
.episode__facts dt .icon { width: 15px; height: 15px; color: var(--amber); }
.episode__facts dd { font: 600 15px/1 var(--body); color: var(--bone); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .episode { padding: 14px 0 24px; }
  .episode__inner { width: 100%; }
  .episode__facts > div + div { padding-left: 0; border-left: 0; }
  .episode__facts { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  img.img-fade { opacity: 1; transform: none; transition: none; }
  .tape__media, .hof__media, .pvm__screen, .episode__stage, .file__photo, .plate__img, .deck__window, .pvm__key img, .inspect__ep img, .mc-item img, .lock__media { animation: none; }
}

/* ==========================================================================
   PRIVATE SCREENING — /watch#k=… · /watch?r=… (js/watch.js)
   The episode frame again: 16:9 stage, title, facts. What plays is decided
   by the share-link API only. A single video keeps the centred episode
   layout; a bundle adds the "In This Link" list (beside the stage ≥1181px).
   ========================================================================== */
/* a private document never shows the public pages, not even for a frame */
html[data-watch-mode='private'] .page:not([data-page='private']) { display: none !important; }
html[data-watch-mode='private'] .page[data-page='private'][hidden] { display: block !important; }
.pw [hidden] { display: none !important; }
/* A bigger stage than an episode page, a little further from the header, and
   the section fills the first screen so the footer starts below the fold.
   --pw-head is the header height (strip + mast) the section sits under.
   The stage height is 100svh minus a 374px reserve: header, top padding, the
   player bar (status · Jump), a title of up to three lines and the facts row,
   so Duration · Published · Views stay in the first screen. */
.pw { --pw-head: calc(var(--strip-h) + var(--mast-h) + 1px); --pw-stage: min(1600px, max(480px, calc((100svh - 374px) * 16 / 9))); }
.pw .episode { min-height: calc(100svh - var(--pw-head)); padding-top: 36px; }
.pw .pw__main { width: min(100%, var(--pw-stage)); }
.pw .episode__meta { padding-top: 14px; }
.pw .btn--sm { height: 44px; }
@media (max-height: 720px) and (min-width: 641px) { .pw { --pw-stage: min(1600px, max(480px, calc((100svh - 390px) * 16 / 9))); } .pw .episode { padding-top: 20px; } .pw__bar { margin-top: 8px; } } /* short laptop screens keep the facts in view */ /* touch targets in the viewer are at least 44px */
.pw .episode__title:focus { outline: none; } /* focused by script only, after the control that had focus went away */
.pw .episode__title:focus-visible { outline: 1px solid var(--bone); outline-offset: 4px; }
.pw__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.pw .episode__title { overflow-wrap: anywhere; }

.pw__stage.has-poster, .pw__stage.is-live, .pw__stage.is-still { animation: none; }
.pw__stage.is-live { background: #000; }
body:not(.fx-off) .pw__stage.is-live::after { content: none; } /* no scanlines over a playing video */
.pw__blank { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(ellipse at center, var(--ink-2), var(--ink-1) 70%); }
.pw__blank .icon { width: clamp(44px, 6vw, 72px); height: auto; aspect-ratio: 1; color: var(--ash); opacity: 0.55; }
.pw__player { position: absolute; inset: 0; z-index: 3; background: #000; }
.pw__player video, .pw__player iframe { display: block; width: 100%; height: 100%; border: 0; background: #000; }
.pw__player video { object-fit: contain; }
.pw__overlay { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 16px; text-align: center; background: rgba(7, 7, 9, 0.72); }
.pw__stage.has-poster .pw__overlay { background: rgba(7, 7, 9, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pw__overlay-label { max-width: 36ch; font: 700 10.5px/1.5 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone); }
.pw__overlay-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pw__overlay-actions:empty { display: none; }
.pw__badge { display: grid; place-items: center; width: clamp(48px, 5vw, 64px); aspect-ratio: 1; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 8px rgba(225, 29, 72, 0.18), 0 14px 34px rgba(0, 0, 0, 0.5); }
.pw__badge .icon { width: 42%; height: 42%; color: var(--bone); }
.pw__badge.is-muted { background: var(--ink-3); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.05); }
.pw__spin { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--hair-2); border-top-color: var(--red); animation: pwSpin 0.9s linear infinite; }
@keyframes pwSpin { to { transform: rotate(360deg); } }

.pw__kicker { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; font: 700 10.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.pw__kicker .icon { width: 14px; height: 14px; }
.pw__position { color: var(--ash); }
.pw__skel { display: block; width: min(70%, 520px); height: 0.9em; border-radius: var(--r); background: linear-gradient(100deg, #121217 30%, #1a1a22 50%, #121217 70%); background-size: 300% 100%; animation: skel 1.4s linear infinite; }
.pw__message { display: grid; gap: 14px; justify-items: start; }
.pw__text { max-width: 62ch; font-size: 16px; line-height: 1.55; color: var(--silver); }
.pw__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pw__actions:empty { display: none; }
.pw__note { font: 500 11px/1.5 var(--mono); letter-spacing: 0.04em; color: var(--ash); }

/* player bar under the stage: what the player is doing, Jump, Reload Player */
.pw[data-state='loading'] .pw__bar[hidden] { display: flex !important; visibility: hidden; } /* keep its room while checking: no shift when it appears */
.pw__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 44px; margin-top: 12px; }
.pw__status { flex: 1 1 14rem; min-width: 0; display: inline-flex; align-items: center; gap: 9px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--silver); }
.pw__status::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ash); }
.pw__status[data-tone='live'] { color: var(--bone); }
.pw__status[data-tone='live']::before { background: var(--red-hi); box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.2); }
.pw__status[data-tone='warn'] { color: var(--bone); }
.pw__status[data-tone='warn']::before { background: var(--amber); }
.pw__bar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pw__jump-at { font-variant-numeric: tabular-nums; color: var(--amber); }
.pw__bar-note { flex-basis: 100%; font: 500 11px/1.5 var(--mono); letter-spacing: 0.04em; color: var(--silver); }
.pw__stage { scroll-margin-top: 12px; }
/* copyright inquiries contact under the facts (a contact, not a statement of ownership) */
.pw__info { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid var(--hair); }
.pw__inquiries { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 14px; line-height: 1.5; color: var(--silver); }
.pw__inquiries .link { font-weight: 600; overflow-wrap: anywhere; }
.pw__sep { color: var(--ash); }

/* bundle list */
.pw__list { margin-top: 28px; }
.pw__list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--hair-2); font: 700 10.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.pw__list-n { color: var(--ash); }
.pw__items { display: grid; gap: 2px; margin-top: 10px; }
.pw__item { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; padding: 8px; text-align: left; border: 1px solid transparent; border-radius: var(--r); transition: background 0.2s, border-color 0.2s; }
.pw__item:hover { background: rgba(255, 255, 255, 0.04); }
.pw__item[aria-current='true'] { border-color: var(--red); background: var(--red-lo); }
.pw__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--ink-2); }
.pw__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pw__thumb .icon { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; color: var(--ash); opacity: 0.6; }
.pw__dur { position: absolute; right: 4px; bottom: 4px; padding: 3px 5px; background: rgba(7, 7, 9, 0.85); font: 600 10px/1 var(--mono); color: var(--bone); font-variant-numeric: tabular-nums; }
.pw__item-txt { display: grid; gap: 4px; min-width: 0; }
.pw__item-txt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font: 600 14px/1.3 var(--body); color: var(--bone); }
.pw__item-txt small { font: 500 10.5px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ash); }
.pw__item[aria-current='true'] small { color: var(--red-hi); }

@media (min-width: 1181px) {
  .pw__layout.is-bundle { display: grid; grid-template-columns: minmax(0, var(--pw-stage)) 320px; justify-content: center; align-items: start; gap: 28px; }
  .pw__layout.is-bundle .pw__main { width: 100%; }
  .pw__layout.is-bundle .pw__list { margin-top: 0; max-height: calc(100svh - var(--mast-h) - var(--strip-h) - 52px); overflow-y: auto; }
}
@media (max-width: 960px) {
  .pw { --pw-head: calc(var(--strip-h) + 103px); } /* brand row + tabs row */
}
@media (max-width: 640px) {
  .pw .episode { padding-top: 22px; }
  .pw .pw__main { width: 100%; }
  .pw .episode__meta { padding-top: 12px; }
  .pw__bar-actions, .pw__bar-actions .btn { width: 100%; }
  .pw__item { grid-template-columns: 112px minmax(0, 1fr); }
  .pw__overlay { gap: 8px; padding: 10px; }
  .pw__spin { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .pw__skel { animation: none; }
  .pw__spin { animation-duration: 2.4s; }
}
