/* DIALIX · Hero film: first scene of the hero, plays once in slow motion and rests on the finished watch */
.hero .scene-film{position:absolute;inset:0!important;background:#050405;overflow:hidden;animation:none!important;transform:none!important}
.hero .scene-film .film-video{position:absolute;top:0;left:50%;height:100%;width:auto;max-width:none;transform:translateX(-50%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16%,#000 84%,transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 16%,#000 84%,transparent 100%)}
/* Phones and tall screens: the vertical film fills the screen */
@media (max-aspect-ratio:4/5){
  .hero .scene-film .film-video{left:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;transform:none;-webkit-mask-image:none;mask-image:none}
}
@media (prefers-reduced-motion:reduce){.hero .scene-film .film-video{transition:none}}

/* Keep the watch head above the title, and let the film breathe (lighter shade while it plays) */
.hero .scene-film .film-video{top:-6%;height:92%}
@media (max-aspect-ratio:4/5){.hero .scene-film .film-video{top:-12%;height:112%}}
.hero .hero-shade{transition:opacity 1.6s ease}
.hero:has(.scene-film.active) .hero-shade{opacity:.5}

/* Wide screens: the landscape film fills the whole width of the hero, edge to edge */
@media (min-aspect-ratio:4/5){
  .hero .scene-film .film-video.is-wide{top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;transform:none;-webkit-mask-image:none;mask-image:none}
}

/* Still-picture version of the film (only when the phone blocks video) */
.hero .scene-film .film-still{opacity:0;transition:opacity 1.4s ease;will-change:opacity}
.hero .scene-film .film-still.is-on{opacity:1}
