@font-face { font-family: PiePie; src: url('/landing-assets/PiePie.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: Museo; src: url('/landing-assets/MuseoSansRounded500.otf') format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Museo; src: url('/landing-assets/MuseoSansRounded700.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Museo; src: url('/landing-assets/MuseoSansRounded900.otf') format('opentype'); font-weight: 900; font-display: swap; }

:root {
  --aubergine: #292540;
  --lemon: #fdfc86;
  --blue: #5f8a9e;
  --blue-light: #bed5dd;
  --ivory: #f7f7ed;
  --coral: #e17768;
  --sc-canvas: var(--ivory);
  --sc-surface: #ffffff;
  --sc-ink: var(--aubergine);
  --sc-ink-soft: #5d596c;
  --sc-accent: var(--lemon);
  --sc-accent-ink: var(--aubergine);
  --sc-font-display: PiePie, Museo, sans-serif;
  --sc-font-text: Museo, sans-serif;
  --sc-font-mono: Museo, sans-serif;
  --sc-r-sm: 8px;
  --sc-r-md: 14px;
  --sc-r-lg: 28px;
  --sc-shadow-color: 250 28% 14%;
}

html { background: var(--ivory); }
body { overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
a { font-weight: 700; }

.hero {
  min-height: 100svh;
  color: var(--aubergine);
  background: var(--ivory);
  position: relative;
  overflow: clip;
  padding: max(1.25rem, env(safe-area-inset-top)) var(--sc-gutter) 2rem;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(5rem, 12vw, 10rem);
  background: linear-gradient(to bottom, transparent, var(--ivory));
  z-index: 8;
  pointer-events: none;
}
.hero__nav {
  width: min(100%, 82rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}
.hero__nav img { width: clamp(8.7rem, 13vw, 11.5rem); height: auto; }
.text-link { text-decoration: none; border-bottom: 1px solid currentColor; padding-block: .35rem; }
.hero__composition {
  width: min(100%, 82rem);
  min-height: calc(100svh - 8rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, .95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.hero__copy { position: relative; z-index: 18; max-width: 43rem; }
.hero__copy h1 {
  font-family: PiePie, Museo, sans-serif;
  font-size: clamp(3.4rem, 7vw, 6rem);
  line-height: .92;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.hero__copy p { max-width: 35rem; margin-top: 1.75rem; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.52; color: #5d596c; }
.primary-link {
  display: inline-flex;
  margin-top: 2rem;
  padding: .88rem 1.2rem;
  border-radius: .8rem;
  background: var(--aubergine);
  color: var(--ivory);
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(41,37,64,.14), 0 18px 38px rgba(41,37,64,.16);
  transition: transform 220ms var(--sc-ease-out), background 220ms var(--sc-ease-out);
}
.primary-link:hover { transform: translateY(-2px); background: #393351; }
.hero__world { min-height: clamp(28rem, 54vw, 46rem); position: relative; isolation: isolate; }
.hero__bird { position: absolute; width: min(43rem, 125%); max-width: none; left: 50%; bottom: 2%; transform: translateX(-50%); z-index: 5; }
.hero__phrase {
  position: absolute;
  top: 18%;
  left: -5%;
  z-index: 4;
  padding: .52rem 1rem .7rem;
  border-radius: .8rem;
  background: var(--aubergine);
  color: var(--ivory);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 900;
  box-shadow: 0 5px 12px rgba(41,37,64,.18), 0 24px 60px rgba(41,37,64,.2);
}
.hero__echo { position: absolute; border: clamp(2.5rem, 6vw, 5rem) solid var(--lemon); border-radius: 50%; }
.hero__echo--back { width: 72%; aspect-ratio: 1; right: 2%; top: 10%; z-index: 1; opacity: .9; }
.hero__echo--front { width: 34%; aspect-ratio: 1; right: -5%; bottom: 4%; z-index: 7; border-color: var(--blue-light); }
.hero__note { position: absolute; left: var(--sc-gutter); bottom: 2.3rem; z-index: 10; font-size: .83rem; color: #5d596c; }

.textbook { background: var(--aubergine); color: var(--ivory); }
.textbook__stage { display: grid; place-items: center; padding: var(--sc-gutter); background: var(--aubergine); }
.textbook__line {
  position: absolute;
  max-width: 16ch;
  font-family: PiePie, Museo, sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .96;
  letter-spacing: -.03em;
  text-align: center;
  text-wrap: balance;
}
.textbook__line--final { color: var(--lemon); }
.textbook__aside { position: absolute; left: var(--sc-gutter); bottom: 2rem; color: var(--blue-light); font-size: .85rem; }

.culture { background: var(--blue-light); color: var(--aubergine); }
.culture__stage { display: flex; align-items: center; background: var(--blue-light); }
.culture__rail { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); width: max-content; padding: 0 var(--sc-gutter); }
.culture__lead { width: min(78vw, 36rem); flex: none; padding-right: clamp(1rem, 4vw, 4rem); }
.culture__lead h2 { font-family: PiePie, Museo, sans-serif; font-size: clamp(3.4rem, 6vw, 5.8rem); line-height: .94; letter-spacing: -.03em; }
.culture__lead p { max-width: 28rem; margin-top: 1.25rem; color: var(--aubergine); font-size: 1.1rem; }
.mode { width: min(74vw, 28rem); flex: none; }
.mode__art { height: min(50vh, 28rem); overflow: hidden; border-radius: 1.5rem; background: var(--ivory); box-shadow: 0 5px 12px rgba(41,37,64,.13), 0 30px 70px rgba(41,37,64,.24); }
.mode__art img { width: 100%; height: 100%; object-fit: contain; }
.mode h3 { margin-top: 1.4rem; font-family: PiePie, Museo, sans-serif; font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1; }
.mode p { max-width: 24rem; margin-top: .55rem; color: var(--aubergine); }
.mode__art--songs { display: flex; align-items: end; justify-content: center; gap: 5%; padding: 12%; background: var(--lemon); }
.mode__art--songs span { width: 12%; min-height: 22%; border-radius: 999px 999px .5rem .5rem; background: var(--aubergine); animation: pulse 1.8s var(--sc-ease-in-out) infinite alternate; }
.mode__art--songs span:nth-child(2) { min-height: 78%; animation-delay: -.8s; }
.mode__art--songs span:nth-child(3) { min-height: 48%; animation-delay: -.35s; }
.mode__art--songs span:nth-child(4) { min-height: 92%; animation-delay: -1.2s; }
.mode__art--movies { display: grid; place-items: center; background: var(--aubergine); position: relative; }
.mode__art--movies::before, .mode__art--movies::after { content: ''; position: absolute; left: 8%; right: 8%; height: 14%; background: var(--ivory); clip-path: polygon(0 0, 12% 100%, 24% 0, 36% 100%, 48% 0, 60% 100%, 72% 0, 84% 100%, 96% 0, 100% 100%, 100% 100%, 0 100%); }
.mode__art--movies::before { top: 8%; }
.mode__art--movies::after { bottom: 8%; transform: rotate(180deg); }
.mode__art--movies span { color: var(--lemon); font-size: clamp(2.6rem, 5vw, 4.7rem); font-weight: 900; }
.mode__art--everyday { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: .8rem; padding: 12%; background: var(--coral); }
.mode__art--everyday span { padding: .5rem .9rem .65rem; border-radius: .75rem; background: var(--ivory); color: var(--aubergine); font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 900; transform: rotate(-4deg); }
.mode__art--everyday span:nth-child(2) { transform: rotate(5deg) translateY(1.6rem); background: var(--lemon); }
.mode__art--everyday span:nth-child(3) { transform: rotate(-1deg) translateY(-.7rem); }
.culture__tail { width: min(70vw, 25rem); flex: none; color: var(--aubergine); }
.culture__tail p { font-size: 1.1rem; }
.culture__tail strong { display: block; font-family: PiePie, Museo, sans-serif; font-size: clamp(4rem, 8vw, 7rem); line-height: 1; }

.earworm { background: var(--lemon); color: var(--aubergine); }
.earworm__stage { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); padding: var(--sc-gutter); background: var(--lemon); }
.earworm__copy { position: relative; min-height: 16rem; }
.earworm__intro { position: absolute; inset: 0; display: flex; align-items: center; max-width: 12ch; font-family: PiePie, Museo, sans-serif; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .96; letter-spacing: -.03em; text-wrap: balance; }
.earworm__player { --ear-p: 0; position: relative; overflow: hidden; padding: clamp(1.4rem, 3vw, 2.6rem); border-radius: 1.5rem; background: var(--aubergine); color: var(--ivory); box-shadow: 0 5px 12px rgba(41,37,64,.15), 0 30px 70px rgba(41,37,64,.2); }
.earworm__player::after { content: ''; position: absolute; left: 0; top: 0; width: calc(var(--ear-p) * 100%); height: .32rem; background: var(--coral); }
.wave { height: 3.2rem; display: flex; align-items: center; gap: .42rem; margin-bottom: clamp(2rem, 4vw, 4rem); opacity: clamp(.25, calc(1 - var(--ear-p)), 1); transform: scaleX(calc(1 - var(--ear-p) * .18)); transform-origin: left center; }
.wave i { width: .45rem; height: 36%; border-radius: 999px; background: var(--blue-light); animation: pulse 1.2s var(--sc-ease-in-out) infinite alternate; }
.wave i:nth-child(2), .wave i:nth-child(6) { height: 75%; animation-delay: -.7s; }
.wave i:nth-child(3), .wave i:nth-child(5) { height: 52%; animation-delay: -.3s; }
.wave i:nth-child(4) { height: 100%; animation-delay: -.9s; }
.tokens { display: flex; flex-wrap: wrap; gap: calc(.35rem + var(--ear-p) * .45rem); justify-content: flex-start; font-size: clamp(2.2rem, 5vw, 4.6rem); font-weight: 900; line-height: 1.25; }
.tokens span { display: inline-block; padding: .08em .18em .14em; border-radius: .45rem; border-bottom: .08em solid var(--blue); background: var(--ivory); color: var(--aubergine); }
.translation { margin-top: 1.35rem; color: var(--blue-light); font-size: clamp(1rem, 1.6vw, 1.25rem); }

.loop { background: var(--ivory); color: var(--aubergine); }
.loop__inner { width: min(100%, 82rem); margin-inline: auto; padding-inline: var(--sc-gutter); }
.loop h2 { max-width: 14ch; font-family: PiePie, Museo, sans-serif; font-size: clamp(3.2rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -.03em; }
.loop__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(3rem, 7vw, 7rem); padding-top: 1.2rem; border-top: 1px solid #d5d1c8; }
.loop__steps strong { display: block; font-family: PiePie, Museo, sans-serif; font-size: clamp(2rem, 3vw, 3.2rem); }
.loop__steps p { max-width: 18rem; margin-top: .65rem; color: #5d596c; }

.close { background: var(--aubergine); color: var(--ivory); }
.close__stage { display: grid; place-items: center; padding: var(--sc-gutter); background: radial-gradient(circle at var(--sc-mx, 65%) var(--sc-my, 35%), rgba(253,252,134,.16), transparent 32%), var(--aubergine); }
.close__bird { position: absolute; right: max(-4rem, -4vw); bottom: -12%; width: min(46vw, 38rem); max-height: 90%; object-fit: contain; opacity: .28; }
.close__copy { position: relative; z-index: 4; width: min(100%, 69rem); }
.close h2 { max-width: 13ch; font-family: PiePie, Museo, sans-serif; font-size: clamp(3.2rem, 7vw, 6rem); line-height: .94; letter-spacing: -.03em; color: var(--lemon); }
.store-links { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 2rem; }
.store-links a { display: inline-flex; min-height: 3.5rem; }
.store-links img { width: auto; height: 3.5rem; object-fit: contain; }
.store-links a:nth-child(2) img { height: 4.15rem; margin-block: -.325rem; }
.close footer { position: absolute; z-index: 5; left: var(--sc-gutter); right: var(--sc-gutter); bottom: max(1.25rem, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--blue-light); font-size: .78rem; }
.close footer nav { display: flex; gap: 1.25rem; }

@keyframes pulse { from { transform: scaleY(.72); } to { transform: scaleY(1); } }

@media (max-width: 760px) {
  .hero__composition { grid-template-columns: 1fr; align-content: start; gap: 0; padding-top: 12vh; }
  .hero__copy h1 { font-size: clamp(3.5rem, 15vw, 5.1rem); }
  .hero__copy p { font-size: 1rem; max-width: 29rem; }
  .hero__world { min-height: 43vh; margin-top: -1rem; }
  .hero__bird { width: min(34rem, 116vw); left: 55%; bottom: -8%; }
  .hero__phrase { left: 0; top: 16%; }
  .hero__echo--front { right: -9%; bottom: 1%; }
  .hero__note { display: none; }
  .textbook__line { font-size: clamp(3.2rem, 14vw, 5.2rem); }
  .culture__lead { width: 86vw; }
  .mode { width: 78vw; }
  .mode__art { height: 46vh; }
  .earworm__stage { grid-template-columns: 1fr; align-content: center; gap: 1rem; }
  .earworm__copy { min-height: 12rem; }
  .earworm__intro { font-size: clamp(3rem, 13vw, 4.8rem); }
  .earworm__player { margin-top: 1rem; }
  .loop__steps { grid-template-columns: 1fr; gap: 2rem; }
  .close__bird { width: 82vw; right: -30%; bottom: -4%; }
  .close footer { align-items: flex-end; }
  .close footer nav { flex-direction: column; gap: .3rem; text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  .mode__art--songs span, .wave i { animation: none; }
  .hero__echo, .hero__phrase, .hero__bird { transform: none !important; }
}

/* Compact editorial pacing: content determines height, with no pinned travel. */
.hero { min-height: 0; padding-bottom: 32px; }
.hero::after { display: none; }
.hero__composition { min-height: 0; max-width: 1180px; padding-block: 48px 24px; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.hero__copy h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.08; letter-spacing: -.02em; }
.hero__copy p { font-size: 18px; margin-top: 20px; }
.hero__world { min-height: 420px; }
.hero__bird { width: 100%; height: 100%; object-fit: contain; left: 0; bottom: 0; transform: none; }
.hero__phrase { left: 0; top: 18%; font-size: 25px; }
.hero__echo--front { right: 0; width: 25%; }
.hero__note { position: static; max-width: 1180px; margin: 0 auto; }
.store-links { gap: 12px; margin-top: 24px; }
.store-links a { align-items: center; min-height: 48px; }
.store-links img { height: 48px; width: 144px; }
.store-links a:nth-child(2) img { height: 57px; width: 162px; margin-block: -4.5px; }
.store-links a:hover { opacity: .8; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.textbook__stage { display: flex; justify-content: space-between; gap: 32px; padding: 32px var(--sc-gutter); }
.textbook__line { position: static; font-family: Museo, sans-serif; font-weight: 900; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; max-width: 25ch; text-align: left; }
.textbook__aside { position: static; max-width: 28ch; font-size: 15px; }
.culture__stage { display: block; padding: 60px var(--sc-gutter); }
.culture__rail { width: min(100%, 1180px); margin: auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 28px; }
.culture__lead { grid-column: 1 / -1; width: auto; padding: 0; }
.culture__lead h2 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.12; }
.culture__lead p { margin-top: 12px; max-width: none; }
.mode { width: auto; min-width: 0; }
.mode__art { height: auto; aspect-ratio: 1.15; border-radius: 16px; box-shadow: none; }
.mode h3 { font-family: Museo, sans-serif; font-weight: 900; font-size: 25px; margin-top: 16px; }
.mode p { font-size: 15px; line-height: 1.5; }
.culture__tail { grid-column: 1 / -1; width: auto; display: flex; gap: 8px; align-items: baseline; }
.culture__tail strong { font: 900 20px Museo, sans-serif; }
.earworm__stage { max-width: 1320px; margin: auto; padding-block: 64px; gap: 48px; }
.earworm__copy { min-height: 0; }
.earworm__intro { position: static; display: block; max-width: 15ch; font-size: clamp(32px, 3.5vw, 48px); line-height: 1.12; }
.earworm__copy p { margin-top: 20px; max-width: 42ch; }
.earworm__player::after { display: none; }
.wave { margin-bottom: 24px; }
.tokens { gap: 8px; font-size: clamp(26px, 3vw, 40px); }
.tokens button { border: 0; border-bottom: 3px solid var(--blue); border-radius: 8px; background: var(--ivory); color: var(--aubergine); padding: 8px; font: inherit; cursor: pointer; min-height: 48px; }
.tokens button[aria-pressed="true"] { background: var(--lemon); }
.close__stage { position: relative; display: block; padding: 56px var(--sc-gutter) 28px; overflow: hidden; background: var(--aubergine); }
.close__copy { max-width: 1180px; margin: auto; }
.close h2 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.12; max-width: 22ch; }
.close__bird { right: 3%; bottom: 80px; width: 240px; height: 65%; opacity: 1; }
.close footer { position: relative; left: auto; right: auto; bottom: auto; max-width: 1180px; margin: 48px auto 0; flex-direction: column; align-items: flex-start; gap: 16px; }
.close footer p { width: 100%; border-top: 1px solid rgba(190,213,221,.24); padding-top: 16px; }
.mode__art--still { display: block; position: relative; }
/* These source thumbnails include baked-in bars. Crop within the media frame. */
.mode__art--still img { object-fit: cover; transform: scale(1.4); }
.mode--movies .mode__art--still img { transform: scale(1.85); transform-origin: 85% center; }
@media (max-width: 760px) {
  .hero__composition { grid-template-columns: 1fr; padding-top: 32px; gap: 8px; }
  .hero__copy h1 { font-size: clamp(34px, 9vw, 48px); line-height: 1.1; }
  .hero__copy p { font-size: 16px; }
  .hero__world { min-height: 260px; height: 260px; margin: 12px auto 0; width: min(100%, 340px); }
  .hero__bird { left: 0; width: 100%; bottom: 0; }
  .hero__phrase { font-size: 21px; }
  .hero__nav img { width: 126px; }
  .text-link { font-size: 13px; min-height: 44px; display: flex; align-items: center; }
  .textbook__stage { flex-direction: column; align-items: start; gap: 12px; padding-block: 28px; }
  .culture__stage { padding-block: 36px; }
  .culture__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .mode h3 { font-size: 21px; }
  .mode p { font-size: 14px; }
  .mode__art--everyday { padding: 10%; gap: 5px; }
  .mode__art--everyday span { font-size: 22px; padding: 3px 6px; }
  .mode__art--everyday span:nth-child(2) { transform: rotate(5deg); }
  .mode__art--everyday span:nth-child(3) { transform: rotate(-1deg); }
  .earworm__stage { padding-block: 36px; grid-template-columns: 1fr; gap: 24px; }
  .earworm__player { margin: 0; }
  .close__stage { padding-top: 36px; }
  .close__bird { position: relative; width: 120px; height: 130px; right: auto; bottom: auto; margin: 0 0 20px; opacity: 1; }
  .close footer { align-items: flex-start; gap: 16px; }
  .close footer nav { flex-direction: row; flex-wrap: wrap; gap: 12px; }
}

/* Motion is progressively enhanced only after ScrollCraft mounts. */
[data-sc-in], [data-sc-stagger] > * { opacity: 1; transform: none; }
html.sc-ready [data-sc-in]:not(.sc-in),
html.sc-ready [data-sc-stagger] > :not(.sc-in) {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

/* The hero and its first fold share the initial viewport, so sequence them explicitly. */
html.motion-sequence .hero__nav,
html.motion-sequence .hero__copy > *,
html.motion-sequence .hero__world,
html.motion-sequence .hero__note,
html.motion-sequence .textbook__stage {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
html.motion-sequence .hero__world { clip-path: inset(0 0 100% 0 round 28px); filter: saturate(.72); }
html.motion-sequence.motion-live .hero__nav,
html.motion-sequence.motion-live .hero__copy > *,
html.motion-sequence.motion-live .hero__world,
html.motion-sequence.motion-live .hero__note,
html.motion-sequence.motion-live .textbook__stage {
  opacity: 1;
  transform: none;
}
html.motion-sequence.motion-live .hero__world { clip-path: inset(0 round 28px); filter: none; }
.hero__nav { transition: opacity 500ms var(--sc-ease-out), transform 500ms var(--sc-ease-out); }
.hero__copy > *, .hero__note, .textbook__stage { transition: opacity 620ms var(--sc-ease-out), transform 620ms var(--sc-ease-out); }
.hero__copy > :nth-child(1) { transition-delay: 100ms; }
.hero__copy > :nth-child(2) { transition-delay: 200ms; }
.hero__copy > :nth-child(3) { transition-delay: 300ms; }
.hero__note { transition-delay: 560ms; }
.textbook__stage { transition-delay: 760ms; }

.hero__world[data-sc-in] {
  clip-path: inset(0 round 28px);
  transition: opacity 700ms var(--sc-ease-out), transform 700ms var(--sc-ease-out), clip-path 800ms var(--sc-ease-out), filter 700ms var(--sc-ease-out);
  transition-delay: 260ms;
}
html.sc-ready .hero__world[data-sc-in]:not(.sc-in) {
  clip-path: inset(0 0 100% 0 round 28px);
  filter: saturate(.72);
}
html.motion-live .hero__world .hero__phrase { animation: phrase-heard 700ms var(--sc-ease-out) 420ms both; }
html.motion-live .hero__world .hero__echo--back { animation: echo-heard 900ms var(--sc-ease-out) 380ms both; }
html.motion-live .hero__world .hero__echo--front { animation: echo-heard 900ms var(--sc-ease-out) 540ms both; }

.culture__rail[data-sc-stagger] > .mode {
  clip-path: inset(0 0 16% 0 round 16px);
  filter: saturate(.7);
  transition: opacity 680ms var(--sc-ease-out), transform 680ms var(--sc-ease-out), clip-path 760ms var(--sc-ease-out), filter 680ms var(--sc-ease-out);
}
.culture__rail[data-sc-stagger] > .mode.sc-in { clip-path: inset(0 round 16px); filter: none; }

.earworm__player[data-sc-in] {
  clip-path: inset(0 round 16px);
  transition: opacity 680ms var(--sc-ease-out), transform 680ms var(--sc-ease-out), clip-path 760ms var(--sc-ease-out), filter 680ms var(--sc-ease-out);
}
html.sc-ready .earworm__player[data-sc-in]:not(.sc-in) {
  clip-path: inset(0 92% 0 0 round 16px);
  filter: blur(4px);
}

.mode__art--still img { transition: transform 420ms var(--sc-ease-out), filter 220ms var(--sc-ease-out); }
.mode__art--still:hover img { transform: scale(1.46); filter: saturate(1.08); }
.mode--movies .mode__art--still:hover img { transform: scale(1.92); }
.store-links a { transition: transform 180ms var(--sc-ease-out), opacity 180ms var(--sc-ease-out), filter 180ms var(--sc-ease-out); }
.store-links a:hover { opacity: 1; transform: translateY(-2px); filter: drop-shadow(0 8px 10px rgba(41,37,64,.18)); }
.store-links a:active { transform: translateY(0) scale(.98); }
.tokens button { transition: transform 150ms var(--sc-ease-out), background-color 150ms var(--sc-ease-out); }
.tokens button:active { transform: scale(.96); }

@keyframes phrase-heard {
  from { opacity: 0; clip-path: inset(0 100% 0 0 round 8px); }
  to { opacity: 1; clip-path: inset(0 round 8px); }
}
@keyframes echo-heard {
  from { opacity: .12; filter: blur(5px); border-color: var(--coral); }
  to { opacity: .9; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-sc-in], [data-sc-stagger] > *,
  html.sc-ready [data-sc-in]:not(.sc-in),
  html.sc-ready [data-sc-stagger] > :not(.sc-in) {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
    transition-duration: 150ms !important;
    animation: none !important;
  }
  .mode__art--still:hover img, .mode--movies .mode__art--still:hover img { filter: none; }
  .hero__phrase, .hero__echo { animation: none !important; }
}

/* Impeccable Adapt: tune the same composition at its real content breakpoints. */
.hero,
.textbook__stage,
.culture__stage,
.earworm__stage,
.close__stage {
  padding-left: max(var(--sc-gutter), env(safe-area-inset-left));
  padding-right: max(var(--sc-gutter), env(safe-area-inset-right));
}

@media (min-width: 761px) and (max-width: 900px) {
  .hero__composition { grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr); gap: 24px; }
  .hero__world { min-height: 360px; }
  .culture__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .mode__art { aspect-ratio: 1.55; }
  .earworm__stage { gap: 28px; }
  .close__bird { width: 210px; }
}

@media (min-width: 761px) and (max-width: 950px) and (max-height: 520px) and (orientation: landscape) {
  .hero { padding-bottom: 20px; }
  .hero__composition { grid-template-columns: 1.1fr .9fr; padding-block: 20px 8px; gap: 24px; }
  .hero__copy h1 { font-size: clamp(36px, 5vw, 44px); }
  .hero__copy p { margin-top: 12px; font-size: 15px; }
  .hero__world { min-height: 280px; }
  .hero__phrase { font-size: 20px; }
  .hero__note { display: none; }
  .store-links { margin-top: 14px; }
  .culture__stage, .earworm__stage, .close__stage { padding-block: 36px; }
}

@media (max-width: 360px) {
  .hero__copy h1 { font-size: 34px; }
  .store-links { flex-wrap: nowrap; gap: 8px; }
  .store-links img { width: min(42vw, 126px); height: auto; }
  .store-links a:nth-child(2) img { width: min(47vw, 141px); height: auto; margin-block: 0; }
}

@media (hover: none) {
  .mode__art--still:hover img { transform: scale(1.4); filter: none; }
  .mode--movies .mode__art--still:hover img { transform: scale(1.85); }
  .store-links a:hover { transform: none; filter: none; }
}

@media (pointer: coarse) {
  .close footer a { display: inline-flex; min-height: 44px; align-items: center; }
}
