/* Reelhouse: the only stylesheet of the theme. Tokens first; contrast checked with qa/contrast.py --css. */

:root {
  --paper: #f7f6fb;
  --card: #ffffff;
  --wash: #f0ecfd;
  --rule: #e5e1ef;
  --rule-2: #cfc8e0;
  --text: #16131f;
  --text-2: #463f57;
  --dim: #625b72;
  --anchor: #5b21d6;
  --anchor-hover: #4312a8;
  --glow: #7c3aed;
  --glow-hover: #6d28d9;
  --glow-text: #6d28d9;
  --on-glow: #ffffff;
  --glow-soft: #c4b5fd;
  --glow-rgb: 124, 58, 237;
  --night: #120f19;
  --night-rgb: 18, 15, 25;
  --lift: 0 1px 2px rgba(22, 19, 31, .05), 0 12px 32px rgba(22, 19, 31, .08);
  --r: 16px;
  --r-sm: 12px;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--sans);
  --nav-w: 256px;
  --bar-h: 64px;
  --dock-h: 64px;
  --read: 740px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #13111a; --card: #1b1824; --wash: #251d38; --rule: #2b2738; --rule-2: #3d3750;
  --text: #f2f0f7; --text-2: #bdb7cc; --dim: #9a93ab; --anchor: #b9a6ff; --anchor-hover: #d6caff;
  --glow-text: #c4b5fd; --lift: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .36);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #13111a; --card: #1b1824; --wash: #251d38; --rule: #2b2738; --rule-2: #3d3750;
    --text: #f2f0f7; --text-2: #bdb7cc; --dim: #9a93ab; --anchor: #b9a6ff; --anchor-hover: #d6caff;
    --glow-text: #c4b5fd; --lift: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .36);
    color-scheme: dark;
  }
}

@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/space-grotesk-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--anchor); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--anchor-hover); }
:focus-visible { outline: 3px solid var(--anchor); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1.2; letter-spacing: -.018em; color: var(--text); }
h1 { font-size: clamp(1.9rem, 1.35rem + 2.1vw, 2.65rem); font-weight: 800; }
p, ul, ol, dl, table, figure { margin: 0 0 1.1em; }
button { font: inherit; color: inherit; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skiplink { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--card); color: var(--text); box-shadow: var(--lift); font-weight: 700; }
.skiplink:focus { top: 12px; }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 40; height: var(--bar-h); display: flex; align-items: center; gap: 10px; padding: 0 16px; background: var(--card); border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-mark { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--glow); color: var(--on-glow); }
.brand-mark svg { width: 17px; height: 17px; }
.brand-words { display: grid; gap: 2px; min-width: 0; }
.brand-name { font-family: var(--display); font-size: 1.08rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.brand-name b { color: var(--glow-text); font-weight: 800; }
.brand-tag { font-size: .62rem; font-weight: 700; line-height: 1.1; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.masthead-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.round-btn { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rule); background: var(--card); color: var(--text-2); cursor: pointer; transition: border-color .15s, color .15s; }
.round-btn:hover { border-color: var(--rule-2); color: var(--text); }
.round-btn svg { width: 20px; height: 20px; }
.nav-toggle { margin-right: 2px; }
.label-brief { display: none; }
/* Narrow phones: the visit button stays, with a short label; the mark goes, the name scales with the screen. */
@media (max-width: 519px) {
  .masthead { gap: 8px; padding: 0 12px; }
  .brand-mark { display: none; }
  .brand-name { font-size: clamp(.8rem, 4vw, 1.08rem); }
  .brand-tag { font-size: clamp(.52rem, 2.3vw, .62rem); letter-spacing: .1em; }
  .masthead .btn { padding: 0 14px; }
  .masthead .label-full { display: none; }
  .masthead .label-brief { display: inline; }
}
@media (max-width: 359px) { .masthead .btn svg { display: none; } }

/* Layout: side navigation + canvas */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); min-height: calc(100vh - var(--bar-h)); }
.sidenav { position: fixed; z-index: 50; top: var(--bar-h); bottom: 0; left: 0; width: min(86vw, 320px); overflow-y: auto; padding: 8px 12px 28px; background: var(--card); border-right: 1px solid var(--rule); transform: translateX(-102%); transition: transform .22s ease; }
.nav-open .sidenav { transform: none; }
.veil { position: fixed; inset: var(--bar-h) 0 0 0; z-index: 45; background: rgba(var(--night-rgb), .5); opacity: 0; pointer-events: none; transition: opacity .2s; }
.nav-open .veil { opacity: 1; pointer-events: auto; }
@media (min-width: 1024px) {
  .layout { grid-template-columns: var(--nav-w) minmax(0, 1fr); }
  .sidenav { position: sticky; top: var(--bar-h); height: calc(100vh - var(--bar-h)); width: auto; transform: none; transition: none; z-index: 1; }
  .veil, .nav-toggle { display: none; }
}
.sidenav-head { margin: 22px 12px 8px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.sidenav ul { list-style: none; margin: 0; padding: 0; }
.sidenav li > a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: var(--r-sm); color: var(--text-2); text-decoration: none; font-size: .92rem; font-weight: 600; line-height: 1.35; }
.sidenav li > a:hover { background: var(--wash); color: var(--text); }
.sidenav li > a[aria-current="page"] { background: var(--wash); color: var(--text); font-weight: 800; }
.sidenav li > a[aria-current="page"]::after { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--glow); }
.sidenav li > .to-all { color: var(--anchor); font-weight: 800; }
.tally { flex: none; min-width: 26px; padding: 1px 8px; border-radius: 999px; background: var(--glow); color: var(--on-glow); font-size: .72rem; font-weight: 800; text-align: center; }
.sidenav-foot { margin: 26px 4px 0; padding: 16px; border-radius: var(--r); background: var(--wash); color: var(--text-2); font-size: .85rem; line-height: 1.5; }
.sidenav-foot .btn { width: 100%; margin-top: 12px; }
.mode-row { display: flex; align-items: center; gap: 10px; width: 100%; margin: 18px 0 0; padding: 9px 12px; border: 0; border-radius: var(--r-sm); background: none; color: var(--text-2); font-size: .92rem; font-weight: 600; line-height: 1.35; text-align: left; cursor: pointer; }
.mode-row:hover { background: var(--wash); color: var(--text); }
.mode-row svg { width: 18px; height: 18px; flex: none; }
.mode-row .toggle { position: relative; flex: none; width: 36px; height: 20px; margin-left: auto; border-radius: 999px; background: var(--rule-2); transition: background .15s; }
.mode-row .toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.mode-row[aria-pressed="true"] .toggle { background: var(--glow); }
.mode-row[aria-pressed="true"] .toggle::after { transform: translateX(16px); }
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-moon { display: block; }
}

.canvas { min-width: 0; padding: 24px 16px 72px; }
@media (min-width: 768px) { .canvas { padding: 36px 40px 88px; } }
.column { max-width: var(--read); margin: 0 auto; }
.column-wide { max-width: 1120px; margin: 0 auto; }

/* Page head */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .95rem; font-variant-caps: all-small-caps; letter-spacing: .06em; color: var(--dim); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--anchor); }
.crumbs li + li::before { content: "\203A"; margin-right: 8px; color: var(--rule-2); font-variant-caps: normal; }
.overline { display: block; margin: 0 0 10px; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--glow-text); }
.standfirst { max-width: 62ch; margin: 14px 0 16px; font-size: 1.17rem; line-height: 1.6; color: var(--text-2); }
.dateline { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 26px; font-size: .86rem; color: var(--dim); }
.dateline span { white-space: nowrap; }
.dateline span:not(:last-child)::after { content: "\00B7"; margin-left: 10px; }
.dateline-first { margin: 12px 0 0; }
/* The separator closes the item before it, so a wrapped line can end with a dot but never start with one.
   Phones: the date takes the first line on its own, without the dot. */
@media (max-width: 519px) {
  .dateline span:first-child { flex-basis: 100%; }
  .dateline span:first-child::after { content: none; }
}

/* Quick answer and the button under the head */
.tldr { margin: 0 0 34px; padding: 18px 20px; background: var(--wash); border: 1.5px solid var(--glow); border-radius: var(--r); }
.tldr-label { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--glow-text); }
.tldr-label svg { width: 16px; height: 16px; }
.tldr p:not(.tldr-label) { margin: 0; font-size: 1.03rem; line-height: 1.68; color: var(--text); }
.lead-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 4px 0 30px; }
.lead-cta p { margin: 0; max-width: 42ch; font-size: .84rem; line-height: 1.45; color: var(--dim); }

/* Body copy */
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.38rem, 1.18rem + .8vw, 1.72rem); font-weight: 800; margin: 2.3em 0 .65em; }
.prose h3 { font-size: 1.14rem; font-weight: 800; margin: 1.8em 0 .45em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin: 0 0 .45em; }
.prose li::marker { color: var(--glow-text); }
.prose strong { font-weight: 700; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--glow); color: var(--text-2); }
.prose figure { margin: 30px 0; }
.prose figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); background: var(--rule); }
.prose figcaption { margin-top: 8px; font-size: .85rem; color: var(--dim); }
.table-wrap { overflow-x: auto; margin: 0 0 1.3em; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--card); }
.table-wrap table { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.5; }
.prose th { text-align: left; font-weight: 800; background: var(--wash); white-space: nowrap; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 999px; font-weight: 800; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-solid { background: var(--glow); color: var(--on-glow); }
.btn-solid:hover { background: var(--glow-hover); color: var(--on-glow); }
.btn-ghost { background: transparent; border-color: var(--rule-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-2); color: var(--text); }
.btn-bright { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-bright:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-compact { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.closer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin: 38px 0; padding: 20px 22px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--lift); }
.closer p { margin: 0; max-width: 46ch; font-weight: 700; line-height: 1.5; }
.closer small { display: block; margin-top: 2px; font-size: .84rem; font-weight: 500; color: var(--dim); }

/* Questions and answers */
.faqs { margin: 44px 0 0; }
.faqs h2, .strip h2, .lineup h2 { font-size: clamp(1.38rem, 1.18rem + .8vw, 1.72rem); font-weight: 800; margin: 0 0 16px; }
.faq { margin: 0 0 10px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 700; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--glow-text); border-bottom: 2px solid var(--glow-text); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover { color: var(--glow-text); }
.faq-answer { padding: 0 20px 18px; color: var(--text-2); }
.faq-answer p:last-child { margin: 0; }

/* Sections with a head, related cards */
.strip { margin: 48px 0 0; }
.strip-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 0 0 16px; }
.strip-head h2 { margin: 0; }
.strip-head a { font-weight: 800; font-size: .93rem; text-decoration: none; }
.strip-head a:hover { text-decoration: underline; }
.strip-head a svg { display: inline; width: 15px; height: 15px; vertical-align: -2px; }
.onward { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.onward-card { display: block; height: 100%; padding: 16px 18px 18px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.onward-card:hover { border-color: var(--glow); color: var(--text); transform: translateY(-2px); }
.onward-card strong { display: block; margin: 0 0 4px; font-size: 1rem; line-height: 1.35; }
.onward-card span { display: block; font-size: .88rem; line-height: 1.5; color: var(--dim); }

/* Poster grid */
.reel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .reel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; } }
@media (min-width: 1180px) { .reel-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.column .reel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .column .reel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.reel { display: block; color: var(--text); text-decoration: none; }
.reel:hover { color: var(--text); }
.reel-art { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--r); background: var(--rule); }
.reel-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.reel:hover .reel-art img { transform: scale(1.04); }
.reel-title { margin: 10px 0 2px; font-size: .98rem; font-weight: 800; line-height: 1.3; }
.reel-meta { font-size: .84rem; line-height: 1.4; color: var(--dim); }
.ribbon { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; background: var(--glow); color: var(--on-glow); font-size: .72rem; font-weight: 800; }
.ribbon-spicy { left: auto; right: 10px; background: var(--night); color: #fff; }
.level { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 800; line-height: 1; }
.reel-art .level { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px 6px 8px; border-radius: 999px; background: rgba(var(--night-rgb), .8); color: #fff; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--rule-2); }
.reel-art .dots i { background: rgba(255, 255, 255, .32); }
.dots i.on, .reel-art .dots i.on { background: var(--glow); }
.reel[hidden], .reel-grid li[hidden] { display: none; }

/* Filters on the series catalog */
.filterbar { display: grid; gap: 10px; margin: 0 0 22px; }
.filter-group { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.filter-group::-webkit-scrollbar { display: none; }
.filter-label { flex: none; min-width: 64px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--card); color: var(--text-2); font-size: .86rem; font-weight: 700; line-height: 1; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--text-2); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--glow); border-color: var(--glow); color: var(--on-glow); }
.filter-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .86rem; color: var(--dim); }
.filter-reset { padding: 0; border: 0; background: none; color: var(--anchor); font-weight: 800; cursor: pointer; }
.filter-empty { padding: 28px 20px; border: 1px dashed var(--rule-2); border-radius: var(--r); color: var(--text-2); text-align: center; }

/* Hero with a poster: the home and the guides.
   Phones: the poster fills a 4:5 frame at the top (--aim moves it to keep the face in view) and the text starts
   on its lower part, where the gradient reaches the hero color. --rise sits as high as the first screen needs
   to show the first button (--need: masthead, dock and text block down to that button; the admin bar counts),
   down to --floor, even if the text then covers most of the poster.
   From 768px: text on the left, the poster upright on the right. The hero colors do not follow the theme. */
.splash { --shot: min(125vw, 76vh); --rise: calc(var(--shot) * .56); --need: 600px; --floor: 40px; position: relative; isolation: isolate; margin: -24px -16px 40px; overflow: hidden; background: var(--night); color: #fff; }
@supports (height: 100svh) {
  .splash { --rise: clamp(var(--floor), calc(100svh - var(--need) - var(--wpbar, 0px)), calc(var(--shot) * .56)); }
}
.admin-bar .splash { --wpbar: 46px; }
.splash-art { position: absolute; top: 0; left: 0; z-index: -2; display: block; width: 100%; height: var(--shot); background: var(--night); }
.splash-art img { width: 100%; height: 100%; object-fit: cover; object-position: var(--aim, 50%) 22%; }
.splash::before { content: ""; position: absolute; top: 0; left: 0; right: 0; z-index: -1; height: var(--shot); pointer-events: none; background: linear-gradient(180deg, rgba(var(--night-rgb), 0) 0, rgba(var(--night-rgb), .04) calc(var(--rise) - 56px), rgba(var(--night-rgb), .32) var(--rise), rgba(var(--night-rgb), .56) calc(var(--rise) + 48px), rgba(var(--night-rgb), .72) calc(var(--rise) + 116px), var(--night) var(--shot)); }
.splash-body { position: relative; max-width: 640px; padding: var(--rise) 22px 34px; }
.splash-guide { --need: 570px; --floor: 52px; margin-bottom: 34px; }
.splash-guide .splash-body { padding-bottom: 26px; }
/* Phones: the breadcrumb rides on the top of the poster, so the text block below stays short enough. */
.splash-guide::after { content: ""; position: absolute; top: 0; left: 0; right: 0; z-index: -1; height: 96px; background: linear-gradient(180deg, rgba(var(--night-rgb), .5), rgba(var(--night-rgb), 0)); pointer-events: none; }
.splash-guide .crumbs { position: absolute; top: 14px; left: 22px; right: 22px; margin: 0; color: #fff; }
.splash-guide .dateline-first { margin-top: 10px; }
.splash-guide .standfirst { margin: 12px 0 14px; }
.splash-caption { display: none; }
@media (min-width: 768px) {
  .splash { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; min-height: clamp(460px, 60vh, 600px); margin: -36px -40px 48px; padding: 48px 52px; background: radial-gradient(120% 90% at 100% 0, rgba(var(--glow-rgb, 124, 58, 237), .28), rgba(var(--night-rgb), 0) 60%), var(--night); }
  .splash::before { content: none; }
  .splash-art { position: relative; z-index: auto; grid-column: 2; grid-row: 1; width: clamp(240px, 24vw, 330px); height: auto; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--r); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
  .splash-art img { object-position: 50% 50%; transition: transform .35s ease; }
  a.splash-art:hover img { transform: scale(1.03); }
  .splash-caption { display: block; grid-column: 2; margin: -28px 0 0; font-size: .8rem; color: #d9d4e4; text-align: center; }
  .splash-body { grid-column: 1; grid-row: 1; }
  .splash-body { max-width: 640px; padding: 0; }
  .splash-guide { min-height: clamp(400px, 52vh, 520px); }
  .splash-guide::after { content: none; }
  .splash-guide .crumbs { position: static; margin: 0 0 18px; color: #d9d4e4; }
}
.splash h1, .splash-tagline, .splash-intro, .splash-note, .splash .standfirst, .splash .dateline, .splash .overline, .splash .lead-cta p { text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.splash h1 { color: #fff; font-size: clamp(2.2rem, 1.45rem + 3vw, 3.4rem); letter-spacing: -.025em; }
.splash h1 em { font-style: normal; color: var(--glow-soft); }
.splash-guide h1 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.65rem); }
.splash .overline { color: var(--glow-soft); }
.splash .crumbs { color: #d9d4e4; }
.splash .crumbs li + li::before { color: rgba(255, 255, 255, .45); }
.splash .dateline { color: #d9d4e4; margin-bottom: 0; }
.splash .standfirst { color: #ece9f2; }
.splash .lead-cta { margin-bottom: 0; }
.splash .lead-cta p { color: #d9d4e4; }
.splash-tagline { margin: 14px 0 6px; font-size: 1.1rem; font-weight: 800; line-height: 1.5; }
.splash-intro { max-width: 46ch; margin: 0 0 20px; color: #ece9f2; font-size: 1.06rem; line-height: 1.6; }
.splash-note { margin: 22px 0 0; font-size: .8rem; color: #d9d4e4; }
/* Phones: a tighter guide hero, so the button reaches the first screen */
@media (max-width: 767px) {
  .splash-guide .overline { margin-bottom: 8px; }
  .splash-guide .dateline-first { margin-top: 8px; font-size: .8rem; }
  .splash-guide .standfirst { margin: 10px 0 12px; font-size: 1.02rem; line-height: 1.55; }
}
@media (max-width: 359px) { .splash .btn { padding: 0 16px; } }

/* Question box on the home */
.asks { margin: 0 0 36px; padding: 20px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); }
.asks h2 { margin: 0 0 14px; font-size: 1.25rem; font-weight: 800; }
.asks ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .asks ul { grid-template-columns: 1fr 1fr; } }
.asks a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--paper); color: var(--text); text-decoration: none; font-weight: 700; line-height: 1.35; }
.asks a:hover { background: var(--wash); color: var(--text); }
.asks a::before { content: "?"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--glow); color: var(--on-glow); font-size: .85rem; font-weight: 800; }

/* Series and creator head */
/* Phones: a small poster next to the title, so the buttons reach the first screen. From 760px: poster column. */
.dossier { display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); grid-template-areas: "art head" "info info"; gap: 16px 16px; align-items: end; margin: 0 0 30px; }
.dossier-art { grid-area: art; }
.dossier-head { grid-area: head; min-width: 0; }
.dossier-head h1 { font-size: clamp(1.45rem, 1.05rem + 2vw, 2.65rem); }
.dossier-info { grid-area: info; min-width: 0; }
@media (min-width: 760px) {
  .dossier { grid-template-columns: 250px minmax(0, 1fr); grid-template-areas: "art head" "art info"; grid-template-rows: auto 1fr; gap: 0 34px; align-items: start; }
  .dossier-head h1 { font-size: clamp(1.9rem, 1.35rem + 2.1vw, 2.65rem); }
}
.dossier-art { position: relative; width: 100%; max-width: 250px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--r); background: var(--rule); box-shadow: var(--lift); }
.dossier-art img { width: 100%; height: 100%; object-fit: cover; }
.dossier .standfirst { margin-top: 4px; }
@media (min-width: 760px) { .dossier .standfirst { margin-top: 12px; } }
.dossier-info .dateline { margin-bottom: 16px; }
.dossier-info .btn-row { margin-bottom: 18px; }
.specs { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 9px 20px; margin: 4px 0 22px; padding: 16px 18px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); font-size: .94rem; }
.specs dt { color: var(--dim); font-weight: 600; }
.specs dd { margin: 0; font-weight: 700; }
.specs a { font-weight: 800; }
/* Narrow phones: a capped label column, so values do not wrap word by word. */
@media (max-width: 419px) { .specs { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 8px 12px; padding: 14px 14px; font-size: .9rem; } }

/* Episode strip on series pages. Locked episodes never show an image. */
.lineup { margin: 0 0 36px; }
.lineup-date { margin: -8px 0 14px; font-size: .86rem; color: var(--dim); }
.lineup-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(118px, 34vw, 150px); gap: 12px; margin: 0 -16px; padding: 2px 16px 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; }
@media (min-width: 768px) { .lineup-row { margin: 0; padding: 2px 0 12px; scroll-padding: 0; } }
.ep { scroll-snap-align: start; }
.ep a { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--r-sm); background: var(--night); border: 1px solid var(--rule); color: #fff; text-decoration: none; }
.ep img { width: 100%; height: 100%; object-fit: cover; }
.ep a::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, rgba(var(--night-rgb), 0), rgba(var(--night-rgb), .85)); }
.ep-no { position: absolute; left: 12px; bottom: 40px; z-index: 1; font-family: var(--display); font-size: 1.05rem; font-weight: 800; }
.ep-tag { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 800; }
.ep.is-free .ep-tag { background: var(--glow); color: var(--on-glow); }
.ep.is-locked a { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 10px, rgba(255, 255, 255, 0) 10px 20px), var(--night); border-style: dashed; border-color: var(--rule-2); }
.ep.is-locked .ep-tag { background: rgba(255, 255, 255, .14); color: #fff; }
.ep-lock { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); transform: translate(-50%, -80%); }
.ep-lock svg { width: 20px; height: 20px; }
.lineup-sum { margin: 4px 0 0; font-size: .98rem; line-height: 1.6; color: var(--text-2); }

/* Dock: the bottom bar on phones and tablets */
.dock { display: none; }
@media (max-width: 1023px) {
  body { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; height: calc(var(--dock-h) + env(safe-area-inset-bottom)); padding: 6px 6px env(safe-area-inset-bottom); background: color-mix(in srgb, var(--card) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--rule); }
  .dock-item { display: grid; justify-items: center; gap: 3px; min-width: 0; padding: 6px 2px; border: 0; border-radius: var(--r-sm); background: none; color: var(--dim); font-size: .66rem; font-weight: 700; line-height: 1.1; text-decoration: none; cursor: pointer; }
  .dock-item svg { width: 22px; height: 22px; }
  .dock-item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dock-item:hover, .dock-item[aria-current="page"] { color: var(--text); }
  .dock-item[aria-current="page"] svg { color: var(--glow-text); }
  .dock-watch { display: grid; justify-items: center; gap: 3px; color: var(--text); font-size: .66rem; font-weight: 800; line-height: 1.1; text-decoration: none; }
  .dock-watch-disc { width: 50px; height: 50px; display: grid; place-items: center; margin-top: -22px; border-radius: 50%; background: var(--glow); color: var(--on-glow); box-shadow: 0 6px 18px rgba(var(--night-rgb), .35), 0 0 0 4px var(--card); }
  .dock-watch-disc svg { width: 22px; height: 22px; }
  .dock-watch:hover { color: var(--text); }
  .optin { bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + 12px); }
}

/* Footer */
.colophon { border-top: 1px solid var(--rule); background: var(--card); padding: 30px 16px 34px; font-size: .88rem; color: var(--dim); }
@media (min-width: 1024px) { .colophon { padding-left: calc(var(--nav-w) + 40px); padding-right: 40px; } }
.colophon-in { max-width: 1120px; display: grid; gap: 14px; }
.colophon nav ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.colophon nav a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.colophon nav a:hover { color: var(--anchor); }
.colophon p { margin: 0; max-width: 88ch; line-height: 1.6; }

/* Age check and analytics consent: at the end of the DOM, opened by ui.js */
.agecheck { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 16px; background: rgba(var(--night-rgb), .76); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.agecheck.is-open { display: grid; }
.agecheck-box { width: 100%; max-width: 440px; padding: 28px 26px 24px; background: var(--card); color: var(--text); border-radius: 22px; box-shadow: var(--lift); }
.agecheck-title { margin: 0 0 10px; font-family: var(--display); font-size: 1.4rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.agecheck-box p { color: var(--text-2); font-size: .95rem; line-height: 1.6; }
.agecheck-box .btn-row { margin-top: 18px; }
.optin { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; max-width: 560px; margin: 0 auto; padding: 16px 18px; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--lift); }
.optin.is-open { display: block; }
.optin p { margin: 0 0 12px; font-size: .9rem; line-height: 1.55; color: var(--text-2); }

/* Template helpers */
.notfound { padding: 40px 0; }
.front-strip { margin-top: 0; }
.front-prose { margin-top: 48px; }
.hub-prose { margin-top: 44px; }
.creator-reels { margin: 0 0 40px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Logged-in view: the masthead and the side navigation sit under the WordPress admin bar,
   which stays fixed on phones too so the drawer lines up with the masthead */
@media (max-width: 600px) {
  .admin-bar #wpadminbar { position: fixed; }
}
@media (max-width: 782px) {
  .admin-bar .masthead { top: 46px; }
  .admin-bar .sidenav, .admin-bar .veil { top: calc(var(--bar-h) + 46px); }
}
@media (min-width: 783px) {
  .admin-bar .masthead { top: 32px; }
  .admin-bar .sidenav, .admin-bar .veil { top: calc(var(--bar-h) + 32px); }
}
@media (min-width: 1024px) {
  .admin-bar .sidenav { height: calc(100vh - var(--bar-h) - 32px); }
}
