/* r42 motion layer (30 Oct 2026): service hero with a sliding photo band, and the airline-standards section.
   Scroll progress comes from r42-motion.js as --p (0 to 1). */

/* ---------- Service hero: big heading left, short intro top right, then a photo band that rises and widens ---------- */
html body .t-split-cover.t-service-cover.hx{display:grid!important;grid-template-columns:minmax(0,7fr) minmax(280px,4fr);column-gap:clamp(32px,6vw,120px);padding:clamp(28px,3.4vw,56px) var(--gutter,4.5vw) 0!important;min-height:0!important;background:#fff;overflow:clip}
/* r42c: heading left, intro and buttons right, tops level. Both stay pinned while the photo band rises over them. */
html body.subpage .hx h1.hx-title{grid-column:1;grid-row:1;align-self:start;position:sticky;top:var(--hx-pin,150px);z-index:0;margin:0!important;padding:0!important;font-size:clamp(40px,4.3vw,66px)!important;line-height:1.02!important;letter-spacing:-.045em!important;color:#22272b!important;max-width:none}
.hx-title .hx-l{display:block}
html body .hx h1 em{color:#b43f29;font-style:normal}
html body .hx .hx-copy{grid-column:2;grid-row:1;align-self:start;position:sticky;top:var(--hx-pin,150px);z-index:0;display:block!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;background:none}
html body .hx .hx-side{max-width:440px;margin-left:auto!important;margin-right:0!important;padding-top:.45em}
html body .hx .hx-side>p{font-size:15.5px!important;line-height:1.55!important;color:#4d565c!important;margin:0 0 22px!important;max-width:none}
html body .hx .hx-side .t-actions{margin:0!important;flex-wrap:wrap;gap:14px 22px}
html body .hx .hx-side .t-vendor-note{margin:20px 0 0!important;padding-top:14px;border-top:1px solid #d7dbdb;font-size:13px;color:#586168!important}
/* the band starts inset, then widens to the full width as it scrolls up over the pinned copy */
.hx-band{grid-column:1 / -1;grid-row:2;position:relative;z-index:2;--p:0;height:min(92vh,900px);margin:clamp(40px,5vw,80px) calc(-1 * var(--gutter,4.5vw)) 0;clip-path:inset(0 calc((1 - var(--p)) * 14%) 0 calc((1 - var(--p)) * 14%));overflow:hidden;background:#1c242a;will-change:clip-path}
.hx-rise{height:100%;transform:scale(calc(1.1 - var(--p) * .1));transform-origin:50% 0}
.hx-track{display:flex;gap:10px;height:100%;width:max-content;animation:hx-slide 70s linear infinite}
.hx-dup{display:contents}
.hx-shot{margin:0;height:100%;width:clamp(300px,38vw,700px);flex:none;overflow:hidden;background:#2a343b}
.hx-shot img{width:100%;height:100%;object-fit:cover;display:block}
@keyframes hx-slide{to{transform:translateX(calc(-50% - 5px))}}
@media(max-width:900px){
  html body .t-split-cover.t-service-cover.hx{grid-template-columns:1fr}
  html body.subpage .hx h1.hx-title,html body .hx .hx-copy{grid-column:1;position:static}
  html body .hx .hx-copy{grid-row:2}
  html body.subpage .hx h1.hx-title{margin-top:8px!important}
  html body .hx .hx-side{max-width:none;padding-top:22px}
  .hx-band{grid-row:3;height:58vh;margin-left:-16px;margin-right:-16px}
  .hx-shot{width:78vw}
}
@media(prefers-reduced-motion:reduce){.hx-track{animation:none}.hx-band{clip-path:none}.hx-rise{transform:none}html body.subpage .hx h1.hx-title,html body .hx .hx-copy{position:static}}

/* ---------- Airline standards: the photo opens up and settles as you scroll, the heading rises word by word ---------- */
.std{--p:0;overflow:clip}
/* r42c: full height from the start; the photo grows in from the left edge to the right once the section is in view */
.std .t-standard-photo{clip-path:inset(0 100% 0 0);transition:clip-path 1.5s cubic-bezier(.76,0,.24,1);overflow:hidden}
.std .t-standard-photo img{transform:scale(1.18) translateX(-6%);transform-origin:0 50%;transition:transform 2s cubic-bezier(.16,1,.3,1)}
.std.is-in .t-standard-photo{clip-path:inset(0 0 0 0)}
.std.is-in .t-standard-photo img{transform:none}
.std .std-w{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.06em;margin-bottom:-.06em}
.std .std-w>span{display:inline-block;transform:translateY(105%);transition:transform 1s cubic-bezier(.16,1,.3,1)}
.std.is-in .std-w>span{transform:none}
.std .t-prose p,.std .sp-label{opacity:0;transform:translateY(24px);transition:opacity .9s ease,transform 1s cubic-bezier(.16,1,.3,1)}
.std.is-in .t-prose p,.std.is-in .sp-label{opacity:1;transform:none}
.std.is-in .t-prose p:nth-child(1){transition-delay:.35s}.std.is-in .t-prose p:nth-child(2){transition-delay:.5s}
@media(prefers-reduced-motion:reduce){
  .std .t-standard-photo{clip-path:none;transition:none}.std .t-standard-photo img{transform:none;transition:none}
  .std .std-w>span,.std .t-prose p,.std .sp-label{transform:none;opacity:1;transition:none}
}

/* r42b: the photo fills the whole left half of the section, edge to edge and top to bottom */
@media(min-width:901px){
  html body .t-detail-layout.std:has(>.t-standard-photo){padding-top:0!important;padding-bottom:0!important;padding-left:0!important;align-items:stretch!important}
  html body .std .t-standard-photo{margin:0!important;height:100%!important;min-height:min(86vh,820px);max-height:none!important;aspect-ratio:auto!important;border-radius:0!important;align-self:stretch}
  html body .std .t-standard-photo img{height:100%!important;width:100%;object-fit:cover}
  html body .std:has(>.t-standard-photo)>div{padding-block:clamp(72px,8vw,128px);align-self:center}
}

/* ---------- Live terminal installs: the hall drawing always fills the full width; the frame crops it top and bottom ---------- */
html body .t-story.t-live .t-terminal-figure{width:calc(100% + 2 * var(--gutter,4.5vw))!important;max-width:none!important;margin-left:calc(-1 * var(--gutter,4.5vw))!important;margin-right:0!important;aspect-ratio:auto!important;max-height:none!important;height:clamp(420px,46vw,860px)}
html body .t-story.t-live .t-terminal-figure>svg,html body .t-story.t-live .t-terminal-figure .vmf-svg{width:100%;height:100%;display:block}
@media(max-width:750px){html body .t-story.t-live .t-terminal-figure{width:calc(100% + 32px)!important;margin-left:-16px!important;height:118vw}}
.vmf-red{--t:#c9543e;--f:#b43f29;--s:#93321f}

/* r42c: the live terminal status (stage and clock) as a small card on the drawing, top right */
html body .t-story.t-live .t-terminal-figure .vmf-bar{position:absolute;top:clamp(16px,2vw,28px)!important;right:var(--gutter,4.5vw)!important;left:auto!important;bottom:auto!important;width:auto!important;min-width:210px;display:flex!important;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;padding:14px 18px 16px!important;background:rgba(28,36,42,.94)!important;border:0!important;border-top:2px solid #b43f29!important;box-shadow:0 18px 40px -20px rgba(28,36,42,.55);color:#aeb6bb;font:400 13px/1.2 var(--sans)!important;letter-spacing:0;z-index:2}
html body .t-live .vmf-bar .vmf-steps{gap:0}
html body .t-live .vmf-bar .vmf-steps i{gap:9px;color:#fff}
html body .t-live .vmf-bar .vmf-steps b{position:relative;width:8px;height:8px;border-radius:50%;border:0;background:#b43f29}
html body .t-live .vmf-bar .vmf-steps b::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:1px solid #b43f29;animation:vmf-ping 1.8s ease-out infinite}
html body .t-live .vmf-bar .vmf-read{font:500 30px/1 var(--sans)!important;letter-spacing:-.03em;color:#fff!important;font-variant-numeric:tabular-nums}
html body .t-live .vmf-bar .vmf-read.lit::before{display:none}
html body .t-live .vmf-bar .vmf-read.lit{color:#fff!important}
@keyframes vmf-ping{0%{opacity:.9;transform:scale(.6)}80%,100%{opacity:0;transform:scale(1.6)}}
@media(max-width:750px){html body .t-story.t-live .t-terminal-figure .vmf-bar{right:16px!important;top:12px!important;min-width:0;padding:10px 12px 12px!important}html body .t-live .vmf-bar .vmf-read{font-size:22px!important}}
@media(prefers-reduced-motion:reduce){html body .t-live .vmf-bar .vmf-steps b::after{animation:none;opacity:0}}
