    /* ========================================================================
       Brasse-Bouillon — Variant A "Kinetic"
       Cinematic motion: huge mascot, scrolling marquee, scroll progress rail,
       magnetic buttons, animated connector lines between journey steps.
       Display: Fraunces. Body: Inter.
       ====================================================================== */

    :root {
      --paper: #f1e3bf;
      --paper-deep: #e6cf95;
      --foam: #fbf3da;
      --ink: #1a110a;
      --ink-soft: #3a2818;
      --copper: #c5742d;
      --copper-deep: #8d4a13;
      --moss: #4a5a2b;
      --line: rgba(58, 40, 24, 0.16);
      --muted: #6b5a4c;

      --color-primary: var(--copper);
      --color-secondary: var(--copper-deep);
      --color-deep: var(--ink-soft);
      --color-ink: var(--ink);
      --color-bg: var(--paper);
      --color-card: #ffffff;
      --color-text: var(--ink);
      --color-muted: var(--muted);
      --color-success: #5d6e2a;
      --color-warning: #d9b364;
      --color-info: #f3f3f3;
      --color-focus: var(--copper);
      --color-error: #8a3a1a;
      --color-accent: var(--copper);
      --color-accent-soft: rgba(197, 116, 45, 0.16);

      --shadow-sm: 0 1px 2px rgba(40, 22, 10, 0.06);
      --shadow-md: 0 12px 28px rgba(60, 35, 16, 0.16);
      --shadow-lg: 0 28px 60px rgba(60, 35, 16, 0.22);

      --radius-sm: 8px;
      --radius-md: 16px;
      --radius-lg: 24px;
      --radius-xl: 36px;

      --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
      --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
      --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-padding-top: 96px; }

    body {
      margin: 0;
      font-family: var(--font-body);
      color: var(--ink);
      /* Warm, golden "glass of beer" backdrop: pale near the top (foam),
         deepening to amber/gold lower down. */
      background-color: #e1bf72;
      background-image:
        radial-gradient(ellipse at 10% -8%, rgba(255, 246, 214, 0.92) 0%, transparent 42%),
        radial-gradient(ellipse at 96% 8%, rgba(228, 190, 110, 0.95) 0%, transparent 40%),
        radial-gradient(circle at 50% 122%, rgba(186, 110, 40, 0.4) 0%, transparent 62%),
        linear-gradient(to bottom, rgba(244, 232, 194, 0.66) 0%, rgba(226, 187, 104, 0.42) 52%, rgba(208, 160, 72, 0.62) 100%);
      background-attachment: fixed;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    body::before {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.2 0 0 0 0 0.1 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
      opacity: 0.4;
    }

    main, header, footer { position: relative; z-index: 1; }

    /* Isolate the hero so its high-contrast mascot can't ghost into the
       fixed background layers on some GPUs (compositing artifact). */
    .hero {
      isolation: isolate;
    }

    ::selection { background: var(--copper); color: var(--foam); }

    .skip-link {
      position: absolute;
      left: -9999px;
      top: 0;
      background: var(--ink);
      color: var(--foam);
      border-radius: var(--radius-sm);
      padding: 10px 14px;
      font-weight: 700;
      z-index: 1200;
    }
    .skip-link:focus { left: 12px; top: 12px; }

    /* ---- Scroll progress rail (Kinetic-specific) ---- */
    .scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: rgba(26, 17, 10, 0.08);
      z-index: 200;
    }

    .scroll-progress span {
      display: block;
      height: 100%;
      width: 100%;
      background: linear-gradient(90deg, var(--copper) 0%, var(--copper-deep) 50%, var(--moss) 100%);
      transform-origin: left center;
      transform: scaleX(0);
      animation: scrollFill 1s linear both;
      animation-timeline: scroll(root);
    }

    @keyframes scrollFill {
      to { transform: scaleX(1); }
    }

    /* ---- Header ---- */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 252, 244, 0.82);
      backdrop-filter: blur(14px) saturate(1.15);
      -webkit-backdrop-filter: blur(14px) saturate(1.15);
      border-bottom: 1px solid var(--line);
      padding: 14px 24px;
    }

    .header-inner {
      max-width: 1240px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .header-logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }

    .header-logo img {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      object-fit: contain;
      background: #fff;
      border: 1px solid var(--line);
      transition: transform 0.4s var(--ease-out-soft);
    }

    .header-logo:hover img { transform: rotate(-12deg) scale(1.08); }

    .header-logo span {
      font-family: var(--font-display);
      font-size: 1.5rem;
      font-weight: 700;
      letter-spacing: -0.015em;
      color: var(--ink);
      font-variation-settings: 'SOFT' 50, 'opsz' 144;
    }

    .header-nav {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .header-nav a {
      color: var(--ink-soft);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      position: relative;
      transition: color 0.2s var(--ease-out-soft);
    }

    .header-nav a:not(.header-cta)::after {
      content: '';
      position: absolute;
      left: 0; right: 0; bottom: -6px;
      height: 2px;
      background: var(--copper);
      border-radius: 2px;
      transform: scaleX(0);
      transform-origin: left center;
      transition: transform 0.3s var(--ease-out-soft);
    }

    .header-nav a:not(.header-cta):hover { color: var(--ink); }
    .header-nav a:not(.header-cta):hover::after { transform: scaleX(1); }

    .header-nav .header-cta {
      padding: 11px 22px;
      border-radius: 999px;
      background: var(--ink);
      color: var(--foam);
      font-weight: 600;
      transition: background-color 0.3s var(--ease-out-soft), transform 0.2s var(--ease-out-soft);
    }

    .header-nav .header-cta:hover {
      background: var(--copper);
      transform: translateY(-2px) scale(1.03);
    }

    /* Burger toggle — hidden on desktop, revealed at the mobile breakpoint. */
    .nav-toggle {
      display: none;
      width: 44px;
      height: 44px;
      align-items: center;
      justify-content: center;
      background: transparent;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      cursor: pointer;
      color: var(--ink);
      transition: background-color 0.2s var(--ease-out-soft);
    }

    .nav-toggle:hover { background: rgba(58, 40, 24, 0.06); }

    .nav-toggle__bars,
    .nav-toggle__bars::before,
    .nav-toggle__bars::after {
      content: '';
      display: block;
      width: 20px;
      height: 2px;
      border-radius: 2px;
      background: var(--ink);
      transition: transform 0.22s var(--ease-out-soft), opacity 0.22s var(--ease-out-soft);
    }

    .nav-toggle__bars { position: relative; }
    .nav-toggle__bars::before { position: absolute; top: -6px; left: 0; }
    .nav-toggle__bars::after { position: absolute; top: 6px; left: 0; }

    .nav-toggle[aria-expanded='true'] .nav-toggle__bars { background: transparent; }
    .nav-toggle[aria-expanded='true'] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded='true'] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

    @media (max-width: 760px) {
      /* Burger + collapse are gated on `.js`: without scripting the toggle
         can't work, so the nav must stay visible (no-js fallback). */
      .js .nav-toggle { display: inline-flex; }

      /* Nav collapses into a dropdown panel under the sticky header. */
      .js .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 10px 24px 18px;
        background: rgba(255, 252, 244, 0.97);
        backdrop-filter: blur(14px) saturate(1.15);
        -webkit-backdrop-filter: blur(14px) saturate(1.15);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        /* Closed state — removed from layout and tab order. */
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.22s var(--ease-out-soft),
          transform 0.22s var(--ease-out-soft), visibility 0.22s;
      }

      .header-nav[data-open='true'] {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
      }

      /* Comfortable touch targets (>= 44px) for each link. */
      .header-nav a {
        padding: 12px 4px;
        font-size: 1rem;
      }

      .header-nav a:not(.header-cta)::after { display: none; }

      .header-nav .header-cta {
        margin-top: 6px;
        text-align: center;
        padding: 13px 14px;
      }
    }

    /* ---- Page shell ---- */
    .page {
      min-height: 100vh;
      display: flex;
      justify-content: center;
      padding: 32px 16px 96px;
    }

    .shell { width: 100%; max-width: 1240px; }

    /* ========================================================================
       RESPONSIBILITY BAND — Loi Évin notice, full-bleed at the page foot
       ====================================================================== */

    .responsibility-band {
      position: relative;
      z-index: 1;
      margin-top: clamp(56px, 8vw, 96px);
      background: var(--ink);
      color: var(--foam);
      padding: clamp(22px, 3.2vw, 32px) 24px;
    }

    .responsibility-band__inner {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .responsibility-band__badge {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 54px;
      height: 54px;
      border-radius: 50%;
      background: var(--copper);
      color: var(--foam);
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.02rem;
      letter-spacing: 0.04em;
      box-shadow: 0 0 0 4px rgba(197, 116, 45, 0.22), var(--shadow-md);
    }

    .responsibility-band p {
      margin: 0;
      max-width: 70ch;
      font-size: 0.9rem;
      line-height: 1.55;
      color: rgba(251, 243, 218, 0.82);
    }

    @media (max-width: 600px) {
      .responsibility-band__inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
      }
    }

    /* ========================================================================
       RISING CO₂ BUBBLES — ambient background, like gas in a glass of beer
       Bubbles are injected by site.js (setupBubbles) with randomized
       per-bubble custom properties. Fixed layer behind all content.
       ====================================================================== */

    .bubbles {
      position: fixed;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      pointer-events: none;
      /* own GPU layer — avoids Firefox ghosting of scrolling content
         (e.g. the mascot) into this fixed layer. */
      transform: translateZ(0);
      backface-visibility: hidden;
    }

    .bubble {
      position: absolute;
      bottom: -6vh;
      left: var(--x);
      width: var(--size);
      height: var(--size);
      border-radius: 50%;
      /* a real gas bubble: mostly transparent (the beer shows through),
         with a bright thin rim and a small specular highlight. */
      background:
        radial-gradient(
          circle at 35% 30%,
          rgba(255, 255, 255, 0.85) 0 10%,
          rgba(255, 255, 255, 0.25) 30%,
          transparent 54%
        ),
        radial-gradient(
          circle at 50% 50%,
          transparent 54%,
          rgba(255, 255, 255, 0.62) 72%,
          rgba(255, 255, 255, 0.2) 84%,
          transparent 93%
        );
      /* No box-shadow: the two radial gradients above already give the rim +
         specular highlight. Dropping the (paint-expensive) multi-layer shadow
         keeps hundreds of animated bubbles cheap to rasterize. */
      opacity: 0;
      /* Rise (Y) and sway (X) are split across the `translate` and
         `transform` properties so the acceleration isn't linearised by
         sway waypoints. The bubble rises continuously to the top, fading
         only at the very top — never stopping mid-screen. No `will-change`:
         it would pin a permanent GPU layer per bubble (memory churn on
         mobile); the compositor still promotes the animating transform. */
      animation:
        bubble-rise var(--dur) cubic-bezier(0.45, 0, 0.85, 0.4) var(--delay)
          infinite,
        bubble-sway calc(var(--dur) / 3.5) ease-in-out var(--delay) infinite
          alternate;
    }

    @keyframes bubble-rise {
      0% { translate: 0 0; opacity: 0; }
      5% { opacity: var(--op); }
      92% { opacity: var(--op); }
      100% { translate: 0 -112vh; opacity: 0; }
    }

    @keyframes bubble-sway {
      from { transform: translateX(calc(var(--sway) * -1)) scale(0.92); }
      to { transform: translateX(var(--sway)) scale(1.12); }
    }

    /* Tab hidden: site.js sets `.anim-paused` on <html> so the compositor
       stops spending frames on ambient motion nobody is watching. */
    .anim-paused .bubble,
    .anim-paused .dew-run { animation-play-state: paused; }

    @media (prefers-reduced-motion: reduce) {
      .bubbles { display: none; }
    }

    /* ========================================================================
       DEW / CONDENSATION — real water droplets (transparent, lens effect)
       clinging to the cards; a few bead and trickle down. Foreground layer.
       Injected per card by site.js (setupDew).
       ====================================================================== */

    /* doubled class raises specificity so card rules like
       `.feature-card > * { position: relative; z-index: 2 }` can't
       override the layer's absolute positioning / stacking. */
    .dew-layer.dew-layer {
      position: absolute;
      top: 0;
      left: 0;
      /* Match the host via percentages, not baked-in pixels: a px width
         measured at one viewport stays stale after a resize/orientation
         change and overflows the card, causing horizontal page scroll on
         mobile. 100%/100% resolves against the (position:relative) host —
         including the <details> summary the FAQ dew is attached to. */
      width: 100%;
      height: 100%;
      z-index: 30;
      border-radius: inherit;
      overflow: hidden;
      pointer-events: none;
    }

    .dew {
      position: absolute;
      left: var(--dx);
      top: var(--dy);
      width: var(--ds);
      height: var(--ds);
      border-radius: 50%;
      pointer-events: none;
      /* a light grey glassy cast (rather than pure white) */
      background: rgba(116, 120, 132, 0.2);
      /* lens / magnify: brighten + sharpen the card seen through the drop */
      box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.36),
        inset 0 -3px 4px rgba(255, 255, 255, 0.42),
        inset 0 0 0 0.8px rgba(78, 58, 32, 0.42),
        0 2px 6px rgba(52, 34, 15, 0.4);
    }

    .dew::after {
      content: '';
      position: absolute;
      top: 16%;
      left: 24%;
      width: 30%;
      height: 30%;
      border-radius: 50%;
      background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.95) 0 40%,
        rgba(255, 255, 255, 0) 72%
      );
    }

    /* Trickling drop = a falling wrapper (carries the faint vertical trail)
       containing the pear-shaped bead. Splitting them keeps the trail
       upright while the bead is rotated into a teardrop. */
    .dew-run {
      position: absolute;
      left: var(--dx);
      top: var(--dy);
      width: var(--ds);
      height: var(--ds);
      pointer-events: none;
      /* accelerating fall (gravity): slow start, speeding up. Runs ONCE per
         drip — site.js spawns one element, plays this single iteration, then
         removes it on `animationend` and schedules the next drop. `forwards`
         holds the end frame until removal so there is no snap-back. */
      animation: dew-run var(--dr-dur) cubic-bezier(0.55, 0.06, 0.9, 0.32) forwards;
    }

    .dew-run__bead {
      position: absolute;
      inset: 0;
      /* pear / teardrop: sharp point at the top, round heavy bottom. */
      border-radius: 0 50% 50% 50%;
      transform: scale(0.9, 1.26) rotate(45deg);
      /* a touch lighter than the fixed beads to offset the trail behind it */
      background: rgba(116, 120, 132, 0.16);
      box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.36),
        inset 0 -3px 4px rgba(255, 255, 255, 0.42),
        inset 0 0 0 0.8px rgba(78, 58, 32, 0.42),
        0 2px 6px rgba(52, 34, 15, 0.4);
    }

    /* same specular highlight as the fixed beads, so both read identically */
    .dew-run__bead::after {
      content: '';
      position: absolute;
      top: 18%;
      left: 22%;
      width: 30%;
      height: 30%;
      border-radius: 50%;
      background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.95) 0 40%,
        rgba(255, 255, 255, 0) 72%
      );
    }

    /* faint wet trail left behind, fading upward */
    .dew-run::before {
      content: '';
      position: absolute;
      left: 50%;
      bottom: 42%;
      transform: translateX(-50%);
      width: max(3px, calc(var(--ds) * 0.62));
      height: var(--dr-trail);
      /* tapering trail: wide at the drop, narrowing to a fine point */
      clip-path: polygon(49% 0%, 51% 0%, 100% 100%, 0% 100%);
      background: linear-gradient(
        to top,
        rgba(212, 218, 228, 0.3),
        rgba(212, 218, 228, 0)
      );
    }

    @keyframes dew-run {
      /* One-shot fall over the whole (short) duration. `--dr-dist` carries the
         bead just past the card's bottom edge, so the clipped `.dew-layer`
         masks it exactly as it leaves the card — it slides off instead of
         stopping mid-card. Stays opaque throughout; the clip does the hiding. */
      0% { transform: translateY(0); opacity: 0; }
      10% { opacity: 1; }
      100% { transform: translateY(var(--dr-dist)); opacity: 1; }
    }

    @media (prefers-reduced-motion: reduce) {
      .dew-run { animation: none; }
    }

    /* ========================================================================
       HERO — KINETIC : massive mascot, parallax orbits, big type
       ====================================================================== */

    .hero {
      position: relative;
      padding: clamp(56px, 8vw, 120px) clamp(28px, 5vw, 72px) clamp(80px, 10vw, 160px);
      border-radius: var(--radius-xl);
      background:
        radial-gradient(circle at 5% 8%, rgba(255, 255, 255, 0.6) 0%, transparent 35%),
        linear-gradient(165deg, var(--foam) 0%, var(--paper-deep) 100%);
      border: 1px solid var(--line);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      isolation: isolate;
      animation: fadeUp 1s var(--ease-out-soft) both;
    }

    .hero::before {
      content: '';
      position: absolute;
      width: 880px;
      height: 880px;
      right: -300px;
      top: -300px;
      background: radial-gradient(circle, rgba(197, 116, 45, 0.32) 0%, transparent 65%);
      z-index: -1;
      animation: floatSlow 14s ease-in-out infinite;
    }

    .hero::after {
      content: '';
      position: absolute;
      width: 520px;
      height: 520px;
      left: -180px;
      bottom: -240px;
      background: radial-gradient(circle, rgba(74, 90, 43, 0.2) 0%, transparent 65%);
      z-index: -1;
      animation: floatSlow 18s ease-in-out infinite reverse;
    }

    @keyframes floatSlow {
      0%, 100% { transform: translate(0, 0) scale(1); }
      50% { transform: translate(-32px, 22px) scale(1.05); }
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 32px;
      border-radius: 999px;
      padding: 8px 18px;
      background: rgba(255, 255, 255, 0.7);
      border: 1px solid var(--line);
      color: var(--ink);
      font-size: 0.74rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      backdrop-filter: blur(4px);
    }

    .pill::before {
      content: '';
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--copper);
      box-shadow: 0 0 0 3px rgba(197, 116, 45, 0.25);
      animation: pulse 1.8s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { box-shadow: 0 0 0 3px rgba(197, 116, 45, 0.25); }
      50% { box-shadow: 0 0 0 9px rgba(197, 116, 45, 0); }
    }

    .hero h1 {
      margin: 0;
      font-family: var(--font-display);
      font-weight: 700;
      color: var(--ink);
      font-size: clamp(2.8rem, 7vw, 5.4rem);
      line-height: 0.96;
      letter-spacing: -0.03em;
      max-width: 14ch;
      font-variation-settings: 'SOFT' 30, 'opsz' 144;
      animation: fadeUp 1.1s var(--ease-out-soft) 0.1s both;
    }

    .hero h1 em {
      font-style: italic;
      font-weight: 500;
      color: var(--copper);
      font-variation-settings: 'SOFT' 100, 'opsz' 144;
      position: relative;
      display: inline-block;
      animation: wiggle 6s ease-in-out infinite;
    }

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

    .hero h1 em::after {
      content: '';
      position: absolute;
      left: -2%; right: -2%; bottom: 0.05em;
      height: 0.14em;
      background: linear-gradient(90deg, transparent 0%, rgba(197, 116, 45, 0.5) 20%, rgba(197, 116, 45, 0.5) 80%, transparent 100%);
      border-radius: 999px;
      z-index: -1;
    }

    .intro {
      margin: 32px 0 0;
      max-width: 44ch;
      color: var(--ink-soft);
      font-size: clamp(1.05rem, 1.5vw, 1.22rem);
      line-height: 1.6;
      animation: fadeUp 1.1s var(--ease-out-soft) 0.2s both;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-top: 40px;
      animation: fadeUp 1.1s var(--ease-out-soft) 0.3s both;
    }

    /* ---- HUGE mascot with 3 orbital rings ---- */
    .hero-mascot {
      position: absolute;
      right: clamp(-70px, -5vw, 16px);
      bottom: clamp(-100px, -7vw, -56px);
      width: clamp(260px, 42vw, 520px);
      height: clamp(260px, 42vw, 520px);
      border-radius: 50%;
      background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.98) 0%, rgba(251, 243, 218, 0.92) 55%, rgba(231, 207, 154, 0.55) 100%);
      border: 1px solid var(--line);
      box-shadow:
        0 32px 80px rgba(99, 56, 24, 0.4),
        inset 0 2px 8px rgba(255, 255, 255, 0.9);
      display: flex;
      align-items: center;
      justify-content: center;
      animation: heroFloat 5s ease-in-out infinite;
      z-index: 2;
    }

    .hero-mascot::before {
      content: '';
      position: absolute;
      inset: -18px;
      border-radius: 50%;
      border: 1.5px dashed rgba(197, 116, 45, 0.45);
      animation: spinSlow 40s linear infinite;
    }

    .hero-mascot::after {
      content: '';
      position: absolute;
      inset: -38px;
      border-radius: 50%;
      border: 1px dotted rgba(74, 90, 43, 0.35);
      animation: spinSlow 90s linear infinite reverse;
    }

    .hero-mascot .logo {
      width: 76%;
      height: 76%;
      object-fit: contain;
      filter: drop-shadow(0 8px 16px rgba(60, 35, 16, 0.22));
      animation: bobble 3s ease-in-out infinite;
      /* keep the high-contrast mascot on its own layer (Firefox ghosting fix) */
      backface-visibility: hidden;
    }

    @keyframes heroFloat {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50% { transform: translateY(-14px) rotate(-2deg); }
    }

    @keyframes bobble {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-4px); }
    }

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

    @media (max-width: 880px) {
      .hero { text-align: center; }
      .hero h1, .intro { margin-left: auto; margin-right: auto; }
      .hero-actions { justify-content: center; }
      .hero-mascot {
        position: relative;
        margin: 56px auto 0;
        right: auto; bottom: auto;
        width: clamp(260px, 72vw, 380px);
        height: clamp(260px, 72vw, 380px);
      }
    }

    /* ========================================================================
       MARQUEE — brewing terms ticker
       ====================================================================== */

    .marquee {
      margin-top: clamp(56px, 7vw, 96px);
      padding: 18px 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      overflow: hidden;
      background:
        linear-gradient(90deg, var(--paper) 0%, transparent 8%, transparent 92%, var(--paper) 100%);
      mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    }

    .marquee-track {
      display: inline-flex;
      gap: 24px;
      align-items: center;
      white-space: nowrap;
      animation: marquee 32s linear infinite;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      color: var(--ink-soft);
      letter-spacing: -0.01em;
      font-variation-settings: 'SOFT' 60, 'opsz' 144;
    }

    .marquee-track span:nth-child(even) {
      color: var(--copper);
      font-style: italic;
      font-weight: 500;
      font-variation-settings: 'SOFT' 100, 'opsz' 144;
      padding: 0 8px;
    }

    @keyframes marquee {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); }
    }

    .marquee:hover .marquee-track { animation-play-state: paused; }

    /* ========================================================================
       Sections
       ====================================================================== */

    .section-block {
      margin-top: clamp(80px, 11vw, 144px);
      scroll-margin-top: 96px;
      animation: fadeUp 1s var(--ease-out-soft) both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(36px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .section-eyebrow {
      margin: 0 0 14px;
      text-align: center;
      color: var(--copper);
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
    }

    .section-eyebrow::before,
    .section-eyebrow::after {
      content: '';
      width: 40px;
      height: 1px;
      background: var(--copper);
      opacity: 0.55;
    }

    .section-title {
      margin: 0 auto 20px;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: clamp(2.2rem, 4.5vw, 3.4rem);
      line-height: 1.06;
      letter-spacing: -0.024em;
      color: var(--ink);
      text-align: center;
      max-width: 22ch;
      font-variation-settings: 'SOFT' 40, 'opsz' 144;
    }

    .section-title em {
      font-style: italic;
      font-weight: 500;
      color: var(--copper);
      font-variation-settings: 'SOFT' 100, 'opsz' 144;
    }

    .section-intro {
      margin: 0 auto 48px;
      max-width: 54ch;
      color: var(--ink-soft);
      text-align: center;
      font-size: 1.08rem;
      line-height: 1.65;
    }

    /* ========================================================================
       Journey — big numerals + animated connector
       ====================================================================== */

    .journey-grid {
      list-style: none;
      padding: 0;
      margin: 48px 0 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 24px;
      position: relative;
      counter-reset: step;
    }

    .journey-step {
      position: relative;
      background: rgba(255, 252, 244, 0.85);
      border-radius: var(--radius-lg);
      border: 1px solid var(--line);
      padding: 36px 26px 30px;
      text-align: left;
      box-shadow: var(--shadow-sm);
      transition: transform 0.4s var(--ease-out-soft), box-shadow 0.4s var(--ease-out-soft), border-color 0.4s var(--ease-out-soft);
      display: flex;
      flex-direction: column;
      gap: 20px;
      overflow: hidden;
      isolation: isolate;
    }

    .journey-step::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--copper), var(--copper-deep));
      transform: scaleX(0);
      transform-origin: left center;
      transition: transform 0.5s var(--ease-out-soft);
      z-index: 2;
    }

    .journey-step:hover {
      transform: translateY(-14px) scale(1.06);
      box-shadow: var(--shadow-lg), 0 24px 60px rgba(197, 116, 45, 0.18);
      border-color: rgba(197, 116, 45, 0.55);
      z-index: 3;
    }

    .journey-step:hover::before { transform: scaleX(1); }

    .journey-num {
      font-family: var(--font-display);
      font-size: 4rem;
      font-weight: 900;
      line-height: 0.9;
      letter-spacing: -0.06em;
      color: var(--copper);
      font-variation-settings: 'SOFT' 20, 'opsz' 144;
      opacity: 0.92;
      transition: transform 0.45s var(--ease-out-soft), color 0.3s var(--ease-out-soft), text-shadow 0.4s var(--ease-out-soft);
      display: inline-block;
      transform-origin: left center;
    }

    .journey-step:hover .journey-num {
      animation: numPop 0.7s var(--ease-out-soft) forwards;
      color: var(--copper-deep);
      text-shadow: 0 6px 18px rgba(197, 116, 45, 0.4);
    }

    @keyframes numPop {
      0%   { transform: scale(1) rotate(0deg); }
      35%  { transform: scale(1.45) rotate(-6deg); }
      65%  { transform: scale(1.25) rotate(3deg); }
      100% { transform: scale(1.3) rotate(-2deg); }
    }

    .journey-screenshot {
      position: relative;
      width: 100%;
      max-width: 200px;
      aspect-ratio: 9 / 18;
      align-self: center;
      background: linear-gradient(170deg, var(--ink-soft) 0%, var(--ink) 100%);
      border-radius: 30px;
      border: 1px solid var(--ink);
      padding: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 14px 30px rgba(26, 17, 10, 0.4);
      transition: transform 0.5s var(--ease-out-soft);
    }

    .journey-step:hover .journey-screenshot {
      transform: rotate(2deg) translateY(-4px);
    }

    .journey-screenshot::before {
      content: '';
      position: absolute;
      top: 10px;
      left: 50%;
      transform: translateX(-50%);
      width: 44px;
      height: 5px;
      background: rgba(255, 255, 255, 0.28);
      border-radius: 3px;
    }

    .journey-screenshot img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 18px;
      display: block;
    }

    .journey-step h3 {
      margin: 0;
      font-family: var(--font-display);
      font-weight: 700;
      color: var(--ink);
      font-size: 1.3rem;
      line-height: 1.22;
      font-variation-settings: 'SOFT' 40;
    }

    .journey-step p {
      margin: 0;
      color: var(--muted);
      font-size: 0.96rem;
      line-height: 1.55;
    }

    /* ========================================================================
       Features — magnetic cards with shimmer
       ====================================================================== */

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 28px;
      margin-top: 48px;
    }

    .feature-card {
      position: relative;
      isolation: isolate;
      display: flex;
      flex-direction: column;
      gap: 22px;
      padding: 36px 28px 32px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--line);
      background:
        radial-gradient(circle at 100% 0%, rgba(197, 116, 45, 0.18) 0%, transparent 50%),
        linear-gradient(170deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 243, 218, 0.85) 100%);
      box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.75);
      overflow: hidden;
      transition: transform 0.4s var(--ease-out-soft), box-shadow 0.4s var(--ease-out-soft), border-color 0.4s var(--ease-out-soft);
    }

    .feature-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
      transform: translateX(-100%);
      transition: transform 0.8s var(--ease-out-soft);
      z-index: 1;
      pointer-events: none;
    }

    .feature-card::after {
      content: '';
      position: absolute;
      left: 28px; right: 28px; bottom: 0;
      height: 3px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--copper) 0%, var(--copper-deep) 50%, var(--moss) 100%);
      opacity: 0.6;
      transform: scaleX(0.2);
      transform-origin: left center;
      transition: transform 0.45s var(--ease-out-soft), opacity 0.45s var(--ease-out-soft);
    }

    .feature-card:hover,
    .feature-card:focus-within {
      transform: translateY(-10px) scale(1.02);
      border-color: rgba(197, 116, 45, 0.5);
      box-shadow: var(--shadow-lg);
    }

    .feature-card:hover::before { transform: translateX(100%); }
    .feature-card:hover::after,
    .feature-card:focus-within::after { transform: scaleX(1); opacity: 1; }

    .feature-card > * { position: relative; z-index: 2; }

    .feature-screenshot {
      width: 100%;
      max-width: 220px;
      aspect-ratio: 1 / 2;
      align-self: center;
      background: linear-gradient(170deg, var(--ink-soft) 0%, var(--ink) 100%);
      border-radius: 30px;
      border: 1px solid var(--ink);
      padding: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px rgba(26, 17, 10, 0.36);
      position: relative;
      transition: transform 0.5s var(--ease-out-soft);
    }

    .feature-card:hover .feature-screenshot {
      transform: rotate(-3deg) translateY(-4px);
    }

    .feature-screenshot::before {
      content: '';
      position: absolute;
      top: 10px;
      left: 50%;
      transform: translateX(-50%);
      width: 48px;
      height: 5px;
      background: rgba(255, 255, 255, 0.28);
      border-radius: 3px;
    }

    .feature-screenshot img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 18px;
      display: block;
    }

    .feature-card h3 {
      margin: 0;
      font-family: var(--font-display);
      font-weight: 700;
      color: var(--ink);
      font-size: 1.4rem;
      line-height: 1.2;
      letter-spacing: -0.012em;
      font-variation-settings: 'SOFT' 40;
    }

    .feature-card p {
      margin: 0;
      color: var(--muted);
      font-size: 0.98rem;
      line-height: 1.6;
    }

    /* ========================================================================
       FAQ
       ====================================================================== */

    .faq-grid {
      display: grid;
      gap: 14px;
      margin: 48px auto 0;
      max-width: 800px;
    }

    .faq-item {
      background: rgba(255, 252, 244, 0.88);
      border-radius: var(--radius-md);
      border: 1px solid var(--line);
      padding: 4px 28px;
      box-shadow: var(--shadow-sm);
      transition: box-shadow 0.3s var(--ease-out-soft), border-color 0.3s var(--ease-out-soft), background 0.3s var(--ease-out-soft);
    }

    .faq-item[open] {
      border-color: rgba(197, 116, 45, 0.5);
      box-shadow: var(--shadow-md);
      background: rgba(255, 252, 244, 0.95);
    }

    .faq-item summary {
      cursor: pointer;
      list-style: none;
      padding: 22px 0;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.15rem;
      color: var(--ink);
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 18px;
      font-variation-settings: 'SOFT' 40;
    }

    .faq-item summary::-webkit-details-marker { display: none; }

    .faq-item summary::after {
      content: '+';
      flex: 0 0 auto;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--ink);
      color: var(--foam);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-body);
      font-size: 1.4rem;
      font-weight: 300;
      transition: background 0.3s var(--ease-out-soft), transform 0.4s var(--ease-out-soft);
    }

    .faq-item[open] summary::after {
      content: '×';
      background: var(--copper);
      transform: rotate(180deg);
    }

    .faq-item p {
      margin: 0 0 24px;
      color: var(--muted);
      font-size: 1rem;
      line-height: 1.7;
      max-width: 56ch;
    }

    /* ========================================================================
       Participate
       ====================================================================== */

    .participate {
      position: relative;
      background:
        radial-gradient(circle at 92% 8%, rgba(197, 116, 45, 0.24) 0%, transparent 50%),
        radial-gradient(circle at 8% 96%, rgba(74, 90, 43, 0.2) 0%, transparent 50%),
        linear-gradient(165deg, var(--foam) 0%, var(--paper-deep) 100%);
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      padding: clamp(56px, 8vw, 96px) clamp(28px, 5vw, 72px);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
    }

    /* ========================================================================
       Buttons — magnetic
       ====================================================================== */

    .actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 24px;
    }
    .actions-compact { gap: 12px; margin-top: 22px; }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 54px;
      border: none;
      border-radius: 999px;
      padding: 15px 28px;
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 1rem;
      cursor: pointer;
      text-decoration: none;
      position: relative;
      overflow: hidden;
      transition: transform 0.25s var(--ease-out-soft), box-shadow 0.3s var(--ease-out-soft), background-color 0.3s var(--ease-out-soft), color 0.3s var(--ease-out-soft);
    }

    .btn:hover { transform: translateY(-3px) scale(1.03); }
    .btn:active { transform: translateY(0) scale(0.98); }
    .btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
    .btn:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

    .btn-primary {
      background: var(--ink);
      color: var(--foam);
      box-shadow: 0 12px 28px rgba(26, 17, 10, 0.4);
      isolation: isolate;
    }

    .btn-primary::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, var(--copper) 0%, var(--copper-deep) 100%);
      opacity: 0;
      transition: opacity 0.35s var(--ease-out-soft);
      z-index: -1;
    }

    .btn-primary:hover { box-shadow: 0 20px 40px rgba(197, 116, 45, 0.5); }
    .btn-primary:hover::before { opacity: 1; }

    .btn-ghost {
      background: transparent;
      color: var(--ink);
      border: 1.5px solid rgba(26, 17, 10, 0.22);
    }
    .btn-ghost:hover {
      background: rgba(26, 17, 10, 0.05);
      border-color: var(--ink);
    }

    /* ========================================================================
       Forms
       ====================================================================== */

    .contact-form { margin: 0 auto; max-width: 600px; display: grid; gap: 16px; }

    /* Styles for .questionnaire-form are defined later (smooth open block). */

    .questionnaire-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .form-field { display: flex; flex-direction: column; gap: 8px; }
    .form-field-full { grid-column: 1 / -1; }
    .questionnaire-lead { margin: 0 0 4px; color: var(--ink); opacity: 0.85; font-size: 0.95rem; line-height: 1.5; }

    .form-field label, fieldset legend {
      font-weight: 600; color: var(--ink); font-size: 0.92rem;
    }

    input, textarea, select {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: #fff;
      color: var(--ink);
      padding: 14px 16px;
      font-size: 1rem;
      font-family: inherit;
      transition: border-color 0.25s var(--ease-out-soft), box-shadow 0.25s var(--ease-out-soft);
    }

    input:focus, textarea:focus, select:focus {
      outline: none;
      border-color: var(--copper);
      box-shadow: 0 0 0 4px var(--color-accent-soft);
    }

    textarea { min-height: 120px; resize: vertical; }
    textarea.textarea-compact { min-height: 64px; }

    fieldset {
      margin: 0; padding: 14px 16px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: rgba(251, 243, 218, 0.4);
    }

    .radio-list, .checkbox-list { display: grid; gap: 8px; margin-top: 10px; }
    .radio-list label, .checkbox-list label, .consent {
      display: flex; gap: 10px; align-items: flex-start;
      font-size: 0.92rem; color: var(--muted); line-height: 1.55;
    }
    .radio-list input, .checkbox-list input, .consent input {
      width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto;
      accent-color: var(--copper);
    }

    .honeypot { display: none; }

    .form-status {
      margin: 14px 0 0; min-height: 22px; text-align: center;
      font-weight: 600; font-size: 0.92rem;
    }
    .form-status.loading { color: var(--muted); }
    .form-status.success { color: var(--color-success); }
    .form-status.error { color: var(--color-error); }

    .consent-note {
      margin: 4px 0 0; font-size: 0.82rem;
      color: var(--muted); line-height: 1.55;
    }
    .consent-note a { color: var(--ink); font-weight: 600; }

    .sr-only {
      position: absolute; width: 1px; height: 1px;
      padding: 0; margin: -1px; overflow: hidden;
      clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
    }

    /* ========================================================================
       Footer
       ====================================================================== */

    .footer {
      margin-top: clamp(80px, 11vw, 128px);
      padding: 48px 0 28px;
      border-top: 1px solid var(--line);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 32px;
    }

    .footer-brand {
      display: flex; align-items: center; gap: 18px; max-width: 60ch;
    }

    .footer-mark {
      display: inline-flex; align-items: center; justify-content: center;
      width: 52px; height: 52px;
      border-radius: 50%;
      background: var(--ink);
      color: var(--foam);
      font-family: var(--font-display);
      font-weight: 700; font-size: 1.1rem; letter-spacing: 0.05em;
      flex: 0 0 auto;
      box-shadow: var(--shadow-sm);
      transition: transform 0.4s var(--ease-out-soft), background 0.3s var(--ease-out-soft);
    }

    .footer-mark:hover { transform: rotate(8deg) scale(1.05); background: var(--copper); }

    .footer-brand p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
    .footer-brand strong { color: var(--ink); font-weight: 600; }

    .footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
    .footer-links a {
      color: var(--muted); text-decoration: none;
      font-size: 0.88rem; font-weight: 500;
      transition: color 0.2s var(--ease-out-soft); position: relative;
    }
    .footer-links a::after {
      content: ''; position: absolute; left: 0; right: 0; bottom: -3px;
      height: 1px; background: var(--copper);
      transform: scaleX(0); transform-origin: left center;
      transition: transform 0.3s var(--ease-out-soft);
    }
    .footer-links a:hover { color: var(--ink); }
    .footer-links a:hover::after { transform: scaleX(1); }

    /* ========================================================================
       Kinetic boost — selective movement add-ons
       ====================================================================== */

    /* Floating embers inside the hero */
    .hero-embers {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }

    .hero-embers span {
      position: absolute;
      bottom: -20px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 184, 114, 0.85) 0%, rgba(197, 116, 45, 0) 70%);
      animation: emberRise 12s linear infinite;
      opacity: 0;
    }

    .hero-embers span:nth-child(1) { left: 12%; animation-delay: 0s;   animation-duration: 14s; --drift:  20px; }
    .hero-embers span:nth-child(2) { left: 28%; animation-delay: 2.5s; animation-duration: 11s; --drift: -28px; width: 6px; height: 6px; }
    .hero-embers span:nth-child(3) { left: 46%; animation-delay: 5s;   animation-duration: 16s; --drift:  14px; width: 10px; height: 10px; }
    .hero-embers span:nth-child(4) { left: 62%; animation-delay: 1s;   animation-duration: 13s; --drift: -18px; }
    .hero-embers span:nth-child(5) { left: 78%; animation-delay: 6.5s; animation-duration: 15s; --drift:  24px; width: 7px; height: 7px; }
    .hero-embers span:nth-child(6) { left: 90%; animation-delay: 3.5s; animation-duration: 12s; --drift: -12px; width: 5px; height: 5px; }

    @keyframes emberRise {
      0%   { transform: translate(0, 0) scale(0.6); opacity: 0; }
      15%  { opacity: 0.9; }
      85%  { opacity: 0.6; }
      100% { transform: translate(var(--drift, 0), -110vh) scale(1.1); opacity: 0; }
    }

    /* Staggered entrance for journey steps */
    .journey-step {
      animation: cardIn 0.9s var(--ease-out-soft) both;
      animation-timeline: view();
      animation-range: entry 0% cover 25%;
    }
    .journey-step:nth-child(1) { animation-delay: 0s; }
    .journey-step:nth-child(2) { animation-delay: 0.08s; }
    .journey-step:nth-child(3) { animation-delay: 0.16s; }
    .journey-step:nth-child(4) { animation-delay: 0.24s; }

    /* Staggered entrance for feature cards */
    .feature-card {
      animation: cardIn 0.9s var(--ease-out-soft) both;
      animation-timeline: view();
      animation-range: entry 0% cover 25%;
    }
    .feature-card:nth-child(1) { animation-delay: 0s; }
    .feature-card:nth-child(2) { animation-delay: 0.1s; }
    .feature-card:nth-child(3) { animation-delay: 0.2s; }

    /* FAQ entrance stagger */
    .faq-item {
      animation: faqIn 0.7s var(--ease-out-soft) both;
      animation-timeline: view();
      animation-range: entry 0% cover 20%;
    }
    .faq-item:nth-child(1) { animation-delay: 0s; }
    .faq-item:nth-child(2) { animation-delay: 0.06s; }
    .faq-item:nth-child(3) { animation-delay: 0.12s; }
    .faq-item:nth-child(4) { animation-delay: 0.18s; }

    @keyframes cardIn {
      from { opacity: 0; transform: translateY(40px) scale(0.96); }
      to   { opacity: 1; transform: translateY(0)    scale(1);    }
    }

    @keyframes faqIn {
      from { opacity: 0; transform: translateX(-16px); }
      to   { opacity: 1; transform: translateX(0);     }
    }

    /* Eyebrow lines that draw in on view */
    .section-eyebrow {
      animation: eyebrowIn 1.2s var(--ease-out-soft) both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }

    @keyframes eyebrowIn {
      from { letter-spacing: 0.4em; opacity: 0; }
      to   { letter-spacing: 0.22em; opacity: 1; }
    }

    .section-eyebrow::before,
    .section-eyebrow::after {
      animation: lineGrow 1s var(--ease-out-soft) 0.2s both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
      transform-origin: center;
    }

    @keyframes lineGrow {
      from { transform: scaleX(0); }
      to   { transform: scaleX(1); }
    }

    /* Section title em — subtle continuous shimmer */
    .section-title em,
    .hero h1 em {
      background: linear-gradient(90deg, var(--copper) 0%, var(--copper-deep) 35%, var(--ember, #ffb872) 50%, var(--copper-deep) 65%, var(--copper) 100%);
      background-size: 200% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
      animation: emShimmer 6s ease-in-out infinite;
    }

    @keyframes emShimmer {
      0%, 100% { background-position: 200% 50%; }
      50%      { background-position: 0% 50%; }
    }

    :root { --ember: #ffb872; }

    /* Journey numerals breathing */
    .journey-num {
      animation: numBreath 4.5s ease-in-out infinite;
    }
    .journey-step:nth-child(1) .journey-num { animation-delay: 0s; }
    .journey-step:nth-child(2) .journey-num { animation-delay: 0.6s; }
    .journey-step:nth-child(3) .journey-num { animation-delay: 1.2s; }
    .journey-step:nth-child(4) .journey-num { animation-delay: 1.8s; }

    @keyframes numBreath {
      0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.92; }
      50%      { transform: scale(1.05) rotate(-1.5deg); opacity: 1; }
    }
    .journey-step:hover .journey-num {
      animation-play-state: paused;
    }

    /* Primary CTA — subtle glow pulse in idle */
    .hero-actions .btn-primary,
    .participate .btn-primary {
      animation: ctaPulse 3.5s ease-in-out infinite;
    }

    @keyframes ctaPulse {
      0%, 100% { box-shadow: 0 12px 28px rgba(26, 17, 10, 0.4); }
      50%      { box-shadow: 0 14px 36px rgba(26, 17, 10, 0.4), 0 0 28px rgba(197, 116, 45, 0.35); }
    }

    /* Pill — tiny continuous tilt */
    .pill {
      animation: pillTilt 5s ease-in-out infinite;
      transform-origin: center;
    }

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

    /* Footer mark wobble */
    .footer-mark {
      animation: markWobble 7s ease-in-out infinite;
    }
    @keyframes markWobble {
      0%, 100% { transform: rotate(0deg); }
      25%      { transform: rotate(3deg); }
      75%      { transform: rotate(-3deg); }
    }

    /* Hero mascot — softer continuous yaw on top of the existing float */
    .hero-mascot {
      animation: heroFloat 5s ease-in-out infinite, heroYaw 14s ease-in-out infinite;
    }
    @keyframes heroYaw {
      0%, 100% { filter: drop-shadow(0 0 24px rgba(197, 116, 45, 0)); }
      50%      { filter: drop-shadow(0 0 36px rgba(197, 116, 45, 0.35)); }
    }

    /* Marquee — text stays fixed on its line; only the track scrolls horizontally. */

    /* Feature screenshot — gentle continuous bob on screen */
    .feature-screenshot {
      animation: screenshotBob 6s ease-in-out infinite;
    }
    .feature-card:nth-child(2) .feature-screenshot { animation-delay: 1s; }
    .feature-card:nth-child(3) .feature-screenshot { animation-delay: 2s; }
    @keyframes screenshotBob {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50%      { transform: translateY(-4px) rotate(0.6deg); }
    }
    .feature-card:hover .feature-screenshot {
      animation: none;
    }

    /* ========================================================================
       Scroll-driven element entrances (per-element within sections)
       Each element surges in subtly as it crosses the viewport.
       ====================================================================== */

    .section-title,
    .section-intro,
    .marquee {
      animation: surgeUp 0.9s var(--ease-out-soft) both;
      animation-timeline: view();
      animation-range: entry 0% cover 25%;
    }

    .section-title { animation-delay: 0.05s; }
    .section-intro { animation-delay: 0.15s; }

    @keyframes surgeUp {
      from { opacity: 0; transform: translateY(28px); filter: blur(2px); }
      to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
    }

    /* Marquee surge is purely opacity to avoid disturbing the scroll animation */
    .marquee {
      animation-name: marqueeFadeIn;
    }
    @keyframes marqueeFadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }

    /* ========================================================================
       Toggle button — stable layout, rotating chevron
       ====================================================================== */

    .btn-toggle {
      gap: 10px;
      min-width: 200px;
    }

    .btn-chevron {
      width: 12px;
      height: 8px;
      transition: transform 0.4s var(--ease-out-soft);
      flex: 0 0 auto;
    }

    .btn-toggle[aria-expanded="true"] .btn-chevron {
      transform: rotate(180deg);
    }

    /* ========================================================================
       Smooth questionnaire form open
       Uses the grid-rows trick: animates from 0fr to 1fr.
       ====================================================================== */

    .questionnaire-form {
      display: grid;
      grid-template-rows: 0fr;
      opacity: 0;
      transform: translateY(-8px);
      margin-top: 0;
      pointer-events: none;
      transition:
        grid-template-rows 0.5s var(--ease-out-soft),
        opacity 0.45s var(--ease-out-soft) 0.05s,
        transform 0.45s var(--ease-out-soft) 0.05s,
        margin-top 0.5s var(--ease-out-soft);
      border: none;
      background: transparent;
      box-shadow: none;
      backdrop-filter: none;
      padding: 0;
    }

    .questionnaire-inner {
      overflow: hidden;
      min-height: 0;
      padding: 28px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.78);
      box-shadow: var(--shadow-sm);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
    }

    .questionnaire-form[data-open="true"] {
      grid-template-rows: 1fr;
      opacity: 1;
      transform: translateY(0);
      margin-top: 28px;
      pointer-events: auto;
    }

    /* ========================================================================
       Chip-list — clickable pill answers (radio + checkbox)
       Hides native input and styles label as a pill.
       ====================================================================== */

    .chip-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 14px;
    }

    .chip-list label {
      display: inline-flex;
      align-items: center;
      gap: 0;
      padding: 10px 18px;
      border-radius: 999px;
      border: 1.5px solid var(--line);
      background: rgba(255, 255, 255, 0.7);
      color: var(--ink-soft);
      font-size: 0.94rem;
      font-weight: 500;
      line-height: 1.3;
      cursor: pointer;
      transition: border-color 0.2s var(--ease-out-soft), background 0.2s var(--ease-out-soft), color 0.2s var(--ease-out-soft), transform 0.18s var(--ease-out-soft);
      user-select: none;
    }

    .chip-list label:hover {
      border-color: rgba(197, 116, 45, 0.55);
      background: rgba(255, 255, 255, 0.95);
      transform: translateY(-1px);
    }

    .chip-list input[type="radio"],
    .chip-list input[type="checkbox"] {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .chip-list label:has(input:checked) {
      background: var(--ink);
      border-color: var(--ink);
      color: var(--foam);
      box-shadow: 0 4px 14px rgba(26, 17, 10, 0.22);
    }

    .chip-list-multi label:has(input:checked) {
      background: var(--copper);
      border-color: var(--copper);
      color: var(--foam);
      box-shadow: 0 4px 14px rgba(197, 116, 45, 0.32);
    }

    .legend-hint {
      font-weight: 400;
      color: var(--muted);
      font-size: 0.82rem;
      margin-left: 6px;
    }

    fieldset {
      border: none;
      padding: 0;
      background: transparent;
      margin: 0;
    }

    fieldset legend {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.05rem;
      color: var(--ink);
      font-variation-settings: 'SOFT' 50;
      padding: 0;
    }

    /* ========================================================================
       Reduced motion — kill everything
       ====================================================================== */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
      }
      .hero-embers { display: none; }
    }
