.hero-photo>.hero-picture{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:1}
.hero-photo>.hero-picture[hidden]{display:none}
.hero-picture img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 40%;filter:saturate(.72)}
.hero-photo>#hero-video{position:absolute;inset:0}
.hero-photo>.hero-photo-shade{z-index:2;background:linear-gradient(90deg,var(--black) 0%,rgba(17,17,16,.2) 27%,rgba(17,17,16,0) 65%)}
/* This fade follows the scrolling section edge, independently of the fixed video. */
.hero::after{content:"";position:absolute;inset:auto 0 -1px auto;width:var(--hero-video-width,55%);height:clamp(140.8px,26.88%,243.2px);z-index:1;pointer-events:none;background:linear-gradient(to top,rgba(17,17,16,1) 0%,rgba(17,17,16,.96) 12%,rgba(17,17,16,.68) 38%,rgba(17,17,16,.24) 70%,rgba(17,17,16,0) 100%)}
@media(max-width:760px){
  .hero-picture img{object-position:64% 30%;filter:saturate(.6) brightness(.83)}
  .hero-photo>.hero-photo-shade{background:linear-gradient(90deg,#111110df 0%,#11111080 42%,#11111012 100%),linear-gradient(180deg,#11111030,transparent 30%)}
}
/* The desktop hero overlaps the header by 42px; keep the control below it. */
@media(min-width:1200px){
  #hero-video-toggle{top:50px;right:max(18px,env(safe-area-inset-right));bottom:auto;width:44px;height:44px}
  .hero-bottom{width:calc(50% + 50vw);padding-right:24px}
}
