/* finesse: motion-only enhancement; existing type, links and colour tokens win. */
body.ec-home .ec-panorama.ec-hero-video .ec-panorama-scene.is-active img{
  animation:none!important;transform:none!important;
}
.ec-hero-video .ec-panorama-scene{transition:none!important}
.ec-hero-background-video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:center;z-index:1;opacity:0;pointer-events:none;
}
.ec-hero-background-video.is-playing{opacity:1}
.ec-hero-video .ec-panorama-scene img{position:absolute;inset:0;object-position:center}
.ec-hero-video .ec-panorama-shade{
  background:linear-gradient(90deg,rgba(4,10,24,.55),transparent 60%)!important;
}
.ec-hero-title-line{display:block}
.ec-hero-title-line:empty{display:none}
html.ec-hero-intro-pending .ec-home :is(
  .ec-panorama-shade,.ec-hero-title-line,.ec-panorama-region,
  .ec-panorama-actions>a,.site-header>.wordmark,.site-header>.menu-toggle,
  .site-header>.main-nav>*
){opacity:0;visibility:hidden;pointer-events:none}
.ec-hero-intro-item[data-hero-locked]{pointer-events:none!important}
@media(max-width:640px){
  .ec-hero-background-video,.ec-hero-video .ec-panorama-scene img{object-position:70% center!important}
  .ec-refined-home .ec-hero-video .ec-panorama-copy h1{max-width:none;font-size:clamp(34px,11.2vw,64px)}
}
@media(prefers-reduced-motion:reduce){
  .ec-hero-background-video{display:none!important}
  html.ec-hero-intro-pending:not(.ec-hero-intro-preview) .ec-home :is(
    .ec-panorama-shade,.ec-hero-title-line,.ec-panorama-region,
    .ec-panorama-actions>a,.site-header>.wordmark,.site-header>.menu-toggle,
    .site-header>.main-nav>*
  ){opacity:1!important;visibility:visible!important;pointer-events:auto}
}
/* An explicit, one-time preview opts into motion without changing OS preferences. */
html.ec-hero-intro-preview .ec-hero-background-video{display:block!important}
