/* ═════════════════ Stoopkid Stories ═════════════════
   Tokens first; everything below is driven from them. */

@font-face { font-family: "Adigiana Extreme"; src: url("../fonts/adigiana-extreme.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-var.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Archivo Black"; src: url("../fonts/archivo-black.woff2") format("woff2"); font-display: swap; }

:root {
  /* Palette: the existing site plus the hero art and cover art */
  --page: #ECF0F1;
  --paper: #FFFFFF;
  --ink: #2C3E50;
  --ink-2: #4B5B6B;
  --muted: #6B7A88;
  --line: #D9E0E3;
  --red: #E30808;
  --green: #2ECC71;
  --green-deep: #1f7643;
  --sun: #F1C40F;
  --sun-deep: #C99E07;
  --star: #F4DC72;
  --sky: #2B7FBB;
  --sky-soft: #E2EFF8;
  --brick: #7A5646;
  --brick-deep: #573B30;
  --cream: #FBF3E4;
  --night: #38383B;

  --f-display: "Adigiana Extreme", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-ui: "Archivo Black", "Figtree", system-ui, sans-serif;

  --edge: clamp(10px, 0.9vw, 14px);
  --gutter: clamp(16px, 4vw, 40px);
  --tab-r: 26px;
  --r-xl: clamp(22px, 2.4vw, 34px);
  --r-lg: 24px;
  --r-md: 18px;
  --shadow-sm: 0 1px 2px rgba(44, 62, 80, .06), 0 6px 18px rgba(44, 62, 80, .07);
  --shadow-md: 0 2px 4px rgba(44, 62, 80, .05), 0 18px 40px rgba(44, 62, 80, .12);
  --shadow-lg: 0 30px 70px rgba(44, 62, 80, .2);
  --spring: cubic-bezier(.2, .9, .3, 1.15);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dock-space: 0px;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 17px/1.6 var(--f-body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }

main > section { overflow-x: clip; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 2 * var(--gutter)); }

.display {
  font: 400 clamp(40px, 5.4vw, 70px)/1.02 var(--f-display); letter-spacing: .01em;
  text-align: center; color: var(--ink); margin-bottom: clamp(28px, 4vw, 48px);
}
.prose p + p { margin-top: .85em; }
.prose p { white-space: pre-line; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 400 13.5px/1 var(--f-ui); letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  padding: 16px 28px; border: 0; border-radius: 999px; cursor: pointer;
  transition: transform .25s var(--spring), box-shadow .25s ease, background-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: 0 4px 0 var(--sun-deep), 0 12px 24px rgba(241, 196, 15, .35); }
.btn--sun:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--sun-deep), 0 16px 28px rgba(241, 196, 15, .42); }
.btn--sun:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sun-deep), 0 6px 12px rgba(241, 196, 15, .3); }
.btn--sun:focus-visible { outline-color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #17222d; }
.btn--ink:hover { transform: translateY(-2px); }
.btn--ink:active { transform: translateY(3px); box-shadow: 0 1px 0 #17222d; }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* ═════════════════ Navigation: notched tab that becomes a floating pill ═════════════════ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.nav__bar {
  pointer-events: auto; position: relative;
  width: min(1060px, 100% - 2 * var(--edge) - 2 * var(--tab-r) - 40px);
  display: flex; align-items: center; gap: 14px;
  padding: calc(var(--edge) + 8px) 10px 12px 22px;
  background: var(--page); border-radius: 0 0 var(--tab-r) var(--tab-r);
  transition: transform .5s var(--ease), border-radius .5s var(--ease), background-color .4s, box-shadow .4s, padding .5s var(--ease);
}
/* Concave fillets that melt the tab into the hero card's top edge */
.nav__bar::before, .nav__bar::after {
  content: ""; position: absolute; top: var(--edge); width: var(--tab-r); height: var(--tab-r);
  transition: opacity .3s;
}
.nav__bar::before { left: calc(-1 * var(--tab-r)); background: radial-gradient(circle at 0 100%, transparent calc(var(--tab-r) - .5px), var(--page) var(--tab-r)); }
.nav__bar::after { right: calc(-1 * var(--tab-r)); background: radial-gradient(circle at 100% 100%, transparent calc(var(--tab-r) - .5px), var(--page) var(--tab-r)); }

.nav.is-floating .nav__bar {
  transform: translateY(12px); padding-top: 10px; padding-bottom: 10px;
  border-radius: 999px; background: rgba(255, 255, 255, .88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 12px 36px rgba(44, 62, 80, .16);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.nav.is-floating .nav__bar::before, .nav.is-floating .nav__bar::after { opacity: 0; }

.nav__brand { flex: none; display: block; border-radius: 10px; transition: transform .35s var(--spring); }
.nav__brand:hover { transform: rotate(-2deg) scale(1.03); }
.nav__brand img { width: clamp(142px, 15vw, 186px); }

.nav__menu { position: relative; flex: 1; display: flex; justify-content: center; gap: 4px; }
.nav__menu a {
  position: relative; z-index: 1; padding: 9px 16px; border-radius: 999px;
  font: 650 16px/1.2 var(--f-body); color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: color .2s;
}
.nav__menu a:hover { color: var(--sky); }
.nav__menu a[aria-current="true"] { color: var(--ink); }
.nav__pill {
  position: absolute; top: 50%; left: 0; height: 38px; width: 0; translate: var(--x, 0) -50%;
  background: var(--sun); border-radius: 999px; opacity: 0; z-index: 0;
  transition: translate .45s var(--spring), width .45s var(--spring), opacity .3s;
}
.nav__pill.is-on { opacity: 1; }

.nav__cta {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; text-decoration: none; border-radius: 999px;
  padding: 12px 20px; font: 700 15px/1 var(--f-body);
  transition: transform .25s var(--spring), background-color .2s;
}
.nav__cta svg { width: 18px; height: 18px; }
.nav__cta:hover { transform: translateY(-1px) scale(1.03); background: #1d2b38; }
.nav__cta.is-live svg { animation: bob 1.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-2px) rotate(-6deg); } }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  :root { --tab-r: 20px; }
  .nav__bar { width: calc(100% - 2 * var(--edge) - 2 * var(--tab-r)); padding-left: 14px; padding-right: 8px; gap: 8px; }
  .nav__brand { margin-right: auto; }
  .nav__toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer;
  }
  .nav__toggle svg { width: 22px; height: 22px; }
  .nav__cta { padding: 12px 16px; }
  .nav__menu {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 10px;
    background: var(--paper); border-radius: 22px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center;
    transition: opacity .25s, transform .3s var(--spring), visibility 0s .3s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--spring); }
  .nav__menu a { padding: 14px 16px; font-size: 18px; }
  .nav__menu a[aria-current="true"] { background: var(--sun); }
  .nav__pill { display: none; }
}
@media (max-width: 420px) {
  .nav__cta-more { display: none; }
  .nav__brand img { width: 136px; }
}

/* ═════════════════ Hero ═════════════════ */
.hero { padding: var(--edge) var(--edge) 0; position: relative; }
.hero__card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  height: clamp(400px, min(50.3vw, 77svh), 900px);
  background:
    radial-gradient(120% 60% at 50% 100%, #f4f1ec 0%, transparent 70%),
    linear-gradient(180deg, #cfc6bc 0%, #ddd6cd 70%, #e8e4de 100%);
}
.hero__art {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%;
  transform-origin: 50% 85%;
  animation: hero-in 1.4s var(--ease) both;
  will-change: transform;
}
@keyframes hero-in { from { transform: scale(1.06); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hero__chalk { position: absolute; inset: 0; width: 100%; height: 100%; background:var(--page); }
.chalk path {
  fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: chalk 2.2s .9s var(--ease) forwards;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .6));
}
.chalk--hop .chalk__edge { stroke: var(--ink); stroke-width: 6; filter: none; }
.chalk--star path { stroke: rgba(241, 196, 15, .9); animation-delay: 1.4s; }
.chalk--swirl path { stroke: rgba(46, 204, 113, .8); animation-delay: 1.8s; }
@keyframes chalk { to { stroke-dashoffset: 0; } }

.twinkle {
  position: absolute; width: 22px; height: 22px; background: var(--star);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: twinkle 3.2s ease-in-out infinite; pointer-events: none;
}
.twinkle--1 { left: 9%; top: 16%; }
.twinkle--2 { right: 11%; top: 11%; width: 30px; height: 30px; animation-delay: 1.1s; }
.twinkle--3 { left: 31%; top: 7%; width: 16px; height: 16px; animation-delay: 2.2s; }
@keyframes twinkle { 0%, 100% { transform: scale(.4) rotate(0); opacity: .2; } 45% { transform: scale(1) rotate(45deg); opacity: 1; } }

.hero__chip {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 12px;
  margin: -30px auto 0; width: max-content; max-width: calc(100% - 32px);
  padding: 8px 22px 8px 8px; border: 0; border-radius: 999px; cursor: pointer; text-align: left;
  background: var(--paper); box-shadow: var(--shadow-md);
  animation: rise .9s 1s var(--spring) both;
  transition: transform .3s var(--spring), box-shadow .3s;
}
.hero__chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.hero__chip-icon {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--red); color: #fff; position: relative;
}
.hero__chip-icon svg { width: 22px; height: 22px; margin-left: 2px; }
.hero__chip-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: ping 2.4s ease-out infinite; }
.hero__chip.is-playing .hero__chip-icon { background: var(--green-deep); }
.hero__chip.is-playing .hero__chip-icon::after { border-color: var(--green-deep); }
.hero__chip-text { display: grid; line-height: 1.2; min-width: 0; }
.hero__chip-kicker { font: 400 11px/1.2 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.hero__chip-text strong { font: 400 20px/1.15 var(--f-display); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 700px) {
  .hero__card { height: 380px; }
  .hero__art { object-position: 52% 100%; }
  .twinkle--3 { display: none; }
}

/* ═════════════════ Intro ═════════════════ */
.intro { padding: clamp(14px, 2vw, 40px) 0 clamp(56px, 8vw, 110px); text-align: center; }
.intro__title {
  font: 400 clamp(34px, 4.8vw, 66px)/1.06 var(--f-display); color: var(--red); letter-spacing: .01em;
  max-width: 25ch; margin: 0 auto clamp(22px, 3vw, 34px); text-wrap: balance;
}
.intro__title .w { display: inline-block; }
.js .intro__title .w { animation: word .8s calc(var(--i) * 70ms + 200ms) var(--spring) both; }
@keyframes word { from { opacity: 0; transform: translateY(.5em) rotate(-6deg) scale(.85); } to { opacity: 1; transform: none; } }
.intro__copy { font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-2); max-width: 62ch; margin-inline: auto; }

/* Photos flank the headline and copy on desktop; they drop below as a pair on smaller screens */
.intro__grid {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 680px) minmax(0, 1fr);
  grid-template-areas: "left body right";
  gap: clamp(24px, 3.4vw, 56px);
  width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto;
}
.intro__body { grid-area: body; min-width: 0; }
.bloom--green { grid-area: left; align-self: start; margin-top: clamp(0px, 2vw, 28px); }
.bloom--sun { grid-area: right; align-self: end; margin-bottom: clamp(0px, 2vw, 28px); }
.bloom { position: relative; margin: 0; aspect-ratio: 1; width: 100%; max-width: 290px; justify-self: center; display: grid; place-items: center; }
.bloom__shape { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 48s linear infinite; }
.bloom--green .bloom__shape path { fill: var(--green); }
.bloom--sun .bloom__shape path { fill: var(--sun); }
.bloom--sun .bloom__shape { animation-direction: reverse; animation-duration: 64s; }
.bloom__img {
  position: relative; width: 80%; aspect-ratio: 1; object-fit: cover; clip-path: url(#clip-scallop);
  transition: transform .6s var(--spring);
}
.bloom:hover .bloom__img { transform: scale(1.05) rotate(-3deg); }
/* Side photos slide in from their own edge */
.js .bloom--green[data-reveal] { transform: translateX(-40px) rotate(-6deg); }
.js .bloom--sun[data-reveal] { transform: translateX(40px) rotate(6deg); }
.js .bloom[data-reveal].is-in { transform: none; }

@media (min-width: 961px) {
  .intro__title { font-size: clamp(38px, 3.7vw, 56px); }
}
@media (min-width: 961px) and (max-width: 1240px) {
  .intro__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 540px) minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .intro__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "body body" "left right";
    row-gap: clamp(32px, 5vw, 48px); column-gap: clamp(20px, 6vw, 70px);
    width: min(760px, 100% - 2 * var(--gutter));
  }
  .bloom--green, .bloom--sun { align-self: start; margin: 0; }
  .bloom--green { margin-top: clamp(0px, 4vw, 36px); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═════════════════ Video bands ═════════════════ */
.band {
  --curve-line: var(--green); --curve-fill: var(--paper);
  position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  min-height: clamp(300px, 44vw, 640px); background: #1b1b1d;
  border-top: 10px solid var(--curve-line);
}
.band__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 45%, rgba(0, 0, 0, .05), rgba(0, 0, 0, .45)); }
.band__play {
  display: grid; justify-items: center; gap: 14px; border: 0; background: none; cursor: pointer; color: #fff;
  margin-bottom: 4vw; border-radius: 24px; padding: 8px;
}
.play-ring {
  position: relative; display: grid; place-items: center; width: clamp(84px, 9vw, 116px); aspect-ratio: 1; border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, .95); background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .35s var(--spring), background-color .3s;
}
.play-ring svg { width: 44%; height: 44%; margin-left: 6%; }
.play-ring::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .8); animation: ping 2.6s ease-out infinite; }
.band__play:hover .play-ring { transform: scale(1.08); background: rgba(255, 255, 255, .28); }
.band__label { font: 400 13px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.band__curve { position: absolute; left: 0; bottom: -1px; width: 100%; height: 6.5vw; min-height: 34px; overflow: visible; }
.band__curve-fill { fill: var(--curve-fill); }
.band__curve-line { fill: none; stroke: var(--curve-line); stroke-width: 14px; vector-effect: non-scaling-stroke; }
/* The curve swells from a flat edge as the band scrolls in */
.js .band__curve { transform: scaleY(.05); transform-origin: 50% 100%; transition: transform 1.3s var(--spring); }
.js .band.is-in .band__curve { transform: none; }

/* ═════════════════ Podcast ═════════════════ */
.podcast { background: var(--paper); padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 120px); }

.stats {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1040px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(12px, 2vw, 22px);
}
.stat {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
  transition: transform .35s var(--spring), box-shadow .35s;
}
.stat--feature {
  border: 2.5px solid transparent;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, linear-gradient(120deg, var(--sun), var(--red)) border-box;
}
.stat__icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--page); color: var(--ink-2); }
.stat__icon svg { width: 26px; height: 26px; }
.stat__text { display: grid; }
.stat__num { font: 400 clamp(42px, 3vw, 48px)/1 var(--f-display); color: var(--green-deep); font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 4px; font: 800 13px/1.2 var(--f-body); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }

.podcast__intro { max-width: 760px; margin: clamp(32px, 4vw, 52px) auto 0; text-align: center; }
.podcast__blurb { font-size: clamp(17px, 1.3vw, 19.5px); color: var(--ink-2); }
.podcast__ages { margin-top: 12px; font-weight: 700; font-style: italic; color: var(--ink); }

/* ───────── Creator profile band ───────── */
.host-band {
  position: relative; overflow: hidden; color: #fff;
  margin: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
  padding: clamp(44px, 5vw, 70px) 0;
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(255, 255, 255, .10), transparent 60%),
    radial-gradient(1.6px 1.6px at 12px 12px, rgba(255, 255, 255, .16) 98%, transparent) 0 0 / 26px 26px,
    linear-gradient(120deg, var(--green-deep) 0%, var(--green-deep) 100%);
}
.host-band__star { position: absolute; right: -90px; top: 50%; width: 380px; height: 380px; translate: 0 -50%; color: var(--sun); opacity: .12; animation: spin 80s linear infinite; }
.host {
  position: relative; display: grid; align-items: center;
  grid-template-columns: clamp(150px, 15vw, 196px) minmax(0, 250px) minmax(0, 1fr);
  gap: clamp(22px, 3.6vw, 56px);
}
.host__photo { position: relative; aspect-ratio: 1; }
.host__photo img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: var(--star); box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.host__ring { position: absolute; inset: -11px; border-radius: 50%; border: 3px dashed var(--sun); animation: spin 30s linear infinite; }
.host__kicker { font: 400 12px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--star); }
.host__name { font: 400 clamp(34px, 3.3vw, 46px)/1.02 var(--f-display); margin: 10px 0 16px; }
.socials { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25);
  transition: transform .3s var(--spring), background-color .2s, color .2s;
}
.socials a:hover { transform: translateY(-4px) rotate(-8deg); background: var(--sun); color: var(--ink); }
.socials a:focus-visible { outline-color: var(--sun); }
.socials svg { width: 20px; height: 20px; }
.host__bio { font-size: 16.5px; line-height: 1.65; color: rgba(255, 255, 255, .92); }
.host__bio p + p:last-child {
  margin-top: 16px; padding-left: 16px; border-left: 4px solid var(--sun);
  font: 400 clamp(24px, 2.77vw, 32px)/1.3 var(--f-display); color: #fff;
}

/* ───────── Player: now playing + season playlist ───────── */
.player {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  background: var(--paper); border-radius: 30px; border: 1.5px solid var(--line); box-shadow: var(--shadow-md);
}
.player__now {
  display: grid; align-content: start; gap: 22px 28px; min-width: 0;
  grid-template-columns: clamp(150px, 14vw, 196px) minmax(0, 1fr);
  grid-template-areas: "art head" "transport transport" "status status" "subs subs";
  grid-template-rows: auto auto auto 1fr;
  padding: clamp(24px, 2.8vw, 36px);
}
.player__art { grid-area: art; position: relative; }
.player__art-frame { position: relative; aspect-ratio: 1; border-radius: 22px; background: var(--sky); overflow: hidden; display: grid; place-items: center; }
.player__seal { position: absolute; top: -30px; left: -26px; width: 66px; z-index: 2; transform: rotate(-10deg); transition: transform .5s var(--spring); }
.player__seal:hover { transform: rotate(4deg) scale(1.08); }
.player__star { position: absolute; width: 150%; height: 150%; left: -25%; bottom: -80%; color: var(--star); animation: spin 40s linear infinite; }
.player__art-frame img {
  position: relative; width: 80%; aspect-ratio: 1; object-fit: cover; border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28); transform: rotate(-3deg); transition: transform .6s var(--spring);
}
.player.is-playing .player__art-frame img { transform: rotate(0) scale(1.05); }
.eq { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: flex-end; gap: 3px; height: 18px; opacity: 0; transition: opacity .3s; }
.eq i { width: 4px; height: 100%; background: #fff; border-radius: 2px; transform-origin: bottom; animation: eq .9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; }
.player.is-playing .eq { opacity: 1; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

.player__head { grid-area: head; min-width: 0; align-self: center; }
.player__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.tag { font: 400 11px/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--sky); background: var(--sky-soft); padding: 7px 11px; border-radius: 999px; }
.player__meta { font-size: 14px; color: var(--muted); }
.player__title { font: 400 clamp(28px, 2.7vw, 40px)/1.06 var(--f-display); margin: 12px 0 12px; text-wrap: balance; }

/* Episode notes: clamped excerpt, Read more expands in place */
.notes__text { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.notes__text.is-clamped p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.notes__text.is-open { animation: rise .45s var(--ease); }
.notes__more {
  margin-top: 8px; padding: 2px 0; border: 0; background: none; cursor: pointer;
  font: 800 14.5px/1.3 var(--f-body); color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 5px;
}
.notes__more:hover { color: var(--sky); }
.notes__more[hidden] { display: none; }

.transport {
  grid-area: transport; display: flex; align-items: center; gap: 16px;
  padding: 12px 18px 12px 12px; background: var(--page); border-radius: 999px;
}
.transport__btns { display: flex; align-items: center; gap: 6px; }
.ctl { display: grid; place-items: center; border: 0; cursor: pointer; border-radius: 50%; background: none; color: var(--ink); transition: transform .25s var(--spring), background-color .2s; }
.ctl svg { width: 60%; height: 60%; }
.ctl--skip { width: 46px; height: 46px; }
.ctl--skip:hover { background: var(--paper); transform: rotate(-10deg); }
.ctl--skip[data-act="fwd"]:hover { transform: rotate(10deg); }
.ctl--main { width: 64px; height: 64px; background: var(--sun); box-shadow: 0 4px 0 var(--sun-deep), 0 10px 22px rgba(241, 196, 15, .4); }
.ctl--main svg { width: 44%; height: 44%; }
.ctl--main .ico-play { margin-left: 4px; }
.ctl--main:hover { transform: scale(1.06); }
.ctl--main:active { transform: scale(.96); }
.ctl--main:focus-visible { outline-color: var(--ink); }
.ctl .ico-pause, .is-playing .ctl .ico-play, .dock.is-playing .ico-play { display: none; }
.is-playing .ctl .ico-pause, .dock.is-playing .ico-pause { display: block; }
.ctl--speed {
  flex: none; width: auto; height: 34px; padding: 0 12px; border-radius: 999px;
  font: 400 13px/1 var(--f-ui); background: var(--paper); box-shadow: inset 0 0 0 2px var(--line);
}
.ctl--speed:hover { box-shadow: inset 0 0 0 2px var(--ink); }

.scrub { flex: 1; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.scrub__t { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 4ch; }
.scrub__t:last-child { text-align: right; }
.scrub__bar { --p: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; }
.scrub__bar::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--sun) var(--p), #D5DDE0 var(--p)); }
.scrub__bar::-moz-range-track { height: 8px; border-radius: 99px; background: #D5DDE0; }
.scrub__bar::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--sun); }
.scrub__bar::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -5px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); transition: transform .2s; }
.scrub__bar::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); }
.scrub__bar:hover::-webkit-slider-thumb { transform: scale(1.2); }
.player__status { grid-area: status; font-size: 14px; color: var(--red); margin-top: -10px; }
.player__status:empty { display: none; }

.subs { grid-area: subs; align-self: end; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.subs a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  font: 700 14px/1 var(--f-body); text-decoration: none; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .2s, box-shadow .2s, transform .25s var(--spring);
}
.subs a:hover { background: var(--page); box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.subs svg { width: 18px; height: 18px; }
.subs__heart svg { color: var(--red); }
.subs__heart:hover svg { animation: beat .6s ease; }
@keyframes beat { 30% { transform: scale(1.3); } 60% { transform: scale(.95); } }

/* Playlist column */
.playlist { position: relative; min-width: 0; background: var(--page); border-left: 1.5px solid var(--line); border-radius: 0 29px 29px 0; }
.playlist__inner { display: flex; flex-direction: column; }
.playlist__head { display: grid; gap: 12px; padding: 22px 20px 10px; }
.playlist__title { font: 400 28px/1.1 var(--f-display); display: flex; align-items: center; gap: 10px; }
.playlist__count { font: 400 12px/1 var(--f-ui); background: var(--ink); color: #fff; padding: 6px 10px; border-radius: 999px; }
.search { position: relative; display: block; width: 100%; }
.search svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; padding: 12px 16px 12px 42px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--paper); font: 500 16px/1.2 var(--f-body); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(241, 196, 15, .45); }
.seasons {
  display: flex; gap: 6px; overflow-x: auto; padding: 2px 24px 4px 2px; margin-right: -20px;
  scrollbar-width: none; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent);
}
.seasons::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start; border: 0; cursor: pointer; padding: 9px 13px; border-radius: 999px;
  font: 400 11.5px/1 var(--f-ui); letter-spacing: .06em; text-transform: uppercase;
  background: var(--paper); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background-color .2s, color .2s, transform .25s var(--spring), opacity .2s;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.seasons.is-searching .chip { opacity: .45; }
.playlist__label { font: 400 11px/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }

.tracks { list-style: none; margin: 0; padding: 4px 10px 14px; display: grid; gap: 2px; align-content: start; }
.track { position: relative; }
.track.is-new { animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms); }
.track__btn {
  width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) 34px; align-items: center; gap: 12px;
  padding: 10px; border: 0; border-radius: 16px; background: transparent; text-align: left; cursor: pointer; color: var(--ink);
  transition: background-color .2s;
}
.track__btn:focus-visible { outline-offset: -2px; }
.track__no {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  background: var(--paper); color: var(--sky); font: 400 14px/1 var(--f-ui); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background-color .2s, color .2s;
}
.track__no svg { width: 18px; height: 18px; color: var(--sun-deep); }
.track__text { display: grid; gap: 2px; min-width: 0; }
.track__title { font-weight: 750; font-size: 15.5px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.track__meta { font-size: 12.5px; color: var(--muted); }
.track__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); transition: background-color .2s, transform .25s var(--spring); }
.track__icon svg { width: 15px; height: 15px; margin-left: 2px; }
.track.is-current .track__btn { background: var(--paper); box-shadow: inset 0 0 0 2px var(--sun); }
.track.is-current .track__no { background: var(--sun); color: var(--ink); box-shadow: none; }
.track.is-current .track__icon { background: var(--sun); }
.track.is-playing .track__icon svg { margin-left: 0; }
.track.is-playing .track__no { animation: glow 1.6s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 5px rgba(241, 196, 15, .35); } }
.track__bar { position: absolute; left: 62px; right: 20px; bottom: 5px; height: 3px; border-radius: 3px; pointer-events: none; overflow: hidden; }
.track__bar::after { content: ""; position: absolute; inset: 0; width: var(--p, 0%); background: var(--sun-deep); border-radius: 3px; }
.playlist__empty { margin: 4px 20px 20px; padding: 20px; text-align: center; background: var(--paper); border-radius: 16px; color: var(--ink-2); font-size: 15px; }

/* Desktop: the playlist scrolls inside the card, matched to the player's height */
@media (min-width: 1001px) {
  .playlist__inner { position: absolute; inset: 0; }
  .tracks { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #C5CFD4 transparent; }
  .player__now { min-height: 500px; }
  .tracks { padding-bottom: 30px; -webkit-mask-image: linear-gradient(#000 calc(100% - 34px), transparent); mask-image: linear-gradient(#000 calc(100% - 34px), transparent); }
}

@media (max-width: 1000px) {
  .player { grid-template-columns: minmax(0, 1fr); }
  .playlist { border-left: 0; border-top: 1.5px solid var(--line); border-radius: 0 0 29px 29px; }
  .host { grid-template-columns: 150px minmax(0, 1fr); }
  .host__bio { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .host { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .host__photo { width: 180px; }
  .socials { justify-content: center; }
  .host__bio { text-align: left; }
  .player__now { grid-template-columns: minmax(0, 1fr); grid-template-areas: "art" "head" "transport" "status" "subs"; text-align: center; }
  .player__art { width: min(220px, 64%); justify-self: center; }
  .player__seal { top: -20px; left: -30px; width: 56px; }
  .player__kicker { justify-content: center; }
  .notes__text { text-align: left; }
  .transport { flex-wrap: wrap; justify-content: center; border-radius: 26px; padding: 12px; gap: 10px 14px; }
  .transport .scrub { order: 3; flex-basis: 100%; }
  .subs { justify-content: center; }
  .playlist__head { padding-inline: 16px; }
  .tracks { padding-inline: 6px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stat { flex-direction: column; text-align: center; gap: 8px; padding: 14px 6px; }
  .stat__icon { width: 38px; height: 38px; border-radius: 12px; }
  .stat__icon svg { width: 22px; height: 22px; }
  .stat__num { font-size: 34px; }
  .stat__label { font-size: 10.5px; letter-spacing: .03em; }
}

/* ═════════════════ Musical ═════════════════ */
.musical { background: var(--brick-deep); }
.band--musical { --curve-line: var(--sun); --curve-fill: var(--brick); border-top-color: var(--sun); }
/* Brick facade, after the stage set: staggered courses with light mortar */
.musical__stage {
  /* Brick strength: 0 = full-strength bricks, 1 = bricks hidden. The scrim below repaints
     the base colours over the brick layer at this alpha, which fades the pattern without a pseudo-element. */
  --brick-fade: .75;
  position: relative; color: var(--cream); text-align: center;
  padding: clamp(36px, 5vw, 70px) 0 clamp(64px, 8vw, 110px);
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(255, 214, 140, .10), transparent 70%),
    linear-gradient(180deg, rgb(122 86 70 / var(--brick-fade)) 0%, rgb(87 59 48 / var(--brick-fade)) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48'%3E%3Crect x='2' y='2' width='44' height='20' fill='rgba%280%2C0%2C0%2C.07%29'/%3E%3Crect x='50' y='2' width='44' height='20' fill='rgba%28255%2C255%2C255%2C.03%29'/%3E%3Crect x='26' y='26' width='44' height='20' fill='rgba%28255%2C255%2C255%2C.04%29'/%3E%3Crect x='74' y='26' width='22' height='20' fill='rgba%280%2C0%2C0%2C.05%29'/%3E%3Crect x='0' y='26' width='22' height='20' fill='rgba%280%2C0%2C0%2C.05%29'/%3E%3Cpath d='M0 1H96M0 25H96M0 47H96M1 1V25M49 1V25M25 25V48M73 25V48' fill='none' stroke='rgba%28235%2C220%2C205%2C.20%29' stroke-width='2.5'/%3E%3C/svg%3E") 0 0 / 96px 48px,
    linear-gradient(180deg, var(--brick) 0%, var(--brick-deep) 100%);
}
.musical__grid {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 640px) minmax(0, 1fr);
  grid-template-areas: "left body right";
  gap: clamp(20px, 3vw, 48px);
  width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto;
}
.musical__body { grid-area: body; min-width: 0; }
.musical__copy { font-size: clamp(17px, 1.3vw, 20px); max-width: 60ch; margin-inline: auto; }
.musical__copy strong { color: var(--star); font-weight: 800; }
.musical__ask { margin: 22px auto 32px; font-size: 17px; opacity: .92; }
.musical__ask a { color: var(--star); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Theater marquee around the title; bulbs are placed by main.js */
.marquee {
  position: relative; display: inline-block; margin-bottom: clamp(24px, 3vw, 36px);
  padding: clamp(22px, 2.4vw, 30px) clamp(30px, 3.6vw, 52px) clamp(18px, 2vw, 26px);
  border-radius: 22px; border: 3px dotted var(--star);
  background:
    radial-gradient(120% 140% at 50% 0%, #5a3428 0%, #2c1913 70%);
  box-shadow: 0 0 0 5px #1f110c, 0 0 0 9px var(--sun-deep), 0 0 0 12px #1f110c, 0 22px 50px rgba(0, 0, 0, .4), inset 0 0 34px rgba(0, 0, 0, .55);
}
.marquee.has-bulbs { border-color: transparent; }
.marquee__title.display {
  margin: 0; color: var(--cream); font-size: clamp(40px, 5vw, 66px);
  text-shadow: 0 0 14px rgba(255, 214, 120, .55), 0 0 2px rgba(255, 240, 200, .8), 0 4px 0 rgba(0, 0, 0, .45);
}
.marquee__bulbs { position: absolute; inset: 0; pointer-events: none; }
.bulb {
  position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff 0 22%, #FFF0B8 42%, #F5B932 100%);
  box-shadow: 0 0 8px 2px rgba(255, 206, 100, .75), 0 0 2px rgba(255, 255, 255, .9);
  animation: chase3 1.2s linear infinite; animation-delay: calc(var(--k, 0) * -.4s);
}
@keyframes chase3 {
  0%, 32% { opacity: .3; box-shadow: 0 0 2px rgba(255, 206, 100, .3); }
  33.4%, 100% { opacity: 1; }
}
.js .marquee[data-reveal] { transform: scale(.92); }
.js .marquee[data-reveal].is-in { transform: none; transition: opacity .7s var(--ease), transform .9s var(--spring); }

/* Stage-set windows and flower boxes */
.set-win { margin: 0; width: 100%; max-width: 230px; justify-self: center; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35)); }
.set-win--left { grid-area: left; transform: rotate(-5deg); align-self: start; margin-top: clamp(0px, 2vw, 24px); }
.set-win--right { grid-area: right; transform: rotate(4deg) scaleX(-1); align-self: end; margin-bottom: clamp(0px, 2vw, 24px); }
.set-win__svg { width: 100%; height: auto; overflow: visible; }
/* Window lights come on when the section scrolls in */
.set-win__pane { fill: #5E4A3A; transition: fill 1.2s ease; }
.musical__stage.is-lit .set-win__pane { fill: #F3EC9E; }
.musical__stage.is-lit .set-win--right .set-win__pane { transition-delay: .45s; }
.set-win__glass { transition: filter 1.2s ease; }
.musical__stage.is-lit .set-win__glass { filter: drop-shadow(0 0 14px rgba(255, 228, 120, .55)); animation: flicker 7s 2s infinite; }
@keyframes flicker { 0%, 92%, 100% { opacity: 1; } 93% { opacity: .82; } 95% { opacity: 1; } 96% { opacity: .88; } }
.set-win__flower { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 3.6s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -1); }
@keyframes sway { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }

@media (max-width: 1100px) {
  .musical__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px) minmax(0, 1fr); }
}
/* Phones: the windows are a flourish, not worth the scroll; hide them */
@media (max-width: 760px) {
  .musical__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "body"; }
  .set-win { display: none; }
}

/* ═════════════════ News carousel ═════════════════ */
.news { padding: clamp(64px, 8vw, 110px) 0 clamp(64px, 8vw, 100px); }
.carousel { position: relative; }
.carousel__track {
  --inset: max(var(--gutter), (100% - 1200px) / 2);
  list-style: none; margin: 0; display: flex; gap: clamp(14px, 1.6vw, 22px);
  padding: 14px var(--inset) 30px; scroll-padding-inline: var(--inset);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel__track.is-dragging .press { pointer-events: none; }
.carousel__track:focus-visible { outline-offset: -3px; }
.press {
  position: relative;
  flex: 0 0 clamp(272px, 30vw, 360px); scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 26px 24px 24px; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--spring), box-shadow .3s;
}
.press__logo { height: 64px; width: 100%; display: grid; place-items: center; margin-bottom: 6px; }
.press__logo img { max-height: 60px; max-width: 72%; width: auto; object-fit: contain; }
.press__title { font: 400 23px/1.15 var(--f-display); text-wrap: balance; }
.press__kicker { font-weight: 700; font-size: 14px; color: var(--muted); }
.press__excerpt { white-space: pre-line; font-size: 15px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.press__link {
  margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 800; font-size: 15px; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 5px;
}
.press__link svg { width: 15px; height: 15px; transition: transform .25s var(--spring); }
.press__link:hover svg { transform: translate(2px, -2px); }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 18px; }
.round {
  width: 54px; height: 54px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--sun); color: var(--ink); box-shadow: 0 4px 0 var(--sun-deep);
  transition: transform .25s var(--spring), opacity .2s, box-shadow .2s;
}
.round svg { width: 24px; height: 24px; }
.round:hover:not(:disabled) { transform: translateY(-2px) scale(1.05); }
.round:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--sun-deep); }
.round:disabled { opacity: .35; cursor: default; box-shadow: none; }
.round:focus-visible { outline-color: var(--ink); }
.carousel__meter { position: relative; width: min(180px, 40vw); height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.carousel__meter span { position: absolute; top: 0; bottom: 0; left: var(--l, 0%); width: var(--w, 30%); background: var(--ink); border-radius: 6px; transition: left .2s, width .2s; }
.news__kit { display: flex; justify-content: center; margin-top: 36px; }

/* ═════════════════ Support ═════════════════ */
.support { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--paper); }
.support__merch { position: relative; min-height: 520px; overflow: hidden; }
.support__merch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.support__merch:hover img { transform: scale(1.04); }
.support__merch .btn { position: absolute; left: 50%; bottom: 12%; translate: -50% 0; white-space: nowrap; }
.support__body { display: grid; justify-items: center; align-content: center; gap: 18px; text-align: center; padding: clamp(48px, 6vw, 90px) var(--gutter); }
.support__body .display { margin-bottom: 0; }
.support__body .prose { max-width: 46ch; font-size: 18px; color: var(--ink-2); }
.support__thanks { margin-top: 18px; font-weight: 600; }
.sponsors { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; justify-items: center; }
.sponsors li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.sponsors svg { width: 20px; height: 20px; color: var(--sun); flex: none; }
.js .sponsors svg { transform: scale(0) rotate(-90deg); transition: transform .6s var(--spring); transition-delay: calc(var(--i, 0) * 120ms + 150ms); }
.js .sponsors.is-in svg { transform: none; }
.sponsors a { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.sponsors a:hover { color: var(--sky); }

@media (max-width: 800px) {
  .support { grid-template-columns: minmax(0, 1fr); }
  .support__merch { min-height: 400px; }
}

/* ═════════════════ Mini-player dock ═════════════════ */
.dock {
  position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  width: min(720px, 100% - 24px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px;
  padding: 10px 10px 10px 10px; border-radius: 22px; background: var(--ink); color: #fff;
  box-shadow: 0 20px 50px rgba(20, 30, 40, .35);
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  transition: transform .55s var(--spring), visibility 0s .55s;
}
.dock.is-open { transform: translate(-50%, 0); visibility: visible; transition: transform .55s var(--spring); }
.dock__progress { position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.dock__progress span { position: absolute; inset: 0; width: var(--p, 0%); background: var(--sun); }
.dock__info { display: flex; align-items: center; gap: 12px; min-width: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left; padding: 0; border-radius: 12px; }
.dock__info img { flex: none; width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.dock__text { display: grid; min-width: 0; }
.dock__tag { font: 400 10.5px/1.3 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--star); }
.dock__title { font-weight: 750; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock__ctl { display: flex; align-items: center; gap: 2px; }
.ctl--mini { width: 42px; height: 42px; color: #fff; }
.ctl--mini:hover { background: rgba(255, 255, 255, .1); }
.ctl--mainmini { width: 46px; height: 46px; background: var(--sun); color: var(--ink); }
.ctl--mainmini:hover { background: var(--sun); transform: scale(1.06); }
.ctl--mainmini svg { width: 46%; height: 46%; }
.dock:not(.is-playing) .ctl--mainmini .ico-play { margin-left: 3px; }
.dock__close { width: 36px; height: 36px; opacity: .75; }
.dock__close svg { width: 50%; height: 50%; }
.dock__close:hover { opacity: 1; }
@media (max-width: 520px) {
  .dock__ctl [data-act="back"], .dock__ctl [data-act="fwd"] { display: none; }
  .dock__info img { width: 42px; height: 42px; }
}

/* ═════════════════ Modals ═════════════════ */
.modal { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; overflow: visible; }
.modal::backdrop { background: rgba(20, 28, 36, .76); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .45s var(--spring); }
.modal[open]::backdrop { animation: fade .3s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
.modal__close {
  position: absolute; top: -56px; right: 0; width: 46px; height: 46px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer; background: var(--paper); color: var(--ink);
  transition: transform .3s var(--spring);
}
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 20px; height: 20px; }
.modal--video { width: min(1120px, 92vw, (100dvh - 140px) * 16 / 9); }
.modal__frame { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }



/* Hover lifts only where a real pointer hovers (no sticky hover on touch) */
@media (hover: hover) {
  .track__btn:hover { background: rgba(255, 255, 255, .8); }
  .track__btn:hover .track__icon { background: var(--sun); transform: scale(1.08); }
  .press:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-md); }
  .stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .chip:hover { transform: translateY(-2px); color: var(--ink); }
}

/* ═════════════════ Scroll reveal ═════════════════ */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Failsafe: if main.js never runs, show everything after a beat */
.js:not(.sk-ok) [data-reveal] { animation: failsafe 0s 2.5s forwards; }
@keyframes failsafe { to { opacity: 1; transform: none; } }

/* ───────── ATG branding footer (shared house block) ─────────
   Portable: set the three --atg-foot-* tokens per site; nothing else changes. */
.atg-foot {
  --atg-foot-fg: var(--paper, #fff);
  --atg-foot-muted: rgba(255, 255, 255, .69);
  --atg-foot-line: var(--faint, rgba(255, 255, 255, .14));
  text-align: center; color: var(--atg-foot-fg);
  border-top: 1px solid var(--atg-foot-line);
  padding: clamp(36px, 6vh, 56px) 16px calc(clamp(28px, 5vh, 44px) + var(--dock-space, 0px));
  transition: padding .5s ease;
}
.atg-foot__copy { margin: 0; font-size: clamp(15px, 1vw + 8px, 18px); font-weight: 500; }
.atg-foot__credit {
  margin: 2.25vh 0 0; font-family: system-ui, sans-serif; font-size: 90%; font-weight: 400;
  text-transform: lowercase; color: #eee;
}
.atg-foot__brand { display: inline-block; margin-left: .14rem; text-transform: lowercase; }
.atg-foot__brand a { color: var(--atg-foot-fg); text-decoration: none; }
.atg-foot__brand a:hover { text-decoration: underline; text-underline-offset: 3px; }
.atg-foot__brand::after {
  /* external-link mark as a masked SVG so it takes the text colour; swap to FA ("\f14c") on sites that load the kit */
  content: ""; display: inline-block; width: .74em; height: .74em; margin-left: .3rem; vertical-align: -.04em;
  background-color: currentColor; opacity: .85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-8.5 8.5'/%3E%3Cpath d='M19 14.5V19a1.5 1.5 0 0 1-1.5 1.5h-12A1.5 1.5 0 0 1 4 19V7a1.5 1.5 0 0 1 1.5-1.5H10'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-8.5 8.5'/%3E%3Cpath d='M19 14.5V19a1.5 1.5 0 0 1-1.5 1.5h-12A1.5 1.5 0 0 1 4 19V7a1.5 1.5 0 0 1 1.5-1.5H10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.atg-foot__brand b { font-weight: 700; }
.atg-foot__tag-link { display: inline-block; margin-top: 1.5vh; border-radius: 50%; }
.atg-foot__tag {
  display: inline-block; vertical-align: middle; border-radius: 50%;
  filter: grayscale(100%); transform: scale(1);
  transition: filter 1s ease-in-out, transform 1s ease-in-out;
}
.atg-foot__tag-link:hover .atg-foot__tag,
.atg-foot__tag-link:focus-visible .atg-foot__tag { filter: grayscale(0%); transform: scale(1.25); }
.atg-foot__tag-link:focus-visible { outline: 2px solid var(--atg-foot-fg); outline-offset: 6px; }

/* Site placement of the house footer */
.atg-foot { background: var(--night); font-family: var(--f-body); }

/* ═════════════════ Reduced motion ═════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .chalk path { stroke-dashoffset: 0; }
}
