.video-hero {
  position: relative;
  width: 100%;
  height: clamp(340px, 31vw, 630px);
  overflow: hidden;
  background: #080808;
  touch-action: pan-y;
}

.video-hero__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(to top, rgba(0,0,0,.28), transparent 34%), linear-gradient(90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.62) 36%, rgba(0,0,0,.18) 68%, transparent 100%);
}

.video-hero__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.video-hero__copy {
  max-width: 700px;
  color: #fff;
  pointer-events: auto;
}

.video-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.video-hero__eyebrow::before {
  width: 42px;
  height: 2px;
  content: "";
  background: #ed1c24;
}

.video-hero__title {
  max-width: 680px;
  margin: 0;
  font-size: clamp(44px, 5vw, 78px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.video-hero__lead {
  max-width: 620px;
  margin-top: 26px;
  color: rgba(255,255,255,.76);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.7;
}

.video-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.video-hero__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  padding: 0 24px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms, background-color 180ms, border-color 180ms;
}

.video-hero__button--primary {
  border-color: #ed1c24;
  background: #ed1c24;
}

.video-hero__button:hover,
.video-hero__button:focus-visible {
  border-color: #fff;
  outline: none;
  background: #fff;
  color: #111;
  transform: translateY(-2px);
}

.video-hero__control,
.video-hero__carousel {
  position: absolute;
  right: clamp(18px, 3vw, 54px);
  bottom: clamp(18px, 3vw, 42px);
  z-index: 2;
}

.video-hero__control {
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 999px;
  background: rgba(0,0,0,.48);
  padding: 0 18px;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background-color 180ms, border-color 180ms;
}

.video-hero.has-carousel .video-hero__control {
  right: calc(clamp(18px, 3vw, 54px) + 160px);
}

.video-hero__control:hover,
.video-hero__control:focus-visible {
  border-color: #fff;
  outline: none;
  background: rgba(0,0,0,.72);
}

.video-hero__carousel {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 999px;
  background: rgba(0,0,0,.48);
  padding: 4px;
  color: #fff;
  backdrop-filter: blur(8px);
}

.video-hero__carousel button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 180ms, color 180ms;
}

.video-hero__carousel button:hover,
.video-hero__carousel button:focus-visible {
  outline: none;
  background: #fff;
  color: #111;
}

.video-hero__carousel-status {
  min-width: 48px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
  .video-hero {
    height: clamp(470px, 126vw, 590px);
  }

  .video-hero__media {
    object-position: center;
  }

  .video-hero::after {
    background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.46));
  }

  .video-hero__title {
    max-width: 520px;
    font-size: clamp(40px, 12vw, 58px);
  }

  .video-hero__lead {
    max-width: 520px;
    margin-top: 20px;
    line-height: 1.55;
  }

  .video-hero__actions {
    margin-top: 24px;
  }

  .video-hero__control,
  .video-hero__carousel {
    right: 14px;
    bottom: 14px;
    min-height: 40px;
  }

  .video-hero__control {
    padding: 0 14px;
    font-size: 12px;
  }

  .video-hero.has-carousel .video-hero__control {
    right: 166px;
  }

  .video-hero__carousel {
    height: 40px;
  }

  .video-hero__carousel button {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 430px) {
  .video-hero.has-carousel .video-hero__control {
    right: auto;
    left: 14px;
  }

  .video-hero__control [data-video-label] {
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-hero__control {
    display: none;
  }
}
