/* ==========================================================
   PEAS WHEN I'M FOUR — stylesheet
   ========================================================== */
:root {
  --pod: #1f4d1a;          /* deep pod green (logo outline) */
  --pod-2: #2b6a22;
  --pod-3: #173b13;
  --pea: #8bd13b;          /* bright pea */
  --pea-2: #b5e655;
  --lime: #d7f36b;
  --orange: #ff8a1f;
  --orange-2: #ffb22e;
  --flame: #ff6a13;
  --cream: #fff8e1;
  --cream-2: #fff1c7;
  --ink: #18300f;
  --ink-soft: #4b5f3e;
  --white: #ffffff;
  --radius: 26px;
  --shadow-pop: 0 6px 0 var(--pod);
  --shadow-soft: 0 18px 40px -18px rgba(31, 77, 26, .45);
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
  --player-h: 0px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--player-h);
  transition: padding-bottom .35s ease;
}
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--pod-2); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); color: var(--pod); }
p { margin: 0 0 1em; }
kbd {
  font-family: var(--font-body); font-weight: 800; font-size: .8em;
  background: var(--white); border: 2px solid var(--pod); border-bottom-width: 4px;
  border-radius: 8px; padding: 0 .45em;
}

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--pod); color: var(--white); padding: 10px 16px; border-radius: 12px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 10px; }

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--pod-2);
  background: var(--white); border: 2px solid var(--pod); border-radius: 999px;
  padding: .3em 1em .3em .7em; margin-bottom: 1.1em;
  box-shadow: 0 3px 0 var(--pod);
}
.eyebrow .dot {
  width: .8em; height: .8em; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--lime), var(--pea) 55%, var(--pod-2));
}
.eyebrow--light { background: var(--lime); }

.hl {
  background: linear-gradient(180deg, var(--lime), var(--pea));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 0;
  filter: drop-shadow(0 4px 0 var(--pod));
}
.hl--orange { background: linear-gradient(180deg, var(--orange-2), var(--flame)); -webkit-background-clip: text; background-clip: text; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  text-decoration: none; border: 3px solid var(--pod); border-radius: 999px;
  padding: .7em 1.4em; background: var(--white); color: var(--pod);
  box-shadow: var(--shadow-pop);
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
}
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--pod); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--pod); }
.btn--orange { background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: var(--white); text-shadow: 0 2px 0 rgba(150, 60, 0, .35); }
.btn--ghost { background: var(--cream); }
.btn--big { font-size: 1.15rem; padding: .85em 1.6em; }
.btn--small { font-size: .95rem; padding: .45em 1em; box-shadow: 0 4px 0 var(--pod); }

.link-btn { background: none; border: 0; text-decoration: underline; font-weight: 700; color: var(--pod-2); padding: .4em; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 248, 225, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 3px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--pod); background: rgba(255, 248, 225, .95); }
.nav__inner {
  width: min(1180px, 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; gap: 24px; height: 74px;
}
.nav__brand img { height: 54px; width: auto; transition: transform .3s; }
.nav__brand:hover img { transform: rotate(-4deg) scale(1.05); }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  font-family: var(--font-display); font-weight: 600; text-decoration: none; color: var(--pod);
  padding: .4em .9em; border-radius: 999px; transition: background .2s;
}
.nav__links a:hover { background: var(--lime); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 15% 10%, #fffdf3 0%, transparent 60%),
    radial-gradient(900px 500px at 90% 30%, var(--cream-2) 0%, transparent 60%),
    var(--cream);
  padding: clamp(32px, 6vw, 80px) 0 clamp(110px, 12vw, 160px);
}
.hero::before { /* polka-pea pattern */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, rgba(139, 209, 59, .28) 0 5px, transparent 6px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(1180px, 100% - 32px); margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center;
}
.hero__logo-wrap { position: relative; }
.hero__glow {
  position: absolute; inset: 8% 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(215, 243, 107, .9), rgba(215, 243, 107, 0));
  filter: blur(10px); animation: breathe 6s ease-in-out infinite;
}
.hero__logo {
  position: relative; width: 100%; height: auto;
  filter: drop-shadow(0 22px 26px rgba(31, 77, 26, .28));
  animation: bob 5s ease-in-out infinite;
  transform-origin: 50% 80%;
}
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); color: var(--pod); margin-bottom: .35em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6em 0 2em; }

.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, auto); gap: 10px 26px; justify-content: start; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--orange); -webkit-text-stroke: 1.5px var(--pod); paint-order: stroke fill; }
.stats span { font-size: .85rem; font-weight: 700; color: var(--ink-soft); max-width: 11ch; line-height: 1.25; margin-top: 4px; }

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 9vw, 120px); fill: var(--pod); z-index: 3; }

/* floating peas */
.hero__sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floater {
  position: absolute; width: var(--s, 34px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #e7fb9a 0 10%, var(--pea-2) 22%, var(--pea) 55%, var(--pod-2) 100%);
  box-shadow: inset -4px -6px 0 rgba(31, 77, 26, .25), 0 10px 18px -8px rgba(31, 77, 26, .5);
  animation: float var(--d, 9s) ease-in-out infinite; animation-delay: var(--delay, 0s);
}
.floater::after { /* sleepy smile */
  content: ""; position: absolute; left: 30%; right: 30%; top: 52%; height: 22%;
  border-bottom: 2.5px solid var(--pod); border-radius: 0 0 50% 50%; opacity: .7;
}
.f1 { --s: 44px; left: 4%; top: 14%; --d: 8s; }
.f2 { --s: 22px; left: 46%; top: 8%; --d: 10s; --delay: -2s; }
.f3 { --s: 30px; right: 6%; top: 12%; --d: 7s; --delay: -4s; }
.f4 { --s: 18px; left: 3%; bottom: 18%; --d: 11s; --delay: -1s; }
.f5 { --s: 54px; right: 3%; bottom: 30%; --d: 12s; --delay: -6s; }
.f6 { --s: 26px; left: 52%; bottom: 20%; --d: 9s; --delay: -3s; }
.f7 { --s: 16px; right: 30%; top: 40%; --d: 8.5s; --delay: -5s; }

@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes float { 0%, 100% { transform: translate(0, 0) rotate(0); } 33% { transform: translate(8px, -22px) rotate(20deg); } 66% { transform: translate(-10px, -8px) rotate(-14deg); } }
@keyframes breathe { 0%, 100% { opacity: .65; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }

/* ==========================================================
   STORIES
   ========================================================== */
.stories {
  position: relative;
  background:
    radial-gradient(circle at 20% 0%, rgba(139, 209, 59, .25), transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(139, 209, 59, .18), transparent 45%),
    var(--pod);
  color: var(--cream);
  padding: clamp(40px, 6vw, 70px) 0 clamp(80px, 9vw, 120px);
}
.stories::after { /* scalloped pod edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -23px; height: 24px; z-index: 2;
  background: radial-gradient(circle at 24px 0, var(--pod) 22px, transparent 23px) 0 0 / 48px 24px repeat-x;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.stories .section-head h2 { color: var(--white); text-shadow: 0 4px 0 var(--pod-3); }
.stories .section-head p:not(.eyebrow) { color: #d9eccb; font-size: 1.12rem; }
.stories .eyebrow { color: var(--pod); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  background: transparent; color: var(--cream); border: 2px solid rgba(255, 248, 225, .45);
  border-radius: 999px; padding: .4em 1.05em; transition: all .2s;
}
.chip:hover { border-color: var(--lime); color: var(--lime); }
.chip.is-active { background: var(--lime); color: var(--pod); border-color: var(--lime); }
.chip svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px);
}

.card {
  --c: var(--pea);
  position: relative; display: flex; flex-direction: column;
  background: var(--cream); color: var(--ink);
  border: 3px solid var(--pod-3); border-radius: var(--radius);
  box-shadow: 0 8px 0 var(--pod-3), var(--shadow-soft);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
  animation: cardIn .6s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}
.card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 14px 0 var(--pod-3), 0 30px 50px -20px rgba(0, 0, 0, .5); }
.card:nth-child(even):hover { transform: translateY(-6px) rotate(.4deg); }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

.card__art {
  position: relative; aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .55), transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, .3) 0 3px, transparent 4px) 0 0 / 22px 22px,
    var(--c);
  border-bottom: 3px solid var(--pod-3);
  display: grid; place-items: center; overflow: hidden;
}
.card__art svg.icon { width: 46%; height: auto; filter: drop-shadow(0 8px 0 rgba(23, 59, 19, .18)); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.card:hover .card__art svg.icon { transform: scale(1.08) rotate(-4deg); }
.card__num {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  background: var(--white); color: var(--pod); border: 2.5px solid var(--pod-3);
  border-radius: 999px; padding: .1em .75em;
}
.card__dur {
  position: absolute; top: 12px; right: 12px;
  font-weight: 800; font-size: .85rem; background: var(--pod); color: var(--cream);
  border-radius: 999px; padding: .15em .7em;
}
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.6rem; color: var(--pod); margin-bottom: .3em; }
.card__teaser { color: var(--ink-soft); font-size: 1rem; flex: 1; }

.card__foot { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.card__play {
  flex: none; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  border: 3px solid var(--pod-3); box-shadow: 0 4px 0 var(--pod-3);
  transition: transform .15s, box-shadow .15s;
}
.card__play:hover { transform: scale(1.06); }
.card__play:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--pod-3); }
.card__play svg { width: 26px; height: 26px; fill: var(--white); }
.card__play .i-pause { display: none; }
.card.is-playing .card__play .i-play { display: none; }
.card.is-playing .card__play .i-pause { display: block; }

.mini-wave { flex: 1; height: 40px; display: flex; align-items: center; gap: 2px; }
.mini-wave i {
  flex: 1; border-radius: 3px; background: rgba(31, 77, 26, .22);
  height: calc(var(--h) * 100%); min-height: 3px;
  transition: background .3s;
}
.mini-wave i.on { background: var(--pea); }
.card.is-playing .mini-wave i { animation: eq 1s ease-in-out infinite; animation-delay: calc(var(--k) * -73ms); }
.card.is-paused .mini-wave i { animation-play-state: paused; }
@keyframes eq { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }

.card__progress { font-size: .8rem; font-weight: 800; color: var(--pod-2); margin-top: 10px; min-height: 1.2em; }

.card.is-current { outline: 4px solid var(--lime); outline-offset: 4px; }
.card.is-playing .card__art::after { /* little "on air" badge */
  content: "On air"; position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em;
  background: var(--flame); color: var(--white); border: 2.5px solid var(--pod-3); border-radius: 999px; padding: .15em .9em;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 106, 19, 0); } 0% { box-shadow: 0 0 0 0 rgba(255, 106, 19, .55); } }

.card.is-done .card__num::after { content: " ✓"; color: var(--pea); }

/* ==========================================================
   LEGEND
   ========================================================== */
.legend { background: var(--cream); padding: clamp(80px, 9vw, 120px) 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.legend__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.legend h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.legend__story p { color: var(--ink-soft); font-size: 1.1rem; max-width: 52ch; }
.legend__story em { font-family: var(--font-hand); font-style: normal; font-size: 1.5em; color: var(--pod-2); line-height: 1; }
.legend__moral {
  font-family: var(--font-hand); font-size: 1.85rem !important; line-height: 1.2; color: var(--pod) !important;
  border-left: 6px solid var(--pea); padding-left: 16px; margin-top: 1.4em;
}

.timeline { list-style: none; padding: 0; margin: 2em 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 12%; right: 12%; top: 28px; height: 5px; background: repeating-linear-gradient(90deg, var(--pod) 0 12px, transparent 12px 20px); border-radius: 3px; }
.timeline li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; position: relative; }
.timeline .age {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem;
  background: var(--white); color: var(--pod); border: 3px solid var(--pod); box-shadow: 0 4px 0 var(--pod);
}
.timeline .verdict { font-weight: 800; font-size: .9rem; color: var(--ink-soft); line-height: 1.2; }
.timeline .is-four .age {
  background: linear-gradient(180deg, var(--orange-2), var(--flame)); color: var(--white);
  transform: scale(1.18); animation: wiggle 2.4s ease-in-out infinite;
}
.timeline .is-four .age::before { /* candle flame */
  content: ""; position: absolute; top: -26px; width: 14px; height: 20px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 70%, #fff6b0, var(--orange-2) 55%, var(--flame));
  animation: flicker .25s ease-in-out infinite alternate;
}
.timeline .is-four .verdict { color: var(--flame); }
@keyframes wiggle { 0%, 100% { rotate: 0deg; } 10% { rotate: -8deg; } 20% { rotate: 8deg; } 30% { rotate: 0deg; } }
@keyframes flicker { to { transform: scale(.9, 1.1) translateY(-1px); opacity: .85; } }

/* plate game */
.plate-game { text-align: center; }
.plate-game__hint { font-family: var(--font-hand); font-size: 1.9rem; line-height: 1.1; color: var(--pod); margin-bottom: 1em; }
.plate-game__hint strong { font-family: var(--font-body); font-size: 1rem; color: var(--ink-soft); display: inline-block; margin-top: .4em; }
.plate {
  position: relative; width: min(420px, 88vw); aspect-ratio: 1; margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0 52%, #eef2f0 53% 60%, #ffffff 61% 100%);
  border: 4px solid var(--pod);
  box-shadow: 0 10px 0 var(--pod), 0 30px 60px -20px rgba(31, 77, 26, .5);
}
.plate__rim { position: absolute; inset: 14px; border-radius: 50%; border: 2px dashed rgba(31, 77, 26, .15); }
.plate__peas { position: absolute; inset: 22%; }
.plate__fork { position: absolute; width: 16%; right: -6%; top: 6%; rotate: 28deg; filter: drop-shadow(3px 6px 0 rgba(31, 77, 26, .3)); pointer-events: none; }
.g-pea {
  position: absolute; width: 21%; aspect-ratio: 1; border-radius: 50%; border: 0; padding: 0;
  background: radial-gradient(circle at 32% 30%, #effcb4 0 9%, var(--pea-2) 22%, var(--pea) 56%, var(--pod-2) 100%);
  box-shadow: inset -3px -5px 0 rgba(31, 77, 26, .25), 0 4px 0 rgba(31, 77, 26, .35);
  transition: transform .2s cubic-bezier(.3, 1.8, .5, 1);
  animation: peaIn .5s cubic-bezier(.3, 1.6, .5, 1) both;
}
.g-pea::before, .g-pea::after { /* eyes */
  content: ""; position: absolute; top: 38%; width: 11%; height: 14%; border-radius: 50%; background: var(--pod-3);
}
.g-pea::before { left: 30%; }
.g-pea::after { right: 30%; }
.g-pea:hover { transform: scale(1.18) rotate(-8deg); }
.g-pea.is-eaten { animation: chomp .45s cubic-bezier(.5, -0.5, .6, 1) forwards; pointer-events: none; }
@keyframes peaIn { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes chomp { 40% { transform: scale(1.35) rotate(20deg); } 100% { transform: translateY(-160px) scale(0); opacity: 0; } }
.plate-game__count { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--pod); margin-top: 1.4em; }
.plate-game__win { margin-top: .6em; animation: cardIn .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.plate-game__win .big { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--flame); margin-bottom: .2em; }
.plate-game__win .btn { margin: .4em 0; }
.plate-game__win .link-btn { display: block; margin: .2em auto 0; }

/* ==========================================================
   ABOUT
   ========================================================== */
.about {
  background:
    radial-gradient(circle, rgba(31, 77, 26, .07) 0 4px, transparent 5px) 0 0 / 38px 38px,
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 8vw, 110px);
}
.about__card {
  display: grid; grid-template-columns: 170px 1fr; gap: clamp(20px, 4vw, 48px); align-items: start;
  background: var(--white); border: 3px solid var(--pod); border-radius: 34px;
  box-shadow: 0 10px 0 var(--pod), var(--shadow-soft);
  padding: clamp(24px, 4vw, 52px);
  position: relative;
}
.about__card::before { /* tape */
  content: ""; position: absolute; top: -16px; left: 50%; width: 130px; height: 32px; translate: -50% 0; rotate: -3deg;
  background: rgba(215, 243, 107, .85); border: 2px solid rgba(31, 77, 26, .2);
}
.about__card p { color: var(--ink-soft); font-size: 1.1rem; max-width: 62ch; }
.mic { background: var(--lime); border: 3px solid var(--pod); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; padding: 20%; box-shadow: 0 6px 0 var(--pod); }
.mic svg { animation: bob 4s ease-in-out infinite; }
.signoff { font-family: var(--font-hand); font-size: 2.4rem !important; color: var(--pod) !important; margin: .2em 0 0; rotate: -3deg; display: inline-block; }

.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.tip { background: var(--cream); border: 3px solid var(--pod); border-radius: 22px; padding: 22px; box-shadow: 0 6px 0 var(--pod); }
.tip__icon { font-size: 2rem; display: block; margin-bottom: .2em; }
.tip h3 { font-size: 1.35rem; color: var(--pod); margin-bottom: .3em; }
.tip p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--pod); color: #d9eccb; padding: 60px 0 50px; text-align: center; position: relative; }
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -23px; height: 24px;
  background: radial-gradient(circle at 24px 24px, var(--pod) 22px, transparent 23px) 0 0 / 48px 24px repeat-x;
}
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer img { width: 190px; height: auto; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .3)); }
.footer__line { font-size: 1.05rem; margin: 0; }
.footer__small { font-size: .85rem; opacity: .7; margin: 0; }
.footer__top { color: var(--lime); font-weight: 800; text-decoration: none; margin-top: 6px; }
.footer__top:hover { text-decoration: underline; }

/* ==========================================================
   STICKY PLAYER
   ========================================================== */
.player {
  position: fixed; left: 50%; bottom: 14px; z-index: 60;
  width: min(1100px, calc(100% - 20px));
  transform: translate(-50%, 140%);
  transition: transform .45s cubic-bezier(.2, .9, .2, 1.1);
}
.player.is-open { transform: translate(-50%, 0); }
.player[hidden] { display: block; visibility: hidden; }
.player.is-open[hidden] { visibility: visible; }
.player__inner {
  display: grid; align-items: center; gap: 10px 18px;
  grid-template-columns: auto minmax(120px, 1fr) auto minmax(220px, 2fr) auto;
  background: var(--pod-3); color: var(--cream);
  border: 3px solid var(--pea); border-radius: 26px;
  padding: 10px 16px 10px 10px;
  box-shadow: 0 8px 0 #0d2409, 0 30px 60px -10px rgba(0, 0, 0, .5);
}
.player__art {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--c, var(--pea)); border: 2.5px solid var(--pea);
}
.player__art svg { width: 70%; }
.player.is-playing .player__art svg { animation: bob 2s ease-in-out infinite; }
.player__meta { min-width: 0; }
.player__kicker { margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--pea-2); }
.player__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__controls { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--cream);
  display: grid; place-items: center; transition: background .2s, color .2s;
}
.icon-btn:hover { background: rgba(215, 243, 107, .15); color: var(--lime); }
.icon-btn svg { width: 22px; height: 22px; fill: currentColor; }
.icon-btn--back span, .icon-btn--fwd span { position: absolute; font-size: .55rem; font-weight: 800; top: 55%; left: 50%; translate: -50% -50%; }
.play-btn {
  position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--orange-2), var(--orange)); border: 3px solid var(--cream);
  transition: transform .15s;
}
.play-btn:hover { transform: scale(1.07); }
.play-btn svg { width: 24px; height: 24px; fill: var(--white); }
.play-btn .i-pause { display: none; }
.player.is-playing .play-btn .i-play { display: none; }
.player.is-playing .play-btn .i-pause { display: block; }
.spinner { position: absolute; inset: -6px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--lime); opacity: 0; animation: spin .8s linear infinite; }
.player.is-loading .spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.player__track { display: flex; align-items: center; gap: 10px; min-width: 0; }
.time { font-variant-numeric: tabular-nums; font-size: .82rem; font-weight: 700; color: #cfe3bf; min-width: 36px; text-align: center; }
.wave { flex: 1; height: 44px; cursor: pointer; position: relative; border-radius: 8px; touch-action: none; }
.wave canvas { width: 100%; height: 100%; }
.wave:focus-visible { outline-offset: 2px; }

.player__extras { display: flex; align-items: center; gap: 2px; }
.pill {
  font-weight: 800; font-size: .82rem; min-width: 46px; padding: .3em .6em; border-radius: 999px;
  background: transparent; color: var(--lime); border: 2px solid rgba(215, 243, 107, .5);
}
.pill:hover { background: rgba(215, 243, 107, .15); }

/* toast */
.toast {
  position: fixed; left: 50%; top: 90px; z-index: 80; translate: -50% -20px; opacity: 0; pointer-events: none;
  background: var(--pod); color: var(--cream); font-weight: 800; border: 3px solid var(--pea);
  padding: .55em 1.2em; border-radius: 999px; box-shadow: 0 6px 0 #0d2409;
  transition: opacity .3s, translate .3s;
}
.toast.is-show { opacity: 1; translate: -50% 0; }

.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .player__inner { grid-template-columns: auto 1fr auto; }
  .player__track { grid-column: 1 / -1; order: 5; }
  .player__extras { order: 3; }
  .player__controls { grid-column: 1 / -1; order: 4; justify-content: center; }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__logo-wrap { max-width: 520px; margin: 0 auto; }
  .lede { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .stats { justify-content: center; grid-template-columns: repeat(2, auto); }
  .stats li { align-items: center; text-align: center; }
  .stats span { max-width: none; }
  .legend__inner { grid-template-columns: 1fr; }
  .about__card { grid-template-columns: 1fr; text-align: left; }
  .mic { width: 120px; }
  .tips { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .f5, .f6, .f7 { display: none; }
  .nav .btn--small { margin-left: auto; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .grid { grid-template-columns: 1fr; }
  .nav__inner { height: 64px; }
  .nav__brand img { height: 44px; }
  .player { bottom: 8px; }
  .player__inner { padding: 8px 10px; gap: 6px 10px; border-radius: 22px; }
  .player__art { width: 46px; height: 46px; border-radius: 12px; }
  .player__title { font-size: 1rem; }
  .icon-btn { width: 38px; height: 38px; }
  .timeline .verdict { font-size: .78rem; }
  .timeline .age { width: 48px; height: 48px; font-size: 1.3rem; }
  .timeline::before { top: 23px; }
  .legend__moral { font-size: 1.55rem !important; }
}

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