.video-hero {
  min-height: max(43rem, 100svh);
  background: var(--night);
}

.hero-footage, .hero-scrim, .hero-footage :is(picture, img, video) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-footage { inset-inline-start: auto; width: 80%; }
.hero-footage :is(img, video) {
  display: block;
  object-fit: cover;
  object-position: 53% 50%;
}
.hero-footage video { visibility: hidden; }
.video-hero[data-frame] video { visibility: visible; }
.hero-scrim {
  background:
    linear-gradient(180deg, rgb(15 14 16 / 70%), transparent 21%, transparent 72%, rgb(15 14 16 / 66%)),
    linear-gradient(90deg, #0f0e10 20%, rgb(15 14 16 / 94%) 26%, rgb(15 14 16 / 73%) 38%, rgb(15 14 16 / 22%) 59%, transparent 78%);
}

.video-hero .site-header { min-height: 5.15rem; }
.video-hero .header-links { font-size: clamp(.75rem, 1.12vw, .96rem); }
.video-hero .hero-body {
  justify-items: start;
  padding-block: 3rem;
}
.video-hero .lockup {
  width: min(51%, 39rem);
  text-align: left;
}
.video-hero h1 {
  max-width: 11ch;
  color: var(--ivory);
  font-size: clamp(3.45rem, 6.35vw, 6.85rem);
  text-wrap: initial;
}
.video-hero .hero-body p {
  max-width: 36ch;
  margin-inline: 0;
  color: #f1e8dc;
}
.video-hero .actions { justify-content: start; }
.video-hero .action-outline {
  background: rgb(15 14 16 / 56%);
  border-color: rgb(245 241 232 / 67%);
}
.video-hero .hero-footer {
  justify-content: flex-end;
  min-height: 4.3rem;
  padding-bottom: 1rem;
}
.video-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .48rem .78rem;
  background: rgb(15 14 16 / 83%);
  border: 1px solid rgb(245 241 232 / 44%);
  color: var(--ivory);
  font-size: .86rem;
}
.video-toggle:hover { border-color: var(--ivory); }
.video-toggle .pause-icon,
.video-hero[data-playing] .play-icon { display: none; }
.video-hero[data-playing] .pause-icon { display: inline; }
.video-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (min-width: 701px) and (max-width: 1040px) {
  .video-hero h1 { font-size: clamp(3rem, 6.3vw, 4.2rem); }
  .video-hero .lockup { width: 54%; }
  .video-hero .actions { gap: .6rem; }
}
@media (max-width: 700px) {
  .hero-footage { width: 100%; height: 72%; max-height: 40rem; }
  .hero-footage :is(img, video) { object-position: 50% 42%; }
  .hero-scrim {
    background: linear-gradient(180deg,
      rgb(15 14 16 / 75%), transparent 18%, transparent 35%,
      rgb(15 14 16 / 29%) 45%, rgb(15 14 16 / 94%) 66%, var(--night) 75%);
  }
  .video-hero .site-header { min-height: 4.45rem; }
  .video-hero .header-links { font-size: clamp(.69rem, 2.6vw, .81rem); }
  .video-hero .hero-body {
    align-items: end;
    padding-block: 2rem 1.4rem;
  }
  .video-hero .lockup { width: min(100%, 32rem); }
  .video-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4.65rem);
    letter-spacing: -.04em;
    max-width: 12ch;
  }
  .video-hero .hero-body p { max-width: 36ch; }
  .video-hero .hero-footer { min-height: 3.8rem; }
}
@media (max-width: 375px) {
  .hero-footage { height: 63%; }
  .hero-scrim {
    background: linear-gradient(180deg,
      rgb(15 14 16 / 78%), transparent 18%, transparent 31%,
      rgb(15 14 16 / 63%) 44%, var(--night) 58%);
  }
  .video-hero h1 { font-size: clamp(2.25rem, 11vw, 2.65rem); }
  .video-hero .actions {
    flex-direction: column;
    max-width: 18rem;
    margin-inline: 0;
  }
}
