/* Only the home Hero and its immediate handoff. The rest of the site is untouched. */
.hero-scroll{--hero-header:90px;--hero-height:calc(100svh - var(--hero-header));--hero-travel:clamp(1800px,calc(var(--hero-height) * 3.3),3300px);--hero-progress:0;--hero-exit:0;background:var(--navy);overflow:visible;position:relative;height:var(--hero-height);isolation:isolate;overflow-anchor:none}
.hero-scroll:not([data-mode="scroll"]){height:auto;min-height:var(--hero-height)}
.hero-scroll[data-mode="scroll"]{height:calc(var(--hero-height) + var(--hero-travel))}
.hero-viewport{height:var(--hero-height);min-height:540px;position:relative;overflow:hidden;isolation:isolate;background:var(--navy)}
.hero-scroll[data-mode="scroll"] .hero-viewport{position:sticky;top:var(--hero-header);min-height:0}
.hero-media,.hero-backdrop,.hero-ambient,.hero-shade,.hero-bottom-shade{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.hero-media{z-index:-1;overflow:hidden}
.hero-backdrop{inset:-30px;width:calc(100% + 60px);height:calc(100% + 60px);background:var(--navy) url('/assets/hero-video/poster-720.webp') center 54% / cover no-repeat;filter:blur(24px) saturate(.75);opacity:.75}
.hero-ambient{object-fit:cover;filter:blur(25px) saturate(.75);transform:scale(1.09);opacity:0}
.hero-scroll[data-frame="ready"] .hero-ambient{opacity:.75}
.hero-film{position:absolute;top:0;right:clamp(25px,7vw,145px);height:100%;width:auto;aspect-ratio:9 / 16;max-width:100%;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 94%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 94%,transparent)}
.hero-film video,.hero-poster,.hero-poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.hero-film video{opacity:0}
.hero-scroll[data-frame="ready"] .hero-film video{opacity:1}
.hero-shade{background:linear-gradient(90deg,rgba(6,29,49,.98) 0%,rgba(6,29,49,.90) 29%,rgba(6,29,49,.62) 49%,rgba(6,29,49,.08) 74%,rgba(6,29,49,.18) 100%)}
.hero-bottom-shade{background:linear-gradient(0deg,var(--navy) 0%,rgba(11,42,68,.88) 5%,transparent 28%);opacity:calc(.82 + var(--hero-exit) * .18)}
.hero-content{height:100%;display:flex;align-items:center;position:relative;z-index:2;padding-bottom:72px}
.hero-scroll .hero-copy{padding:40px 0 15px;width:56%;max-width:700px}
.hero-scroll h1{font-size:clamp(3rem,5.6vw,5.35rem);line-height:1.05;margin-bottom:27px}
.hero-scroll .hero-copy>p{max-width:520px;color:#e3edf4;font-size:16px;line-height:1.85;text-shadow:0 1px 5px #031727}
.hero-scroll .hero-actions{flex-direction:row;align-items:center;gap:25px}
.hero-scroll .hero-actions .button{box-shadow:0 3px 20px #05172a22}
.hero-scroll .hero-note{font-size:12px;color:#d0e0eb;line-height:1.6}
.hero-scroll .eyebrow{color:#9addf7;font-size:11px;line-height:1.7}
.hero-controls{position:absolute;bottom:54px;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#d5e6f3;font-size:12px;z-index:3;min-height:44px}
.hero-scroll-hint{font-size:12px;font-weight:500;letter-spacing:.025em}
.hero-signature{font-size:11px;letter-spacing:.15em}


.hero-progress{height:2px;position:absolute;bottom:0;left:0;right:0;background:#ffffff12;z-index:4}
.hero-progress>span{display:block;height:100%;background:#5bcaf1;transform:scaleX(var(--hero-progress));transform-origin:left}
.hero-scroll:not([data-mode="scroll"]) .hero-scroll-hint,.hero-scroll:not([data-mode="scroll"]) .hero-progress{visibility:hidden}
.hero-scroll+.trust-strip{background:var(--navy);color:#e6f0f7;border-color:transparent;position:relative}
.hero-scroll+.trust-strip span{border-color:#ffffff25}
.hero-scroll+.trust-strip .icon{color:#70cbed}
@media(min-width:1500px){.hero-scroll .hero-copy{max-width:710px}.hero-film{right:11vw}.hero-content{padding-bottom:65px}}
@media(max-width:1100px){.hero-film{right:20px}.hero-scroll .hero-copy{width:64%}.hero-scroll h1{font-size:clamp(48px,6vw,67px)}.hero-scroll .hero-actions{gap:18px}.hero-scroll .hero-actions .button{padding:15px 20px}.hero-scroll .hero-actions .text-link{font-size:12px}.hero-shade{background:linear-gradient(90deg,rgba(6,29,49,.98),rgba(6,29,49,.86) 39%,rgba(6,29,49,.1) 78%)}.hero-signature{display:none}}
@media(max-width:800px){.hero-scroll{--hero-header:78px;--hero-height:calc(100svh - var(--hero-header))}.hero-viewport{min-height:650px}.hero-content{padding-bottom:95px}.hero-scroll .hero-copy{width:72%;max-width:570px}.hero-scroll .hero-copy>p{font-size:15px;max-width:420px}.hero-controls{bottom:107px}.hero-film{right:0}.hero-scroll .hero-note{font-size:11px;max-width:340px}.hero-backdrop{background-image:url('/assets/hero-video/poster-480.webp')}}
@media(max-width:600px){.hero-scroll{--hero-height:calc(100svh - var(--hero-header) - 62px - env(safe-area-inset-bottom,0px))}.hero-viewport{min-height:540px}.hero-scroll[data-mode="scroll"] .hero-viewport{min-height:0}.hero-film{inset:0;width:100%;height:100%;max-width:none;aspect-ratio:auto;mask-image:none;-webkit-mask-image:none}.hero-film video,.hero-poster img{object-fit:contain;object-position:center}.hero-shade{background:linear-gradient(180deg,rgba(6,29,49,.95) 0%,rgba(6,29,49,.87) 25%,rgba(6,29,49,.56) 55%,rgba(6,29,49,.06) 73%,rgba(6,29,49,.25) 100%)}.hero-content{align-items:flex-start;padding-top:29px;padding-bottom:80px}.hero-scroll .hero-copy{width:100%;max-width:none;padding:0}.hero-scroll .eyebrow{font-size:9px;letter-spacing:.12em;margin-bottom:17px}.hero-scroll h1{font-size:clamp(36px,10.8vw,48px);line-height:1.02;letter-spacing:-.05em;margin-bottom:18px}.hero-scroll .hero-copy>p{font-size:13px;line-height:1.7;max-width:340px;margin-bottom:18px}.hero-scroll .hero-actions{gap:15px}.hero-scroll .hero-actions .button{font-size:12px;min-height:48px;padding:12px 15px}.hero-scroll .hero-actions .text-link{font-size:11px;line-height:1.6;max-width:128px;padding-bottom:4px}.hero-scroll .hero-note{font-size:11px;max-width:100%;margin-top:17px;gap:6px;text-shadow:0 1px 6px #031727}.hero-scroll .hero-note .icon{width:13px;height:13px}.hero-controls{bottom:42px;gap:10px;min-height:44px}.hero-scroll-hint{font-size:10px;max-width:170px}.hero-bottom-shade{background:linear-gradient(0deg,var(--navy),rgba(11,42,68,.5) 10%,transparent 25%)}.hero-scroll+.trust-strip .container{padding-top:25px;padding-bottom:25px}}
@media(max-width:360px){.hero-content{padding-top:22px}.hero-scroll h1{font-size:35px}.hero-scroll .hero-copy>p{font-size:12px}.hero-scroll .hero-note{font-size:9px}.hero-scroll .hero-actions{gap:12px}.hero-scroll .hero-actions .button{font-size:11px;padding:12px}.hero-scroll .hero-actions .text-link{font-size:10px;max-width:110px}.hero-scroll .eyebrow{font-size:8px}}
/* The mobile introduction gives way to the unobstructed portrait film. */
@media(max-width:800px){
  .hero-scroll{--hero-reveal:0;--hero-height:calc(100svh - var(--hero-header) - 62px - env(safe-area-inset-bottom,0px))}
  .hero-film{inset:0 auto 0 50%;width:auto;height:100%;max-width:100%;aspect-ratio:9 / 16;transform:translateX(-50%);mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
  .hero-shade{background:linear-gradient(180deg,rgba(6,29,49,.95) 0%,rgba(6,29,49,.87) 25%,rgba(6,29,49,.56) 55%,rgba(6,29,49,.06) 73%,rgba(6,29,49,.25) 100%)}
  .hero-scroll[data-mode="scroll"] .hero-content{pointer-events:none}
  .hero-scroll[data-mode="scroll"] .hero-copy{opacity:calc(1 - var(--hero-reveal));transform:translateY(calc(-24px * var(--hero-reveal)));pointer-events:auto}
  .hero-scroll[data-mode="scroll"][data-scene="film"] .hero-copy{visibility:hidden;pointer-events:none}
  .hero-scroll[data-mode="scroll"] .hero-controls{opacity:calc(1 - var(--hero-reveal));pointer-events:none}
  .hero-scroll[data-mode="scroll"] .hero-shade{opacity:calc(1 - var(--hero-reveal))}
  .hero-scroll[data-mode="scroll"] .hero-bottom-shade{opacity:calc(.82 - .74 * var(--hero-reveal) + .85 * var(--hero-exit))}
}
@media(max-width:600px){
  .hero-scroll h1{font-size:clamp(32px,9.3vw,40px);margin-bottom:16px}
  .hero-scroll .hero-copy>p{margin-bottom:16px}
  .hero-scroll .eyebrow{margin-bottom:14px}
}
/* A short landscape viewport must never trap content behind a pinned panel. */
@media(max-height:600px) and (min-width:601px){.hero-scroll .hero-copy{padding:15px 0}.hero-scroll h1{font-size:38px;margin-bottom:15px}.hero-scroll .eyebrow{margin-bottom:15px}.hero-scroll .hero-copy>p{font-size:14px;line-height:1.65;margin-bottom:17px}.hero-scroll .hero-note{margin-top:14px}.hero-content{padding-bottom:55px}.hero-controls{bottom:8px}}
@media(prefers-reduced-motion:reduce){.hero-scroll,.hero-scroll *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@supports not (height:100svh){.hero-scroll{--hero-height:calc(100vh - var(--hero-header))}@media(max-width:600px){.hero-scroll{--hero-height:calc(100vh - var(--hero-header) - 62px)}}}

@media(prefers-reduced-motion:reduce){.hero-scroll[data-mode="scroll"]{height:auto}.hero-scroll[data-mode="scroll"] .hero-viewport{position:relative;top:auto;min-height:540px}.hero-scroll .hero-scroll-hint{visibility:hidden}}
