@font-face {
      font-family: 'Merel';
      src: url('/explore/assets/fonts/merel.woff2') format('woff2');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: 'Merel';
      src: url('/explore/assets/fonts/merel-medium.woff2') format('woff2');
      font-weight: 500;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: 'Merel';
      src: url('/explore/assets/fonts/merel-bold.woff2') format('woff2');
      font-weight: 600 900;
      font-style: normal;
      font-display: swap;
    }

    *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --color-red: #FA0E1C;
      --color-cream: #FAF6EC;
      --color-ink: #2b2b28;
      /* Deep ocean palette, descends from water into the abyss */
      --water-top: #00254D;  /* sampled from the video's bottom-edge sea, seamless seam */
      --water-mid: #05192C;
      --water-deep: #01070E;
      --foam: #EAF4FB;
      /* Merel: custom font, falls back to Inter until the font file is provided */
      --font-sans: 'Merel', 'Inter', -apple-system, sans-serif;
      --font-serif: 'EB Garamond', Garamond, 'Times New Roman', serif;
    }

    body {
      overflow-x: hidden;
      background: #ffffff;   /* shows on over-scroll above the hero */
      font-family: var(--font-sans);
    }

    /* ===== STICKY CTA BAR (appears after the hero) ===== */
    .sticky-cta {
      position: fixed; top: 0; left: 0; right: 0; z-index: 998;
      background: rgba(8, 10, 12, 0.92);
      -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
      padding: 12px 24px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      transform: translateY(-100%); transition: transform 0.35s ease;
      pointer-events: none;
    }
    .sticky-cta.is-visible { transform: translateY(0); pointer-events: auto; }
    .sticky-cta__inner {
      max-width: 1100px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
    }
    .sticky-cta__logo {
      justify-self: start; display: block; width: 84px; height: 20px;
      background: #fff;
      -webkit-mask: url('/explore/assets/images/explore-wordmark.svg') no-repeat left center / contain;
      mask: url('/explore/assets/images/explore-wordmark.svg') no-repeat left center / contain;
    }
    .sticky-cta__text {
      justify-self: center; text-align: center;
      font-family: var(--font-sans); font-weight: 500; font-size: 14px;
      letter-spacing: -0.2px; color: rgba(255, 255, 255, 0.85);
    }
    .sticky-cta__btn {
      justify-self: end; height: 38px; padding: 0 22px;
      display: inline-flex; align-items: center; white-space: nowrap;
      background: var(--color-red); color: #fff; border: none; border-radius: 100px;
      font-family: var(--font-sans); font-weight: 600; font-size: 13px;
      text-decoration: none; transition: opacity 0.2s ease;
    }
    .sticky-cta__btn:hover { opacity: 0.9; }
    .sticky-cta__end { justify-self: end; display: flex; align-items: center; gap: 16px; }
    .devices--sticky { gap: 10px; }
    @media (max-width: 760px) { .sticky-cta { display: none; } }

    .hero {
      position: relative;
      width: 100vw;
      height: 100vh;
      overflow: hidden;
      background: #3D7DB4;
    }

    /* Bottom fade, dissolves the video into the deep-zone's top colour (no hard seam) */
    .hero::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 22%;
      z-index: 2;
      pointer-events: none;
      background: linear-gradient(180deg,
        rgba(15, 59, 90, 0) 0%,
        rgba(15, 59, 90, 0.5) 50%,
        var(--water-top) 100%);
    }

    /* Scene wrapper, video + island zoom/blur together toward the island */
    .hero__scene {
      position: absolute;
      inset: 0;
      z-index: 1;
      transform-origin: 50% 40%;  /* push in toward the island */
    }

    /* Layer 1: full-bleed kayak video */
    .hero__bg {
      position: absolute;
      inset: 0;
      z-index: 1;
    }

    .hero__bg video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      opacity: 0;                       /* fades in once the video can play */
      transition: opacity 1.1s ease;
    }

    /* Layer 0: blurred LQIP poster (matches the video's first frame) shown instantly */
    .hero__poster {
      position: absolute;
      inset: 0;
      z-index: 0;
      background: url('/explore/assets/hero-poster.jpg') center center / cover no-repeat;
      filter: blur(26px) saturate(1.06);
      transform: scale(1.12);           /* hide the blurred edges */
      transition: filter 1.1s ease, opacity 1.1s ease;
      will-change: filter, opacity;
    }

    /* Step 1 -> Step 2: once the video is ready, unblur the poster and fade the scene in */
    .hero.is-ready .hero__bg video { opacity: 1; }
    .hero.is-ready .hero__poster { filter: blur(0) saturate(1); opacity: 0; }
    .hero.is-ready .hero__island { opacity: 1; }
    .hero.is-ready .hero__birds { opacity: 1; }
    .hero__island, .hero__birds { opacity: 0; transition: opacity 0.9s ease 0.25s; }

    @media (prefers-reduced-motion: reduce) {
      .hero__bg video, .hero__poster, .hero__island, .hero__birds { transition: none; }
    }

    /* ===== WORDMARK: plain white MARBLE letters (the island overlays in front) ===== */
    .wordmark {
      position: absolute;
      inset: 0;
      background: #ffffff;
      filter: drop-shadow(0 6px 28px rgba(12, 40, 80, 0.30));
      -webkit-mask-image: url('/explore/assets/images/explore-wordmark.svg');
      mask-image: url('/explore/assets/images/explore-wordmark.svg');
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-size: var(--logo-w, 860px) auto;
      mask-size: var(--logo-w, 860px) auto;
      -webkit-mask-position: var(--logo-x, 50%) var(--logo-y, 40%);
      mask-position: var(--logo-x, 50%) var(--logo-y, 40%);
    }

    /* island sits IN FRONT of the wordmark, exactly over the video's own island */
    .hero__island {
      position: absolute;
      inset: 0;
      z-index: 5;
      pointer-events: none;
    }

    .hero__island img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      transform: translate(0px, -5px) scale(1.02);    /* front island: nudged + scaled 2% to fully cover the video island */
    }

    /* Seagulls drifting across the sky (behind the wordmark) */
    .hero__birds {
      position: absolute;
      inset: 0;
      z-index: 2;
      pointer-events: none;
      overflow: hidden;
    }
    /* a few birds in a swarm fly IN FRONT of the white letters (still behind the island) */
    .hero__birds--front { z-index: 4; }

    /* flock canvas: a swarm of white gulls lifts off when the logo is clicked */
    .hero__dust { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

    /* tiny "beta" badge tucked just under the E */
    .hero__beta {
      position: absolute; z-index: 4; transform: translateX(-100%);
      display: inline-flex; align-items: center; justify-content: center;
      background: var(--color-red); color: #fff;
      font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.06em;
      line-height: 1; padding: 5px 9px 4px; border-radius: 5px; text-decoration: none;
      box-shadow: 0 4px 12px rgba(190, 10, 20, 0.35);
      pointer-events: auto; opacity: 0; transition: transform .15s ease, box-shadow .2s ease;
    }
    .hero__beta.is-ready { opacity: 1; }
    .hero__beta:hover { box-shadow: 0 6px 16px rgba(190, 10, 20, 0.45); }
    @media (max-width: 600px) { .hero__beta { font-size: 10px; padding: 4px 7px 3px; } }
    .gull {
      position: absolute;
      top: 0;
      left: 0;
      will-change: transform;
      opacity: 0;
    }
    .gull svg { display: block; overflow: visible; }
    /* phones: gulls render at half size (the SVG ships at 26x14) */
    @media (max-width: 600px) { .gull svg { width: 13px; height: 7px; } }
    .gull .wing {
      transform-origin: 12px 7px;       /* body centre */
      animation: gull-flap 0.62s ease-in-out infinite;
    }
    .gull .wing--r { transform-origin: 12px 7px; }
    @keyframes gull-flap {
      0%, 100% { transform: rotate(0deg); }
      50%      { transform: rotate(-26deg); }
    }
    .gull .wing--r { animation-name: gull-flap-r; }
    @keyframes gull-flap-r {
      0%, 100% { transform: rotate(0deg); }
      50%      { transform: rotate(26deg); }
    }
    @media (prefers-reduced-motion: reduce) {
      .hero__birds { display: none; }
    }

    /* Hotspot FX layer (between bg image and frost, revealed by the magnifier) */
    .hero__fx {
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
    }

    .fx {
      position: absolute;
      transform: translate(-50%, -50%);
      opacity: 0;
      transition: opacity 0.5s ease;
    }

    .fx.is-active {
      opacity: 1;
    }

    /* Lighthouse: rotating light beam */
    .fx--beam {
      width: 300px;
      height: 300px;
    }

    .fx--beam::before {
      content: '';
      position: absolute;
      inset: 0;
      background: conic-gradient(
        from 0deg,
        rgba(255, 240, 160, 0) 0deg,
        rgba(255, 240, 160, 0.55) 18deg,
        rgba(255, 240, 160, 0) 40deg,
        rgba(255, 240, 160, 0) 180deg,
        rgba(255, 240, 160, 0.55) 198deg,
        rgba(255, 240, 160, 0) 220deg
      );
      border-radius: 50%;
      animation: beamSpin 4s linear infinite;
      mask-image: radial-gradient(circle, transparent 8%, black 12%, black 60%, transparent 75%);
      -webkit-mask-image: radial-gradient(circle, transparent 8%, black 12%, black 60%, transparent 75%);
    }

    /* Lamp glow at the center */
    .fx--beam::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 26px;
      height: 26px;
      transform: translate(-50%, -50%);
      background: radial-gradient(circle, rgba(255,250,200,0.95), rgba(255,240,160,0.4) 60%, transparent 100%);
      border-radius: 50%;
      animation: lampPulse 2s ease-in-out infinite;
    }

    @keyframes beamSpin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    @keyframes lampPulse {
      0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
      50% { opacity: 1; transform: translate(-50%, -50%) scale(1.25); }
    }

    /* Peak: drifting mist wisps */
    .fx--mist {
      width: 340px;
      height: 200px;
    }

    .fx--mist span {
      position: absolute;
      width: 140px;
      height: 44px;
      background: radial-gradient(ellipse, rgba(255,255,255,0.75), rgba(255,255,255,0) 70%);
      border-radius: 50%;
      animation: mistDrift 7s ease-in-out infinite;
    }

    .fx--mist span:nth-child(1) { top: 20%; left: 8%; animation-delay: 0s; }
    .fx--mist span:nth-child(2) { top: 48%; left: 38%; animation-delay: -2.4s; }
    .fx--mist span:nth-child(3) { top: 30%; left: 55%; animation-delay: -4.8s; }

    @keyframes mistDrift {
      0%, 100% { transform: translateX(0) scale(1); opacity: 0.55; }
      50% { transform: translateX(45px) scale(1.18); opacity: 0.9; }
    }

    /* Story card */
    .story-card {
      position: absolute;
      z-index: 7;
      width: 270px;
      padding: 18px 20px;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border-radius: 16px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
      pointer-events: none;
      opacity: 0;
      transform: translateY(12px) scale(0.96);
      transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
      font-family: var(--font-sans);
    }

    .story-card.is-active {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .story-card__name {
      font-size: 17px;
      font-weight: 700;
      color: #1a1a1a;
      margin-bottom: 6px;
    }

    .story-card__name .accent {
      color: #FA0E1C;
    }

    .story-card__text {
      font-size: 13px;
      line-height: 1.55;
      color: #444;
    }

    /* Layer 2: Frosted overlay (blur + tint + grain) */
    .hero__frost {
      position: absolute;
      inset: 0;
      z-index: 2;
      pointer-events: auto;
      cursor: none;
    }

    .hero__frost-blur {
      position: absolute;
      inset: 0;
      background: url('/explore/assets/frost-bg.jpg') center/cover no-repeat;
    }

    .hero__frost-grain {
      position: absolute;
      inset: 0;
      opacity: 0.4;
      mix-blend-mode: overlay;
    }

    /* Drifting clouds (back layer slides behind the logo, front layer above it) */
    .hero__clouds {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
    }

    .hero__clouds--back { z-index: 3; }
    .hero__clouds--front { z-index: 5; }

    .cloud {
      position: absolute;
      left: 0;
      pointer-events: none;
      will-change: transform;
      filter: drop-shadow(0 22px 26px rgba(8, 30, 65, 0.45));
      animation: cloudDrift linear infinite;
    }

    .cloud svg {
      width: 100%;
      height: auto;
      display: block;
    }

    @keyframes cloudDrift {
      from { transform: translateX(-520px); }
      to { transform: translateX(calc(100vw + 520px)); }
    }

    /* Magnifying glass */
    .magnifier {
      position: absolute;
      z-index: 6;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .magnifier.is-visible {
      opacity: 1;
    }

    .magnifier__ring {
      width: 160px;
      height: 160px;
      border: 3px solid rgba(255, 255, 255, 0.6);
      border-radius: 50%;
      box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.08),
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 0 30px rgba(255, 255, 255, 0.06);
      position: relative;
    }

    /* Glass reflection shine */
    .magnifier__ring::before {
      content: '';
      position: absolute;
      top: 12%;
      left: 15%;
      width: 35%;
      height: 20%;
      background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent);
      border-radius: 50%;
      transform: rotate(-20deg);
    }

    .magnifier__handle {
      position: absolute;
      bottom: -22px;
      right: -10px;
      width: 8px;
      height: 36px;
      background: linear-gradient(to right, #FA0E1C, #d40b17);
      border-radius: 4px;
      transform: rotate(-45deg);
      transform-origin: top center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    /* Layer 3: Logo + tagline + CTA */
    .hero__content {
      position: absolute;
      inset: 0;
      z-index: 2;            /* between the video (1) and the island (3) */
      pointer-events: none;
    }

    .hero__logo {
      width: 55%;
      max-width: 800px;
    }

    /* lower hero block: headline + subline + beta form, stacked below the horizon */
    .hero__lower {
      position: absolute;
      left: 50%;
      top: 57%;
      transform: translateX(-50%);
      z-index: 4;          /* above the scene wrapper (z-index:1) */
      width: 100%;
      max-width: 1000px;
      padding: 0 24px;
      text-align: center;
    }
    .hero__tagline {
      margin: 0;
      font-family: var(--font-serif);
      font-size: clamp(22px, 2.4vw, 34px);
      line-height: 1.15;
      color: #fff;
      letter-spacing: -0.5px;
      text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    }
    .hero__subline {
      max-width: 560px;
      margin: 18px auto 0;
      font-family: var(--font-sans);
      font-weight: 600;                  /* Merel bold (Garamond stays titles-only) */
      font-size: clamp(15px, 1.25vw, 18px);
      line-height: 1.55;
      color: #fff;
      text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
    }

    .hero__cta {
      position: absolute;
      left: 50%;
      top: 65%;
      transform: translateX(-50%);
      z-index: 4;          /* above the scene wrapper (z-index:1) */
      pointer-events: auto;
      display: inline-block;
      background: var(--color-red);
      color: #fff;
      font-family: var(--font-sans);
      font-size: 15px;
      font-weight: 600;
      padding: 18px 34px;
      border-radius: 100px;
      text-decoration: none;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .hero__cta:hover {
      opacity: 0.92;
      transform: translateX(-50%) scale(1.04);
    }

    /* ===== HERO beta form (name + email + button) ===== */
    .hero__form {
      width: max-content;
      max-width: 100%;
      margin: 30px auto 0;   /* flows below the subline, centered */
    }
    .hero__form-row {
      display: flex;
      gap: 12px;
      justify-content: center;
      align-items: stretch;
      flex-wrap: wrap;
    }
    .hero__field {
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.55);
      border-radius: 100px;
      padding: 17px 22px;
      font-family: var(--font-sans);
      font-size: 16px;
      color: #fff;
      outline: none;
      min-width: 0;
      backdrop-filter: blur(2px);
      transition: border-color 0.2s ease, background 0.2s ease;
    }
    .hero__field::placeholder { color: rgba(255, 255, 255, 0.65); }
    .hero__field:focus { border-color: #fff; background: rgba(255, 255, 255, 0.18); }
    .hero__field--name { width: 280px; }
    .hero__field--email { width: 240px; }
    .hero__form-btn {
      background: var(--color-red);
      color: #fff;
      font-family: var(--font-sans);
      font-weight: 700;
      font-size: 16px;
      padding: 17px 32px;
      border: none;
      border-radius: 100px;
      cursor: pointer;
      white-space: nowrap;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
      transition: transform 0.2s ease, opacity 0.2s ease;
    }
    .hero__form-btn:hover { opacity: 0.92; transform: scale(1.04); }
    .hero__cta { display: inline-block; text-decoration: none; position: static; transform: none; margin-top: var(--cta-gap, 40px); }
    .hero__cta:hover { transform: scale(1.04); }
    /* "Available on iPad, Mac and iPhone" row under each download button.
       Its gap above matches the gap between the button and what sits above it. */
    .devices {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      gap: 20px;
      font-family: var(--font-sans);
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.2px;
      color: rgba(255, 255, 255, 0.62);
    }
    .devices--ink { color: #8c8676; }
    .devices li { display: inline-flex; }
    .devices a {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 6px 2px;   /* a bigger tap target without moving anything */
      margin: -6px -2px;
      color: inherit; text-decoration: none;
      transition: color 0.2s ease;
    }
    .devices a:hover { color: #fff; }
    .devices--ink a:hover { color: #1c1a17; }
    .devices a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
    .devices svg {
      width: 16px; height: 16px;
      fill: none; stroke: currentColor; stroke-width: 1.4;
      stroke-linecap: round; stroke-linejoin: round;
    }
    .devices--hero { margin-top: var(--cta-gap, 40px); }
    /* intro and curriculum buttons sit after a big section gap; use the hero's rhythm there */
    .devices--intro, .devices--curriculum { margin-top: 33px; }
    @media (max-width: 600px) { .devices--intro, .devices--curriculum { margin-top: 22px; } }
    .hero__form-success {
      display: none;
      text-align: center;
      font-family: var(--font-serif);
      font-size: 22px;
      color: #fff;
      text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    }
    .hero__form-success .accent { color: var(--color-red); }
    .hero__form.is-done .hero__form-row { display: none; }
    .hero__form.is-done .hero__form-success { display: block; }
    .hero__form-error {
      width: fit-content; margin: 10px auto 0; text-align: center;
      font-family: var(--font-sans); font-weight: 600; font-size: 14px;
      color: #fff; background: rgba(250, 14, 28, 0.9);
      padding: 8px 18px; border-radius: 100px;
    }
    .hero__form.is-done .hero__form-error { display: none; }

    .hero__logo img {
      width: 100%;
      height: auto;
      filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.15));
    }

    /* Fallback logo as text if image not ready */
    .hero__logo-text {
      font-family: var(--font-sans);
      font-size: clamp(60px, 12vw, 180px);
      font-weight: 900;
      color: white;
      letter-spacing: -4px;
      text-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
      text-align: center;
    }

    /* On phones the 16:9 scene can't be cover-zoomed (the island would be wider than
       the screen and swallow the logo), so fit it to width as a band and let the
       tagline + CTA flow below it over the sea. */
    @media (max-width: 600px) {
      .hero {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        background: var(--water-top);
        padding-bottom: 30px;
      }
      .hero__scene {
        position: relative;
        inset: auto;
        width: 100%;
        height: 84vw;   /* zoomed scene; fallback for browsers without svh */
        /* but never so tall that the form + CTA drop below the fold: cap to the
           visible viewport (svh accounts for the browser chrome) minus the lower block */
        height: min(84vw, calc(100svh - 330px));
        flex: 0 0 auto;
        transform-origin: 50% 50%;
      }
      .hero::after { display: none; }
      /* Front-island alignment, locked across all phones: the island sits on a cover-scaled
         video, so the nudge must be PROPORTIONAL to the scene height (a fixed px only aligns at
         one width). Tuned to -2px on iPhone 14 Pro (393w -> 84vw -> ~330px scene); -2/330 = -0.6%. */
      .hero__island img { transform: translate(0px, -0.6%) scale(1.02); }
      .hero__lower {
        position: static;
        transform: none;
        left: auto; top: auto;
        width: 100%;
        max-width: 420px;
        margin: 26px auto 0;   /* a little sea breathes between the kayak and the subtitle */
      }
      .hero__tagline { font-size: clamp(22px, 5.6vw, 28px); }
      .hero__form {
        width: 100%;
        max-width: 380px;
        margin: 22px auto 0;
      }
      .hero__form-row { flex-direction: column; }
      .hero__field, .hero__form-btn { width: 100%; }
      .hero__cta { width: auto; margin-top: 22px; }
      .devices--hero { margin-top: 22px; }
      .hero__field--name, .hero__field--email { width: 100%; }
    }

    /* ===== INTRO SECTION ===== */
    .intro {
      background: linear-gradient(180deg, var(--water-top) 0%, var(--water-mid) 100%);
      text-align: center;
      padding: 200px 24px 112px;
      position: relative;
      overflow: hidden;
    }

    /* Click stickers */
    .sticker {
      position: absolute;
      width: 102px;
      height: 102px;
      z-index: 40;
      pointer-events: none;
      transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
      animation: stickerPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .sticker svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .sticker.is-leaving {
      opacity: 0;
      transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(0.6);
      transition: opacity 0.35s ease, transform 0.35s ease;
    }

    @keyframes stickerPop {
      0% { transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(0); }
      70% { transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(1.15); }
      100% { transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(1); }
    }


    .intro__heading {
      font-family: var(--font-serif);
      font-weight: 400;
      font-size: clamp(60px, 10.5vw, 150px);
      line-height: 1.02;
      letter-spacing: -0.04em;
      color: var(--foam);
      margin-bottom: 48px;
    }

    .intro__heading .accent {
      color: var(--color-red);
    }

    /* centered lead + body under the big title, with room to breathe */
    .intro__cols {
      max-width: 660px;
      margin: 120px auto 0;   /* generous gap below the title */
    }
    .intro__text {
      margin: 0 auto 46px;   /* breathing space between the lead and the body */
      font-family: var(--font-sans);     /* Merel bold, Garamond stays titles-only */
      font-weight: 600;
      font-size: clamp(21px, 2.6vw, 31px);
      line-height: 1.45;
      letter-spacing: -0.2px;
      color: #fff;                       /* the "curious" turn lands in full white */
    }
    .intro__text-dim { color: rgba(234, 244, 251, 0.5); }   /* "watching" line recedes */
    .intro__text-key { color: var(--color-red); }           /* the pivot word pops */

    .intro__body {
      max-width: 600px;
      margin: 0 auto 90px;
      font-family: var(--font-sans);
      font-size: 17px;
      line-height: 1.6;
      color: rgba(234, 244, 251, 0.72);
    }

    .intro__divider {
      width: 70px;
      height: 1px;
      background: rgba(234, 244, 251, 0.25);
      margin: 0 auto 60px;
    }

    .intro__supported {
      font-size: 14px;
      font-weight: 500;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: rgba(234, 244, 251, 0.55);
      margin-bottom: 40px;
    }

    .intro__logos {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 56px;
      flex-wrap: wrap;
      margin-bottom: 112px;
    }

    .intro__logos img {
      height: 42px;
      width: auto;
      opacity: 0.7;
      /* knock the dark logos out to white for the deep-blue background */
      filter: brightness(0) invert(1);
    }

    /* A round seal reads much lighter than a horizontal wordmark at the same
       height, so give it a little more to sit at a comparable optical weight. */
    .intro__logos img.logo--seal {
      height: 56px;
    }

    .intro__cta {
      display: inline-block;
      background: var(--color-red);
      color: #fff;
      font-family: var(--font-sans);
      font-size: 15px;
      font-weight: 600;
      padding: 20px 36px;
      border-radius: 100px;
      text-decoration: none;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .intro__cta:hover {
      opacity: 0.92;
      transform: scale(1.03);
    }

    /* ===== MARBLE WAVE BANDEAU ===== */
    .wave-band {
      background: #F4EFE4;     /* cream, sits seamlessly between the apps and curriculum sections */
      overflow: hidden;
      padding: 24px 0;
    }

    .wave-band svg {
      display: block;
      width: 100%;
      height: 130px;          /* fixed height at every screen size → consistent wave */
    }

    .wave-band text {
      font-family: var(--font-serif);
      font-size: 26px;
      letter-spacing: 0;
      fill: var(--color-red);
      text-transform: uppercase;
    }

    /* ===== 100 KIDS APPS SECTION ===== */
    .apps {
      background: linear-gradient(180deg, var(--water-mid) 0%, var(--water-deep) 100%);
      text-align: center;
      padding: 224px 24px 168px;
    }

    .apps__heading {
      font-family: var(--font-serif);
      font-weight: 400;
      font-size: clamp(60px, 10.5vw, 150px);
      line-height: 1.02;
      letter-spacing: -0.04em;
      color: var(--foam);
      margin: 0 0 76px;
    }

    .apps__buckets {
      display: flex;
      justify-content: center;
      gap: 14px;
      flex-wrap: wrap;
      /* Nine chips cannot fit one row (they need ~1410px), so rather than
         wrapping into a lopsided 8 + 1 they are held to the same 860px measure
         as the video frame below. That lands a balanced 5 + 4 and lines the
         chip block up with the screen. */
      max-width: 860px;
      margin-left: auto;
      margin-right: auto;
    }

    .apps__bucket {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 13px 24px;
      background: rgba(234, 244, 251, 0.10);
      border: 1px solid rgba(234, 244, 251, 0.28);
      border-radius: 100px;
      font-family: var(--font-sans);
      font-weight: 600;
      font-size: 15px;
      color: var(--foam);
      cursor: pointer;
      transition: all 0.25s ease;
    }

    .apps__bucket:hover,
    .apps__bucket.is-active {
      border-color: var(--color-red);
      color: #fff;
      background: rgba(250, 14, 28, 0.20);
    }

    /* ===== DEEP ZONE: continuous descent + bubbles + glowing fish ===== */
    .deep-zone {
      position: relative;
      z-index: 1;
      background: linear-gradient(180deg, var(--water-top) 0%, var(--water-mid) 34%, var(--water-deep) 100%);
    }

    /* Seam cover: a soft band of the exact deep-zone colour straddling the
       hero/deep-zone boundary, hiding the blurred clipped edge of the video */
    .deep-zone::before {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      top: -70px;
      height: 140px;
      background: var(--water-top);
      z-index: 5;
      pointer-events: none;
      -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 38%, #000 62%, transparent 100%);
      mask-image: linear-gradient(180deg, transparent 0, #000 38%, #000 62%, transparent 100%);
    }

    /* sections sit above the effect layers; their own backgrounds become transparent */
    .deep-zone > .intro,
    .deep-zone > .wave-band,
    .deep-zone > .apps {
      background: transparent;
      position: relative;
      z-index: 1;
    }

    .fx-deep {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    /* Rising bubbles */
    .bubble {
      position: absolute;
      border-radius: 50%;
      background: radial-gradient(circle at 34% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0.30) 55%, rgba(255,255,255,0.05) 100%);
      box-shadow: inset 0 0 3px rgba(255,255,255,0.5);
      opacity: 0;
      will-change: transform, opacity;
      animation: bubbleRise linear infinite;
    }

    @keyframes bubbleRise {
      0%   { transform: translate(0, 0) scale(0.7); opacity: 0; }
      12%  { opacity: var(--op, 0.6); }
      88%  { opacity: var(--op, 0.6); }
      100% { transform: translate(var(--sway, 14px), var(--rise, -520px)) scale(1); opacity: 0; }
    }

    /* Glowing fish, one swims across at a time, then leaves */
    .fish {
      position: absolute;
      left: 0;
      top: 0;
      will-change: transform, opacity;
      opacity: 0;
      pointer-events: auto;   /* clickable, turns into a jellyfish */
      cursor: pointer;
    }

    .fish--right { animation: swimRight var(--dur, 14s) ease-in-out forwards; }
    .fish--left  { animation: swimLeft  var(--dur, 14s) ease-in-out forwards; }

    /* middle layer flips the fish to face its direction of travel */
    .fish__flip { transform-origin: 50% 50%; }
    .fish--left .fish__flip { transform: scaleX(-1); }

    /* inner svg does the little tail wiggle so it feels alive */
    .fish__flip svg {
      display: block;
      animation: finWiggle 0.5s ease-in-out infinite;
      transform-origin: 30% 50%;
    }

    /* warm red glow for red fish, soft white for white ones (set per variant) */
    .fish--glow-red  { filter: drop-shadow(0 0 7px rgba(250,90,90,0.8)) drop-shadow(0 0 16px rgba(250,14,28,0.45)); }
    .fish--glow-white{ filter: drop-shadow(0 0 7px rgba(255,255,255,0.85)) drop-shadow(0 0 16px rgba(200,230,255,0.5)); }

    @keyframes finWiggle {
      0%, 100% { transform: rotate(-2.5deg); }
      50%      { transform: rotate(2.5deg); }
    }

    /* wavy swim paths (bobbing up and down as they cross) */
    @keyframes swimRight {
      0%   { transform: translate(-14vw, 0);   opacity: 0; }
      7%   { opacity: 1; }
      25%  { transform: translate(22vw, -16px); }
      50%  { transform: translate(50vw, 8px); }
      75%  { transform: translate(78vw, -12px); }
      93%  { opacity: 1; }
      100% { transform: translate(114vw, 0);   opacity: 0; }
    }

    @keyframes swimLeft {
      0%   { transform: translate(114vw, 0);   opacity: 0; }
      7%   { opacity: 1; }
      25%  { transform: translate(78vw, -16px); }
      50%  { transform: translate(50vw, 8px); }
      75%  { transform: translate(22vw, -12px); }
      93%  { opacity: 1; }
      100% { transform: translate(-14vw, 0);   opacity: 0; }
    }

    /* fish swim BEHIND the section content (same level as the bubbles), so they
       never cross over text, video or buttons, the sections are transparent so
       the fish stay visible swimming over the deep-ocean gradient */
    #fishLayer { z-index: 0; }

    /* let clicks fall through the transparent sections to the fish (keeps
       click-to-jellyfish working), while real controls stay clickable */
    .deep-zone > .intro,
    .deep-zone > .wave-band { pointer-events: none; }

    /* The one linked question in the marquee. The band itself is click-through,
       so the link has to opt back in. Hinted with a faint dotted underline that
       none of the other questions carry: findable if you are looking, quiet if
       you are not. */
    .wave-band a { pointer-events: auto; }
    .wave-egg {
      cursor: pointer;
      transition: fill 0.2s ease;
    }
    .wave-band a:hover .wave-egg { fill: #B8000C; }
    .intro__cta { pointer-events: auto; }
    /* apps is an opaque paper sheet, clickable so you can drop stickers anywhere on it */
    .deep-zone > .apps { pointer-events: auto; }

    /* keep apps content above the bubbles */
    .apps__heading, .apps__buckets, .apps__video { position: relative; z-index: 1; }

    /* ===== HOW MARBLE WORKS is the top LIGHT "paper" sheet; APPS continues it, flush ===== */
    .deep-zone > .how {
      background: #F4EFE4;                 /* off-white paper */
      margin: 68px 0 0;                    /* dark deep-zone shows above the sheet */
      padding: 100px 24px 24px;
      border-radius: 30px 30px 0 0;        /* paper top corners */
      overflow: visible;
      position: relative;
      z-index: 2;
      pointer-events: auto;
    }
    .deep-zone > .apps {
      background: #F4EFE4;                 /* same paper, flows straight on below .how */
      margin: 0;
      padding: 48px 24px 130px;
      overflow: visible;
    }
    /* one red "tape" sticker on the right hangs the paper; the left side has the big red line */
    .deep-zone > .how::after {
      content: '';
      position: absolute;
      top: -15px;
      right: 17%;
      width: 92px; height: 28px;
      background: var(--color-red);
      border-radius: 4px;
      opacity: 0.9;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
      z-index: 4;
      pointer-events: none;
      transform: rotate(5deg);
    }

    /* How-it-works: a fat red line drawn on scroll (down the left), steps + visuals on the right */
    .how__inner { max-width: 1080px; margin: 0 auto; position: relative; z-index: 1; }
    .how__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(60px, 10.5vw, 150px); line-height: 1.02; letter-spacing: -0.04em; color: #1c1a17; margin: 0 0 10px; text-align: center; }
    .how__title .accent { color: var(--color-red); }
    .how__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
    .how__path-bg { fill: none; stroke: rgba(250,14,28,0.12); stroke-width: 60; stroke-linecap: round; stroke-linejoin: round; }
    .how__path { fill: none; stroke: var(--color-red); stroke-width: 60; stroke-linecap: round; stroke-linejoin: round; }
    .how__dot-svg { opacity: 0; transition: opacity .4s ease; pointer-events: none; }
    .how__dot-svg.is-on { opacity: 1; }
    .how__dot-svg--halo { fill: rgba(250,14,28,0.12); }
    .how__dot-svg--core { fill: #fff; }
    .how__steps { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
    .how__step { min-height: 82vh; display: flex; flex-direction: column; justify-content: center; margin-left: 38%; width: 56%; padding: 30px 0; opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
    .how__step.is-visible { opacity: 1; transform: none; }
    .how__step-num { font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; color: var(--color-red); margin-bottom: 12px; }
    .how__step-title { font-family: var(--font-sans); font-weight: 600; font-size: 24px; line-height: 1.2; color: #1c1a17; margin: 0 0 12px; }
    .how__step-text { font-family: var(--font-sans); font-size: 16px; line-height: 1.62; color: #6f6a5e; margin: 0; max-width: 430px; }
    .how__step-visual { margin-top: 26px; max-width: 440px; }
    .how__step-visual .loop__card { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
    /* step 3: a floating cloud of topics, a few lighting up as Marble picks them */
    .how__cloud { position: relative; height: 296px; }
    .how__chip { position: absolute; transform: translate(-50%, -50%); z-index: 1; }
    .how__pill { display: inline-block; white-space: nowrap; font-family: var(--font-sans); font-weight: 600; font-size: 13px; padding: 7px 13px; border-radius: 100px; background: #EFE7D6; color: #8c8676; border: 1px solid rgba(0,0,0,0.07); animation: howFloat 6s ease-in-out infinite; }
    .how__pill--on { animation: howFloat 6s ease-in-out infinite, howSelect 6s ease-in-out infinite; }
    @keyframes howFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
    @keyframes howSelect { 0%, 55%, 100% { background: #EFE7D6; color: #8c8676; border-color: rgba(0,0,0,0.07); } 16%, 32% { background: var(--color-red); color: #fff; border-color: var(--color-red); } }
    /* the connecting web behind the chips */
    .how__net { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; }
    .how__edge { fill: none; stroke: #d9cfbb; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; }
    .how__edge.e-dino { animation: howEdge 6s ease-in-out infinite; }
    .how__edge.e-space { animation: howEdge 6s ease-in-out infinite; animation-delay: -1.5s; }
    .how__edge.e-draw { animation: howEdge 6s ease-in-out infinite; animation-delay: -3s; }
    .how__edge.e-volc { animation: howEdge 6s ease-in-out infinite; animation-delay: -4.5s; }
    @keyframes howEdge { 0%, 50%, 100% { stroke: #d9cfbb; } 18%, 30% { stroke: var(--color-red); } }
    .how__cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: var(--color-red); background: rgba(250,14,28,0.07); border: 1px solid rgba(250,14,28,0.28); padding: 11px 20px; border-radius: 100px; text-decoration: none; transition: background .2s ease, transform .2s ease; }
    .how__cta:hover { background: rgba(250,14,28,0.13); transform: translateX(2px); }
    .how__cta svg { width: 16px; height: 16px; }
    @media (prefers-reduced-motion: reduce) { .how__step { transition: none; opacity: 1; transform: none; } .how__pill, .how__pill--on { animation: none; } }
    @media (max-width: 760px) {
      .deep-zone > .how { padding: 84px 18px 8px; }
      .how__step { margin-left: 26%; width: 70%; min-height: 66vh; }
      .how__step-visual { max-width: none; }
      .how__path, .how__path-bg { stroke-width: 40; }
      .how__step-title { font-size: 20px; }
      .how__cloud { height: 260px; }
    }

    /* light content */
    .apps__heading { color: #1c1a17; }
    .apps__bucket {
      background: #ffffff;
      border: 1px solid #ddd6c6;
      color: #46423a;
    }
    .apps__bucket:hover,
    .apps__bucket.is-active {
      border-color: var(--color-red);
      color: #fff;
      background: var(--color-red);
    }
    .apps__desc { color: #6f6a5e; }
    .apps__desc a {
      color: #1c1a17;
      text-decoration: underline;
      text-underline-offset: 2px;
      text-decoration-thickness: 1px;
    }
    .apps__desc a:hover { color: var(--color-red); }

    /* "Soon" marker: the lesson library is not in the beta yet, so the tab is
       flagged rather than looking like something you can already open. Colours
       follow the chip, which is white at rest and red when active. */
    .apps__soon {
      display: inline-block;
      margin-left: 7px;
      padding: 1.5px 3.5px 1px;
      border-radius: 2px;
      background: var(--color-red);
      color: #fff;
      font-size: 7.5px;
      font-weight: 700;
      letter-spacing: 0.06em;
      line-height: 1;
      text-transform: uppercase;
      position: relative;
      top: -1px;
    }

    /* The chip itself goes red once active, so the marker inverts to stay
       readable against it. */
    .apps__bucket:hover .apps__soon,
    .apps__bucket.is-active .apps__soon {
      background: #fff;
      color: var(--color-red);
    }

    /* the first bucket "catches" the red line: it fills red left-to-right when it scrolls in */
    .apps__bucket.apps__bucket--lead {
      background: linear-gradient(90deg, var(--color-red) 0 47%, #ffffff 53% 100%);
      background-size: 200% 100%;
      background-position: 100% 0;
      background-repeat: no-repeat;
      border-color: #ddd6c6;
      color: #46423a;
    }
    .apps__bucket.apps__bucket--lead.is-flow {
      background-position: 0 0;
      border-color: var(--color-red);
      color: #fff;
      transition: background-position 0.95s cubic-bezier(.55,.06,.30,1), color 0.5s ease 0.4s, border-color 0.45s ease 0.3s;
    }
    @media (prefers-reduced-motion: reduce) {
      .apps__bucket.apps__bucket--lead.is-flow { transition: none; }
    }

    /* mobile: one horizontally-scrollable row of options so the phone preview below stays in view */
    @media (max-width: 760px) {
      .apps__buckets {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        gap: 10px;
        padding-bottom: 4px;
        scrollbar-width: none;
      }
      .apps__buckets::-webkit-scrollbar { display: none; }
      .apps__bucket {
        flex: 0 0 auto;
        white-space: nowrap;
        scroll-snap-align: start;
        padding: 11px 18px;
        font-size: 14px;
      }
    }

    /* ===== Sticker drop, stickers land ON the phone screen and tuck under its bezel ===== */
    .pg-layer {
      position: absolute; inset: 22px;   /* the screen area, inside the bezel */
      z-index: 1;                         /* above the video, below the glass shadow overlay */
      border-radius: 27px;
      overflow: hidden;                   /* stickers near the edge slip under the phone rim */
      pointer-events: none;
    }
    /* the iPad's glass shadow, so the video reads as being on the screen */
    .apps__video::before {
      content: '';
      position: absolute; inset: var(--bezel);
      border-radius: var(--screen-r);
      box-shadow: inset 0 0 22px 2px rgba(0, 0, 0, 0.28);
      pointer-events: none;
      z-index: 2;
    }

    /* iPad (landscape) device frame, uniform for every category video */
    .apps__video {
      --bezel: 22px;
      --screen-r: 16px;
      max-width: 820px;
      margin: 28px auto 0;
      background: #0e0f12;          /* bezel */
      padding: var(--bezel);
      border-radius: 38px;
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), inset 0 0 0 3px #3a3c42, inset 0 0 0 4px rgba(255, 255, 255, 0.06);
    }
    @media (max-width: 560px) { .apps__video { --bezel: 12px; --screen-r: 9px; border-radius: 22px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3), inset 0 0 0 2px #3a3c42; } }
    .apps__pending { display: none; position: absolute; inset: var(--bezel); border-radius: var(--screen-r); background: #1a1b20; color: rgba(255,255,255,0.55); font-family: var(--font-sans); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; align-items: center; justify-content: center; z-index: 1; }
    .apps__video.is-pending .apps__pending { display: flex; }
    .apps__video.is-pending video { visibility: hidden; }
    .apps__video video {
      display: block;
      width: 100%;
      aspect-ratio: 1280 / 890;     /* full iPad screen; reserves height so the device never collapses while a clip loads */
      height: auto;
      border-radius: var(--screen-r);
      background: #000;
    }
    .apps__video::after { display: none; }
    .apps__break { display: none; }
    .apps__bucket:focus:not(:focus-visible) { outline: none; }
    .apps__bucket:focus-visible { outline: 2px solid #1c1a17; outline-offset: 3px; }
    @media (max-width: 560px) {
      .apps__buckets { flex-wrap: wrap; justify-content: center; overflow: visible; gap: 7px 6px; padding-bottom: 0; }
      .apps__bucket { padding: 10px 11px; font-size: 13px; gap: 5px; }
      .apps__break { display: block; flex-basis: 100%; height: 0; }
    }

    .apps__desc {
      position: relative;
      z-index: 1;
      max-width: 600px;
      min-height: 84px;      /* fixed block so the layout (and the sticker box) never shifts between categories */
      margin: 30px auto 0;
      font-family: var(--font-sans);
      font-size: 17px;
      line-height: 1.6;
      color: #46423a;
      text-wrap: balance;   /* even line lengths: no lone word on the last line */
    }

    /* ===== UNIVERSAL CURRICULUM MAP ===== */
    .curriculum {
      /* LIGHT section, continues the off-white paper from the apps section above; stays light into the manifesto/team/principles block below */
      background: #F4EFE4;
      color: #1c1a17;
      text-align: center;
      padding: 60px 24px 120px;
    }

    .curriculum__heading {
      font-family: var(--font-serif);
      font-weight: 400;
      font-size: clamp(60px, 10.5vw, 150px);
      line-height: 1.02;
      letter-spacing: -0.04em;
    }

    .curriculum__heading .accent { color: var(--color-red); }

    .curriculum__text {
      max-width: 760px;
      margin: 64px auto 0;
      font-family: var(--font-sans);
      font-size: 17px;
      line-height: 1.6;
      color: #6f6a5e;
    }
    .curriculum__text--how { margin-top: 22px; max-width: 700px; }

    /* Mobile-only skill-progress map (replaces the interactive demo on phones). Hidden on desktop. */
    .cmap { display: none; }
    .cmap__row { margin-top: 26px; }
    .cmap__row:first-child { margin-top: 0; }
    .cmap__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 13px; }
    .cmap__subject { font-family: var(--font-sans); font-weight: 700; font-size: 16px; color: #1c1a17; }
    .cmap__next { font-family: var(--font-sans); font-weight: 600; font-size: 13px; color: var(--color-red); }
    .cmap__track { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 0 9px; }
    .cmap__track::before { content: ''; position: absolute; left: 16px; right: 16px; top: 50%; height: 2px; background: #e2dac8; transform: translateY(-50%); }
    .cmap__dot { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: #efe7d6; border: 1.5px solid #dcd3bf; box-sizing: border-box; }
    .cmap__dot.is-done { background: #1c1a17; border-color: #1c1a17; }
    .cmap__dot.is-next { background: var(--color-red); border-color: var(--color-red); animation: cmapPulse 2.1s ease-in-out infinite; }
    @keyframes cmapPulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(250,14,28,0.16); } 50% { box-shadow: 0 0 0 9px rgba(250,14,28,0.05); } }
    @media (prefers-reduced-motion: reduce) { .cmap__dot.is-next { animation: none; box-shadow: 0 0 0 4px rgba(250,14,28,0.16); } }
    .cmap__note { font-family: var(--font-sans); font-size: 14px; line-height: 1.55; color: #6f6a5e; text-align: center; max-width: 380px; margin: 30px auto 0; }
    .cmap__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 20px; font-family: var(--font-sans); font-size: 12px; color: #8c8676; }
    .cmap__legend span { display: inline-flex; align-items: center; gap: 7px; }
    .cmap__sw { width: 13px; height: 13px; border-radius: 50%; box-sizing: border-box; }
    .cmap__sw--done { background: #1c1a17; }
    .cmap__sw--next { background: var(--color-red); }
    .cmap__sw--up { background: #efe7d6; border: 1.5px solid #dcd3bf; }
    @media (max-width: 600px) {
      .curriculum .pb-demo-intro, .curriculum .pb-demo { display: none; }   /* hide the interactive demo on phones */
      .curriculum__text--how { display: none; }                              /* drop the "here is how it works" line on mobile */
      .cmap { display: block; max-width: 420px; margin: 40px auto 0; }
      /* deep dive on phones: hide the full desktop graph, show the simplified mobile web (legend stays, shared) */
      .curriculum .gx2-board:not(.gx2-board--m), .curriculum .gx2-meta:not(.gx2-meta--m) { display: none; }
      .curriculum .gx2-board--m { display: block; max-width: 420px; margin: 18px auto 0; }
      .curriculum .gx2-meta--m { display: block; }
    }
    .curriculum__demo-intro {
      max-width: 620px;
      margin: 30px auto 0;
      font-family: var(--font-sans);
      font-size: 14px;
      line-height: 1.55;
      color: #aaa395;
    }
    .curriculum__demo-intro .accent { color: var(--color-red); }

    .curriculum__toggles {
      display: flex;
      gap: 48px;
      justify-content: center;
      margin-top: 50px;
    }

    .curriculum__toggle {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      font-family: var(--font-serif);
      font-size: 18px;
      color: #fff;
    }

    .curriculum__switch {
      width: 64px;
      height: 30px;
      border-radius: 30px;
      background: #cfcfcf;
    }

    .curriculum__map {
      position: relative;
      width: 100%;
      max-width: 1200px;
      aspect-ratio: 1200 / 620;
      margin: 60px auto 0;
    }

    .curriculum__svg { position: absolute; inset: 0; width: 100%; height: 100%; }

    .curriculum__col {
      position: absolute;
      transform: translateX(-50%);
      font-family: var(--font-sans);
      font-size: 16px;
      color: rgba(255, 255, 255, 0.75);
    }

    .curriculum__row {
      position: absolute;
      left: 0;
      transform: translateY(-50%);
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: var(--font-sans);
      font-size: 15px;
      color: rgba(255, 255, 255, 0.85);
    }

    .curriculum__row svg { width: 26px; height: 26px; color: rgba(255,255,255,0.7); flex-shrink: 0; }

    .curriculum__node {
      position: absolute;
      transform: translate(-50%, -50%);
      width: 150px;
      padding: 10px 12px;
      background: rgba(42, 42, 44, 0.92);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 12px;
      font-family: var(--font-sans);
      font-size: 12.5px;
      line-height: 1.3;
      color: #fff;
      text-align: center;
    }

    .curriculum__cta {
      display: inline-block;
      margin-top: 80px;
      background: var(--color-red);
      color: #fff;
      font-family: var(--font-sans);
      font-weight: 600;
      font-size: 15px;
      padding: 20px 42px;
      border-radius: 100px;
      text-decoration: none;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .curriculum__cta:hover { opacity: 0.92; transform: scale(1.03); }

    /* ===== Curriculum skill-map demo, re-skinned dark (tokens scoped to .curriculum) ===== */
    .curriculum {
      --pb-font: var(--font-sans);
      --pb-ink: #1c1a17;
      --pb-muted: #6f6a5e;
      --pb-faint: #aaa395;
      --radius: 10px;
      --pb-locked-bg: #ffffff;  --pb-locked-border: #e3ddce;
      --pb-got-bg: #26231e;  --pb-got-border: #26231e;  --pb-got-text: #faf6ec;   /* mastered = solid dark */
      --pb-edge-bg: #fde7e4;  --pb-edge-border: var(--color-red);  --pb-edge-text: #c20f17;  /* edge = red */
      --pb-line: #d9d3c4;   --pb-line-on: #26231e;
      --pb-btn-bg: #ffffff; --pb-btn-border: #ddd6c6; --pb-btn-hover: #efe9db;
      --pb-sel-bg: var(--color-red);   --pb-sel-border: var(--color-red);  --pb-sel-text: #ffffff;
    }
    .pb-demo-intro { display: flex; flex-direction: column; align-items: center; margin: 44px auto 0; }
    .pb-demo__badge {
      display: inline-block;
      background: var(--color-red); color: #fff;
      font-family: var(--font-sans); font-weight: 700; font-size: 12px; letter-spacing: 0.08em;
      text-transform: uppercase; line-height: 1; padding: 7px 13px 6px; border-radius: 6px;
      box-shadow: 0 4px 12px rgba(190, 10, 20, 0.30);
    }
    .pb-demo__arrow { width: 42px; height: auto; margin-top: 10px; transform: rotate(-6deg); }
    .pb-demo {
      position: relative;
      font-family: var(--pb-font);
      max-width: 1180px;
      margin: 26px auto 0;
      text-align: left;
      display: grid;
      grid-template-columns: 340px 1fr;
      gap: 56px;
      align-items: center;
    }
    .pb-demo__right { min-width: 0; }
    @media (max-width: 820px) {
      .pb-demo { grid-template-columns: 1fr; gap: 30px; max-width: 720px; }
    }
    .pb-qs { display: flex; flex-direction: column; gap: 14px; margin-bottom: 0; }
    .pb-q { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
    .pb-qt { flex: 1 1 250px; font-size: 15px; line-height: 1.45; color: var(--pb-ink); }
    .pb-opts { display: flex; gap: 7px; }
    .pb-demo button {
      font-family: var(--pb-font); font-size: 13px; font-weight: 600;
      padding: 9px 15px; border-radius: var(--radius);
      border: 1px solid var(--pb-btn-border); background: var(--pb-btn-bg); color: var(--pb-ink);
      cursor: pointer; transition: background .15s, border-color .15s, transform .05s;
    }
    .pb-demo button:hover { background: var(--pb-btn-hover); }
    .pb-demo button:active { transform: scale(.98); }
    .pb-demo button.sel { background: var(--pb-sel-bg); border-color: var(--pb-sel-border); color: var(--pb-sel-text); }
    .pb-map { display: block; width: 100%; }
    .pb-lane { font-size: 19px; font-family: var(--pb-font); fill: var(--pb-ink); }
    .pb-col { font-size: 15px; font-family: var(--pb-font); fill: var(--pb-faint); letter-spacing: .06em; text-transform: uppercase; }
    .pb-node text { font-size: 14px; font-family: var(--pb-font); transition: fill .25s ease; }
    .pb-node rect { transition: fill .25s ease, stroke .25s ease; }
    .pb-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 14px; font-size: 12px; color: var(--pb-muted); }
    .pb-legend span.item { display: flex; align-items: center; gap: 6px; }
    .pb-sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

    /* live / real-time callout */
    .curriculum__live {
      display: inline-flex; align-items: center; gap: 11px;
      margin: 40px auto 0; padding: 12px 20px; border-radius: 100px;
      background: #ffffff; border: 1px solid #e3ddce;
      font-family: var(--font-sans); font-size: 14px; line-height: 1.4; color: #46423a; max-width: 660px; text-align: left;
    }
    .curriculum__live-dot {
      width: 9px; height: 9px; border-radius: 50%; background: var(--color-red); flex: none;
      animation: livePulse 1.8s ease-out infinite;
    }
    @keyframes livePulse {
      0%   { box-shadow: 0 0 0 0 rgba(250,14,28,0.5); }
      70%  { box-shadow: 0 0 0 9px rgba(250,14,28,0); }
      100% { box-shadow: 0 0 0 0 rgba(250,14,28,0); }
    }

    /* ===== Marble Brain, collapsible knowledge galaxy ===== */
    .galaxy { max-width: 1000px; margin: 92px auto 0; text-align: center; }
    .galaxy__toggle {
      display: inline-flex; align-items: center; gap: 18px; width: 100%; max-width: 760px;
      margin: 0 auto; padding: 24px 30px; text-align: left;
      background: #ffffff; border: 1px solid #e3ddce; border-radius: 22px;
      cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .05s ease;
    }
    .galaxy__toggle:hover { border-color: #cbc3b0; box-shadow: 0 14px 34px rgba(0,0,0,0.07); }
    .galaxy__toggle:active { transform: scale(.995); }
    .galaxy__toggle-txt { flex: 1; }
    .galaxy__toggle-title {
      display: block; font-family: var(--font-serif); font-weight: 400;
      font-size: clamp(21px, 2.6vw, 31px); line-height: 1.16; letter-spacing: -0.5px; color: #1c1a17;
    }
    .galaxy__toggle-title .accent { color: var(--color-red); }
    .galaxy__toggle-hint { display: block; margin-top: 8px; font-family: var(--font-sans); font-size: 14px; color: #aaa395; }
    .galaxy__chev {
      flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--color-red); color: #fff;
      display: grid; place-items: center; transition: transform .4s cubic-bezier(.34,1.4,.5,1);
    }
    .galaxy__chev svg { width: 22px; height: 22px; }
    .galaxy.is-open .galaxy__chev { transform: rotate(180deg); }

    /* the band, only revealed when open (light paper, hand-drawn / organic) */
    .galaxy__panel {
      max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
      transition: max-height .6s ease, opacity .45s ease, margin-top .45s ease;
    }
    .galaxy.is-open .galaxy__panel { max-height: 2200px; opacity: 1; margin-top: 22px; }
    .galaxy__inner {
      background: #F4EFE4;
      border: 1px solid #e3ddce; border-radius: 24px; padding: 34px 30px 28px; text-align: left; color: #1c1a17;
    }
    /* explainer: 3 illustrated steps */
    .galaxy__explain-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; letter-spacing: -0.6px; color: #1c1a17; margin: 0 0 12px; }
    .galaxy__subtitle { font-family: var(--font-sans); font-weight: 400; font-size: 18px; line-height: 1.4; color: #1c1a17; margin: 0 0 16px; max-width: 700px; }
    .galaxy__body { font-family: var(--font-sans); font-weight: 400; font-size: 16px; line-height: 1.62; color: #6f6a5e; margin: 0 0 24px; max-width: 700px; }
    /* connected curriculum map (static, no physics, no drag) */
    .gx2-board { border: 1px solid #e3ddce; border-radius: 16px; background: #FBF8F1; padding: 12px 10px; }
    .gx2-board--m, .gx2-meta--m { display: none; }   /* simplified mobile web, shown only under the phone breakpoint */
    .gx2-svg { display: block; width: 100%; height: auto; }
    .gx2-meta { font-family: var(--font-sans); font-size: 14px; line-height: 1.5; color: #6f6a5e; text-align: center; margin: 16px auto 0; max-width: 760px; }
    .gx2-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin-top: 14px; font-family: var(--font-sans); font-size: 12.5px; color: #6f6a5e; }
    .gx2-legend span { display: inline-flex; align-items: center; gap: 7px; }
    @keyframes gx2Pulse { 0%, 100% { transform: scale(1); opacity: .92; } 50% { transform: scale(1.22); opacity: .42; } }
    @media (prefers-reduced-motion: reduce) { .gx2-board [style*="gx2Pulse"] { animation: none !important; } }
    .galaxy__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .galaxy__step { background: #FBF8F1; border: 1px solid rgba(0,0,0,0.06); border-radius: 16px; padding: 22px 20px; }
    .galaxy__step-ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; background: rgba(250,14,28,0.10); color: var(--color-red); margin-bottom: 14px; }
    .galaxy__step-ico svg { width: 22px; height: 22px; }
    .galaxy__step-title { font-family: var(--font-sans); font-weight: 600; font-size: 15px; color: #1c1a17; margin: 0 0 7px; }
    .galaxy__step-text { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.55; color: #6f6a5e; margin: 0; }
    .galaxy__try { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.5; color: #aaa395; margin: 30px 0 14px; padding-top: 26px; border-top: 1px solid #e3ddce; }
    .galaxy__try .accent { color: var(--color-red); }

    .galaxy__modes { display: inline-flex; background: #fff; border: 1px solid #e3ddce; border-radius: 11px; padding: 3px; }
    .galaxy__modes button { font-family: var(--font-sans); font-size: 13px; color: #6f6a5e; background: transparent; border: 0; border-radius: 8px; padding: 8px 15px; cursor: pointer; transition: background .15s, color .15s; }
    .galaxy__modes button.on { background: #1c1a17; color: #fff; }
    .galaxy__count { font-family: var(--font-serif); font-weight: 400; font-size: clamp(22px, 3vw, 30px); margin: 16px 0 0; color: #1c1a17; }
    .galaxy__count b { color: var(--color-red); }
    .galaxy__sub { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.55; color: #6f6a5e; margin: 6px 0 14px; max-width: 640px; }
    .galaxy__legend { display: flex; flex-wrap: wrap; gap: 9px 16px; font-family: var(--font-sans); font-size: 12px; color: #6f6a5e; margin-bottom: 12px; }
    .galaxy__legend .gl { display: inline-flex; align-items: center; gap: 6px; }
    .galaxy__sw { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
    .galaxy__lgbreak { flex-basis: 100%; height: 0; }
    .galaxy__stage { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid #e3ddce; }
    .galaxy__stage canvas { display: block; width: 100%; height: 440px; cursor: grab; touch-action: none; background: #FBF8F1; }
    .galaxy__stage canvas:active { cursor: grabbing; }
    .galaxy__card { margin-top: 14px; min-height: 128px; background: #FBF8F1; border: 1px solid #e3ddce; border-radius: 14px; padding: 15px 17px; font-family: var(--font-sans); font-size: 14px; color: #6f6a5e; line-height: 1.55; }
    .galaxy__card .nm { color: #1c1a17; font-weight: 600; font-size: 17px; }
    .galaxy__card .meta { font-size: 12px; color: #aaa395; margin: 3px 0 9px; }
    .galaxy__card .row { font-size: 13px; margin: 2px 0; }
    .galaxy__card .lab { color: #aaa395; }
    .galaxy__pill { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 1px; }
    .galaxy__bar { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
    .galaxy__bar button { font-family: var(--font-sans); font-size: 12px; color: #6f6a5e; background: #fff; border: 1px solid #e3ddce; border-radius: 8px; padding: 7px 12px; cursor: pointer; transition: background .15s; }
    .galaxy__bar button:hover { background: #efe9db; }
    .galaxy__hint { font-family: var(--font-sans); font-size: 12px; color: #aaa395; }
    @media (max-width: 760px) {
      .galaxy__steps { grid-template-columns: 1fr; gap: 12px; }
    }
    @media (max-width: 640px) {
      .galaxy__stage canvas { height: 360px; }
      .galaxy__toggle { padding: 18px 20px; gap: 12px; }
      .galaxy__chev { width: 40px; height: 40px; }
    }

    /* ===== SIGNUP / WAITLIST ===== */
    /* ===== BOTTOM BLOCK, manifesto / team / principles (light paper, fades to dark before signup) ===== */
    .accent-comma, .accent-dot { color: var(--color-red); }

    /* Parent testimonials, auto-scrolling marquee on light paper */
    /* ===== PARENTS IN THE LOOP ===== */
    .loop { background: #F4EFE4; padding: 92px 24px 130px; text-align: center; }
    .loop__inner { max-width: 1040px; margin: 0 auto; }
    .loop__heading { font-family: var(--font-serif); font-weight: 400; font-size: clamp(60px, 10.5vw, 150px); line-height: 1.02; letter-spacing: -0.04em; color: #1c1a17; margin: 0; }
    .loop__heading .accent { color: var(--color-red); }
    .loop__sub { font-family: var(--font-sans); font-size: 17px; line-height: 1.6; color: #6f6a5e; max-width: 640px; margin: 24px auto 0; }
    /* Circular interactive loop */
    .loop__interactive { display: grid; grid-template-columns: minmax(340px, 420px) 1fr; gap: 52px; align-items: center; max-width: 980px; margin: 64px auto 0; text-align: left; }
    .loop__ring { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1 / 1; margin: 0 auto; }
    .loop__ring > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
    .loop__ring-track { fill: none; stroke: #d4cab6; stroke-width: 1.6; stroke-dasharray: 1.5 9; stroke-linecap: round; filter: url(#loopSketch); animation: loopRingFlow 3.2s linear infinite; }
    .loop__ring-chev { fill: none; stroke: #bdb3a0; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; filter: url(#loopSketch); animation: loopChevPulse 2.4s ease-in-out infinite; }
    .loop__ring-chev:nth-of-type(2) { animation-delay: 0.8s; }
    .loop__ring-chev:nth-of-type(3) { animation-delay: 1.6s; }
    @keyframes loopRingFlow { to { stroke-dashoffset: -10.5; } }
    @keyframes loopChevPulse { 0%, 60%, 100% { opacity: 0.5; stroke-width: 2.3; } 20% { opacity: 1; stroke-width: 2.7; } }
    .loop__node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 9px; width: 130px; background: none; border: none; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .loop__node-chip { width: 58px; height: 58px; border-radius: 50%; background: #FBF8F1; border: 1px solid rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: center; color: #8c8676; box-shadow: 0 3px 12px rgba(0,0,0,0.06); transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease; }
    .loop__node-chip svg { width: 27px; height: 27px; overflow: visible; filter: url(#loopSketch); }
    .loop__node-label { font-family: var(--font-sans); font-weight: 600; font-size: 13px; line-height: 1.25; color: #8c8676; text-align: center; transition: color .25s ease; }
    .loop__node:hover .loop__node-chip { transform: scale(1.05); color: var(--color-red); }
    .loop__node.is-active .loop__node-chip { background: var(--color-red); border-color: var(--color-red); color: #fff; box-shadow: 0 7px 20px rgba(190,10,20,0.32); transform: scale(1.08); }
    .loop__node.is-active .loop__node-label { color: #1c1a17; }
    .loop__ring-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: #aaa395; font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; pointer-events: none; }
    .loop__ring-center svg { width: 22px; height: 22px; animation: loopSpin 14s linear infinite; }
    @keyframes loopSpin { to { transform: rotate(360deg); } }
    @media (prefers-reduced-motion: reduce) { .loop__ring-center svg, .loop__ring-track, .loop__ring-chev { animation: none; } }
    .loop__stage { position: relative; min-height: 330px; }
    .loop__panel { display: none; }
    .loop__panel.is-active { display: block; animation: loopFade .42s ease; }
    @keyframes loopFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
    .loop__videocard { padding: 0; overflow: hidden; }
    .loop__videocard .loop__card-label { position: absolute; top: 14px; left: 16px; z-index: 2; margin: 0; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.45); }
    .loop__videocard { position: relative; }
    .loop__video { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; background: #000; border-radius: 14px; }
    .loop__card { background: #FBF8F1; border: 1px solid rgba(0,0,0,0.06); border-radius: 20px; padding: 24px; box-shadow: 0 2px 16px rgba(0,0,0,0.05); }
    .loop__card-label { font-family: var(--font-sans); font-weight: 600; font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; color: #aaa395; margin-bottom: 16px; }
    /* step 01 onboarding questionnaire mock (parent answers, no chat), auto-playing loop */
    .onb { background: #F1EBDD; display: flex; flex-direction: column; gap: 13px; text-align: left; min-height: 466px; }
    .onb .loop__card-label { margin-bottom: 2px; }
    .onb__bar { height: 6px; border-radius: 100px; background: #E2DCCC; overflow: hidden; }
    .onb__bar-fill { display: block; height: 100%; width: 30%; background: var(--color-red); border-radius: 100px; transition: width .6s cubic-bezier(.4,0,.2,1); }
    .onb__q { font-family: var(--font-serif); font-weight: 400; font-size: 25px; line-height: 1.18; letter-spacing: -0.4px; color: #1c1a17; margin: 2px 0 4px; text-wrap: balance; transition: opacity .42s ease, transform .42s ease; }
    .onb__opts { display: flex; flex-direction: column; gap: 9px; transition: opacity .42s ease, transform .42s ease; }
    .onb.is-swapping .onb__q, .onb.is-swapping .onb__opts { opacity: 0; transform: translateY(7px); }
    .onb__opt { font-family: var(--font-sans); font-weight: 500; font-size: 15px; color: #46423a; background: #FCFAF4; border: 1.5px solid rgba(0,0,0,0.09); border-radius: 100px; padding: 13px 18px; transition: background .28s ease, border-color .28s ease, color .28s ease, transform .16s ease; }
    .onb__opt--on { background: var(--color-red); border-color: var(--color-red); color: #fff; }
    .onb__opt.is-press { transform: scale(0.97); }
    .onb__opts--wrap { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .onb__opt--chip { padding: 9px 14px; font-size: 14px; }
    .onb__continue { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; background: #1c1a17; color: #fff; font-family: var(--font-sans); font-weight: 600; font-size: 14px; padding: 13px 18px; border-radius: 100px; }
    .onb__continue svg { width: 17px; height: 17px; color: var(--color-red); }
    .loop__email-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
    .loop__email-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--color-red); color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; flex: none; }
    .loop__email-from { font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: #1c1a17; }
    .loop__email-meta { font-family: var(--font-sans); font-size: 12px; color: #aaa395; }
    .loop__email-subject { font-family: var(--font-serif); font-size: 20px; line-height: 1.25; color: #1c1a17; margin-bottom: 10px; }
    .loop__email-body { font-family: var(--font-sans); font-size: 14px; line-height: 1.6; color: #6f6a5e; margin-bottom: 14px; }
    .loop__email-tip { font-family: var(--font-sans); font-size: 14px; line-height: 1.55; color: #46423a; background: rgba(250,14,28,0.06); border-left: 3px solid var(--color-red); border-radius: 8px; padding: 12px 14px; }
    .loop__email-tip b { color: #1c1a17; }
    @media (max-width: 760px) {
      .loop { padding: 84px 22px 90px; }
      .loop__interactive { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
      .loop__ring { max-width: 330px; }
      .loop__stage { min-height: 0; }
    }

    .testimonials { background: #F4EFE4; padding: 72px 0; overflow: hidden; position: relative; }
    .testimonials__track { display: flex; width: max-content; animation: testimonialScroll 60s linear infinite; }
    .testimonials__track:hover { animation-play-state: paused; }
    .testimonials__scroll { display: flex; gap: 22px; padding-right: 22px; }
    .testimonials__card {
      flex-shrink: 0; width: 360px; background: #FBF8F1; border: 1px solid rgba(0,0,0,0.06);
      border-radius: 20px; padding: 30px 32px; display: flex; flex-direction: column;
      justify-content: space-between; gap: 20px; box-shadow: 0 2px 14px rgba(0,0,0,0.05);
    }
    .testimonials__quote { font-family: var(--font-serif); font-weight: 400; font-size: 18px; line-height: 1.45; letter-spacing: -0.2px; color: #46423a; margin: 0; }
    .testimonials__author { font-family: var(--font-sans); font-weight: 600; font-size: 13px; color: var(--color-red); margin: 0; }
    @keyframes testimonialScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
    @media (prefers-reduced-motion: reduce) { .testimonials__track { animation: none; } }
    @media (max-width: 760px) { .testimonials { padding: 56px 0; } .testimonials__card { width: 300px; padding: 26px; } .testimonials__quote { font-size: 16px; } }

    /* Pioneers, dark CTA band between the (light) curriculum and manifesto */
    .pioneers { background: #141414; padding: 130px 24px 96px; text-align: center; }
    .pioneers__container {
      max-width: 980px; margin: 0 auto;
      display: flex; flex-direction: column; align-items: center; gap: 44px;
    }
    .pioneers__heading {
      font-family: var(--font-serif); font-weight: 400;
      font-size: clamp(64px, 11vw, 150px); line-height: 1.02; letter-spacing: -0.045em;
      color: #fff; margin: 0;
    }
    .pioneers__heading .accent { color: var(--color-red); }
    .pioneers__br-m { display: none; }
    .pioneers__text { max-width: 560px; display: flex; flex-direction: column; gap: 20px; }
    .pioneers__text p {
      font-family: var(--font-sans); font-weight: 400;
      font-size: 16px; line-height: 1.55; color: rgba(255,255,255,0.82); margin: 0;
    }
    .pioneers__body { display: flex; flex-direction: column; align-items: center; gap: 40px; width: 100%; }
    .pioneers__lead { max-width: 600px; font-family: var(--font-sans); font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.82); margin: 0; }
    .pioneers__lead--close { color: #fff; font-size: 18px; }
    .pioneers__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: 100%; max-width: 760px; }
    .pioneers__pillar { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
    .pioneers__pillar-icon {
      width: 66px; height: 66px;
      display: flex; align-items: center; justify-content: center;
    }
    .pioneers__pillar-icon svg { width: 100%; height: 100%; overflow: visible; }
    .pioneers__pillar-title { font-family: var(--font-serif); font-weight: 400; font-size: 22px; line-height: 1.15; color: #fff; margin: 2px 0 0; }
    .pioneers__pillar-text { font-family: var(--font-sans); font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.68); margin: 0; max-width: 220px; }
    @media (max-width: 760px) {
      .pioneers__pillars { grid-template-columns: 1fr; gap: 30px; }
      .pioneers__body { gap: 32px; }
      .pioneers__lead { font-size: 16px; }
    }
    .pioneers__cta {
      display: inline-block; background: var(--color-red); color: #fff;
      font-family: var(--font-sans); font-weight: 600; font-size: 15px;
      padding: 18px 42px; border-radius: 100px; text-decoration: none;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }
    .pioneers__cta:hover { opacity: 0.92; transform: scale(1.03); }
    .pioneers__sparkles { width: 141px; height: 149px; margin-top: 4px; }
    .pioneers__sparkles svg { width: 100%; height: 100%; overflow: visible; }
    .pioneers__star-small { animation: pioneersFlicker 0.8s steps(1) infinite; }
    @keyframes pioneersFlicker {
      0%,47%,58%,76%,82%,100% { opacity: 1; }
      7%,18%,50%,54%,78% { opacity: 0; }
      12%,22%,53% { opacity: 1; }
    }
    @media (prefers-reduced-motion: reduce) { .pioneers__star-small { animation: none; } }
    /* easter egg: click the flickering star → hearts float up */
    .heart-burst {
      position: fixed; width: 70px; height: 70px; pointer-events: none; z-index: 9999;
      transform: translate(-50%, -50%); animation: heartFly 1.2s ease-out forwards;
    }
    .heart-burst svg { width: 100%; height: 100%; }
    @keyframes heartFly {
      0%   { opacity: 1; transform: translate(-50%, -50%) scale(0.2) rotate(0deg) translateX(0) translateY(0); }
      30%  { opacity: 1; transform: translate(-50%, -50%) scale(var(--scale, 1)) rotate(var(--rotation, 0deg)) translateX(var(--drift, 0px)) translateY(-60px); }
      100% { opacity: 0; transform: translate(-50%, -50%) scale(var(--scale, 1)) rotate(var(--rotation, 0deg)) translateX(var(--drift, 0px)) translateY(-180px); }
    }
    @media (max-width: 760px) {
      .pioneers { padding: 84px 22px 72px; }
      .pioneers__container { gap: 36px; }
      /* unified, smaller display-heading size on mobile so 'Build confidence.' fits two lines and all the big titles stay consistent */
      .intro__heading, .apps__heading, .curriculum__heading, .how__title, .pioneers__heading { font-size: 46px; line-height: 1.06; }
      .pioneers__br-m { display: inline; }
      .pioneers__text p { font-size: 15px; }
    }

    /* Manifesto */
    .manifesto { background: #F4EFE4; padding: 100px 24px 80px; text-align: center; }
    .manifesto__container { max-width: 1000px; margin: 0 auto; }
    .manifesto__text {
      font-family: var(--font-serif); font-weight: 400;
      font-size: clamp(28px, 4vw, 46px); line-height: 1.24; letter-spacing: -0.5px;
      color: #1c1a17; margin: 0 0 40px;
    }
    .manifesto__text--bold { margin-bottom: 0; }
    .manifesto__better { display: inline; position: relative; }
    .manifesto__better-svg {
      position: absolute; bottom: -6px; left: -4px; width: calc(100% + 8px);
      height: 10px; overflow: visible; pointer-events: none;
    }
    .manifesto__better-line { fill: none; stroke: var(--color-red); stroke-width: 2.5; stroke-linecap: round; }

    /* Team */
    .team { background: #F4EFE4; padding: 40px 24px 100px; }
    .team__container { max-width: 900px; margin: 0 auto; position: relative; display: flex; flex-direction: column; align-items: center; }
    .team__heading {
      font-family: var(--font-serif); font-weight: 400;
      font-size: clamp(48px, 9vw, 132px); line-height: 1.02; letter-spacing: -3px;
      text-align: center; margin: 0 0 44px; color: #1c1a17;
    }
    .team__photo-wrapper {
      position: relative; width: 100%; max-width: 900px; border-radius: 28px; overflow: hidden;
      box-shadow: 0 22px 55px rgba(0,0,0,0.16); margin-bottom: 30px;
    }
    .team__photo { width: 100%; height: auto; display: block; }
    .team__dot {
      display: block; position: absolute; width: 22px; height: 22px; background: var(--color-red);
      border: 2px solid #fff; border-radius: 50%; cursor: pointer; z-index: 2; padding: 0;
      transform: translate(-50%, -50%); -webkit-appearance: none; appearance: none;
      box-shadow: 0 2px 10px rgba(0,0,0,0.3); transition: transform .2s ease;
    }
    .team__dot:hover { transform: translate(-50%, -50%) scale(1.18); }
    .team__dot::before { content: ''; position: absolute; top: -19px; left: -19px; width: 60px; height: 60px; border-radius: 50%; }
    .team__dot.active { background: #fff; border-color: var(--color-red); }
    .team__dot-ping {
      position: absolute; top: -2px; left: -2px; width: 100%; height: 100%; border-radius: 50%;
      border: 2px solid var(--color-red); animation: dotPing 2.5s ease-out infinite; pointer-events: none;
    }
    .team__dot.active .team__dot-ping { animation: none; }
    @keyframes dotPing { 0% { transform: scale(1); opacity: .8; } 70% { transform: scale(2.3); opacity: 0; } 100% { transform: scale(2.3); opacity: 0; } }
    .team__bio-reveal { width: 100%; max-width: 640px; min-height: 150px; text-align: center; }
    .team__bio-card { animation: bioFadeIn .35s ease-out; }
    .team__bio-card p { margin: 0; }
    .team__bio-card p:first-child { margin-bottom: 10px; }
    .team__bio-card .team__name { color: var(--color-red); font-family: var(--font-serif); font-weight: 400; font-size: 28px; letter-spacing: -0.5px; }
    .team__bio-card .team__role { font-family: var(--font-sans); font-weight: 600; font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; color: #aaa395; margin-left: 10px; }
    .team__bio-card .team__bio-desc { font-family: var(--font-sans); font-size: 17px; line-height: 1.6; color: #46423a; }
    @keyframes bioFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
    .team__hint { font-family: var(--font-sans); font-size: 13px; color: #aaa395; margin: 0 0 18px; }

    /* Principles, fades to dark at the bottom so the signup below sits seamlessly on dark */
    .principles {
      background: #F4EFE4;
      padding: 40px 24px 90px; text-align: center;
    }
    .principles__container { max-width: 1060px; margin: 0 auto; }
    .principles__heading {
      font-family: var(--font-serif); font-weight: 400;
      font-size: clamp(44px, 8vw, 120px); line-height: 1.02; letter-spacing: -3px;
      color: #1c1a17; margin: 0 0 56px;
    }
    .principles__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .principles__card {
      background: #FBF8F1; border: 1px solid rgba(0,0,0,0.06); border-radius: 22px;
      padding: 36px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center;
      min-height: 224px; text-align: center;
    }
    .principles__card-title { font-family: var(--font-serif); font-weight: 400; font-size: 23px; line-height: 1.12; letter-spacing: -0.5px; color: #1c1a17; margin: 0 0 14px; }
    .principles__card-text { font-family: var(--font-sans); font-size: 14px; line-height: 1.5; color: #6f6a5e; max-width: 200px; }
    /* balanced line breaks on display text; avoids orphan words at line ends */
    .intro__heading, .apps__heading, .curriculum__heading, .pioneers__heading, .principles__heading,
    .principles__card-title, .team__heading, .manifesto__text, .signup__heading,
    .pioneers__pillar-title, .pioneers__lead { text-wrap: balance; }
    .curriculum__text, .pioneers__pillar-text { text-wrap: pretty; }
    .manifesto-toggle {
      display: inline-block; margin-top: 54px; background: #e7e1d3; color: #46423a;
      border: none; border-radius: 100px; padding: 18px 38px; font-family: var(--font-sans);
      font-weight: 600; font-size: 14px; cursor: pointer; transition: background .2s ease;
    }
    .manifesto-toggle:hover { background: #ddd6c5; }

    /* Expandable manifesto, dark panel that bridges into the dark signup */
    .manifesto-full { max-height: 0; overflow: hidden; transition: max-height .6s ease; background: #141414; }
    .manifesto-full.is-open { max-height: 2600px; }
    .manifesto-full__container { max-width: 700px; margin: 0 auto; padding: 0 24px; text-align: center; }
    .manifesto-full__content { padding: 96px 0 110px; }
    .manifesto-full__content p { font-family: var(--font-serif); font-size: clamp(20px, 2.4vw, 24px); line-height: 1.65; color: rgba(255,255,255,0.86); margin: 0 0 24px; }
    .manifesto-full__content p:last-child { margin-bottom: 0; }
    .manifesto-full__closing { font-weight: 400 !important; font-size: 30px !important; color: #fff !important; margin-top: 24px !important; }
    .manifesto-full__gif { width: 200px; height: auto; margin: 30px auto 0; display: block; border-radius: 14px; }

    @media (max-width: 760px) {
      .principles__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
      .principles__card { min-height: 0; padding: 28px 20px; }
      .manifesto { padding: 72px 22px 60px; }
    }

    .signup {
      background: #F4EFE4;
      color: #1c1a17;
      text-align: center;
      padding: 80px 24px;
    }
    .signup__container {
      max-width: 440px; margin: 0 auto;
      display: flex; flex-direction: column; align-items: center; gap: 36px;
    }
    .signup__zap {
      position: relative;
      width: 43px;
      height: 76px;
      display: block;
    }
    .signup__zap svg { width: 100%; height: 100%; display: block; overflow: visible; }

    /* A band of light slides straight down while an SVG mask clips it to the
       bolt's stroke, so the reflection only ever appears on the red line. A
       dash travelling the path was tried first and rejected: the path doubles
       back on itself, so the light traced the outline instead of sweeping. */
    .signup__zap-glint {
      opacity: 0;
    }

    .signup__zap.is-glinting .signup__zap-glint {
      animation: zapGlint 0.55s cubic-bezier(0.4, 0, 0.5, 1);
    }

    @keyframes zapGlint {
      0%   { transform: translateY(0); opacity: 0; }
      16%  { opacity: 1; }
      84%  { opacity: 1; }
      100% { transform: translateY(108px); opacity: 0; }
    }

    @media (prefers-reduced-motion: reduce) {
      .signup__zap.is-glinting .signup__zap-glint { animation: none; }
    }
    .signup__heading {
      font-family: var(--font-serif);
      font-weight: 400;
      font-size: clamp(34px, 4.5vw, 56px);
      line-height: 1.05;
      letter-spacing: -1px;
      color: #1c1a17;
      margin: 0;
    }
    .signup__heading .accent { color: var(--color-red); }
    .signup__form {
      display: flex; flex-direction: column; gap: 12px;
      width: 100%; max-width: 400px; margin: 0 auto;
    }
    .signup__input {
      width: 100%;
      background: #EDE7DA;
      border: 1px solid transparent;
      border-radius: 100px;
      padding: 17px 24px;
      font-family: var(--font-sans);
      font-size: 15px;
      color: #1c1a17;
      outline: none;
      transition: border-color 0.2s ease, background 0.2s ease;
    }
    .signup__input::placeholder { color: #998f7c; }
    .signup__input:focus { border-color: var(--color-red); background: #F3EEE3; }
    .signup__submit {
      width: 100%;
      background: #1c1a17;
      color: #fff;
      font-family: var(--font-sans);
      font-weight: 600;
      font-size: 15px;
      padding: 17px 38px;
      border: none;
      border-radius: 100px;
      cursor: pointer;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }
    .signup__submit:hover { opacity: 0.92; transform: scale(1.02); }
    .signup__cta { display: inline-block; width: auto; text-decoration: none; background: var(--color-red); padding: 18px 42px; }
    .signup__note {
      margin: 0;
      font-family: var(--font-sans);
      font-size: 13px;
      color: #998f7c;
    }
    .signup__success {
      margin: 0;
      font-family: var(--font-sans);
      font-size: 18px;
      color: #1c1a17;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .signup__success.is-visible { opacity: 1; transform: translateY(0); }
    .signup__success .accent { color: var(--color-red); }
    .signup__error {
      margin: 0;
      font-family: var(--font-sans); font-weight: 600; font-size: 14px;
      color: var(--color-red);
    }

    /* waving Marble mascot, sitting just below the signup (light, like the live LP) */
    .character-bottom { background: #F4EFE4; display: flex; justify-content: center; padding: 0 20px 40px; margin-top: -104px; }
    .character-bottom__img { width: 360px; max-width: 72%; height: auto; }
    @media (max-width: 760px) { .character-bottom { margin-top: -72px; } .character-bottom__img { width: 240px; } }

    /* ===== FOOTER (links left, logo right, matches the live LP) ===== */
    .site-footer {
      background: #0c0c0c;
      padding: 100px 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
    .site-footer__container {
      max-width: 1400px; margin: 0 auto;
      display: flex; align-items: center; justify-content: center; gap: 240px;
    }
    .site-footer__links { display: flex; flex-direction: column; gap: 16px; }
    .site-footer__links a {
      font-family: var(--font-serif); font-weight: 400;
      font-size: 17px; line-height: 1.3; letter-spacing: -0.01em;
      color: #fff; text-decoration: none; transition: opacity 0.2s ease;
    }
    .site-footer__links a:hover { opacity: 0.7; }
    .site-footer__logo {
      display: block; flex-shrink: 0; width: 150px; height: 36px;
      background: #fff;
      -webkit-mask: url('/explore/assets/images/explore-wordmark.svg') no-repeat center / contain;
      mask: url('/explore/assets/images/explore-wordmark.svg') no-repeat center / contain;
    }
    @media (max-width: 1024px) { .site-footer__container { gap: 120px; } }
    @media (max-width: 760px) {
      .site-footer { padding: 72px 24px; }
      .site-footer__container { flex-direction: column; gap: 40px; text-align: center; }
      .site-footer__links { align-items: center; }
    }

    @media (max-width: 760px) {
      .curriculum__map { aspect-ratio: 1; }
      .curriculum__row { font-size: 11px; gap: 6px; }
      .curriculum__row svg { width: 18px; height: 18px; }
      .curriculum__node { width: 90px; font-size: 9px; padding: 6px 7px; border-radius: 8px; }
      .curriculum__col { font-size: 11px; }
    }

    /* ===== JELLYFISH (a clicked fish becomes one and drifts up) ===== */
    .fish.is-jelly {
      pointer-events: none;
      filter: drop-shadow(0 0 9px rgba(255,140,170,0.85)) drop-shadow(0 0 20px rgba(250,14,28,0.4));
    }
    .fish.is-jelly .fish__flip { transform: none !important; }
    .fish.is-jelly .fish__flip svg {
      animation: jellyPulse 1.15s ease-in-out infinite;
      transform-origin: 50% 28%;
    }

    @keyframes jellyPulse {
      0%, 100% { transform: scaleY(1) scaleX(1); }
      50%      { transform: scaleY(0.84) scaleX(1.10); }
    }

    @keyframes jellyFloat {
      0%   { transform: translateY(0); opacity: 1; }
      12%  { transform: translateY(-8px); opacity: 1; }
      100% { transform: translateY(-260px); opacity: 0; }
    }

    .apps__bucket-icon {
      width: 18px; height: 18px; flex: none;
      display: inline-flex; align-items: center; justify-content: center;
    }
    .apps__bucket-icon svg { width: 18px; height: 18px; display: block; }

    @media (max-width: 768px) {
      .intro {
        padding: 90px 20px 60px;
      }

      .intro__logos {
        gap: 32px;
      }

      .intro__logos img {
        height: 32px;
      }

      .intro__logos img.logo--seal {
        height: 44px;
      }

      .wave-band svg {
        height: 130px;
      }

      .apps {
        padding: 80px 20px 100px;
      }
    }
  
    /* legal name, required on the site for Meta business verification */
    .legal-line { margin: 56px 0 0; text-align: center; font-family: var(--font-sans, Merel, -apple-system, sans-serif); font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, 0.45); }
    @media (max-width: 760px) { .legal-line { margin-top: 40px; } }
    .learn__note { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.45; color: #8c8676; margin: 22px auto 0; max-width: 620px; }
