/* Bounce r1: blueprint-to-build header */
.hero.bh{display:block;padding:0;min-height:0;overflow:hidden;background:var(--ink)}
.bh-pin{position:relative;height:100vh;height:100svh;min-height:560px;overflow:hidden}
.bh-stage{position:absolute;inset:0;z-index:0;overflow:hidden;background:#070a12;contain:strict}
.bh-paper{position:absolute;inset:0;background:
  radial-gradient(120% 90% at 66% 46%,rgba(48,65,203,.20),rgba(7,10,18,0) 62%),
  linear-gradient(rgba(159,192,255,.045) 1px,transparent 1px) 0 0/48px 48px,
  linear-gradient(90deg,rgba(159,192,255,.045) 1px,transparent 1px) 0 0/48px 48px,
  linear-gradient(rgba(159,192,255,.08) 1px,transparent 1px) 0 0/240px 240px,
  linear-gradient(90deg,rgba(159,192,255,.08) 1px,transparent 1px) 0 0/240px 240px,#070b16}
.bh-layers,.bh-l,.bh-cw,.bh-in{position:absolute;inset:0}
.bh-l,.bh-cw{overflow:hidden;will-change:transform}
.bh-li,.bh-in{will-change:transform}
.bh-li,.bh-cwi,.bh-base img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block}
.bh-base{position:absolute;inset:0;z-index:1}
.bh-base.gone{visibility:hidden}
.bh-cwi{opacity:0;transition:opacity .36s cubic-bezier(.33,0,.2,1);z-index:2}
.bh-cwi.on{opacity:1}
.bp{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;display:none}
.bp polyline,.bp circle{fill:none;stroke:#cfe0ff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.bp .bp-slab polyline{stroke:#8fb0ff;stroke-width:2.5;stroke-dasharray:14 10}
.bp .bp-turf polyline,.bp .bp-lines polyline{stroke:#ffffff;stroke-width:4}
.bp .bp-mesh polyline{stroke-width:2.2;stroke-opacity:.75}
.bp .bp-glass polyline{stroke:#9ff0e0;stroke-width:2.6}
.bp .bp-net polyline{stroke:#ffffff;stroke-width:3.4}
.bp .bp-lights polyline{stroke:#ebea64;stroke-width:3}
.bp .bp-dim polyline,.bp .bp-dim circle,.bp .bp-call polyline,.bp .bp-call circle{stroke:#ebea64;stroke-width:3}
.bp .bp-dim circle,.bp .bp-call circle{fill:#ebea64;stroke:none}
.bp text{font-family:"Plex Mono",ui-monospace,Menlo,monospace;font-size:34px;letter-spacing:.12em;fill:#ebea64;font-weight:500}
.bp .bp-dim text{font-size:40px;fill:#fff}
html.bh-seq .bp{display:block}
html.bh-seq .bh-cw{visibility:hidden}
/* the drawing: strokes run on as the page opens (starts at once, done in ~1.4 s) */
html.bh-draw .bp-g>polyline{stroke-dasharray:1 1;stroke-dashoffset:1;animation:bpDraw .8s cubic-bezier(.45,0,.2,1) forwards;animation-delay:calc(var(--d)*.55)}
html.bh-draw .bp .bp-slab polyline{stroke-dasharray:1 1}
html.bh-draw .bp-g circle,html.bh-draw .bp-g text{opacity:0;animation:bpFade .4s ease-out forwards;animation-delay:calc(var(--d)*.55 + .35s)}
@keyframes bpDraw{to{stroke-dashoffset:0}}
@keyframes bpFade{to{opacity:1}}
.bh-scan{position:absolute;left:0;right:0;top:0;height:2px;margin-top:-1px;z-index:4;opacity:0;pointer-events:none;background:linear-gradient(90deg,rgba(235,234,100,0),rgba(235,234,100,.95) 18%,#fff 50%,rgba(235,234,100,.95) 82%,rgba(235,234,100,0));box-shadow:0 0 18px 3px rgba(235,234,100,.45);will-change:transform,opacity}
.bh-shade{position:absolute;inset:0;z-index:5;pointer-events:none;background:
  linear-gradient(90deg,rgba(7,9,14,.86) 0%,rgba(7,9,14,.62) 24%,rgba(7,9,14,.18) 44%,rgba(7,9,14,0) 58%),
  linear-gradient(180deg,rgba(7,9,14,.55) 0%,rgba(7,9,14,0) 16%,rgba(7,9,14,0) 70%,rgba(7,9,14,.55) 100%)}
.hero.bh .hero-contours{z-index:1;opacity:.05}
.hero.bh .hero-inner{position:absolute;z-index:6;left:var(--pad);bottom:clamp(40px,9vh,96px);max-width:min(46vw,900px)}
.hero.bh .hero-title{font-size:clamp(56px,6.4vw,124px);margin-bottom:22px}
.hero.bh .hero-sub{max-width:34ch;font-size:clamp(18px,1.3vw,21px);margin-bottom:26px;color:#e6e7ee}
.hero.bh .kicker::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--yellow)}
/* right-hand panel: build steps, then the colour picker */
.bh-panel{position:absolute;z-index:6;right:var(--pad);bottom:clamp(22px,4.2vh,52px);width:clamp(316px,25vw,360px);display:grid}
.bh-hud,.bh-pick{grid-area:1/1;padding:18px 20px 17px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:rgba(8,10,16,.84);box-shadow:0 18px 50px rgba(0,0,0,.35);transition:opacity .3s ease,transform .45s var(--ease),visibility 0s linear 0s}
.bh-hud p,.bh-pick p{margin:0}
.bh-hud-top{color:var(--t-muted-d);font-size:13px;display:flex;gap:8px;align-items:center}
.bh-hud-top span:first-child{color:var(--yellow)}
.bh-hud-k{margin-left:auto;color:var(--yellow)}
.bh-hud-title{font:800 italic clamp(28px,2.2vw,40px)/.95 var(--display);text-transform:uppercase;margin:10px 0 8px!important}
.bh-hud-text{font-size:14.5px;line-height:1.5;color:var(--t-muted-d);min-height:4.5em}
.bh-rail{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(6,1fr);gap:6px}
.bh-rail li{font:500 10.5px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:#7c7f8c;padding-top:10px;position:relative;overflow:hidden;white-space:nowrap}
.bh-rail li::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;border-radius:3px;background:#2c303c}
.bh-rail li.on{color:#cfd1da}.bh-rail li.on::before{background:var(--t-light)}
.bh-rail li.now{color:var(--yellow)}.bh-rail li.now::before{background:var(--yellow)}
.bh-skip{margin-top:16px;background:none;border:0;padding:6px 0;color:var(--t-light);cursor:pointer;font-size:12px;border-bottom:1px solid rgba(255,255,255,.3)}
.bh-skip:hover{color:var(--yellow);border-color:var(--yellow)}
.bh-pick-top{font-family:var(--mono);font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--yellow)}
.bh-pick-name{font:800 italic clamp(32px,2.5vw,46px)/.95 var(--display);text-transform:uppercase;margin:8px 0 12px!important}
.bh-sw{display:flex;flex-wrap:wrap;gap:10px}
.bh-sw button{width:44px;height:44px;padding:0;border-radius:50%;border:0;cursor:pointer;background:none;position:relative;display:grid;place-items:center;transition:transform .25s var(--ease)}
.bh-sw button i{width:36px;height:36px;border-radius:50%;background:conic-gradient(from -90deg,var(--c1) 0 50%,var(--c2) 50% 75%,var(--c3) 75% 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.bh-sw button::after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 2px var(--yellow);opacity:0;transform:scale(.86);transition:opacity .2s,transform .3s var(--ease)}
.bh-sw button[aria-checked=true]::after{opacity:1;transform:scale(1)}
.bh-sw button:hover{transform:translateY(-2px)}
.bh-sw button:focus-visible{outline:none}
.bh-sw button:focus-visible::after{opacity:1;transform:scale(1);box-shadow:0 0 0 3px #fff}
.bh-pick-note{font-size:13px;line-height:1.5;color:var(--t-muted-d);margin-top:12px!important}
/* sequence states */
html.bh-seq .bh-pick{opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .25s ease,transform .45s var(--ease),visibility 0s linear .3s}
html.bh-seq .hero.bh-done .bh-pick{opacity:1;visibility:visible;transform:none;transition:opacity .3s ease,transform .45s var(--ease),visibility 0s}
html.bh-seq .hero.bh-done .bh-hud{opacity:0;visibility:hidden;transform:translateY(-10px);transition:opacity .2s ease,transform .45s var(--ease),visibility 0s linear .25s}
html:not(.bh-seq) .bh-hud{display:none}
html.bh-seq .hero.bh-done .scroll-cue{opacity:0}
.hero.bh .scroll-cue{z-index:6;transition:opacity .3s}
html:not(.bh-seq) .hero.bh .scroll-cue{display:none}
/* short desktop windows */
@media (min-width:1000px) and (max-height:760px){
  .hero.bh .hero-title{font-size:clamp(48px,5.2vw,92px)}
  .bh-hud-text{min-height:0}
  .bh-hud,.bh-pick{padding:18px}
  .bh-pick-note{display:none}
}
/* ---------- still layouts (phones, tablets in portrait, short landscape, reduced motion) ---------- */
html.bh-still .bh-pin,html.no-js .bh-pin,html.reduced .bh-pin{height:auto;min-height:0}
@media (orientation:portrait),(max-width:999px){
  html:not(.bh-seq) .bh-pin{display:grid;grid-template-columns:1fr;height:auto;min-height:0}
  html:not(.bh-seq) .bh-stage{position:relative;grid-area:1/1;height:min(68svh,calc(100vw * 1.5));min-height:420px;contain:layout paint}
  html:not(.bh-seq) .bh-stage img{object-position:50% 24%}
  html:not(.bh-seq) .bh-shade{background:linear-gradient(180deg,rgba(7,9,14,.7) 0%,rgba(7,9,14,0) 22%,rgba(7,9,14,0) 58%,rgba(11,12,16,.9) 90%,var(--ink) 100%)}
  html:not(.bh-seq) .bh-panel{grid-area:1/1;align-self:end;position:relative;right:auto;bottom:auto;width:auto;margin:0 var(--pad) 18px;z-index:6}
  html:not(.bh-seq) .bh-pick{padding:14px 14px 14px 18px;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:12px;row-gap:4px;border-radius:18px}
  html:not(.bh-seq) .bh-pick-top{grid-column:1/-1;font-size:12px}
  html:not(.bh-seq) .bh-pick-name{font-size:30px;margin:2px 0 0!important}
  html:not(.bh-seq) .bh-sw{gap:4px;flex-wrap:nowrap}
  html:not(.bh-seq) .bh-sw button{width:40px;height:40px}
  html:not(.bh-seq) .bh-sw button i{width:30px;height:30px}
  html:not(.bh-seq) .bh-pick-note{display:none}
  html:not(.bh-seq) .hero.bh .hero-inner{position:relative;left:auto;bottom:auto;max-width:none;grid-area:2/1;padding:26px var(--pad) 56px}
  html:not(.bh-seq) .hero.bh .hero-title{font-size:clamp(46px,12.4vw,96px)}
}
@media (orientation:portrait) and (max-width:430px){
  html:not(.bh-seq) .bh-pick{grid-template-columns:1fr}
  html:not(.bh-seq) .bh-pick-top{font-size:11px}
  html:not(.bh-seq) .bh-pick-name{font-size:26px}
  html:not(.bh-seq) .bh-sw{justify-content:space-between;margin-top:6px}
  html:not(.bh-seq) .bh-sw button{width:44px;height:44px}
  html:not(.bh-seq) .bh-sw button i{width:34px;height:34px}
}
@media (max-width:380px){html:not(.bh-seq) .bh-sw button{width:40px;height:40px}html:not(.bh-seq) .bh-sw button i{width:30px;height:30px}}
/* phones and small tablets held sideways: full-bleed court, copy left, picker right */
@media (orientation:landscape) and (max-width:999px),(orientation:landscape) and (max-height:560px){
  html:not(.bh-seq) .bh-pin{height:100svh;min-height:320px;display:block}
  html:not(.bh-seq) .bh-stage{position:absolute;inset:0;height:auto;min-height:0}
  html:not(.bh-seq) .bh-stage img{object-position:62% 50%}
  html:not(.bh-seq) .hero.bh .hero-inner{position:absolute;left:max(var(--pad),env(safe-area-inset-left));bottom:20px;max-width:48vw;padding:0}
  html:not(.bh-seq) .hero.bh .kicker{margin-bottom:8px;font-size:12px}
  html:not(.bh-seq) .hero.bh .hero-title{font-size:clamp(30px,5.6vw,52px);margin-bottom:10px}
  html:not(.bh-seq) .hero.bh .hero-sub{font-size:15px;line-height:1.45;margin-bottom:12px;max-width:40ch}
  html:not(.bh-seq) .hero.bh .btn{min-height:46px;font-size:16px;padding:0 20px}
  html:not(.bh-seq) .bh-panel{position:absolute;right:max(var(--pad),env(safe-area-inset-right));bottom:20px;width:auto;margin:0}
  html:not(.bh-seq) .bh-pick{padding:12px 14px;display:block}
  html:not(.bh-seq) .bh-pick-name{font-size:24px;margin:4px 0 8px!important}
  html:not(.bh-seq) .bh-sw{gap:2px;flex-wrap:nowrap}
  html:not(.bh-seq) .bh-sw button{width:40px;height:40px}
  html:not(.bh-seq) .bh-sw button i{width:30px;height:30px}
  html:not(.bh-seq) .bh-pick-note{display:none}
  html:not(.bh-seq) .bh-shade{background:linear-gradient(90deg,rgba(7,9,14,.85),rgba(7,9,14,.45) 40%,rgba(7,9,14,0) 62%),linear-gradient(180deg,rgba(7,9,14,.6),rgba(7,9,14,0) 25%,rgba(7,9,14,0) 65%,rgba(7,9,14,.6))}
}
@media (orientation:landscape) and (max-height:380px){html:not(.bh-seq) .hero.bh .hero-sub{display:none}}
html.bh-seq .bh-l,html.bh-seq #bhCw,.bh-scan{will-change:transform}
html.bh-seq .bp{will-change:opacity}
html.bh-seq .bh-stage img{object-position:100% 50%}
html.bh-seq .bh-sw{flex-wrap:nowrap;gap:6px}
html.bh-seq .bh-rail{gap:5px}
html.bh-seq .bh-rail li{font-size:9.5px;letter-spacing:.03em}
@media (max-width:1279px){html.bh-seq .bh-sw button{width:40px;height:40px}html.bh-seq .bh-sw button i{width:32px;height:32px}}

/* ===== v34: our tokens already match r1; padding and phone auto-play ===== */
/* Beat body.page-home .hero { padding-top:120px } so the pin is full-viewport. */
body.page-home .hero.bh,
.hero.bh{padding:0 !important;overflow:hidden}

/* Headline, sub and Get a quote stay on the left the whole time on desktop (r1). */
html.intro.bh-seq .hero.bh .hero-inner,
html.intro.bh-seq .nav,
html.bh-seq .hero.bh .hero-inner{
  opacity:1 !important;visibility:visible;pointer-events:auto;transform:none;
}
/* Never show the old 3D opening plate. */
body:has(.hero.bh) .loader,
body:has(.hero.bh) .build-hud,
body:has(.hero.bh) .stage-lite{display:none !important}
html.full.bh-seq .stage,html.full.bh-still .stage{opacity:0}
html.full.bh-court .stage{opacity:1}

/* Sharper HUD / picker swaps — snap, don't drift. */
.bh-hud,.bh-pick{transition:opacity .16s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1),visibility 0s}


/* Hide the colour picker from the layout until the pin reaches the end,
   so it cannot register as faint on-screen text during the build. */
html.bh-seq .hero:not(.bh-done) .bh-pick{display:none !important}

/* Phone: compact r1 court as a quiet stepping background. No pin, no intro. */
html.bh-phone .bh-pin{
  display:block !important;
  height:100svh !important;
  min-height:100svh !important;
  overflow:hidden !important;
}
html.bh-phone .bh-stage{inset:0;background:#070a12}
/* The court sits compact in the upper half, full court in frame, navy below for the copy. */
html.bh-phone .bh-layers,
html.bh-phone .bh-cw,
html.bh-phone .bp,
html.bh-phone .bh-scan{
  position:absolute !important;
  top:11% !important;
  left:5% !important;
  right:5% !important;
  bottom:auto !important;
  width:auto !important;
  height:auto !important;
  aspect-ratio:2460/2115;
  max-height:42%;
  overflow:visible;
  background:transparent;
}
html.bh-phone .bh-l,
html.bh-phone .bh-in{inset:0 !important;background:transparent}
html.bh-phone .bh-layers,
html.bh-phone .bh-cw{background:transparent;overflow:visible}
html.bh-phone .bh-stage img,
html.bh-phone .bh-li,
html.bh-phone .bh-cwi,
html.bh-phone .bh-base img{
  object-fit:contain;
  object-position:50% 50%;
  filter:none;
  background:transparent;
  /* Extra rim feather on top of the transparent void, so no hard box remains. */
  -webkit-mask-image: radial-gradient(ellipse 94% 92% at 50% 52%, #000 58%, transparent 100%);
          mask-image: radial-gradient(ellipse 94% 92% at 50% 52%, #000 58%, transparent 100%);
}
html.bh-phone .bp{display:block}
html.bh-phone .bp-call,
html.bh-phone .bp-dim{display:none}
html.bh-phone.bh-draw .bp-g>polyline{stroke-dashoffset:0;animation:none}
html.bh-phone.bh-draw .bp-g circle,
html.bh-phone.bh-draw .bp-g text{opacity:0;animation:none}
html.bh-phone .bp polyline,html.bh-phone .bp circle{stroke-width:5}
html.bh-phone .bp .bp-slab polyline{stroke-width:4.5}
html.bh-phone .bp .bp-turf polyline,
html.bh-phone .bp .bp-lines polyline{stroke-width:6}
/* Strong shade so the headline stays readable over every stage. */
html.bh-phone .bh-shade{
  background:
    linear-gradient(180deg,rgba(7,9,14,.4) 0%,rgba(7,9,14,.08) 18%,rgba(7,9,14,.15) 42%,rgba(7,9,14,.72) 62%,rgba(7,9,14,.94) 78%,#07090e 100%);
  z-index:5;
}
/* Copy is on from the first paint. */
html.bh-phone .hero.bh .hero-inner,
html.bh-phone.bh-still .hero.bh .hero-inner,
html.bh-phone.bh-quiet .hero.bh .hero-inner{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto;
  transform:none;
  position:absolute;
  left:20px;
  right:20px;
  bottom:max(28px,env(safe-area-inset-bottom));
  max-width:none;
  padding:0;
  z-index:7;
}
html.bh-phone .hero.bh .hero-title{font-size:clamp(46px,12.4vw,66px);margin-bottom:14px}
html.bh-phone .hero.bh .hero-sub{font-size:16px;margin-bottom:18px;max-width:36ch}
html.bh-phone .hero.bh .btn{min-height:50px}
html.bh-phone .hero.bh .scroll-cue,
html.bh-phone .bh-skip,
html.bh-phone .bh-pick,
html.bh-phone .bh-hud-title,
html.bh-phone .bh-hud-text,
html.bh-phone .bh-rail{display:none !important}
/* Small, quiet 01 / 06 indicator. */
html.bh-phone .bh-panel{
  left:auto !important;
  right:max(20px,env(safe-area-inset-right));
  top:54% !important;
  bottom:auto !important;
  width:auto !important;
  max-width:none;
  z-index:7;
}
/* Shorter iPhones (664): keep a gap between the compact court and the headline. */
@media (max-height:720px){
  html.bh-phone .bh-layers,
  html.bh-phone .bh-cw,
  html.bh-phone .bp,
  html.bh-phone .bh-scan{
    top:10% !important;
    max-height:34%;
  }
  html.bh-phone .bh-panel{top:45% !important}
}

html.bh-phone .bh-hud{
  display:block !important;
  opacity:1 !important;
  visibility:visible !important;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  pointer-events:none;
}
html.bh-phone .bh-hud-top{
  margin:0 !important;
  font-size:11px;
  letter-spacing:.14em;
  color:rgba(235,234,100,.75);
  text-shadow:0 1px 8px rgba(7,9,14,.8);
}
html.bh-phone .bh-hud-k{color:rgba(255,255,255,.55)}
/* Quiet / still: stay on the wireframe, no photo layer. */
html.bh-phone.bh-quiet .bh-layers,
html.bh-phone.bh-quiet .bh-cw{visibility:hidden !important}
html.bh-phone.bh-quiet .bp{opacity:1 !important;visibility:visible !important}

/* ==== v42: r2 scaffolding sequence, ends on lights, no colourways ==== */
.bh-seqc{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  visibility:hidden;
  z-index:2;
  pointer-events:none;
}
html.bh-seq .bh-cw{visibility:hidden}
html.bh-seq .bp{display:block}
/* The build holds on Lights — keep the HUD, never swap in the colour picker. */
.bh-pick{display:none !important}
html.bh-seq .hero.bh-lit .scroll-cue{opacity:0}
html.bh-seq .hero.bh-lit .bh-hud{opacity:1;visibility:visible;transform:none}


/* Phone / reduced: one-viewport photoreal still of the lights-on court.
   Full-bleed still takes about half the viewport; headline and button
   fill the rest, with no empty band below the CTA. */
html.bh-still .bh-pin,
html.no-js .bh-pin,
html.reduced .bh-pin{
  height:auto;
  min-height:0;
  max-height:none;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
html.bh-still .bh-stage,
html.no-js .bh-stage{
  position:relative;
  inset:auto;
  flex:0 0 auto;
  width:100%;
  height:50svh;
  max-height:55svh;
  min-height:45svh;
  aspect-ratio:auto;
  contain:layout paint;
  background:#070a12;
}
html.bh-still .bh-stage img,
html.bh-still .bh-base,
html.bh-still .bh-base img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 45%;
  display:block;
}
html.bh-still .bh-layers{display:none}
html.bh-still .bp,
html.bh-still .bh-scan{display:none !important}
html.bh-still .bh-cw,
html.bh-still .bh-base{visibility:visible;opacity:1}
html.bh-still .bh-hud,
html.bh-still .bh-skip,
html.bh-still .scroll-cue{display:none !important}
html.bh-still .bh-panel{display:none}
html.bh-still .bh-shade{
  background:linear-gradient(180deg,rgba(7,9,14,.28) 0%,rgba(7,9,14,0) 18%,rgba(7,9,14,0) 72%,rgba(7,9,14,.4) 100%);
}
html.bh-still .hero.bh .hero-inner{
  position:relative;
  left:auto;
  bottom:auto;
  max-width:none;
  z-index:6;
  flex:0 0 auto;
  padding:20px var(--pad) 32px;
  padding-bottom:max(24px, env(safe-area-inset-bottom));
}
html.bh-still .hero.bh .hero-title{
  font-size:clamp(44px,11.5vw,88px);
  margin-bottom:12px;
}
html.bh-still .hero.bh .hero-sub{
  max-width:38ch;
  font-size:clamp(16px,4.1vw,20px);
  margin-bottom:18px;
}

@media (orientation:portrait),(max-width:999px){
  html.bh-still .hero.bh{
    min-height:0;
    height:auto;
  }
  html.bh-still .bh-pin,
  html.no-js .bh-pin{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    min-height:100svh;
    min-height:100dvh;
    height:100svh;
    height:100dvh;
    max-height:100svh;
    max-height:100dvh;
    overflow:hidden;
  }
  html.bh-still .bh-stage{
    flex:0 0 50svh;
    flex-basis:50svh;
    flex-basis:50dvh;
    width:100%;
    height:50svh;
    height:50dvh;
    max-height:55svh;
    min-height:45svh;
    aspect-ratio:auto;
  }
  html.bh-still .hero.bh .hero-inner{
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:20px var(--pad) max(20px, env(safe-area-inset-bottom));
  }
  html.bh-still .hero.bh .hero-title{font-size:clamp(40px,11vw,72px);margin-bottom:10px}
  html.bh-still .hero.bh .hero-sub{margin-bottom:14px;font-size:clamp(15px,3.8vw,18px)}
}

/* Shorter phones: keep the still in the 45–55% band and tighten the copy
   so the CTA still sits in the same viewport with no leftover void. */
@media (orientation:portrait) and (max-height:700px),(max-width:999px) and (max-height:700px){
  html.bh-still .bh-stage{
    flex:0 0 48svh;
    flex-basis:48svh;
    height:48svh;
    min-height:45svh;
    max-height:50svh;
  }
  html.bh-still .hero.bh .hero-inner{padding:12px var(--pad) max(14px, env(safe-area-inset-bottom));}
  html.bh-still .hero.bh .hero-title{font-size:clamp(34px,9.6vw,56px);margin-bottom:8px}
  html.bh-still .hero.bh .hero-sub{margin-bottom:10px;font-size:clamp(14px,3.6vw,17px)}
  html.bh-still .hero.bh .btn{min-height:46px}
}

@media (orientation:landscape) and (max-width:999px),(orientation:landscape) and (max-height:560px){
  html.bh-still .bh-pin{
    height:100svh;
    min-height:320px;
    display:block;
    justify-content:unset;
  }
  html.bh-still .bh-stage{
    position:absolute;
    inset:0;
    height:auto;
    max-height:none;
    aspect-ratio:auto;
    flex:none;
  }
  html.bh-still .bh-stage img,
  html.bh-still .bh-base img{object-fit:cover;object-position:68% 50%}
  html.bh-still .hero.bh .hero-inner{
    position:absolute;
    left:max(var(--pad),env(safe-area-inset-left));
    bottom:20px;
    max-width:48vw;
    padding:0;
  }
  html.bh-still .hero.bh .hero-title{font-size:clamp(30px,5.6vw,52px);margin-bottom:10px}
  html.bh-still .hero.bh .hero-sub{font-size:15px;margin-bottom:12px}
}

/* Hide Skip once the lights are already on. */
html.bh-seq .hero.bh-lit .bh-skip{opacity:0;pointer-events:none}
