.video-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr;place-items:center;min-height:clamp(500px,78svh,800px);padding:70px 0;overflow:hidden;text-align:center;background:#0b0b0b}
.hero-media{position:absolute;inset:0;z-index:-1;overflow:hidden}
.hero-media img,.hero-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;filter:none}
.hero-media video{display:block;opacity:1;transition:opacity 180ms ease}
.hero-media video.is-playing{opacity:1}
.hero-shade{position:absolute;inset:0;background:rgba(0,0,0,.58)}
.video-hero .hero-content{width:100%;max-width:1000px;position:relative;z-index:1}
.video-hero .eyebrow{color:#e3d8bf;justify-content:center}
.video-hero h1{color:#fffdf8;font-size:clamp(4rem,8vw,7.5rem);line-height:1.04;margin:22px 0}
.video-hero h1 em{color:#fffdf8}
.video-hero .hero-copy{color:#fffdf8;max-width:540px;margin:0 auto 30px;line-height:1.65}
.video-hero .hero-link{display:inline-flex;align-items:center;justify-content:center;background:#ffffff0d;color:#fffdf8;border:1px solid #ffffff80;border-radius:999px;box-shadow:none;min-height:48px;padding:13px 24px;transition:background-color 160ms ease,border-color 160ms ease}
.video-hero .hero-link:hover{background:#ffffff20;border-color:#fffdf8;box-shadow:none}
.hero-video-toggle{position:absolute;bottom:18px;right:22px;display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff70;border-radius:50%;background:#00000030;color:#fffdf8;cursor:pointer;z-index:2}
.hero-video-toggle[hidden]{display:none}
.hero-video-toggle:hover{background:#00000060}
.video-hero a:focus-visible,.hero-video-toggle:focus-visible{outline:2px solid #fffdf8;outline-offset:4px}
@media(max-width:780px){
  .video-hero{min-height:clamp(460px,calc(100svh - 150px),640px);padding:46px 0 72px}
  .video-hero h1{font-size:clamp(3.5rem,14vw,5rem);line-height:1.05;margin:20px 0}
  .video-hero .hero-copy{font-size:16px;max-width:430px;margin-bottom:26px}
}
@media(prefers-reduced-motion:reduce){.hero-media video,.video-hero .hero-link{transition:none}}
/* Centre each hero element as a block, including the capped-width heading. */
.video-hero .hero-content{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-inline:auto}
.video-hero h1{width:100%;margin-left:auto;margin-right:auto;text-align:center}
.video-hero .eyebrow{align-self:center;text-align:center;justify-content:center}
.video-hero .eyebrow:after{content:"";display:block;width:34px;height:1px;background:currentColor}
.video-hero .hero-copy{width:100%;text-align:center;margin-left:auto;margin-right:auto}
.video-hero .hero-link{align-self:center;margin-left:auto;margin-right:auto}
/* Keep the video on a normal compositor layer, beneath the text. */
.video-hero .hero-media{z-index:0;pointer-events:none}
.video-hero .hero-media video{transform:translateZ(0);-webkit-transform:translateZ(0)}
.hero-video-toggle{display:flex;align-items:center;justify-content:center;gap:7px;width:auto;min-width:44px;padding:0 13px;border-radius:999px;font-size:12px;font-weight:600}

/* Quiet icon-only control; poster stays visible until playback starts. */
.hero-video-toggle{width:34px;height:34px;min-width:34px;padding:0;gap:0;right:18px;bottom:16px;border-radius:50%;border-color:#ffffff50;background:#00000025;font-size:0}
.hero-video-toggle svg{width:14px;height:14px;pointer-events:none}
.hero-media video{opacity:0}
.hero-media video.is-playing{opacity:1}
#hero-video::-webkit-media-controls,#hero-video::-webkit-media-controls-start-playback-button,#hero-video::-webkit-media-controls-overlay-play-button{display:none!important;-webkit-appearance:none}
