:root {
  --bg: #0c0a0d;
  --bg-soft: #161016;
  --card: #18121a;
  --line: #2c2230;
  --text: #f3ece6;
  --muted: #ab9f97;
  --gold: #e9b75a;
  --gold-soft: #f5d695;
  --ember: #d9744a;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1000px 560px at 78% -8%, rgba(233, 183, 90, 0.14), transparent 58%),
    radial-gradient(820px 460px at -8% 4%, rgba(217, 116, 74, 0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
}
.eyebrow.gold { color: var(--gold); }
.more { color: var(--gold); font-weight: 600; font-size: 14px; transition: color 0.15s; }
.more:hover { color: var(--gold-soft); }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px clamp(16px, 5vw, 40px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 10, 13, 0.82);
  backdrop-filter: blur(12px);
}
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 23px; letter-spacing: 0.02em; color: var(--gold-soft); }
.brand-host { color: var(--muted); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.site-nav > a, .nav-apps-label { color: #ece3d8; font-size: 16px; font-weight: 600; letter-spacing: 0.01em; transition: color 0.15s; }
.site-nav > a:hover, .nav-apps-label:hover { color: var(--gold); }
.nav-cta {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1c1305 !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 18px hsl(40 80% 50% / 0.28);
  transition: transform 0.12s, filter 0.12s;
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.08); color: #1c1305 !important; }

.nav-apps { position: relative; }
.nav-apps-label { cursor: pointer; position: relative; padding-right: 16px; }
.nav-apps-label::after { content: "▾"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 10px; opacity: 0.85; }
.nav-apps-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 12px; /* transparent bridge so hover doesn't drop between label and panel */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0s linear 0.15s;
  z-index: 60;
}
.nav-apps:hover .nav-apps-menu, .nav-apps:focus-within .nav-apps-menu { opacity: 1; visibility: visible; transition: opacity 0.15s ease, visibility 0s linear 0s; }
.nav-apps-panel {
  display: flex;
  flex-direction: column;
  min-width: 172px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}
.nav-apps-panel .app-link {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
}
.nav-apps-panel .app-link:hover { background: rgba(233, 183, 90, 0.14); color: var(--gold); }
.nav-toggle, .nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 80px) clamp(16px, 5vw, 40px) clamp(24px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.hero .geo {
  position: absolute;
  right: clamp(-180px, -8vw, -80px);
  top: -90px;
  width: clamp(320px, 46vw, 560px);
  height: clamp(320px, 46vw, 560px);
  color: var(--gold);
  opacity: 0.10;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  gap: clamp(24px, 5vw, 52px);
  align-items: center;
  flex-wrap: wrap;
}
.hero-art {
  width: clamp(170px, 30vw, 280px);
  aspect-ratio: 1;
  border-radius: 22px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(233, 183, 90, 0.25);
}

/* Animated three.js mandala (replaces the static cover on capable browsers) */
.hero-3d {
  position: relative;
  width: clamp(210px, 34vw, 330px);
  border-radius: 0;
  box-shadow: none;
}
.hero-3d::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle at 50% 50%, rgba(233, 183, 90, 0.14), transparent 66%);
  pointer-events: none;
}
.hero-3d canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}
.hero-3d.ready { cursor: pointer; }
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(233, 183, 90, 0.25);
  transition: opacity 1.6s ease;
  z-index: 2;
}
.hero-3d.ready .hero-fallback { opacity: 0; pointer-events: none; }
.hero-3d.ready.show-logo .hero-fallback { opacity: 1; }
.hero-text { flex: 1; min-width: 280px; }
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(44px, 8.5vw, 84px);
  line-height: 1.1;
  padding-bottom: 0.08em;
  margin: 8px 0 0;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-host { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 3vw, 27px); color: var(--text); margin: 8px 0 18px; }
.hero-tag { color: var(--muted); max-width: 46ch; font-size: clamp(15px, 2vw, 18px); }

/* ---------- Buttons ---------- */
.listen { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn {
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  transition: transform 0.12s, border-color 0.12s, color 0.12s;
}
.btn:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--gold); }

.hero-book {
  display: inline-block;
  margin-top: 22px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: #1c1305;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  box-shadow: 0 6px 24px hsl(40 80% 50% / 0.3);
  transition: transform 0.12s, filter 0.12s;
}
.hero-book:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: clamp(36px, 6vw, 64px) clamp(16px, 5vw, 40px) 80px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 10px; }
h2 { font-family: var(--serif); font-weight: 600; }
.section-head h2, .recent h2 { font-size: clamp(22px, 3vw, 28px); margin: 0; }

/* ---------- Cosmic tiles (psychedelic, one of 7 archetypes per episode) ---------- */
.tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #06040b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: hue var(--huedur, 16s) linear infinite;
  animation-delay: var(--huedelay, 0s);
}
.tile .lyr { position: absolute; inset: 0; }
.tile svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tile .stars circle { fill: #fff; animation: tw 3.4s ease-in-out infinite; }

@keyframes hue { to { filter: hue-rotate(360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes tw { 0%, 100% { opacity: 0.12; } 50% { opacity: 0.9; } }
@keyframes nebpulse { 0%, 100% { transform: scale(0.9); opacity: 0.7; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes drift { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }
@keyframes shimmer { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes ripple { 0% { transform: scale(0.04); opacity: 0; } 15% { opacity: 0.95; } 100% { transform: scale(1); opacity: 0; } }

/* Vortex — swirling color whirlpool (blue spiral) */
.t-vortex { background: radial-gradient(circle at 50% 50%, hsl(var(--h2) 80% 18%), #04030a 80%); }
.t-vortex .vx-bg {
  inset: -32%;
  background: conic-gradient(from 0deg, hsl(var(--h1) 88% 55%), hsl(var(--h2) 88% 42%), hsl(var(--h3) 88% 56%), hsl(var(--h1) 88% 42%), hsl(var(--h1) 88% 55%));
  opacity: 0.6; filter: saturate(1.4);
  animation: spin var(--spin) linear infinite; animation-direction: var(--dir);
}
.t-vortex .vx-arms { transform-origin: 50% 50%; animation: spin calc(var(--spin) * 0.7) linear infinite reverse; }
.t-vortex .vx-arms path { fill: none; stroke: hsl(0 0% 100% / 0.7); stroke-width: 1.1; }
.t-vortex .vx-core { background: radial-gradient(circle at 50% 50%, #000 5%, transparent 32%); }

/* Nebula — dark void with a glowing aura ring */
.t-nebula { background: radial-gradient(circle at 50% 52%, hsl(var(--h1) 55% 9%), #03020a 72%); }
.t-nebula .neb-ring {
  background: radial-gradient(circle at 50% 52%, transparent 30%, hsl(var(--h1) 95% 55% / 0.85) 41%, transparent 60%);
  mix-blend-mode: screen; transform-origin: 50% 52%;
  animation: nebpulse 5s ease-in-out infinite;
}
.t-nebula .neb-ring2 {
  background: radial-gradient(circle at 50% 52%, transparent 26%, hsl(var(--h2) 95% 60% / 0.6) 38%, transparent 55%);
  animation-duration: 7s; animation-delay: -2s;
}

/* Rays — radial light burst (pink light / aurora) */
.t-rays { background: radial-gradient(circle at 50% var(--cy, 60%), hsl(var(--h1) 70% 14%), #04020a 76%); }
.t-rays .ray-fan {
  inset: -42%;
  background: repeating-conic-gradient(from 0deg at 50% var(--cy, 60%), transparent 0 4deg, hsl(var(--h1) 95% 65% / 0.55) 4deg 5.5deg, transparent 5.5deg 9deg);
  mix-blend-mode: screen;
  -webkit-mask: radial-gradient(circle at 50% var(--cy, 60%), #000 8%, rgba(0,0,0,0.5) 40%, transparent 72%);
  mask: radial-gradient(circle at 50% var(--cy, 60%), #000 8%, rgba(0,0,0,0.5) 40%, transparent 72%);
  animation: spin calc(var(--spin) * 1.7) linear infinite; animation-direction: var(--dir);
}
.t-rays .ray-core { background: radial-gradient(circle at 50% var(--cy, 60%), hsl(var(--h2) 100% 82% / 0.9) 0%, transparent 22%); mix-blend-mode: screen; animation: nebpulse 4s ease-in-out infinite; }

/* Lines — wavy neon strands (lines of love) */
.t-lines { background: linear-gradient(180deg, #05040c, #0a0612); }
.t-lines .ln-svg path {
  fill: none; stroke: hsl(var(--hh) 92% 65%); stroke-width: 1.2; stroke-linecap: round;
  opacity: 0.85; mix-blend-mode: screen; filter: drop-shadow(0 0 1.6px hsl(var(--hh) 95% 60%));
  animation: drift 6s ease-in-out infinite; animation-delay: var(--d);
}

/* Shards — drifting iridescent crystals (mirror realm) */
.t-shards { background: radial-gradient(circle at 50% 40%, hsl(var(--h1) 50% 14%), #04030a 82%); }
.t-shards .sh-rot { transform-origin: 50% 50%; animation: spin calc(var(--spin) * 2) linear infinite; animation-direction: var(--dir); }
.t-shards polygon {
  fill: hsl(var(--hh) 85% 70% / var(--o)); stroke: hsl(var(--hh) 95% 85% / 0.6); stroke-width: 0.4;
  mix-blend-mode: screen; animation: shimmer 4s ease-in-out infinite; animation-delay: var(--d);
}

/* Mandala — psychedelic sacred geometry */
.t-mandala { background: conic-gradient(from 0deg, hsl(var(--h1) 80% 22%), hsl(var(--h2) 80% 20%), hsl(var(--h3) 80% 24%), hsl(var(--h1) 80% 22%)); }
.t-mandala .mand-bg { background: radial-gradient(circle at 50% 50%, transparent 38%, #04030a 86%); }
.t-mandala .mand-rot { transform-origin: 50% 50%; animation: spin var(--spin) linear infinite; animation-direction: var(--dir); }
.t-mandala .mand-rot path { fill: hsl(var(--h1) 85% 62% / 0.32); stroke: hsl(var(--h2) 92% 82% / 0.8); stroke-width: 0.5; mix-blend-mode: screen; }
.t-mandala .mand-ring { transform-origin: 50% 50%; animation: spin calc(var(--spin) * 1.5) linear infinite reverse; }
.t-mandala .mand-ring circle { fill: none; stroke: hsl(var(--h3) 90% 78% / 0.5); stroke-width: 0.5; }
.t-mandala .mand-core { fill: hsl(var(--h3) 95% 82%); transform-box: fill-box; transform-origin: center; animation: nebpulse 4s ease-in-out infinite; }

/* Ripple — expanding rings (wave) */
.t-ripple { background: radial-gradient(circle at 50% 50%, hsl(var(--h1) 70% 16%), #04030a 80%); }
.t-ripple .rp-bg { background: radial-gradient(circle at 50% 50%, hsl(var(--h2) 80% 30% / 0.4), transparent 60%); }
.t-ripple .rp-svg circle {
  fill: none; stroke: hsl(var(--h1) 90% 72%); stroke-width: 1; mix-blend-mode: screen;
  transform-origin: 50% 50%; transform-box: fill-box;
  animation: ripple 3.4s ease-out infinite; animation-delay: var(--d);
}

/* Phyllotaxis — golden-spiral bloom */
.t-phyllo { background: radial-gradient(circle at 50% 50%, hsl(var(--h1) 60% 12%), #04030a 84%); }
.t-phyllo .phy-rot { transform-origin: 50% 50%; animation: spin var(--spin) linear infinite; animation-direction: var(--dir); }
.t-phyllo circle { fill: hsl(calc(var(--h1) + var(--i) * 3) 88% 62%); mix-blend-mode: screen; animation: tw 3s ease-in-out infinite; animation-delay: calc(var(--i) * -0.04s); }

/* Kaleidoscope — mirrored radial symmetry */
.t-kaleido { background: radial-gradient(circle at 50% 50%, hsl(var(--h2) 65% 14%), #05030b 86%); }
.t-kaleido .kal-rot { transform-origin: 50% 50%; animation: spin var(--spin) linear infinite; animation-direction: var(--dir); }
.t-kaleido circle { fill: hsl(var(--h1) 88% 64% / var(--o)); mix-blend-mode: screen; }
.t-kaleido polygon { fill: hsl(var(--h3) 88% 64% / var(--o)); stroke: hsl(var(--h2) 92% 82% / 0.5); stroke-width: 0.4; mix-blend-mode: screen; }

/* Eye — glowing iris with a pulsing pupil */
.t-eye { background: radial-gradient(circle at 50% 50%, hsl(var(--h1) 70% 14%), #04020a 82%); }
.t-eye .eye-bg { background: radial-gradient(circle at 50% 50%, hsl(var(--h2) 80% 32% / 0.4), transparent 58%); }
.t-eye .eye-rot { transform-origin: 50% 50%; animation: spin calc(var(--spin) * 1.2) linear infinite; animation-direction: var(--dir); }
.t-eye line { stroke: hsl(var(--h2) 92% 68% / var(--o)); stroke-width: 0.7; mix-blend-mode: screen; }
.t-eye .eye-iris { fill: none; stroke: hsl(var(--h1) 90% 72%); stroke-width: 1.4; }
.t-eye .eye-glow { fill: none; stroke: hsl(var(--h3) 95% 78% / 0.5); stroke-width: 0.8; }
.t-eye .eye-pupil { fill: #05030a; stroke: hsl(var(--h3) 95% 82%); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: nebpulse 4s ease-in-out infinite; }

/* Aurora — drifting light curtains */
.t-aurora { background: linear-gradient(180deg, #04030c, #0a0714 70%, #0c0816); }
.t-aurora polygon { fill: hsl(var(--hh) 85% 60% / 0.5); mix-blend-mode: screen; filter: blur(2px); transform-origin: center; animation: auroramove 8s ease-in-out infinite; animation-delay: var(--d); }
@keyframes auroramove { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }

/* Tunnel — receding wormhole rings */
.t-tunnel { background: radial-gradient(circle at 50% 50%, hsl(var(--h1) 75% 14%), #03020a 86%); }
.t-tunnel .tun-bg { background: radial-gradient(circle at 50% 50%, hsl(var(--h2) 85% 35% / 0.5), transparent 55%); }
.t-tunnel .tun-rot { transform-origin: 50% 50%; animation: spin calc(var(--spin) * 2.4) linear infinite; animation-direction: var(--dir); }
.t-tunnel circle { fill: none; stroke: hsl(var(--h1) 90% 72%); stroke-width: 1.2; mix-blend-mode: screen; transform-box: fill-box; transform-origin: center; animation: recede 3.6s linear infinite; animation-delay: var(--d); }
@keyframes recede { 0% { transform: scale(1); opacity: 0; } 12% { opacity: 0.9; } 100% { transform: scale(0.04); opacity: 0; } }

/* Horizon — rainbow psychedelic landscape with a glowing sun */
.t-horizon { background: linear-gradient(180deg, hsl(var(--h1) 70% 14%), hsl(var(--h2) 75% 22%) 55%, hsl(var(--h3) 70% 12%)); }
.t-horizon .hz-sky { background: linear-gradient(180deg, transparent 40%, hsl(var(--h2) 85% 45% / 0.35) 63%, transparent 66%); }
.t-horizon .hz-sun { fill: hsl(var(--h3) 100% 78%); filter: drop-shadow(0 0 5px hsl(var(--h3) 100% 65%)); transform-box: fill-box; transform-origin: center; animation: nebpulse 5s ease-in-out infinite; }
.t-horizon .hz-mtn polygon { fill: hsl(var(--hh) 85% 55% / 0.92); stroke: hsl(var(--hh) 95% 78%); stroke-width: 0.5; }
.t-horizon .hz-ground { fill: hsl(var(--h1) 70% 7%); }

/* Plasma — lava-lamp blobs */
.t-plasma { background: radial-gradient(circle at 50% 50%, #0a0618, #05030c 90%); }
.t-plasma .blob { position: absolute; width: var(--s); aspect-ratio: 1; background: radial-gradient(circle, hsl(var(--hh) 90% 60% / 0.6), transparent 68%); mix-blend-mode: screen; filter: blur(5px); animation: float var(--dur) ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes float { from { transform: translate(-65%, -60%) scale(0.8); } to { transform: translate(-35%, -40%) scale(1.2); } }

/* Spirograph — rotating rosette */
.t-spiro { background: radial-gradient(circle at 50% 50%, hsl(var(--h1) 65% 12%), #04030a 86%); }
.t-spiro svg { transform-origin: 50% 50%; animation: spin var(--spin) linear infinite; animation-direction: var(--dir); }
.t-spiro path { fill: none; stroke: hsl(var(--h2) 92% 68%); stroke-width: 0.5; mix-blend-mode: screen; filter: drop-shadow(0 0 1.4px hsl(var(--h2) 95% 60%)); }

/* DNA — scrolling double helix */
.t-dna { background: linear-gradient(180deg, #060410, #0a0716); }
.t-dna .dna-s { fill: none; stroke: hsl(var(--h1) 90% 72%); stroke-width: 1.4; mix-blend-mode: screen; filter: drop-shadow(0 0 1.4px hsl(var(--h1) 90% 60%)); }
.t-dna line { stroke: hsl(var(--hh) 90% 66% / 0.85); stroke-width: 1; mix-blend-mode: screen; }

/* Flower of Life — sacred geometry */
.t-flower { background: radial-gradient(circle at 50% 50%, hsl(var(--h1) 60% 12%), #04030a 88%); }
.t-flower .fol-rot { transform-origin: 50% 50%; animation: spin var(--spin) linear infinite; animation-direction: var(--dir); }
.t-flower circle { fill: none; stroke: hsl(calc(var(--h1) + var(--i) * 6) 90% 72% / 0.9); stroke-width: 0.7; mix-blend-mode: screen; filter: drop-shadow(0 0 1px hsl(var(--h2) 90% 60%)); animation: glowpulse 4s ease-in-out infinite; animation-delay: calc(var(--i) * -0.15s); }
@keyframes glowpulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

/* Moire — interference shimmer */
.t-moire { background: radial-gradient(circle at 50% 50%, hsl(var(--h1) 60% 10%), #04030a 90%); }
.t-moire g circle { fill: none; stroke-width: 0.5; mix-blend-mode: screen; }
.t-moire .m-a circle { stroke: hsl(var(--h1) 90% 70% / 0.6); }
.t-moire .m-b circle { stroke: hsl(var(--h2) 90% 70% / 0.6); }
.t-moire .m-b { transform-origin: 50% 50%; animation: moiremove var(--spin) ease-in-out infinite alternate; }
@keyframes moiremove { from { transform: translate(-6px, -4px); } to { transform: translate(6px, 4px); } }

/* Lissajous — tracing oscilloscope curve */
.t-lissa { background: radial-gradient(circle at 50% 50%, hsl(var(--h2) 60% 12%), #04030a 86%); }
.t-lissa svg { transform-origin: 50% 50%; animation: spin calc(var(--spin) * 1.6) linear infinite; animation-direction: var(--dir); }
.t-lissa path { fill: none; stroke: hsl(var(--h1) 92% 70%); stroke-width: 0.9; mix-blend-mode: screen; filter: drop-shadow(0 0 1.6px hsl(var(--h1) 95% 62%)); animation: glowpulse 5s ease-in-out infinite; }

/* 3D tile overlay (tiles3d.js, homepage). The per-tile canvas fades in over the
   CSS tile; the CSS layers hide once the first frame is drawn but the tile's
   base gradient + hue-drift filter stay, so 3D inherits the color cycling. */
.tile-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}
.tile.t3d .tile-3d { opacity: 1; }
.tile.t3d > :not(.tile-3d) { visibility: hidden; transition: visibility 0s 0.55s; }

@media (prefers-reduced-motion: reduce) { .tile, .tile * { animation: none !important; } }

/* ---------- Featured episode ---------- */
.featured {
  display: flex;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 4vw, 38px);
  margin-bottom: clamp(40px, 6vw, 64px);
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(233, 183, 90, 0.10), transparent 60%),
    var(--card);
}
.featured-tile { width: clamp(150px, 20vw, 210px); flex-shrink: 0; border-radius: 16px; }
.featured-body { flex: 1; min-width: 0; }
.featured-title { font-size: clamp(26px, 4.4vw, 44px); line-height: 1.08; margin: 8px 0 10px; }
.featured-title a { color: var(--text); transition: color 0.15s; }
.featured-title a:hover { color: var(--gold); }
.featured-meta { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin: 0; }
.featured-notes { color: var(--muted); max-width: 72ch; margin: 20px 0 18px; }

/* ---------- Episode rows ---------- */
.ep-rows { list-style: none; margin: 0; padding: 0; }
.ep-row a {
  display: grid;
  grid-template-columns: 52px 108px minmax(0, 1fr) auto 16px;
  gap: 20px;
  align-items: center;
  padding: 14px 10px;
  border-top: 1px solid var(--line);
  transition: background 0.15s;
}
.row-tile { width: 52px; border-radius: 10px; }
.ep-row:last-child a { border-bottom: 1px solid var(--line); }
.ep-row a:hover { background: linear-gradient(90deg, rgba(233, 183, 90, 0.06), transparent 70%); }
.row-date { color: var(--gold); font-size: 13px; font-weight: 600; white-space: nowrap; }
.row-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.row-title { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--text); transition: color 0.15s; }
.row-excerpt { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-dur { color: var(--muted); font-size: 13px; white-space: nowrap; }
.row-play { color: var(--gold); opacity: 0; transition: opacity 0.15s; font-size: 13px; }
.ep-row a:hover .row-title { color: var(--gold); }
.ep-row a:hover .row-play { opacity: 1; }

/* ---------- Archive ---------- */
.archive h1 { font-family: var(--serif); font-size: clamp(30px, 6vw, 48px); margin: 0 0 8px; }
.archive-sub { color: var(--muted); font-size: 14px; }
.archive-sub a { color: var(--gold); font-weight: 600; margin: 0 2px; }
.ep-search {
  width: 100%;
  max-width: 460px;
  margin: 18px 0 4px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #0d0a0f;
  color: var(--text);
  font-size: 15px;
}
.ep-search::placeholder { color: #7d7168; }
.ep-search:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px hsl(40 80% 55% / 0.15); }
.ep-none { color: var(--muted); margin-top: 18px; }

/* ----- Episode guide (Start Here) ----- */
.guide h1 { font-family: var(--serif); font-size: clamp(30px, 6vw, 48px); margin: 0 0 10px; }
.guide-intro { color: var(--muted); font-size: 16px; max-width: 60ch; line-height: 1.6; }
.guide-intro a { color: var(--gold); font-weight: 600; }
.collection { margin-top: 48px; }
.collection > h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 30px);
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.collection-blurb { color: var(--muted); font-size: 15px; max-width: 62ch; line-height: 1.55; margin: 0 0 14px; }
.regular { margin-top: 30px; }
.regular h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 2px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.regular-count { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); }
.regular-blurb { color: var(--muted); font-size: 14px; max-width: 60ch; line-height: 1.5; margin: 0 0 10px; }
.guide-more { margin-top: 40px; }

.year { margin-top: 40px; }
.year h2 {
  font-size: 28px;
  color: var(--gold-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin: 0;
}
.ep-list { list-style: none; margin: 0; padding: 0; }
.ep-list li { border-bottom: 1px solid var(--line); }
.ep-list a { display: flex; gap: 18px; padding: 13px 4px; align-items: baseline; transition: color 0.12s; }
.ep-list a:hover { color: var(--gold); }
.ep-date { color: var(--muted); font-size: 13px; min-width: 112px; flex-shrink: 0; }
.ep-title { font-weight: 500; }

/* ---------- Episode page ---------- */
.episode { padding-top: 30px; }
.back { color: var(--muted); font-weight: 600; font-size: 14px; transition: color 0.12s; }
.back:hover { color: var(--gold); }
.ep-head { display: flex; gap: 22px; align-items: center; margin: 24px 0; flex-wrap: wrap; }
.ep-art { width: 132px; aspect-ratio: 1; border-radius: 16px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(233, 183, 90, 0.2); }
.ep-head .card-date { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.ep-head h1 { font-family: var(--serif); font-weight: 600; margin: 8px 0 0; font-size: clamp(26px, 4.4vw, 40px); line-height: 1.12; }
/* ---------- Custom audio player ---------- */
.player, .aplayer { width: 100%; }
.aplayer {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 18px);
  margin: 14px 0 28px;
  padding: 14px clamp(14px, 2.5vw, 20px);
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 120px at 0% 0%, rgba(233, 183, 90, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), var(--card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.featured-body .aplayer { margin: 20px 0 18px; }

/* Play / pause button */
.aplayer-btn {
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: linear-gradient(155deg, var(--gold-soft), var(--gold));
  box-shadow: 0 6px 20px hsl(40 80% 50% / 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  transition: transform 0.14s ease, box-shadow 0.2s ease;
}
.aplayer-btn:hover { transform: translateY(-1px) scale(1.04); box-shadow: 0 8px 26px hsl(40 80% 50% / 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.5); }
.aplayer-btn:active { transform: scale(0.96); }
.aplayer-btn svg { width: 22px; height: 22px; fill: #1c1305; }
.aplayer-btn .ic-play { margin-left: 2px; }
.aplayer-btn .ic-pause { display: none; }
.aplayer.is-playing .ic-play { display: none; }
.aplayer.is-playing .ic-pause { display: block; }
/* pulsing ring while playing */
.aplayer-ring { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid hsl(40 85% 60% / 0.6); opacity: 0; pointer-events: none; }
.aplayer.is-playing .aplayer-ring { animation: aplayer-pulse 1.8s ease-out infinite; }
@keyframes aplayer-pulse { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

.aplayer-main { flex: 1; min-width: 0; }

/* Waveform seek track */
.aplayer-track {
  position: relative;
  height: 34px;
  cursor: pointer;
  touch-action: none;
}
.aplayer-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.aplayer-wave { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; }
.wbar {
  flex: 1;
  height: calc(var(--h) * 1%);
  min-height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.13);
  transform-origin: center;
  transition: background 0.2s ease;
}
.wbar.on { background: linear-gradient(180deg, var(--gold-soft), var(--ember)); box-shadow: 0 0 6px hsl(40 90% 55% / 0.4); }
.aplayer.is-playing .wbar.on { animation: wavepulse 1.1s ease-in-out infinite; animation-delay: var(--d); }
@keyframes wavepulse { 0%, 100% { transform: scaleY(0.8); } 50% { transform: scaleY(1.14); } }
.aplayer-head {
  position: absolute;
  top: -3px; bottom: -3px;
  left: 0;
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: #fff6e2;
  box-shadow: 0 0 8px hsl(40 90% 60% / 0.9);
  pointer-events: none;
}

/* Time + controls row */
.aplayer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; flex-wrap: wrap; }
.aplayer-time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 600; }
.aplayer-cur { color: var(--gold); }
.aplayer-sep { opacity: 0.5; margin: 0 2px; }
.aplayer-ctrls { display: flex; align-items: center; gap: 14px; }

/* Volume */
.aplayer-vol { display: flex; align-items: center; gap: 7px; }
.aplayer-mute { background: none; border: 0; padding: 2px; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.aplayer-mute:hover { color: var(--gold); }
.aplayer-mute svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.aplayer-mute .spk { fill: currentColor; stroke: none; }
.ic-muted { display: none; }
.aplayer.is-muted .ic-vol { display: none; }
.aplayer.is-muted .ic-muted { display: block; }
.aplayer-vtrack { position: relative; width: 66px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); cursor: pointer; touch-action: none; }
.aplayer-vtrack:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.aplayer-vfill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--ember), var(--gold-soft)); }

.aplayer-speeds { display: flex; gap: 5px; }
.aplayer-speeds button {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.aplayer-speeds button:hover { color: var(--text); border-color: var(--gold); }
.aplayer-speeds button.is-active { color: #1c1305; background: linear-gradient(180deg, var(--gold-soft), var(--gold)); border-color: transparent; }

@media (max-width: 560px) {
  .aplayer { gap: 12px; padding: 12px 14px; }
  .aplayer-btn { width: 46px; height: 46px; }
  .aplayer-ctrls { gap: 10px; }
  .aplayer-vtrack { display: none; } /* mute button only; use device volume */
  .aplayer-speeds button { padding: 4px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .aplayer.is-playing .aplayer-ring, .aplayer.is-playing .wbar.on { animation: none; }
}
.notes { color: #ddd2c8; font-size: 16px; max-width: 70ch; }
.notes p { margin: 0 0 14px; }
.notes a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.ep-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 52px; border-top: 1px solid var(--line); padding-top: 22px; }
.ep-pager a { color: var(--muted); font-size: 14px; font-weight: 600; max-width: 45%; transition: color 0.12s; }
.ep-pager a:hover { color: var(--gold); }

/* ---------- Generic page ---------- */
.page h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 6vw, 48px); margin: 0 0 16px; }
.page p { max-width: 65ch; color: #ddd2c8; }
.page a { color: var(--gold); }

/* ---------- Book a reading ---------- */
.book h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 6vw, 48px); margin: 6px 0 14px; }
.book-intro { max-width: 60ch; color: #ddd2c8; font-size: clamp(15px, 2vw, 18px); }
.book-note { max-width: 60ch; margin-top: 18px; padding: 14px 18px; border-left: 2px solid var(--gold); background: rgba(233, 183, 90, 0.06); border-radius: 0 10px 10px 0; color: #e3d8cc; font-size: 14.5px; }
.booking-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 18px; }
.booking-tab { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; transition: color 0.12s, border-color 0.12s, background 0.12s; }
.booking-tab:hover { color: var(--text); border-color: var(--gold); }
.booking-tab.is-active { color: #1c1305; background: linear-gradient(180deg, var(--gold-soft), var(--gold)); border-color: transparent; }
.booking-tab-desc { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; max-width: 60ch; }
.cal-pane[hidden] { display: none; }
.booking-embed { margin: 0 0 24px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--card); }
.booking-fallback { margin: 28px 0 24px; padding: 28px clamp(20px, 4vw, 36px); border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(600px 200px at 100% 0%, rgba(233, 183, 90, 0.1), transparent 60%), var(--card); }
.booking-fallback p { margin: 0; color: #ddd2c8; max-width: 60ch; }
.booking-fallback a, .book-help a { color: var(--gold); }
.book-help { color: var(--muted); font-size: 14px; }

/* ---------- Newsletter ---------- */
.home-nl { margin-top: clamp(48px, 7vw, 72px); }
.nl-block {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(26px, 5vw, 44px);
  background: radial-gradient(700px 260px at 0% 0%, rgba(233, 183, 90, 0.1), transparent 60%), var(--card);
}
.nl-heading { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 4vw, 36px); margin: 6px 0 10px; }
.nl-blurb { color: var(--muted); max-width: 56ch; margin: 0 0 20px; }
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.nl-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #0d0a0f;
  color: var(--text);
  font-size: 15px;
}
.nl-form input[type="email"]::placeholder { color: #7d7168; }
.nl-form input[type="email"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px hsl(40 80% 55% / 0.15); }
.nl-form button {
  padding: 13px 26px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  font-size: 15px;
  color: #1c1305;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  cursor: pointer;
  box-shadow: 0 5px 20px hsl(40 80% 50% / 0.28);
  transition: transform 0.12s, filter 0.12s;
}
.nl-form button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.nl-msg { flex-basis: 100%; margin: 6px 0 0; color: var(--gold); font-weight: 600; }
.nl-fallback { color: var(--muted); font-size: 14px; }
.nl-fallback a { color: var(--gold); }
.subscribe { padding-top: clamp(36px, 6vw, 60px); }

/* Footer newsletter (compact) */
.footer-nl { max-width: 460px; margin: 0 auto 26px; }
.footer-nl-label { display: block; font-family: var(--serif); font-size: 18px; color: var(--gold-soft); margin-bottom: 12px; }
.footer-nl .nl-form { justify-content: center; }
.footer-nl .nl-form input[type="email"] { min-width: 180px; }
.footer-nl .nl-fallback { font-size: 13px; }

/* Signup popup */
.nl-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.nl-modal[hidden] { display: none; }
.nl-modal-backdrop { position: absolute; inset: 0; background: rgba(6, 4, 10, 0.74); backdrop-filter: blur(6px); }
.nl-modal-card {
  position: relative;
  z-index: 1;
  max-width: 440px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 42px);
  background: radial-gradient(600px 260px at 0% 0%, rgba(233, 183, 90, 0.12), transparent 60%), var(--card);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
  animation: nlpop 0.35s ease;
}
@keyframes nlpop { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.nl-modal-x { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; padding: 2px 8px; border-radius: 8px; }
.nl-modal-x:hover { color: var(--gold); }
.nl-modal-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(27px, 5vw, 40px);
  line-height: 1.12;
  margin: 6px 0 12px;
  padding-bottom: 0.06em;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nl-modal-card .nl-blurb { font-size: 15px; margin-bottom: 18px; }
.nl-modal-card .nl-form { flex-direction: column; align-items: stretch; gap: 12px; }
.nl-modal-card .nl-form input[type="email"], .nl-modal-card .nl-form button { width: 100%; }
@media (prefers-reduced-motion: reduce) { .nl-modal-card { animation: none; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px clamp(16px, 5vw, 40px); text-align: center; color: var(--muted); }
.footer-book { display: inline-block; margin-bottom: 26px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #1c1305; background: linear-gradient(180deg, var(--gold-soft), var(--gold)); box-shadow: 0 5px 20px hsl(40 80% 50% / 0.28); transition: transform 0.12s, filter 0.12s; }
.footer-book:hover { transform: translateY(-2px); filter: brightness(1.08); }
.social { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.social a { font-weight: 600; font-size: 14px; transition: color 0.12s; }
.social a:hover { color: var(--gold); }
.contact { font-size: 14px; }
.contact a { color: var(--gold); }
.copy { font-size: 12px; opacity: 0.7; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
  .nav-burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 10px;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav > a, .nav-apps { padding: 8px 0; }
  .nav-cta { display: inline-block; margin-top: 8px; padding: 10px 20px; }
  /* apps: label as a heading + links listed inline (no dropdown on mobile) */
  .nav-apps { display: block; }
  .nav-apps-label { display: block; cursor: default; }
  .nav-apps-label::after { display: none; }
  .nav-apps-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    padding-top: 4px;
  }
  .nav-apps-panel {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
  }
  .nav-apps-panel .app-link { padding: 8px 0 8px 16px; color: var(--muted); }
  .nav-apps-panel .app-link:hover { background: none; }
  .nav-apps-panel .app-link::before { content: "↳ "; }

  .featured { flex-direction: column; align-items: flex-start; }
  .featured-tile { width: 150px; }

  .ep-row a { grid-template-columns: 46px 1fr; column-gap: 14px; row-gap: 2px; padding: 14px 6px; align-items: center; }
  .row-tile { width: 46px; grid-row: 1 / span 2; align-self: center; }
  .row-date { grid-column: 2; }
  .row-body { grid-column: 2; }
  .row-dur, .row-play { display: none; }
  .row-excerpt { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* ---------- Persistent mini-player ---------- */
body.has-mini { padding-bottom: 78px; }
.mini {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px clamp(12px, 3vw, 26px);
  background: linear-gradient(180deg, rgba(24, 18, 26, 0.86), rgba(12, 10, 13, 0.94));
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-top: 1px solid rgba(233, 183, 90, 0.32);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mini.show { transform: translateY(0); }
.mini[hidden] { display: none; }

.mini-play {
  flex: none;
  width: 42px; height: 42px;
  border: none; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #241608;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 4px 16px hsl(40 80% 50% / 0.4);
  transition: transform 0.15s;
}
.mini-play:hover { transform: scale(1.06); }
.mini-play svg { width: 20px; height: 20px; fill: currentColor; }
.mini-play .ic-pause, .mini .ic-pause { display: none; }
.mini-play svg:nth-child(2) { display: none; }
.mini.is-playing .mini-play svg:nth-child(1) { display: none; }
.mini.is-playing .mini-play svg:nth-child(2) { display: block; }

.mini-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mini-title {
  font-family: var(--serif); font-weight: 600; font-size: 15px;
  color: var(--text); text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mini-title:hover { color: var(--gold); }
.mini-track {
  position: relative;
  height: 6px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}
.mini-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ember), var(--gold));
}
.mini-head {
  position: absolute; top: 50%; left: 0;
  width: 0; height: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 8px var(--gold);
}
.mini-track:hover .mini-fill { filter: brightness(1.12); }

.mini-time {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-size: 12.5px; color: var(--muted);
  white-space: nowrap;
}
.mini-speeds { flex: none; display: flex; gap: 4px; }
.mini-speeds button {
  border: 1px solid var(--line); background: transparent;
  color: var(--muted); font: inherit; font-size: 12px;
  padding: 4px 8px; border-radius: 999px; cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.mini-speeds button:hover { color: var(--gold); }
.mini-speeds button.is-active { color: #241608; background: var(--gold); border-color: var(--gold); font-weight: 600; }
.mini-x {
  flex: none;
  width: 30px; height: 30px;
  border: none; background: transparent;
  color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer;
  border-radius: 50%;
  transition: color 0.15s, background 0.15s;
}
.mini-x:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }

@media (max-width: 640px) {
  body.has-mini { padding-bottom: 66px; }
  .mini { gap: 10px; padding: 8px 12px; }
  .mini-speeds { display: none; }
  .mini-time { display: none; }
  .mini-play { width: 38px; height: 38px; }
}

/* ---------- Episode "book a reading" CTA ---------- */
.ep-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 38px 0 6px;
  padding: 22px 24px;
  border: 1px solid rgba(233, 183, 90, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(420px 200px at 90% 10%, rgba(233, 183, 90, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(24, 18, 26, 0.7), rgba(18, 14, 20, 0.7));
}
.ep-cta-tile { flex: none; width: 92px; height: 92px; border-radius: 14px; }
.ep-cta-body { min-width: 0; }
.ep-cta .eyebrow { margin: 0 0 4px; }
.ep-cta-head { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 0 0 6px; color: var(--text); }
.ep-cta-text { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; line-height: 1.5; }
.ep-cta-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #241608; font-weight: 600; font-size: 14.5px;
  text-decoration: none;
  box-shadow: 0 6px 20px hsl(40 80% 50% / 0.32);
  transition: transform 0.15s, box-shadow 0.15s;
}
.ep-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px hsl(40 80% 50% / 0.42); }

@media (max-width: 560px) {
  .ep-cta { flex-direction: column; text-align: center; gap: 14px; padding: 20px 18px; }
  .ep-cta-tile { width: 78px; height: 78px; }
}

/* ---------- Nav search ---------- */
.nav-search { display: flex; align-items: center; }
.nav-search input {
  width: 104px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  transition: width 0.2s ease, border-color 0.15s, background 0.15s;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-search input:focus {
  width: 170px;
  outline: none;
  border-color: rgba(233, 183, 90, 0.55);
  background: rgba(255, 255, 255, 0.08);
}
@media (max-width: 760px) {
  .nav-search { width: 100%; padding: 8px 0; }
  .nav-search input, .nav-search input:focus { width: 100%; max-width: 320px; }
}

/* ---------- Mini-player skip buttons ---------- */
.mini-skip {
  flex: none;
  width: 34px; height: 34px;
  border: none; border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid; place-items: center;
  transition: color 0.15s, background 0.15s;
}
.mini-skip:hover { color: var(--gold); background: rgba(255, 255, 255, 0.07); }
.mini-skip svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 640px) {
  .mini-prev { display: none; }
}

/* ---------- Episode transcript ---------- */
.transcript {
  margin: 26px 0 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(24, 18, 26, 0.5);
}
.transcript summary {
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--gold);
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::before { content: "▸"; transition: transform 0.15s; }
.transcript[open] summary::before { transform: rotate(90deg); }
.transcript summary:hover { color: var(--gold-soft); }
.transcript-meta { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.transcript-body {
  padding: 4px 20px 18px;
  border-top: 1px solid var(--line);
  max-height: 480px;
  overflow-y: auto;
}
.transcript-body p { font-size: 14.5px; line-height: 1.75; color: var(--muted); margin: 0 0 14px; }

/* ---------- Home "Start Here" doorway ---------- */
.start-here {
  margin: 40px 0;
  padding: 22px 24px 8px;
  border: 1px solid rgba(233, 183, 90, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(600px 220px at 88% -10%, rgba(233, 183, 90, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(24, 18, 26, 0.55), rgba(18, 14, 20, 0.35));
}
.start-here .section-head { margin-bottom: 2px; }
.start-here-sub { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0 0 6px; max-width: 62ch; }

/* ---------- Synchronicity Draw ---------- */
.sync-draw {
  border: 1px solid rgba(233, 183, 90, 0.45);
  background: rgba(233, 183, 90, 0.07);
  color: var(--gold);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.sync-draw:hover {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #241608;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px hsl(40 80% 50% / 0.3);
}
.sync-draw:disabled { opacity: 0.7; cursor: wait; transform: none; }
.section-head-links { display: flex; align-items: center; gap: 16px; }
.archive-tools { display: flex; align-items: center; gap: 12px; }
.archive-tools .ep-search { flex: 1 1 auto; }
.notfound .sync-draw { font-size: 14.5px; }

/* ---------- "Beyond the podcast" offers ---------- */
.offers { margin: 46px 0; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.offer-card {
  display: block;
  position: relative;
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(24, 18, 26, 0.6), rgba(18, 14, 20, 0.4));
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
a.offer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 183, 90, 0.5);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
}
.offer-tile { width: 54px; height: 54px; border-radius: 12px; margin-bottom: 12px; display: block; }
.offer-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin: 0 0 6px; color: var(--text); }
.offer-card p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 12px; }
.offer-cta { color: var(--gold); font-weight: 600; font-size: 14px; }
a.offer-card:hover .offer-cta { color: var(--gold-soft); }
.offer-links a { color: var(--gold); font-weight: 600; font-size: 14px; }
.offer-links a:hover { color: var(--gold-soft); }

@media (max-width: 760px) {
  .offer-grid { grid-template-columns: 1fr; }
  .section-head-links { gap: 10px; }
  .archive-tools { flex-direction: column; align-items: stretch; }
}

/* ---------- Related episodes ---------- */
.related { margin-top: 40px; }
.related-head { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 0 0 4px; }
