/* TechX hero video: let Safari treat the inline MP4 as actually visible.
   The <video> has its own native poster; a separate image remains behind
   it for load errors, blocked autoplay, and reduced-motion visitors.
   The video must not be hidden behind an opaque image while starting. */
.hero-media{isolation:isolate}
.hero-media .hero-poster{
  z-index:0;
  opacity:1;
  pointer-events:none;
  transition:none;
}
.hero-media #hero-video{
  z-index:1;
  opacity:1;
  transition:none;
  pointer-events:none;
}
.hero-media #hero-video[data-playback-state="error"],
.hero-media #hero-video[data-playback-state="reduced-motion"]{
  opacity:0;
}
#hero-video::-webkit-media-controls,
#hero-video::-webkit-media-controls-start-playback-button{
  display:none!important;
}
@media(prefers-reduced-motion:reduce){
  .hero-media .hero-poster{opacity:1!important;transition:none!important}
  .hero-media #hero-video{opacity:0!important}
}
