/* hero-loop branch: the hero is the looping story (motion/hero-loop.js). No scroll stations: the section is one screen. */
html.loop .door__track,html.loop .door__step,html.loop .door__flow,html.loop .door__notes,html.loop .door__nav,html.loop .door__card,html.loop .door__fade{display:none!important}
html.loop .door__hero0{display:none!important}
/* phone: headline under the nav, the scene, the step row, then the lead and the buttons (Creative's board, 412) */
html.loop.hl-phone .door__hero{display:block;padding-top:24px}
html.loop.hl-phone .door__hshort,html.loop.hl-phone .door__hsub{position:absolute;left:0;right:0;margin:0;text-align:left}
html.loop.hl-phone .door__ctas{position:absolute;left:0;right:0;margin:0;transform:none}
/* review round 3 (G): the phone hero is as tall as its words + the same gap the next section leaves under the trust bar
   (.svcs padding-top), so the space above and below the trust bar is equal. The lead and the buttons stay in the flow;
   hero-loop.js sets their margin-top to where they go (it used to set top). The stage keeps its full height (the drawing's
   size depends on it) and is clipped at the hero's bottom; the fallback still sits on a stage-sized layer */
html.loop.hl-phone .door{overflow:clip}
html.loop.hl-phone .door__copy{height:auto}
html.loop.hl-phone .door__hero{position:relative;inset:auto;padding:24px var(--side) clamp(72px,8vw,120px)}   /* (the side gutters were the old inset) */
html.loop.hl-phone .door__hshort,html.loop.hl-phone .door__ctas{position:static}
html.loop.hl-phone .door__eyebrow{transform:none}
/* the next section starts under the hero (the stations' flow-out overlap is gone) */
html.loop .svcs{margin-top:0;background:var(--paper);padding-top:clamp(72px,8vw,120px)}
html.loop .svcs__ph{background:var(--paper)}
/* the panel's notes share the page's .note class name: undo the station-note rules (main.js also writes top on .note) */
html.loop .hsteps .note{position:static!important;left:auto;right:auto;top:auto!important;bottom:auto!important;width:auto;padding:0;border:0;transform:none;will-change:auto}
html.loop.hl-phone #door-h{position:relative;margin:6px 0 0}
html.loop.hl-phone .door__ctas{bottom:auto;top:auto}
html.loop.hl-phone .door__eyebrow{position:static!important;display:block;margin:0}
/* review round 2 (slow phones): until the loop has drawn, the short lead and the buttons sit in the flow where hero-loop.js
   will put them, so nothing jumps when it lands. The gap under the H1 is the scene + the step row: measured 243-275 px at
   360x780-430x932, = 35vw + 5.5svh + 75px within 2 px (768x1024: 21 px short). The head script sets hl-phone on phones */
html.loop.hl-phone:not(.hl-live) .door__hshort{margin-top:calc(35vw + 5.5svh + 75px)}
html.loop.hl-phone:not(.hl-live) .door__ctas{margin-top:20px}
/* the step panel's step-downs on short windows (Creative SPEC rev 2): smaller type, no numbers, 2-line notes; phone: no note
   (the classes sit on the panel's own element, which is also .hsteps) */
.hsteps.hl-c1 .note{font-size:13px;line-height:1.45}.hsteps.hl-c1 .name{font-size:15px}
.hsteps.hl-c2 .num{display:none}
.hsteps.hl-c3 .note,.hsteps.hl-c3 .notes p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hsteps.hl-c3 .note{max-width:none}
.hsteps.hl-c4 .notes{display:none}
.hsteps.hl-c5 .note{display:none}   /* (Motion, added after QA at 1280x600: a band too short for any note) names only */
.hl-revx.one div+div{margin-top:3px}
/* never a blank hero: a still of the opening scene (art only) sits on the copy layer until the loop has drawn (html.hl-live);
   if the loop's modules fail to load or init, it stays */
html.loop:not(.hl-live) .door__copy{background:#F7F4EE url(poster-d.webp) 50% 50%/cover no-repeat}
@media (max-width:760px),(orientation:portrait) and (max-width:1100px){html.loop:not(.hl-live) .door__copy{background-image:url(poster-m.webp)}}
/* (phone: the copy layer is only as tall as the words now, so the still moves to a stage-sized layer behind them) */
html.loop.hl-phone:not(.hl-live) .door__copy{background:none}
html.loop.hl-phone:not(.hl-live) .door__copy::before{content:"";position:absolute;left:0;right:0;top:0;height:var(--stage-h);background:#F7F4EE url(poster-m.webp) 50% 50%/cover no-repeat}
html.loop.hl-phone.intro-run:not(.hl-live) .door__copy::before{background-image:url(poster-m-lit.webp?v=2)}
/* v3.8: while the intro plays, the fallback still is the lit building (the curtain opens onto colour) */
html.loop.intro-run:not(.hl-live) .door__copy{background-image:url(poster-d-lit.webp?v=2)}
@media (max-width:760px),(orientation:portrait) and (max-width:1100px){html.loop.intro-run:not(.hl-live) .door__copy{background-image:url(poster-m-lit.webp?v=2)}}
