/* Homepage hero: cinematic scale with the existing video and editorial copy. */
.home-hero {
  display: flex;
  min-height: clamp(651px, 75.6vh, 840px);
  padding: 0;
}

.home-hero > .container {
  display: flex;
  flex: 1;
}

.home-hero .hero-inner {
  display: flex;
  width: 100%;
  max-width: min(100%, 1280px);
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(96px, 12vh, 132px) 0 clamp(108px, 14vh, 148px);
  transform: translateY(-3%);
}

.home-hero .hero-eyebrow {
  margin-bottom: 12px;
}

.home-hero .hero-inner h1 {
  max-width: 1180px;
  margin-right: auto;
  margin-bottom: 22px;
  margin-left: auto;
  font-size: clamp(4.25rem, 5vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.home-hero .hero-inner > p {
  max-width: 720px;
  margin-bottom: 30px;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.home-hero .hero-cta {
  gap: 16px;
}

.home-hero .hero-cta .btn {
  min-height: 58px;
  padding: 15px 26px;
}

.home-hero .hero-bg-overlay {
  background: rgba(13, 13, 14, 0.62);
}

.home-hero .hero-bg-video {
  object-position: 50% 45%;
}

@media (max-width: 1020px) {
  .home-hero {
    min-height: clamp(630px, 73.5vh, 756px);
  }

  .home-hero .hero-inner {
    max-width: min(100%, 1040px);
    padding-top: clamp(84px, 10vh, 108px);
    padding-bottom: clamp(88px, 11vh, 116px);
    transform: translateY(-2%);
  }

  .home-hero .hero-inner h1 {
    max-width: 1000px;
    font-size: clamp(3.25rem, 6.2vw, 4.5rem);
    line-height: 0.95;
  }

  .home-hero .hero-inner > p {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: clamp(588px, 79.8svh, 735px);
  }

  .home-hero .hero-inner {
    max-width: 100%;
    padding-top: 72px;
    padding-bottom: 76px;
    transform: translateY(-2%);
  }

  .home-hero .hero-eyebrow {
    margin-bottom: 12px;
    font-size: 0.84rem;
  }

  .home-hero .hero-inner h1 {
    max-width: 16ch;
    margin-bottom: 18px;
    font-size: clamp(2.5rem, 9.5vw, 3.35rem);
    line-height: 0.97;
  }

  .home-hero .hero-inner > p {
    max-width: 36ch;
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .home-hero .hero-cta {
    width: 100%;
    max-width: 360px;
    flex-direction: column;
    gap: 14px;
  }

  .home-hero .hero-cta .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .home-hero {
    min-height: clamp(588px, 81.9svh, 693px);
  }

  .home-hero > .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-hero .hero-inner {
    padding-top: 60px;
    padding-bottom: 64px;
  }

  .home-hero .hero-inner h1 {
    max-width: 16ch;
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .home-hero .hero-inner > p {
    max-width: 31ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero {
    background-image: url("images/hero-bg-poster.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .home-hero .hero-bg-video {
    display: none;
  }

  .home-hero .hero-inner .eyebrow,
  .home-hero .hero-inner h1,
  .home-hero .hero-inner > p,
  .home-hero .hero-cta {
    opacity: 1;
    animation: none;
  }

  .home-hero::before {
    animation: none;
  }
}
