:root {
  --wine: #7b1e26;
  --wine-2: #9b2a33;
  --wine-deep: #3d0c11;
  --ink: #0f0b0b;
  --ink-2: #1a1314;
  --ink-3: #261c1d;
  --bone: #f4ede6;
  --bone-2: #e8ddd2;
  --rose: #e2a9a4;
  --muted: #a9999a;
  --muted-dark: #6b5a5b;
  --line: rgba(244, 237, 230, .12);
  --sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --script: "Allura", "Brush Script MT", cursive;
  --r: 18px;
  --gut: clamp(16px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 17px/1.55 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[id] { scroll-margin-top: 84px; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(34px, 6vw, 68px); }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0; }
.script { font-family: var(--script); font-weight: 400; font-style: normal; color: var(--rose); letter-spacing: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--bone); color: var(--ink); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

section { padding: clamp(64px, 10vw, 128px) var(--gut); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700; color: var(--rose); margin: 0 0 14px; }
.kicker.light { color: var(--bone); opacity: .8; }
.lede { color: var(--muted); font-size: clamp(17px, 2vw, 20px); margin: 18px 0 0; max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; justify-content: center;
  border: 0; border-radius: 999px; padding: 14px 22px; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: transform .2s var(--ease), background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-small { padding: 9px 16px; font-size: 14px; background: var(--bone); color: var(--ink); }
.btn-wine { background: var(--wine); color: var(--bone); }
.btn-wine:hover { background: var(--wine-2); }
.btn-ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--bone); }
.btn-ghost-dark { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .85; }
.btn-ghost-dark:hover { opacity: 1; }
.btn-play { background: var(--bone); color: var(--ink); padding: 10px 24px 10px 10px; text-align: left; }
.btn-play small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; opacity: .6; font-weight: 700; }
.btn-play b { display: block; font-size: 16px; line-height: 1.2; }
.play-ico {
  width: 44px; height: 44px; border-radius: 50%; background: var(--wine); flex: none; position: relative;
}
.play-ico::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
  border-left: 13px solid var(--bone); border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.is-playing .play-ico::after, .play-ico.pause::after {
  border: 0; width: 12px; height: 14px; transform: translate(-50%, -50%);
  background: linear-gradient(90deg, var(--bone) 0 35%, transparent 35% 65%, var(--bone) 65%);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gut);
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { text-decoration: none; display: flex; align-items: baseline; gap: 2px; line-height: 1; }
.logo-sans { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo-sans small { font-weight: 500; font-size: 13px; opacity: .75; }
.logo-script { font-family: var(--script); color: var(--rose); font-size: 32px; margin-left: 4px; }
.nav-links { display: none; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .8; }
.nav-links a:hover { opacity: 1; }
@media (min-width: 820px) { .nav-links { display: flex; } }

/* ---------- Hero ---------- */
.hero {
  display: grid; gap: 40px; align-items: center; min-height: calc(100svh - 70px);
  padding-top: 40px; padding-bottom: 56px;
  background:
    radial-gradient(80% 60% at 85% 30%, rgba(123, 30, 38, .55), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(123, 30, 38, .25), transparent 70%);
}
@media (min-width: 900px) { .hero { grid-template-columns: 1.15fr .85fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin: 0 0 22px;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5a5f; box-shadow: 0 0 0 0 rgba(255, 90, 95, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 90, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 95, 0); } }
.hero-title { font-size: clamp(64px, 14vw, 168px); line-height: .86; letter-spacing: -.045em; }
.ht-line { display: block; }
.ht-with { font-weight: 500; font-size: .42em; letter-spacing: -.01em; display: flex; align-items: baseline; gap: .1em; margin-top: .05em; }
.ht-with .script { font-size: 3.1em; line-height: .5; margin-left: -.02em; transform: translateY(.18em) rotate(-4deg); display: inline-block; }
.hero-sub { font-size: clamp(18px, 2.2vw, 22px); color: var(--bone-2); max-width: 560px; margin: clamp(56px, 7vw, 76px) 0 30px; }
.hero-sub strong { color: var(--bone); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: clamp(20px, 5vw, 48px); }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.hero-stats b small { font-size: .45em; font-weight: 600; margin-left: 2px; }
.hero-stats span { font-size: 13px; color: var(--muted); }

.hero-art { position: relative; width: min(420px, 82vw); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.ring text { fill: var(--rose); font: 700 10.5px var(--sans); letter-spacing: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }
.arch {
  width: 64%; aspect-ratio: 280 / 392; border-radius: 999px 999px 24px 24px; overflow: hidden;
  background: var(--wine-deep); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 0 6px rgba(123, 30, 38, .5);
}
.arch img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.08); }
.bars { position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; align-items: flex-end; height: 34px;
  background: var(--ink); padding: 8px 14px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); }
.bars i { width: 4px; height: 30%; background: var(--rose); border-radius: 4px; transition: height .2s; }
.bars.live i { animation: bar 1s var(--ease) infinite alternate; }
.bars.live i:nth-child(2n) { animation-duration: .7s; } .bars.live i:nth-child(3n) { animation-duration: 1.3s; } .bars.live i:nth-child(4n) { animation-duration: .9s; }
@keyframes bar { from { height: 18%; } to { height: 100%; } }
.host-tag { position: absolute; top: 12%; right: -2%; font-size: 13px; background: var(--ink-2); border: 1px solid var(--wine-2); border-radius: 8px; padding: 6px 10px; transform: rotate(4deg); }
.host-tag b { background: var(--wine); padding: 2px 6px; border-radius: 4px; margin-right: 6px; font-size: 11px; letter-spacing: .08em; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--wine); padding: 18px 0; transform: rotate(-1.5deg); margin: 0 -10px; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-weight: 800; font-size: clamp(20px, 3vw, 30px); letter-spacing: -.01em; padding: 0 22px; white-space: nowrap; }
.marquee span::after { content: "✦"; margin-left: 44px; color: var(--rose); font-size: .6em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Needs ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; max-width: 900px; }
.chip {
  border: 1.5px solid var(--line); background: var(--ink-2); border-radius: 999px; padding: 12px 20px; font-weight: 500; font-size: 16px;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--rose); }
.chip[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.match {
  margin-top: 28px; max-width: 900px; display: grid; gap: 20px; align-items: center;
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-deep) 100%); border-radius: var(--r); padding: clamp(20px, 3vw, 32px);
  animation: rise .5s var(--ease);
}
@media (min-width: 700px) { .match { grid-template-columns: 1fr auto; } }
.match p { margin: 0; }
.match .m-why { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.25; }
.match .m-ep { margin-top: 12px; font-size: 14px; color: var(--bone-2); }
.match .m-ep b { color: var(--bone); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Episodes ---------- */
.episodes { background: var(--ink-2); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filters button { background: none; border: 0; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.filters button[aria-selected="true"] { background: var(--ink-3); color: var(--bone); }
.ep-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ep { border-bottom: 1px solid var(--line); }
.ep-row { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 22px 0; }
.ep-num { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 4vw, 44px); color: var(--muted-dark); width: 1.6em; line-height: 1; }
.ep-main { min-width: 0; }
.ep-meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 6px; }
.ep-meta .tag { color: var(--rose); font-weight: 600; }
.ep-meta .done { color: #8fd19e; }
.ep-title { font-size: clamp(20px, 2.8vw, 32px); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
.ep-toggle { background: none; border: 0; padding: 0; text-align: left; width: 100%; }
.ep-toggle:hover .ep-title { color: var(--rose); }
.ep-sum { color: var(--muted); margin: 8px 0 0; font-size: 15px; max-width: 640px; }
.ep-play { width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--bone); position: relative; flex: none; transition: transform .2s var(--ease); }
.ep-play:hover { transform: scale(1.08); }
.ep-play::after { content: ""; position: absolute; left: 52%; top: 50%; transform: translate(-40%, -50%);
  border-left: 15px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.ep.is-playing .ep-play { background: var(--wine); }
.ep.is-playing .ep-play::after { border: 0; width: 14px; height: 16px; transform: translate(-50%, -50%);
  background: linear-gradient(90deg, var(--bone) 0 35%, transparent 35% 65%, var(--bone) 65%); }

.ep-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.ep.open .ep-body { grid-template-rows: 1fr; }
.ep-inner { overflow: hidden; }
.lesson { display: grid; gap: 16px; padding: 0 0 32px; }
@media (min-width: 900px) { .lesson { grid-template-columns: 1fr 1fr; padding-left: calc(1.6em * 44 / 17 + 16px); } }
.card { background: var(--ink-3); border-radius: var(--r); padding: 22px; }
.card h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--rose); margin-bottom: 14px; font-weight: 700; }
.card.big-idea { background: var(--wine); grid-column: 1 / -1; display: flex; flex-direction: column; gap: 16px; }
.card.big-idea h3 { color: var(--bone); opacity: .8; }
.card.big-idea blockquote { margin: 0; font-family: var(--serif); font-size: clamp(24px, 3.2vw, 38px); line-height: 1.15; }
.takeaways { margin: 0; padding: 0; list-style: none; counter-reset: t; }
.takeaways li { counter-increment: t; display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.takeaways li:first-child { border-top: 0; }
.takeaways li::before { content: counter(t, decimal-leading-zero); font-weight: 800; color: var(--rose); font-size: 13px; padding-top: 2px; }
.reflect p { font-family: var(--serif); font-size: 21px; line-height: 1.3; margin: 0 0 14px; }
.reflect textarea {
  width: 100%; min-height: 110px; resize: vertical; background: var(--ink); color: var(--bone); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font: 15px/1.5 var(--sans);
}
.reflect textarea:focus { outline: none; border-color: var(--rose); }
.saved { font-size: 12px; color: var(--muted); margin-top: 6px; min-height: 1em; }
.challenge { background: var(--bone); color: var(--ink); }
.challenge h3 { color: var(--wine); }
.challenge p { margin: 0 0 16px; font-size: 16px; }
.lesson-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.lesson-actions .btn { padding: 11px 18px; font-size: 14px; }
.check-btn[aria-pressed="true"] { background: #2a3d2e; box-shadow: none; color: #b9e6c3; opacity: 1; }

/* ---------- Watch ---------- */
.reels {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(260px, 68vw); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 calc(var(--gut) * -1); padding-inline: var(--gut);
  scrollbar-width: thin;
}
@media (min-width: 900px) { .reels { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding-inline: 0; max-width: 900px; } }
.reel {
  position: relative; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; background: var(--ink-3);
  scroll-snap-align: start; text-align: left; isolation: isolate; transition: transform .3s var(--ease);
}
.reel:hover { transform: translateY(-4px); }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.reel:hover img { transform: scale(1.04); }
.reel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(15, 11, 11, .95) 92%); }
.reel-play {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(244, 237, 230, .92); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .3s var(--ease);
}
.reel:hover .reel-play { transform: scale(1.1); }
.reel-play::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-left: 18px solid var(--wine); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.reel-text { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 6px; }
.reel-text b { font-size: 18px; line-height: 1.15; letter-spacing: -.01em; }
.reel-text small { font-size: 13px; color: var(--bone-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.reel-src { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(15, 11, 11, .7); padding: 4px 8px; border-radius: 999px; }

.reel-ep { position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 700; background: var(--wine); padding: 4px 8px; border-radius: 999px; }
.watch-more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.video-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.video-foot .video-src { margin-top: 0; }

/* ---------- Community ---------- */
.community { background: #0b3d2c; background: linear-gradient(135deg, #0e4a35 0%, #082a1f 100%); }
.community-inner { display: grid; gap: 24px; align-items: center; max-width: 1100px; }
@media (min-width: 900px) { .community-inner { grid-template-columns: auto 1fr auto; gap: 40px; } }
.community h2 { font-size: clamp(32px, 4.6vw, 56px); }
.community h2 .script { color: #9ff0c4; font-size: 1.4em; line-height: .6; }
.community p:not(.kicker) { color: #d6efe3; max-width: 560px; margin: 14px 0 0; }
.wa-ico { width: 76px; height: 76px; border-radius: 22px; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px -10px rgba(37, 211, 102, .6); }
.btn-bone { background: var(--bone); color: var(--ink); white-space: nowrap; justify-self: start; }
.hero-community { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--bone-2); text-decoration: none; }
.hero-community:hover { color: #9ff0c4; }
.hero-community[hidden] { display: none; }
.wa-dot { width: 10px; height: 10px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 4px rgba(37, 211, 102, .2); }

/* ---------- Promise ---------- */
.promise {
  background: var(--wine); position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center;
}
@media (min-width: 900px) { .promise { grid-template-columns: auto 1fr; gap: 64px; } }
.promise-num { font-size: clamp(160px, 30vw, 360px); font-weight: 800; letter-spacing: -.08em; line-height: .8; color: var(--wine-deep); }
.promise h2 { font-size: clamp(30px, 4.6vw, 56px); }
.promise h2 .script { color: var(--bone); font-size: 1.5em; line-height: .6; }
.promise p:not(.kicker) { max-width: 560px; color: var(--bone-2); font-size: 18px; margin-top: 18px; }

/* ---------- Journal ---------- */
.journal { background: var(--bone); color: var(--ink); }
.journal .kicker { color: var(--wine); }
.journal .lede { color: var(--muted-dark); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 28px; }
.stat { background: #fff; border-radius: var(--r); padding: 20px; }
.stat b { display: block; font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--wine); }
.stat span { font-size: 14px; color: var(--muted-dark); }
.progress { height: 6px; background: var(--bone-2); border-radius: 6px; margin-top: 12px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--wine); border-radius: 6px; transition: width .6s var(--ease); }
.entries { display: grid; gap: 12px; }
.entry { background: #fff; border-radius: var(--r); padding: 20px 22px; border-left: 4px solid var(--wine); }
.entry small { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--wine); font-weight: 700; }
.entry p { margin: 8px 0 0; white-space: pre-wrap; }
.empty { border: 2px dashed var(--bone-2); border-radius: var(--r); padding: 28px; text-align: center; color: var(--muted-dark); }
.empty a { color: var(--wine); font-weight: 700; }
.journal-actions { margin-top: 20px; }

/* ---------- About ---------- */
.about { display: grid; gap: 40px; align-items: center; background: radial-gradient(60% 80% at 0% 50%, rgba(123, 30, 38, .4), transparent 70%); }
@media (min-width: 900px) { .about { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.about-img { margin: 0; border-radius: var(--r); overflow: hidden; transform: rotate(-2deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); max-width: 460px; }
.about-img img { width: 100%; height: auto; }
.about h2 { font-size: clamp(32px, 4.6vw, 56px); }
.about h2 .script { font-size: 1.4em; line-height: .6; }
.big-quote { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 44px); color: var(--rose); margin: 24px 0; line-height: 1.1; }
.about-copy > p:not(.kicker):not(.big-quote) { color: var(--bone-2); max-width: 580px; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 28px; }
.pillars div { border-top: 2px solid var(--wine-2); padding-top: 12px; }
.pillars b { display: block; }
.pillars span { font-size: 14px; color: var(--muted); }

/* ---------- Ask ---------- */
.ask { background: var(--ink-2); }
.ask-form { max-width: 720px; display: grid; gap: 18px; }
.ask-form label { display: grid; gap: 8px; font-weight: 600; font-size: 15px; }
.ask-form label span { font-weight: 400; color: var(--muted); }
.ask-form input, .ask-form textarea {
  background: var(--ink); color: var(--bone); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; font: 16px/1.5 var(--sans);
}
.ask-form input:focus, .ask-form textarea:focus { outline: none; border-color: var(--rose); }
.ask-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Footer ---------- */
.footer { padding: 72px var(--gut) 140px; text-align: center; border-top: 1px solid var(--line); }
.footer-logo { display: inline-flex; align-items: baseline; }
.footer-logo .logo-sans { font-size: clamp(36px, 7vw, 72px); }
.footer-logo .logo-sans small { font-size: .45em; }
.footer-logo .logo-script { font-size: clamp(64px, 12vw, 128px); line-height: .5; }
.footer-tag { color: var(--muted); letter-spacing: .2em; text-transform: uppercase; font-size: 13px; margin: 18px 0 28px; }
.platforms { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.platforms a { display: inline-block; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); text-decoration: none; font-weight: 600; font-size: 14px; }
.platforms a:hover { box-shadow: inset 0 0 0 1.5px var(--rose); }
.fine { font-size: 13px; color: var(--muted-dark); margin: 0; }

/* ---------- Player ---------- */
.player {
  position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 50; width: min(760px, calc(100% - 24px));
  display: grid; grid-template-columns: 48px 1fr auto auto; gap: 12px; align-items: center;
  background: rgba(38, 28, 29, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 20px; padding: 10px 10px 10px 10px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .7);
  animation: up .45s var(--ease);
}
.player[hidden] { display: none; }
@keyframes up { from { transform: translate(-50%, 120%); } }
.pl-art { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.pl-info { min-width: 0; }
.pl-info b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-track { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pl-track input { flex: 1; min-width: 40px; accent-color: var(--rose); height: 4px; }
.pl-ext { font-size: 13px; color: var(--rose); font-weight: 600; text-decoration: none; }
.pl-ctrls { display: flex; align-items: center; gap: 2px; }
.pl-ctrls button { background: none; border: 0; padding: 8px 6px; font-size: 12px; font-weight: 700; color: var(--bone-2); border-radius: 8px; }
.pl-ctrls button:hover { background: var(--line); }
.pl-ctrls .pl-toggle { padding: 0; background: none; }
.pl-ctrls .pl-toggle:hover { background: none; }
.pl-ctrls .pl-toggle .play-ico { width: 40px; height: 40px; }
#pl-back, #pl-speed { display: none; }
@media (min-width: 560px) { #pl-back, #pl-speed { display: inline-block; } }
.pl-close { background: none; border: 0; font-size: 22px; color: var(--muted); padding: 4px 8px; }
.pl-embed { display: none; }
.player.embed { grid-template-columns: 1fr auto; padding: 8px; }
.player.embed .pl-art, .player.embed .pl-info, .player.embed .pl-ctrls { display: none; }
.player.embed .pl-embed { display: block; }
.pl-embed iframe { display: block; border: 0; border-radius: 12px; }

/* ---------- Episode link states ---------- */
.badge { background: var(--wine); color: var(--bone); border-radius: 999px; padding: 0 8px; font-weight: 700; font-size: 12px; }
.soon { color: var(--muted); font-style: italic; }
.badge.soon-badge { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.soon.big { font-size: 18px; }
.ep-ext {
  flex: none; text-decoration: none; font-weight: 700; font-size: 13px; padding: 10px 14px; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line); white-space: nowrap;
}
.ep-ext:hover { box-shadow: inset 0 0 0 1.5px var(--rose); color: var(--rose); }

/* ---------- Video modal ---------- */
.video-modal { border: 0; padding: 14px; background: var(--ink-2); color: var(--bone); border-radius: 20px; width: min(960px, calc(100% - 24px)); }
.video-modal::backdrop { background: rgba(0, 0, 0, .85); backdrop-filter: blur(4px); }
.video-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.video-head b { font-size: 16px; }
.video-box { width: 100%; background: #000; border-radius: 12px; overflow: hidden; max-height: 78vh; margin: 0 auto; }
.video-box.tall { width: min(100%, calc(78vh * 9 / 16)); }
.video-box iframe, .video-box video { width: 100%; height: 100%; border: 0; display: block; }
.video-src { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--rose); font-weight: 600; text-decoration: none; }

/* ---------- Card modal ---------- */
.card-modal { border: 0; padding: 16px; background: var(--ink-2); color: var(--bone); border-radius: 20px; max-width: min(440px, calc(100% - 24px)); }
.card-modal::backdrop { background: rgba(0, 0, 0, .75); backdrop-filter: blur(4px); }
.card-modal canvas { width: auto; max-width: 100%; max-height: 62vh; margin: 0 auto; height: auto; border-radius: 12px; display: block; }
.card-actions { display: grid; gap: 8px; margin-top: 14px; }

.toast {
  position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 60;
  background: var(--bone); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: all .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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