/* ==========================================================================
   WE CREATE WONDER  |  Design system + page styles
   --------------------------------------------------------------------------
   Contents
   1. Fonts (self-hosted, no third-party requests)
   2. Design tokens: color, type, space, radius, motion
   3. Base + accessibility helpers
   4. Components: buttons, eyebrow, section heads, stickers
   5. Header / nav
   6. Hero
   7. Wonder World cards
   8. Featured series
   9. Catch a Little Wonder
   10. For Grown-ups
   11. Our Story
   12. Footer
   13. Reveal + reduced motion
   ========================================================================== */

/* 1. FONTS --------------------------------------------------------------- */
/* Nunito matches the lettering in the We Create Wonder logo.
   Weights 500 to 700 render with the ExtraBold file, 800 and up with Black. */
@font-face { font-family: "Nunito"; font-weight: 500 700; font-display: swap; src: url("assets/fonts/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800 1000; font-display: swap; src: url("assets/fonts/nunito-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url("assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url("assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url("assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }

/* 2. TOKENS -------------------------------------------------------------- */
:root {
  /* Night sky (drawn from the Fizz artwork) */
  --night-950: #10022a;
  --night-900: #170433;
  --night-800: #1d0640;
  --night-700: #2c0b5c;
  --night-600: #3d1678;

  /* Wonder brights (WCT brand family + Fizz purples) */
  --purple-500: #7b3fe4;
  --purple-300: #b58cff;
  --teal-500: #13aba6;   /* WCT Blue */
  --teal-700: #0a6f6b;   /* text-safe teal on cream */
  --gold-400: #fab40b;   /* WCT Gold */
  --gold-200: #ffd977;
  --pink-500: #f11684;   /* WCT Razzmatazz */
  --pink-700: #b80c62;
  --orange-500: #f1421b; /* WCT Orange-Red */
  --brown-500: #6e4e42;  /* WCT Brown */

  /* Daylight neutrals */
  --cream: #faf6f1;
  --cream-2: #f2e9dc;
  --ink: #2a1238;        /* body text on light backgrounds */
  --ink-soft: #55406a;
  --white: #ffffff;

  /* Type */
  --font-display: "Nunito", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.6rem, 1.6rem + 5.4vw, 5.6rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.8vw, 3.4rem);
  --fs-h3: clamp(1.4rem, 1.2rem + .8vw, 1.8rem);
  --fs-lede: clamp(1.08rem, 1rem + .4vw, 1.3rem);

  /* Space + shape */
  --space-section: clamp(5rem, 3rem + 8vw, 9rem);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --container: 1180px;

  /* Motion rules
     - Quick feedback (press, hover): 180 to 260ms, --ease-pop
     - Entrances: 600 to 900ms, --ease-soft, staggered 60 to 90ms
     - Ambient loops: 6s or slower, small amplitude, never flashing */
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --ease-soft: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 220ms;
  --dur-med: 700ms;

  --shadow-pop: 0 6px 0 rgba(42, 18, 56, .22);
  --shadow-soft: 0 20px 50px -20px rgba(42, 18, 56, .35);
}

/* 3. BASE ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 900; line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: var(--space-section); position: relative; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--gold-400); color: var(--ink); font-weight: 700;
  padding: .75rem 1.1rem; border-radius: var(--radius-sm); text-decoration: none;
  transition: top var(--dur-fast) var(--ease-soft);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 8px;
}
.section-light :focus-visible, .world :focus-visible, .catch :focus-visible, .grownups :focus-visible {
  outline-color: var(--purple-500);
}

/* 4. COMPONENTS ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; font-size: .85rem;
  color: var(--teal-700); margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.eyebrow-light { color: var(--gold-200); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-title { font-size: var(--fs-h2); font-weight: 900; color: var(--ink); }
.section-title.light { color: var(--white); }
.section-lede { font-size: var(--fs-lede); color: var(--ink-soft); margin-top: 1rem; }

/* Buttons: chunky, toy-like, with a pressable 3D base */
.btn {
  --btn-bg: var(--gold-400); --btn-fg: var(--ink); --btn-base: #c98a00;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 0; border-radius: 999px; text-decoration: none; cursor: pointer;
  box-shadow: 0 5px 0 var(--btn-base), 0 12px 24px -10px rgba(0,0,0,.4);
  transition: transform var(--dur-fast) var(--ease-pop), box-shadow var(--dur-fast) var(--ease-pop), background var(--dur-fast);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 8px 0 var(--btn-base), 0 18px 30px -12px rgba(0,0,0,.45); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--btn-base), 0 6px 12px -8px rgba(0,0,0,.4); }
.btn-lg { min-height: 60px; padding: 1rem 1.7rem; font-size: 1.15rem; }
.btn-gold:hover svg { animation: spin-pop .7s var(--ease-pop); }
.btn-ghost {
  --btn-bg: rgba(255,255,255,.1); --btn-fg: var(--white); --btn-base: rgba(255,255,255,.22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), 0 5px 0 var(--btn-base);
}
.btn-ghost:hover { --btn-bg: rgba(255,255,255,.18); box-shadow: inset 0 0 0 2px #fff, 0 8px 0 var(--btn-base); }
.btn-teal { --btn-bg: var(--teal-700); --btn-fg: var(--white); --btn-base: #064a47; }
.btn-cream { --btn-bg: var(--cream); --btn-fg: var(--brown-500); --btn-base: #cdbba6; }
.btn-youtube { --btn-bg: #e62117; --btn-fg: var(--white); --btn-base: #9b120b; flex-wrap: wrap; }
.btn-youtube svg { width: 1.6em; }
.btn-youtube svg rect { fill: var(--white); }
.btn-youtube svg path { fill: #e62117; }
.btn .btn-note { display: none; }
.btn.is-placeholder { cursor: default; opacity: .92; }
.btn.is-placeholder .btn-note {
  display: inline-block; font-family: var(--font-body); font-weight: 500; font-size: .78rem;
  background: rgba(255,255,255,.2); padding: .3rem .55rem; border-radius: 999px;
}
.btn.is-placeholder:hover { transform: none; }

.sticker {
  display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px;
  background: var(--ink); color: var(--gold-200);
  transform: rotate(-3deg); margin-bottom: .6rem;
}
[data-status="live"] .sticker { display: none; }

kbd {
  font-family: var(--font-body); font-size: .85em; font-weight: 700;
  padding: .1rem .45rem; border-radius: 6px; background: var(--white);
  box-shadow: 0 2px 0 rgba(42,18,56,.25);
}

/* 5. HEADER / NAV -------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: .8rem;
  transition: background var(--dur-med) var(--ease-soft), padding var(--dur-med) var(--ease-soft), box-shadow var(--dur-med);
}
.site-header.is-scrolled {
  background: rgba(23, 4, 51, .82);
  backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  padding-block: .45rem; box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
}
.nav-wrap { width: min(100% - 2rem, 1280px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--white); }
.brand-spark { width: 38px; height: 38px; fill: var(--gold-400); filter: drop-shadow(0 0 10px rgba(250,180,11,.55)); transition: transform .6s var(--ease-pop); }
.brand:hover .brand-spark { transform: rotate(180deg) scale(1.1); }
.brand-text { display: flex; flex-direction: column; line-height: .95; font-family: var(--font-display); }
.brand-small { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-200); }
.brand-big { font-size: 1.6rem; font-weight: 700; letter-spacing: .01em; }

.nav-toggle {
  width: 48px; height: 48px; border-radius: 16px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); display: grid; place-items: center;
}
.nav-toggle-bars { display: grid; gap: 5px; }
.nav-toggle-bars span { display: block; width: 22px; height: 3px; border-radius: 3px; background: var(--white); transition: transform var(--dur-fast) var(--ease-soft), opacity var(--dur-fast); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.primary-nav {
  position: absolute; top: calc(100% + .4rem); left: 1rem; right: 1rem;
  background: var(--night-800); border-radius: var(--radius-md);
  padding: 1rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  display: none;
}
.primary-nav.is-open { display: block; animation: drop-in .35s var(--ease-pop); }
.no-js .primary-nav { display: block; position: static; background: none; box-shadow: none; }
.primary-nav ul { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: .25rem; }
.primary-nav a {
  display: block; padding: .85rem 1rem; border-radius: 14px;
  color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
}
.primary-nav a:hover { background: rgba(255,255,255,.08); color: var(--gold-200); }

.motion-toggle {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  background: rgba(255,255,255,.1); color: var(--white); border: 0; border-radius: 999px;
  padding: .6rem 1rem; min-height: 44px; font: 500 .9rem var(--font-body);
}
.motion-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.motion-toggle .icon-play { display: none; }
.motion-toggle[aria-pressed="true"] .icon-pause { display: none; }
.motion-toggle[aria-pressed="true"] .icon-play { display: block; }
.motion-toggle:hover { background: rgba(255,255,255,.18); }

@media (min-width: 1180px) {
  .nav-toggle { display: none; }
  .primary-nav, .no-js .primary-nav {
    position: static; display: flex; align-items: center; gap: .5rem;
    background: none; box-shadow: none; padding: 0;
  }
  .primary-nav ul { display: flex; margin: 0; gap: .1rem; }
  .primary-nav a { font-size: 1rem; padding: .6rem .85rem; position: relative; }
  .primary-nav a::after {
    content: ""; position: absolute; left: 50%; bottom: .25rem; width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold-400); transform: translateX(-50%) scale(0); transition: transform var(--dur-fast) var(--ease-pop);
  }
  .primary-nav a:hover { background: none; }
  .primary-nav a:hover::after, .primary-nav a.is-current::after { transform: translateX(-50%) scale(1); }
  .motion-toggle { margin-left: .5rem; }
}

/* 6. HERO ---------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column;
  color: var(--white);
  background:
    radial-gradient(120% 70% at 80% 10%, #4a1a8c 0%, transparent 55%),
    radial-gradient(90% 60% at 10% 90%, #7a1f6e 0%, transparent 60%),
    linear-gradient(180deg, var(--night-950) 0%, var(--night-800) 45%, #3a0e63 100%);
}
.hero-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.parallax { position: absolute; inset: 0; will-change: transform; }
.hero-portal.parallax { position: relative; inset: auto; }

/* Stars are injected by script.js */
.stars { position: absolute; inset: 0; pointer-events: none; }
.star {
  position: absolute; width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%;
  background: #fff; opacity: .2; box-shadow: 0 0 6px rgba(255,255,255,.8);
  animation: twinkle var(--d, 4s) ease-in-out var(--delay, 0s) infinite;
}
.star.sparkly { width: auto; height: auto; background: none; box-shadow: none; color: var(--gold-200); font-size: var(--s); line-height: 1; }
.star.sparkly::before { content: "✦"; }

.aurora {
  position: absolute; inset: -20% -10% auto; height: 70%;
  background: conic-gradient(from 200deg at 50% 50%, transparent, rgba(19,171,166,.25), transparent 30%, rgba(241,22,132,.18), transparent 60%);
  filter: blur(60px); opacity: .8; animation: aurora 22s ease-in-out infinite alternate;
}

.cloud { position: absolute; fill: rgba(206, 180, 255, .16); animation: cloud-drift linear infinite; }
.cloud-1 { width: 260px; top: 14%; animation-duration: 70s; animation-delay: -10s; }
.cloud-2 { width: 180px; top: 36%; animation-duration: 95s; animation-delay: -55s; fill: rgba(255,255,255,.1); }
.cloud-3 { width: 340px; top: 58%; animation-duration: 120s; animation-delay: -30s; fill: rgba(255, 190, 230, .1); }

.drift { position: absolute; animation: bob 7s ease-in-out infinite; filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }
.drift-a { width: 44px; top: 20%; left: 8%; animation-duration: 6s; }
.drift-b { width: 30px; top: 70%; left: 4%; animation-duration: 8s; animation-delay: -2s; }
.drift-c { width: 34px; top: 12%; left: 62%; animation-duration: 9s; animation-delay: -4s; }
.drift-d { width: 70px; top: 30%; left: 88%; animation-duration: 10s; }
.drift-e { width: 32px; top: 62%; left: 52%; animation-duration: 7.5s; animation-delay: -3s; }
.drift-f { width: 26px; top: 48%; left: 94%; animation-duration: 6.5s; animation-delay: -1s; }

.sparkle-canvas { position: absolute; inset: 0; z-index: 2; pointer-events: none; width: 100%; height: 100%; }

.hero-inner {
  position: relative; z-index: 3; flex: 1;
  width: min(100% - 2.5rem, var(--container)); margin-inline: auto;
  display: grid; align-items: center; gap: 2rem;
  padding-top: 7rem; padding-bottom: clamp(9rem, 16vw, 15rem);
}
.hero-copy { text-align: center; position: relative; z-index: 2; }
.hero-eyebrow span { display: inline-block; }
.hero-title { font-size: var(--fs-hero); font-weight: 900; text-wrap: balance; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.hero-title .hl { color: var(--gold-400); position: relative; white-space: nowrap; }
.hero-title .word { display: inline-block; white-space: nowrap; }
.hero-title .char { display: inline-block; }
.js .hero-title .char {
  opacity: 0; transform: translateY(.7em) rotate(var(--r, 0deg)) scale(.5);
  animation: letter-in .9s var(--ease-pop) forwards;
  animation-delay: calc(var(--i) * 32ms + 250ms);
}
.hero-lede {
  font-size: var(--fs-lede); max-width: 34rem; margin: 1.4rem auto 2rem; color: rgba(255,255,255,.88);
}
.js .hero-lede, .js .hero-ctas, .js .hero-eyebrow { opacity: 0; animation: rise-in .9s var(--ease-soft) forwards; }
.js .hero-eyebrow { animation-delay: .1s; }
.js .hero-lede { animation-delay: 1.3s; }
.js .hero-ctas { animation-delay: 1.5s; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.hero-portal { justify-self: center; width: min(72vw, 460px); position: relative; z-index: 1; }
.portal { position: relative; aspect-ratio: 1; animation: float 7s ease-in-out infinite; }
.js .portal { opacity: 0; animation: portal-in 1.4s var(--ease-pop) .6s forwards, float 7s ease-in-out 2s infinite; }
.portal-glow {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #3b0f6e 0%, #1f053f 62%, #170433 100%);
  box-shadow: 0 0 0 10px rgba(255,217,119,.08), 0 0 80px 10px rgba(181,140,255,.35), inset 0 0 60px rgba(250,180,11,.15);
}
.portal-ring { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.portal-art {
  position: absolute; left: 50%; top: 52%; width: 120%; max-width: none; transform: translate(-50%, -50%);
  -webkit-mask-image: radial-gradient(circle closest-side at 50% 50%, #000 66%, transparent 96%);
  mask-image: radial-gradient(circle closest-side at 50% 50%, #000 66%, transparent 96%);
}
.orbit { position: absolute; inset: -4%; animation: spin 24s linear infinite; }
.orbit-dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; }
.o1 { top: 0; left: 50%; background: var(--gold-400); box-shadow: 0 0 16px var(--gold-400); }
.o2 { bottom: 12%; left: 4%; background: var(--teal-500); width: 14px; height: 14px; }
.o3 { bottom: 10%; right: 6%; background: var(--pink-500); width: 12px; height: 12px; }

.hills { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(140px, 22vw, 260px); z-index: 4; pointer-events: none; }
.hills .parallax { inset: 0; }
.hill { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.hill-back path { fill: #4b1d8a; }
.hill-mid path { fill: #8a3fb8; opacity: .85; }
.hill-front path { fill: var(--cream); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.4rem; z-index: 5; transform: translateX(-50%);
  width: 34px; height: 54px; border-radius: 20px; border: 3px solid var(--ink); opacity: .7;
}
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 6px; height: 10px; margin-left: -3px; border-radius: 3px; background: var(--ink); animation: scroll-cue 2s ease-in-out infinite; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 3rem; padding-top: 8rem; }
  .hero-copy { text-align: left; }
  .hero-lede { margin-left: 0; }
  .hero-ctas { justify-content: flex-start; }
}

/* 7. WONDER WORLD -------------------------------------------------------- */
.world {
  background:
    radial-gradient(circle at 12% 20%, rgba(19,171,166,.12) 0 90px, transparent 91px),
    radial-gradient(circle at 92% 70%, rgba(241,22,132,.1) 0 120px, transparent 121px),
    var(--cream);
  padding-top: clamp(3rem, 6vw, 6rem);
}
.exp-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .exp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .exp-grid { grid-template-columns: repeat(4, 1fr); } }

.exp {
  --tone: var(--pink-500); --tone-soft: #ffe0ef; --tilt: -1.5deg;
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1rem 1rem 1.6rem;
  box-shadow: 0 8px 0 var(--tone), var(--shadow-soft);
  transform: rotate(var(--tilt));
  transition: transform .45s var(--ease-pop), box-shadow .45s var(--ease-pop);
}
.exp:nth-child(even) { --tilt: 1.5deg; }
.exp-play { --tone: var(--teal-500); --tone-soft: #d6f5f3; }
.exp-listen { --tone: var(--gold-400); --tone-soft: #fff1c9; }
.exp-create { --tone: var(--purple-500); --tone-soft: #ece2ff; }
.exp:hover, .exp:focus-within, .exp.is-awake {
  transform: rotate(0) translateY(-8px);
  box-shadow: 0 14px 0 var(--tone), 0 30px 60px -25px rgba(42,18,56,.45);
}
.exp-stage {
  aspect-ratio: 16 / 12; display: grid; place-items: center;
  background: var(--tone-soft);
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  margin-bottom: 1.1rem; overflow: hidden;
  transition: border-radius 1s var(--ease-soft);
}
.exp:hover .exp-stage, .exp.is-awake .exp-stage { border-radius: 58% 42% 54% 46% / 44% 56% 44% 56%; }
.exp-art { width: 74%; overflow: visible; }
.exp-body { padding-inline: .5rem; }
.exp h3 { font-size: var(--fs-h3); margin-bottom: .35rem; }
.exp p { color: var(--ink-soft); margin-bottom: .8rem; }
.exp-link {
  font-weight: 700; color: var(--teal-700); text-decoration: none;
  display: inline-flex; gap: .35rem; align-items: center; padding-block: .3rem;
}
.exp-link span { transition: transform var(--dur-fast) var(--ease-pop); }
.exp-link:hover span { transform: translateX(5px); }
.exp-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card clickable */

/* Card art animations: paused until the card is hovered, focused, or awake (in view on touch). */
.exp-art * { animation-play-state: paused; transform-box: fill-box; transform-origin: center; }
.exp:hover .exp-art *, .exp:focus-within .exp-art *, .exp.is-awake .exp-art * { animation-play-state: running; }
.art-watch .antenna { animation: wiggle 1.2s ease-in-out infinite; transform-origin: 50% 100%; }
.art-watch .play { animation: pulse 1.2s var(--ease-pop) infinite; }
.art-watch .screen { animation: screen-glow 2.4s ease-in-out infinite; }
.tw { animation: twinkle-scale 1.6s ease-in-out infinite; }
.tw.t2 { animation-delay: -.8s; }
.art-play .blk { animation: hop 1.2s var(--ease-pop) infinite; }
.art-play .b2 { animation-delay: .15s; } .art-play .b3 { animation-delay: .3s; }
.art-play .ball { animation: bounce 0.9s cubic-bezier(.5,0,.5,1) infinite alternate; }
.art-play .star-pop { animation: spin 3s linear infinite; }
.art-listen .bar { animation: eq 1s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.art-listen .r2 { animation-delay: -.3s; } .art-listen .r3 { animation-delay: -.6s; } .art-listen .r4 { animation-delay: -.15s; }
.art-listen .note { animation: note-rise 2.4s ease-in-out infinite; }
.art-listen .n2 { animation-delay: -1.2s; }
.art-create .draw-star { stroke-dasharray: 100; stroke-dashoffset: 0; animation: draw 2.6s ease-in-out infinite; }
.art-create .pencil { animation: doodle 2.6s ease-in-out infinite; }

/* 8. FEATURED SERIES ----------------------------------------------------- */
.series {
  background:
    radial-gradient(60% 55% at 75% 45%, #26063f 0%, transparent 75%),
    var(--night-900);
  color: var(--white); overflow: hidden; isolation: isolate;
  padding-top: calc(var(--space-section) + 3rem);
}
.series-wave { position: absolute; top: -1px; left: 0; right: 0; height: clamp(50px, 8vw, 120px); }
.series-wave svg { width: 100%; height: 100%; }
.series-wave path { fill: var(--cream); }
.series .stars { z-index: -1; }
.series-inner { display: grid; gap: 2.5rem; align-items: center; }
.series-logo { width: min(100%, 420px); margin: 0 0 1.4rem;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 62%, transparent 74%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 62%, transparent 74%);
  animation: float 6s ease-in-out infinite;
}
.series-tag { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); color: var(--gold-400); margin: .8rem 0 .6rem; }
.series-text { font-size: var(--fs-lede); color: rgba(255,255,255,.88); max-width: 34rem; margin-bottom: 2rem; }
.series-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.series-stage { position: relative; width: min(100%, 560px); justify-self: center; }
.crew-float { animation: float 8s ease-in-out infinite; }
.crew-art {
  width: 100%;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
.count-bubble {
  position: absolute; display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  font: 700 1.6rem var(--font-display); color: var(--ink);
  box-shadow: 0 5px 0 rgba(0,0,0,.25);
  animation: bob 5s ease-in-out infinite;
}
.cb1 { top: 6%; left: 6%; background: var(--gold-400); }
.cb2 { top: 0; right: 16%; background: var(--teal-500); animation-delay: -1s; }
.cb3 { top: 38%; right: 0; background: var(--pink-500); color: var(--white); animation-delay: -2s; }
.cb4 { bottom: 26%; left: 0; background: var(--purple-300); animation-delay: -3s; }
.cb5 { bottom: 4%; right: 30%; background: var(--orange-500); color: var(--white); animation-delay: -4s; width: 44px; height: 44px; font-size: 1.3rem; }

.preview-row { display: grid; gap: 2rem; margin-top: clamp(3rem, 6vw, 5rem); }
.video-card { margin: 0; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden;
  background: var(--night-700); box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 30px 60px -30px #000;
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(.82); transition: transform 1.2s var(--ease-soft); }
.video-frame:hover img { transform: scale(1.04); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .8rem;
  background: linear-gradient(180deg, transparent 30%, rgba(23,4,51,.65)); border: 0; cursor: pointer; color: var(--white);
  font: 600 1.1rem var(--font-display);
}
.video-play:disabled { cursor: default; }
.video-play-icon {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-400); color: var(--ink); box-shadow: 0 6px 0 #c98a00, 0 0 0 12px rgba(250,180,11,.2);
  transition: transform var(--dur-fast) var(--ease-pop);
}
.video-play:not(:disabled) .video-play-icon { animation: pulse-ring 2.4s ease-out infinite; }
.video-play:hover:not(:disabled) .video-play-icon { transform: scale(1.1); }
.video-play-icon svg { width: 36px; fill: currentColor; margin-left: 5px; }
.video-play-label { background: rgba(23,4,51,.7); padding: .35rem .8rem; border-radius: 999px; }
.video-caption { margin-top: .8rem; color: rgba(255,255,255,.7); font-size: .95rem; }

.episodes-title { font-size: 1.4rem; margin-bottom: 1rem; color: var(--gold-200); }
.episode-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.episode a, .episode.is-placeholder {
  display: flex; align-items: center; gap: 1rem; padding: .6rem; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06); color: var(--white); text-decoration: none;
  transition: background var(--dur-fast), transform var(--dur-fast) var(--ease-pop);
}
.episode a:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.ep-thumb {
  flex: none; width: 112px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  display: grid; place-items: center; font: 700 1.6rem var(--font-display);
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 10px, rgba(255,255,255,.12) 10px 20px);
  border: 2px dashed rgba(255,255,255,.3); color: var(--gold-200);
}
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-meta { display: grid; }
.ep-meta small { color: rgba(255,255,255,.65); font-size: .88rem; }

@media (min-width: 900px) {
  .series-inner { grid-template-columns: 1fr 1fr; }
  .preview-row { grid-template-columns: 1.5fr 1fr; align-items: start; }
}

/* 9. CATCH A LITTLE WONDER ---------------------------------------------- */
.catch {
  background:
    radial-gradient(circle at 85% 15%, rgba(250,180,11,.25) 0 120px, transparent 121px),
    linear-gradient(180deg, #e6f8f6 0%, var(--cream) 100%);
}
.kbd-hint { display: block; font-size: .95rem; margin-top: .4rem; }
.play-area {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(440px, 60vh, 560px); border-radius: var(--radius-lg);
  background: linear-gradient(170deg, #8ee3dd 0%, #c7b8ff 55%, #ffd2e8 100%);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.6), 0 10px 0 var(--teal-700), var(--shadow-soft);
}
.play-sky { position: absolute; inset: 0; z-index: -1; }
.play-cloud { position: absolute; fill: rgba(255,255,255,.7); animation: cloud-drift-short 40s linear infinite; }
.pc1 { width: 200px; top: 8%; animation-delay: -12s; }
.pc2 { width: 140px; top: 45%; animation-duration: 55s; animation-delay: -30s; }

.wonders { position: absolute; inset: 0 0 120px 0; }
.wonder {
  position: absolute; width: var(--size, 76px); height: var(--size, 76px);
  margin: calc(var(--size, 76px) / -2) 0 0 calc(var(--size, 76px) / -2);
  padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.wonder svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 0 rgba(42,18,56,.18)); transition: transform var(--dur-fast) var(--ease-pop); }
.wonder:hover svg, .wonder:focus-visible svg { transform: scale(1.15) rotate(-8deg); }
.wonder:focus-visible { outline: 4px solid var(--ink); outline-offset: 6px; }
.wonder .face { fill: var(--ink); }
.wonder.is-caught { pointer-events: none; }

.reveal-card {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
  width: min(100% - 2rem, 520px); min-height: 96px;
  display: flex; align-items: center; gap: 1rem; padding: .9rem 1.2rem;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: 0 6px 0 rgba(42,18,56,.15), 0 20px 40px -20px rgba(42,18,56,.4);
}
.reveal-visual { flex: none; width: 68px; height: 68px; display: grid; place-items: center; }
.reveal-visual svg { width: 100%; height: 100%; }
.reveal-visual .big-num { font: 700 3.2rem/1 var(--font-display); color: var(--purple-500); }
.reveal-text { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1rem + .5vw, 1.35rem); color: var(--ink); line-height: 1.25; }
.reveal-text small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .92rem; color: var(--ink-soft); margin-top: .2rem; }
.count-dots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: .4rem; }
.count-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--teal-500); display: block; }
.reveal-card.is-new { animation: reveal-pop .55s var(--ease-pop); }

/* Burst particles created with the Web Animations API */
.burst { position: absolute; width: 10px; height: 10px; border-radius: 50%; pointer-events: none; z-index: 10; }
.burst.is-star { border-radius: 0; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); width: 14px; height: 14px; }
.noscript-note { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; }

/* 10. FOR GROWN-UPS ------------------------------------------------------ */
.grownups { background: var(--cream-2); }
.grown-grid { display: grid; gap: 3rem; align-items: center; }
.grown-copy p { font-size: var(--fs-lede); color: var(--ink-soft); max-width: 36rem; }
.grown-copy .section-title { margin-bottom: 1.4rem; }
.grown-copy .btn { margin-top: .8rem; margin-right: .6rem; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.promise {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem;
  background: var(--white); border-radius: var(--radius-md); box-shadow: 0 5px 0 var(--tone, var(--teal-500));
  color: var(--ink);
}
.promise.p2 { --tone: var(--pink-500); transform: translateX(1.2rem); }
.promise.p3 { --tone: var(--gold-400); }
.promise-icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--cream); color: var(--purple-500); }
.promise-icon svg { width: 30px; }
@media (min-width: 900px) { .grown-grid { grid-template-columns: 1.2fr 1fr; } }
@media (max-width: 480px) { .promise.p2 { transform: none; } }

/* 11. OUR STORY ---------------------------------------------------------- */
.story { background: var(--brown-500); color: var(--cream); padding-block: clamp(4rem, 8vw, 6rem); }
.story-inner { display: grid; gap: 2rem; align-items: center; max-width: 960px; }
.story-badge { width: 110px; animation: spin 40s linear infinite; }
.story p { color: rgba(250,246,241,.92); font-size: var(--fs-lede); max-width: 40rem; margin-top: 1rem; }
.story .section-title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
.story .eyebrow-light { color: var(--gold-200); }
@media (min-width: 760px) { .story-inner { grid-template-columns: auto 1fr; gap: 3rem; } .story-badge { width: 150px; } }

/* 12. FOOTER ------------------------------------------------------------- */
.site-footer { background: var(--night-950); color: rgba(255,255,255,.85); padding-top: 4rem; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-mantra { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--gold-200); margin: 1rem 0 .3rem; }
.footer-initiative { color: rgba(255,255,255,.75); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer-links a { display: inline-block; padding: .45rem 0; color: var(--white); text-decoration: none; font-weight: 500; }
.footer-links a[href]:hover { color: var(--gold-200); text-decoration: underline; text-underline-offset: 4px; }
.footer-links a.is-placeholder { color: rgba(255,255,255,.6); }
.footer-links small { font-size: .8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-block: 1.5rem; font-size: .9rem; color: rgba(255,255,255,.65); }
.footer-bottom p { margin: 0; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr; } .footer-links { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }

/* 13. REVEALS + KEYFRAMES ----------------------------------------------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(34px) scale(.98);
  transition: opacity .8s var(--ease-soft), transform .9s var(--ease-pop);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .exp[data-reveal] { transform: translateY(40px) rotate(calc(var(--tilt) * 3)); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .exp[data-reveal].is-visible { transform: rotate(var(--tilt)); }
.js .exp[data-reveal].is-visible:hover, .js .exp[data-reveal].is-visible:focus-within, .js .exp[data-reveal].is-visible.is-awake { transform: rotate(0) translateY(-8px); }

/* Pause ambient loops when a section is off screen (saves battery) */
.is-offscreen *, .is-offscreen { animation-play-state: paused !important; }

@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes twinkle-scale { 0%, 100% { transform: scale(.6); opacity: .5; } 50% { transform: scale(1.3); opacity: 1; } }
@keyframes aurora { from { transform: translateX(-6%) rotate(-4deg); } to { transform: translateX(6%) rotate(4deg); } }
@keyframes cloud-drift { from { transform: translateX(-40vw); } to { transform: translateX(130vw); } }
@keyframes cloud-drift-short { from { transform: translateX(-260px); } to { transform: translateX(1300px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(8deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-pop { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(1.4); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes letter-in { to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes portal-in { from { opacity: 0; transform: scale(.4) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes scroll-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@keyframes screen-glow { 0%, 100% { fill: #2a1238; } 50% { fill: #4a1f6e; } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-14px); } }
@keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-50px); } }
@keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes note-rise { 0% { transform: translateY(8px) rotate(-6deg); opacity: .4; } 50% { transform: translateY(-10px) rotate(6deg); opacity: 1; } 100% { transform: translateY(8px) rotate(-6deg); opacity: .4; } }
@keyframes draw { 0% { stroke-dashoffset: 100; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes doodle { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-50px, -60px); } 60% { transform: translate(-90px, -10px); } }
@keyframes pulse-ring { 0% { box-shadow: 0 6px 0 #c98a00, 0 0 0 0 rgba(250,180,11,.5); } 70% { box-shadow: 0 6px 0 #c98a00, 0 0 0 26px rgba(250,180,11,0); } 100% { box-shadow: 0 6px 0 #c98a00, 0 0 0 0 rgba(250,180,11,0); } }
@keyframes reveal-pop { 0% { transform: translateX(-50%) scale(.85); } 100% { transform: translateX(-50%) scale(1); } }

/* REDUCED MOTION ---------------------------------------------------------
   Applies for OS-level "reduce motion" and for the on-page Pause motion button
   (script.js adds .reduce-motion to <html>). Content stays fully visible. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.reduce-motion { scroll-behavior: auto; }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after {
  animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important;
}
.reduce-motion .hero-title .char, .reduce-motion .hero-lede, .reduce-motion .hero-ctas,
.reduce-motion .hero-eyebrow, .reduce-motion .portal, .reduce-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
.reduce-motion .exp { transform: none !important; }
.reduce-motion .star { opacity: .7; }
.reduce-motion .cloud { transform: translateX(var(--rest-x, 20vw)); }
.reduce-motion .cloud-1 { --rest-x: 6vw; } .reduce-motion .cloud-2 { --rest-x: 60vw; } .reduce-motion .cloud-3 { --rest-x: 30vw; }
.reduce-motion .play-cloud { transform: translateX(40px); }
.reduce-motion .pc2 { transform: translateX(60%); }
.reduce-motion .art-create .draw-star { stroke-dashoffset: 0; }
section[id] { scroll-margin-top: 72px; }

/* ==========================================================================
   PHASE 2: richer hero scenery, the Wonder Portal doorway, the
   "Enter the Wonder World" transition, live Watch state, catch feedback
   ========================================================================== */

/* Distant scenery ------------------------------------------------------- */
.moon {
  position: absolute; top: 11%; left: 47%; width: clamp(46px, 6vw, 84px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff8e1 0 40%, #ffe7a3 70%, #f6c95a 100%);
  box-shadow: 0 0 40px 12px rgba(255, 217, 119, .28), 0 0 120px 40px rgba(255, 217, 119, .12);
}
.moon::before, .moon::after { content: ""; position: absolute; border-radius: 50%; background: rgba(214, 160, 60, .28); }
.moon::before { width: 22%; height: 22%; top: 30%; left: 52%; }
.moon::after { width: 14%; height: 14%; top: 60%; left: 30%; }
.far-peaks { position: absolute; left: 0; bottom: 8%; width: 100%; height: 38%; }
.far-peaks path { fill: #2a0b55; opacity: .75; }

.shooting-star {
  position: absolute; width: 140px; height: 2px; border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff 70%, #ffd977);
  transform: rotate(-24deg); filter: drop-shadow(0 0 6px #fff);
  animation: shoot 11s ease-in infinite;
}
.ss1 { top: 12%; left: 12%; animation-delay: 3s; }
.ss2 { top: 26%; left: 58%; animation-delay: 8.5s; width: 100px; }

/* More expressive entrance: sky fades up, peaks and hills rise, clouds puff in */
.js .hero-sky { animation: sky-in 1.6s var(--ease-soft) both; }
.js .far-peaks { animation: peaks-in 1.6s var(--ease-soft) .15s both; }
.js .hills { animation: hills-in 1.3s var(--ease-pop) .25s both; }
.js .moon { animation: moon-in 1.8s var(--ease-pop) .5s both; }

/* The Wonder Portal doorway --------------------------------------------- */
.portal-door { display: block; color: var(--white); text-decoration: none; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.portal-door:focus-visible { outline: none; }
.portal-door:focus-visible .portal-glow { box-shadow: 0 0 0 6px var(--gold-400), 0 0 0 14px rgba(250,180,11,.3), 0 0 80px 10px rgba(181,140,255,.45); }
.portal-glow, .portal-art { transition: box-shadow .5s var(--ease-soft), transform .6s var(--ease-pop); }
.portal-door:hover .portal-glow {
  box-shadow: 0 0 0 14px rgba(255,217,119,.14), 0 0 120px 24px rgba(181,140,255,.55), inset 0 0 80px rgba(250,180,11,.3);
}
.portal-door:hover .portal-art { transform: translate(-50%, -53%) scale(1.05); }
.portal-door:active .portal-art { transform: translate(-50%, -50%) scale(.97); }
.portal-cta {
  display: flex; width: max-content; margin: -.6rem auto 0; position: relative; z-index: 2;
  align-items: center; gap: .45rem; padding: .55rem 1rem;
  font: 600 1rem var(--font-display); color: var(--gold-200);
  background: rgba(23, 4, 51, .7); border: 2px solid rgba(255, 217, 119, .45); border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform var(--dur-fast) var(--ease-pop), background var(--dur-fast);
  animation: cta-breathe 3.2s ease-in-out infinite;
}
.portal-cta svg { width: 18px; fill: var(--gold-400); }
.portal-door:hover .portal-cta { transform: translateY(-3px); background: rgba(44, 11, 92, .9); }
.js .portal-cta { opacity: 0; animation: rise-in .8s var(--ease-soft) 1.9s forwards, cta-breathe 3.2s ease-in-out 2.8s infinite; }

/* "Enter the Wonder World" transition layer ------------------------------ */
.warp { position: fixed; inset: 0; z-index: 300; pointer-events: none; visibility: hidden; }
.warp.is-on { visibility: visible; }
.warp-light {
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--wx, 50%) var(--wy, 50%), #fffdf4 0, #ffe9a8 12%, #fbe6c8 26%, var(--cream) 48%);
  clip-path: circle(0 at 50% 50%);
}
.warp-streaks {
  position: absolute; left: var(--wx, 50%); top: var(--wy, 50%); width: 260vmax; height: 260vmax; opacity: 0;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(250,180,11,.55) 0deg 1.2deg, transparent 1.2deg 9deg);
  -webkit-mask-image: radial-gradient(circle, transparent 6%, #000 18%, transparent 46%);
  mask-image: radial-gradient(circle, transparent 6%, #000 18%, transparent 46%);
}

/* Watch goes live automatically once the Fizz YouTube link is configured */
.sticker-live { display: none; }
[data-status="live"] .sticker.sticker-live {
  display: inline-flex; align-items: center; gap: .4rem; background: var(--pink-500); color: var(--white);
}
.sticker-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: live-dot 1.4s ease-in-out infinite; }

/* Catch a Little Wonder: richer feedback -------------------------------- */
.reveal-card { border: 4px solid var(--catch, transparent); transition: border-color .3s; }
.reveal-card.is-new .reveal-visual { animation: visual-pop .6s var(--ease-pop); }
.catch-ring { position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 4px solid; pointer-events: none; z-index: 9; }
.catch-fly { position: absolute; width: 70px; height: 70px; pointer-events: none; z-index: 11; }
.catch-fly svg { width: 100%; height: 100%; }

@keyframes shoot { 0%, 88% { opacity: 0; transform: translateX(0) rotate(-24deg); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateX(260px) translateY(-116px) rotate(-24deg); } }
@keyframes sky-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes peaks-in { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes hills-in { from { transform: translateY(70%); } to { transform: none; } }
@keyframes moon-in { from { opacity: 0; transform: translateY(40px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes cta-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(250,180,11,.0); } 50% { box-shadow: 0 0 0 8px rgba(250,180,11,.12); } }
@keyframes live-dot { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes visual-pop { 0% { transform: scale(.3) rotate(-20deg); } 100% { transform: none; } }

.reduce-motion .portal-cta, .reduce-motion .moon, .reduce-motion .far-peaks, .reduce-motion .hills, .reduce-motion .hero-sky { opacity: 1 !important; transform: none !important; }
.reduce-motion .shooting-star, .reduce-motion .warp { display: none; }

/* Parent organization links (nav + hero) */
.ext { width: .85em; height: .85em; display: inline-block; vertical-align: -.05em; margin-left: .2em; }
.nav-parent a { color: var(--gold-200); }
@media (min-width: 1180px) {
  .nav-parent { margin-left: .4rem; padding-left: .6rem; border-left: 1px solid rgba(255,255,255,.2); }
}
.hero-parent { margin-top: 1.6rem; font-size: .95rem; color: rgba(255,255,255,.75); }
.hero-parent a { color: var(--gold-200); font-weight: 700; text-underline-offset: 4px; white-space: nowrap; }
.hero-parent a:hover { color: var(--gold-400); }
.js .hero-parent { opacity: 0; animation: rise-in .9s var(--ease-soft) 1.7s forwards; }
.reduce-motion .hero-parent { opacity: 1 !important; }

/* Official logo mark */
.brand-logo-unused { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 0 12px rgba(237,182,70,.45)); transition: transform .6s var(--ease-pop); }
.brand-logo img { width: 100%; height: 100%; }
.brand:hover .brand-logo { transform: rotate(-12deg) scale(1.08); }
.brand-footer .brand-logo { width: 64px; height: 64px; }
.footer-partner { margin-top: .6rem; color: rgba(255,255,255,.75); font-size: .95rem; }
.footer-partner strong { color: var(--white); }

/* Official lockup (W mark + WeCreateWonder). Reverse version (white lettering) on dark backgrounds. */
.brand-lockup { height: 42px; width: auto; }
.brand-lockup img { height: 100%; width: auto; }
.site-header.is-scrolled .brand-lockup { height: 36px; }
.brand-footer .brand-lockup { height: 56px; }
.brand { transition: transform .5s var(--ease-pop); }
.brand:hover { transform: translateY(-2px) rotate(-1deg); }
@media (min-width: 600px) { .brand-lockup { height: 48px; } }
.story-badge { animation: float 6s ease-in-out infinite; }

/* Series credit line (also helps search engines connect the show to its creators) */
.series-credit { font-size: .95rem; color: rgba(255,255,255,.72); max-width: 34rem; margin: -1.2rem 0 2rem; }
.series-credit a { color: var(--gold-200); font-weight: 700; text-underline-offset: 3px; }
.footer-partner a { color: inherit; text-decoration: none; }
.footer-partner a:hover strong { color: var(--gold-200); text-decoration: underline; text-underline-offset: 4px; }
.story p a { color: var(--gold-200); font-weight: 700; text-underline-offset: 3px; }
