.hero .hero-work-background{position:absolute;inset:0;background:#101010;opacity:0;pointer-events:none;transition:opacity .8s ease}
.hero:not(.intro-playing) .hero-work-background.is-ready{opacity:1}
.hero.intro-playing .hero-work-background{opacity:0;transition:none}
.hero .hero-work-background video{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
@media(prefers-reduced-motion:reduce){.hero .hero-work-background{transition:none}}

/* Match the approved 1920px trial; the intro keeps its own unchanged layer. */
@supports (container-type:size){
  .hero .hero-work-background{container-type:size}
  @container (min-width:1921px) and (min-aspect-ratio:2/1){
    .hero .hero-work-background video{
      max-width:max(177.7778cqh,1920px);
      margin-inline:auto;
      -webkit-mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent);
      mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent);
    }
  }
}
