/* Project CLEO · one-page site. Brand kit v1 (2026-10-03).
   Fonts are self-hosted (no Google request), so the page loads nothing from a third party. */

@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-italic-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Brand kit v1 palette */
  --deep: #0293C6;        /* Deep Water */
  --lagoon: #0EC0DB;      /* Lagoon */
  --sky: #56B5EF;         /* La Jolla Sky */
  --sun: #FDF2C5;         /* Sunbeam, page ground */
  --sand: #F1D1A6;        /* Shell Sand */
  --kelp: #8A9A2A;        /* Kelp */
  --coral: #F56F56;       /* Coral Pouch, buttons only */
  --blush: #FBB5A8;       /* Ballet Blush */
  --navy: #2E3253;        /* Navy Shorts, text */
  --ellie: #D29E76;       /* Ellie Sand, Ellie art only */
  --spots: #716166;       /* Ellie Spots, Ellie art only */

  /* Derived tints (for contrast and calm) */
  --deep-ink: #00759E;    /* Deep Water darkened for text: 4.6:1 on Sunbeam */
  --navy-soft: #474B6B;
  --on-coral: #232744;    /* 5:1 on Coral */
  --card: #FFFCF0;
  --sand-soft: #F7E4C3;
  --shallow: #D9F1F6;
  --foam: #8EDDEB;
  --line: #EBD9B9;

  --radius-lg: 34px;
  --radius: 22px;
  --shadow: 0 24px 46px -30px rgba(46, 50, 83, 0.5), 0 2px 6px rgba(46, 50, 83, 0.06);
  --font-display: "Fredoka", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font-body);
  color: var(--navy);
  background: var(--sun);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
}
h2 { font-size: clamp(2rem, 5.2vw, 3.1rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
a { color: var(--deep-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--deep-ink); outline-offset: 3px; }

.nowrap { white-space: nowrap; }
.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 {
  position: absolute; left: -999px; top: 12px; z-index: 20;
  background: var(--card); color: var(--navy); padding: 0.6rem 1rem; border-radius: 12px; font-weight: 800;
}
.skip:focus { left: 16px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 32px); }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section__head { text-align: center; max-width: 40rem; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.section__head p { font-size: 1.2rem; color: var(--navy-soft); margin: 0; }

/* ---------- buttons + chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.6rem;
  border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1.2rem/1 var(--font-display);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.btn--coral {
  background: var(--coral); color: var(--on-coral);
  box-shadow: 0 12px 24px -14px rgba(245, 111, 86, 0.95), inset 0 -3px 0 rgba(46, 50, 83, 0.12);
}
.btn--coral:hover { background: #F77D66; transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255, 252, 240, 0.7); color: var(--navy);
  border: 2px solid rgba(255, 255, 255, 0.95);
}
.btn--ghost:hover { background: rgba(255, 252, 240, 0.95); }
.btn--small { min-height: 44px; padding: 0 1.1rem; font-size: 1.05rem; }

.chip {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(253, 242, 197, 0.94);
  color: var(--navy);
  font: 800 0.78rem/1.2 var(--font-body);
  letter-spacing: 0.02em;
}
.chip--soft { background: var(--shallow); }

/* ---------- top bar ---------- */
.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px 16px;
}
.topbar__mark {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font: 600 1.15rem/1 var(--font-display); color: var(--navy); text-decoration: none;
}
.dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff 0 18%, rgba(255, 255, 255, 0.4) 22% 50%, rgba(14, 192, 219, 0.35) 100%);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: inset -2px -3px 5px rgba(2, 147, 198, 0.25);
}
.topbar__nav { display: none; gap: 1.6rem; }
.topbar__nav a { color: var(--navy); font-weight: 700; text-decoration: none; }
.topbar__nav a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .topbar { padding: 20px 32px; }
  .topbar__nav { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(100svh, 880px);
  display: grid; place-items: center;
  padding: 96px 16px 104px;
  background: linear-gradient(180deg, #56B5EF 0%, #86CBF2 30%, #BFE4F3 58%, #EAF2DF 82%, var(--sun) 100%);
  text-align: center;
}
.hero__inner { position: relative; z-index: 1; max-width: 46rem; }

.hero__rays { position: absolute; inset: 0; pointer-events: none; }
.hero__rays i {
  position: absolute; top: -8%; left: 50%;
  width: 12vw; min-width: 70px; height: 125%;
  transform-origin: 50% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 78%);
  filter: blur(12px);
  opacity: 0.32;
  animation: ray 16s ease-in-out infinite alternate;
}
.hero__rays i:nth-child(1) { transform: translateX(-50%) rotate(-40deg); animation-delay: -3s; }
.hero__rays i:nth-child(2) { transform: translateX(-50%) rotate(-24deg); width: 8vw; animation-delay: -9s; }
.hero__rays i:nth-child(3) { transform: translateX(-50%) rotate(-9deg); width: 15vw; animation-delay: -1s; }
.hero__rays i:nth-child(4) { transform: translateX(-50%) rotate(7deg); width: 9vw; animation-delay: -12s; }
.hero__rays i:nth-child(5) { transform: translateX(-50%) rotate(22deg); width: 13vw; animation-delay: -6s; }
.hero__rays i:nth-child(6) { transform: translateX(-50%) rotate(38deg); width: 7vw; animation-delay: -14s; }
@keyframes ray { from { opacity: 0.18; } to { opacity: 0.5; } }

.hero__bubbles { position: absolute; inset: 0; pointer-events: none; }
.b {
  position: absolute; bottom: -70px; left: var(--x);
  width: var(--s); height: var(--s);
  opacity: 0;
  animation: rise var(--d) linear infinite;
  animation-delay: var(--delay);
}
.b i {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.95) 0 9%, rgba(255, 255, 255, 0.35) 12% 36%, rgba(255, 255, 255, 0.1) 62%, rgba(255, 255, 255, 0.05));
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  animation: sway var(--sw, 7s) ease-in-out infinite alternate;
}
.b:nth-child(1)  { --x: 6%;  --s: 18px; --d: 30s; --delay: -4s;  --ty: 70%; }
.b:nth-child(2)  { --x: 14%; --s: 34px; --d: 38s; --delay: -20s; --ty: 34%; --sw: 9s; }
.b:nth-child(3)  { --x: 23%; --s: 12px; --d: 26s; --delay: -11s; --ty: 82%; }
.b:nth-child(4)  { --x: 31%; --s: 22px; --d: 34s; --delay: -28s; --ty: 18%; --sw: 8s; }
.b:nth-child(5)  { --x: 42%; --s: 14px; --d: 29s; --delay: -7s;  --ty: 90%; }
.b:nth-child(6)  { --x: 55%; --s: 28px; --d: 40s; --delay: -16s; --ty: 12%; --sw: 10s; }
.b:nth-child(7)  { --x: 63%; --s: 11px; --d: 24s; --delay: -2s;  --ty: 76%; }
.b:nth-child(8)  { --x: 71%; --s: 40px; --d: 44s; --delay: -30s; --ty: 26%; --sw: 11s; }
.b:nth-child(9)  { --x: 79%; --s: 16px; --d: 31s; --delay: -13s; --ty: 64%; }
.b:nth-child(10) { --x: 86%; --s: 24px; --d: 36s; --delay: -24s; --ty: 44%; --sw: 9s; }
.b:nth-child(11) { --x: 93%; --s: 13px; --d: 27s; --delay: -9s;  --ty: 86%; }
.b:nth-child(12) { --x: 48%; --s: 20px; --d: 33s; --delay: -36s; --ty: 54%; }
@keyframes rise {
  0%   { transform: translateY(0); opacity: 0; }
  10%  { opacity: 0.9; }
  85%  { opacity: 0.75; }
  100% { transform: translateY(-112vh); opacity: 0; }
}
@keyframes sway { from { transform: translateX(-10px); } to { transform: translateX(10px); } }

/* The C·L·E·O bubbles: the acronym is the logo until the illustrator's wordmark lands */
.acronym { margin: 0 0 1.4rem; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.acronym__project {
  font: 500 clamp(1rem, 3.2vw, 1.45rem)/1 var(--font-display);
  letter-spacing: 0.42em; padding-left: 0.42em;
  text-transform: uppercase; color: var(--deep-ink);
}
.acronym__row { display: flex; justify-content: center; gap: clamp(0.45rem, 2.2vw, 1.5rem); }
.letter { display: flex; flex-direction: column; align-items: center; gap: 0.65rem; }
.letter__bubble { animation: bob 8s ease-in-out infinite; }
.letter:nth-child(2) .letter__bubble { animation-duration: 9s; animation-delay: -2.5s; }
.letter:nth-child(3) .letter__bubble { animation-duration: 8.5s; animation-delay: -5s; }
.letter:nth-child(4) .letter__bubble { animation-duration: 9.5s; animation-delay: -1.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.letter__bubble {
  position: relative;
  width: clamp(4.4rem, 17vw, 9.4rem); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  font: 600 clamp(2.6rem, 10vw, 5.6rem)/1 var(--font-display);
  color: var(--navy);
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.96) 0 7%, rgba(255, 255, 255, 0.55) 9% 22%, rgba(255, 255, 255, 0.3) 46%, rgba(214, 241, 250, 0.38) 74%, rgba(14, 192, 219, 0.2) 100%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    inset -8px -12px 22px rgba(2, 147, 198, 0.16),
    inset 6px 8px 14px rgba(255, 255, 255, 0.45),
    0 26px 40px -28px rgba(46, 50, 83, 0.55);
}
.letter__bubble::after {
  content: ""; position: absolute; inset: 9%;
  border-radius: 50%;
  border: 2px solid transparent; border-top-color: rgba(255, 255, 255, 0.85);
  transform: rotate(38deg);
}
.letter__word {
  font: 800 clamp(0.68rem, 2.3vw, 0.95rem)/1.1 var(--font-body);
  color: var(--navy); white-space: nowrap;
}

.hero__promise {
  font: 600 clamp(1.5rem, 4.6vw, 2.3rem)/1.15 var(--font-display);
  margin: 0 0 0.7rem;
}
.hero__lede { font-size: clamp(1.05rem, 2.6vw, 1.22rem); max-width: 36rem; margin: 0 auto 1.8rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

.calm-toggle {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px; padding: 0 0.95rem;
  border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.95);
  background: rgba(255, 252, 240, 0.8); color: var(--navy);
  font: 700 0.92rem/1 var(--font-body); cursor: pointer;
}
.calm-toggle__icon {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--deep-ink);
}
.calm-toggle[aria-pressed="true"] .calm-toggle__icon {
  border-radius: 0; border: 0; width: 0; height: 0;
  border-left: 11px solid var(--deep-ink);
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}

.is-still .b, .is-still .b i, .is-still .letter__bubble, .is-still .hero__rays i,
.is-still .waterline svg, .is-still .footer__bubbles i { animation-play-state: paused !important; }

/* ---------- watch ---------- */
.player {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 76%, rgba(255, 255, 255, 0.28) 0 1.2%, transparent 1.6%),
    radial-gradient(circle at 24% 60%, rgba(255, 255, 255, 0.22) 0 0.8%, transparent 1.1%),
    radial-gradient(circle at 82% 30%, rgba(255, 255, 255, 0.24) 0 1%, transparent 1.4%),
    radial-gradient(120% 90% at 50% 0%, rgba(253, 242, 197, 0.38), transparent 60%),
    linear-gradient(170deg, var(--lagoon) 0%, var(--deep) 72%, #0281B0 100%);
  box-shadow: var(--shadow);
}
.player__soon {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.7rem; padding: 1rem; text-align: center;
}
.player__play {
  width: clamp(64px, 12vw, 92px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.9) 0 8%, rgba(255, 255, 255, 0.35) 12% 45%, rgba(255, 255, 255, 0.18));
  border: 2px solid rgba(255, 255, 255, 0.9);
  position: relative;
}
.player__play::after {
  content: ""; position: absolute; left: 54%; top: 50%;
  transform: translate(-50%, -50%);
  border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent;
}
.player__title { font: 600 clamp(1.6rem, 4.5vw, 2.3rem)/1 var(--font-display); color: #fff; margin: 0; }
.player__note {
  margin: 0; padding: 0.4rem 0.9rem; border-radius: 999px;
  background: rgba(253, 242, 197, 0.94); color: var(--navy);
  font-size: 0.86rem; font-weight: 700;
}
.player__start {
  position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer;
  background: none; display: grid; place-items: center;
}
.player__start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__start .player__play { z-index: 1; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.calm-list {
  list-style: none; padding: 0; margin: 1.6rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
}
.calm-list li {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: var(--card); border: 1.5px solid var(--line);
  font-weight: 700; font-size: 0.95rem;
}
.calm-list li::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--lagoon); box-shadow: inset -1px -2px 3px rgba(2, 147, 198, 0.5);
}

/* ---------- meet: the waterline ---------- */
.meet__shore {
  background: linear-gradient(180deg, var(--sun) 0%, var(--sand-soft) 100%);
  padding: clamp(4rem, 9vw, 6.5rem) 0 0;
}
.meet .section__head { text-align: left; margin-left: 0; }
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 540px;
}
.card__art { margin: 0; position: relative; }
.card__art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__art .chip { position: absolute; top: 14px; left: 14px; }
.card__body { padding: 1.3rem 1.5rem 1.7rem; }
.card__body h3 { font-size: 2rem; margin-bottom: 0.2rem; }
.card__meta { color: var(--deep-ink); font-weight: 800; font-size: 0.98rem; margin-bottom: 0.7rem; }
.card__body p:last-child { margin-bottom: 0; }
.card--cleo { position: relative; z-index: 2; margin-bottom: -40px; }
@media (min-width: 900px) { .card--cleo { margin-bottom: -56px; } }

.waterline { position: relative; height: 80px; overflow: hidden; background: var(--sand-soft); }
.waterline svg { position: absolute; top: 0; left: 0; width: 200%; height: 100%; }
.waterline__back { fill: var(--foam); animation: drift 70s linear infinite reverse; }
.waterline__front { fill: var(--lagoon); animation: drift 48s linear infinite; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.meet__water {
  background: linear-gradient(180deg, var(--lagoon) 0%, #07A9D2 26%, var(--deep) 60%, #49B6D9 86%, var(--shallow) 100%);
  padding: 76px 0 clamp(4rem, 9vw, 6rem);
}
.card--ellie { margin-left: auto; }
.family {
  margin-top: 1.6rem; max-width: 540px;
  background: rgba(255, 252, 240, 0.92);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}
.family p:last-child { margin-bottom: 0; }
.family__rule { color: var(--navy-soft); font-style: italic; font-size: 0.98rem; }

@media (min-width: 900px) {
  .meet__shore .wrap { display: grid; grid-template-columns: 540px 1fr; grid-template-areas: "card head"; gap: 3rem; align-items: end; }
  .meet__shore .section__head { grid-area: head; margin: 0 0 6.5rem; }
  .card--cleo { grid-area: card; }
  .meet__water .wrap { display: grid; grid-template-columns: 1fr 540px; grid-template-areas: "family card"; gap: 3rem; align-items: start; }
  .card--ellie { grid-area: card; margin-top: -20px; }
  .family { grid-area: family; margin-top: 4.5rem; justify-self: end; }
}

/* ---------- the world ---------- */
.world { background: linear-gradient(180deg, var(--shallow) 0%, var(--sun) 65%); }
.world__grid { display: grid; gap: 2rem; }
.studio { margin: 0; }
.studio__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.studio__frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.studio__frame .chip { position: absolute; top: 14px; left: 14px; }
.studio figcaption { margin-top: 1rem; font-style: italic; font-size: 1.05rem; color: var(--navy-soft); max-width: 34rem; }
.places { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.place {
  position: relative;
  background: var(--card); border-radius: var(--radius);
  padding: 1.05rem 1.3rem 1.1rem 3.3rem;
  border: 1.5px solid var(--line);
}
.place::before {
  content: ""; position: absolute; left: 1.15rem; top: 1.3rem;
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff 0 16%, rgba(14, 192, 219, 0.35) 40%, rgba(2, 147, 198, 0.55) 100%);
}
.place h3 { font-size: 1.32rem; margin-bottom: 0.3rem; }
.place p { margin: 0; }
.place--pretend { background: #FFF1EC; border-style: dashed; border-color: var(--blush); }
.place--pretend::before { background: radial-gradient(circle at 32% 30%, #fff 0 16%, rgba(251, 181, 168, 0.7) 45%, rgba(245, 111, 86, 0.55) 100%); }
.tag {
  display: inline-block; vertical-align: middle; margin-left: 0.3rem;
  padding: 0.18rem 0.6rem; border-radius: 999px;
  background: var(--blush); color: var(--navy);
  font: 800 0.72rem/1.3 var(--font-body);
}
@media (min-width: 900px) {
  .world__grid { grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
}

/* ---------- what kids learn ---------- */
.trail { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem; position: relative; }
.step { position: relative; padding-left: 82px; min-height: 60px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 29px; top: 64px; bottom: -1.5rem;
  border-left: 3px dotted #D8B98C;
}
.step__bubble {
  position: absolute; left: 0; top: 0;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 1.5rem/1 var(--font-display); color: var(--navy);
  background: radial-gradient(circle at 32% 28%, #fff 0 10%, #EAF7FC 30%, #BDE6F6 100%);
  border: 2px solid #fff;
  box-shadow: inset -4px -6px 10px rgba(2, 147, 198, 0.18), 0 10px 20px -14px rgba(46, 50, 83, 0.5);
}
.step h3 { font-size: 1.4rem; margin-bottom: 0.3rem; padding-top: 0.2rem; }
.step p { margin: 0; }
@media (min-width: 860px) {
  .trail { grid-template-columns: repeat(4, 1fr); gap: 1.8rem; }
  .trail::before { content: ""; position: absolute; left: 12%; right: 12%; top: 29px; border-top: 3px dotted #D8B98C; }
  .step:not(:last-child)::after { display: none; }
  .step { padding-left: 0; text-align: center; padding-top: 80px; }
  .step__bubble { left: 50%; transform: translateX(-50%); }
}
.learn__close {
  text-align: center; margin: 2.6rem 0 0;
  font: 500 clamp(1.25rem, 3.2vw, 1.55rem)/1.3 var(--font-display);
}
.learn__close em { font-style: normal; color: var(--deep-ink); }
.try {
  position: relative; overflow: hidden;
  margin: 3rem auto 0; max-width: 760px;
  padding: clamp(1.6rem, 5vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #FFEDE6 0%, #FDE1D7 100%);
}
.try::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.85) 0 8%, rgba(255, 255, 255, 0.35) 12% 45%, rgba(255, 255, 255, 0.12));
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.try__eyebrow { font: 800 0.82rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.7rem; }
.try h3 { font-size: clamp(1.5rem, 4vw, 1.9rem); max-width: 22ch; }
.try p:last-child { margin: 0; max-width: 46ch; }

/* ---------- our story ---------- */
.story { padding-top: 0; }
.story__card {
  background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: clamp(1.8rem, 6vw, 3.4rem);
}
.story__card p { font-size: 1.15rem; line-height: 1.7; }
.story__quote {
  position: relative;
  margin: 1.2rem 0 1.8rem; padding: 1.1rem 1.4rem;
  border-radius: 28px;
  background: var(--shallow);
  font: 500 clamp(1.4rem, 4vw, 2rem)/1.25 var(--font-display);
}
.story__quote::after {
  content: ""; position: absolute; left: 36px; bottom: -14px;
  border-top: 16px solid var(--shallow); border-right: 18px solid transparent;
}
.story__sign { font: 500 1.25rem/1.2 var(--font-display); color: var(--deep-ink); margin: 1.4rem 0 0; }

/* ---------- Ellie's name ---------- */
.tribute { padding-top: 0; }
.tribute__grid { display: grid; gap: 1.5rem; }
.tribute__pier { width: min(320px, 80%); height: auto; }
.tribute__pier path { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tribute__pier .pier__water { stroke: var(--lagoon); stroke-width: 4; }
.tribute__pier .pier__rail { stroke-width: 2; }
.tribute__lead { font: 500 clamp(1.3rem, 3.4vw, 1.6rem)/1.3 var(--font-display); }
.tribute__facts { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 0.55rem; }
.tribute__facts li { position: relative; padding-left: 1.6rem; }
.tribute__facts li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--lagoon);
}
.tribute__note {
  margin-top: 1.4rem; padding-top: 1rem;
  border-top: 1.5px solid var(--line);
  font-weight: 700; color: var(--navy-soft);
}
.tribute__sources { font-size: 0.92rem; color: var(--navy-soft); }
@media (min-width: 860px) {
  .tribute__grid { grid-template-columns: 300px 1fr; gap: 3.5rem; align-items: center; }
  .tribute__pier { width: 100%; }
}

/* ---------- updates (newsletter) ---------- */
.updates { background: linear-gradient(180deg, var(--sun) 0%, var(--shallow) 50%, var(--sun) 100%); }
.updates__card {
  background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 2px solid rgba(14, 192, 219, 0.3);
  padding: clamp(1.6rem, 6vw, 3rem);
}
.updates__card > p { font-size: 1.12rem; }
.signup { display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.35rem; }
.field span { font-weight: 800; font-size: 0.95rem; }
.field input {
  min-height: 52px; padding: 0 1rem;
  border-radius: 16px; border: 2px solid var(--line);
  background: #fff; color: var(--navy);
  font: 400 1.05rem var(--font-body);
}
.field input:focus { outline: none; border-color: var(--deep-ink); box-shadow: 0 0 0 4px rgba(14, 192, 219, 0.25); }
.interests { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.interests legend { font-weight: 800; font-size: 0.95rem; margin-bottom: 0.5rem; padding: 0; }
.check {
  display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 46px; padding: 0 1rem;
  border-radius: 999px; border: 2px solid var(--line);
  background: var(--sun); cursor: pointer; font-weight: 700;
}
.check input { width: 20px; height: 20px; accent-color: var(--deep-ink); margin: 0; }
.check:has(input:checked) { background: #E3F6FA; border-color: rgba(14, 192, 219, 0.7); }
.check--adult { justify-self: start; }
.signup .btn { justify-self: start; }
.signup__hint { margin: 0; padding: 0.7rem 1rem; border-radius: 14px; background: #E3F6FA; font-weight: 700; }
.signup__fine { margin: 0; font-size: 0.92rem; color: var(--navy-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- shop ---------- */
.shop__grid { display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .shop__grid { grid-template-columns: 1fr 1fr; } }
.product {
  background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
}
.product__art { height: 250px; display: grid; place-items: center; }
.product__art--book { background: linear-gradient(160deg, #E4F6FA 0%, #BFE9F3 100%); }
.product__art--plush { background: linear-gradient(160deg, var(--sun) 0%, var(--sand-soft) 100%); }
.book {
  position: relative; width: 176px; height: 176px;
  border-radius: 8px 18px 18px 8px; overflow: hidden;
  transform: rotate(-4deg);
  box-shadow: 0 22px 30px -18px rgba(46, 50, 83, 0.6), 0 2px 0 rgba(46, 50, 83, 0.08);
}
.book img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 20%; }
.book::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; z-index: 1;
  background: linear-gradient(90deg, rgba(46, 50, 83, 0.35), rgba(255, 255, 255, 0.2));
}
.book__title {
  position: absolute; bottom: 10px; left: 20px; right: 10px;
  padding: 0.35rem 0.5rem; border-radius: 10px;
  background: rgba(253, 242, 197, 0.93);
  font: 600 1.05rem/1 var(--font-display); color: var(--navy); text-align: center;
}
.plush { width: 240px; height: auto; }
.plush__shadow { fill: rgba(46, 50, 83, 0.12); }
.plush__body { fill: var(--ellie); }
.plush__tail, .plush__fin { fill: #C68F66; }
.plush__belly { fill: #F6E6CF; }
.plush__seam { fill: none; stroke: #DCC09B; stroke-width: 2; stroke-dasharray: 3 4; stroke-linecap: round; }
.plush__spots circle, .plush__heart { fill: var(--spots); }
.plush__gills { fill: none; stroke: #B48463; stroke-width: 2; stroke-linecap: round; }
.plush__eye { fill: #3A2A24; }
.plush__glint { fill: #fff; }
.plush__cheek { fill: var(--blush); opacity: 0.75; }
.plush__smile { fill: none; stroke: #5A3F37; stroke-width: 2.5; stroke-linecap: round; }
.product__body { padding: 1.4rem 1.5rem 1.7rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; flex: 1; }
.product__body h3 { font-size: 1.6rem; margin: 0.6rem 0 0.3rem; }
.product__body p { margin-bottom: 1.2rem; }
.product__body .btn { margin-top: auto; }

/* ---------- follow ---------- */
.follow { padding-top: 0; }
.socials { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.social {
  display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 52px; padding: 0 1.2rem;
  border-radius: 999px; background: var(--card);
  border: 2px solid var(--line);
  color: var(--navy); font-weight: 800; text-decoration: none;
}
a.social:hover { border-color: var(--lagoon); }
.social svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: var(--navy); stroke: none; }
.social--soon { color: var(--navy-soft); border-style: dashed; background: transparent; }
.social--soon svg { stroke: var(--navy-soft); }
.social--soon svg .fill { fill: var(--navy-soft); }
.social small { font-size: 0.75rem; font-weight: 800; padding: 0.12rem 0.5rem; border-radius: 999px; background: var(--sand-soft); color: var(--navy); }

/* ---------- footer ---------- */
.footer {
  position: relative; overflow: hidden;
  margin-top: clamp(3rem, 7vw, 5rem);
  background: var(--navy); color: var(--sun);
  border-top-left-radius: 50% 44px; border-top-right-radius: 50% 44px;
  padding: 4rem 0 3rem; text-align: center;
}
.footer__inner { position: relative; z-index: 1; }
.footer__mark { font: 600 1.9rem/1 var(--font-display); margin-bottom: 1rem; }
.footer__line { max-width: 36rem; margin: 0 auto 0.6rem; }
.footer a { color: var(--sun); }
.footer__copy { margin: 1.4rem 0 0; font-size: 0.9rem; opacity: 0.85; }
.footer__bubbles { position: absolute; inset: 0; pointer-events: none; }
.footer__bubbles i {
  position: absolute; bottom: -30px; border-radius: 50%;
  border: 1.5px solid rgba(253, 242, 197, 0.35);
  animation: rise-short 26s linear infinite;
}
.footer__bubbles i:nth-child(1) { left: 8%;  width: 14px; height: 14px; animation-delay: -4s; }
.footer__bubbles i:nth-child(2) { left: 22%; width: 9px;  height: 9px;  animation-delay: -15s; animation-duration: 22s; }
.footer__bubbles i:nth-child(3) { left: 74%; width: 18px; height: 18px; animation-delay: -9s;  animation-duration: 30s; }
.footer__bubbles i:nth-child(4) { left: 86%; width: 10px; height: 10px; animation-delay: -20s; }
.footer__bubbles i:nth-child(5) { left: 92%; width: 7px;  height: 7px;  animation-delay: -2s;  animation-duration: 20s; }
@keyframes rise-short {
  0%   { transform: translateY(0); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translateY(-420px); opacity: 0; }
}

/* ---------- reduced motion: everything rests ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .b { opacity: 0.7; bottom: auto; top: var(--ty); }
  .hero__rays i { opacity: 0.32; }
  .footer__bubbles i { opacity: 0.6; bottom: 30%; }
  [data-calm-toggle] { display: none; }
  .play__ellie, .play__b { animation: none !important; }
}

/* ---------- thanks page ---------- */
.thanks .acronym__project { display: block; margin: 0 0 1rem; }
.thanks__title { font-size: clamp(2.4rem, 8vw, 4rem); }

/* tighten the gap between the hero and the first section */
.watch { padding-top: clamp(2.5rem, 6vw, 4.5rem); }

/* ---------- 10/2 night: the hero goes underwater (Ellie's own clip, looped, silent) ---------- */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 20%, rgba(2, 147, 198, 0) 55%, rgba(253, 242, 197, 0.55) 90%, var(--sun) 100%);
}
.hero .acronym__project { color: #fff; text-shadow: 0 2px 14px rgba(2, 80, 120, 0.5); }
.hero .letter__word { background: rgba(255, 252, 240, 0.88); padding: 0.3em 0.65em; border-radius: 999px; }
.hero__panel {
  margin: 0 auto; max-width: 40rem;
  padding: clamp(1.1rem, 3.5vw, 1.6rem) clamp(1.1rem, 4vw, 2rem) clamp(1.3rem, 4vw, 1.8rem);
  border-radius: 30px;
  background: rgba(255, 252, 240, 0.82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 26px 50px -34px rgba(2, 60, 100, 0.6);
}
.hero__panel .hero__lede { margin-bottom: 1.3rem; }
.hero__controls {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px;
}
.hero__controls .calm-toggle { position: static; }
.calm-toggle__svg { width: 20px; height: 20px; fill: none; stroke: var(--deep-ink); stroke-width: 2; stroke-linecap: round; }
.calm-toggle[aria-pressed="true"][data-ocean-toggle] { background: #E3F6FA; border-color: var(--lagoon); }

/* the opening, playing on the page itself */
.player__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0281B0; }
.player__caption { text-align: center; margin: 0.8rem 0 0; font-size: 0.92rem; color: var(--navy-soft); }

/* Play with Ellie card */
.play { padding-top: 0; }
.play__card {
  display: grid; text-decoration: none; color: inherit;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--card); box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.play__card:hover { transform: translateY(-2px); }
.play__scene {
  position: relative; min-height: 250px; overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #A4E2F1 0%, #49C7E4 38%, #16B2DA 74%, #F3DDB3 74.5%, #ECCD98 100%);
}
.play__ellie { width: min(68%, 300px); height: auto; animation: floaty 6s ease-in-out infinite alternate; filter: drop-shadow(0 16px 12px rgba(2, 80, 120, 0.2)); }
@keyframes floaty { from { transform: translateY(-8px) rotate(-1.5deg); } to { transform: translateY(8px) rotate(1.5deg); } }
.play__b {
  position: absolute; bottom: 30%; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.95) 0 10%, rgba(255, 255, 255, 0.3) 14% 45%, rgba(255, 255, 255, 0.06));
  animation: rise-short 9s linear infinite;
}
.play__b:nth-child(2) { left: 20%; width: 14px; height: 14px; animation-delay: -2s; }
.play__b:nth-child(3) { left: 72%; width: 10px; height: 10px; animation-delay: -5s; animation-duration: 11s; }
.play__b:nth-child(4) { left: 58%; width: 18px; height: 18px; animation-delay: -7s; animation-duration: 13s; }
.play__text { padding: clamp(1.4rem, 4vw, 2.2rem); display: flex; flex-direction: column; align-items: flex-start; gap: 0.45rem; }
.play__eyebrow { font: 800 0.8rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--deep-ink); }
.play__title { font: 600 clamp(2rem, 5vw, 2.8rem)/1.05 var(--font-display); }
.play__desc { font-size: 1.1rem; }
.play__note { font-size: 0.95rem; color: var(--navy-soft); }
.play__btn { margin-top: 0.6rem; }
@media (min-width: 860px) {
  .play__card { grid-template-columns: 1.1fr 1fr; }
  .play__scene { min-height: 340px; }
  .play__text { justify-content: center; }
}
.is-still .play__ellie, .is-still .play__b { animation-play-state: paused !important; }

/* leave the middle of the hero open so Ellie swims in plain view */
.hero { place-items: stretch; padding-top: 84px; padding-bottom: 76px; }
.hero__inner {
  width: 100%; max-width: 46rem; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: clamp(9rem, 26vh, 16rem);
}
.hero .acronym { margin: 0; }
@media (min-width: 900px) {
  .hero__panel { max-width: 36rem; padding: 1.1rem 1.6rem 1.3rem; }
  .hero__promise { font-size: 1.9rem; }
  .hero__lede { font-size: 1.08rem; }
}

/* Des 10/2: bubbles + labels a little closer together */
.acronym__row { gap: clamp(0.15rem, 0.8vw, 0.55rem); }
.letter { gap: 0.45rem; }

/* Des 10/2: the four words read as one phrase, right under the bubbles */
.acronym__words {
  display: inline-block;
  margin-top: 0.15rem;
  padding: 0.45em 1.05em;
  border-radius: 999px;
  background: rgba(255, 252, 240, 0.9);
  font: 700 clamp(0.82rem, 2.5vw, 1.08rem)/1.2 var(--font-body);
  letter-spacing: 0.01em;
  color: var(--navy);
  white-space: nowrap;
}
.acronym__words b { font-weight: 900; color: var(--deep-ink); }
.acronym { gap: 0.6rem; }
.letter { gap: 0; }

/* the opening plays at a comfortable size on big screens */
.watch .player { max-width: 820px; margin-inline: auto; }

/* desktop: never zoom Ellie's clip past its own 16:9 frame (it read too big on laptops) */
@media (min-width: 900px) {
  .hero { min-height: min(100svh, 56.25vw, 880px); }
  .hero__inner { gap: clamp(5rem, 18vh, 11rem); }
  .letter__bubble { width: clamp(4.4rem, 11vw, 8.4rem); font-size: clamp(2.6rem, 6.4vw, 5rem); }
}
/* PROJECT: navy with a soft glow so it reads over the bright surface */
.hero .acronym__project { color: var(--navy); text-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 22px rgba(255, 255, 255, 0.8); }
@media (min-width: 900px) {
  .hero { padding-top: 72px; padding-bottom: 60px; }
  .hero__inner { gap: clamp(4rem, 15vh, 11rem); }
  .hero__panel .hero__lede { margin-bottom: 1rem; }
}
@media (max-width: 899px) {
  .hero__inner { gap: clamp(6rem, 20vh, 12rem); }
  .hero { padding-top: 80px; }
}

/* ======================================================================
   10/2 late: Ellie is the background of the WHOLE page (Des: "ellie being
   the background that the whole page swipes over is the move"). The clip
   stays fixed; every section floats over her as a soft cream panel.
   ====================================================================== */
body { background: #0B9CCB; }
.ocean { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.ocean__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ocean__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.04) 26%, rgba(2, 120, 170, 0.06) 100%);
}
.topbar, main, .footer { position: relative; z-index: 1; }
.topbar { position: absolute; z-index: 5; }

/* the hero is just open water now */
.hero { background: transparent; }

/* sections float as panels, with Ellie swimming in the gaps */
.section, .meet__shore, .meet__water, .world, .updates { background: transparent; }
.section { padding: clamp(1.4rem, 4vw, 2.6rem) 0; }
.watch > .wrap, .world > .wrap, .learn > .wrap, .tribute > .wrap, .shop > .wrap, .follow > .wrap {
  background: rgba(255, 252, 240, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -40px rgba(2, 60, 100, 0.7);
  padding: clamp(1.6rem, 5vw, 3.4rem) clamp(1rem, 4vw, 3rem);
}
.watch > .wrap .player { box-shadow: 0 20px 40px -28px rgba(46, 50, 83, 0.6); }
.story, .tribute, .follow, .play { padding-top: clamp(1.4rem, 4vw, 2.6rem); }
.learn .try { background: linear-gradient(140deg, #FFEDE6 0%, #FDE1D7 100%); }

/* meet: both cards float over Ellie; the heading gets its own little panel */
.meet__shore { padding: clamp(1.4rem, 4vw, 2.6rem) 0 0; }
.meet__water { padding: clamp(1.2rem, 3vw, 2rem) 0 clamp(1.4rem, 4vw, 2.6rem); }
.card--cleo { margin-bottom: 0; }
.meet .section__head {
  background: rgba(255, 252, 240, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 30px 60px -40px rgba(2, 60, 100, 0.7);
}
@media (min-width: 900px) {
  .meet__shore .section__head { margin: 0 0 3rem; }
  .card--ellie { margin-top: 0; }
  .family { margin-top: 3rem; }
}
.footer { margin-top: clamp(1.4rem, 4vw, 2.6rem); }

/* the four words: no pill, they stand on their own */
.acronym__words {
  background: none; padding: 0; border-radius: 0;
  font: 800 clamp(0.92rem, 2.7vw, 1.25rem)/1.2 var(--font-body);
  letter-spacing: 0.035em;
  color: var(--navy);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.95), 0 0 18px rgba(255, 255, 255, 0.85), 0 0 30px rgba(255, 255, 255, 0.6);
}
.acronym__words b { color: var(--deep-ink); font-weight: 900; }

/* Cleo's little bubble: always there, bottom-left; tap = play */
.cleo-bubble {
  position: fixed; left: 14px; bottom: 14px; z-index: 20;
  width: 68px; height: 68px; border-radius: 50%;
  animation: cleobob 6s ease-in-out infinite;
}
.cleo-bubble img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(14, 192, 219, 0.55), 0 14px 26px -12px rgba(2, 60, 100, 0.7);
}
.cleo-bubble::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.6) 0 9%, rgba(255, 255, 255, 0) 30%);
}
.cleo-bubble__say {
  position: absolute; left: calc(100% + 10px); bottom: 14px;
  padding: 0.45rem 0.8rem; border-radius: 16px 16px 16px 4px;
  background: var(--card); color: var(--navy);
  font: 600 0.95rem/1 var(--font-display); white-space: nowrap;
  box-shadow: 0 10px 20px -12px rgba(2, 60, 100, 0.6);
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cleo-bubble:hover .cleo-bubble__say, .cleo-bubble:focus-visible .cleo-bubble__say { opacity: 1; transform: none; }
.cleo-bubble:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes cleobob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (min-width: 900px) { .cleo-bubble { width: 84px; height: 84px; left: 20px; bottom: 20px; } }

/* sound + motion: always reachable, bottom-right */
.dock { position: fixed; right: 12px; bottom: 14px; z-index: 20; display: flex; gap: 8px; }
.dock .calm-toggle { position: static; }
@media (min-width: 900px) { .dock { right: 20px; bottom: 22px; } }
@media (max-width: 599px) {
  .dock .calm-toggle { width: 46px; padding: 0; justify-content: center; }
  .dock .calm-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.is-still .cleo-bubble { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .cleo-bubble { animation: none; } }

/* the plush, redrawn long + realistic (Des 10/2: "not too round but more realistic") */
.plush { width: 270px; }
.plush__shadow { fill: rgba(46, 50, 83, 0.14); }
@media (max-width: 599px) { .cleo-bubble { width: 58px; height: 58px; left: 10px; bottom: 12px; } }
.plush__spots path { fill: var(--spots); }

/* 10/2 copy pass: Cleo's dreams, the family line, the bubble that says hi once */
.dreams__label { margin: 1rem 0 0.45rem; font: 800 0.78rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--deep-ink); }
.dreams { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.dreams li {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.38rem 0.85rem; border-radius: 999px;
  background: #FFF1EC; border: 1.5px solid var(--blush);
  font: 600 0.95rem/1.2 var(--font-display); color: var(--navy);
}
.dreams li::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 32% 30%, #fff 0 18%, var(--blush) 60%, var(--coral) 100%);
}
.family__heart { margin: 0.2rem 0 0.9rem; font: 600 1.12rem/1.3 var(--font-display); color: var(--deep-ink); }
.footer__love { font: 500 1.1rem/1.4 var(--font-display); }
.cleo-bubble.is-saying .cleo-bubble__say { opacity: 1; transform: none; }

/* ======================================================================
   10/2 balance pass (Des: "the balancing of the text bubbles... seems a
   little wonky"): every panel shares one width and edge; content inside
   is centered and evened out.
   ====================================================================== */
.meet > .wrap, .story > .wrap, .updates > .wrap { width: min(1120px, 100% - 32px); }
.meet > .wrap {
  background: rgba(255, 252, 240, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -40px rgba(2, 60, 100, 0.7);
  padding: clamp(1.6rem, 5vw, 3.4rem) clamp(1rem, 4vw, 3rem);
}
.meet .section__head {
  text-align: center; margin: 0 auto clamp(1.6rem, 4vw, 2.6rem);
  background: none; border: 0; box-shadow: none; padding: 0;
}
.meet__grid { display: grid; gap: 1.4rem; }
.meet .card {
  max-width: none; margin: 0;
  background: #fff;
  display: flex; flex-direction: column;
  box-shadow: 0 18px 36px -26px rgba(46, 50, 83, 0.45);
}
.meet .card__body { flex: 1; }
.meet .family {
  margin: 1.4rem auto 0; max-width: 48rem;
  text-align: center;
  background: #E8F7FB; border: 0; border-radius: var(--radius);
  padding: 1.3rem 1.6rem;
}
@media (min-width: 860px) { .meet__grid { grid-template-columns: 1fr 1fr; } }

/* story + updates: same outer panel width, a comfortable reading column inside */
.story__card > *, .updates__card > * { max-width: 42rem; margin-left: auto; margin-right: auto; }
.story__quote { max-width: 40rem; }
.updates__card .signup { max-width: 42rem; }

/* watch: the four promises in a tidy grid instead of a ragged wrap */
.calm-list { display: grid; grid-template-columns: 1fr; gap: 0.55rem; max-width: 820px; margin: 1.4rem auto 0; }
.calm-list li { justify-content: center; text-align: center; }
@media (min-width: 600px) { .calm-list { grid-template-columns: 1fr 1fr; } }

/* the world: the picture on top, the four places as an even 2x2 */
.world__grid { grid-template-columns: 1fr !important; gap: 1.6rem; }
.studio { max-width: 820px; margin: 0 auto; }
.studio figcaption { text-align: center; margin-left: auto; margin-right: auto; }
.places { grid-template-columns: 1fr; }
@media (min-width: 700px) { .places { grid-template-columns: 1fr 1fr; } }

/* learn: the try-this card spans the panel like everything else */
.learn .try { max-width: none; }
.learn .try p:last-child { max-width: 52ch; }
.meet .card, .meet .family { grid-area: auto; justify-self: stretch; }
.story__card h2, .updates__card h2 { text-align: center; }
.updates__card > p:first-of-type { text-align: center; }
.story__sign { text-align: center; }
@media (max-width: 599px) {
  .calm-list li { font-size: 0.86rem; padding: 0.5rem 0.75rem; white-space: nowrap; }
  .dreams li { font-size: 0.9rem; }
}

/* 10/2: the hero is just CLEO + Ellie now; the intro lives with the opening */
.hero__inner { justify-content: space-between; }
.dive {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.1rem;
  color: var(--navy); text-decoration: none;
  font: 600 1.05rem/1 var(--font-display);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.95), 0 0 18px rgba(255, 255, 255, 0.8);
  padding: 0.6rem 1rem; min-height: 44px;
}
.dive__arrow { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.95)); animation: dive 2.8s ease-in-out infinite; }
@keyframes dive { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.is-still .dive__arrow { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .dive__arrow { animation: none; } }

.watch__head { max-width: 46rem; }
.watch__head h2 { font-size: clamp(2rem, 5vw, 3rem); }
.watch__head p { margin-bottom: 0.8rem; }
.watch__calm { font-size: 1.08rem !important; color: var(--navy) !important; }
.watch__label { text-align: center; margin: 0 0 0.8rem; font: 800 0.8rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--deep-ink); }
.watch__ages { text-align: center; margin: 1.1rem 0 0; font: 500 1.15rem/1.35 var(--font-display); color: var(--deep-ink); }
.watch__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.4rem; }

/* ======================================================================
   10/2: a much bigger CLEO, and the bubbles drift down into place on load
   (Des: "the whole heading can be a lot bigger, with the bubbles falling
   down to reveal cleo"). Slow and soft; once; off for reduced motion.
   ====================================================================== */
.hero .acronym__project { font-size: clamp(1.1rem, 3.2vw, 2.1rem); letter-spacing: 0.5em; padding-left: 0.5em; }
.hero .acronym__row { gap: clamp(0.25rem, 1vw, 0.9rem); }
.hero .letter__bubble {
  width: clamp(4.6rem, 21vw, 12.5rem);
  font-size: clamp(2.9rem, 13vw, 7.6rem);
  border-width: 3px;
}
@media (min-width: 900px) {
  .hero .letter__bubble { width: clamp(6rem, 13vw, 12.5rem); font-size: clamp(3.6rem, 8vw, 7.6rem); }
}
.hero .acronym__words { font-size: clamp(1rem, 3vw, 1.55rem); }

.hero .letter { animation: bubblefall 2.1s cubic-bezier(0.22, 0.75, 0.3, 1) both; }
.hero .letter:nth-child(1) { animation-delay: 0.15s; }
.hero .letter:nth-child(2) { animation-delay: 0.5s; }
.hero .letter:nth-child(3) { animation-delay: 0.85s; }
.hero .letter:nth-child(4) { animation-delay: 1.2s; }
@keyframes bubblefall {
  0%   { transform: translateY(-75vh) scale(0.85); opacity: 0; }
  35%  { opacity: 1; }
  78%  { transform: translateY(12px) scale(1.02); }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.is-still .hero .letter { animation: none; }
@media (prefers-reduced-motion: reduce) { .hero .letter { animation: none; } }

/* ======================================================================
   10/2 final type + spacing pass. ONE scale for the whole page:
   title 3rem · card title 1.75rem · item title 1.3rem · lead 1.15rem ·
   body 1.0625rem · small 0.95rem · fine 0.9rem · label 0.8rem caps ·
   accent (Fredoka 500) 1.15rem · pull (Fredoka 500) 1.5rem
   ====================================================================== */
:root {
  --t-title: clamp(2rem, 4.4vw, 3rem);
  --t-card: clamp(1.45rem, 2.4vw, 1.75rem);
  --t-item: 1.3rem;
  --t-lead: clamp(1.05rem, 1.6vw, 1.15rem);
  --t-body: 1.0625rem;
  --t-small: 0.95rem;
  --t-fine: 0.9rem;
  --t-label: 0.8rem;
  --t-accent: 1.15rem;
  --t-pull: clamp(1.3rem, 2.6vw, 1.5rem);
  --space-head: clamp(1.6rem, 4vw, 2.4rem);
  --panel-pad: clamp(1.6rem, 5vw, 3.2rem) clamp(1.1rem, 4vw, 3rem);
}
h1, h2, h3, .play__title, .story__quote, .learn__close, .tribute__lead, .watch__ages, .family__heart { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }

/* titles */
.section h2, .play__title { font-size: var(--t-title); line-height: 1.08; letter-spacing: -0.01em; }
.watch__head h2 { font-size: var(--t-title); }
/* card titles + item titles */
.card__body h3, .product__body h3, .try h3 { font-size: var(--t-card); line-height: 1.12; }
.place h3, .step h3 { font-size: var(--t-item); line-height: 1.2; }
/* lead (every section intro) */
.section__head p, .watch__calm, .updates__card > p, .play__desc, .story__card p {
  font-size: var(--t-lead) !important; line-height: 1.65; color: var(--navy-soft);
}
.watch__calm, .story__card p { color: var(--navy) !important; }
/* body */
.card__body p, .place p, .step p, .try p, .product__body p, .family p, .tribute__facts li, .studio figcaption, .check, .social { font-size: var(--t-body); line-height: 1.6; }
/* small */
.card__meta, .calm-list li, .dreams li, .field span, .play__note, .family__rule, .tribute__note { font-size: var(--t-small); }
/* fine print */
.player__caption, .signup__fine, .tribute__sources, .footer__copy { font-size: var(--t-fine); }
/* labels (all the little caps) */
.dreams__label, .try__eyebrow, .play__eyebrow, .watch__label {
  font: 800 var(--t-label)/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--deep-ink);
}
.chip { font-size: 0.78rem; }
/* warm accent lines */
.watch__ages, .family__heart, .story__sign, .footer__love {
  font: 500 var(--t-accent)/1.35 var(--font-display); color: var(--deep-ink);
}
.footer__love { color: var(--sun); }
/* pull lines */
.learn__close, .tribute__lead { font: 500 var(--t-pull)/1.3 var(--font-display); }
.story__quote { font-size: clamp(1.4rem, 3.2vw, 1.9rem); }

/* spacing: one rhythm everywhere */
.section__head { margin-bottom: var(--space-head); }
.section__head h2 { margin-bottom: 0.45em; }
.story__card, .updates__card { padding: var(--panel-pad); }
.watch > .wrap, .world > .wrap, .learn > .wrap, .tribute > .wrap, .shop > .wrap, .follow > .wrap, .meet > .wrap { padding: var(--panel-pad); }
.story__card h2, .updates__card h2 { margin-bottom: var(--space-head); }
.play__text { gap: 0.6rem; }
.card__body { padding: 1.4rem 1.6rem 1.7rem; }
.card__meta { margin-bottom: 0.8rem; }
.dreams__label { margin: 1.1rem 0 0.55rem; }
.learn__close { margin-top: 2.2rem; }
.learn .try { margin-top: 2.2rem; }
.watch__label { margin-bottom: 0.9rem; }
.watch__ages { margin-top: 1.3rem; }
.tribute__note { margin-top: 1.4rem; }

/* the bubbles float down together, each from its own height, with a soft sway */
.hero .letter { animation: bubblefloat var(--dur, 2.8s) cubic-bezier(0.2, 0.7, 0.25, 1) both; animation-delay: 0.2s; }
.hero .letter:nth-child(1) { --from: -58vh; --sway: 14px; --dur: 2.6s; animation-delay: 0.2s; }
.hero .letter:nth-child(2) { --from: -88vh; --sway: -12px; --dur: 3.1s; animation-delay: 0.2s; }
.hero .letter:nth-child(3) { --from: -42vh; --sway: 10px; --dur: 2.4s; animation-delay: 0.2s; }
.hero .letter:nth-child(4) { --from: -72vh; --sway: -14px; --dur: 2.9s; animation-delay: 0.2s; }
@keyframes bubblefloat {
  0%   { transform: translate(0, var(--from)) scale(0.9); opacity: 0; }
  30%  { opacity: 1; transform: translate(var(--sway), calc(var(--from) * 0.62)) scale(0.95); }
  60%  { transform: translate(calc(var(--sway) * -0.6), calc(var(--from) * 0.18)) scale(1); }
  82%  { transform: translate(calc(var(--sway) * 0.25), 8px) scale(1.01); }
  100% { transform: translate(0, 0) scale(1); opacity: 1; }
}
.is-still .hero .letter { animation: none; }
@media (prefers-reduced-motion: reduce) { .hero .letter { animation: none; } }
.card__body .card__meta { font-size: var(--t-small); }
.card__body .dreams__label, .try .try__eyebrow { font-size: var(--t-label); line-height: 1; }
.family .family__heart { font: 500 var(--t-accent)/1.35 var(--font-display); color: var(--deep-ink); }
.family .family__rule { font-size: var(--t-small); }
.story__card .story__sign { font: 500 var(--t-accent)/1.35 var(--font-display) !important; color: var(--deep-ink) !important; }
@media (max-width: 599px) {
  .dreams li { font-size: 0.86rem; padding: 0.34rem 0.72rem; white-space: nowrap; }
}

/* smooth + flowy (Des: "the bubbles fall kinda jenky"): the fall, the sway and the
   fade are three separate single-curve animations, so speed never stops and starts */
.hero .letter {
  will-change: transform, translate, opacity;
  animation:
    cleofall var(--dur) cubic-bezier(0.33, 1, 0.68, 1) 0.15s both,
    cleosway var(--half) ease-in-out 0.15s 2 alternate both,
    cleofade 1.2s ease-out 0.15s both;
}
.hero .letter:nth-child(1) { --from: -60vh; --sway: 16px;  --dur: 3.2s; --half: 1.6s; }
.hero .letter:nth-child(2) { --from: -90vh; --sway: -14px; --dur: 3.6s; --half: 1.8s; }
.hero .letter:nth-child(3) { --from: -45vh; --sway: 12px;  --dur: 3s;   --half: 1.5s; }
.hero .letter:nth-child(4) { --from: -75vh; --sway: -16px; --dur: 3.4s; --half: 1.7s; }
@keyframes cleofall { from { transform: translateY(var(--from)); } to { transform: translateY(0); } }
@keyframes cleosway { from { translate: 0 0; } to { translate: var(--sway) 0; } }
@keyframes cleofade { from { opacity: 0; } to { opacity: 1; } }
.is-still .hero .letter { animation: none; }
@media (prefers-reduced-motion: reduce) { .hero .letter { animation: none; } }
