/* Stone Labs Studios / Pengi: The Long Way Home. First draft. */

:root {
  --night: #0A1430;
  --night-2: #13224A;
  --deep: #0E2F5C;
  --glacier: #9ED8F7;
  --ice: #D9F1FF;
  --frost: #F2F9FF;
  --snow: #FFFFFF;
  --aurora: #46EFC6;
  --violet: #8B7BFF;
  --coral: #FF5468;
  --coral-d: #D23A50;
  --coral-strong: #D62F48; /* white text on this passes 4.5:1 */
  --coral-deep: #9E1F33;
  --beak: #FFA53A;
  --gold: #FFD166;
  --gold-d: #D98A1E;
  --ink: #0B1733;
  --ink-2: #33456A;
  --muted: #5B6E90;

  --display: "Bricolage Grotesque", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5rem, 10vw, 8.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--frost);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; box-shadow: 0 0 0 7px var(--ink); }
::selection { background: var(--gold); color: var(--ink); }
.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: absolute; left: 1rem; top: -4rem; z-index: 300;
  background: var(--gold); color: var(--ink); font-weight: 700;
  padding: .7em 1.1em; border-radius: 999px; text-decoration: none;
  transition: top .3s var(--spring);
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); position: relative; z-index: 2; }

/* Snow layer: above section backgrounds, below content */
#snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font: 700 .78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--coral-d);
}
.eyebrow svg { width: 1.05em; height: 1.05em; animation: spin 9s linear infinite; }
.eyebrow--light { color: var(--aurora); }
.h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4.1rem); line-height: 1.02; letter-spacing: -.035em;
  margin: .45em 0 .5em; text-wrap: balance;
  font-variation-settings: "opsz" 96;
}
.h3 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.05; letter-spacing: -.03em;
  margin: .4em 0 .45em; text-wrap: balance;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 36em; }
.hl {
  color: var(--coral);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 5 Q5 1 10 5 T20 5 T30 5 T40 5' fill='none' stroke='%23FF5468' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") 0 100% / 40px 8px repeat-x;
  padding-bottom: .12em;
}
.hl-gold { color: var(--gold); }

/* ---------- Buttons (chunky toy buttons) ---------- */
.btn {
  --b-bg: #fff; --b-ink: var(--ink); --b-edge: #B9C9DC; --b-glow: rgba(255, 255, 255, .25);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: 800 1rem/1 var(--display); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  padding: 1em 1.45em; border: 0; border-radius: 999px; cursor: pointer; overflow: hidden;
  background: var(--b-bg); color: var(--b-ink);
  box-shadow: 0 6px 0 var(--b-edge), 0 16px 30px -8px var(--b-glow);
  translate: 0 0;
  transition: translate .3s var(--spring), box-shadow .3s var(--ease), scale .3s var(--spring), rotate .3s var(--spring), filter .2s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; transition: rotate .4s var(--spring), scale .4s var(--spring); }
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 45%, transparent 60%);
  translate: -120% 0; transition: translate .7s var(--ease);
}
.btn:hover { translate: 0 -4px; rotate: -1.5deg; box-shadow: 0 10px 0 var(--b-edge), 0 24px 40px -10px var(--b-glow); }
.btn:hover::after { translate: 120% 0; }
.btn:hover svg { rotate: -14deg; scale: 1.2; }
.btn:active { translate: 0 4px; rotate: 0deg; scale: .97; box-shadow: 0 2px 0 var(--b-edge), 0 8px 16px -8px var(--b-glow); transition-duration: .08s; }
.btn--primary { --b-bg: linear-gradient(180deg, #FFE39A, #FFB83F); --b-ink: var(--ink); --b-edge: var(--gold-d); --b-glow: rgba(255, 184, 63, .55); }
.btn--coral { --b-bg: linear-gradient(180deg, #DD354E, #CF2A43); --b-ink: #fff; --b-edge: var(--coral-deep); --b-glow: rgba(255, 84, 104, .45); }
.btn--ghost { --b-bg: rgba(255, 255, 255, .1); --b-ink: var(--frost); --b-edge: rgba(255, 255, 255, .22); --b-glow: rgba(70, 239, 198, .25); backdrop-filter: blur(6px); border: 2px solid rgba(255, 255, 255, .35); }
.btn--ink { --b-bg: var(--ink); --b-ink: var(--frost); --b-edge: #000; --b-glow: rgba(11, 23, 51, .35); }
.btn--xl { font-size: clamp(1.05rem, 1.6vw, 1.25rem); padding: 1.05em 1.6em; }
.btn--sm { font-size: .9rem; padding: .75em 1.15em; box-shadow: 0 4px 0 var(--b-edge), 0 10px 20px -8px var(--b-glow); }
.btn--sm:hover { box-shadow: 0 7px 0 var(--b-edge), 0 16px 26px -10px var(--b-glow); }
.btn.boing { animation: boing .6s var(--spring); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; translate: -50% 0; z-index: 100;
  width: min(calc(100% - 24px), 1180px);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(10, 20, 48, .55); color: var(--frost);
  border: 1.5px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  transition: background .35s, box-shadow .35s, padding .35s var(--spring);
}
.nav.scrolled { background: rgba(10, 20, 48, .86); box-shadow: 0 14px 40px -12px rgba(5, 10, 30, .55); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 800 1.05rem/1 var(--display); letter-spacing: -.02em; }
.brand svg { width: 40px; height: 34px; transition: rotate .5s var(--spring), translate .5s var(--spring); }
.brand:hover svg { rotate: -18deg; translate: 0 -4px; }
.brand b { color: var(--gold); font-weight: 800; }
.nav__links { display: flex; gap: .25rem; }
.nav__links a {
  position: relative; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .55em .85em; border-radius: 999px; transition: background .25s, translate .3s var(--spring), color .2s;
}
.nav__links a:hover { background: rgba(255, 255, 255, .1); translate: 0 -2px; color: var(--gold); }
.nav__links a.active { background: rgba(255, 209, 102, .16); color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(760px, 100svh);
  padding: clamp(7.5rem, 13vh, 9.5rem) 0 clamp(7rem, 11vw, 9rem);
  color: var(--frost);
  background:
    radial-gradient(90% 60% at 85% 0%, rgba(40, 90, 170, .55) 0%, transparent 65%),
    linear-gradient(180deg, #060D24 0%, #0B1B42 40%, #17457D 74%, #5FA8DA 100%);
  overflow: clip;
}
.hero__sky { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.stars, .stars::after {
  position: absolute; inset: 0 0 35% 0;
  background-image:
    radial-gradient(1.6px 1.6px at 8% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 22% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 37% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 51% 22%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 63% 6%, #fff 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 74% 28%, #fff 50%, transparent 51%),
    radial-gradient(1.7px 1.7px at 88% 14%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 94% 38%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 15% 44%, #fff 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 45% 40%, #fff 50%, transparent 51%);
  opacity: .8;
}
.stars::after { content: ""; inset: 0; transform: translate(3.5%, 6%); opacity: .6; animation: twinkle 4.5s ease-in-out infinite; }
.aurora {
  position: absolute; border-radius: 50%; filter: blur(60px); mix-blend-mode: screen; opacity: .55;
  animation: auroraDrift 18s ease-in-out infinite alternate;
}
.aurora--a { width: 60vw; height: 22vw; left: -8vw; top: 6%; background: radial-gradient(closest-side, rgba(70, 239, 198, .85), transparent); rotate: -12deg; }
.aurora--b { width: 50vw; height: 18vw; right: -10vw; top: 16%; background: radial-gradient(closest-side, rgba(139, 123, 255, .8), transparent); rotate: 10deg; animation-duration: 22s; animation-delay: -6s; }
.aurora--c { width: 36vw; height: 14vw; left: 30vw; top: -4%; background: radial-gradient(closest-side, rgba(94, 200, 255, .7), transparent); animation-duration: 26s; animation-delay: -12s; }
.shard {
  position: absolute; width: var(--w, 46px); aspect-ratio: .8;
  background: linear-gradient(160deg, rgba(255, 255, 255, .85), rgba(158, 216, 247, .35));
  clip-path: polygon(50% 0, 100% 34%, 82% 100%, 18% 100%, 0 34%);
  opacity: .5; animation: shardFloat var(--t, 12s) ease-in-out infinite; animation-delay: var(--dl, 0s);
}
.hero__drift { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(70px, 9vw, 140px); z-index: 0; }

.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(1rem, 4vw, 3.5rem); }
.sticker {
  display: inline-flex; align-items: center; gap: .55em;
  font: 700 .76rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em;
  padding: .7em 1.05em; border-radius: 999px; rotate: -2deg;
  background: rgba(70, 239, 198, .12); color: var(--aurora); border: 1.5px solid rgba(70, 239, 198, .45);
  transition: rotate .4s var(--spring), scale .4s var(--spring);
}
.sticker:hover { rotate: 2deg; scale: 1.06; }
.sticker svg { width: 1.1em; height: 1.1em; animation: spin 8s linear infinite; }

.wordmark {
  display: flex; margin: .22em 0 0; padding-bottom: .12em;
  font-family: var(--display); font-weight: 800; font-variation-settings: "opsz" 96;
  font-size: clamp(5.4rem, 13.5vw, 12rem); line-height: .86; letter-spacing: -.045em;
  user-select: none;
}
.wordmark span {
  display: inline-block; color: #F7FCFF; cursor: pointer;
  text-shadow:
    0 1px 0 #D5ECFB, 0 2px 0 #C1E2F8, 0 3px 0 #AED8F5, 0 4px 0 #9ACDF1, 0 5px 0 #86C1EC,
    0 6px 0 #70B2E4, 0 7px 0 #5CA3DA, 0 8px 0 #4B93CE, 0 9px 0 #3D83C1, 0 10px 0 #2F70AD,
    0 24px 34px rgba(0, 6, 28, .55);
  animation: letterBob 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * .16s);
  transition: rotate .35s var(--spring), scale .35s var(--spring), color .2s;
}
.wordmark span:hover { rotate: -8deg; scale: 1.08; color: #FFF6DC; }
.wordmark span.spin { animation: letterBob 3.2s ease-in-out infinite, letterSpin .8s var(--spring); }

.ribbon {
  display: inline-block; margin: .5rem 0 1.4rem; rotate: -3deg;
  font: 800 clamp(1.25rem, 2.5vw, 2rem)/1.1 var(--display); letter-spacing: -.02em;
  background: var(--coral); color: #fff; padding: .4em .95em .45em; border-radius: 14px;
  outline: 2px dashed rgba(255, 255, 255, .6); outline-offset: -7px;
  box-shadow: 0 6px 0 var(--coral-d), 0 18px 34px -6px rgba(255, 84, 104, .45);
  transition: rotate .4s var(--spring), scale .4s var(--spring);
}
.ribbon:hover { rotate: 1deg; scale: 1.04; }
.hero__lede { font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.5; color: #D6E9FA; max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem 1.1rem; margin-top: 2rem; align-items: center; }
.hero__platform {
  display: inline-flex; align-items: center; gap: .6em; margin-top: 1.6rem;
  font: 700 .8rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #BFDDF4;
}
.hero__platform svg { width: 1.3em; height: 1.3em; color: var(--gold); }

/* Stage: floe + Pengi + fish */
.hero__stage { position: relative; height: clamp(400px, 44vw, 600px); container-type: size; }
.stage__float { position: absolute; inset: 0; animation: floatBob 5.5s ease-in-out infinite; }
.floe {
  --fw: min(88cqw, 470px);
  position: absolute; left: 50%; bottom: 7cqh; width: var(--fw); aspect-ratio: 3 / 1; translate: -50% 0;
  border-radius: 50%;
  background:
    radial-gradient(60% 55% at 42% 36%, #fff 0%, #EAF6FF 45%, #BFE3FA 80%, #9CCFEF 100%);
  box-shadow: 0 16px 0 #6FAFDC, 0 18px 0 #5A9BCB, 0 40px 60px -8px rgba(0, 10, 40, .55), inset 0 -6px 14px rgba(80, 150, 205, .35);
}
.floe::after {
  content: ""; position: absolute; left: 12%; right: 12%; top: 58%; height: 12%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 80, 130, .35), transparent);
}
.ripples { position: absolute; left: 50%; bottom: 3cqh; width: min(96cqw, 560px); aspect-ratio: 3.4 / 1; translate: -50% 0; pointer-events: none; }
.ripples i {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5);
  animation: ripple 4.5s ease-out infinite; opacity: 0;
}
.ripples i:nth-child(2) { animation-delay: 1.5s; }
.ripples i:nth-child(3) { animation-delay: 3s; }

.pengi {
  position: absolute; left: 50%; bottom: calc(7cqh + min(88cqw, 470px) / 3 * .46);
  height: min(70cqh, 430px); aspect-ratio: 820 / 900; margin-left: calc(min(70cqh, 430px) * 820 / 900 / -2 - 4cqw);
  cursor: grab; touch-action: pan-y; z-index: 3;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.pengi.is-dragging { cursor: grabbing; z-index: 6; }
.pengi__img {
  width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 96%;
  filter: drop-shadow(0 18px 18px rgba(0, 12, 40, .35));
  animation: breathe 3.4s ease-in-out infinite;
  pointer-events: none;
}
.pengi.is-grabbed .pengi__img { animation-play-state: paused; scale: 1.05; filter: drop-shadow(0 34px 28px rgba(0, 12, 40, .4)); transition: scale .25s var(--spring); }
.pengi__img.hop { animation: hop .6s var(--spring), breathe 3.4s ease-in-out infinite .6s; }
.pengi__img.gulp { animation: gulp .55s var(--spring), breathe 3.4s ease-in-out infinite .55s; }
.pengi__img.slide { animation: bellySlide 1.6s var(--ease), breathe 3.4s ease-in-out infinite 1.6s; }
.pengi__img.spin { animation: pengiSpin .9s var(--spring), breathe 3.4s ease-in-out infinite .9s; }

.bubble {
  position: absolute; left: 62%; bottom: 88%; min-width: 150px; max-width: 230px; z-index: 5;
  padding: .7em 1em; border-radius: 18px 18px 18px 4px;
  background: #fff; color: var(--ink); font: 700 .95rem/1.3 var(--display);
  box-shadow: 0 5px 0 #BFD6EA, 0 18px 30px -10px rgba(0, 10, 40, .45);
  transform-origin: 0 100%; scale: 0; opacity: 0; pointer-events: none;
  transition: scale .45s var(--spring), opacity .2s;
}
.bubble.show { scale: 1; opacity: 1; }

.fish-toy {
  position: absolute; z-index: 4;
  left: calc(50% + min(88cqw, 470px) * .2); bottom: calc(7cqh + min(88cqw, 470px) / 3 * .36);
  width: clamp(76px, 20cqw, 112px); aspect-ratio: 1.6; padding: 0; border: 0; background: none; cursor: grab;
  touch-action: none; -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 8px 6px rgba(0, 12, 40, .3));
}
.fish-toy svg { width: 100%; height: 100%; animation: fishFlop 2.4s ease-in-out infinite; transform-origin: 60% 60%; transition: scale .3s var(--spring); }
.fish-toy:hover svg { scale: 1.12; }
.fish-toy.is-dragging { cursor: grabbing; z-index: 7; }
.fish-toy.is-grabbed svg { animation: fishWiggle .25s ease-in-out infinite; scale: 1.12; }
.fish-toy.eating { opacity: 0; pointer-events: none; }
.fish-toy.respawn { animation: respawn .7s var(--spring); }

.hint {
  position: absolute; right: 0; bottom: 1%; z-index: 4; rotate: -3deg; margin: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; text-align: left;
  font: 700 .74rem/1.35 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #CFE6F8;
  transition: opacity .5s, translate .5s var(--spring);
  pointer-events: none;
}
.hint svg { order: -1; width: 54px; height: 54px; color: var(--gold); scale: 1 -1; animation: nudge 1.8s ease-in-out infinite; }
.hint.done { opacity: 0; translate: 0 -10px; }
.fed {
  position: absolute; left: 0; bottom: 2%; z-index: 4;
  display: inline-flex; align-items: center; gap: .5em;
  font: 700 .78rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  background: rgba(10, 20, 48, .55); border: 1.5px solid rgba(255, 255, 255, .2);
  padding: .65em .95em; border-radius: 999px; backdrop-filter: blur(6px);
  pointer-events: none;
}
.fed svg { width: 1.6em; height: 1em; color: var(--glacier); }
.fed b { color: var(--gold); font-size: 1.1em; display: inline-block; }
.fed b.bump { animation: bump .5s var(--spring); }

/* ---------- Ticker ---------- */
.ticker-wrap { position: relative; z-index: 4; overflow: clip; padding-block: 1.4rem; margin-block: -3.2rem -1.6rem; }
.ticker {
  width: 106vw; margin-left: -3vw; rotate: -2deg;
  background: var(--coral-strong); color: #fff; overflow: hidden; padding: .95rem 0;
  border-block: 3px solid #fff;
  box-shadow: 0 7px 0 var(--coral-deep), 0 20px 40px -10px rgba(210, 58, 80, .45);
}
.ticker--ink { background: var(--ink); color: var(--frost); rotate: 1.5deg; box-shadow: 0 7px 0 #000, 0 20px 40px -10px rgba(0, 0, 0, .4); }
.ticker__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.ticker--ink .ticker__track { animation-direction: reverse; animation-duration: 50s; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 1.3rem; padding-right: 1.3rem; white-space: nowrap;
  font: 800 clamp(1rem, 1.8vw, 1.35rem)/1 var(--display); text-transform: uppercase; letter-spacing: .01em;
}
.ticker__item svg { width: 1.15em; height: 1.15em; color: var(--gold); animation: spin 7s linear infinite; }
.ticker__item svg.fishy { width: 1.6em; animation: fishFlop 2.4s ease-in-out infinite; }

/* ---------- Premise ---------- */
.premise {
  position: relative; padding: calc(var(--section) + 2rem) 0 var(--section);
  background:
    radial-gradient(circle at 1px 1px, rgba(14, 47, 92, .07) 1px, transparent 1.5px) 0 0 / 26px 26px,
    var(--frost);
}
.premise__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.polaroid {
  position: relative; background: #fff; padding: 14px 14px 16px; border-radius: 22px; rotate: -2.5deg;
  box-shadow: 0 3px 0 #D7E6F3, 0 36px 60px -24px rgba(14, 47, 92, .45);
}
.polaroid img { width: 100%; height: auto; border-radius: 14px; }
.polaroid figcaption { font: 700 .74rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 4px 0; }
.tape {
  position: absolute; width: 112px; height: 30px; top: -14px; z-index: 2;
  background: repeating-linear-gradient(90deg, rgba(255, 209, 102, .85) 0 10px, rgba(255, 196, 70, .85) 10px 20px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
}
.tape--l { left: 8%; rotate: -8deg; }
.tape--r { right: 8%; rotate: 6deg; background: repeating-linear-gradient(90deg, rgba(70, 239, 198, .75) 0 10px, rgba(40, 214, 172, .75) 10px 20px); }
.premise__copy p:not(.eyebrow) { color: var(--ink-2); font-size: 1.12rem; line-height: 1.7; max-width: 34em; }
.premise__copy p + p { margin-top: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.8rem; }
.chips li {
  font: 700 .85rem/1 var(--body); padding: .6em 1em; border-radius: 999px;
  background: #fff; color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
  transition: translate .3s var(--spring), rotate .3s var(--spring), background .2s;
}
.chips li:hover { translate: 0 -4px; rotate: -3deg; background: var(--gold); }
.chips li:nth-child(even):hover { rotate: 3deg; }
.chips--dark li { background: rgba(255, 255, 255, .08); color: var(--frost); border-color: rgba(255, 255, 255, .5); box-shadow: 0 3px 0 rgba(255, 255, 255, .25); }
.chips--dark li:hover { background: var(--gold); color: var(--ink); }

/* ---------- Tilt helper ---------- */
[data-tilt] {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform .55s var(--spring), box-shadow .35s var(--ease);
  will-change: transform;
}
[data-tilt]:hover { --lift: -8px; }

/* ---------- Duo ---------- */
.duo { position: relative; padding: var(--section) 0 calc(var(--section) + 1.5rem); background: linear-gradient(180deg, var(--frost) 0%, #D8EFFD 55%, #BFE3FA 100%); }
.section-head { max-width: 780px; }
.section-head .lede { margin-top: -.2rem; }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.toybox {
  --box-bg: linear-gradient(165deg, #D93A52 0%, #C92C44 55%, #B32238 100%);
  --box-edge: #861A2B; --box-ink: #fff; --bubble-bg: radial-gradient(80% 70% at 50% 35%, #FFFFFF, #DDF1FF 55%, #A9D7F4);
  position: relative; border-radius: 36px; padding: 52px clamp(1.2rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2rem);
  background: var(--box-bg); color: var(--box-ink);
  box-shadow: 0 10px 0 var(--box-edge), 0 40px 70px -28px rgba(10, 20, 48, .55);
}
.toybox:hover { box-shadow: 0 16px 0 var(--box-edge), 0 56px 80px -30px rgba(10, 20, 48, .6); }
.toybox--lacey {
  --box-bg: linear-gradient(165deg, #25397E 0%, #15235A 55%, #0C1640 100%);
  --box-edge: #060B24; --bubble-bg: radial-gradient(80% 80% at 50% 40%, #2E3F86, #121D4D 60%, #090F2E);
}
.toybox__hang { position: absolute; top: 16px; left: 50%; translate: -50% 0; width: 78px; height: 20px; border-radius: 12px; background: #CFEAFB; box-shadow: inset 0 3px 5px rgba(0, 0, 0, .25); }
.toybox__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.toybox__kicker { display: block; font: 700 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin-bottom: .35rem; }
.toybox h3 { font: 800 clamp(2.6rem, 5vw, 3.8rem)/.9 var(--display); letter-spacing: -.04em; text-shadow: 0 4px 0 rgba(0, 0, 0, .18); }
.toybox__tag {
  font: 700 .78rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255, 255, 255, .95); color: var(--ink); padding: .6em .9em; border-radius: 999px; rotate: 3deg;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .2);
}
.toybox__bubble {
  position: relative; margin: 1.1rem 0 1.3rem; aspect-ratio: 5 / 4; border-radius: 28px; overflow: hidden;
  background: var(--bubble-bg); display: grid; place-items: center;
  border: 3px solid rgba(255, 255, 255, .75);
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, .18), inset 0 -24px 40px rgba(0, 0, 0, .12);
}
.toybox__bubble img {
  position: absolute; left: 0; right: 0; bottom: 3%; margin-inline: auto; width: 100%; height: 90%;
  object-fit: contain; object-position: 50% 100%; transform-origin: 50% 100%;
  animation: breathe 3.6s ease-in-out infinite; transition: scale .5s var(--spring);
}
.toybox:hover .toybox__bubble img { scale: 1.06; }
.toybox--lacey .toybox__bubble img { inset: 10% 7%; width: 86%; height: 80%; object-position: 50% 50%; transform-origin: 50% 50%; animation: laceyFloat 4.2s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(255, 209, 102, .45)); }
.toybox--lacey .toybox__bubble::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 20%, #FFE9A8 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 30% 75%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 80% 18%, #FFE9A8 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 70%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 55% 10%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 65% 88%, #FFE9A8 50%, transparent 51%);
  animation: twinkle 3s ease-in-out infinite;
}
.glare {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(circle at var(--gx, 28%) var(--gy, 18%), rgba(255, 255, 255, .55), transparent 38%),
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .28) 44%, transparent 52%);
}
.toybox__back p { font-size: 1.05rem; line-height: 1.6; opacity: .95; max-width: 30em; }
.toybox .chips { margin-top: 1.1rem; }
.toybox .chips li { background: rgba(255, 255, 255, .95); border-color: rgba(0, 0, 0, .15); box-shadow: 0 3px 0 rgba(0, 0, 0, .2); }
.toybox .chips li:hover { background: var(--gold); }
.toybox__burst {
  position: absolute; top: -26px; right: -14px; width: 108px; aspect-ratio: 1; z-index: 3;
  display: grid; place-items: center; text-align: center;
  font: 800 .82rem/1.05 var(--display); color: var(--ink); padding: 18px;
  background: var(--gold);
  clip-path: polygon(50% 0, 61% 14%, 79% 9%, 80% 27%, 97% 32%, 88% 48%, 100% 62%, 83% 70%, 84% 88%, 66% 86%, 57% 100%, 45% 88%, 28% 95%, 25% 78%, 7% 74%, 14% 57%, 0 44%, 16% 34%, 13% 16%, 32% 16%, 38% 0);
  animation: burstSpin 14s linear infinite;
}
.toybox__burst span { display: block; animation: burstCounter 14s linear infinite; }

/* ---------- Worlds ---------- */
.worlds {
  position: relative; padding: calc(var(--section) + 1rem) 0 calc(var(--section) + .5rem); color: var(--frost);
  background:
    radial-gradient(55% 40% at 12% 18%, rgba(139, 123, 255, .32), transparent 70%),
    radial-gradient(45% 40% at 92% 62%, rgba(70, 239, 198, .16), transparent 70%),
    radial-gradient(40% 30% at 50% 100%, rgba(255, 209, 102, .12), transparent 70%),
    var(--night);
}
.worlds::before, .worlds::after { content: ""; position: absolute; left: 0; right: 0; height: 22px; z-index: 2; pointer-events: none; }
.worlds::before {
  top: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 22' preserveAspectRatio='none'%3E%3Cpath d='M0 0h60v4l-5 3-4 13-4-12-6 2-3-6-5 5-4 11-4-13-5 3-4-7-4 8-4-6-4 10-4-11L0 7z' fill='%23BFE3FA'/%3E%3C/svg%3E") 0 0 / 120px 22px repeat-x;
}
.worlds::after {
  bottom: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V12c6-5 12-7 18-3 5 3 9-4 15-5 7-1 10 7 17 6 6-1 9-7 15-6 6 1 10 5 15 4v14z' fill='%23F2F9FF'/%3E%3C/svg%3E") 0 100% / 160px 22px repeat-x;
}
.worlds .h2, .worlds .lede { color: var(--frost); }
.worlds .lede { color: #C3D6F2; }
.worlds__art {
  position: relative; margin-top: clamp(2rem, 4vw, 3rem); border-radius: 30px; overflow: hidden;
  aspect-ratio: 2.2 / 1; border: 3px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .04), 0 40px 90px -30px rgba(139, 123, 255, .55);
}
.worlds__art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.worlds__art figcaption, .cap-chip {
  position: absolute; left: 16px; bottom: 16px;
  font: 700 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  background: rgba(10, 20, 48, .72); color: var(--frost); padding: .6em .9em; border-radius: 999px; backdrop-filter: blur(6px);
}
.shard--w { z-index: 1; }

.tickets { position: relative; z-index: 2; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.tickets__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tickets__hint { font: 700 .78rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #C3D6F2; display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.punch-count { background: rgba(255, 209, 102, .14); color: var(--gold); border: 1.5px solid rgba(255, 209, 102, .45); padding: .55em .85em; border-radius: 999px; }
.punch-count b { display: inline-block; }
.punch-count b.bump { animation: bump .5s var(--spring); }
.arrows { display: flex; gap: .6rem; }
.arrow {
  width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); cursor: pointer;
  background: rgba(255, 255, 255, .08); color: var(--frost); display: grid; place-items: center;
  transition: translate .3s var(--spring), background .2s, scale .3s var(--spring), rotate .3s var(--spring);
}
.arrow svg { width: 22px; height: 22px; }
.arrow:hover { background: var(--gold); color: var(--ink); scale: 1.1; }
.arrow--prev:hover { translate: -3px 0; rotate: -8deg; }
.arrow--next:hover { translate: 3px 0; rotate: 8deg; }
.arrow:active { scale: .9; }
.tickets__track {
  display: flex; gap: clamp(1rem, 2vw, 1.4rem); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 1.6rem max(var(--pad), calc(50vw - var(--wrap) / 2 + var(--pad))) 2.6rem;
  scroll-padding-inline: max(var(--pad), calc(50vw - var(--wrap) / 2 + var(--pad)));
  margin-inline: calc(50% - 50vw);
  scrollbar-width: none; cursor: grab;
}
.tickets__track::-webkit-scrollbar { display: none; }
.tickets__track.dragging { cursor: grabbing; scroll-snap-type: none; }
.tickets__track.dragging .ticket__btn { pointer-events: none; }
.ticket {
  flex: 0 0 clamp(248px, 25vw, 290px); scroll-snap-align: start;
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .35)) drop-shadow(0 26px 30px rgba(0, 0, 0, .35));
  transition: translate .4s var(--spring), rotate .4s var(--spring);
}
.ticket:hover { translate: 0 -10px; rotate: -2deg; }
.ticket:nth-child(even):hover { rotate: 2deg; }
.ticket:has(.ticket__btn:focus-visible) { outline: 3px solid var(--gold); outline-offset: 6px; border-radius: 24px; }
.ticket__btn {
  position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 392px;
  padding: 1.35rem 1.35rem 1.15rem; border: 0; border-radius: 22px; cursor: pointer; text-align: left;
  color: #fff; background: linear-gradient(165deg, var(--t1), var(--t2));
  text-shadow: 0 1px 2px rgba(0, 0, 0, .28);
  -webkit-mask:
    radial-gradient(circle 14px at 0 72%, transparent 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 14px at 100% 72%, transparent 97%, #000) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle 14px at 0 72%, transparent 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 14px at 100% 72%, transparent 97%, #000) right / 51% 100% no-repeat;
  outline: none;
}
.ticket__btn::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 72%; border-top: 2px dashed rgba(255, 255, 255, .45);
}
.ticket__btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 12px);
}
.ticket__top { display: flex; justify-content: space-between; align-items: center; font: 700 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.ticket__kind { background: rgba(255, 255, 255, .2); padding: .45em .7em; border-radius: 999px; }
.ticket__icon {
  width: 74px; height: 74px; margin: 1.2rem 0 .9rem; padding: 14px; border-radius: 22px;
  background: rgba(255, 255, 255, .16); border: 2px solid rgba(255, 255, 255, .35); color: #fff;
  animation: bob 3.4s ease-in-out infinite; animation-delay: calc(var(--n) * -.45s);
}
.ticket__icon svg { width: 100%; height: 100%; }
.ticket__name { font: 800 1.65rem/1 var(--display); letter-spacing: -.03em; margin-bottom: .55rem; }
.ticket__blurb { font-size: .95rem; line-height: 1.45; opacity: .92; }
.ticket__stub { margin-top: auto; padding-top: 1.1rem; display: flex; justify-content: space-between; align-items: center; font: 700 .72rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.ticket__stub b { color: var(--gold); font-size: 1rem; letter-spacing: .12em; }
.ticket__punch {
  position: absolute; right: 22px; top: calc(72% + 20px); width: 30px; height: 30px; border-radius: 50%;
  background: var(--night); box-shadow: inset 0 3px 5px rgba(0, 0, 0, .6);
  scale: 0; transition: scale .45s var(--spring);
}
.ticket__stamp {
  position: absolute; top: 1.2rem; right: 1.1rem; margin-top: 3.4rem; rotate: -12deg; scale: 2.2; opacity: 0;
  font: 800 1.35rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold); border: 3px solid var(--gold); border-radius: 12px; padding: .3em .55em;
  background: rgba(10, 20, 48, .35);
  transition: scale .45s var(--spring), opacity .2s;
  pointer-events: none;
}
.ticket.punched .ticket__punch { scale: 1; }
.ticket.punched .ticket__stamp { scale: 1; opacity: 1; }

/* ---------- Gallery ---------- */
.gallery { position: relative; padding: var(--section) 0; background: var(--frost); }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.gallery__head .lede { max-width: 30em; }
.ue-badge {
  display: inline-flex; align-items: center; gap: .6em; font: 700 .76rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  padding: .75em 1.05em; border-radius: 999px; background: var(--ink); color: var(--frost); rotate: 2deg;
  box-shadow: 0 4px 0 #000;
}
.ue-badge i { width: .6em; height: .6em; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255, 84, 104, .6); animation: pulse 1.8s ease-out infinite; }
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 215px); grid-auto-flow: dense;
  gap: clamp(10px, 1.2vw, 16px); margin-top: clamp(2rem, 4vw, 3rem);
}
.shot {
  position: relative; border-radius: 22px; overflow: hidden; background: #CFE6F7;
  box-shadow: 0 6px 0 #C3D9EC, 0 22px 40px -22px rgba(14, 47, 92, .55);
  transition: translate .4s var(--spring), rotate .4s var(--spring), box-shadow .3s var(--ease);
}
.shot--big { grid-column: span 2; grid-row: span 2; }
.shot--wide { grid-column: span 2; }
.shot button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.shot button:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: 22px; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease); }
.shot:hover { translate: 0 -6px; rotate: -.8deg; box-shadow: 0 10px 0 #C3D9EC, 0 0 0 4px var(--gold), 0 30px 50px -20px rgba(14, 47, 92, .6); }
.shot:nth-child(even):hover { rotate: .8deg; }
.shot:hover img { scale: 1.07; }
.shot:active { translate: 0 2px; scale: .99; }
.shot figcaption {
  position: absolute; left: 12px; bottom: 12px; pointer-events: none;
  font: 700 .74rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase;
  background: rgba(10, 20, 48, .78); color: #fff; padding: .6em .85em; border-radius: 999px; backdrop-filter: blur(6px);
  transition: background .25s, translate .35s var(--spring);
}
.shot:hover figcaption { background: var(--coral-strong); translate: 0 -3px; }
.shot__zoom {
  position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; pointer-events: none;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink);
  scale: 0; rotate: -90deg; transition: scale .4s var(--spring), rotate .4s var(--spring);
}
.shot__zoom svg { width: 18px; height: 18px; }
.shot:hover .shot__zoom { scale: 1; rotate: 0deg; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; width: min(94vw, 1180px); max-width: none; max-height: none; overflow: visible; color: #fff; }
.lightbox::backdrop { background: rgba(4, 9, 26, .86); backdrop-filter: blur(6px); }
.lightbox[open] .lightbox__frame { animation: popIn .5s var(--spring); }
.lightbox__frame { position: relative; }
.lightbox__img { width: 100%; max-height: 76vh; object-fit: contain; border-radius: 18px; background: #050A1C; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); touch-action: pan-y; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.lightbox__cap { font: 800 1.2rem/1.2 var(--display); }
.lightbox__count { font: 700 .75rem/1 var(--mono); letter-spacing: .08em; opacity: .7; margin-left: .75rem; }
.lightbox__ctrls { display: flex; gap: .6rem; }
.lightbox .arrow { background: rgba(255, 255, 255, .1); }
.lightbox__close { position: absolute; top: -18px; right: -18px; z-index: 2; background: var(--coral) !important; border-color: #fff !important; color: #fff !important; }
.lightbox__close:hover { rotate: 90deg; }

/* ---------- Launch (platforms + signup) ---------- */
.launch {
  position: relative; padding: var(--section) 0; overflow: clip;
  background: linear-gradient(160deg, #FFE3C4 0%, #FFBCA3 38%, #F7A1BD 72%, #BCA8F4 100%);
}
.launch__deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.drift-fish { position: absolute; width: var(--w, 60px); color: rgba(255, 255, 255, .55); animation: swimAcross var(--t, 26s) linear infinite; animation-delay: var(--dl, 0s); }
.drift-fish svg { width: 100%; height: auto; animation: fishFlop 2.4s ease-in-out infinite; }
.launch__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.25rem, 3vw, 2rem); align-items: stretch; }
.launch__card { position: relative; border-radius: 34px; padding: clamp(1.8rem, 4vw, 3rem); }
.launch__card--steam {
  color: var(--frost); overflow: hidden;
  background:
    radial-gradient(60% 60% at 90% 0%, rgba(70, 239, 198, .25), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(139, 123, 255, .3), transparent 70%),
    var(--night);
  box-shadow: 0 10px 0 #050A1C, 0 40px 70px -30px rgba(40, 10, 60, .55);
}
.launch__card--steam .h2 { margin-top: .35em; }
.launch__card--steam p:not(.eyebrow) { color: #C8D8F0; font-size: 1.1rem; max-width: 30em; }
.launch__card--steam .btn { margin-top: 1.6rem; }
.platform-pc {
  position: absolute; right: clamp(1.2rem, 3vw, 2.4rem); bottom: clamp(1.2rem, 3vw, 2.2rem); width: clamp(64px, 8vw, 100px); height: auto; aspect-ratio: 1;
  color: var(--gold); animation: bob 3.8s ease-in-out infinite; opacity: .9; pointer-events: none;
}
.launch__card--signup {
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, .95);
  box-shadow: 0 10px 0 rgba(170, 70, 100, .22), 0 40px 70px -30px rgba(120, 40, 70, .5);
}
.launch__card--signup > p:not(.eyebrow) { color: var(--ink-2); }
.signup { margin-top: 1.4rem; }
.signup__row { display: flex; gap: .7rem; flex-wrap: wrap; }
.signup__row .btn { flex: 1 0 auto; }
.signup input {
  flex: 1 1 220px; min-width: 0; font: 600 1.05rem/1 var(--body); color: var(--ink);
  padding: 1em 1.2em; border-radius: 999px; border: 2.5px solid var(--ink); background: #fff;
  box-shadow: 0 4px 0 var(--ink); transition: box-shadow .25s, border-color .2s, translate .3s var(--spring);
}
.signup input::placeholder { color: #8594AE; }
.signup input:focus { outline: none; border-color: var(--coral); box-shadow: 0 4px 0 var(--coral), 0 0 0 6px rgba(255, 84, 104, .18); translate: 0 -2px; }
.signup__fine { font: 700 .72rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: .9rem; }
.signup__msg { min-height: 1.5em; margin-top: .5rem; font-weight: 700; color: var(--ink); }
.signup__msg[data-state="error"] { color: var(--coral-d); }
.signup.shake { animation: shake .45s ease-in-out; }

/* ---------- Studio ---------- */
.studio { position: relative; padding: var(--section) 0 calc(var(--section) + 1.5rem); background: var(--frost); }
.studio__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.pond-wrap { text-align: center; }
.skipstone {
  position: relative; display: block; width: min(100%, 440px); aspect-ratio: 1.15; margin-inline: auto;
  border: 0; background: none; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.pond {
  position: absolute; left: 0; right: 0; bottom: 8%; height: 42%; border-radius: 50%;
  background: radial-gradient(60% 60% at 45% 40%, #CFEFFF, #8FD0F2 60%, #5EAEDF);
  box-shadow: inset 0 -10px 30px rgba(20, 70, 130, .3), 0 20px 40px -20px rgba(14, 47, 92, .5);
  transition: scale .4s var(--spring);
}
.skipstone:hover .pond { scale: 1.03; }
.stone { position: absolute; left: 14%; bottom: 36%; width: 34%; transform-origin: 50% 80%; animation: breathe 3.8s ease-in-out infinite; transition: rotate .4s var(--spring); }
.skipstone:hover .stone { rotate: -10deg; }
.stone svg { width: 100%; height: auto; filter: drop-shadow(0 14px 10px rgba(14, 47, 92, .3)); }
.splash { position: absolute; width: 22%; aspect-ratio: 3; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .9); translate: -50% 50%; pointer-events: none; }
.pond-label { display: inline-block; margin-top: .6rem; font: 700 .76rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); rotate: -2deg; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.value {
  background: #fff; border-radius: 22px; padding: 1.3rem 1.2rem 1.4rem; border: 2.5px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
  transition: translate .35s var(--spring), rotate .35s var(--spring), box-shadow .3s, background .25s;
}
.value:hover { translate: 0 -6px; rotate: -1.5deg; box-shadow: 0 10px 0 var(--ink); background: #FFF7E0; }
.value:nth-child(2):hover { rotate: 1.5deg; background: #E6FFF8; }
.value:nth-child(3):hover { background: #FFE9EC; }
.value svg { width: 42px; height: 42px; margin-bottom: .7rem; transition: rotate .4s var(--spring), scale .4s var(--spring); }
.value:hover svg { rotate: -12deg; scale: 1.18; }
.value h3 { font: 800 1.35rem/1 var(--display); letter-spacing: -.02em; margin-bottom: .45rem; }
.value p { font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.studio .lede + p { margin-top: 1rem; color: var(--ink-2); font-size: 1.08rem; max-width: 36em; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: calc(var(--section) * .9) 0 2.2rem; background: var(--night); color: #C3D6F2; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.footer .brand { color: var(--frost); font-size: 1.3rem; }
.footer .brand svg { width: 52px; height: 44px; }
.footer__tag { margin-top: .9rem; max-width: 22em; }
.footer h3 { font: 700 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer__links { display: grid; gap: .45rem; }
.footer__links a { text-decoration: none; font-weight: 600; display: inline-block; transition: translate .3s var(--spring), color .2s; }
.footer__links a:hover { color: var(--gold); translate: 6px 0; }
.footer__ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.footer__fine { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; line-height: 1.6; color: #8EA4C8; display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer__egg { font: 700 .72rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--aurora); }

/* ---------- Toast + particles ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 400; translate: -50% 160%;
  display: flex; align-items: center; gap: .6rem; max-width: calc(100% - 32px);
  background: var(--ink); color: var(--frost); font-weight: 700; padding: .9em 1.3em; border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .2); box-shadow: 0 6px 0 #000, 0 20px 40px -10px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden;
  transition: translate .5s var(--spring), opacity .25s, visibility 0s linear .5s;
}
.toast svg { width: 1.3em; height: 1.3em; color: var(--gold); flex: none; }
.toast.show { translate: -50% 0; opacity: 1; visibility: visible; transition: translate .5s var(--spring), opacity .2s, visibility 0s; }
.particle { position: fixed; z-index: 350; pointer-events: none; width: var(--s); height: var(--s); will-change: transform, opacity; }
.particle svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; translate: 0 36px; transition: opacity .8s var(--ease), translate 1s var(--spring); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; translate: 0 0; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { rotate: 360deg; } }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }
@keyframes auroraDrift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 2vw) scale(1.15); } 100% { transform: translate(-4vw, -1vw) scale(.95); } }
@keyframes shardFloat { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(14px, -26px) rotate(14deg); } }
@keyframes letterBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.055em; } }
@keyframes letterSpin { 0% { rotate: 0deg; scale: 1; } 50% { scale: 1.2; } 100% { rotate: 360deg; scale: 1; } }
@keyframes floatBob { 0%, 100% { translate: 0 0; rotate: 0deg; } 30% { rotate: -.8deg; } 50% { translate: 0 -10px; } 75% { rotate: .8deg; } }
@keyframes breathe { 0%, 100% { scale: 1 1; } 50% { scale: 1.02 1.035; } }
@keyframes ripple { 0% { scale: .7; opacity: 0; } 15% { opacity: .7; } 100% { scale: 1.3; opacity: 0; } }
@keyframes hop { 0% { translate: 0 0; scale: 1 1; } 20% { scale: 1.1 .88; } 45% { translate: 0 -18%; scale: .94 1.08; } 70% { translate: 0 0; scale: 1.08 .92; } 100% { translate: 0 0; scale: 1 1; } }
@keyframes gulp { 0% { scale: 1 1; } 30% { scale: 1.14 .9; } 55% { scale: .94 1.08; } 100% { scale: 1 1; } }
@keyframes bellySlide {
  0% { translate: 0 0; rotate: 0deg; }
  14% { translate: 0 6%; rotate: -80deg; }
  45% { translate: -55% 12%; rotate: -84deg; }
  60% { translate: -55% 12%; rotate: -84deg; }
  85% { translate: 0 6%; rotate: -80deg; }
  100% { translate: 0 0; rotate: 0deg; }
}
@keyframes pengiSpin { 0% { rotate: 0deg; } 100% { rotate: 360deg; } }
@keyframes fishFlop { 0%, 100% { rotate: -6deg; translate: 0 0; } 50% { rotate: 6deg; translate: 0 -5px; } }
@keyframes fishWiggle { 0%, 100% { rotate: -10deg; } 50% { rotate: 10deg; } }
@keyframes respawn { 0% { scale: 0; translate: 0 30px; } 60% { scale: 1.2; translate: 0 -8px; } 100% { scale: 1; translate: 0 0; } }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: -4px 6px; } }
@keyframes bump { 0% { scale: 1; } 40% { scale: 1.6; } 100% { scale: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes laceyFloat { 0%, 100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -12px; rotate: 3deg; } }
@keyframes burstSpin { to { rotate: 360deg; } }
@keyframes burstCounter { to { rotate: -360deg; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 84, 104, .6); } 100% { box-shadow: 0 0 0 10px rgba(255, 84, 104, 0); } }
@keyframes popIn { 0% { scale: .85; opacity: 0; } 100% { scale: 1; opacity: 1; } }
@keyframes swimAcross { 0% { transform: translateX(-15vw); } 100% { transform: translateX(115vw); } }
@keyframes shake { 0%, 100% { translate: 0 0; } 20% { translate: -10px 0; } 40% { translate: 9px 0; } 60% { translate: -6px 0; } 80% { translate: 4px 0; } }
@keyframes boing { 0% { scale: 1; } 30% { scale: 1.12 .9; } 55% { scale: .94 1.06; } 100% { scale: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav__links { display: none; }
}
@media (max-width: 1080px) {
  .nav__links a { padding: .55em .6em; font-size: .9rem; }
}
@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: 7rem; }
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__stage { height: clamp(360px, 80vw, 520px); max-width: 560px; width: 100%; margin: 1rem auto 0; }
  .premise__grid, .duo__grid, .launch__grid, .studio__grid { grid-template-columns: 1fr; }
  .premise__copy { order: -1; }
  .studio__grid .pond-wrap { order: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .wordmark { font-size: min(30vw, 8.5rem); }
  .nav { padding: 8px 8px 8px 14px; top: 10px; }
  .brand { font-size: .95rem; }
  .brand svg { width: 34px; height: 29px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hint { right: 0; bottom: 0; font-size: .64rem; }
  .hint svg { width: 40px; height: 40px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 132px; }
  .shot--big { grid-column: span 2; grid-row: span 2; }
  .shot--wide { grid-column: span 2; }
  .values { grid-template-columns: 1fr; }
  .toybox__burst { width: 88px; font-size: .72rem; right: -6px; top: -22px; padding: 14px; }
  .worlds__art { aspect-ratio: 1.5 / 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .lightbox__close { top: -14px; right: -6px; }
  .platform-pc { top: 1.3rem; bottom: auto; width: 46px; }
}

@media (max-width: 380px) {
  .nav { gap: .5rem; padding-left: 12px; }
  .brand { font-size: .84rem; gap: .45rem; }
  .brand svg { width: 30px; height: 26px; }
  .nav .btn--sm { padding: .7em .95em; }
  .nav .btn--sm svg { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; translate: 0 0; }
  #snow { display: none; }
}

/* ---------- Trailer (Oct 2026) ---------- */
.trailer {
  position: relative; padding: var(--section) 0 calc(var(--section) - 1rem);
  background:
    radial-gradient(circle at 1px 1px, rgba(14, 47, 92, .07) 1px, transparent 1.5px) 0 0 / 26px 26px,
    linear-gradient(180deg, #E6F4FF 0%, var(--frost) 100%);
}
.trailer__head { margin-inline: auto; text-align: center; }
.trailer__head .lede { margin-inline: auto; }
.trailer__frame { max-width: 1000px; margin: 2.5rem auto 0; rotate: -1deg; transition: rotate .5s var(--spring), translate .5s var(--spring); }
.trailer__frame:hover { rotate: 0deg; translate: 0 -4px; }
.trailer__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: var(--night); }
.inline-link { color: var(--coral-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--coral); }

/* ---------- Also from Stone Labs ---------- */
.also { position: relative; padding: 0 0 calc(var(--section) - 1rem); background: var(--frost); }
.also__card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center;
  padding: 14px; border-radius: 26px; background: #fff; color: var(--ink); text-decoration: none;
  box-shadow: 0 4px 0 #D7E6F3, 0 30px 60px -28px rgba(14, 47, 92, .45);
  transition: translate .35s var(--spring), rotate .35s var(--spring), box-shadow .35s var(--ease);
}
.also__card:hover { translate: 0 -6px; rotate: .6deg; box-shadow: 0 6px 0 #D7E6F3, 0 40px 70px -26px rgba(14, 47, 92, .5); }
.also__shot { display: block; border-radius: 18px; overflow: hidden; }
.also__shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; transition: scale .6s var(--ease); }
.also__card:hover .also__shot img { scale: 1.05; }
.also__copy { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: .5rem .75rem .5rem 0; }
.also__title { font: 800 clamp(1.6rem, 3vw, 2.3rem)/1.05 var(--display); letter-spacing: -.01em; }
.also__text { color: var(--ink-2); font-size: 1.05rem; max-width: 30em; margin-bottom: .4rem; }
@media (max-width: 720px) {
  .also__card { grid-template-columns: 1fr; }
  .also__copy { padding: .25rem .5rem .75rem; }
  .trailer__frame { rotate: 0deg; }
}

/* Nav fit between the 880px collapse and ~1000px (two extra links added Oct 2026) */
.nav__links a { white-space: nowrap; }
@media (min-width: 881px) and (max-width: 1000px) {
  .nav__links { gap: 0; }
  .nav__links a { padding: .5em .45em; font-size: .85rem; }
}
