.hero {
  --hero-header-height: 3rem;
  --hero-top-offset: var(--hero-header-height);
  height: min(29.3125rem, max(0rem, calc(100vh - var(--hero-top-offset))));
  height: min(29.3125rem, max(0rem, calc(100svh - var(--hero-top-offset))));
}
.hero__title {
  font-size: clamp(1.5rem, min(12.53vw, 9vh), 3.75rem);
  font-size: clamp(1.5rem, min(12.53vw, 9svh), 3.75rem);
}
/* Keep the embedded player's 16:9 ratio while covering the actual hero box. */
.hero__youtube {
  container-type: size;
}
.hero__youtube iframe {
  width: max(100cqw, calc(100cqh * 16 / 9));
  height: max(100cqh, calc(100cqw * 9 / 16));
}
@media (min-width: 992px) {
  .hero {
    --hero-header-height: 4.125rem;
    height: min(56.25vw, max(0rem, calc(100vh - var(--hero-top-offset))));
    height: min(56.25vw, max(0rem, calc(100svh - var(--hero-top-offset))));
    margin-top: var(--hero-header-height);
    aspect-ratio: auto;
  }
  .hero__title {
    font-size: clamp(2rem, min(6.94444vw, 13vh), 7.5rem);
    font-size: clamp(2rem, min(6.94444vw, 13svh), 7.5rem);
  }
}
