/* Video surfaces and controls stay out of document flow. */
html body.home.hldesign-ready.hldesign-safe #content > .hero.hlb1-home-hero .hldesign-hero-video-media{
  position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;
  margin:0;padding:0;border:0;object-fit:cover;opacity:0;pointer-events:none;z-index:0;
}
html body.home.hldesign-ready.hldesign-safe #content > .hero.hlb1-home-hero .hldesign-hero-video-media[data-hldesign-visible="true"]{opacity:1}
html body.home.hldesign-ready.hldesign-safe #content > .hero.hlb1-home-hero button.hldesign-hero-video-toggle{
  appearance:none;box-sizing:border-box;position:absolute!important;top:20px;right:80px;bottom:auto;left:auto;
  z-index:5;display:grid!important;place-items:center;flex:none!important;
  width:44px!important;min-width:44px!important;max-width:44px!important;
  height:44px!important;min-height:44px!important;max-height:44px!important;
  margin:0!important;padding:0!important;border:1px solid rgba(160,40,55,.28)!important;
  border-radius:50%!important;background:rgba(255,250,250,.88)!important;
  color:#a12736!important;box-shadow:0 2px 10px rgba(83,29,40,.12);
  cursor:pointer;line-height:1!important;transform:none;transition:background-color .15s ease;
}
html body.home.hldesign-ready.hldesign-safe #content > .hero.hlb1-home-hero button.hldesign-hero-video-toggle:hover{background:#fff!important}
html body.home.hldesign-ready.hldesign-safe #content > .hero.hlb1-home-hero button.hldesign-hero-video-toggle:focus-visible{outline:3px solid #df2f43;outline-offset:3px}
html body.home.hldesign-ready.hldesign-safe #content > .hero.hlb1-home-hero button.hldesign-hero-video-toggle[hidden]{display:none!important}
html body.home.hldesign-ready.hldesign-safe #content > .hero.hlb1-home-hero .hldesign-hero-video-toggle svg{display:block;width:22px;height:22px;margin:0;pointer-events:none}
html body.home.hldesign-ready.hldesign-safe #content > .hero.hlb1-home-hero .hldesign-hero-video-toggle .hldesign-hero-pause,
html body.home.hldesign-ready.hldesign-safe #content > .hero.hlb1-home-hero .hldesign-hero-video-toggle[data-playing="true"] .hldesign-hero-play{display:none}
html body.home.hldesign-ready.hldesign-safe #content > .hero.hlb1-home-hero .hldesign-hero-video-toggle[data-playing="true"] .hldesign-hero-pause{display:block}

@media (prefers-reduced-motion: no-preference){
  html body.home.hldesign-ready.hldesign-safe #content > .hero.hlb1-home-hero button.hldesign-hero-video-toggle[data-playing="false"]:not([hidden])::after{
    content:"";position:absolute;inset:-2px;border:2px solid currentColor;border-radius:inherit;
    pointer-events:none;animation:hldesign-hero-play-pulse 2.6s ease-out infinite;
  }
}
@keyframes hldesign-hero-play-pulse{
  0%{opacity:.55;transform:scale(1)}
  68%,100%{opacity:0;transform:scale(1.3)}
}

@media(max-width:920px){
  html body.home.hldesign-ready.hldesign-safe #content > .hero.hlb1-home-hero button.hldesign-hero-video-toggle{top:14px;right:14px}
  html body.home.hldesign-ready.hldesign-safe #content > .hero.hlb1-home-hero .hero-inner{padding-top:18px!important}
  /* Clip the mobile video surface inside the existing photo box. A tiny
     transparent edge prevents a dark compositor seam without moving the image. */
  html body.home.hldesign-ready.hldesign-safe #content > .hero.hlb1-home-hero .hero-bg.hldesign-hero-video-host{overflow:hidden}
  html body.home.hldesign-ready.hldesign-safe #content > .hero.hlb1-home-hero .hldesign-hero-video-media{
    bottom:auto;height:calc(100% + 2px);
    -webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 6px),transparent calc(100% - 2px));
    mask-image:linear-gradient(to bottom,#000 calc(100% - 6px),transparent calc(100% - 2px));
  }
}
