@font-face { font-family: "Playfair Display"; src: url(fonts/playfair.woff2) format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(fonts/sourcesans.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
:root {
  --lavender: #E6DDF1; --purple: #4B3A75; --red: #C4462F; --cream: #FAF6F0; --ink: #2A2140;
  --serif: "Playfair Display", Georgia, serif; --sans: "Source Sans 3", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.125rem/1.65 var(--sans); }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: #9a2f1d; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1rem; }
header { background: var(--lavender); }
header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.25rem 1.5rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.brand { font: 900 1.05rem/1.1 var(--serif); letter-spacing: 0.04em; color: var(--purple); text-decoration: none; display: flex; align-items: center; gap: 0.6rem; }
.brand img { width: 5.5rem; height: 2.75rem; display: block; }
nav { display: flex; gap: 0 0.9rem; flex-wrap: wrap; }
nav a { font-weight: 600; text-decoration: none; padding: 0.55rem 0; border-bottom: 3px solid transparent; }
nav a[aria-current] { border-bottom-color: var(--red); }
h1, h2 { font-family: var(--serif); font-weight: 900; color: var(--purple); line-height: 1.15; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); margin: 0 0 1rem; }
h2 { font-size: 1.6rem; margin: 2.5rem 0 0.5rem; }
.hero { background: var(--lavender); padding: 2.5rem 0 3rem; }
.hero .lede { font-size: 1.3rem; max-width: 34rem; }
.hero-row { display: grid; gap: 1.5rem; }
.hero-art { width: 100%; max-width: 21rem; justify-self: start; align-self: center; }
.hero-art img { width: 100%; height: auto; display: block; }
.pagehead { background: var(--lavender); padding: 2rem 0 2.25rem; }
.pagehead h1 { margin: 0; }
.pagehead p { margin: 0.5rem 0 0; font-size: 1.2rem; max-width: 34rem; }
.soon { border: 2px solid var(--purple); border-radius: 6px; background: #fff; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.soon h2 { margin-top: 0; font-size: 1.35rem; }
.soon p { margin: 0.4rem 0 0; }
.questions { padding-left: 1.25rem; }
.questions li { margin: 0.5rem 0; }
footer { background: var(--purple); color: var(--lavender); margin-top: 3rem; padding: 2rem 0; font-size: 1rem; }
footer p { margin: 0 0 0.75rem; }
footer .tag { font: 700 1.15rem/1.3 var(--serif); color: #fff; }
footer a { color: #fff; }
@media (min-width: 44rem) { .hero-row { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.player-audio { display: block; width: 100%; margin: 0.5rem 0; }
.player-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 6px; margin: 0.5rem 0; }
.eplist { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.eplist li { border-top: 1px solid var(--lavender); padding: 1.25rem 0; }
.eplist a { font: 900 1.4rem/1.2 var(--serif); text-decoration: none; display: block; }
.eplist p { margin: 0.35rem 0 0; }
.epnum { display: block; font: 600 0.95rem var(--sans); color: var(--red); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.2rem; }
details { margin: 1.5rem 0; overflow-wrap: anywhere; }
summary { cursor: pointer; font-weight: 600; padding: 0.75rem 0; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
.ep-art { display: block; width: min(100%, 22rem); height: auto; border-radius: 6px; margin: 1.5rem 0 0; }
.btn { display: inline-block; background: var(--purple); color: #fff; padding: 0.8rem 1.6rem; border-radius: 4px; font-weight: 600; text-decoration: none; min-height: 44px; }
.btn:hover { background: #9a2f1d; color: #fff; }
.episode-card { background: #fff; border: 2px solid var(--purple); border-radius: 6px; padding: 1.25rem 1.5rem; margin: 2rem 0; }
.episode-card h2 { margin: 0.25rem 0 0.5rem; font-size: 1.5rem; }
.episode-card h2 a { text-decoration: none; }
.notice { background: var(--lavender); border-color: var(--lavender); }
.notice p { margin: 0; }
footer .tag { font: 700 1.15rem/1.3 var(--serif); color: #fff; }
@media (max-width: 43.99rem) {
  header .wrap { display: block; }
  nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 0.5rem; margin-top: 0.25rem; }
  nav a { min-height: 44px; display: flex; align-items: center; padding: 0; }
  .hero { padding: 1.5rem 0 1.75rem; }
  .hero-row { gap: 0.5rem; }
}
.eplist a::after { content: " \2192"; color: var(--red); }
.trio { display: grid; gap: 1.5rem; margin: 2.5rem 0 0; }
.trio h2 { margin: 0 0 0.4rem; font-size: 1.35rem; border-top: 3px solid var(--red); padding-top: 0.75rem; }
.trio p { margin: 0; }
.closer { text-align: center; margin: 3rem 0 0; }
@media (min-width: 44rem) { .trio { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.portrait { display: block; width: 100%; height: auto; border-radius: 8px; }
.about-top, .about-why { display: grid; gap: 1.5rem; align-items: center; margin: 1rem 0; }
.about-top p, .about-why p { margin: 0 0 1rem; }
.about-top p:last-child, .about-why p:last-child { margin-bottom: 0; }
.about-top .portrait, .about-why .portrait { max-width: 18rem; }
@media (min-width: 44rem) { .hero-art { max-width: 21.25rem; justify-self: end; } .about-top { grid-template-columns: 1fr 15rem; } .about-why { grid-template-columns: 1fr 18rem; } }
.hero-sub { font-size: clamp(1.2rem, 4.1vw, 1.9rem); margin: -0.4rem 0 1rem; color: var(--purple); }
.ep-top { display: grid; gap: 1rem; }
.ep-top .ep-art { margin: 0; }
h3 { font: 900 1.2rem/1.2 var(--serif); color: var(--purple); margin: 1.75rem 0 0.4rem; }
@media (min-width: 44rem) { .ep-top { grid-template-columns: 1fr 15rem; gap: 2rem; align-items: start; } .ep-top .ep-art { width: 100%; margin-top: 1.5rem; } }
.player-on > audio { display: none; }
.pl { display: grid; grid-template-columns: auto auto auto 1fr; gap: 0.35rem 0.6rem; align-items: center; background: var(--lavender); border-radius: 10px; padding: 0.75rem 0.9rem; }
.pl-btn { font: 600 0.95rem var(--sans); color: var(--purple); background: #fff; border: 2px solid var(--purple); border-radius: 999px; min-width: 44px; min-height: 44px; padding: 0 0.6rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.15rem; }
.pl-btn svg { width: 1.3rem; height: 1.3rem; }
@media (hover: hover) { .pl-btn:hover { background: var(--purple); color: #fff; } .pl-play:hover { background: #9a2f1d; border-color: #9a2f1d; } }
.pl-play { background: var(--purple); color: #fff; width: 3.25rem; height: 3.25rem; }
.pl-skip span { font-size: 0.8rem; }
.pl-btn:focus-visible, .pl-seek:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.pl-speed { justify-self: end; width: 4.2rem; }
.pl-bar { grid-column: 1 / -1; min-width: 0; }
.pl-seek { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; background: transparent; margin: 0; cursor: pointer; --pl-fill: 0%; }
.pl-seek::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--red) var(--pl-fill), #fff var(--pl-fill)); border: 1px solid var(--purple); }
.pl-seek::-moz-range-track { height: 6px; border-radius: 3px; background: #fff; border: 1px solid var(--purple); }
.pl-seek::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--red); }
.pl-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--purple); border: 2px solid #fff; margin-top: -10px; }
.pl-seek::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--purple); border: 2px solid #fff; }
.pl-times { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.pl-msg { grid-column: 1 / -1; margin: 0; font-size: 1rem; }
.is-loading .pl-play { opacity: 0.7; }
.is-error .pl-btn, .is-error .pl-seek { opacity: 0.5; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Hero flowers: one number, --wilt (0 in bloom, 1 dry and bowed), drives every flower. A scroll-driven
   animation sets it from the hero leaving the viewport; assets/wilt.js sets it where that is unsupported. */
@property --wilt { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --grow { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes wilt { to { --wilt: 1; } }
@keyframes grow { to { --grow: 1; } }
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
@supports (animation-timeline: view()) {
  .hero { animation: wilt linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  footer:has(.seeds) { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% entry 100%; }
}
.flowers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; color: var(--ink); --p: clamp(0, calc(var(--wilt) * 1.25), 1); opacity: calc(1 - var(--wilt) * 0.1); }
.flowers .fl { rotate: calc(var(--bend) * var(--p)); }
.flowers .hd { rotate: calc(var(--droop) * var(--p)); scale: 1 calc(1 - var(--p) * 0.42); }
.flowers .lv { opacity: calc(1 - var(--p) * 0.25); }
.flowers .gp { opacity: clamp(0, calc((var(--wilt) - 0.45) * 2.2), 1); }
.flowers .fp { --f: clamp(0, calc((var(--wilt) - var(--s)) * 3.2), 1); translate: calc(var(--dx) * var(--f)) calc(var(--dy) * var(--f)); rotate: calc(var(--rt) * var(--f)); opacity: calc(1 - clamp(0, calc((var(--f) - 0.55) * 2.2), 1)); transform-box: fill-box; transform-origin: center; }
footer { position: relative; }
.seeds { position: absolute; right: 1.25rem; bottom: 0; width: 15rem; height: auto; color: #fff; opacity: 0.8; pointer-events: none; }
.seeds .sd { --g: clamp(0, calc((var(--grow) - var(--s)) * 1.8), 1); translate: 0 calc(var(--dy) * var(--g)); opacity: calc(1 - var(--g) * 0.4); }
.seeds .sp { transform-box: view-box; transform-origin: 112px 118px; scale: 1 clamp(0, calc((var(--grow) - 0.6) * 2.5), 1); opacity: clamp(0, calc((var(--grow) - 0.6) * 2.5), 1); }
@media (prefers-reduced-motion: reduce) {
  .hero { animation: none; --wilt: 0.5; }
  footer:has(.seeds) { animation: none; --grow: 1; }
}
@media (max-width: 43.99rem) {
  .hero { padding-bottom: 9.5rem; }
  .flowers { top: auto; bottom: 0; height: auto; aspect-ratio: 1280 / 560; }
}
