/* Magic UI ports for the HB page — bundled from magicui/src (plan order). Edit the src files, then rebuild. */

/* ===== M1-grid-pattern.css ===== */
/* Adapted from Magic UI (MIT) — vendor/magicui/apps/www/registry/magicui/animated-grid-pattern.tsx (+ interactive-grid-pattern.tsx, grid-pattern.tsx) — squares sit in the existing 92px centred lines of #grid/#grid2 in white tints, hover trail on fine pointers, static --line grid-pattern texture behind #simulateur */

/* animated-grid-pattern : squares layer (top rows only, observed for pause) */
[data-mu~="grid-pattern"] .mu-gp-sqs{position:absolute;left:0;top:0;right:0;pointer-events:none}
[data-mu~="grid-pattern"] .mu-gp-sq{position:absolute;width:91px;height:91px;background:#fff;opacity:0;pointer-events:none;will-change:opacity}

/* interactive-grid-pattern : cell under the cursor, same mask as the lines */
@media (hover:hover) and (pointer:fine){
  [data-mu~="grid-pattern"] .mu-gp-hovs{position:absolute;inset:0;pointer-events:none;mask-image:linear-gradient(180deg,#000 0%,#000 70%,transparent 100%);-webkit-mask-image:linear-gradient(180deg,#000 0%,#000 70%,transparent 100%)}
  [data-mu~="grid-pattern"] .mu-gp-hov{position:absolute;width:91px;height:91px;background:rgba(255,255,255,.16);opacity:0;pointer-events:none;transition:opacity .9s ease-out}
  [data-mu~="grid-pattern"] .mu-gp-hov.is-on{opacity:1;transition:none}
}

/* grid-pattern : the lab texture behind the simulator */
[data-mu~="grid-pattern"][data-mu-grid~="static"]{position:relative;isolation:isolate}
[data-mu~="grid-pattern"] .mu-gp-tex{position:absolute;inset:0;z-index:-1;width:100%;height:100%;pointer-events:none;overflow:hidden;fill:none;stroke:var(--line,#d9e3fb);stroke-opacity:.7;mask-image:radial-gradient(ellipse 70% 60% at 70% 40%,#000 30%,transparent 75%);-webkit-mask-image:radial-gradient(ellipse 70% 60% at 70% 40%,#000 30%,transparent 75%)}

@media (prefers-reduced-motion:reduce){
  [data-mu~="grid-pattern"] .mu-gp-sq{will-change:auto}
}

/* ===== M2-border-beam.css ===== */
/* Adapted from Magic UI (MIT) — vendor/magicui/apps/www/registry/magicui/border-beam.tsx — motion.div replaced by a pure CSS offset-distance loop, DA blues (#fff/#9cc0ff on the film card, --blue/#9cc0ff on the booking card), 2px ring, paused off-screen. */

@supports (offset-path: rect(0 0 0 0)) {
  /* host: the booking card needs a containing block for the ring (the film #screen already has one) */
  .booking[data-mu~="border-beam"] { position: relative; }
  /* the ring sits on the card's outer 2px: the iClosed iframe (flush with the card's left, right and bottom edges) steps 2px inside it so the beam never paints over it */
  .booking[data-mu~="border-beam"] iframe { width: calc(100% - 4px); margin: 0 auto 2px; }

  /* film card */
  #screen[data-mu~="border-beam"] > .mu-border-beam { --mu-size: 200px; --mu-dur: 9s; --mu-delay: 0s; --mu-from: #ffffff; --mu-to: #9cc0ff; --mu-bw: 2px; }
  /* booking card */
  .booking[data-mu~="border-beam"] > .mu-border-beam { --mu-size: 220px; --mu-dur: 8s; --mu-delay: -2s; --mu-from: var(--blue); --mu-to: #9cc0ff; --mu-bw: 2px; }

  /* the ring: border-box minus padding-box, so only the border width shows */
  [data-mu~="border-beam"] > .mu-border-beam {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    border: var(--mu-bw, 2px) solid transparent;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(transparent, transparent), linear-gradient(#000, #000);
    -webkit-mask-clip: padding-box, border-box;
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(transparent, transparent), linear-gradient(#000, #000);
    mask-clip: padding-box, border-box;
    mask-composite: intersect;
  }

  /* the beam: a square travelling along a rounded rect path */
  [data-mu~="border-beam"] > .mu-border-beam > .mu-border-beam-i {
    position: absolute;
    aspect-ratio: 1;
    width: var(--mu-size);
    background: linear-gradient(to left, var(--mu-from), var(--mu-to), transparent);
    offset-path: rect(0 auto auto 0 round var(--mu-size));
    offset-distance: 0%;
    animation: mu-border-beam var(--mu-dur) linear var(--mu-delay) infinite;
  }
  [data-mu~="border-beam"] > .mu-border-beam.mu-off > .mu-border-beam-i { animation-play-state: paused; }

  @keyframes mu-border-beam {
    from { offset-distance: 0%; }
    to { offset-distance: 100%; }
  }

  @media (max-width: 768px) {
    #screen[data-mu~="border-beam"] > .mu-border-beam,
    .booking[data-mu~="border-beam"] > .mu-border-beam { --mu-size: 140px; }
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-mu~="border-beam"] > .mu-border-beam { display: none; }
}

/* ===== M3-number-ticker.css ===== */
/* Adapted from Magic UI (MIT) — vendor/magicui/apps/www/registry/magicui/number-ticker.tsx — tabular-nums on the ticking simulator figures (as the source's span) plus the HB palette range slider (blue-soft track, blue fill, white thumb with blue ring). */

/* the source renders the ticker with tabular-nums so digits do not jitter while counting */
.result[data-mu~="number-ticker"] b,
.result[data-mu~="number-ticker"] #outPct{font-variant-numeric:tabular-nums}

/* ── range slider ── (outline removed: the thumb draws a solid --blue-ink focus ring, 3:1 on white) */
input[type="range"][data-mu~="number-ticker"]{
  -webkit-appearance:none;appearance:none;
  background:transparent;accent-color:var(--blue);
  height:28px;outline:none;cursor:pointer
}
input[type="range"][data-mu~="number-ticker"]::-webkit-slider-runnable-track{
  height:6px;border-radius:999px;
  background:linear-gradient(to right,
    var(--blue) 0,
    var(--blue) calc(var(--mu-fill,0%) + 11px - 22px * var(--mu-p,0)),
    var(--blue-soft) calc(var(--mu-fill,0%) + 11px - 22px * var(--mu-p,0)),
    var(--blue-soft) 100%)
}
input[type="range"][data-mu~="number-ticker"]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;
  box-sizing:border-box;width:22px;height:22px;margin-top:-8px;
  border:2px solid var(--blue);border-radius:50%;background:#fff;
  box-shadow:0 4px 12px rgba(11,27,74,.18)
}
input[type="range"][data-mu~="number-ticker"]::-moz-range-track{
  height:6px;border:0;border-radius:999px;background:var(--blue-soft)
}
input[type="range"][data-mu~="number-ticker"]::-moz-range-progress{
  height:6px;border-radius:999px;background:var(--blue)
}
input[type="range"][data-mu~="number-ticker"]::-moz-range-thumb{
  box-sizing:border-box;width:22px;height:22px;
  border:2px solid var(--blue);border-radius:50%;background:#fff;
  box-shadow:0 4px 12px rgba(11,27,74,.18)
}
input[type="range"][data-mu~="number-ticker"]:focus-visible::-webkit-slider-thumb{
  box-shadow:0 0 0 3px #fff,0 0 0 5px var(--blue-ink),0 4px 12px rgba(11,27,74,.18)
}
input[type="range"][data-mu~="number-ticker"]:focus-visible::-moz-range-thumb{
  box-shadow:0 0 0 3px #fff,0 0 0 5px var(--blue-ink),0 4px 12px rgba(11,27,74,.18)
}
@media (hover:hover) and (pointer:fine){
  input[type="range"][data-mu~="number-ticker"]:hover::-webkit-slider-thumb{box-shadow:0 0 0 5px rgba(45,107,246,.14),0 4px 12px rgba(11,27,74,.2)}
  input[type="range"][data-mu~="number-ticker"]:hover::-moz-range-thumb{box-shadow:0 0 0 5px rgba(45,107,246,.14),0 4px 12px rgba(11,27,74,.2)}
}
@media (prefers-reduced-motion: no-preference){
  input[type="range"][data-mu~="number-ticker"]::-webkit-slider-thumb{transition:box-shadow .2s ease}
  input[type="range"][data-mu~="number-ticker"]::-moz-range-thumb{transition:box-shadow .2s ease}
}

/* ===== M4-text-reveal.css ===== */
/* Adapted from Magic UI (MIT) — vendor/magicui/apps/www/registry/magicui/text-reveal.tsx — no pin / no 200vh track: the closing line of the night "constat" is scrubbed word by word in place, white on --navy-2, Inter Tight 600. */

/* Typography of the closing statement (works with or without JS). */
p.lead.mu-text-reveal[data-mu~="text-reveal"]{
  font-family:var(--head);
  font-weight:600;
  font-size:clamp(26px,3.4vw,44px);
  line-height:1.18;
  letter-spacing:-.02em;
  color:#fff;
  opacity:1;
  max-width:min(760px,100%);
  margin-top:72px;
}
@media (max-width:720px){
  p.lead.mu-text-reveal[data-mu~="text-reveal"]{font-size:26px}
}

/* Word spans are created at runtime only when GSAP + ScrollTrigger are present
   and motion is allowed. They stay inline so non-breaking spaces keep binding. */
.mu-text-reveal .mu-tr-w{display:inline}
@media (prefers-reduced-motion:no-preference){
  /* faint base (Magic UI: absolute copy at opacity .3, here .22); GSAP scrubs it to 1 */
  html.js .mu-text-reveal.mu-tr-ready .mu-tr-w{opacity:.22}
}
@media (prefers-reduced-motion:reduce){
  .mu-text-reveal .mu-tr-w{opacity:1 !important}
}

/* ===== M5-progressive-blur.css ===== */
/* Adapted from Magic UI (MIT) — vendor/magicui/apps/www/registry/magicui/progressive-blur.tsx — static CSS port (position=bottom) over the collapsed proof wall: 6 levels on desktop, 3 on phone, closed by a navy-2 gradient that replaces the old ::after fade. */

/* the overlay carries the fade now: drop the page's own ::after so the two do not double up */
.wall-win[data-mu~="progressive-blur"]:not(.open)::after{display:none}

.mu-pblur{position:absolute;left:0;right:0;bottom:0;height:260px;z-index:3;pointer-events:none}
.mu-pblur > i{position:absolute;inset:0;display:block;pointer-events:none}
.wall-win.open .mu-pblur{display:none}
/* collapsed, the wall ends in solid navy-2 on the navy-2 night: its bottom corners need no rounding, and a square clip
   leaves no anti-aliased arc where the white captures underneath would bleed through */
.wall-win[data-mu~="progressive-blur"]:not(.open){border-bottom-left-radius:0;border-bottom-right-radius:0}

/* final layer: the wall dissolves into the night (also the fallback when backdrop-filter is missing) */
.mu-pblur > .mu-pblur-tint{z-index:10;background:linear-gradient(to bottom,rgba(8,26,82,0) 0%,var(--navy-2) 92%)}

/* blur layers hidden unless backdrop-filter is supported → gradient-only fallback */
.mu-pblur > .mu-pblur-l{display:none}

@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .mu-pblur > .mu-pblur-l{display:block}
  /* Same windows as the source with step = 100% / levels (source: 8 levels, 12.5% steps).
     Layer k: transparent at k·s, opaque from (k+1)·s to (k+2)·s, transparent at (k+3)·s; last layer ramps (n-1)·s → 100%.
     Desktop: levels [1,2,4,8,16,32], s = 16.667% */
  .mu-pblur > .mu-pblur-l:nth-child(1){z-index:1;--b:1px;--m:linear-gradient(to bottom,rgba(0,0,0,0) 0%,#000 16.667%,#000 33.333%,rgba(0,0,0,0) 50%)}
  .mu-pblur > .mu-pblur-l:nth-child(2){z-index:2;--b:2px;--m:linear-gradient(to bottom,rgba(0,0,0,0) 16.667%,#000 33.333%,#000 50%,rgba(0,0,0,0) 66.667%)}
  .mu-pblur > .mu-pblur-l:nth-child(3){z-index:3;--b:4px;--m:linear-gradient(to bottom,rgba(0,0,0,0) 33.333%,#000 50%,#000 66.667%,rgba(0,0,0,0) 83.333%)}
  .mu-pblur > .mu-pblur-l:nth-child(4){z-index:4;--b:8px;--m:linear-gradient(to bottom,rgba(0,0,0,0) 50%,#000 66.667%,#000 83.333%,rgba(0,0,0,0) 100%)}
  .mu-pblur > .mu-pblur-l:nth-child(5){z-index:5;--b:16px;--m:linear-gradient(to bottom,rgba(0,0,0,0) 66.667%,#000 83.333%,#000 100%,rgba(0,0,0,0) 116.667%)}
  .mu-pblur > .mu-pblur-l:nth-child(6){z-index:6;--b:32px;--m:linear-gradient(to bottom,rgba(0,0,0,0) 83.333%,#000 100%)}
  .mu-pblur > .mu-pblur-l{backdrop-filter:blur(var(--b));-webkit-backdrop-filter:blur(var(--b));-webkit-mask-image:var(--m);mask-image:var(--m)}
}

@media (max-width:768px){
  .mu-pblur{height:180px}
  .mu-pblur > .mu-pblur-l:nth-child(n+4){display:none}
  @supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
    /* Phone: levels [2,6,14], s = 33.333% */
    .mu-pblur > .mu-pblur-l:nth-child(1){--b:2px;--m:linear-gradient(to bottom,rgba(0,0,0,0) 0%,#000 33.333%,#000 66.667%,rgba(0,0,0,0) 100%)}
    .mu-pblur > .mu-pblur-l:nth-child(2){--b:6px;--m:linear-gradient(to bottom,rgba(0,0,0,0) 33.333%,#000 66.667%,#000 100%,rgba(0,0,0,0) 133.333%)}
    .mu-pblur > .mu-pblur-l:nth-child(3){--b:14px;--m:linear-gradient(to bottom,rgba(0,0,0,0) 66.667%,#000 100%)}
  }
}

/* ===== M6-beam.css ===== */
/* Adapted from Magic UI (MIT) — vendor/magicui/apps/www/registry/magicui/animated-beam.tsx — vertical rail in the left gutter, beam scrubbed by scroll instead of a timed loop, HB blues, 8px nodes that light the scope rows and the resting method steps */
[data-mu~="beam"]{position:relative;--mu-beam-x:-26px}
.mu-beam{position:absolute;top:0;bottom:0;left:var(--mu-beam-x);width:12px;margin-left:-6px;pointer-events:none;z-index:1}
.mu-beam[hidden]{display:none}
.mu-beam svg{position:absolute;left:0;top:0;display:block;overflow:visible}
/* path: pathColor var(--line), pathOpacity 1, pathWidth 2, round caps (source defaults adapted) */
.mu-beam-path{fill:none;stroke:var(--line);stroke-width:2;stroke-opacity:1;stroke-linecap:round}
.mu-beam-glow{fill:none;stroke-width:2;stroke-opacity:1;stroke-linecap:round}
/* gradient stops as in the source: start colour at 0 (transparent then opaque), stop colour at 32.5%, transparent at 100% */
.mu-beam-s0{stop-color:var(--blue);stop-opacity:0}
.mu-beam-s1{stop-color:var(--blue);stop-opacity:1}
.mu-beam-s2{stop-color:#9cc0ff;stop-opacity:1}
.mu-beam-s3{stop-color:#9cc0ff;stop-opacity:0}
.mu-beam.mu-still .mu-beam-glow{stroke:var(--blue)}
.mu-beam-node{position:absolute;left:50%;top:0;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px var(--line);transition:background-color .35s ease,box-shadow .5s var(--ease)}
.mu-beam-node.mu-on{background:var(--blue);box-shadow:inset 0 0 0 2px var(--blue),0 0 0 4px rgba(45,107,246,.14),0 0 14px rgba(45,107,246,.55)}
/* the page switches to its 20px gutter at 768px included: the rail follows it */
@media (max-width:768px){[data-mu~="beam"]{--mu-beam-x:-14px}}
/* resting method: .on scales the numeral (page rule .step.on .big); keep the scale on the numeral itself so a full-width block never pushes past the viewport */
.method.is-rest [data-mu~="beam"] > .step .big{width:max-content}
/* steps of the resting method: gentle fade-up as each enters the viewport (translate keeps the scene's own transform free) */
@media (prefers-reduced-motion:no-preference){
  html.js [data-mu~="beam"].mu-beam-fx > .step{transition:background-color .45s ease,color .45s ease,transform .6s var(--ease),opacity .9s var(--ease),translate .9s var(--ease)}
  html.js [data-mu~="beam"].mu-beam-fx > .step:not(.mu-beam-in){opacity:0;translate:0 28px}
}
@media (prefers-reduced-motion:reduce){.mu-beam-node{transition:none}}

/* ===== M7-velocity-marquee.css ===== */
/* Adapted from Magic UI (MIT) — marquee.tsx — la boucle CSS "scroll" est confiée à la boucle JS dès que le module tourne (sans JS, la boucle CSS reste). */
[data-mu~="velocity-marquee"].mu-vm-on .marquee-inner {
  animation: none;
  will-change: transform;
  backface-visibility: hidden;
}

/* ===== M8-hb-fixes.css ===== */
/* HB fixes — proof-wall tabs on one scrollable line under 860px (indicator never covers a label), phone film card sized to its content with the beat centred, reduced-motion film frame without transitions. Constat numerals, hover guards, footer wordmark fit and the film rest frame are markup/script edits in index.html. */

/* (2) Proof-wall tabs: one line, horizontal scroll with snap, hidden scrollbar.
   The white .ind keeps moving on left/width only, so it always sits under the active label. */
@media (max-width: 860px) {
  [data-mu~="hb-fixes"] .tabs {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 5px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  [data-mu~="hb-fixes"] .tabs::-webkit-scrollbar { display: none; }
  [data-mu~="hb-fixes"] .tabs button {
    flex: none;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  /* the scroll box clips outlines drawn outside it: draw the focus ring inside the pill */
  [data-mu~="hb-fixes"] .tabs button:focus-visible { outline-offset: -3px; }

  /* more tabs to the right: the pill fades out on that edge (class set by M8-hb-fixes.js) */
  @supports ((mask-image: linear-gradient(#000, #000)) or (-webkit-mask-image: linear-gradient(#000, #000))) {
    [data-mu~="hb-fixes"] .tabs.mu-hb-more {
      -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent);
      mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent);
    }
    [data-mu~="hb-fixes"] .tabs.mu-hb-more.mu-hb-back {
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent);
      mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent);
    }
    [data-mu~="hb-fixes"] .tabs.mu-hb-back:not(.mu-hb-more) {
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px);
      mask-image: linear-gradient(90deg, transparent, #000 44px);
    }
  }
}

/* (6) Phone film card: the screen takes the height of its content instead of a fixed 440px.
   The five cards share one grid cell (tallest card sets the height), each beat is centred in it,
   and the caption keeps room for two lines so it never runs into the card. */
@media (max-width: 768px) {
  [data-mu~="hb-fixes"] .film-scene .screen { height: auto; }
  [data-mu~="hb-fixes"] .film-scene .stage {
    position: relative;
    inset: auto;
    padding: 62px 18px 20px;
    grid-template-rows: auto auto;
  }
  [data-mu~="hb-fixes"] .film-scene .say { min-height: 2.1em; }
  [data-mu~="hb-fixes"] .film-scene .panel {
    display: grid;
    height: auto;
    max-height: none;
    min-height: 0;
  }
  [data-mu~="hb-fixes"] .film-scene .card {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  /* cards with a footer (Publier) keep it clear of the text */
  [data-mu~="hb-fixes"] .film-scene .compose { margin-bottom: 40px; }
  /* the agenda beat (payoff frame) is the shortest card: roomier day tiles and spacing so it fills the shared cell instead of floating in navy */
  [data-mu~="hb-fixes"] .film-scene #cal { margin-top: 30px; }
  [data-mu~="hb-fixes"] .film-scene #cal span { padding: 16px 0; }
  [data-mu~="hb-fixes"] .film-scene #booked { margin-top: 28px; }
}

/* (4) Reduced motion: the rest frame (day picked, Rendez-vous confirmé) appears without transitions */
@media (prefers-reduced-motion: reduce) {
  [data-mu~="hb-fixes"] .film-scene .cal span,
  [data-mu~="hb-fixes"] .film-scene .cal span b,
  [data-mu~="hb-fixes"] .film-scene .booked,
  [data-mu~="hb-fixes"] .film-scene .pub,
  [data-mu~="hb-fixes"] .tabs .ind { transition: none; }
}

/* « Voir les 66 captures » : le bouton est en inline-flex avec un gap de 10px, ce qui écartait trop le nombre des mots */
#more{gap:.3em}

/* ===== M9-scroll-progress.css ===== */
/* Adapted from Magic UI (MIT) — vendor/magicui/apps/www/registry/magicui/scroll-progress.tsx — same fixed top bar scaled by scroll progress (origin-left gradient), kept at 3px on the page's GSAP scrub; the pink/amber gradient and the old mix-blend-mode:difference become DA blues that follow the nav (white→#9cc0ff over blue, --blue-ink→--blue over the white nav). Also: CTA pill beat dot + mouse halo, phone spacing before the calendar, stats dividers. */

/* ── 1. Scroll progress ── */
#progress[data-mu~="scroll-progress"]{
  mix-blend-mode:normal;
  background:linear-gradient(90deg,#fff 0%,#9cc0ff 100%);
  pointer-events:none;
}
#progress[data-mu~="scroll-progress"]::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(90deg,var(--blue-ink) 0%,var(--blue) 100%);
  opacity:0;
}
#progress[data-mu~="scroll-progress"].mu-sp-light::after{opacity:1}
@media (prefers-reduced-motion:no-preference){
  #progress[data-mu~="scroll-progress"]::after{transition:opacity .3s ease}
}

/* ── 2. CTA zone: the hero pill's dot, kept still here (the booking beam is the zone's only loop, the calendar stays the calmest spot) ── */
.cta-zone[data-mu~="scroll-progress"] .cta .pill::before{
  content:'';width:6px;height:6px;border-radius:50%;background:#fff;flex:none;
}

/* CTA zone: the hero's mouse halo (node added by JS for fine pointers only) */
.cta-zone[data-mu~="scroll-progress"] .mu-sp-spot{
  position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0;
  background:radial-gradient(420px circle at var(--mx,50%) var(--my,30%),rgba(255,255,255,.16),transparent 70%);
}
@media (hover:hover) and (pointer:fine){
  .cta-zone[data-mu~="scroll-progress"] .mu-sp-spot{transition:opacity .6s ease}
  .cta-zone[data-mu~="scroll-progress"]:hover .mu-sp-spot{opacity:1}
}

/* CTA zone, single column: no empty blue band before the calendar */
@media (max-width:1024px){
  .cta-zone[data-mu~="scroll-progress"] .cta .wrap{row-gap:36px}
  .cta-zone[data-mu~="scroll-progress"] .cta .wrap > div:first-child{padding-bottom:0 !important}
}
@media (max-width:768px){
  .cta-zone[data-mu~="scroll-progress"] .cta .wrap{row-gap:28px}
}

/* ── 3. CTA → footer seam (the .fade markup reuses the page's own rule) ── */
.fade[data-mu~="scroll-progress"]{margin-top:-1px;height:clamp(96px,10vw,150px)}
/* shorter band: the streak's glow is scaled down so the band's overflow clip never cuts it */
.fade[data-mu~="scroll-progress"] .streak::before{height:28px;filter:blur(18px)}
/* the booking card no longer docks into the navy footer: it now ends on blue, so close its bottom corners */
.cta-zone[data-mu~="scroll-progress"] .booking{border-radius:22px}

/* ── 4. Stats band: quiet 1px dividers (desktop), centre cross (phone) ── */
.stats[data-mu~="scroll-progress"] .stat{position:relative}
.stats[data-mu~="scroll-progress"] .stat:not(:first-child)::before{
  content:'';position:absolute;left:-12px;top:20px;bottom:44px;width:1px;
  background:var(--line);pointer-events:none;
}
@media (max-width:768px){
  .stats[data-mu~="scroll-progress"] .stat:nth-child(odd)::before{content:none}
  .stats[data-mu~="scroll-progress"] .stat:nth-child(n+3){padding-top:24px}
  .stats[data-mu~="scroll-progress"] .stat:nth-child(2)::before{left:-10px;top:12px;bottom:0;background:linear-gradient(180deg,rgba(217,227,251,0),var(--line) 60%)}
  .stats[data-mu~="scroll-progress"] .stat:nth-child(4)::before{left:-10px;top:0;bottom:26px;background:linear-gradient(180deg,var(--line) 40%,rgba(217,227,251,0))}
  .stats[data-mu~="scroll-progress"] .stat:nth-child(n+3)::after{
    content:'';position:absolute;top:0;height:1px;pointer-events:none;
  }
  .stats[data-mu~="scroll-progress"] .stat:nth-child(3)::after{left:0;right:-10px;background:linear-gradient(90deg,rgba(217,227,251,0),var(--line) 60%)}
  .stats[data-mu~="scroll-progress"] .stat:nth-child(4)::after{left:-10px;right:0;background:linear-gradient(90deg,var(--line) 40%,rgba(217,227,251,0))}
}
