.video-hero {
  position: relative;
  isolation: isolate;
  min-height: 590px;
  height: calc(85svh - 106px);
  max-height: 760px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background: #e1e1e1;
  padding: 65px 24px 85px;
}
.video-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.video-backdrop video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: grayscale(1) contrast(0.72) brightness(1.08);
}
.video-hero:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(245, 245, 245, 0.64);
}
.video-copy {
  max-width: 950px;
}
.video-copy .eyebrow {
  color: #34383a;
  margin-bottom: 25px;
}
.video-copy h1 {
  font-size: clamp(48px, 6.1vw, 88px);
  line-height: 1.07;
  letter-spacing: -0.055em;
  margin: 0 0 28px;
}
.video-copy > p:not(.eyebrow) {
  font-size: clamp(17px, 2vw, 24px);
  color: #25292c;
}
.video-copy .text-link {
  display: inline-flex;
  gap: 25px;
  margin-top: 30px;
  border-bottom-color: #62676b;
  color: #161a1d;
}
.video-caption {
  position: absolute;
  bottom: 20px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #303437;
  font-size: 10px;
}
.video-caption button {
  border: 1px solid #6c7073;
  background: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  padding: 10px 18px;
  min-height: 44px;
  color: #161a1d;
}
@media (max-width: 760px) {
  .video-hero {
    min-height: 490px;
    height: calc(80svh - 82px);
    padding: 55px 24px 85px;
  }
  .video-copy h1 {
    font-size: clamp(43px, 10vw, 64px);
  }
  .video-copy > p:not(.eyebrow) {
    font-size: 16px;
  }
  .video-copy .eyebrow {
    font-size: 10px;
  }
  .video-caption {
    bottom: 15px;
  }
  .video-caption > span {
    max-width: 180px;
    text-align: left;
  }
}

/* Wide, left-aligned hero requested for the local preview. */
.video-hero {
  max-height: none;
  aspect-ratio: 20/9;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 45px var(--gutter) 65px;
}
.video-copy {
  width: 100%;
  max-width: 650px;
}
.video-copy h1 {
  font-size: clamp(42px, 5.4vw, 78px);
  margin-bottom: 22px;
}
.video-copy .eyebrow {
  margin-bottom: 20px;
}
.video-copy > p:not(.eyebrow) {
  font-size: clamp(15px, 1.4vw, 19px);
  max-width: 560px;
  line-height: 1.7;
}
.video-copy .text-link {
  margin-top: 22px;
}
.video-hero:before {
  background: linear-gradient(
    90deg,
    rgba(245, 245, 245, 0.84),
    rgba(245, 245, 245, 0.66) 48%,
    rgba(245, 245, 245, 0.36)
  );
}
@media (max-width: 760px) {
  .video-hero {
    aspect-ratio: auto;
    min-height: 460px;
    padding: 40px var(--gutter) 80px;
  }
  .video-copy h1 {
    font-size: clamp(40px, 9vw, 62px);
  }
  .video-copy > p:not(.eyebrow) {
    font-size: 16px;
  }
  .video-copy .eyebrow {
    margin-bottom: 20px;
  }
}

/* Let the text define the banner height, rather than a fixed aspect ratio. */
.video-hero {
  aspect-ratio: auto;
  height: auto;
  min-height: 0;
  padding: 26px var(--gutter) 30px;
}
.video-copy .eyebrow {
  margin-bottom: 14px;
}
.video-copy h1 {
  margin-bottom: 18px;
}
.video-copy .text-link {
  margin-top: 16px;
}
.video-caption {
  left: auto;
  right: var(--gutter);
  bottom: 14px;
}
.video-caption > span {
  display: none;
}
@media (max-width: 760px) {
  .video-hero {
    aspect-ratio: auto;
    min-height: 0;
    height: auto;
    padding: 24px var(--gutter) 65px;
  }
  .video-copy .eyebrow {
    margin-bottom: 14px;
  }
}

/* Align hero copy with the shared page grid at every viewport width. */
.video-hero {
  padding-left: max(var(--gutter), calc((100% - var(--page)) / 2));
  padding-right: max(var(--gutter), calc((100% - var(--page)) / 2));
}
