/* V20 hero draft: full-screen moving visual, no video cropping, legible overlays. */
.hero{
  height:auto;
  min-height:max(660px,calc(100svh - 78px));
  background:#202720;
  isolation:isolate;
}
.hero-image{
  inset:0;
  background:#202720 url('/assets/media/hero-poster-desktop.webp') center center/cover no-repeat!important;
}
.hero-image:before{
  content:"";
  position:absolute;
  inset:-15px;
  background:inherit;
  filter:blur(10px) brightness(.78);
  transform:scale(1.02);
  pointer-events:none;
}
/* Dark overlay sits over the video, under text and buttons. */
.hero:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(15,23,21,.73),rgba(18,24,21,.44) 58%,rgba(16,21,19,.20)),
             linear-gradient(0deg,rgba(7,12,11,.4),transparent 35%);
}
.hero-image .hero-motion{
  object-fit:contain;
  object-position:center;
  background:transparent;
  opacity:0;
}
.hero-image.has-motion .hero-motion{opacity:.84}
.hero > .wrap:not(.hero-bottom){
  min-height:inherit;
  height:auto;
  box-sizing:border-box;
  align-items:flex-start;
  padding-top:clamp(94px,16vh,178px);
  padding-bottom:122px;
  position:relative;
  z-index:2;
}
.hero-copy{max-width:770px}
.hero h1{text-wrap:balance;text-shadow:0 2px 25px rgba(0,0,0,.24)}
.hero-copy>p{text-shadow:0 1px 12px rgba(0,0,0,.36)}
.hero-btns{z-index:4;position:relative}
.hero-btns a{position:relative;z-index:5;pointer-events:auto}
.hero-bottom{z-index:3}
@media(max-width:800px){
  .hero{min-height:max(660px,calc(100svh - 70px));height:auto}
  .hero > .wrap:not(.hero-bottom){align-items:flex-start;padding-top:clamp(88px,14svh,145px);padding-bottom:108px}
  .hero-image{background-image:url('/assets/media/hero-poster-mobile.webp')!important}
  .hero-image .hero-motion{object-fit:contain}
  .hero:after{background:linear-gradient(90deg,rgba(15,23,21,.66),rgba(18,24,21,.32)),linear-gradient(0deg,rgba(7,12,11,.49),transparent 38%)}
}
@media(max-width:520px){
  .hero{min-height:max(620px,calc(100svh - 70px))}
  .hero > .wrap:not(.hero-bottom){padding-top:clamp(76px,12svh,114px);padding-bottom:108px}
  .hero h1{font-size:clamp(45px,11vw,62px);line-height:1.11}
  .hero-copy>p{max-width:330px;font-size:14px}
  .hero-btns{gap:10px}
  .hero-btns a{min-height:46px;display:inline-flex;align-items:center}
}
@media(prefers-reduced-motion:reduce){.hero-image .hero-motion{display:none!important}}
