/* Ghost Dimension — "the séance", refined.
   Near-black with a violet cast, aged gold (editable), Cinzel for titles and labels, Spectral for reading.
   One signature shape (the arch), drifting mist, everything else quiet and precise. */
:root {
  --bg: #0c0b0d; --bg2: #121014; --bg3: #18151b; --card: #151318;
  --line: rgba(201,165,90,.2); --line2: rgba(201,165,90,.42);
  --text: #ede6d6; --bright: #f6f0e3; --muted: #a89f8e; --soft: #cfc6b4;
  --gold: #c9a55a; --live: #e0483e;
  --title: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --body: 'Spectral', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.68 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: color-mix(in srgb, var(--gold) 45%, transparent); color: var(--bright); }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--title); font-weight: 500; color: var(--bright); line-height: 1.1; letter-spacing: .01em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(800px, 100% - 2 * var(--gutter)); }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: var(--soft); max-width: 50ch; font-weight: 300; }
.kicker { font: 600 .74rem/1.5 var(--title); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 12px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-sm { padding-block: 10px clamp(48px, 7vw, 84px); }
.empty { color: var(--muted); font-style: italic; padding: 40px 20px; text-align: center; border: 1px dashed var(--line); grid-column: 1 / -1; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); margin-right: 9px; vertical-align: .12em; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* page changes + scroll fade-in (visible without JavaScript) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s ease both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.pre { opacity: 0; transform: translateY(26px); }

/* drifting mist */
.mist { position: absolute; inset: -20% -10%; pointer-events: none; z-index: 0;
  background: radial-gradient(40% 30% at 20% 70%, rgba(220,210,235,.07), transparent 70%), radial-gradient(35% 25% at 75% 40%, rgba(220,210,235,.05), transparent 70%);
  filter: blur(20px); animation: drift 26s ease-in-out infinite alternate; }
.mist-2 { animation-duration: 38s; animation-direction: alternate-reverse; opacity: .8; background: radial-gradient(45% 28% at 60% 85%, rgba(220,210,235,.07), transparent 70%), radial-gradient(30% 22% at 10% 30%, rgba(201,165,90,.05), transparent 70%); }
@keyframes drift { from { transform: translate3d(-4%, 0, 0) scale(1); } to { transform: translate3d(5%, -3%, 0) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { *, ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid transparent; transition: background .35s, border-color .35s; background: linear-gradient(rgba(12,11,13,.7), transparent); }
.top.solid { background: rgba(12,11,13,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { font: 700 1.15rem/1 var(--title); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); text-decoration: none; white-space: nowrap; margin-right: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font: 600 .74rem/1 var(--title); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--soft); padding: 8px 0; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.nav a:not(.btn):hover { color: var(--bright); }
.nav a[aria-current] { color: var(--gold); border-color: var(--gold); }
.nav a .dot { margin-right: 7px; }
.menu-btn { display: grid; width: 46px; height: 46px; border: 1px solid var(--line2); background: none; cursor: pointer; place-content: center; gap: 7px; flex-shrink: 0; transition: border-color .25s; }
.menu-btn:hover { border-color: var(--gold); }
.menu-btn span { display: block; width: 20px; height: 1px; background: var(--gold); transition: transform .3s var(--ease); }
.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1020px) { .nav { display: none; } }
.menu { position: fixed; inset: 0; z-index: 45; padding-top: calc(78px + env(safe-area-inset-top, 0px)); background: var(--bg); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; isolation: isolate; }
.menu-open { overflow: hidden; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; padding-block: 40px 64px; }
.menu-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; align-content: start; }
.menu-links a { font: 500 clamp(1.5rem, 3.4vw, 2.3rem)/1.25 var(--title); text-decoration: none; color: var(--soft); padding: 8px 0; border-bottom: 1px solid var(--line); transform: translateY(8px); opacity: 0; transition: color .25s, transform .5s var(--ease), opacity .5s var(--ease); }
.menu-open .menu-links a { transform: none; opacity: 1; }
.menu-links a:hover, .menu-links a[aria-current] { color: var(--gold); }
.menu-side { border-left: 1px solid var(--line); padding-left: 40px; }
.menu-side .actions { flex-direction: column; align-items: flex-start; margin: 10px 0 28px; }
@media (max-width: 760px) { .menu-in { grid-template-columns: 1fr; gap: 28px; } .menu-links { grid-template-columns: 1fr 1fr; column-gap: 18px; } .menu-links a { font-size: 1.3rem; } .menu-side { border: 0; padding: 0; } }
@media (max-width: 400px) { .brand { font-size: .95rem; letter-spacing: .18em; } }

/* ---------- buttons, links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--gold); color: #0c0b0d; font: 700 .78rem/1 var(--title); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--gold); padding: 17px 28px; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.btn svg { width: 13px; height: 13px; }
.btn:hover { background: color-mix(in srgb, var(--gold) 82%, white); box-shadow: 0 0 34px color-mix(in srgb, var(--gold) 30%, transparent); }
.btn-sm { padding: 12px 20px; font-size: .7rem; }
.btn-line { background: transparent; color: var(--text); border-color: var(--line2); }
.btn-line:hover { background: color-mix(in srgb, var(--gold) 10%, transparent); color: var(--bright); border-color: var(--gold); box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.link { font: 600 .74rem/1.4 var(--title); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--gold); padding-bottom: 5px; transition: color .25s; white-space: nowrap; }
.link:hover { color: var(--gold); }
.back { display: inline-block; font-size: .95rem; color: var(--muted); text-decoration: none; margin-bottom: 20px; transition: color .2s; }
.back:hover { color: var(--gold); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100vh, 940px); display: flex; align-items: center; overflow: hidden; isolation: isolate; padding-top: 78px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img, .hero-bg iframe, .hero-bg video { width: 100%; height: 100%; object-fit: cover; border: 0; opacity: .32; filter: grayscale(.4); }
.hero-bg video { opacity: .38; }
.hero-bg img { animation: slowzoom 40s ease-in-out infinite alternate; }
@keyframes slowzoom { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.hero-bg iframe { pointer-events: none; width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1.15); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 18%, rgba(12,11,13,.55) 60%, rgba(12,11,13,.75)), linear-gradient(to top, var(--bg), transparent 30%); }
.hero-in { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 56px 80px; padding-block: 70px 100px; }
.hero-text { flex: 1 1 520px; min-width: 0; }
.hero-text > * { animation: rise 1.1s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .12s; } .hero-text > :nth-child(3) { animation-delay: .24s; } .hero-text > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.06; max-width: 15ch; }
.arch { position: relative; flex: 0 1 430px; min-width: 0; width: 100%; aspect-ratio: 4 / 5; padding: 11px; border: 1px solid var(--line2); border-radius: 999px 999px 0 0; animation: fadein 1.6s .3s var(--ease) both; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; border-radius: 999px 999px 0 0; filter: grayscale(.25) contrast(1.05); background: radial-gradient(ellipse at 50% 85%, color-mix(in srgb, var(--gold) 16%, transparent), var(--bg3) 70%); }
.arch img[src$='.png'] { object-fit: contain; }
.arch::after { content: ''; position: absolute; inset: 11px; border-radius: 999px 999px 0 0; background: linear-gradient(to top, rgba(12,11,13,.55), transparent 45%); }
.candle { position: absolute; left: 50%; bottom: -30px; width: 220px; height: 110px; margin-left: -110px; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--gold) 28%, transparent), transparent 70%); filter: blur(12px); animation: flicker 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes flicker { 0%, 100% { opacity: .75; } 30% { opacity: 1; } 55% { opacity: .6; } 75% { opacity: .95; } }
@keyframes fadein { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 900px) { .arch { flex-basis: 100%; max-width: 360px; margin-inline: auto; } .hero-in { padding-top: 40px; } }

/* credentials strip */
.creds { border-block: 1px solid var(--line); background: var(--bg2); }
.creds-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px 40px; padding-block: 28px; }
.creds p { margin: 0; color: var(--soft); font-size: 1rem; }
.creds .kicker { display: block; margin: 0 0 4px; font-size: .68rem; }

/* section heads */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 30px; margin-bottom: 30px; }
.sec-head h2 { margin: 0; }
.page-head { position: relative; overflow: hidden; isolation: isolate; padding-top: calc(78px + clamp(48px, 8vw, 100px)); padding-bottom: clamp(28px, 4vw, 44px); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { max-width: 20ch; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--gold); padding: 10px var(--gutter); }
.ornament span { flex: 0 1 220px; height: 1px; background: var(--line2); }
.ornament svg { width: 18px; height: 18px; }

/* featured case */
.feature { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .4s; }
.feature:hover { border-color: var(--line2); }
.feature-img { position: relative; overflow: hidden; min-height: 320px; }
.feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature-img img { transform: scale(1.04); }
.play-ring { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); background: rgba(12,11,13,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background .3s, color .3s; }
.play-ring svg { width: 22px; height: 22px; margin-left: 3px; }
.feature:hover .play-ring { background: var(--gold); color: var(--bg); }
.feature-body { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(28px, 4vw, 52px); }
.feature-body b { font: 500 clamp(1.7rem, 2.8vw, 2.4rem)/1.12 var(--title); color: var(--bright); }
.feature-body .meta { font-size: .95rem; color: var(--gold); }
.feature-body .note { color: var(--soft); margin-bottom: 14px; }
.feature-body .link { align-self: flex-start; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature-img { aspect-ratio: 16 / 9; min-height: 0; } }

/* series tabs + case cards */
.tablist { display: flex; flex-wrap: wrap; gap: 4px 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tablist button { appearance: none; background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; padding: 16px 18px; min-height: 48px; cursor: pointer; font: 600 .78rem/1 var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .25s, border-color .25s; }
.tablist button:hover { color: var(--text); }
.tablist button[aria-selected="true"] { color: var(--gold); border-color: var(--gold); }
[role=tabpanel] + [role=tabpanel] { margin-top: 44px; }
[role=tabpanel][hidden] { display: none; }
[role=tabpanel]:not([hidden]) { animation: fadein .6s var(--ease); }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 30px; margin-bottom: 26px; }
.note-line { margin: 0; font-style: italic; color: var(--soft); max-width: 62ch; }
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 24px; }
.case { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .4s, transform .4s var(--ease), box-shadow .4s; }
.case:hover { border-color: var(--line2); transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.case-img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg3); }
.case-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); transition: transform 1s var(--ease), filter .6s; }
.case:hover .case-img img { transform: scale(1.05); filter: none; }
.tag { position: absolute; left: 12px; top: 12px; background: rgba(12,11,13,.85); border: 1px solid var(--line2); color: var(--gold); font: 700 .64rem/1 var(--title); letter-spacing: .16em; padding: 6px 9px; }
.tag-r { left: auto; right: 12px; color: var(--soft); font-weight: 600; }
.case-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 24px; }
.place { font: 600 .66rem/1.4 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.case-body b { font: 600 1.12rem/1.3 var(--title); color: var(--bright); }
.case-body .note { font-size: .98rem; line-height: 1.55; color: var(--soft); }
.season { margin-bottom: 52px; }
.season-title { font-size: 1.25rem; margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chips a { font: 600 .7rem/1 var(--title); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 12px 16px; border: 1px solid var(--line); transition: border-color .25s, color .25s; }
.chips a:hover { border-color: var(--gold); color: var(--gold); }

/* locations ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; background: var(--bg2); }
.ticker-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: scroll 80s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker a { font: 500 clamp(1.2rem, 2.2vw, 1.7rem)/1 var(--title); text-decoration: none; color: var(--soft); white-space: nowrap; transition: color .25s; }
.ticker a:hover { color: var(--gold); }
.ticker span { color: var(--gold); font-size: .8rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* investigators */
.investigators { background: var(--bg2); border-bottom: 1px solid var(--line); }
.inv-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px; align-items: center; padding-block: clamp(64px, 9vw, 112px); }
.inv-in > * { min-width: 0; }
@media (max-width: 860px) { .inv-in { grid-template-columns: 1fr; } }
blockquote { margin: 0 0 28px; font-style: italic; font-weight: 300; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.45; color: var(--text); }
cite { display: block; margin-top: 14px; font: 600 .72rem/1 var(--title); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.investigators .lead { margin-bottom: 28px; }
.people { display: grid; gap: 16px; }
.person { display: flex; gap: 20px; align-items: flex-start; padding: 24px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s; }
.person:hover { border-color: var(--line2); }
.person img, .mono { flex: 0 0 74px; width: 74px; height: 74px; border-radius: 50%; object-fit: cover; }
.mono { display: grid; place-items: center; border: 1px solid var(--line2); font: 600 1.3rem var(--title); color: var(--gold); }
.person > span { display: grid; gap: 3px; min-width: 0; }
.person b { font: 600 1.1rem var(--title); color: var(--bright); }
.person small { color: var(--gold); font-size: .92rem; }
.person .note { color: var(--soft); font-size: .98rem; line-height: 1.55; }

/* where to watch */
.watch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; margin-top: 30px; margin-bottom: 40px; }
.watch-card { display: flex; flex-direction: column; gap: 8px; padding: 30px; border: 1px solid var(--line); background: var(--card); text-decoration: none; transition: border-color .3s, transform .3s var(--ease); }
a.watch-card:hover { border-color: var(--line2); transform: translateY(-3px); }
.watch-card .kicker { margin: 0; font-size: .66rem; }
.watch-card b { font: 600 1.5rem/1.2 var(--title); color: var(--bright); }
.watch-card img { max-height: 40px; width: auto; }
.watch-card .muted { font-size: 1rem; }
.more-line { margin: -10px 0 0; }

/* band */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: clamp(28px, 4vw, 44px); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s; }
.band:hover { border-color: var(--line2); }
.band > span:first-child { display: grid; gap: 4px; min-width: 0; }
.band b { font: 600 1.5rem/1.2 var(--title); color: var(--bright); }

/* episode page */
.ep-hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(78vh, 720px); display: flex; align-items: flex-end; padding-top: 78px; }
.ep-bg { position: absolute; inset: 0; z-index: -1; }
.ep-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; animation: slowzoom 40s ease-in-out infinite alternate; }
.ep-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 5%, rgba(12,11,13,.5) 55%, rgba(12,11,13,.35)), linear-gradient(90deg, rgba(12,11,13,.85), transparent 70%); }
.ep-hero-in { position: relative; z-index: 1; padding-block: 60px clamp(44px, 6vw, 72px); }
.ep-hero h1 { max-width: 18ch; }
.ep-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px 64px; align-items: start; padding-top: clamp(32px, 5vw, 56px); }
@media (max-width: 900px) { .ep-body { grid-template-columns: 1fr; } }
.player { margin-bottom: 32px; }
.facts { padding: 26px; border: 1px solid var(--line); background: var(--card); }
.facts dl { margin: 0; }
.facts dt { font: 600 .64rem/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 18px; color: var(--bright); }
.facts dd:last-child { margin-bottom: 0; }
.facts a { color: var(--gold); }
.ep-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 28px; }
.evidence { display: grid; gap: 4px; margin-top: 28px; padding: 20px 22px; border: 1px solid var(--line); border-left: 2px solid var(--live); background: var(--card); }
.evidence .kicker { margin: 0; color: var(--live); }

/* about */
.bio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 80px; align-items: center; }
.bio.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .bio.flip .bio-img { order: 2; }
.bio-img { aspect-ratio: 4 / 5; padding: 10px; border: 1px solid var(--line2); border-radius: 999px 999px 0 0; }
.bio-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 0 0; }
@media (max-width: 760px) { .bio, .bio.flip { grid-template-columns: 1fr; } .bio.flip .bio-img { order: 0; } .bio-img { max-width: 340px; } }

/* lists, video, misc */
.list { display: grid; gap: 10px; }
.list-item { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s; }
a.list-item:hover { border-color: var(--line2); }
.list-item > span:first-child { display: grid; gap: 2px; min-width: 0; flex: 1; }
.list-item b { font: 600 1.05rem var(--title); color: var(--bright); }
.list-item small { color: var(--muted); }
.go { color: var(--gold); transition: transform .25s var(--ease); }
a.list-item:hover .go { transform: translateX(4px); }
.video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border: 1px solid var(--line); }
.video iframe, .yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt { padding: 0; cursor: pointer; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .3s; }
.yt:hover img { opacity: .95; }
.play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(12,11,13,.6); transition: background .3s; }
.yt:hover .play { background: var(--gold); }
.play::after { content: ''; position: absolute; left: 31px; top: 26px; border: 13px solid transparent; border-left: 19px solid var(--gold); border-right: 0; transition: border-color .3s; }
.yt:hover .play::after { border-left-color: var(--bg); }
.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; margin-bottom: 20px; }
.pod { padding-block: 28px; border-bottom: 1px solid var(--line); }
.pod audio { width: 100%; margin-top: 8px; }
.spotify { width: 100%; border: 0; border-radius: 12px; margin-top: 8px; }
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; }
.gallery figcaption { color: var(--muted); font-size: .95rem; font-style: italic; padding: 8px 2px 0; }

/* forms */
input, textarea, select { width: 100%; background: var(--card); border: 1px solid var(--line2); color: var(--text); border-radius: 0; padding: 15px 16px; font: inherit; font-size: 1rem; transition: border-color .25s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); }
select option { background: var(--bg2); }
.form { display: grid; gap: 20px; }
.form label { display: grid; gap: 8px; font: 600 .68rem/1.4 var(--title); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.form .btn { justify-self: start; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.notice { padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-left: 2px solid var(--gold); margin-bottom: 26px; }
.notice.err { border-left-color: var(--live); }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form input[type=email] { flex: 1 1 240px; }

/* text */
.prose { color: var(--soft); }
.prose.big { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.78; font-weight: 300; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose a { color: var(--gold); }
.prose strong { color: var(--bright); font-weight: 500; }

/* footer */
.foot { border-top: 1px solid var(--line); background: #09080a; }
.foot-sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(48px, 7vw, 76px); border-bottom: 1px solid var(--line); }
.foot-sign h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); max-width: 22ch; }
.foot-sign .kicker { margin-bottom: 10px; }
.foot-sign form { flex: 1 1 360px; max-width: 520px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 36px; padding-block: 34px calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot-in .brand { margin-right: 0; font-size: 1rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: .98rem; transition: color .25s; }
.foot-links a:hover { color: var(--gold); }
.copy { width: 100%; margin: 0; color: #6f685d; font-size: .9rem; }

/* ---------- additions for the full site ---------- */
.on-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 26px 0 0; color: var(--muted); font-size: .98rem; }
.on-line .kicker { margin: 0 6px 0 0; font-size: .64rem; }
.on-line a { color: var(--soft); text-decoration: none; border-bottom: 1px solid var(--line2); transition: color .25s, border-color .25s; }
.on-line a:hover { color: var(--gold); border-color: var(--gold); }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; }
.tile-live, .tile-map { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 260px; justify-content: flex-end; padding: clamp(26px, 4vw, 40px); border: 1px solid var(--line); text-decoration: none; overflow: hidden; isolation: isolate; transition: border-color .35s; }
.tile-live:hover, .tile-map:hover { border-color: var(--line2); }
.tile-live { background: radial-gradient(ellipse at 85% 20%, rgba(224,72,62,.16), transparent 55%), repeating-linear-gradient(to bottom, rgba(255,255,255,.018) 0 1px, transparent 1px 3px), var(--card); }
.tile-map { background: radial-gradient(circle at 70% 35%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 45%), radial-gradient(circle at 30% 70%, color-mix(in srgb, var(--gold) 8%, transparent), transparent 40%), var(--card); }
.tile-live b, .tile-map b { font: 500 clamp(1.5rem, 2.6vw, 2.1rem)/1.15 var(--title); color: var(--bright); }
.tile-live .link, .tile-map .link { align-self: flex-start; margin-top: 8px; }
.tile-map .kicker svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; }
.live-k { color: var(--live); }
.duo .band { height: 100%; }
.band .kicker { margin-bottom: 4px; }
.reviews { background: var(--bg2); border-block: 1px solid var(--line); padding-block: clamp(56px, 8vw, 96px); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px 40px; margin-top: 8px; }
.review-grid blockquote { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.4rem); padding-top: 18px; border-top: 1px solid var(--line2); }
.review-grid blockquote p { margin: 0; }
.big-quote { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.press-card .tag { color: var(--bright); }
.facts-line { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 34px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.facts-line b { display: block; font: 500 2.2rem/1 var(--title); color: var(--gold); margin-bottom: 4px; }
.small-note { font-size: .95rem; margin-top: 14px; }
.small-note a { color: var(--gold); }
/* live TV */
.tv { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line2); box-shadow: 0 0 80px color-mix(in srgb, var(--gold) 10%, transparent); }
.tv video { width: 100%; height: 100%; display: block; background: #000; }
.tv-start { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; border: 0; cursor: pointer; color: var(--bright); background: radial-gradient(ellipse at center, rgba(12,11,13,.3), rgba(12,11,13,.85)); font: 600 .8rem/1 var(--title); letter-spacing: .2em; text-transform: uppercase; }
.tv-start svg { width: 34px; height: 34px; padding: 22px; box-sizing: content-box; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); transition: background .3s, color .3s; }
.tv-start:hover svg { background: var(--gold); color: var(--bg); }
.tv-start[hidden] { display: none; }
/* map */
.map { height: min(78vh, 760px); min-height: 420px; border: 1px solid var(--line2); background: #0e0d10; }
.leaflet-container { font: inherit; background: #0e0d10; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--card); color: var(--text); border: 1px solid var(--line2); border-radius: 0; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.leaflet-popup-content { margin: 12px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
.leaflet-bar a { background: var(--card); color: var(--gold); border-color: var(--line2); }
.leaflet-bar a:hover { background: var(--bg3); color: var(--bright); }
.leaflet-control-attribution { background: rgba(12,11,13,.8) !important; color: var(--muted); }
.leaflet-control-attribution a { color: var(--soft); }
.pop { display: grid; gap: 4px; text-decoration: none; color: var(--text); }
.pop img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 6px; }
.pop-k { font: 600 .6rem/1.4 var(--title); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.pop b { font: 600 1rem/1.25 var(--title); color: var(--bright); }
.pop-p { font-size: .9rem; color: var(--muted); }
.pop-l { font-size: .85rem; color: var(--gold); margin-top: 4px; }
/* apps */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 20px; }
.app-card { display: flex; gap: 20px; align-items: flex-start; padding: 26px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, transform .3s var(--ease); }
.app-card:hover { border-color: var(--line2); transform: translateY(-3px); }
.app-icon { flex: 0 0 76px; width: 76px; height: 76px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: var(--bg3); border: 1px solid var(--line); color: var(--gold); font: 600 1.6rem var(--title); }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.app-body .kicker { margin: 0; font-size: .62rem; }
.app-body b { font: 600 1.2rem/1.25 var(--title); color: var(--bright); }
.app-body .note { color: var(--soft); font-size: .98rem; line-height: 1.55; }
.app-body .link { align-self: flex-start; margin-top: 8px; }
.spreaker { width: 100%; border: 1px solid var(--line); background: var(--card); display: block; }
/* gallery (anchors) */
.gallery a { display: block; position: relative; margin: 0 0 16px; break-inside: avoid; overflow: hidden; border: 1px solid var(--line); }
.gallery a img { width: 100%; transition: transform .8s var(--ease), filter .5s; filter: grayscale(.15); }
.gallery a:hover img { transform: scale(1.03); filter: none; }
.gallery a span { position: absolute; inset: auto 0 0; padding: 30px 12px 10px; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.lightbox { max-width: min(1200px, 94vw); max-height: 94vh; padding: 0; border: 0; background: transparent; }
.lightbox[open] { animation: fadein .3s var(--ease); }
.lightbox::backdrop { background: rgba(8,7,9,.94); }
.lightbox img { max-height: 88vh; margin: auto; border: 1px solid var(--line2); }
.lb-close { position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); width: 46px; height: 46px; border: 1px solid var(--line2); background: var(--bg); color: var(--gold); cursor: pointer; font-size: 1.1rem; }
img.is-ph { filter: grayscale(.4) brightness(.8); }

/* real logos and laurels */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.logo-row .kicker { margin: 0; font-size: .64rem; color: var(--muted); }
.logo-row a { display: block; opacity: .72; transition: opacity .25s; }
.logo-row a:hover { opacity: 1; }
.logo-row img { height: 34px; width: auto; }
.creds-in.has-laurels { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px clamp(28px, 6vw, 72px); padding-block: 30px; }
.laurel-img { height: 84px; width: auto; opacity: .88; }
.seen-in { text-align: center; }
.seen-in .kicker { display: block; }
.wc-logo { height: 40px; width: auto; align-self: flex-start; margin: 4px 0 2px; }
@media (max-width: 600px) { .laurel-img { height: 66px; } .logo-row img { height: 28px; } }
/* Official episode art has the show name baked into its lower half: show only the top of the picture behind the title */
.ep-bg { overflow: hidden; }
.ep-bg img[src*="/eps/flying-solo/"], .ep-bg img[src*="/eps/ghost-dimension/s1e"], .ep-bg img[src*="/eps/ghost-dimension/s2e"], .ep-bg img[src*="/eps/ghost-dimension/s3e"], .ep-bg img[src*="/eps/ghost-dimension/s4e"] { height: 165%; object-position: center top; }
.season-blurb { max-width: 820px; margin: -6px 0 26px; color: var(--muted, #b9b2a6); }
.season-blurb p { margin: 0; line-height: 1.7; }
.season-year { display: inline-block; font-family: Cinzel, serif; letter-spacing: .18em; font-size: .72rem; color: var(--gold); margin-bottom: 6px; }
/* Logo */
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 40px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.8)); }
.foot-in .brand-logo { height: 46px; }
.hero-logo { display: block; width: min(440px, 78vw); height: auto; margin: 0 0 30px -4px; filter: drop-shadow(0 4px 18px rgba(0,0,0,.85)); }
@media (max-width: 700px) { .brand-logo { height: 32px; } .hero-logo { margin-left: -2px; } }
/* YouTube */
.yt-badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; background: rgba(12,11,13,.82); border: 1px solid rgba(255,255,255,.14); color: var(--bright); font: 600 .62rem/1 var(--title); letter-spacing: .14em; text-transform: uppercase; }
.yt-badge svg, .btn-yt svg, .yt-link svg { width: 16px; height: 16px; color: #e0483e; flex: none; }
.btn-yt { gap: 8px; }
.yt-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; }
.duo > :only-child { grid-column: 1 / -1; }

/* ---- Watch free on YouTube page ---- */
.tonight .feature-body .note { color: var(--soft); font-size: 1rem; line-height: 1.6; margin: 4px 0 0; }
.tonight .feature-body .muted.small { font-size: .85rem; margin: 6px 0 0; font-style: italic; }
.tonight .feature-img { display: block; }
.seance-wrap { position: relative; padding-block: clamp(56px, 8vw, 100px); margin-block: clamp(10px, 3vw, 30px); background: radial-gradient(ellipse 60% 70% at 50% 45%, color-mix(in srgb, var(--gold) 9%, transparent), transparent 70%), var(--bg2); border-block: 1px solid var(--line); overflow: hidden; }
.seance { text-align: center; display: flex; flex-direction: column; align-items: center; }
.seance .lead { margin-inline: auto; }
.spirit-series { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0 26px; }
.spirit-series button { font: 600 .68rem/1 var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); background: transparent; border: 1px solid var(--line); padding: 11px 15px; cursor: pointer; transition: border-color .25s, color .25s, background .25s; }
.spirit-series button:hover { border-color: var(--gold); color: var(--gold); }
.spirit-series button[aria-pressed="true"] { border-color: var(--gold); color: #0c0b0d; background: var(--gold); }
.planchette { width: min(560px, 100%); min-height: 92px; display: grid; place-items: center; padding: 18px 24px; margin-bottom: 26px; border: 1px solid var(--line2); border-radius: 50% / 46%; background: rgba(12,11,13,.6); box-shadow: inset 0 0 40px rgba(0,0,0,.6); }
.planchette-text { font: 500 clamp(1.05rem, 2.4vw, 1.4rem)/1.3 var(--title); color: var(--gold); letter-spacing: .03em; transition: opacity .2s; }
.summoning .planchette { animation: flicker 1.4s steps(2) infinite; box-shadow: inset 0 0 40px rgba(0,0,0,.6), 0 0 46px color-mix(in srgb, var(--gold) 26%, transparent); }
.summoning .planchette-text { opacity: .78; filter: blur(.4px); }
@keyframes flicker { 0%, 100% { border-color: var(--line2); } 50% { border-color: var(--gold); } }
.spirit-pick { width: 100%; margin-top: 34px; display: grid; grid-template-columns: 1.1fr 1fr; text-align: left; background: var(--card); border: 1px solid var(--line2); animation: rise .9s var(--ease) both; }
.spirit-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.spirit-img img { width: 100%; height: 100%; object-fit: cover; }
.spirit-body { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 24px; }
.spirit-body b { font: 600 1.3rem/1.25 var(--title); color: var(--bright); }
.spirit-body .actions { margin-top: 10px; gap: 10px; }
@media (max-width: 700px) { .spirit-pick { grid-template-columns: 1fr; } }
.binge-series { margin-top: 36px; }
.season-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 20px; }
.season-tile { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .4s, transform .4s var(--ease), box-shadow .4s; }
.season-tile:hover { border-color: var(--line2); transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.season-tile:hover .case-img img { transform: scale(1.05); filter: none; }
.season-tile-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.season-tile-body b { font: 600 1.1rem/1.2 var(--title); color: var(--bright); }
.season-tile-body .note { font-size: .95rem; color: var(--soft); }
.season-tile-body .link { align-self: flex-start; margin-top: 6px; font-size: .66rem; }
.season-tile .yt-badge { top: 12px; bottom: auto; }
.tonight { margin-top: 28px; }
@media (max-width: 560px) { .season-tiles { grid-template-columns: 1fr 1fr; gap: 12px; } .season-tile-body { padding: 12px 12px 14px; } .season-tile-body .note { font-size: .85rem; } .season-tile .yt-badge { top: 8px; left: 8px; } }
.human-check { margin: 4px 0 18px; min-height: 65px; }

/* ---- Share this episode ---- */
.share { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.share .kicker { margin-bottom: 12px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; height: 42px; padding: 0 11px; border: 1px solid var(--line2); background: transparent; color: var(--text); text-decoration: none; cursor: pointer; font: 600 .66rem/1 var(--title); letter-spacing: .16em; text-transform: uppercase; transition: border-color .25s, color .25s, background .25s; }
.share-btn svg { width: 18px; height: 18px; flex: none; }
.share-btn:hover, .share-btn:focus-visible { border-color: var(--gold); color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, transparent); }
.share-native { background: var(--gold); border-color: var(--gold); color: #0c0b0d; padding: 0 16px; }
.share-native:hover { background: color-mix(in srgb, var(--gold) 82%, white); color: #0c0b0d; }
.share-note { min-height: 1.2em; margin: 8px 0 0; font-size: .9rem; color: var(--gold); }
