:root {
  --ink: #123a5c;
  --ink-deep: #08263f;
  --paper: #fffaf0;
  --milk: #fffdf8;
  --aqua: #91d8d4;
  --sky: #c3e9f1;
  --sea: #2d87aa;
  --deep: #0d5c7a;
  --coral: #f28f7c;
  --peach: #f7bd8b;
  --yellow: #f5dc76;
  --green: #8fc6a7;
  --line: clamp(3px, .3vw, 5px);
  --shadow: 9px 10px 0 rgba(8, 38, 63, .92);
  --radius: 28px;
}

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

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 105px; }

body {
  margin: 0;
  color: var(--ink-deep);
  background:
    radial-gradient(circle at 10px 10px, rgba(18, 58, 92, .08) 1.4px, transparent 1.5px) 0 0 / 22px 22px,
    var(--paper);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

::selection { color: var(--ink-deep); background: var(--yellow); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  color: #fff;
  background: var(--ink-deep);
  border-radius: 12px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 5px;
  background: linear-gradient(90deg, var(--yellow), var(--coral), var(--aqua));
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 4vw, 58px);
  width: min(1140px, calc(100% - 32px));
  padding: 10px 12px 10px 20px;
  background: rgba(255, 253, 248, .92);
  border: 3px solid var(--ink-deep);
  border-radius: 999px;
  box-shadow: 5px 6px 0 rgba(8, 38, 63, .86);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
  text-decoration: none;
}

.wordmark-fin {
  width: 23px;
  height: 26px;
  background: var(--sea);
  border: 2px solid var(--ink-deep);
  border-radius: 70% 30% 60% 40%;
  clip-path: polygon(0 100%, 52% 0, 100% 100%);
  transform: rotate(-13deg);
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
}
.site-header nav a {
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--sea); }

.mini-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink-deep);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
}

.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: .84fr 1.3fr;
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  min-height: 100svh;
  padding: 145px max(28px, calc((100vw - 1260px) / 2)) 120px;
  background:
    radial-gradient(circle at 82% 17%, rgba(245, 220, 118, .78) 0 7%, transparent 7.2%),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .9) 0 8%, transparent 8.2%),
    linear-gradient(148deg, #def3f3 0%, #b5e2e2 48%, #8dccd8 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image: radial-gradient(var(--ink-deep) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 3; max-width: 560px; }

.comic-kicker, .eyebrow {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(.82rem, 1.2vw, 1rem);
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.comic-kicker span {
  display: inline-block;
  margin-right: 6px;
  padding: 4px 9px;
  color: var(--ink-deep);
  background: var(--yellow);
  border: 2px solid var(--ink-deep);
  border-radius: 7px;
  box-shadow: 3px 3px 0 var(--ink-deep);
  transform: rotate(-2deg);
}

h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { margin-top: 0; color: var(--ink-deep); line-height: .95; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(3.15rem, 5.4vw, 6rem);
  font-weight: 900;
  letter-spacing: -.075em;
}
h1 em, .about h2 em {
  color: var(--sea);
  font-style: normal;
  text-shadow: 3px 3px 0 #fff;
}

.hero-lead {
  max-width: 520px;
  margin: 0 0 28px;
  font-size: clamp(1.1rem, 1.8vw, 1.42rem);
  font-weight: 700;
}

.hero-shout {
  display: table;
  margin: -7px 0 22px;
  padding: 7px 12px;
  color: var(--ink-deep);
  background: var(--yellow);
  border: 3px solid var(--ink-deep);
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--ink-deep);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 900;
  transform: rotate(-1.5deg);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 22px;
  border: 3px solid var(--ink-deep);
  border-radius: 999px;
  box-shadow: 5px 6px 0 var(--ink-deep);
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover, .button:focus-visible { box-shadow: 2px 3px 0 var(--ink-deep); transform: translate(3px, 3px); }
.button-primary { color: #fff; background: var(--deep); }
.button-paper { background: var(--milk); }
.button-coral { background: var(--coral); color: var(--ink-deep); }
.play-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding-left: 2px;
  color: var(--deep);
  background: var(--yellow);
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: .65rem;
}
.parent-note, .privacy-note { margin: 18px 0 0; font-size: .82rem; font-weight: 700; opacity: .72; }

.hero-art {
  position: relative;
  z-index: 2;
  min-width: 0;
  transform: rotate(1.8deg) translate(var(--parallax-x, 0), var(--parallax-y, 0));
  transition: transform .18s ease-out;
}
.issue-label {
  position: absolute;
  top: -17px;
  left: 25px;
  z-index: 4;
  padding: 7px 13px;
  color: var(--ink-deep);
  background: var(--yellow);
  border: 3px solid var(--ink-deep);
  box-shadow: 4px 4px 0 var(--ink-deep);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .07em;
  transform: rotate(-3deg);
}
.hero-frame {
  margin: 0;
  aspect-ratio: 69 / 50;
  overflow: hidden;
  background: var(--milk);
  border: var(--line) solid var(--ink-deep);
  border-radius: 32px 18px 35px 22px;
  box-shadow: var(--shadow);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.sound-word {
  position: absolute;
  z-index: 6;
  padding: 6px 12px;
  color: var(--ink-deep);
  -webkit-text-stroke: 1px #fff;
  font-size: clamp(1.5rem, 3vw, 3.2rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.06em;
  text-shadow: 3px 3px 0 #fff, 6px 6px 0 var(--ink-deep);
}
.sound-word-one { right: -7px; bottom: -30px; color: var(--coral); transform: rotate(-9deg); }
.sound-word-two { top: 15%; left: -27px; color: var(--yellow); font-size: clamp(1.1rem, 2vw, 2.1rem); transform: rotate(-11deg); }

.blubb-button {
  position: absolute;
  right: max(32px, calc((100vw - 1260px) / 2));
  bottom: 56px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 9px 15px;
  color: var(--ink-deep);
  background: var(--milk);
  border: 3px solid var(--ink-deep);
  border-radius: 999px;
  box-shadow: 4px 5px 0 var(--ink-deep);
  font-weight: 900;
  cursor: pointer;
}
.blubb-button span { font-size: 1.4rem; }
.blubb-button:active { box-shadow: 1px 2px 0 var(--ink-deep); transform: translate(3px, 3px); }

.wave-divider {
  position: absolute;
  right: -2%;
  bottom: -1px;
  left: -2%;
  height: 70px;
  background: var(--paper);
  clip-path: polygon(0 48%, 7% 61%, 15% 40%, 24% 59%, 34% 36%, 45% 57%, 56% 35%, 67% 56%, 78% 37%, 88% 58%, 100% 39%, 100% 100%, 0 100%);
}

.bubble-field { position: fixed; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.ambient-bubble {
  position: absolute;
  bottom: -80px;
  left: var(--left);
  width: var(--size);
  height: var(--size);
  opacity: .38;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  box-shadow: inset 4px 4px 6px rgba(255, 255, 255, .5);
  animation: float-up var(--duration) linear var(--delay) infinite;
}
@keyframes float-up {
  to { transform: translate(var(--drift), -115vh) scale(.75); opacity: 0; }
}

.adventures { padding-top: 110px; padding-bottom: 150px; }
.section-intro { max-width: 760px; margin-bottom: 60px; }
.section-intro h2, .music-copy h2, .about h2, .final-panel h2 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -.07em;
}
.section-intro > p:last-child { max-width: 620px; font-size: 1.12rem; font-weight: 700; }

.comic-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: repeat(2, minmax(280px, 370px));
  gap: 25px;
}
.comic-panel {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  background: var(--sky);
  border: var(--line) solid var(--ink-deep);
  border-radius: 20px;
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform .25s ease;
}
.comic-panel:hover { transform: translateY(-5px) rotate(var(--tilt, 0deg)); }
.comic-panel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.comic-panel:hover img { transform: scale(1.035); }
.panel-friends { grid-row: 1 / 3; --tilt: -1deg; transform: rotate(-.8deg); }
.panel-music { --tilt: 1deg; transform: rotate(.8deg); }
.panel-sleep { --tilt: -.6deg; transform: rotate(-.4deg); }
.panel-shade { position: absolute; inset: 35% 0 0; z-index: 1; background: linear-gradient(transparent, rgba(8, 38, 63, .88)); }
.panel-number {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  margin: 0;
  padding: 5px 9px;
  color: var(--ink-deep);
  background: var(--yellow);
  border: 2px solid var(--ink-deep);
  font-weight: 900;
}
.panel-caption { position: absolute; right: 22px; bottom: 20px; left: 22px; z-index: 3; color: #fff; }
.panel-caption p { margin: 0 0 7px; color: var(--yellow); font-size: .8rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.panel-caption h3 { margin: 0; color: #fff; font-size: clamp(1.9rem, 3vw, 3.8rem); letter-spacing: -.055em; }
.panel-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  color: var(--ink-deep);
  background: var(--milk);
  border: 3px solid var(--ink-deep);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink-deep);
  font-size: 1.45rem;
  font-weight: 900;
  cursor: pointer;
}
.panel-toggle span { transition: transform .2s ease; }
.comic-panel.is-open .panel-toggle span { transform: rotate(45deg); }
.panel-bubble {
  position: absolute;
  top: 70px;
  right: 18px;
  z-index: 4;
  max-width: min(250px, 70%);
  margin: 0;
  padding: 14px 17px;
  color: var(--ink-deep);
  background: var(--milk);
  border: 3px solid var(--ink-deep);
  border-radius: 22px;
  box-shadow: 4px 4px 0 var(--ink-deep);
  font-weight: 900;
  opacity: 0;
  transform: scale(.78) rotate(3deg);
  transform-origin: top right;
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.panel-bubble::after { content: ""; position: absolute; top: -13px; right: 20px; width: 20px; height: 20px; background: var(--milk); border-top: 3px solid var(--ink-deep); border-left: 3px solid var(--ink-deep); transform: rotate(45deg); }
.comic-panel.is-open .panel-bubble { opacity: 1; transform: scale(1) rotate(-1deg); }

.current-game {
  position: relative;
  padding: 125px 0 145px;
  background:
    radial-gradient(circle at 8% 16%, rgba(255,255,255,.7) 0 4%, transparent 4.2%),
    radial-gradient(circle at 90% 83%, rgba(245,220,118,.72) 0 6%, transparent 6.2%),
    linear-gradient(148deg, #b9e5e5, #86c9d8 58%, #5aabc3);
  border-top: 5px solid var(--ink-deep);
  border-bottom: 5px solid var(--ink-deep);
  overflow: hidden;
}
.current-game::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: radial-gradient(var(--ink-deep) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  pointer-events: none;
}
.game-intro { position: relative; z-index: 2; max-width: 850px; margin-bottom: 42px; }
.game-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 6vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -.07em;
}
.game-intro > p:last-child { max-width: 720px; font-size: 1.12rem; font-weight: 700; }
.racer-card {
  position: relative;
  z-index: 2;
  padding: 16px;
  background: var(--milk);
  border: 5px solid var(--ink-deep);
  border-radius: 28px 20px 35px 24px;
  box-shadow: 11px 12px 0 var(--ink-deep);
}
.racer-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 4px 16px;
}
.racer-score { display: grid; grid-template-columns: auto auto; gap: 4px 18px; width: min(520px, 64%); }
.racer-score strong { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.racer-score > span { justify-self: end; font-weight: 900; }
.racer-meter { grid-column: 1 / -1; height: 14px; overflow: hidden; background: #d7e6e6; border: 2px solid var(--ink-deep); border-radius: 999px; }
.racer-meter i { display: block; width: var(--racer-progress, 0%); height: 100%; background: linear-gradient(90deg, var(--aqua), var(--yellow), var(--coral)); box-shadow: 0 0 16px var(--yellow); transition: width .38s cubic-bezier(.2,.8,.2,1); }
.racer-combo {
  padding: 7px 12px;
  color: var(--ink-deep);
  background: var(--coral);
  border: 3px solid var(--ink-deep);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink-deep);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .07em;
  transform: rotate(-3deg);
  animation: combo-punch .36s ease-out;
}
@keyframes combo-punch { 50% { scale: 1.18; rotate: 3deg; } }
.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 13px;
  color: var(--ink-deep);
  background: var(--yellow);
  border: 3px solid var(--ink-deep);
  border-radius: 999px;
  box-shadow: 3px 4px 0 var(--ink-deep);
  font-weight: 900;
  cursor: pointer;
}
.sound-toggle[aria-pressed="false"] { background: #d9e4e4; opacity: .78; }
.racer-board {
  position: relative;
  min-height: 540px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 14%, rgba(245,220,118,.19), transparent 19%),
    radial-gradient(circle at 50% 110%, rgba(145,216,212,.52), transparent 42%),
    linear-gradient(180deg, #0f7898 0%, #0b4f70 52%, #061f3a 100%);
  border: 4px solid var(--ink-deep);
  border-radius: 24px 15px 28px 18px;
  isolation: isolate;
  touch-action: none;
}
.racer-board:focus-visible { outline: 6px solid var(--yellow); outline-offset: 5px; }
.racer-board::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .18;
  background-image: radial-gradient(#fff 1.3px, transparent 1.3px);
  background-size: 20px 20px;
}
.water-rays {
  position: absolute;
  inset: -20% -30%;
  z-index: 0;
  opacity: .35;
  background: repeating-linear-gradient(104deg, transparent 0 9%, rgba(255,255,255,.18) 10% 13%, transparent 14% 25%);
  transform: skewX(-8deg);
  animation: ray-drift 5s ease-in-out infinite alternate;
}
@keyframes ray-drift { to { translate: 8% 0; opacity: .55; } }
.speed-lines {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0;
  background: repeating-linear-gradient(90deg, transparent 0 7%, rgba(255,255,255,.42) 7.4% 7.8%, transparent 8.2% 18%);
  background-size: 180px 100%;
  pointer-events: none;
  transition: opacity .3s ease;
  animation: speed-stream .34s linear infinite;
}
.racer-board.is-turbo .speed-lines { opacity: .38; }
@keyframes speed-stream { to { background-position: -180px 0; } }
.reef-layer { position: absolute; right: -15%; bottom: 0; left: -15%; pointer-events: none; }
.reef-back {
  z-index: 1;
  height: 31%;
  opacity: .36;
  background:
    radial-gradient(ellipse at 8% 100%, #4a9a8c 0 8%, transparent 8.5%),
    radial-gradient(ellipse at 23% 110%, #4a9a8c 0 12%, transparent 12.5%),
    radial-gradient(ellipse at 55% 105%, #4a9a8c 0 10%, transparent 10.5%),
    radial-gradient(ellipse at 82% 110%, #4a9a8c 0 13%, transparent 13.5%);
  animation: reef-drift 18s linear infinite;
}
.reef-front {
  z-index: 7;
  height: 19%;
  background:
    radial-gradient(ellipse at 7% 110%, #275b5b 0 9%, transparent 9.5%),
    radial-gradient(ellipse at 34% 112%, #36766e 0 12%, transparent 12.5%),
    radial-gradient(ellipse at 69% 112%, #2a6563 0 11%, transparent 11.5%),
    radial-gradient(ellipse at 94% 110%, #3a8173 0 10%, transparent 10.5%),
    linear-gradient(180deg, transparent 0 48%, rgba(4,23,40,.88) 49% 100%);
  animation: reef-drift 10s linear infinite;
}
.racer-board.is-turbo .reef-front { animation-duration: 4.8s; }
@keyframes reef-drift { to { translate: -12% 0; } }
.fish-school { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.fish-swimmer { position: absolute; width: 48px; height: 30px; opacity: .54; animation-timing-function: linear; animation-iteration-count: infinite; }
.fish-swimmer i {
  position: absolute;
  inset: 4px 0 2px 5px;
  display: block;
  background: #8adbd2;
  border: 2px solid rgba(8,38,63,.55);
  border-radius: 55% 48% 48% 55%;
  filter: drop-shadow(2px 3px 0 rgba(4,22,37,.25));
  animation: fish-float .9s ease-in-out infinite alternate;
}
.fish-swimmer i::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 3px;
  width: 16px;
  height: 18px;
  background: inherit;
  border: inherit;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}
.fish-swimmer i::after { content: ""; position: absolute; top: 5px; right: 6px; width: 4px; height: 4px; background: var(--ink-deep); border-radius: 50%; }
.swim-right { left: -14%; animation-name: fish-cross-right; }
.swim-left { left: 114%; animation-name: fish-cross-left; }
.swim-left i { transform: scaleX(-1); }
.fish-a { top: 18%; animation-duration: 15s; }
.fish-b { top: 38%; animation-duration: 19s; animation-delay: -8s; }
.fish-b i { background: #f5dc76; }
.fish-c { top: 62%; animation-duration: 17s; animation-delay: -12s; scale: .72; }
.fish-c i { background: #f28f7c; }
.fish-d { top: 74%; animation-duration: 22s; animation-delay: -5s; scale: .58; }
.fish-d i { background: #a9e6dd; }
@keyframes fish-cross-right { to { left: 114%; } }
@keyframes fish-cross-left { to { left: -14%; } }
@keyframes fish-float { to { translate: 0 -5px; } }
.racer-items, .racer-effects { position: absolute; inset: 0; pointer-events: none; }
.racer-items { z-index: 6; }
.racer-effects { z-index: 12; overflow: hidden; }
.milchhai-racer {
  position: absolute;
  left: 18%;
  top: var(--player-y, 50%);
  z-index: 9;
  width: clamp(92px, 12vw, 145px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(var(--player-tilt, 0deg));
  transition: top .22s cubic-bezier(.2,.8,.2,1), transform .18s ease, left .85s cubic-bezier(.2,.8,.2,1);
}
.milchhai-racer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 44% 56% 49% 51%;
  box-shadow: 0 0 0 4px var(--ink-deep), 0 0 30px rgba(145,216,212,.9), 7px 9px 0 rgba(4,25,43,.45);
}
.racer-board.is-playing .milchhai-racer img { animation: racer-swim .68s ease-in-out infinite alternate; }
@keyframes racer-swim { to { translate: 5px -4px; rotate: 2deg; } }
.racer-trail, .racer-trail::before, .racer-trail::after {
  position: absolute;
  z-index: -1;
  border: 3px solid rgba(255,255,255,.72);
  border-radius: 50%;
  content: "";
}
.racer-trail { left: -42%; top: 55%; width: 22px; height: 22px; animation: trail-pop 1s linear infinite; }
.racer-trail::before { left: -27px; top: -23px; width: 13px; height: 13px; animation: trail-pop 1s .24s linear infinite; }
.racer-trail::after { left: -49px; top: 12px; width: 9px; height: 9px; animation: trail-pop 1s .48s linear infinite; }
@keyframes trail-pop { to { opacity: 0; translate: -28px -8px; scale: 1.35; } }
.racer-item { position: absolute; left: 0; top: var(--item-y, 50%); transform: translate3d(var(--item-x, 1000px), -50%, 0); will-change: transform; }
.racer-pearl {
  display: grid;
  place-items: center;
  width: clamp(58px, 6vw, 78px);
  aspect-ratio: 1;
  color: var(--ink-deep);
  background: radial-gradient(circle at 35% 28%, #fff 0 9%, #fff7be 10% 32%, #f5dc76 55%, #e8a66d 100%);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--ink-deep), 0 0 30px rgba(245,220,118,.95), inset -7px -7px 12px rgba(242,143,124,.35);
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  font-weight: 900;
  animation: pearl-spin 1.2s ease-in-out infinite alternate;
}
@keyframes pearl-spin { to { rotate: 9deg; scale: 1.08; } }
.racer-jelly {
  display: grid;
  place-items: center;
  width: clamp(58px, 6vw, 78px);
  aspect-ratio: 1;
  filter: drop-shadow(0 0 14px rgba(242,143,124,.8));
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  animation: jelly-wobble .8s ease-in-out infinite alternate;
}
@keyframes jelly-wobble { to { translate: 0 7px; rotate: -7deg; } }
.racer-portal {
  position: absolute;
  right: 5%;
  top: 50%;
  z-index: 8;
  width: 22%;
  aspect-ratio: .62;
  opacity: 0;
  border: 8px solid rgba(255,255,255,.92);
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--aqua), 0 0 55px 18px rgba(145,216,212,.9), inset 0 0 35px rgba(245,220,118,.75);
  transform: translate(15%, -50%) scale(.2) rotate(-8deg);
  transition: opacity .35s ease, transform .65s cubic-bezier(.18,.9,.3,1.2);
}
.racer-board.is-finale .racer-portal { opacity: 1; transform: translate(15%, -50%) scale(1) rotate(3deg); animation: portal-pulse .8s ease-in-out infinite alternate; }
.racer-board.is-finale .milchhai-racer { left: 110%; }
.racer-board.is-finale .fish-swimmer { opacity: .9; animation-duration: 2.4s !important; }
@keyframes portal-pulse { to { filter: hue-rotate(25deg) brightness(1.25); scale: 1.04; } }
.racer-word { position: absolute; z-index: 13; left: var(--word-x, 55%); top: var(--word-y, 45%); color: var(--yellow); font-size: clamp(1.6rem, 5vw, 4.2rem); font-weight: 900; font-style: italic; letter-spacing: -.06em; text-shadow: 3px 3px 0 #fff, 6px 6px 0 var(--ink-deep); opacity: 0; transform: translate(-50%, -50%) rotate(-9deg) scale(.55); pointer-events: none; }
.racer-word.is-visible { animation: racer-word .7s ease-out; }
@keyframes racer-word { 30% { opacity: 1; transform: translate(-50%, -75%) rotate(-5deg) scale(1.16); } 100% { opacity: 0; transform: translate(-50%, -125%) rotate(4deg) scale(.95); } }
.racer-particle { position: absolute; left: var(--particle-x); top: var(--particle-y); color: var(--particle-color, var(--yellow)); font-size: var(--particle-size, 1.2rem); text-shadow: 2px 2px 0 var(--ink-deep); pointer-events: none; animation: racer-particle .9s ease-out forwards; }
@keyframes racer-particle { to { opacity: 0; translate: var(--particle-dx) var(--particle-dy); rotate: 170deg; scale: 1.65; } }
.racer-wave { position: absolute; left: var(--wave-x); top: var(--wave-y); width: 30px; height: 30px; border: 5px solid rgba(255,255,255,.9); border-radius: 50%; transform: translate(-50%, -50%); animation: racer-wave .7s ease-out forwards; }
@keyframes racer-wave { to { opacity: 0; scale: 6; } }
.racer-board.is-hit { animation: racer-hit .34s ease-out; }
@keyframes racer-hit { 25% { translate: -7px 0; filter: saturate(1.5); } 55% { translate: 7px 0; } }
.racer-start, .racer-win {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 28px;
  color: #fff;
  text-align: center;
  background: rgba(8,38,63,.76);
  backdrop-filter: blur(7px);
}
.racer-start[hidden], .racer-win[hidden] { display: none !important; }
.racer-start h3, .racer-win h3 { margin-bottom: 10px; color: #fff; font-size: clamp(2.1rem, 5vw, 4.5rem); letter-spacing: -.05em; }
.racer-start p, .racer-win p { max-width: 520px; margin: 0 0 22px; font-weight: 800; }
.racer-start-mark { display: grid; place-items: center; width: 78px; height: 78px; margin-bottom: 16px !important; color: var(--ink-deep); background: var(--yellow); border: 4px solid #fff; border-radius: 50%; box-shadow: 5px 6px 0 var(--ink-deep); font-size: 2.9rem; }
.racer-win-stars { color: var(--yellow); font-size: 2.4rem; letter-spacing: .15em; }
.racer-controls { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.racer-controls button { min-width: 145px; min-height: 50px; padding: 10px 18px; color: var(--ink-deep); background: var(--aqua); border: 3px solid var(--ink-deep); border-radius: 999px; box-shadow: 3px 4px 0 var(--ink-deep); font-weight: 900; cursor: pointer; }
.racer-controls button:hover, .racer-controls button:focus-visible { background: var(--yellow); transform: translateY(-2px); }
.game-help { margin: 13px 4px 0; font-size: .82rem; font-weight: 800; text-align: center; opacity: .7; }

.music-chapter {
  position: relative;
  padding: 135px 0 155px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 22%, rgba(145, 216, 212, .18), transparent 25%),
    radial-gradient(circle at 12% 82%, rgba(242, 143, 124, .16), transparent 23%),
    var(--ink-deep);
  overflow: hidden;
}
.music-chapter::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: radial-gradient(#fff 1.3px, transparent 1.3px);
  background-size: 20px 20px;
}
.music-shell { position: relative; z-index: 2; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(55px, 8vw, 120px); }
.comic-kicker.light { color: #fff; }
.music-copy h2, .music-copy p { color: #fff; }
.music-copy > p:not(.comic-kicker):not(.privacy-note) { max-width: 520px; margin-bottom: 30px; font-size: 1.12rem; font-weight: 700; }
.privacy-note { color: rgba(255,255,255,.68) !important; }

.record-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(12px, 1.8vw, 20px);
  min-height: 0;
}
.record-card {
  position: relative;
  inset: auto;
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 12px;
  width: auto;
  min-width: 0;
  padding: 10px;
  color: var(--ink-deep);
  background: var(--milk);
  border: 4px solid var(--ink-deep);
  border-radius: 22px 16px 24px 18px;
  box-shadow: 7px 8px 0 rgba(0,0,0,.3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.record-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border: 3px solid var(--ink-deep); border-radius: 14px; }
.record-card > div { min-width: 0; padding: 2px 5px 7px; }
.record-card span { display: block; margin-bottom: 6px; color: var(--sea); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.record-card strong, .record-card h3 { display: block; margin: 0; color: var(--ink-deep); font-size: clamp(1rem, 1.45vw, 1.35rem); line-height: 1.08; overflow-wrap: anywhere; }
.record-one { transform: rotate(-1.4deg); }
.record-two { transform: translateY(15px) rotate(1.2deg); }
.record-three { transform: rotate(-.8deg); }
.record-card:hover { z-index: 5; transform: translateY(-6px) rotate(0) scale(1.02); box-shadow: 9px 11px 0 rgba(0,0,0,.26); }
.music-bubbles i { position: absolute; border: 2px solid rgba(255,255,255,.32); border-radius: 50%; }
.music-bubbles i:nth-child(1) { right: 4%; bottom: 12%; width: 74px; height: 74px; }
.music-bubbles i:nth-child(2) { right: 11%; top: 12%; width: 26px; height: 26px; }
.music-bubbles i:nth-child(3) { left: 4%; top: 17%; width: 45px; height: 45px; }
.music-bubbles i:nth-child(4) { left: 47%; bottom: 8%; width: 20px; height: 20px; }

.playlist-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: clamp(30px, 5vw, 70px);
  margin-top: 65px;
  padding: clamp(24px, 4vw, 46px);
  color: var(--ink-deep);
  background: var(--milk);
  border: 4px solid var(--ink-deep);
  border-radius: 28px 18px 32px 21px;
  box-shadow: 10px 11px 0 rgba(0,0,0,.34);
}
.playlist-heading h3 { margin-bottom: 17px; font-size: clamp(2rem, 4vw, 3.7rem); letter-spacing: -.055em; }
.playlist-heading > p:last-child { font-weight: 700; }
.player-perks { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; font-size: .9rem; font-weight: 850; }
.player-perks li { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 8px; }
.player-perks li span { display: grid; width: 24px; height: 24px; place-items: center; color: var(--milk); background: var(--sea); border: 2px solid var(--ink-deep); border-radius: 50%; font-size: .72rem; }
.spotify-player-card { position: relative; min-width: 0; padding: clamp(18px, 3vw, 28px); color: var(--milk); background: linear-gradient(145deg, #08263f, #0d5c7a 58%, #118e9c); border: 4px solid var(--ink-deep); border-radius: 24px 17px 27px 19px; box-shadow: 7px 8px 0 rgba(8,38,63,.22); overflow: hidden; }
.spotify-player-card::before { content: ''; position: absolute; inset: -35% -10% auto 45%; height: 230px; background: radial-gradient(circle, rgba(132,237,231,.32), transparent 68%); pointer-events: none; }
.spotify-consent { position: relative; z-index: 1; display: grid; justify-items: start; align-content: center; min-height: 304px; }
.spotify-consent[hidden], .spotify-embed-host[hidden] { display: none !important; }
.spotify-consent .eyebrow { margin-bottom: 7px; color: #9ff4eb; }
.spotify-consent h4 { margin: 0 0 12px; color: var(--milk); font-size: clamp(1.65rem, 3vw, 2.55rem); line-height: .98; letter-spacing: -.04em; }
.spotify-consent > p:not(.eyebrow) { max-width: 520px; margin: 0 0 21px; font-size: .9rem; font-weight: 700; }
.spotify-wave { display: grid; width: 58px; height: 58px; margin-bottom: 18px; place-items: center; color: var(--ink-deep); background: var(--coral); border: 3px solid var(--ink-deep); border-radius: 50%; box-shadow: 5px 6px 0 rgba(8,38,63,.55); font-size: 1.55rem; font-weight: 900; animation: spotify-pulse 1.8s ease-in-out infinite; }
@keyframes spotify-pulse { 50% { transform: translateY(-5px) rotate(7deg); box-shadow: 7px 10px 0 rgba(8,38,63,.38); } }
.spotify-load-button { min-height: 50px; border-color: var(--ink-deep); cursor: pointer; }
.spotify-direct { margin-top: 15px; color: var(--milk); font-size: .875rem; font-weight: 850; text-underline-offset: 4px; }
.spotify-direct:hover, .spotify-direct:focus-visible { color: #9ff4eb; }
.spotify-embed-host { position: relative; z-index: 1; display: grid; gap: 12px; }
.spotify-frame-slot { min-width: 0; }
.spotify-frame-slot iframe { display: block; width: 100%; min-width: 0; height: 352px; background: #121212; border: 0; border-radius: 16px; }
.spotify-unload { justify-self: end; padding: 8px 12px; color: var(--milk); background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.62); border-radius: 999px; font: inherit; font-size: .875rem; font-weight: 900; cursor: pointer; }
.spotify-unload:hover, .spotify-unload:focus-visible { color: var(--ink-deep); background: var(--coral); border-color: var(--ink-deep); }
.track-list { margin: 0; padding: 0; list-style: none; }
.track-list li { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 2px dashed rgba(8,38,63,.25); }
.track-list li:last-child { border-bottom: 0; }
.track-number { color: var(--sea); font-size: .78rem; font-weight: 900; letter-spacing: .08em; }
.track-list strong { display: block; line-height: 1.15; }
.track-list small { display: block; margin-top: 3px; opacity: .68; }
.track-list a { padding: 9px 12px; color: #fff; background: var(--deep); border: 2px solid var(--ink-deep); border-radius: 999px; font-size: .78rem; font-weight: 900; text-decoration: none; }
.track-list a:hover, .track-list a:focus-visible { background: var(--coral); color: var(--ink-deep); }
.playlist-note { grid-column: 1 / -1; margin: 0; padding-top: 14px; border-top: 2px solid rgba(8,38,63,.12); font-size: .78rem; font-weight: 700; opacity: .72; }
.playlist-note a { color: inherit; font-weight: 900; text-underline-offset: 3px; }

.sound-worlds { padding-top: 130px; padding-bottom: 130px; }
.world-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.world {
  min-height: 330px;
  padding: 34px;
  border: var(--line) solid var(--ink-deep);
  border-radius: 34px 18px 30px 22px;
  box-shadow: var(--shadow);
  transition: transform .22s ease;
}
.world:nth-child(1) { transform: rotate(-1.5deg); }
.world:nth-child(2) { transform: translateY(28px) rotate(1deg); }
.world:nth-child(3) { transform: rotate(-.5deg); }
.world:hover { transform: translateY(-8px) rotate(0); }
.world > span { display: grid; place-items: center; width: 85px; height: 85px; margin-bottom: 70px; background: rgba(255,255,255,.62); border: 3px solid var(--ink-deep); border-radius: 50%; font-size: 3rem; font-weight: 900; }
.world p { margin: 0; font-size: .85rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.world h3 { margin: 6px 0 0; font-size: clamp(2rem, 3.5vw, 3.8rem); letter-spacing: -.06em; }
.world-sing { background: var(--yellow); }
.world-move { background: var(--coral); }
.world-dream { background: var(--aqua); }

.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(55px, 9vw, 130px);
  padding-top: 100px;
  padding-bottom: 160px;
}
.about-art { position: relative; }
.avatar-ring {
  overflow: hidden;
  background: var(--sky);
  border: 5px solid var(--ink-deep);
  border-radius: 48% 52% 46% 54%;
  box-shadow: 12px 13px 0 var(--aqua), 18px 19px 0 var(--ink-deep);
  transform: rotate(-3deg);
}
.avatar-ring img { aspect-ratio: 1; object-fit: cover; }
.about-bubble {
  position: absolute;
  top: 4%;
  right: -16%;
  margin: 0;
  padding: 18px 20px;
  background: var(--milk);
  border: 4px solid var(--ink-deep);
  border-radius: 28px;
  box-shadow: 6px 7px 0 var(--ink-deep);
  font-weight: 900;
  transform: rotate(4deg);
}
.about-bubble::after { content: ""; position: absolute; left: 24px; bottom: -15px; width: 25px; height: 25px; background: var(--milk); border-right: 4px solid var(--ink-deep); border-bottom: 4px solid var(--ink-deep); transform: rotate(45deg); }
.star { position: absolute; color: var(--coral); font-size: 3rem; text-shadow: 2px 2px 0 var(--ink-deep); }
.star-one { left: -8%; bottom: 5%; transform: rotate(10deg); }
.star-two { right: 0; bottom: -5%; color: var(--yellow); font-size: 2rem; }
.about-copy > p:not(.eyebrow) { max-width: 620px; font-size: 1.08rem; font-weight: 700; }
.little-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.little-facts span { padding: 8px 12px; background: #fff; border: 2px solid var(--ink-deep); border-radius: 999px; font-size: .82rem; font-weight: 900; }

.faq { padding-top: 30px; padding-bottom: 150px; }
.faq-list { display: grid; gap: 16px; max-width: 980px; }
.faq-item { background: var(--milk); border: 4px solid var(--ink-deep); border-radius: 22px 16px 25px 18px; box-shadow: 6px 7px 0 var(--ink-deep); }
.faq-item:nth-child(even) { transform: translateX(20px) rotate(.25deg); }
.faq-item summary { position: relative; padding: 22px 66px 22px 24px; font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-weight: 900; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; top: 50%; right: 20px; display: grid; place-items: center; width: 34px; height: 34px; background: var(--yellow); border: 2px solid var(--ink-deep); border-radius: 50%; transform: translateY(-50%); }
.faq-item[open] summary::after { content: "–"; background: var(--aqua); }
.faq-item p { margin: 0; padding: 0 24px 24px; max-width: 780px; font-size: 1rem; font-weight: 700; }

.final-panel {
  position: relative;
  width: min(1280px, calc(100% - 30px));
  margin: 0 auto 30px;
  padding: 120px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 115%, rgba(145, 216, 212, .92), transparent 32%),
    linear-gradient(145deg, #ccebee, #f7e5c6 58%, #f4b7a8);
  border: 5px solid var(--ink-deep);
  border-radius: 40px 25px 45px 28px;
  box-shadow: 10px 12px 0 var(--ink-deep);
  overflow: hidden;
}
.final-panel::before, .final-panel::after { content: ""; position: absolute; width: 260px; height: 260px; opacity: .35; border: 3px solid var(--ink-deep); border-radius: 50%; }
.final-panel::before { top: -160px; left: -80px; }
.final-panel::after { right: -120px; bottom: -150px; }
.final-content { position: relative; z-index: 2; max-width: 800px; margin: auto; }
.final-panel p:not(.comic-kicker):not(.final-bubble) { margin: 0 auto 30px; max-width: 560px; font-size: 1.12rem; font-weight: 700; }
.final-bubble { display: table; margin: 35px auto 0; padding: 10px 15px; background: var(--milk); border: 3px solid var(--ink-deep); border-radius: 20px; box-shadow: 4px 4px 0 var(--ink-deep); font-weight: 900; transform: rotate(-2deg); }
.final-stars { position: absolute; top: 24px; left: 0; width: 100%; color: var(--sea); font-size: 1.5rem; letter-spacing: .4em; }

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 30px;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 50px 0 45px;
  font-size: .88rem;
  font-weight: 700;
}
.site-footer p { margin: 0; }
.site-footer > a:not(.wordmark) { font-weight: 900; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 18px; }
.footer-links a { font-weight: 900; }
.footer-links a[aria-current="page"] { text-decoration-thickness: 3px; text-underline-offset: 5px; }
.copyright { opacity: .64; }

.legal-page { background-color: #f9f4e9; }
.legal-hero {
  position: relative;
  min-height: 500px;
  padding: 180px 0 95px;
  background:
    radial-gradient(circle at 86% 18%, rgba(245,220,118,.9) 0 7%, transparent 7.2%),
    linear-gradient(145deg, #d7f0f1, #a9dbdf);
  border-bottom: 5px solid var(--ink-deep);
  overflow: hidden;
}
.legal-hero::after {
  content: "§";
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: -80px;
  color: rgba(255,255,255,.42);
  font-size: clamp(15rem, 34vw, 31rem);
  font-weight: 900;
  line-height: .8;
  transform: rotate(8deg);
}
.legal-hero-privacy::after { content: "✓"; transform: rotate(-7deg); }
.legal-hero-inner { position: relative; z-index: 2; }
.legal-hero h1 { margin-bottom: 20px; font-size: clamp(4rem, 10vw, 9rem); }
.legal-hero p:last-child { max-width: 640px; margin: 0; font-size: 1.15rem; font-weight: 700; }
.legal-shell { padding-top: 80px; padding-bottom: 120px; }
.legal-card {
  margin-bottom: 24px;
  padding: clamp(28px, 5vw, 60px);
  background: rgba(255,253,248,.96);
  border: 4px solid var(--ink-deep);
  border-radius: 26px 18px 30px 22px;
  box-shadow: 7px 8px 0 var(--ink-deep);
}
.legal-card:nth-child(even) { border-radius: 18px 28px 20px 32px; }
.legal-lead { background: var(--yellow); }
.legal-highlight { background: #dff3ef; }
.legal-card h2 { margin-bottom: 20px; font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: -.045em; }
.legal-card p, .legal-card li { font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.7; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-card ul { padding-left: 1.35rem; }
.legal-card li + li { margin-top: 8px; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.legal-grid .legal-card { height: calc(100% - 24px); }
.legal-back { margin-top: 25px; }

.js.motion-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js.motion-ready .hero-art.reveal.is-visible { transform: rotate(1.8deg) translate(var(--parallax-x, 0), var(--parallax-y, 0)); }

.burst-bubble {
  position: fixed;
  z-index: 500;
  width: var(--size);
  height: var(--size);
  border: 3px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: rgba(145,216,212,.25);
  box-shadow: inset 4px 4px 7px rgba(255,255,255,.75), 0 0 0 1px rgba(8,38,63,.16);
  pointer-events: none;
  animation: bubble-burst 1.5s ease-out forwards;
}
@keyframes bubble-burst {
  0% { opacity: 0; transform: translate(0,0) scale(.25); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1); }
}

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-copy { max-width: 700px; }
  .hero-art { width: min(880px, 100%); }
  .blubb-button { bottom: 42px; }
  .music-shell { grid-template-columns: 1fr; }
  .playlist-panel { grid-template-columns: 1fr; }
  .record-stack { width: min(760px, 100%); margin-inline: auto; }
  .about { grid-template-columns: .85fr 1.15fr; gap: 55px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --shadow: 6px 7px 0 rgba(8, 38, 63, .92); }
  .site-header { top: 10px; width: calc(100% - 20px); }
  .mini-cta { padding-inline: 13px; }
  .hero { min-height: auto; padding: 118px 20px 115px; gap: 48px; }
  h1 { font-size: clamp(2.8rem, 11.5vw, 4.15rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .sound-word-two { left: -8px; }
  .blubb-button { right: 22px; bottom: 48px; }
  .section-shell { width: min(100% - 28px, 1180px); }
  .adventures { padding-top: 85px; padding-bottom: 100px; }
  .section-intro { margin-bottom: 40px; }
  .section-intro h2, .music-copy h2, .about h2, .final-panel h2 { font-size: clamp(2.9rem, 14vw, 4.5rem); }
  .comic-grid { display: flex; flex-direction: column; gap: 25px; }
  .comic-panel { min-height: 470px; transform: rotate(var(--mobile-tilt, 0deg)); }
  .panel-friends { --mobile-tilt: -.7deg; }
  .panel-music { --mobile-tilt: .7deg; }
  .panel-sleep { --mobile-tilt: -.4deg; }
  .music-chapter { padding: 100px 0 120px; }
  .record-stack { grid-template-columns: 1fr; width: min(460px, 100%); min-height: 0; gap: 18px; }
  .record-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 14px; width: 100%; transform: none; }
  .record-card img { width: 96px; height: 96px; }
  .record-one, .record-two, .record-three { inset: auto; transform: none; }
  .playlist-panel { margin-top: 25px; }
  .spotify-consent { min-height: 0; }
  .spotify-frame-slot iframe { height: 352px; }
  .track-list li { grid-template-columns: 34px 1fr; }
  .track-list a { grid-column: 2; justify-self: start; }
  .current-game { padding: 95px 0 105px; }
  .racer-card { padding: 10px; }
  .racer-hud { align-items: flex-end; flex-wrap: wrap; }
  .racer-score { width: 100%; }
  .racer-board { min-height: 540px; aspect-ratio: 4 / 5; }
  .milchhai-racer { left: 21%; width: clamp(86px, 28vw, 112px); }
  .racer-portal { right: 1%; width: 34%; }
  .racer-controls button { flex: 1; min-width: 0; }
  .sound-worlds { padding-top: 95px; padding-bottom: 105px; }
  .world-strip { grid-template-columns: 1fr; }
  .world { min-height: 255px; }
  .world:nth-child(2) { transform: rotate(1deg); }
  .world > span { margin-bottom: 38px; }
  .about { grid-template-columns: 1fr; padding-top: 55px; padding-bottom: 110px; }
  .about-art { width: min(500px, 88%); margin-inline: auto; }
  .about-bubble { right: -10%; font-size: .86rem; }
  .final-panel { padding: 90px 20px; }
  .site-footer { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .footer-wordmark { justify-content: center; }
  .footer-links { justify-content: center; }
  .faq-item:nth-child(even) { transform: none; }
  .legal-hero { min-height: 430px; padding: 150px 0 70px; }
  .legal-grid { grid-template-columns: 1fr; gap: 0; }
  .legal-shell { padding-top: 45px; padding-bottom: 85px; }
}

@media (max-width: 420px) {
  .wordmark-fin { display: none; }
  .site-header { grid-template-columns: 1fr; padding-inline: 18px; }
  .mini-cta { display: none; }
  .comic-panel { min-height: 410px; }
  .record-card { grid-template-columns: 82px minmax(0, 1fr); }
  .record-card img { width: 82px; height: 82px; }
  .about-bubble { right: -8%; max-width: 150px; }
  .racer-hud { align-items: stretch; flex-direction: column; }
  .racer-combo { align-self: flex-start; }
  .sound-toggle { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ambient-bubble { display: none; }
  .js.motion-ready .reveal { opacity: 1; transform: none; }
  .js.motion-ready .hero-art.reveal.is-visible { transform: rotate(1deg); }
  .fish-swimmer { display: none; }
  .racer-board.is-playing .milchhai-racer img { animation: none; }
}
