/* Scoped to the hero: preserve existing brand, type, dimensions and page flow. */
.hero{isolation:isolate;overflow:hidden}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center bottom;pointer-events:none;opacity:0;transition:opacity .35s;background:var(--bg);z-index:-1}
.hero.video-ready .hero-video{opacity:1}
.hero-line{display:inline-block}
.hero-actions .button{position:relative;isolation:isolate;overflow:hidden;box-shadow:inset 0 1px 0 #ffffff30,0 8px 28px #00010e33;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.hero-actions .secondary{background:linear-gradient(135deg,#ffffff0b,#ffffff03),#00010e80}
.hero-actions .button:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(115deg,#ffffff17,transparent 45%,#ffffff08);pointer-events:none}
@media(prefers-reduced-motion:no-preference){
  .hero{--hero-rise:9px}
  .hero:not(.hero-entered) .hero-line{animation:hero-wipe 1.05s cubic-bezier(.16,1,.3,1) .28s backwards}
  .hero:not(.hero-entered) .hero-line:nth-of-type(2){animation-delay:.44s}
  .hero:not(.hero-entered) .hero-copy>p{animation:hero-lift .8s cubic-bezier(.25,.8,.35,1) .75s backwards}
  .hero:not(.hero-entered) .hero-actions .button{animation:hero-settle .8s cubic-bezier(.25,.8,.35,1) 1.02s backwards}
  .hero:not(.hero-entered) .hero-actions .button:nth-child(2){animation-delay:1.16s}
  @keyframes hero-wipe{from{clip-path:inset(-.15em -.1em 110% -.1em);translate:0 var(--hero-rise)}to{clip-path:inset(-.15em -.1em -.15em -.1em);translate:0 0}}
  @keyframes hero-lift{from{opacity:0;translate:0 var(--hero-rise)}to{opacity:1;translate:0 0}}
  @keyframes hero-settle{from{opacity:0;translate:0 6px;scale:.99}to{opacity:1;translate:0 0;scale:1}}
}
@media(max-width:700px){.hero{--hero-rise:6px}.hero-video{height:650px;top:auto;bottom:-45px;object-fit:cover;object-position:center bottom}}
@media(prefers-reduced-motion:reduce){.hero-video{display:none}.hero .hero-line,.hero .hero-copy>p,.hero .hero-actions .button{animation:none!important;transition:none!important}}
