/* ==========================================================
   SECRETS UNDER THE MOON — STYLES
   Midnight navy + metallic gold, cinematic layout.
   ========================================================== */

:root {
  /* Color */
  --bg: #04070d;
  --bg-deep: #020408;
  --navy: #0a1424;
  --navy-2: #0f1c32;
  --gold: #c9a45c;
  --gold-bright: #e8c987;
  --gold-deep: #8a6a2e;
  --champagne: #ead9b4;
  --ivory: #f5efe3;
  --moon: #a9c1e0;
  --text: #f5efe3;
  --text-2: rgba(245, 239, 227, 0.72);
  --text-3: rgba(245, 239, 227, 0.5);
  --line: rgba(234, 217, 180, 0.12);
  --line-strong: rgba(234, 217, 180, 0.24);
  --glass: rgba(255, 255, 255, 0.035);

  /* Type */
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & motion */
  --radius: 18px;
  --radius-lg: 26px;
  --max: 1440px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --glow-gold: 0 0 24px rgba(201, 164, 92, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(201, 164, 92, 0.35); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: var(--ivory); color: var(--bg); padding: 12px 18px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 12px; }

/* ---------- Ambient background (canvas + glows) ---------- */
.sky {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(circle at 78% 14%, rgba(169, 193, 224, 0.13), transparent 30%),
    radial-gradient(circle at 10% 72%, rgba(201, 164, 92, 0.09), transparent 34%),
    radial-gradient(ellipse at 50% 120%, rgba(15, 28, 50, 0.9), transparent 60%),
    linear-gradient(180deg, #05090f 0%, #04070d 50%, #030509 100%);
}
#moon-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}
main, footer, .site-header { position: relative; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 10vw, 128px) 0; border-top: 1px solid var(--line); }
.section--flush { border-top: 0; }

.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
}
.display {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em;
  line-height: 1.04; margin: 0;
  font-size: clamp(40px, 6vw, 84px);
}
.display--md { font-size: clamp(34px, 4.4vw, 60px); }
.display em, .accent {
  font-style: italic; font-weight: 500;
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold-bright) 35%, #fff4d6 50%, var(--gold-bright) 65%, var(--gold) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
.lede { font-size: clamp(16px, 1.4vw, 19px); color: var(--text-2); max-width: 60ch; margin: 0; }
.muted { color: var(--text-3); }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 820px; }
.section-head--split {
  max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s, color .3s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--gold {
  color: #1a1206;
  background: linear-gradient(135deg, #f3dca2 0%, var(--gold-bright) 28%, var(--gold) 60%, #a77f3a 100%);
  box-shadow: 0 10px 30px rgba(201, 164, 92, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--gold::after { /* light sweep */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  background-size: 250% 100%; background-position: 140% 0;
  transition: background-position .9s var(--ease);
}
.btn--gold:hover::after { background-position: -40% 0; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(201, 164, 92, 0.35), inset 0 1px 0 rgba(255,255,255,.45); }
.btn--ghost {
  color: var(--ivory); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(232, 201, 135, 0.6); color: var(--gold-bright); box-shadow: var(--glow-gold); }
.btn--pulse { animation: gold-pulse 3.2s ease-in-out infinite; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--champagne);
  border-bottom: 1px solid rgba(234, 217, 180, 0.3); padding-bottom: 3px;
  transition: color .3s, border-color .3s, gap .3s var(--ease);
}
.text-link:hover { color: var(--gold-bright); border-color: var(--gold-bright); gap: 12px; }

/* ---------- Header / glass navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.site-header.is-scrolled {
  background: rgba(4, 7, 13, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 18px; flex: none; }
.brand__logo {
  height: 44px; width: auto;
  filter: drop-shadow(0 0 14px rgba(232, 201, 135, 0.18));
  transition: filter .4s;
}
.brand:hover .brand__logo { filter: drop-shadow(0 0 18px rgba(232, 201, 135, 0.4)); }
.brand__divider { width: 1px; height: 30px; background: var(--line-strong); }
.brand__tag {
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-3);
  line-height: 1.5;
}

.nav__pill {
  display: flex; align-items: center; gap: 4px; padding: 6px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--glass);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}
.nav__link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  font-size: 13px; font-weight: 500; color: rgba(245, 239, 227, 0.72);
  transition: background .3s, color .3s, box-shadow .3s;
}
.nav__link svg { width: 15px; height: 15px; opacity: .8; }
.nav__link:hover { background: rgba(201, 164, 92, 0.09); color: var(--champagne); box-shadow: 0 0 24px rgba(201, 164, 92, 0.12); }
.nav__link[aria-current="page"] { color: var(--gold-bright); background: rgba(201, 164, 92, 0.08); }
.nav__cta { min-height: 42px; padding: 0 20px; margin-left: 6px; border-radius: 12px; font-size: 11px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: var(--glass); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ivory); position: relative;
  transition: transform .35s var(--ease), background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 84px 0 0 0; z-index: 49;
  background: rgba(3, 5, 9, 0.96); backdrop-filter: blur(18px);
  padding: 28px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a:not(.btn) {
  font-family: var(--serif); font-size: 34px; line-height: 1.2; padding: 10px 0;
  border-bottom: 1px solid var(--line); color: var(--ivory);
}
.mobile-menu a[aria-current="page"] { color: var(--gold-bright); }
.mobile-menu .btn { margin-top: 28px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1 { font-size: clamp(38px, 5.2vw, 74px); }
.hero__sub {
  font-family: var(--serif); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.25;
  color: var(--ivory); margin: 22px 0 22px; font-weight: 400;
}
.hero__sub em { font-style: italic; color: var(--moon); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-3);
}
.hero__meta span::before { content: "☾"; color: var(--gold); margin-right: 10px; letter-spacing: 0; }

.scroll-cue {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 40px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--champagne);
}
.scroll-cue i {
  width: 22px; height: 34px; border: 1px solid var(--line-strong); border-radius: 20px; position: relative;
}
.scroll-cue i::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 3px; background: var(--gold-bright); animation: scroll-dot 2s var(--ease) infinite;
}

/* framed media panel (mirrors the reference's rounded teaser player) */
.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong); background: #000;
  box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.4), 0 0 80px rgba(169, 193, 224, 0.08);
  transform-style: preserve-3d; will-change: transform;
  transition: transform .6s var(--ease);
}
.media-frame::before { /* rotating gold rim */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: 3; pointer-events: none;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 70%, rgba(232, 201, 135, 0.9) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rim-spin 8s linear infinite;
}
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; }
.media-frame--hero { aspect-ratio: 4 / 5; max-height: 76vh; margin-left: auto; }
.media-frame__shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(2, 4, 8, 0.85) 100%);
}
.media-frame__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
}
.media-frame__bar strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.1; }
.media-frame__bar small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); }

.play {
  position: relative; flex: none; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; border: 0;
  background: linear-gradient(135deg, #f3dca2, var(--gold) 60%, #a77f3a);
  color: #1a1206; box-shadow: 0 10px 30px rgba(201, 164, 92, 0.35);
  transition: transform .4s var(--ease);
}
.play svg { width: 20px; height: 20px; margin-left: 3px; }
.play::before { /* spinning dashed ring */
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px dashed rgba(232, 201, 135, 0.6);
  animation: ring-spin 12s linear infinite;
}
.play:hover { transform: scale(1.07); }

/* ---------- Feature cards (glass + image) ---------- */
.feature-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; }
.feature-grid__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(15, 28, 50, 0.55), rgba(4, 7, 13, 0.7));
  backdrop-filter: blur(10px);
}
.panel--intro { padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.panel--intro p { margin: 0; color: var(--text-2); }
.panel--intro .closing { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--champagne); }

.img-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; padding: 26px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); isolation: isolate;
  transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease);
}
.img-card__bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s;
  filter: saturate(.9) brightness(.82);
}
.img-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4, 7, 13, 0.05) 0%, rgba(4, 7, 13, 0.55) 45%, rgba(4, 7, 13, 0.95) 100%);
}
.img-card:hover { border-color: rgba(232, 201, 135, 0.4); box-shadow: 0 0 40px rgba(201, 164, 92, 0.12); transform: translateY(-4px); }
.img-card:hover .img-card__bg { transform: scale(1.1); filter: saturate(1) brightness(.9); }
.img-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; margin: 10px 0 8px; }
.img-card p { margin: 0; font-size: 14px; color: var(--text-2); max-width: 40ch; }

/* ---------- Cast cards ---------- */
.cast-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cast-grid--secondary { grid-template-columns: repeat(4, 1fr); margin-top: 16px; }
.cast-card {
  position: relative; display: block; width: 100%; text-align: left; padding: 0; cursor: pointer;
  aspect-ratio: 3 / 4.4; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--navy);
  transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease);
}
.cast-grid--secondary .cast-card { aspect-ratio: 4 / 4.6; }
.cast-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: var(--focus, 50% 20%);
  transition: transform 1.2s var(--ease), filter .6s;
  filter: brightness(.86) saturate(.92);
}
.cast-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(3, 5, 9, 0.55) 52%, rgba(3, 5, 9, 0.88) 72%, rgba(3, 5, 9, 0.98) 100%);
}
.cast-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px 18px; }
.cast-card__role { display: block; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.cast-card__name { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.08; margin-top: 6px; }
.cast-card__alias { font-family: var(--serif); font-style: italic; color: var(--champagne); font-size: 17px; }
.cast-card__hook {
  display: block; font-size: 13px; line-height: 1.5; color: var(--text-2);
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
  transition: max-height .6s var(--ease), opacity .5s, margin .5s var(--ease);
}
.cast-card:hover, .cast-card:focus-visible { border-color: rgba(232, 201, 135, 0.45); box-shadow: 0 0 44px rgba(201, 164, 92, 0.14); transform: translateY(-6px); }
.cast-card:hover img, .cast-card:focus-visible img { transform: scale(1.06); filter: brightness(.95) saturate(1); }
/* second identity crossfades in on hover / tap */
.cast-card .img-alt, .profile__media .img-alt { opacity: 0; transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter .6s; }
.cast-card:hover .img-alt, .cast-card:focus-visible .img-alt, .cast-card.is-open .img-alt,
.profile__media:hover .img-alt { opacity: 1; }
.cast-card:hover .cast-card__hook, .cast-card:focus-visible .cast-card__hook, .cast-card.is-open .cast-card__hook { max-height: 140px; opacity: 1; margin-top: 10px; }

/* ---------- Featured episode ---------- */
.feature-ep {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(15, 28, 50, 0.7), rgba(4, 7, 13, 0.85));
  box-shadow: var(--shadow);
}
.feature-ep__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.feature-ep__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature-ep:hover .feature-ep__media img { transform: scale(1.04); }
.feature-ep__media .play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 74px; height: 74px; }
.feature-ep__info { padding: clamp(28px, 3.5vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.feature-ep__info h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; margin: 0; }
.feature-ep__info p { margin: 0; color: var(--text-2); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne);
}
.badge--live { border-color: rgba(232, 201, 135, 0.5); color: var(--gold-bright); }
.badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 10px var(--gold-bright); animation: blink 1.8s ease-in-out infinite; }

/* ---------- Episode grid ---------- */
.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 20px; }
.ep-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: rgba(10, 20, 36, 0.55); text-align: left; padding: 0;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
button.ep-card { cursor: pointer; }
.ep-card:hover { border-color: rgba(232, 201, 135, 0.35); transform: translateY(-4px); box-shadow: 0 0 30px rgba(201, 164, 92, 0.1); }
.ep-card__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.ep-card__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 1s var(--ease); }
.ep-card:hover .ep-card__thumb img { transform: scale(1.06); }
.ep-card--locked .ep-card__thumb img { filter: grayscale(.6) brightness(.45) blur(1px); }
.ep-card__lock {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--champagne);
}
.ep-card__lock svg { width: 26px; height: 26px; opacity: .85; }
.ep-card__body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.ep-card__num { font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.ep-card__title { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.12; }
.ep-card__syn { font-size: 13px; color: var(--text-3); margin: 0; line-height: 1.5; }
.ep-card--sealed .ep-card__thumb {
  background:
    radial-gradient(circle at 70% 30%, rgba(169, 193, 224, 0.12), transparent 40%),
    linear-gradient(135deg, #0b1527, #04070d);
}
.ep-card--sealed .ep-card__title { color: var(--text-3); font-style: italic; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--text-2); cursor: pointer;
  transition: border-color .3s, color .3s, background .3s;
}
.chip:hover { color: var(--champagne); border-color: var(--line-strong); }
.chip[aria-pressed="true"] { color: #1a1206; background: var(--gold); border-color: var(--gold); }

/* ---------- Secrets / mystery tiles ---------- */
.secrets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.secret {
  position: relative; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate; cursor: default;
}
.secret img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) brightness(.5); transform: scale(1.06); transition: filter .8s, transform 1.4s var(--ease); }
.secret::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,7,13,.2), rgba(4,7,13,.96) 78%); }
.secret__num { position: absolute; top: 22px; left: 26px; font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: .1em; }
.secret h3 { font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--champagne); margin: 0 0 12px; }
.secret p { font-family: var(--serif); font-size: 23px; line-height: 1.25; margin: 0; color: var(--ivory); }
.secret:hover img { filter: grayscale(0) brightness(.62); transform: scale(1.12); }
.secret:hover { border-color: rgba(232, 201, 135, 0.35); }

/* ---------- CTA band ---------- */
.band {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.band__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.band__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.band__card {
  padding: clamp(28px, 3.5vw, 48px); border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: rgba(10, 20, 36, 0.55); backdrop-filter: blur(12px);
  display: grid; gap: 18px;
}
.theories { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.theories li a {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line);
  font-family: var(--serif); font-size: 21px; line-height: 1.2;
  transition: border-color .3s, background .3s, color .3s;
}
.theories li a:hover { border-color: rgba(232, 201, 135, 0.4); background: rgba(201, 164, 92, 0.06); color: var(--gold-bright); }
.theories li a span { font-family: var(--sans); font-size: 18px; color: var(--gold); }

/* ---------- Signup ---------- */
.signup {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 85% 20%, rgba(169, 193, 224, 0.14), transparent 40%),
    radial-gradient(circle at 10% 100%, rgba(201, 164, 92, 0.14), transparent 45%),
    linear-gradient(135deg, rgba(15, 28, 50, 0.85), rgba(4, 7, 13, 0.9));
  padding: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center;
}
.signup__form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 14px 18px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: rgba(2, 4, 8, 0.6); color: var(--ivory);
  font: inherit; font-size: 15px; transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.14); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 13px; min-height: 1.5em; margin: 4px 0 0; color: var(--champagne); }
.form-note.is-error { color: #f0a59a; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-hero .lede { margin-top: 22px; }

/* ---------- Cast detail rows (cast page) ---------- */
.profile {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line);
}
.profile:nth-child(even) .profile__media { order: 2; }
.profile__media {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.profile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 20%); transition: transform 1.4s var(--ease); }
.profile__media:hover img { transform: scale(1.04); }
.profile__body { display: grid; gap: 16px; max-width: 620px; }
.profile__name { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.02; margin: 0; }
.profile__alias { font-family: var(--serif); font-style: italic; color: var(--champagne); font-size: clamp(22px, 2vw, 28px); }
.profile__hook { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.3; color: var(--ivory); margin: 0; border-left: 2px solid var(--gold); padding-left: 18px; }
.profile__bio { color: var(--text-2); margin: 0; }

/* ---------- Story page ---------- */
.prose { display: grid; gap: 22px; max-width: 720px; }
.prose p { margin: 0; color: var(--text-2); font-size: 17px; }
.prose p.big { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; color: var(--ivory); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.tall-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.tall-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.loc-grid .img-card { min-height: 360px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(10, 20, 36, 0.55); display: grid; gap: 12px; align-content: start; }
.contact-card h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin: 0; }
.contact-card p { margin: 0; color: var(--text-2); font-size: 14px; }

/* ---------- Video modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px;
  background: rgba(2, 4, 8, 0.86); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  position: relative; width: min(980px, 100%); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong); background: #000; box-shadow: var(--shadow);
  transform: scale(.96); transition: transform .45s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__box iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.modal__box--vertical { width: min(420px, 100%); }
.modal__box--vertical iframe { aspect-ratio: 9 / 16; max-height: 82vh; }
.modal__soon { padding: clamp(32px, 6vw, 64px); text-align: center; display: grid; gap: 14px; justify-items: center; }
.modal__soon h3 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 500; margin: 0; }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(0,0,0,.6); cursor: pointer; font-size: 20px; line-height: 1;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(2, 4, 8, 0.82); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 64px 0 44px; }
.footer__logo { width: 240px; height: auto; }
.footer__about { font-size: 14px; color: var(--text-3); max-width: 38ch; margin: 18px 0 0; }
.footer h4 { font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--text-2); transition: color .3s; }
.footer ul a:hover { color: var(--gold-bright); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 24px 0 32px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes rim-spin { to { --angle: 360deg; } }
@keyframes ring-spin { to { transform: rotate(1turn); } }
@keyframes shimmer { 0% { background-position: 140% 0; } 100% { background-position: -80% 0; } }
@keyframes gold-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(232, 201, 135, 0.25), 0 0 28px rgba(169, 193, 224, 0.12), inset 0 1px 0 rgba(255,255,255,.45); }
  50% { box-shadow: 0 0 20px rgba(232, 201, 135, 0.45), 0 0 42px rgba(169, 193, 224, 0.22), inset 0 1px 0 rgba(255,255,255,.45); }
}
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__pill { display: none; }
  .menu-toggle { display: inline-flex; }
  .cast-grid { grid-template-columns: repeat(3, 1fr); }
  .secrets { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero__grid, .feature-grid, .band, .signup, .split, .feature-ep { grid-template-columns: 1fr; }
  .media-frame--hero { max-height: none; margin: 0 auto; width: min(520px, 100%); }
  .profile { grid-template-columns: 1fr; }
  .profile:nth-child(even) .profile__media { order: 0; }
  .profile__media { width: min(520px, 100%); }
  .cast-grid--secondary { grid-template-columns: repeat(2, 1fr); }
  .loc-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .section-head--split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { height: 72px; }
  .mobile-menu { inset: 72px 0 0 0; }
  .brand__logo { height: 38px; }
  .brand__divider, .brand__tag { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .cast-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cast-card__name { font-size: 20px; }
  .cast-card__body { padding: 14px; }
  .feature-grid__cards, .secrets, .loc-grid, .contact-grid, .form-row { grid-template-columns: 1fr; }
  .secret { min-height: 300px; }
  .footer__grid { grid-template-columns: 1fr; }
  .ep-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ep-card__title { font-size: 18px; }
  .ep-card__syn { display: none; }
}

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