/* Coordinates share the 1536 × 1024 source photograph's cover transform. */
body[data-page="home"] .hero{background:url('/assets/hero-zlion-led.png') center/cover}
body[data-page="home"] .hero::after{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,#0b291ed4,#0c271d1a 72%);pointer-events:none}
body[data-page="home"] .hero-charge{position:absolute;inset:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:0}
body[data-page="home"] .hero.is-charge-ready .hero-charge{visibility:visible}
body[data-page="home"] .hero-charge>svg{position:absolute;display:block;max-width:none;overflow:visible}
body[data-page="home"] .hero-inner{position:relative;z-index:1}
body[data-page="home"] .hero-caption{z-index:1}
body[data-page="home"] .hero-charge-fill{transform-box:fill-box;transform-origin:50% 100%;transform:scaleY(1)}
@media(prefers-reduced-motion:no-preference){
  body[data-page="home"] .is-charge-ready .hero-charge-fill{animation:hero-battery-charge 6s ease-in-out infinite;animation-play-state:paused}
  body[data-page="home"] .is-charge-animating .hero-charge-fill{animation-play-state:running}
}
@keyframes hero-battery-charge{
  0%,8%{transform:scaleY(.08);opacity:1}
  72%,86%{transform:scaleY(1);opacity:1}
  90%{transform:scaleY(1);opacity:0}
  90.01%,94%{transform:scaleY(.08);opacity:0}
  100%{transform:scaleY(.08);opacity:1}
}
@media(max-width:900px){body[data-page="home"] .hero{background-position:85% center}}
@media(max-width:600px){body[data-page="home"] .hero{padding-top:30px}body[data-page="home"] .hero-inner{margin:0 auto;align-self:flex-start}body[data-page="home"] .hero h1{font-size:clamp(30px,9.4vw,39px);letter-spacing:0}}
@media(prefers-reduced-motion:reduce){body[data-page="home"] .hero.is-charge-ready .hero-charge{visibility:hidden}body[data-page="home"] .hero-charge-fill{animation:none;transform:scaleY(1);opacity:1}}
