/* Homepage hero background video (new file: /assets/* is cached immutable).
   Media lives at /media/eh-hero-v1/ so it is not covered by the one-year /assets/* cache. */
.home .hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 60%;z-index:-2;display:block;background:#000;pointer-events:none}
/* Keep type readable when mid-loop shots are brighter balcony/sunset frames */
.home .hero-overlay{background:linear-gradient(to bottom,rgba(0,0,0,.62) 0%,rgba(0,0,0,.32) 18%,rgba(0,0,0,.12) 38%,rgba(0,0,0,.28) 72%,rgba(0,0,0,.45) 100%)}
@media (max-width:860px){
 .home .hero-video{position:relative;inset:auto;width:100%;height:min(150vw,620px);object-fit:cover;object-position:52% 50%;z-index:auto}
 .home .hero-overlay{inset:0 0 auto 0;height:min(150vw,620px);
  background:linear-gradient(to bottom,rgba(0,0,0,.6) 0%,rgba(0,0,0,.2) 22%,rgba(0,0,0,0) 40%,rgba(0,0,0,0) 52%,rgba(0,0,0,.55) 78%,rgba(0,0,0,.85) 100%)}
}
@media (prefers-reduced-motion:no-preference){
 .home .hero:has(.hero-video) > picture{display:none}
}
@media (prefers-reduced-motion:reduce){
 .home .hero-video{display:none}
}
