/* Homepage-only welcome film placement; leave the accepted format pages intact. */
.home-page {
  --homepage-video-gap: clamp(5rem, 9vw, 9rem);
}

.home-page .hero {
  min-height: min(539px, calc(70vh - 65.8px));
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.5rem;
}

.home-page .hero h1 {
  font-size: clamp(2.7rem, 6vw, 6rem);
}

.home-page .hero-description {
  margin-top: 1.1rem;
  margin-bottom: 1.3rem;
}

.home-page .hero-meta {
  bottom: 1rem;
}

/* Keep the original supplement artwork's full height in the shorter hero. */
.home-page .hero-image {
  min-height: 0;
  height: 100%;
  top: 0;
  bottom: 0;
}

@media (min-width: 901px) {
  .home-page .hero-image {
    left: auto;
    right: 0;
    width: auto;
    aspect-ratio: 16 / 9;
    background-size: auto 100%;
    background-position: right center;
    background-repeat: no-repeat;
    mask-image: linear-gradient(90deg, transparent, #000 15%);
  }
}

.homepage-video {
  padding: 0;
  border-top: var(--homepage-video-gap) solid #fff;
  background: #000;
}

.homepage-video-frame {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.homepage-video-frame video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.homepage-video-frame video:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.homepage-video + .intro-strip {
  padding-top: var(--homepage-video-gap);
  background: #fff;
}

@media (max-width: 900px) {
  .home-page .hero {
    min-height: 483px;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    align-items: flex-start;
  }

  .home-page .hero-image {
    left: 0;
    right: 0;
    width: auto;
    background-size: auto 100%;
    background-position: 64% center;
  }

  .home-page .hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.6rem);
  }
}

@media (max-width: 560px) {
  .home-page {
    --homepage-video-gap: 4rem;
  }

  .home-page .hero {
    min-height: 413px;
    padding-top: 1.75rem;
    padding-bottom: 2.5rem;
  }

  .home-page .hero h1 {
    font-size: clamp(1.9rem, 9.6vw, 2.6rem);
    line-height: .9;
  }

  .home-page .hero .eyebrow {
    margin-bottom: .8rem;
  }

  .home-page .hero-description {
    font-size: .9rem;
    line-height: 1.45;
    margin-top: .9rem;
    margin-bottom: 1rem;
  }

  .home-page .hero .button-row {
    gap: .5rem;
  }

  .home-page .hero .button {
    min-height: 44px;
    padding-top: .7rem;
    padding-bottom: .7rem;
  }
}

@media (max-width: 380px) {
  .home-page .hero {
    min-height: 399px;
  }

  .home-page .hero h1 {
    font-size: 1.9rem;
  }
}
