/* WEB NEW — P04 + G01 · HERO VIDEO R1
   Styles limited to the video, poster and temporary title fading.
   The original P04 typography, hero padding, overlay, animations,
   navbar, gallery and other sections are not modified.
*/
.nd-video-hero .nd-hero-media{
  position:absolute;inset:0;z-index:-2;overflow:hidden;
  background:var(--night,#0b1415);pointer-events:none;
}
.nd-video-hero .nd-hero-first,
.nd-video-hero .nd-hero-poster,
.nd-video-hero .nd-hero-video{
  position:absolute;inset:0;display:block;
  width:100%;height:100%;object-fit:cover;object-position:center center;
}
/* Default without JavaScript (and on reduced motion): final WebP is visible. */
.nd-video-hero .nd-hero-first{opacity:0}
.nd-video-hero .nd-hero-poster{opacity:1;transition:opacity .3s ease}
.nd-video-hero.nd-video-initializing .nd-hero-first{opacity:1}
.nd-video-hero.nd-video-initializing .nd-hero-poster{opacity:0}
.nd-video-hero .nd-hero-video{
  opacity:0;transition:opacity .7s ease;
}
.nd-video-hero.nd-video-playing .nd-hero-video{opacity:1}
.nd-video-hero.nd-video-ended .nd-hero-video,
.nd-video-hero.nd-video-fallback .nd-hero-video{opacity:0}
.nd-video-hero.nd-video-ended .nd-hero-poster,
.nd-video-hero.nd-video-fallback .nd-hero-poster{opacity:1}
.nd-video-hero.nd-video-ended .nd-hero-first,
.nd-video-hero.nd-video-fallback .nd-hero-first{opacity:0}
/* The real WebP remains loaded underneath; video fades back to the same image. */
.nd-video-hero #hero-heading{
  transition:opacity .38s ease,filter .38s ease,transform .38s ease;
}
.js.hero-motion .nd-video-hero #hero-heading.nd-hero-title-fading{
  opacity:0!important;filter:blur(3px)!important;
  transform:translateY(12px)!important;
}
@media(prefers-reduced-motion:reduce){
  .nd-video-hero .nd-hero-video,.nd-video-hero .nd-hero-first{display:none!important;transition:none!important}
  .nd-video-hero .nd-hero-poster{opacity:1!important}
  .nd-video-hero #hero-heading{transition:none!important}
}
