  /* Capsule sections wrapper - scope all styles to avoid conflicts */
  #capsule-hero {
    --ink: #0E0B14;
    --paper: #F5F2EC;
    --lavender: #fc5c7d4a;
    --peach: #F5E6DC;
    --copper: #B87440;
    --indigo: #2E2452;
    --line: rgba(14, 11, 20, .14);
    position: relative;
    isolation: isolate;
  }

  #capsule-hero * {
    box-sizing: border-box
  }

  #capsule-hero img {
    max-width: 100%;
    display: block
  }

  #capsule-hero a {
    color: inherit;
    text-decoration: none
  }

  #capsule-hero button {
    font: inherit;
    color: inherit;
    border: 0;
    background: none;
    cursor: pointer
  }

  #capsule-hero ::selection {
    background: var(--ink);
    color: var(--paper)
  }

  /* ───── Background color layer (scroll-tweened) ───── */
  #bgLayer {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: var(--lavender);
    transition: background-color .1s linear;
  }

  /* Wavy ridge texture overlay (Scene 1) */
  #ridgeLayer {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 1
  }

  #ridgeLayer svg {
    width: 100%;
    height: 100%
  }

  /* ───── Bottle + floating layer (fixed, scroll-driven) ───── */
  #stage {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    will-change: transform;
  }

  #bottleWrap {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(280px, 28vw, 460px);
    transform: translate3d(-50%, -50%, 0);
    will-change: transform, opacity;
  }

  #bottleParallax {
    transform-style: preserve-3d;
    will-change: transform;
  }

  /* Hero product slider (capsule + 5 products crossfading) */
  #heroSlider {
    position: relative;
    width: 100%;
  }

  /* Invisible sizer keeps the slider's box at the capsule's proportions.
     aspect-ratio reserves the height even before the image loads, so a cold
     first load doesn't compute layout/scroll positions against a 0-height box. */
  #heroSlider .hero-sizer {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 468 / 713;
    visibility: hidden;
    pointer-events: none;
  }

  #heroSlider .hero-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    /* --sx drives the horizontal slide (waiting slides sit off to the RIGHT),
       --ss drives the scale so incoming products grow in and outgoing shrink away —
       a proper carousel/slider feel rather than a plain crossfade. The travel is a
       big share of the width (vw) so the movement clearly reads as a slide, and the
       fade runs over most of the travel so both products stay visible while moving. */
    transform: translate(-50%, -50%) translateX(var(--sx, 17vw)) scale(var(--ss, 0.62));
    max-width: 78%;
    max-height: 86%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transition: transform 1.05s cubic-bezier(0.5, 0, 0.15, 1), opacity 0.9s ease;
    filter: drop-shadow(0 40px 60px rgba(60, 30, 10, .28)) drop-shadow(0 10px 22px rgba(60, 30, 10, .18));
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform, opacity;
  }

  /* Active slide slides in to centre, grows to full size and fades up */
  #heroSlider .hero-slide.is-active {
    --sx: 0px;
    --ss: 1;
    opacity: 1;
  }

  /* Outgoing slide shrinks, slides out to the LEFT and fades away */
  #heroSlider .hero-slide.is-leaving {
    --sx: -17vw;
    --ss: 0.62;
    opacity: 0;
  }

  /* Product packshots: present on a clean rounded white card (works for both
     transparent PNGs and photos that ship with a white background). */
  #heroSlider .hero-slide.is-photo {
    filter: none;
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 30px 60px rgba(60, 30, 10, .16), 0 12px 24px rgba(60, 30, 10, .10);
    max-width: 80%;
    max-height: 88%;
    object-fit: contain;
  }

  /* White circular badge behind bottle (Scene 1) */
  #bottleBadge {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120%;
    aspect-ratio: 1/1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, #fff 0%, #fff 55%, rgba(255, 255, 255, .0) 72%);
    z-index: -1;
    opacity: .85;
    will-change: opacity, transform;
  }

  /* Curved rotating text around bottle */
  #curvedText {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 150%;
    aspect-ratio: 1/1;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: spinSlow 22s linear infinite;
    will-change: transform;
  }

  @keyframes spinSlow {
    from {
      transform: translate(-50%, -50%) rotate(0)
    }

    to {
      transform: translate(-50%, -50%) rotate(360deg)
    }
  }

  #curvedText text {
    font-family: 'General Sans', ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .32em;
    fill: var(--ink);
    text-transform: uppercase;
  }

  /* Wood platform (Scene 2) */
  #platform {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 130%;
    aspect-ratio: 1/.32;
    transform: translate(-50%, 55%);
    border-radius: 50%;
    background:
      radial-gradient(ellipse at 50% 30%, #6e4a30 0%, #4a2f1d 60%, #2a1a10 100%);
    box-shadow: 0 30px 60px rgba(50, 25, 10, .35), inset 0 4px 12px rgba(255, 200, 150, .18);
    z-index: -1;
    opacity: 0;
    overflow: hidden;
  }

  #platform::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-radial-gradient(ellipse at 50% 35%, rgba(255, 255, 255, .04) 0 2px, transparent 2px 8px);
    mix-blend-mode: overlay;
  }

  #platform::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-linear-gradient(2deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 6px);
    opacity: .6;
  }

  /* Floating element styles */
  .float {
    position: absolute;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    pointer-events: none;
  }

  .float .shape {
    display: block;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(40, 20, 10, .22);
    width: 100%;
    height: 100%;
  }

  .float .label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    color: rgba(255, 255, 255, .8);
    letter-spacing: .06em;
    text-transform: uppercase;
    pointer-events: none;
  }

  /* species */
  .leaf .shape {
    background: radial-gradient(circle at 35% 30%, #84a366, #3f5a2a);
    border-radius: 55% 5% 55% 5%
  }

  .mushroom .shape {
    background: radial-gradient(circle at 35% 35%, #c66a4c, #6a2b18);
    border-radius: 50% 50% 38% 38% / 60% 60% 30% 30%
  }

  .capsule .shape {
    background: linear-gradient(160deg, #e9c79a 0 50%, #b87440 50% 100%);
    border-radius: 999px
  }

  .seed .shape {
    background: radial-gradient(circle at 30% 30%, #f5e6b3, #b89645);
    border-radius: 60% 40% 50% 50% / 50% 50% 60% 40%
  }

  /* ───── Sections ───── */
  #capsule-hero section {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    padding: 0 32px;
    overflow: visible;
  }

  #capsule-hero .scene {
    padding-top: 120px;
    padding-bottom: 80px
  }

  /* SCENE 1 */
  #capsule-hero #scene1 {
    height: 100vh;
    display: flex;
    align-items: stretch
  }

  #capsule-hero .marquee {
    position: fixed;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    background: transparent !important;
  }

  #capsule-hero .marquee .track {
    display: inline-flex;
    gap: .4em;
    animation: marquee 12s linear infinite !important;
    font-weight: 900;
    letter-spacing: -0.05em;
    font-size: 3.5vw;
    line-height: .9;
    white-space: nowrap;
    opacity: 0.5;
  }

  #capsule-hero .marquee .word {
    color: var(--ink);
    background: transparent !important;
  }

  #capsule-hero .marquee .word.outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--ink);
    background: transparent !important;
  }

  #capsule-hero .marquee * {
    background: transparent !important;
  }

  @keyframes marquee {
    0% {
      transform: translateX(0)
    }

    100% {
      transform: translateX(-50%)
    }
  }

  .videoThumb {
    position: absolute;
    left: 32px;
    top: 96px;
    z-index: 6;
    width: 170px;
    border-radius: 18px;
    overflow: hidden;
    background: #0a0a0a;
    box-shadow: 0 14px 32px rgba(40, 30, 70, .18);
    transform: rotate(-3deg);
    transition: transform .3s;
  }

  .videoThumb:hover {
    transform: rotate(-1deg) scale(1.02)
  }

  .videoThumb .ph {
    aspect-ratio: 4/5;
    background:
      linear-gradient(135deg, #3a2410, #6a3920 50%, #a55a30);
    position: relative;
    display: grid;
    place-items: center;
  }

  .videoThumb .ph::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 8px);
  }

  .videoThumb .play {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    display: grid;
    place-items: center;
    z-index: 2;
  }

  .videoThumb .play::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 11px solid var(--ink);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    margin-left: 3px;
  }

  .videoThumb .meta {
    position: absolute;
    bottom: 8px;
    left: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
  }

  .videoThumb { cursor: pointer; }

  /* Autoplaying preview video fills the card */
  .videoThumb .thumb-vid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  /* Bottom scrim so the label + play button stay legible over the video */
  .videoThumb .ph::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent 42%);
  }

  /* ───── Facility video modal (popup) ───── */
  #facilityModal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
  }

  #facilityModal.open {
    opacity: 1;
    visibility: visible;
  }

  #facilityModal .vm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 11, 20, .78);
    backdrop-filter: blur(6px);
  }

  #facilityModal .vm-box {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 92vw;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
    transform: translateY(16px) scale(.98);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  }

  #facilityModal.open .vm-box {
    transform: translateY(0) scale(1);
  }

  #facilityModal .vm-box video {
    display: block;
    width: auto;
    max-width: 92vw;
    max-height: 84vh;
    background: #000;
  }

  #facilityModal .vm-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #111;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  }

  @media (max-width: 560px) {
    #facilityModal .vm-close { top: 8px; right: 8px; }
  }

  .bottomBar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 32px;
    z-index: 6;
  }

  .tagline {
    max-width: 290px;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(14, 11, 20, .78);
  }

  .tagline strong {
    display: block;
    font-weight: 600;
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 7px;
    letter-spacing: -0.01em
  }

  .socials {
    display: flex;
    gap: 8px;
    margin-top: 12px
  }

  .socials a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 600;
    transition: background .2s, color .2s;
  }

  .socials a:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink)
  }

  .featureCard {
    background: #fff;
    border-radius: 22px;
    padding: 18px;
    width: 280px;
    box-shadow: 0 14px 32px rgba(40, 30, 70, .10);
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .featureCard .head {
    display: flex;
    align-items: center;
    gap: 10px
  }

  .featureCard .leafIcon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cfe1bb, #7fa166);
    display: grid;
    place-items: center;
    font-size: 18px;
  }

  .featureCard h4 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em
  }

  .featureCard p {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(14, 11, 20, .66)
  }

  .featureCard .cta {
    align-self: flex-start;
    background: var(--indigo);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .featureCard .cta::after {
    content: "→"
  }

  .scrollInd {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .scrollInd .mouse {
    width: 24px;
    height: 38px;
    border: 1.5px solid var(--ink);
    border-radius: 14px;
    position: relative;
  }

  .scrollInd .mouse::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 6px;
    width: 3px;
    height: 7px;
    background: var(--ink);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: bounceDot 1.6s ease-in-out infinite;
  }

  @keyframes bounceDot {

    0%,
    100% {
      transform: translate(-50%, 0);
      opacity: .4
    }

    50% {
      transform: translate(-50%, 12px);
      opacity: 1
    }
  }

  .scrollInd .lbl {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .6;
  }

  /* SCENE 2 — cream */
  #scene2 {
    padding-top: 140px;
    padding-bottom: 200px;
    min-height: 120vh
  }

  .s2head {
    max-width: 60ch;
    font-size: clamp(28px, 3.6vw, 50px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
  }

  .s2head .out {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--ink)
  }

  .s2grid {
    display: grid;
    grid-template-columns: 380px 418px 400px;
    gap: 40px;
    margin-top: 64px;
    align-items: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* product cards stack */
  .stack {
    position: relative;
    height: 520px;
    margin-top: 40px;
  }

  .pcard {
    position: absolute;
    background: #fff;
    border-radius: 22px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    box-shadow: 0 18px 38px rgba(40, 30, 70, .12);
    border: 1px solid rgba(255, 255, 255, .6);
    width: 340px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .pcard .thumb {
    width: 80px;
    height: 96px;
    border-radius: 14px;
    background: linear-gradient(160deg, #e9c79a, #b87440);
    position: relative;
    flex: none;
  }

  .pcard .thumb::after {
    content: "";
    position: absolute;
    inset: 14px 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .18);
  }

  .pcard h5 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em
  }

  .pcard .sub {
    font-size: 11px;
    color: rgba(14, 11, 20, .6);
    margin: 4px 0 10px
  }

  .pcard .priceRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
  }

  .pcard .price {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em
  }

  .pcard .add {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
  }

  .pcard.c1 {
    left: 0;
    top: 0;
    z-index: 3;
    transform: rotate(-2deg)
  }

  .pcard.c2 {
    left: 54px;
    top: 46px;
    z-index: 2;
    transform: rotate(2deg) scale(.95);
    opacity: .97
  }

  .pcard.c3 {
    left: 108px;
    top: 92px;
    z-index: 1;
    transform: rotate(-1deg) scale(.9);
    opacity: .92
  }

  .featList {
    display: flex;
    flex-direction: column;
    gap: 0
  }

  .featList .row {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 12px;
    align-items: start;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .featList .row:hover {
    background: rgba(0, 0, 0, 0.02)
  }

  .featList .row:last-child {
    border-bottom: 0
  }

  .featList .gly {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .featList .row.active .gly {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink)
  }

  .featList h6 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: color 0.3s ease
  }

  .featList .desc {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(14, 11, 20, .66);
    max-width: 46ch;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
  }

  .featList .row.active .desc {
    max-height: 300px;
    opacity: 1;
    margin-top: 6px
  }

  .featList .row.active h6 {
    color: var(--copper)
  }

  .featList .row .arr {
    font-size: 14px;
    opacity: .4;
    align-self: center;
    transition: transform 0.3s ease
  }

  .featList .row.active .arr {
    transform: rotate(180deg)
  }

  /* Capsule space (Scene 2 right column) — empty spacer for the fixed bottle.
     Must not capture clicks: the deck cards shift into this column, so without
     pointer-events:none this overlay would swallow clicks on the back cards. */
  .capsuleSpace {
    position: relative;
    min-height: 400px;
    pointer-events: none;
  }

  /* Helpers */
  .reveal-char {
    display: inline-block
  }

  /* Reduce motion */
  @media (prefers-reduced-motion:reduce) {

    *:not(.marquee .track),
    *::before,
    *::after {
      animation-duration: .001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001ms !important
    }

    /* The hero product carousel is a core, intentional slide the design depends on —
       keep it animating even when the OS requests reduced motion, otherwise products
       swap instantly (looks like no slide at all on machines with animations off). */
    #heroSlider .hero-slide {
      transition: transform 1.05s cubic-bezier(0.5, 0, 0.15, 1), opacity 0.9s ease !important;
    }
  }

  /* Hide ticker strip completely */
  #awafi-sections>.strip.marquee {
    display: none !important;
  }

  /* Fix Value Props card hover - ensure it works correctly */
  #awafi-sections .vp-card {
    background: var(--paper) !important;
    border: 1px solid var(--line) !important;
    transition: border-color 0.3s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s !important;
  }

  #awafi-sections .vp-card:hover {
    color: var(--paper) !important;
    border-color: var(--ink) !important;
  }

  #awafi-sections .vp-card:hover .vp-icon {
    color: var(--paper) !important;
  }

  /* Ensure Capsule sections keep their styling - prevent home.css conflicts */
  #capsule-hero .capsule-section {
    min-height: 100vh !important;
    padding: 0 32px !important;
    background: none !important;
    max-width: none !important;
    margin: 0 !important;
  }

  #capsule-hero #scene1 {
    height: 100vh !important;
    display: flex !important;
    align-items: stretch !important;
  }

  #capsule-hero #scene2 {
    padding-top: 140px !important;
    padding-bottom: 200px !important;
    min-height: 120vh !important;
  }

  /* Fix video thumbnail position */
  #capsule-hero .videoThumb {
    position: absolute !important;
    left: 32px !important;
    top: 96px !important;
    z-index: 6 !important;
  }

  /* Fix bottom bar position */
  #capsule-hero .bottomBar {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 32px !important;
    padding: 0 32px !important;
    z-index: 6 !important;
  }

  /* Fix scroll indicator */
  #capsule-hero .scrollInd {
    position: absolute !important;
    left: 50% !important;
    bottom: 32px !important;
    transform: translateX(-50%) !important;
  }

  /* White background for all Awafi sections */
  #awafi-sections {
    background: #fff !important;
  }


  .stats-section{
    background: #231f20 !important;
    background-color: #231f20 !important;
  }
 
  /* Remove borders from Why Trust section and ensure white background */
  #awafi-sections .why-trust {
    border-top: none !important;
    background: #fff !important;
    background-color: #fff !important;
  }

  #awafi-sections .why-trust .wt-inner {
    background: #fff !important;
  }

  /* Ensure wt-head and wt-grid also have white background */
  .wt-head,
  .wt-grid,
  .wt-head-text,
  .wt-head-img {
    background: transparent !important;
  }

  /* Hide facility image section in Why Awafi */
  #awafi-sections .wt-head-img {
    display: none !important;
  }

  /* With the facility image gone, collapse the two-column head to a single
     full-width column so the heading, copy and stats span the whole section
     instead of leaving an empty right half. */
  #awafi-sections .wt-head {
    grid-template-columns: 1fr !important;
  }

  #awafi-sections .wt-head-text {
    width: 100%;
  }

  /* Let the copy breathe across the width, and spread the stats out fully. */
  #awafi-sections .wt-title {
    max-width: 20ch;
  }

  #awafi-sections .wt-sub {
    max-width: 70ch;
  }

  #awafi-sections .wt-head-meta {
    max-width: none;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 48px);
  }

  /* Remove extra spacing after Why Awafi section */
  #awafi-sections .why-trust {
    padding-bottom: clamp(40px, 5vw, 80px) !important;
    margin-bottom: 0 !important;
  }

  #awafi-sections .value-props {
    padding-top: clamp(40px, 5vw, 80px) !important;
    margin-top: 0 !important;
  }

  /* Floating elements transition */
  #stage .float {
    transition: opacity 0.6s ease !important;
  }

  /* Ensure footer is visible with proper colors and above fixed layers */
  .footer {
    display: block !important;
    background: var(--ink) !important;
    color: var(--paper) !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
  }

  .footer * {
    color: var(--paper) !important;
  }

  .footer a {
    color: var(--paper) !important;
    opacity: 0.75;
  }

  .footer a:hover {
    opacity: 1 !important;
  }

  /* Hide capsule fixed layers when scrolled past */
  .hide-capsule-layers #bgLayer,
  .hide-capsule-layers #ridgeLayer,
  .hide-capsule-layers #stage {
    display: none !important;
  }

  /* Hide floating elements after Capsule sections */
  .hide-floats #stage .float {
    opacity: 0 !important;
  }

  /* ========== HORIZONTAL SCROLL AGENCIES ========== */
  #awafi-sections .in-house-agencies {
    position: relative;
    z-index: 6;
  }

  /* Scroller with height for scroll distance */
  .iha-hz-container {
    position: relative;
    height: 400vh;
    margin-top: clamp(60px, 8vw, 100px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }

  /* Sticky container */
  .iha-hz-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    z-index: 6;
    background: #fff;
  }

  .iha-hz-track {
    display: flex;
    height: 100%;
    will-change: transform;
    width: fit-content;
  }

  .iha-hz-card {
    position: relative;
    flex-shrink: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  /* First card (Maria Galland) starts as thumbnail */
  .iha-hz-card:first-child {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .iha-hz-card:first-child .iha-hz-bg {
    width: 65%;
    height: 65%;
    left: 17.5%;
    top: 17.5%;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    will-change: width, height, left, top, border-radius, transform;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .iha-hz-card:first-child .iha-hz-content {
    opacity: 0;
    transform: translateZ(0);
  }

  /* Last card zoom out effect */
  .iha-hz-card:last-child .iha-hz-bg {
    will-change: transform;
  }

  .iha-hz-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
  }

  .iha-hz-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 70%);
    z-index: 1;
  }

  .iha-hz-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: clamp(32px, 5vw, 80px);
    margin-left: clamp(40px, 8vw, 120px);
    display: flex;
    flex-direction: column;
  }

  .iha-hz-card .iha-logo {
    margin-bottom: clamp(20px, 2.5vw, 32px);
    order: -1;
    align-self: flex-start;
  }

  .iha-hz-card .iha-logo img {
    max-width: clamp(140px, 20vw, 240px);
    height: auto;
    filter: brightness(0) invert(1);
    display: block;
  }

  .iha-hz-card h3 {
    display: none;
  }

  .iha-hz-card .iha-cat {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-sans);
    font-size: clamp(13px, 1.5vw, 16px);
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-bottom: clamp(12px, 1.5vw, 18px);
  }

  .iha-hz-card p {
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-sans);
    font-size: clamp(15px, 1.7vw, 19px);
    line-height: 1.65;
    max-width: 500px;
    font-weight: 400;
  }
  #awafi-sections .in-house-agencies{
    padding-top:0 !important;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .iha-hz-content {
      margin-left: 0;
    }

    .iha-hz-bg::before {
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.75) 60%);
    }

    .iha-hz-content {
      align-self: flex-end;
      padding-bottom: clamp(40px, 6vw, 60px);
    }
  }

  /* ===== Scene 2 — cards only: clean vertical stack (no overlap), capsule on right ===== */
  #scene2 .s2grid {
    grid-template-columns: minmax(320px, 460px) 1fr;
    align-items: start;
  }

  #scene2 .stack {
    position: relative;
    height: 250px;
    margin-top: 28px;
    /* Nudge the deck toward centre on larger screens; no shift on mobile */
    transform: translateX(clamp(0px, calc((100vw - 760px) * 0.4), 230px));
  }

  #scene2 .stack .pcard {
    width: 360px;
    /* Animate the deck move (z-index excluded so it switches instantly, no flicker) */
    transition: left 0.45s cubic-bezier(0.16, 1, 0.3, 1),
      top 0.45s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.45s ease,
      box-shadow 0.3s ease;
  }

  #scene2 .stack .pcard:hover {
    box-shadow: 0 24px 48px rgba(40, 30, 70, .18);
    border-color: rgba(184, 116, 64, .35);
  }

  /* Logo tile inside each agency card */
  #scene2 .pcard .thumb {
    background: #fff;
    border: 1px solid rgba(14, 11, 20, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
  }

  #scene2 .pcard .thumb::after {
    display: none;
  }

  #scene2 .pcard .thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  /* ===== Scene 2b (clone) — accordion only, capsule on right ===== */
  #scene2b .s2grid {
    /* Wider accordion column so the content reaches closer to the capsule */
    grid-template-columns: minmax(320px, 800px) 1fr;
    align-items: center;
  }

  #scene2b .featList .desc {
    max-width: 62ch;
  }

  #capsule-hero #scene2b {
    padding-top: 140px !important;
    padding-bottom: 200px !important;
    min-height: 120vh !important;
  }

  /* Responsive: single column, drop the capsule spacer */
  @media (max-width: 900px) {

    #scene2 .s2grid,
    #scene2b .s2grid {
      grid-template-columns: 1fr;
    }

    #scene2 .capsuleSpace,
    #scene2b .capsuleSpace {
      display: none;
    }
  }

  /* ===== Mobile capsule hero — simplify to a clean, single-screen hero ===== */
  @media (max-width: 768px) {

    /* Drop the decorative clutter that overlaps on small screens */
    #capsule-hero .marquee,
    #capsule-hero #curvedText,
    #capsule-hero #platform,
    #capsule-hero #stage .float,
    #capsule-hero .videoThumb {
      display: none !important;
    }

    /* Confine the 3D capsule to the first screen so it scrolls away after scene 1 */
    #capsule-hero #stage {
      position: absolute !important;
      top: 0;
      left: 0;
      right: 0;
      height: 100vh;
    }

    #capsule-hero #bottleWrap {
      width: clamp(180px, 50vw, 270px);
      top: 40%;
    }

    /* Scene 1 — stack the copy cleanly at the bottom, over the bottle */
    #capsule-hero #scene1 {
      padding-top: 88px !important;
    }

    #capsule-hero .bottomBar {
      flex-direction: column;
      align-items: stretch;
      gap: 18px;
      bottom: 70px;
    }

    #capsule-hero .tagline {
      max-width: none;
      font-size: 15px;
    }

    #capsule-hero .tagline strong {
      font-size: clamp(20px, 6.5vw, 26px);
      line-height: 1.15;
      margin-bottom: 10px;
    }

    #capsule-hero .featureCard {
      width: 100%;
    }

    /* Scene 2 deck — keep the cards within the viewport */
    #scene2 .stack {
      height: 220px;
    }

    #scene2 .stack .pcard {
      width: min(300px, 78vw);
    }

    /* Headings a touch tighter on phones */
    .s2head {
      font-size: clamp(26px, 8vw, 38px);
    }
  }

