/* The photograph remains underneath until the first video frame is playing. */
.hero.hero-with-video{overflow:hidden;background:#242424}
.hero-with-video .hero-photo{position:absolute;inset:0}
.hero-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:58% center;opacity:0;transition:opacity 1.1s ease;pointer-events:none}
.hero-video-ready .hero-video{opacity:1}
.hero-with-video .hero-shade{pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.64) 0%,rgba(0,0,0,.24) 22%,rgba(0,0,0,.15) 48%,rgba(0,0,0,.28) 78%,rgba(0,0,0,.58) 100%)}
.hero-with-video .hero-copy{ text-shadow:0 2px 22px #0006 }
.hero-video-toggle{position:absolute;z-index:3;right:5%;bottom:99px;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #eadfc380;border-radius:50%;color:#fff;background:#17211d66;backdrop-filter:blur(8px);transition:background .2s,border-color .2s}
.hero-video-toggle:hover{background:#17211dbb;border-color:#eadfc3}
.hero-video-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:700px){.hero-with-video .hero-video,.hero-with-video .hero-video-toggle{display:none}.hero-with-video .hero-photo{object-position:center}.hero-with-video .hero-shade{background:linear-gradient(180deg,rgba(0,0,0,.58) 0%,rgba(0,0,0,.24) 30%,rgba(0,0,0,.20) 55%,rgba(0,0,0,.62) 100%)}}
@media(prefers-reduced-motion:reduce){.hero-video,.hero-video-toggle{transition:none}}

.hero-static-mode .hero-video,
.hero-with-video .hero-video-toggle[hidden]{display:none}
