/* =====================================================================
   Sirena's Island · website v05 · "Island scrapbook"
   A calm paper page (#FBF6EE) with cut-paper island shapes in the full
   brand palette. Text is Night Reef almost everywhere; colour lives in
   blocks, cards and shapes, not in text. Each section has one lead colour.

   TYPE (4 styles)
     Display  Fredoka 600   120 / 56     "Håfa Adai!"
     Heading  Fredoka 600    68 / 36     section titles, big stats
     Title    Fredoka 600    24 / 22     card titles, buttons, sticker labels (smaller)
     Body     Nunito 500/800 18 / 17     everything else, always Night Reef

   COLOUR RULES
     1 Text is Night Reef. White text only on Night Reef (or Terracotta at 24px+).
     2 Terracotta = primary buttons, "Håfa Adai!", active states, big stats.
     3 Lagoon, Gold, Sea Mist, Coral Sand = fills, always with Night Reef text.
     4 Night Reef blocks: grown-ups + footer (+ the nav pill and marquee).
     5 Shapes are big, bleed off edges, never sit behind body text.
   ===================================================================== */

:root {
  --terracotta: #C27243;
  --terracotta-2: #A9582C;
  --sand: #E0AA88;
  --lagoon: #68A393;
  --gold: #E5C276;
  --mist: #ABCBCC;
  --reef: #212234;
  --shell: #FFFFFF;
  --paper: #FBF6EE;
  --paper-2: #F3EADC;
  --sky: #9ED6E6;

  --font-display: "Fredoka", "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --t-display: 600 clamp(56px, 9.4vw, 124px) / .95 var(--font-display);
  --t-heading: 600 clamp(36px, 5.2vw, 68px) / 1.04 var(--font-display);
  --t-title: 600 clamp(22px, 1.8vw, 25px) / 1.18 var(--font-display);
  --t-body: 500 18px / 1.55 var(--font-body);

  --wrap: 1200px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --r-xl: 40px;
  --r-lg: 28px;
  --nav-h: 64px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --soft: cubic-bezier(.22, .8, .3, 1);
  --lift: 0 2px 4px rgba(33, 34, 52, .05), 0 16px 32px -18px rgba(33, 34, 52, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--reef); font: var(--t-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font: var(--t-heading); letter-spacing: -.015em; }
h3 { font: var(--t-title); }
p { margin: 0; text-wrap: pretty; }
b, strong { font-weight: 800; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--terracotta-2); outline-offset: 3px; border-radius: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--reef); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 800; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); position: relative; }
.wrap > *, .grid > * { min-width: 0; }

/* ------------------------------------------------------------------ shared */
.sticker {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start;
  padding: 6px 14px; border-radius: 999px; background: var(--gold); color: var(--reef);
  font: var(--t-title); font-size: 15px; letter-spacing: .01em; rotate: -2deg;
}
.sticker.s-mist { background: var(--mist); } .sticker.s-sand { background: var(--sand); } .sticker.s-lagoon { background: var(--lagoon); }
.sticker.s-white { background: #fff; } .sticker.s-reef { background: var(--reef); color: #fff; }
.head { display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 820px; margin: 0 auto clamp(36px, 5vw, 60px); }
.head .lede { max-width: 54ch; }
.head-left { justify-items: start; text-align: left; margin-inline: 0; }
.lede { font-size: 19px; }

.btn {
  --b: var(--terracotta-2); --b-lip: #7F3F1C; --b-ink: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--b); color: var(--b-ink); font: var(--t-title); font-size: 19px; line-height: 1;
  text-decoration: none; white-space: nowrap; box-shadow: 0 4px 0 var(--b-lip);
  transition: transform .18s var(--spring), box-shadow .18s var(--soft);
}
.btn svg { width: 24px; height: 24px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--b-lip); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--b-lip); }
.btn-white { --b: #fff; --b-lip: rgba(33, 34, 52, .18); --b-ink: var(--reef); }
.btn-white svg { color: var(--terracotta-2); }
.btn-reef { --b: var(--reef); --b-lip: #000; --b-ink: #fff; }
.btn-sm { min-height: 44px; padding: 8px 16px 8px 12px; font-size: 16px; gap: 6px; box-shadow: 0 3px 0 var(--b-lip); }
.btn-sm svg { width: 22px; height: 22px; }

.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; flex: none; display: grid; place-items: center; background: #fff; color: var(--reef); box-shadow: 0 3px 10px rgba(33, 34, 52, .2); transition: transform .18s var(--spring); }
.round-btn svg { width: 22px; height: 22px; }
.round-btn:hover { transform: scale(1.06); }

.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; transition: transform .18s var(--spring), background-color .2s; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: rgba(255, 255, 255, .22); }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--terracotta-2); text-decoration: none; }
.text-link svg { width: 20px; height: 20px; transition: transform .2s var(--spring); }
.text-link:hover svg { transform: translateX(4px); }


/* v06: decorative shapes are only silhouettes of existing brand elements
   (founder style sheet: Guam, palms, coconut, hibiscus, latte stone, proa, sun,
   airplane, monstera, hut, crab; the approved hero cloud), tinted with currentColor. */
.sil { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.sil-guam { --m: url(../img/shapes/guam.png); } .sil-palms { --m: url(../img/shapes/palms.png); } .sil-coconut { --m: url(../img/shapes/coconut.png); }
.sil-hibiscus { --m: url(../img/shapes/hibiscus.png); } .sil-latte { --m: url(../img/shapes/latte.png); } .sil-proa { --m: url(../img/shapes/proa.png); }
.sil-sun { --m: url(../img/shapes/sun.png); } .sil-airplane { --m: url(../img/shapes/airplane.png); } .sil-monstera { --m: url(../img/shapes/monstera.png); }
.sil-hut { --m: url(../img/shapes/hut.png); } .sil-crab { --m: url(../img/shapes/crab.png); } .sil-cloud { --m: url(../img/shapes/cloud.png); }
.title-cloud.sil { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; inset: -14% -8% -4%; }
.marquee-track .sil { width: 26px; height: 26px; flex: none; }
.pillar-ico { background: #fff; border-radius: 50%; }
.crew-av .blob { position: absolute; inset: 0; border-radius: 50%; background: currentColor; }

/* cut-paper shapes */
.shape { position: absolute; pointer-events: none; z-index: 0; }
.shape svg { width: 100%; height: 100%; overflow: visible; }
.drift { animation: drift-shape 14s ease-in-out infinite; }
@keyframes drift-shape { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -12px; rotate: 4deg; } }
.c-terra { color: var(--terracotta); } .c-sand { color: var(--sand); } .c-lagoon { color: var(--lagoon); } .c-gold { color: var(--gold); } .c-mist { color: var(--mist); } .c-reef { color: var(--reef); } .c-white { color: #fff; }

.js [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity .7s var(--soft) var(--d, 0ms), translate .8s var(--soft) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; translate: none; }

.section { position: relative; padding-block: clamp(72px, 9vw, 130px); }
/* shapes bleed off the edges but never widen the page */
html, main, .section, .hero { overflow-x: clip; }

/* ------------------------------------------------------------------ NAV: Night Reef pill */
.site-header { position: fixed; top: calc(28px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 50; padding-inline: var(--gutter); pointer-events: none; }
.nav-pill {
  pointer-events: auto; max-width: 1120px; margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 16px; padding: 0 10px 0 22px;
  background: var(--reef); color: #fff; border-radius: 999px; box-shadow: 0 14px 30px -16px rgba(33, 34, 52, .6);
}
.brand { display: block; flex: none; transition: opacity .3s, width .3s; }
.brand img { height: 38px; width: auto; }
/* the hero carries the big white logo; the pill's logo appears once you scroll */
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { font-weight: 800; font-size: 16px; text-decoration: none; padding: 9px 15px; border-radius: 999px; color: #fff; transition: background-color .2s, color .2s; }
.nav a:hover { background: rgba(255, 255, 255, .12); }
.nav a.is-active { background: #fff; color: var(--reef); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { --b-lip: transparent; box-shadow: none; }
.header-cta:hover { box-shadow: none; }
.sound-toggle .off, .sound-toggle[aria-pressed="false"] .on { display: none; }
.sound-toggle[aria-pressed="false"] .off { display: block; }
.menu-toggle { display: none; }
.menu-toggle .close, .menu-toggle[aria-expanded="true"] .open { display: none; }
.menu-toggle[aria-expanded="true"] .close { display: block; }
.daybar { display: none; }

/* sticky Watch button on phones once the hero is gone */
.dock { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 45; translate: -50% 140%; transition: translate .4s var(--spring); display: none; }
.dock.is-on { translate: -50% 0; }

/* ------------------------------------------------------------------ HERO: a rounded beach window */
.hero { padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter) 0; position: relative; }
.hero-panel {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl);
  height: clamp(700px, calc(100svh - 24px), 940px);
  background: linear-gradient(180deg, #7DC3DA 0%, #A8DBE9 38%, #DDF6FA 64%);
}
.hero-sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-sun { position: absolute; right: 7%; top: 15%; width: clamp(90px, 10vw, 150px); aspect-ratio: 1; color: var(--gold); animation: drift-shape 16s ease-in-out infinite; }
.cloud { position: absolute; left: 0; height: auto; opacity: .85; animation: cloud linear infinite; }
.cloud-2 { top: 26%; width: clamp(140px, 14vw, 230px); animation-duration: 120s; animation-delay: -40s; }
@keyframes cloud { from { transform: translateX(-110%); } to { transform: translateX(110vw); } }

.hero-copy {
  position: relative; z-index: 5; max-width: 900px; margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(52px, 7vh, 76px)) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: clamp(12px, 1.8vh, 18px);
}
.hero-logo { width: clamp(200px, 26vw, 340px); height: auto; }
.title-wrap { position: relative; padding: .14em .5em .2em; }
.title-cloud { position: absolute; inset: -6% -4%; z-index: -1; color: #fff; opacity: .9; }
.title-cloud svg { width: 100%; height: 100%; }
.hero-title { font: var(--t-display); color: var(--terracotta); letter-spacing: -.02em; white-space: nowrap; user-select: none; }
.hero-title .ch { display: inline-block; cursor: pointer; transform-origin: 50% 90%; animation: drop-in .9s var(--spring) both; animation-delay: calc(var(--i) * 60ms + 150ms); }
.hero-title .ch.sp { width: .24em; }
.hero-title .ch.landed { animation: none; opacity: 1; }
.hero-title .ch.hop { animation: hop .6s var(--spring); }
@keyframes drop-in { from { opacity: 0; transform: translateY(-.6em) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes hop { 0% { transform: none; } 30% { transform: translateY(-.2em) scale(1.06, .95); } 60% { transform: translateY(0) scale(.96, 1.04); } 100% { transform: none; } }
.hero-say { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; font-weight: 800; font-size: 19px; }
.hl { display: inline-block; margin-left: 4px; padding: 3px 14px 4px; border-radius: 999px; background: var(--reef); color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 6px; }

.hero-scene { position: absolute; inset: 0; z-index: 0; }   /* v07: the beach painting fills the whole hero, no gradient */
.hero-far, .hero-far img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-far img { object-fit: cover; object-position: 50% 62%; }
.hero-cast { position: absolute; inset: 0; z-index: 2; max-width: 1100px; margin: 0 auto; }
.cast { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* sticker edge: a cream outline lifts every friend off the painting */
.cast img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; transform-origin: 50% 100%; animation: bob 4s ease-in-out infinite;
  filter: drop-shadow(3px 0 0 #FFF8EE) drop-shadow(-3px 0 0 #FFF8EE) drop-shadow(0 3px 0 #FFF8EE) drop-shadow(0 -3px 0 #FFF8EE) drop-shadow(0 12px 10px rgba(33, 34, 52, .18)); }
.cast.boing img { animation: boing .75s var(--spring); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2%); } }
@keyframes boing { 0% { transform: none; } 20% { transform: scale(1.08, .9); } 45% { transform: translateY(-9%) scale(.94, 1.08) rotate(-3deg); } 70% { transform: translateY(0) scale(1.04, .96); } 100% { transform: none; } }
.hero-koko { left: 10%; bottom: 4%; height: 38%; aspect-ratio: 667 / 760; }
.hero-koko img { animation-duration: 3.4s; animation-delay: -.8s; }
.hero-yuyu { left: 34%; bottom: 3%; height: 21%; aspect-ratio: 612 / 640; }
.hero-yuyu img { animation-duration: 2.8s; animation-delay: -1.2s; }
.hero-sirena { right: 7%; bottom: 7%; height: 42%; aspect-ratio: 864 / 820; }   /* on her rock, on the shore */
.hero-sirena img { animation-duration: 5s; animation-delay: -2s; }
@keyframes swim-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5%) rotate(2deg); } }

.bubble { position: absolute; left: 50%; bottom: calc(100% + 6px); z-index: 10; padding: 9px 15px; border-radius: 18px; background: #fff; color: var(--reef); font: var(--t-title); font-size: 18px; white-space: nowrap; box-shadow: var(--lift); transform: translate(-50%, 8px) scale(.6); opacity: 0; transform-origin: 50% 100%; transition: transform .35s var(--spring), opacity .2s; pointer-events: none; }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; background: #fff; border-radius: 3px; transform: translateX(-50%) rotate(45deg); }
.bubble.show { transform: translate(-50%, 0) scale(1); opacity: 1; }
.hero-cast .bubble { left: 70%; bottom: 80%; transform: translate(0, 8px) scale(.6); transform-origin: 0 100%; }
.hero-cast .bubble.show { transform: none; }
.hero-cast .bubble::after { left: 16px; transform: rotate(45deg); }
.hero-cast .hero-sirena .bubble { left: auto; right: 62%; bottom: 84%; transform-origin: 100% 100%; }
.hero-cast .hero-sirena .bubble::after { left: auto; right: 16px; }

/* marquee pill */
.marquee { max-width: 1120px; margin: 22px auto 0; padding-inline: var(--gutter); }
.marquee-pill { background: var(--reef); color: #fff; border-radius: 999px; overflow: hidden; height: 60px; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; flex: none; gap: 26px; padding-right: 26px; align-items: center; white-space: nowrap; font: var(--t-title); font-size: 19px; animation: marquee 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 26px; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ------------------------------------------------------------------ WATCH */
.watch .shape-a { left: -90px; top: 120px; width: 260px; height: 260px; }
.watch .shape-b { right: -60px; top: 40px; width: 150px; height: 150px; }
.video-stage { position: relative; max-width: 960px; margin: 0 auto; }
.video-plate { position: absolute; inset: 22px -22px -22px 22px; border-radius: 44px; background: var(--lagoon); rotate: 2deg; }
.player { position: relative; border-radius: 32px; overflow: hidden; background: var(--reef); aspect-ratio: 16 / 9; box-shadow: 0 0 0 8px #fff, var(--lift); }
.player-facade { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: none; }
.player-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--soft); }
.player-facade:hover img { transform: scale(1.03); }
.player-btn { position: absolute; left: 50%; top: 50%; width: clamp(84px, 9vw, 116px); aspect-ratio: 1; transform: translate(-50%, -50%); transition: transform .3s var(--spring); filter: drop-shadow(0 10px 18px rgba(33, 34, 52, .35)); }
.player-pebble { width: 100%; height: 100%; fill: var(--terracotta); }
.player-tri { position: absolute; left: 30%; top: 27%; width: 46%; height: 46%; color: #fff; }
.player-facade:hover .player-btn { transform: translate(-50%, -50%) scale(1.08) rotate(-4deg); }
.player-len { position: absolute; right: 16px; bottom: 14px; padding: 3px 10px; border-radius: 8px; background: rgba(33, 34, 52, .8); color: #fff; font-weight: 800; font-size: 15px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-sticker { position: absolute; left: -14px; top: -18px; z-index: 3; rotate: -6deg; }
.feature-koko { position: absolute; right: -40px; bottom: -36px; z-index: 3; height: clamp(130px, 15vw, 210px); width: auto; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff); animation: bob 3.2s ease-in-out infinite; transform-origin: bottom center; pointer-events: none; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 960px; margin: clamp(56px, 6vw, 76px) auto 0; }
.stat { border-radius: var(--r-lg); padding: 26px 26px 24px; display: grid; gap: 6px; }
.stat-n { font: var(--t-heading); font-size: clamp(64px, 7vw, 96px); line-height: .9; letter-spacing: -.02em; }
.stat:nth-child(1) { background: var(--sand); } .stat:nth-child(2) { background: var(--mist); } .stat:nth-child(3) { background: var(--gold); }
.watch-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; margin-top: 34px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 800; box-shadow: inset 0 0 0 1.5px rgba(33, 34, 52, .12); }

.shorts { margin-top: clamp(84px, 10vw, 130px); }
.shorts-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; flex-wrap: wrap; }
.shorts-head .head { margin-bottom: 0; }
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(170px, 17vw, 220px); gap: 26px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  --edge: max(var(--gutter), calc(50vw - var(--wrap) / 2 + var(--gutter)));
  margin-inline: calc(50% - 50vw); padding: 22px var(--edge) 34px; scroll-padding-inline: var(--edge);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.reel { scroll-snap-align: start; position: relative; display: block; aspect-ratio: 9 / 16; transition: transform .35s var(--spring); }
.reel::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; border-radius: 26px; background: var(--plate, var(--sand)); rotate: 3deg; transition: rotate .35s var(--spring); }
.reel:nth-child(4n+2) { --plate: var(--mist); } .reel:nth-child(4n+3) { --plate: var(--gold); } .reel:nth-child(4n+4) { --plate: var(--lagoon); }
.reel img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.reel:hover { transform: translateY(-6px) rotate(-1deg); }
.reel:hover::before { rotate: 6deg; }
.reel-more { display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; text-decoration: none; font: var(--t-title); background: var(--gold); border-radius: 24px; }
.reel-more::before { display: none; }
.reel-more .pebble-ico { width: 72px; height: 72px; }
.reel-more > svg { width: 24px; height: 24px; }
.rail-arrows { display: flex; gap: 10px; }

.pebble-ico { position: relative; display: grid; place-items: center; width: 64px; height: 64px; color: var(--reef); flex: none; }
.pebble-ico .pb { position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; }
.pebble-ico .gl { position: relative; width: 100%; height: 100%; }

/* ------------------------------------------------------------------ PLAY: a Sea Mist block */
.play { padding-inline: var(--gutter); }
.play-panel { position: relative; overflow: hidden; isolation: isolate; max-width: 1360px; margin: 0 auto; border-radius: var(--r-xl); background: var(--mist); padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.play-panel .shape-a { right: -70px; top: -60px; width: 240px; height: 240px; }
.play-panel .shape-b { left: -50px; bottom: -60px; width: 220px; height: 220px; }
.playground { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.stage { position: relative; background: #fff; border-radius: 32px; padding: 14px 14px 24px; box-shadow: var(--lift); }
.stage-frame { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 880 / 407; background: var(--paper); }
.stage-img { width: 100%; height: 100%; object-fit: cover; }
.stage-img.pop { animation: pop-in .55s var(--spring); }
@keyframes pop-in { from { transform: scale(1.1); opacity: .2; } to { transform: none; opacity: 1; } }
.stage-letter { position: absolute; left: 14px; top: 14px; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 22px; background: var(--terracotta); color: #fff; font: var(--t-heading); font-size: 42px; line-height: 1; box-shadow: 0 4px 12px rgba(33, 34, 52, .25); rotate: -4deg; }
.stage-letter.pop { animation: letter-pop .6s var(--spring); }
@keyframes letter-pop { 0% { transform: scale(.4) rotate(-20deg); } 100% { transform: none; } }
.stage-note { position: absolute; right: 18px; top: 10px; font-size: 32px; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .25); opacity: 0; }
.stage.is-singing .stage-note { animation: note-up 1.6s ease-out infinite; }
@keyframes note-up { 0% { opacity: 0; transform: translateY(20px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-30px); } }
.stage-caption { text-align: center; padding: 22px 8px 6px; min-height: 118px; display: grid; gap: 4px; align-content: start; }
.stage-line1 { font: var(--t-heading); font-size: clamp(32px, 3.6vw, 48px); }
.stage-line1 .first { color: var(--terracotta); }
.stage-line2 { font-size: 19px; }
.stage-controls { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.stage-controls .btn-white { box-shadow: 0 4px 0 rgba(33, 34, 52, .14), inset 0 0 0 2px rgba(33, 34, 52, .1); }
.stage-prev, .stage-next { position: absolute; bottom: 12px; z-index: 2; }
.stage-prev { left: 12px; } .stage-next { right: 12px; }
.play-buddy { position: absolute; z-index: 5; right: clamp(16px, 5vw, 90px); bottom: 0; pointer-events: none; }
.stage-buddy { height: clamp(140px, 13vw, 200px); width: auto; transform-origin: 50% 100%; animation: bob 3.4s ease-in-out infinite; }
.play.is-singing .stage-buddy { animation: groove .5s ease-in-out infinite alternate; }
@keyframes groove { from { transform: rotate(-4deg); } to { transform: rotate(4deg) translateY(-4px); } }
.stage-bubble { position: absolute; right: 42%; bottom: 100%; margin-bottom: 4px; z-index: 3; padding: 9px 15px; border-radius: 18px; background: var(--reef); color: #fff; font: var(--t-title); font-size: 18px; white-space: nowrap; animation: pop-in .4s var(--spring); }
.stage-bubble::after { content: ""; position: absolute; right: 14px; bottom: -7px; width: 14px; height: 14px; background: var(--reef); transform: rotate(45deg); border-radius: 3px; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; aspect-ratio: 1; min-height: 48px; border: 0; cursor: pointer; padding: 0; border-radius: 20px; background: #fff; color: var(--reef); font: var(--t-heading); font-size: clamp(24px, 2.4vw, 34px); line-height: 1; box-shadow: 0 4px 0 rgba(33, 34, 52, .14); transition: transform .2s var(--spring), box-shadow .2s, background-color .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.tile:hover { transform: translateY(-3px) rotate(-3deg); }
.tile:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(33, 34, 52, .14); }
.tile.found { background: var(--paper); }
.tile[aria-pressed="true"] { background: var(--terracotta); color: #fff; box-shadow: 0 4px 0 #8F4E27; transform: scale(1.06) rotate(-3deg); z-index: 1; }
.tile .star { position: absolute; right: -4px; top: -4px; width: 20px; height: 20px; color: var(--gold); filter: drop-shadow(0 1px 1px rgba(33, 34, 52, .4)); transform: scale(0); transition: transform .4s var(--spring); }
.tile.found .star { transform: scale(1); }
.progress { margin-top: 24px; display: grid; gap: 8px; }
.progress-bar { height: 14px; border-radius: 999px; background: #fff; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--gold); transition: width .6s var(--spring); }
.progress p { font-weight: 800; }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

/* ------------------------------------------------------------------ FRIENDS: tall colour cards */
.friends .shape-a { left: -80px; top: 60px; width: 220px; height: 220px; }
.friends .shape-b { right: -50px; top: 260px; width: 140px; height: 140px; }
.friends-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.friend { --card: var(--sand); position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); overflow: hidden; transition: transform .35s var(--spring); }
.js .friend[data-reveal] { transition: opacity .7s var(--soft) var(--d, 0ms), translate .8s var(--soft) var(--d, 0ms), transform .35s var(--spring); }
.friend:hover { transform: translateY(-6px) rotate(-.6deg); }
.friend.wide { grid-column: span 2; }
.friend.k-sand { --card: var(--sand); } .friend.k-lagoon { --card: var(--lagoon); } .friend.k-gold { --card: var(--gold); } .friend.k-mist { --card: var(--mist); }
.friend-art { position: relative; display: block; width: 100%; height: 280px; border: 0; padding: 0; cursor: pointer; background: none; -webkit-tap-highlight-color: transparent; }
.friend.wide .friend-art { height: 300px; }
.friend-art .confetti-shape { position: absolute; width: 74px; height: 74px; opacity: .9; }
.friend-art .cs-1 { left: 12px; top: 64px; } .friend-art .cs-2 { right: 14px; top: 18px; width: 46px; height: 46px; }
.friend-art img { position: absolute; left: 50%; bottom: 0; translate: -50% 0; height: 88%; width: auto; max-width: 92%; object-fit: contain; object-position: bottom; transform-origin: 50% 100%; transition: transform .3s var(--spring);
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff); }
.friend-art:hover img { transform: scale(1.04) rotate(-2deg); }
.friend-art.boing img { animation: boing .75s var(--spring); }
.friend-art .bubble { bottom: auto; top: 14px; }
.friend-art .bubble::after { display: none; }
.friend-art .bubble.show { transform: translate(-50%, 0) scale(1); }
.friend-tag { position: absolute; left: 16px; top: 16px; z-index: 2; }
.friend-info { padding: 18px 22px 24px; display: grid; gap: 8px; align-content: start; flex: 1; background: rgba(255, 255, 255, .38); }
.friend-name { font: var(--t-heading); font-size: clamp(30px, 2.8vw, 38px); }
.friend-bio { font-size: 17px; }
.friend-word { font-size: 16px; }
.friend-word b { font-weight: 800; }

/* ------------------------------------------------------------------ COMING SOON */
.next .shape-a { right: -70px; top: 90px; width: 200px; height: 200px; }
.next-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.soon { position: relative; border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--spring); }
.soon:hover { transform: translateY(-6px); }
.soon-lullaby { background: var(--reef); color: #fff; }
.soon-xmas { background: var(--sand); }
.soon-art { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; overflow: hidden; cursor: pointer; background: var(--mist); }
.soon-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soon-cast { position: absolute; transition: transform .4s var(--spring); }
.soon-lullaby .soon-cast { width: 50%; height: auto; left: 25%; top: 28%; animation: soon-bob 6s ease-in-out infinite; }
.soon-xmas .soon-cast { height: 80%; width: auto; left: 50%; bottom: 0; translate: -50% 0; }
.soon-cast.boing { animation: boing .75s var(--spring); }
.soon-badge { position: absolute; left: 18px; top: 18px; }
.soon-art .bubble { bottom: auto; top: 16px; left: auto; right: 16px; transform: scale(.6); }
.soon-art .bubble::after { display: none; }
.soon-art .bubble.show { transform: scale(1); }
.soon-info { padding: 26px 30px 32px; display: grid; gap: 10px; }
.soon-info h3 { font: var(--t-heading); font-size: clamp(30px, 3vw, 40px); }
.soon-kind { font-weight: 800; }
.soon-lullaby .soon-kind { color: var(--gold); }
.next-cta { margin-top: 40px; display: flex; justify-content: center; }
@keyframes soon-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ------------------------------------------------------------------ STORY */
.story .shape-a { left: -60px; bottom: 80px; width: 200px; height: 200px; }
.story-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.story-copy { display: grid; gap: 18px; }
.story-copy .head { margin: 0; }
.story-quote { position: relative; margin: 14px 0 0; padding: 4px 0 0 64px; font: var(--t-heading); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.18; color: var(--reef); }
.story-quote::before { content: "“"; position: absolute; left: 0; top: -14px; font: var(--t-display); font-size: 110px; color: var(--terracotta); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pillar { border-radius: var(--r-lg); padding: 26px; display: grid; gap: 10px; align-content: start; transition: transform .35s var(--spring); }
.pillar:hover { transform: rotate(-1.5deg); }
.pillar:nth-child(1) { background: var(--sand); } .pillar:nth-child(2) { background: var(--mist); } .pillar:nth-child(3) { background: var(--gold); } .pillar:nth-child(4) { background: var(--lagoon); }
.pillar-ico { position: relative; width: 64px; height: 64px; display: grid; place-items: center; color: var(--reef); margin-bottom: 4px; }
.pillar-ico .blob { position: absolute; inset: 0; color: #fff; }
.pillar-ico > svg:last-child { position: relative; width: 28px; height: 28px; }
.pillar p { font-size: 17px; }

.crew { margin-top: clamp(110px, 12vw, 160px); }
.crew-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.crew-list li { display: grid; justify-items: center; text-align: center; gap: 4px; }
.crew-av { position: relative; width: 132px; height: 132px; display: grid; place-items: center; margin-bottom: 10px; color: var(--reef); transition: transform .35s var(--spring); }
.crew-av .blob { position: absolute; inset: 0; }
.crew-av > svg:last-child { position: relative; width: 48px; height: 48px; }
.crew-list li:hover .crew-av { transform: rotate(-8deg) scale(1.05); }
.crew-role { font-size: 16px; }

/* ------------------------------------------------------------------ GROWN-UPS: the Night Reef trust block */
.grownups { padding-inline: var(--gutter); }
.grownups-panel { position: relative; overflow: hidden; isolation: isolate; max-width: 1360px; margin: 0 auto; border-radius: var(--r-xl); background: var(--reef); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.grownups-panel .shape-a { right: -110px; top: -120px; width: 240px; height: 240px; opacity: .95; }
.grownups-panel .shape-b { left: -40px; bottom: -70px; width: 180px; height: 180px; }
.grownups-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.grownups .head { margin: 0; }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.promises li { display: grid; gap: 6px; padding-left: 50px; position: relative; }
.promises li::before { content: ""; position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23212234' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.promises span { color: rgba(255, 255, 255, .88); }

/* ------------------------------------------------------------------ FOLLOW: chunky colour tiles */
.follow .shape-a { left: -70px; top: 80px; width: 200px; height: 200px; }
.socials { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.social { position: relative; height: 100%; min-height: 250px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; padding: 24px 22px 22px; text-decoration: none; color: var(--reef); border-radius: var(--r-lg); background: var(--tile, var(--sand)); transition: transform .35s var(--spring); }
.social:hover, .social:focus-visible { transform: translateY(-6px) rotate(-1deg); }
.socials li:nth-child(1) .social { --tile: var(--terracotta-2); color: #fff; }   /* white text needs the deeper terracotta (4.9:1) */
.socials li:nth-child(2) .social { --tile: var(--gold); }
.socials li:nth-child(3) .social { --tile: var(--mist); }
.socials li:nth-child(4) .social { --tile: var(--lagoon); }
.socials li:nth-child(5) .social { --tile: var(--sand); }
.social .pebble-ico { margin-bottom: 14px; width: 68px; height: 68px; }
.social-name { font: var(--t-title); font-size: 26px; }
.social-what { font-weight: 800; }
.social-cta { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font: var(--t-title); font-size: 18px; }
.social-cta svg { width: 22px; height: 22px; transition: transform .25s var(--spring); }
.social:hover .social-cta svg { transform: translateX(4px); }
.social.is-soon { cursor: default; }
.social.is-soon:hover { transform: none; }
.soon-sticker { position: absolute; right: 14px; top: 16px; rotate: 6deg; }
.handle-note { margin-top: 30px; text-align: center; }

/* ------------------------------------------------------------------ FOOTER */
.site-footer { position: relative; overflow: hidden; margin-top: clamp(60px, 7vw, 100px); border-radius: 40px 40px 0 0; background: var(--reef); color: #fff; padding-block: 0 calc(36px + env(safe-area-inset-bottom, 0px)); }
.footer-wave { display: block; width: 100%; height: clamp(44px, 5.5vw, 80px); margin-top: 30px; }
.footer-inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 14px; margin-top: clamp(-70px, -4vw, -30px); }
/* v07: the moonlit sea is back, with Sirena swimming across */
.night { position: relative; height: clamp(240px, 28vw, 420px); }
.night-beach { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 62%, transparent 100%); }
.stars { position: absolute; inset: 0 0 50% 0; pointer-events: none; }
.stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.2); } }
.night-sirena { position: absolute; left: 0; top: 44%; width: clamp(140px, 15vw, 230px); height: auto; animation: swim 36s linear infinite; filter: drop-shadow(0 0 18px rgba(171, 203, 204, .35)); }
@keyframes swim { 0% { transform: translate(-260px, 0) rotate(2deg); } 25% { transform: translate(25vw, -12px) rotate(-3deg); } 50% { transform: translate(52vw, 6px) rotate(2deg); } 75% { transform: translate(78vw, -10px) rotate(-3deg); } 100% { transform: translate(110vw, 0) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .night-sirena { animation: none !important; transform: translateX(58vw); } }
.footer-logo { width: clamp(200px, 22vw, 290px); height: auto; }
.footer-thanks { font: var(--t-heading); font-size: clamp(30px, 3.4vw, 44px); color: var(--gold); margin-top: 8px; }
.footer-sub { color: rgba(255, 255, 255, .88); }
.footer-social { display: flex; gap: 12px; margin: 14px 0 6px; }
.footer-social a { position: relative; display: grid; place-items: center; width: 56px; height: 56px; color: var(--reef); transition: transform .3s var(--spring); }
.footer-social .pb { position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; }
.footer-social .gl { position: relative; width: 100%; height: 100%; }
.footer-social a:hover { transform: translateY(-4px) rotate(-6deg); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.footer-nav a { text-decoration: none; color: #fff; font-weight: 800; padding: 8px 14px; border-radius: 999px; }
.footer-nav a:hover { background: rgba(255, 255, 255, .14); }
.btn-top { margin-top: 14px; }
.footer-legal { margin-top: 26px; display: grid; gap: 4px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.site-footer :focus-visible { outline-color: var(--gold); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .nav a { padding: 8px 10px; font-size: 15px; }
  .friends-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .friend.wide { grid-column: span 2; }
  .socials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .crew-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --nav-h: 58px; }
  .brand img { height: 32px; }
  .nav-pill { padding: 0 8px 0 18px; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .header-cta { display: none; }
  .nav {
    position: fixed; left: var(--gutter); right: var(--gutter); top: calc(12px + env(safe-area-inset-top, 0px) + var(--nav-h) + 8px);
    flex-direction: column; gap: 4px; padding: 12px; border-radius: 28px; background: var(--reef); box-shadow: 0 20px 40px -20px rgba(33, 34, 52, .7);
    opacity: 0; transform: translateY(-10px); pointer-events: none; visibility: hidden;
    transition: opacity .2s, transform .3s var(--spring), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .2s, transform .3s var(--spring); }
  .nav a { font: var(--t-title); padding: 14px 18px; border-radius: 18px; }
  .dock { display: inline-flex; }
  .playground, .story-wrap, .grownups-grid { grid-template-columns: 1fr; }
  .next-grid { grid-template-columns: 1fr; }
  .feature-koko { right: -8px; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .lede { font-size: 17px; }
  .hero-panel { height: clamp(760px, calc(100svh - 24px), 880px); border-radius: 30px; }
  .hero-copy { padding-top: calc(var(--nav-h) + 34px); }
  .hero-title { font-size: min(56px, 15vw); }
  .hero-say { flex-direction: column; gap: 8px; font-size: 17px; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: min(100%, 320px); gap: 12px; }
  .hero-sun { display: none; }
  .hero-far img { object-position: 42% 62%; }
  .hero-koko { left: -2%; bottom: 3%; height: 25%; }
  .hero-yuyu { left: 33%; bottom: 2%; height: 13%; }
  .hero-sirena { right: -8%; bottom: 3%; height: 21%; }
  .bubble { font-size: 15px; padding: 8px 12px; }
  .marquee-pill { height: 52px; }
  .marquee-track { font-size: 17px; }
  .video-plate { inset: 12px -10px -12px 10px; border-radius: 30px; }
  .player { border-radius: 22px; box-shadow: 0 0 0 5px #fff, var(--lift); }
  .video-sticker { left: -4px; top: -16px; }
  .feature-koko { height: 110px; bottom: -44px; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .stat { display: flex; align-items: center; gap: 18px; padding: 18px 22px; }
  .stat-n { font-size: 60px; min-width: 1.6em; }
  .shorts-head .btn { width: 100%; }
  .play-panel, .grownups-panel { border-radius: 30px; }
  .tiles { gap: 8px; }
  .tile { border-radius: 16px; font-size: 26px; }
  .stage { padding: 10px 10px 20px; border-radius: 24px; }
  .stage-letter { width: 54px; height: 54px; font-size: 32px; left: 10px; top: 10px; border-radius: 16px; }
  .stage-controls .btn { min-height: 50px; padding: 10px 18px; font-size: 17px; }
  .stage-buddy { height: 108px; }
  .friends-grid { grid-template-columns: 1fr; gap: 16px; }
  .friend.wide { grid-column: auto; }
  .friend-art, .friend.wide .friend-art { height: 260px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar:nth-child(even) { translate: none; }
  .promises { grid-template-columns: 1fr; }
  .crew-list { gap: 20px 12px; }
  .crew-av { width: 110px; height: 110px; }
  .socials { grid-template-columns: 1fr 1fr; gap: 12px; }
  .socials li:last-child { grid-column: 1 / -1; }
  .social { min-height: 0; padding: 18px; }
  .social-name { font-size: 22px; }
  .story-quote { padding-left: 46px; }
  .story-quote::before { font-size: 80px; }
  .shape { transform: scale(.7); }
}
@media (max-width: 420px) {
  .tiles { gap: 6px; }
  .socials { grid-template-columns: 1fr; }
}

@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; }
  .cloud { animation: none !important; transform: translateX(14vw); }
  .marquee-track { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* v06: silhouettes stay mostly on the page so each element is recognisable */
.watch .shape-a { left: -24px; top: 110px; width: 200px; height: 250px; }
.watch .shape-b { right: 10px; top: 60px; width: 150px; height: 110px; }
.friends .shape-a { left: -10px; top: 40px; width: 170px; height: 150px; }
.friends .shape-b { right: 0; top: 220px; width: 110px; height: 140px; }
.next .shape-a { right: 0; top: 80px; width: 190px; height: 110px; }
.story .shape-a { left: -10px; bottom: 60px; width: 170px; height: 150px; }
.follow .shape-a { left: 10px; top: 60px; width: 100px; height: 120px; }
.play-panel .shape-a { right: 28px; top: 28px; width: 130px; height: 110px; }
.play-panel .shape-b { left: -16px; bottom: -24px; width: 200px; height: 130px; }
.grownups-panel .shape-a { right: 30px; top: auto; bottom: 26px; width: 110px; height: 92px; }
.grownups-panel .shape-b { left: 30px; bottom: 30px; width: 90px; height: 80px; }
@media (max-width: 700px) {
  .shape { transform: none; opacity: .9; }
  .watch .shape-a { display: none; }
  .watch .shape-b, .friends .shape-b, .next .shape-a, .story .shape-a, .follow .shape-a { display: none; }
  .friends .shape-a { width: 100px; height: 90px; top: 20px; }
  .play-panel .shape-a { width: 80px; height: 70px; right: 14px; top: 14px; }
  .play-panel .shape-b { display: none; }
  .grownups-panel .shape-a { width: 70px; height: 60px; right: 16px; top: 16px; }
  .grownups-panel .shape-b { display: none; }
}

/* ================================================================== v08 (Website updates V.1) */
/* nav sits lower with breathing room; mobile menu sheet follows it */
@media (max-width: 900px) { .nav { top: calc(28px + env(safe-area-inset-top, 0px) + var(--nav-h) + 8px); } }

/* hero: the clean flat beach, a daytime palm and outlined clouds, like the reference */
.hero-far img { object-fit: cover; object-position: 50% 70%; }
.rcloud { position: absolute; height: auto; animation: drift-shape 16s ease-in-out infinite; }
.rcloud-1 { left: 5%; top: 17%; width: clamp(150px, 15vw, 250px); }
.rcloud-3 { right: 4%; top: 13%; width: clamp(110px, 11vw, 180px); animation-delay: -6s; }
.hero-palm { position: absolute; right: 4%; bottom: 3%; height: 66%; width: auto; z-index: 1; pointer-events: none; transform-origin: 50% 100%; animation: palm-sway 7s ease-in-out infinite; }
@keyframes palm-sway { 0%, 100% { rotate: -1deg; } 50% { rotate: 1.5deg; } }
.hero-sirena { left: 27%; right: auto; bottom: 7%; height: 42%; aspect-ratio: 864 / 820; }
.hero-yuyu { left: 17%; bottom: 3%; height: 20%; }
.hero-koko { left: auto; right: 19%; bottom: 5%; height: 33%; }
.hero-cast .bubble { left: 66%; }
.hero-cast .hero-sirena .bubble { left: 70%; right: auto; bottom: 86%; transform-origin: 0 100%; }
.hero-cast .hero-sirena .bubble::after { left: 16px; right: auto; }
.hero-cast .hero-koko .bubble { left: auto; right: 60%; transform-origin: 100% 100%; }
.hero-cast .hero-koko .bubble::after { left: auto; right: 16px; }
.hero-sky { z-index: 1; }

/* friends: Sirena leads, then four friends in one row */
.friends-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.friend.feature { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.friend.feature .friend-art { width: 46%; height: auto; min-height: 420px; flex: none; }
.friend.feature .friend-art img { height: 90%; }
.friend.feature .friend-info { padding: clamp(28px, 4vw, 56px); align-content: center; gap: 14px; }
.friend.feature .friend-name { font: var(--t-heading); }
.friend.feature .friend-bio { font-size: clamp(18px, 1.6vw, 21px); max-width: 46ch; }
.friend.feature .friend-word { font-size: 17px; }

/* story pillars: aligned, equal heights */
.pillars { align-items: stretch; }
.pillar { height: 100%; }

/* crew with photos */
.crew-photo { position: relative; display: block; width: 168px; height: 168px; border-radius: 50%; overflow: hidden; margin-bottom: 12px; background: var(--sand); transition: transform .35s var(--spring); }
.crew-photo.k-gold { background: var(--gold); } .crew-photo.k-lagoon { background: var(--lagoon); } .crew-photo.k-mist { background: var(--mist); }
.crew-photo img { position: absolute; left: 50%; bottom: 0; translate: -50% 0; height: 94%; width: auto; max-width: none; }
.crew-list li:hover .crew-photo { transform: rotate(-4deg) scale(1.04); }
.crew-role { font-weight: 800; }

@media (max-width: 1100px) {
  .friends-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .friends-grid { grid-template-columns: 1fr; }
  .friend.feature { flex-direction: column; }
  .friend.feature .friend-art { width: 100%; min-height: 300px; }
  .hero-palm { right: -6%; height: 40%; }
  .rcloud-1 { top: 33%; width: 110px; } .rcloud-3 { display: none; }
  .hero-sirena { left: 18%; bottom: 4%; height: 23%; }
  .hero-yuyu { left: 1%; bottom: 2%; height: 12%; }
  .hero-koko { right: 4%; bottom: 3%; height: 20%; }
  .crew-photo { width: 132px; height: 132px; }
}

/* ================================================================== v09 (Neeko's notes 2026-11-28) */
/* the very top and bottom of the site are square, full width */
.hero { padding: 0; }
.hero-panel, .site-footer { border-radius: 0; }
.site-footer { margin-top: clamp(60px, 7vw, 100px); }
@media (max-width: 700px) { .hero-panel { border-radius: 0; } }

/* the dark bar under the hero: same width as the content of every section, and it simply cuts off */
.marquee { max-width: var(--wrap); padding-inline: var(--gutter); margin-top: 24px; }
.marquee-pill { -webkit-mask-image: none; mask-image: none; }
.mq-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }

/* brand silhouettes live only in the page background: soft, mixed sizes, never over content */
body { position: relative; }
.page-deco { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.page-deco .sil { position: absolute; rotate: var(--r, 0deg); }
.d-sand { color: var(--sand); opacity: .26; }
.d-gold { color: var(--gold); opacity: .3; }
.d-lagoon { color: var(--lagoon); opacity: .16; }
.d-mist { color: var(--mist); opacity: .32; }
@media (max-width: 700px) {
  .page-deco .sil { scale: .55; transform-origin: center; }
  .page-deco .sil:nth-child(3n) { display: none; }
}

/* Sirena's feature card: her text sits on white */
.friend.feature .friend-info { background: #fff; }

/* crew: open the full team profile */
.crew-cta { display: flex; justify-content: center; margin-top: 36px; }
.team-dialog {
  width: min(880px, calc(100vw - 2 * var(--gutter))); max-height: min(88vh, 1000px); padding: 0; border: 0;
  border-radius: 32px; background: var(--paper); color: var(--reef); box-shadow: 0 40px 80px -30px rgba(33, 34, 52, .6); overflow: auto; overscroll-behavior: contain;
}
.team-dialog::backdrop { background: rgba(33, 34, 52, .62); backdrop-filter: blur(3px); }
.team-dialog[open] { animation: team-in .35s var(--soft); }
@keyframes team-in { from { transform: translateY(16px) scale(.98); } to { transform: none; } }
.team-inner { padding: clamp(24px, 4vw, 44px); display: grid; gap: 26px; }
.team-head { position: sticky; top: calc(-1 * clamp(24px, 4vw, 44px)); z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: calc(-1 * clamp(24px, 4vw, 44px)) calc(-1 * clamp(24px, 4vw, 44px)) 0; padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 44px) 16px; background: var(--paper); border-bottom: 1px solid rgba(33, 34, 52, .08); }
.team-head > div { display: grid; gap: 10px; justify-items: start; }
.team-head h2 { font-size: clamp(32px, 4vw, 48px); }
.tp { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 26px; align-items: start; padding: 24px; border-radius: var(--r-lg); background: #fff; }
.tp .crew-photo { width: 150px; height: 150px; margin: 0; }
.tp-text { display: grid; gap: 10px; }
.tp-text h3 { font: var(--t-heading); font-size: clamp(26px, 2.6vw, 32px); }
.tp-title { font-weight: 800; color: var(--terracotta-2); margin-top: -4px; }
.tp-text p:not(.tp-title) { font-size: 17px; }
html.modal-open { overflow: hidden; }
@media (max-width: 700px) {
  .tp { grid-template-columns: 1fr; padding: 20px; }
  .tp .crew-photo { width: 120px; height: 120px; }
  .team-dialog { border-radius: 24px; }
}
.crew-list { align-items: start; }
.crew-list li { align-content: start; }
.crew-role { max-width: 22ch; }

/* ================================================================== v10 (Neeko's notes) */
/* Håfa Adai in Night Reef (navy) */
.hero-title { color: var(--reef); }
/* the friends frame the hero: Sirena (current design, on her rock) and Yu'yu on the left,
   the water down the middle, Koko right of the water, the palm leaning in from the right edge */
.hero-sirena { left: 5%; right: auto; bottom: 5%; height: 46%; aspect-ratio: 747 / 820; }
.hero-yuyu { left: 24%; bottom: 3%; height: 19%; }
.hero-koko { left: auto; right: 15%; bottom: 5%; height: 34%; }
.hero-palm { right: 1%; transform: scaleX(-1); }
.hero-cast .hero-sirena .bubble { left: 72%; right: auto; bottom: 88%; transform-origin: 0 100%; }
.hero-cast .hero-sirena .bubble::after { left: 16px; right: auto; }
.hero-cast .hero-yuyu .bubble { left: 60%; right: auto; transform-origin: 0 100%; }
.hero-cast .hero-yuyu .bubble::after { left: 16px; right: auto; }
@media (max-width: 700px) {
  .hero-sirena { left: -3%; bottom: 3%; height: 23%; }
  .hero-yuyu { left: 30%; bottom: 2%; height: 11%; }
  .hero-koko { right: 6%; bottom: 3%; height: 19%; }
  .hero-palm { right: -10%; height: 40%; }
}

/* v11: Sirena waving (current design, posed from her rig) */
.hero-sirena { aspect-ratio: 747 / 820; }

/* ================================================================== v12: the hero comes alive */
/* layered rigs: every layer shares one canvas, so joints line up; the sticker outline is drawn once around the whole character */
.cast .rig { position: relative; display: block; width: 100%; height: 100%; transform-origin: 50% 100%; animation: bob 4s ease-in-out infinite;
  filter: drop-shadow(3px 0 0 #FFF8EE) drop-shadow(-3px 0 0 #FFF8EE) drop-shadow(0 3px 0 #FFF8EE) drop-shadow(0 -3px 0 #FFF8EE) drop-shadow(0 12px 10px rgba(33, 34, 52, .18)); }
.cast .rig img, .cast .rig .j { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; filter: none; animation: none; }
.cast.boing .rig { animation: boing .75s var(--spring); }
.hero-sirena .rig { animation-duration: 5s; animation-delay: -2s; }
.hero-koko .rig { animation-duration: 3.4s; animation-delay: -.8s; }
.hero-yuyu .rig { animation: none; }
/* Sirena's arm: shoulder, elbow, wrist pivots from her rig (on the 1000 x 1098 rock canvas) */
.s-sh { transform-origin: 49.898% 36.166%; rotate: 58deg; }
.s-el { transform-origin: 45.627% 43.359%; rotate: 80deg; }
.s-wr { transform-origin: 42.205% 48.122%; rotate: 2deg; }
.s-shaka { opacity: 0; }
.hero-sirena.is-shaka .s-shaka { opacity: 1; }
.hero-sirena.is-shaka .s-open { opacity: 0; }
/* Koko: three-pose strumming wing + blink */
.k-wing, .k-blink { opacity: 0; }
.k-wing.is-on, .k-blink.is-on { opacity: 1; }
/* Yu'yu: peekaboo sprite (56 frames, 216 x 242, 10 per row) */
.hero-yuyu { aspect-ratio: 216 / 242; height: 25%; bottom: 1%; }
.yuyu-sprite { background: url(../img/motion/yuyu/peekaboo.webp) 0 0 / 1000% 600% no-repeat; }
@media (max-width: 700px) { .hero-yuyu { height: 15%; bottom: 1%; } }

/* ================================================================== v13: hero placement (Neeko's mark-up, Websites updates V.2) */
/* Sirena + Yu'yu a little further left; Koko up on the sand, right of the stream, not in the water */
.hero-sirena { left: 2%; }
.hero-yuyu { left: 20%; }
.hero-koko { right: 19%; bottom: 17%; height: 30%; }
@media (max-width: 700px) {
  .hero-sirena { left: -6%; }
  .hero-yuyu { left: 26%; }
  .hero-koko { right: 8%; bottom: 9%; height: 17%; }
}

/* ================================================================== v17: glass navigation (Neeko: "subtle glass morphism… some type of transparency") */
.nav-pill, .nav.is-open {
  background: rgba(33, 34, 52, .58);                     /* Night Reef, see-through */
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 30px -16px rgba(33, 34, 52, .55);
}
@media (max-width: 900px) {
  .nav { background: rgba(33, 34, 52, .7); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); border: 1px solid rgba(255, 255, 255, .18); }
}
/* browsers without backdrop blur keep the solid bar so the white text stays readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav-pill, .nav { background: var(--reef); } }
/* v17: no floating "Watch on YouTube" button on phones (removed from the page) */
/* the phone menu panel sits inside the glass bar, where a second blur can't work, so it stays nearly solid for readability */
@media (max-width: 900px) { .nav, .nav.is-open { background: rgba(33, 34, 52, .94); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ================================================================== v18: copy update */
/* hero: real spaces around the highlighted words in the HTML now ("hello on Guam"), so no extra margin */
.hl { margin-left: 0; }
/* Yu'yu: how to say her name, same weight as the island word */
.friend-say { font-size: 16px; }
.friend-say b { font-weight: 800; letter-spacing: .02em; }
