.hero-video {
  position:absolute;
  inset:0;
  z-index:-2;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 50%;
  opacity:0;
  pointer-events:none;
  transition:opacity 350ms ease;
}
.hero--video.has-video-frame .hero-video { opacity:1; }
.hero-video-toggle {
  position:absolute;
  right:max(32px,calc((100% - var(--max))/2));
  bottom:24px;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid rgba(255,255,255,.65);
  border-radius:50%;
  background:rgba(7,25,17,.88);
  color:#fff;
  cursor:pointer;
}
.hero-video-toggle:hover { background:var(--green-dark); border-color:#fff; }
.hero-video-toggle > span:not(.hero-video-tooltip) { display:flex; }
.hero-video-toggle .icon { width:18px; height:18px; }
.hero-video-tooltip {
  position:absolute;
  right:0;
  bottom:calc(100% + 10px);
  width:max-content;
  padding:5px 10px;
  border-radius:3px;
  background:#15211d;
  color:#fff;
  font:500 13px/1.5 var(--body);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.hero-video-toggle:hover .hero-video-tooltip,
.hero-video-toggle:focus-visible .hero-video-tooltip { opacity:1; visibility:visible; }
@media (min-width:901px) {
  .hero--video { height:min(660px,calc(100svh - 230px)); min-height:500px; }
}
/* Both edits and their posters already contain a photographic text shade. */
.hero--video .hero-photo { object-position:50% 50%; }
.hero--video .hero-shade { background:none; }
@media (max-width:760px) and (orientation:portrait) {
  .hero--video .hero-video,
  .hero--video .hero-photo { object-position:50% 0; }
  .hero--video .actions { display:grid; grid-template-columns:1fr 1fr; align-items:stretch; }
  .hero--video .actions .button { justify-content:space-between; gap:8px; }
  .hero--video .hero-video-toggle { top:16px; right:16px; bottom:auto; }
  .hero--video .hero-video-tooltip { bottom:auto; top:calc(100% + 10px); }
}
@media (max-width:900px) and (orientation:landscape) and (max-height:500px) {
  .hero--video { height:calc(100svh - 130px); min-height:240px; }
  .hero--video .hero-inner { align-items:center; }
  .hero--video .hero-copy { padding-block:10px; max-width:440px; }
  .hero--video h1 { font-size:42px; margin-bottom:8px; }
  .hero--video .hero-offer { font-size:16px; line-height:1.3; margin-bottom:8px; }
  .hero--video .hero-credential { font-size:13px; }
  .hero--video .actions { display:flex; flex-direction:row; margin-top:12px; gap:10px; }
  .hero--video .actions .button { min-height:44px; padding:8px 12px; font-size:13px; }
  .hero--video + .band { padding-top:28px; }
  .hero--video + .band .section-heading { align-items:start; }
}
@media (max-width:760px) and (orientation:portrait) and (max-height:700px) {
  .hero--video .hero-video,
  .hero--video .hero-photo { object-position:50% 30%; }
  .hero--video .hero-shade {
    z-index:-1;
    background:linear-gradient(180deg,rgba(7,18,13,0) 20%,rgba(7,18,13,.5) 36%,rgba(7,18,13,.9) 60%,#07120d 100%);
  }
}
@media (prefers-reduced-motion:reduce) {
  .hero--video .hero-video,
  .hero--video .hero-video-toggle { display:none; }
}
