.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 640px;
  overflow: hidden;
  color: var(--klv-color-text);
}

@media (min-width: 810px) {
  .hero {
    min-height: 720px;
    --klv-gradient-hero-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.14) 48%, rgba(3, 3, 4, 0.42) 100%);
  }
}

@media (min-width: 1200px) {
  .hero {
    --hero-height-growth: max(0px, calc(56.25vw - 20px - 780px));
    min-height: calc(780px + var(--hero-height-growth));
    --klv-gradient-hero-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.16) 48%, rgba(3, 3, 4, 0.48) 100%);
  }
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: var(--klv-gradient-hero-overlay);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 1.125rem 5.25rem;
}

@media (min-width: 810px) {
  .hero__content {
    padding: 0 3.625rem 5rem;
  }
}

@media (min-width: 1200px) {
  .hero__content {
    padding: 0 7.5rem calc(4.8125rem + var(--hero-height-growth));
  }
}
.hero__heading {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 0.94;
}

@media (min-width: 810px) {
  .hero__heading {
    font-size: 4.375rem;
    line-height: 0.92;
  }
}

@media (min-width: 1200px) {
  .hero__heading {
    font-size: 6.875rem;
    line-height: 0.9;
  }
}

.hero__tagline {
  margin-top: var(--klv-space-1);
  max-width: 18.75rem;
  text-wrap: balance;
  font-size: 1.3125rem;
  line-height: 1.4;
  font-weight: 400;
}

@media (min-width: 810px) {
  .hero__tagline {
    margin-top: var(--klv-space-4);
    max-width: 32.5rem;
    font-size: 1.875rem;
  }
}

@media (min-width: 1200px) {
  .hero__tagline {
    margin-top: var(--klv-space-4);
    max-width: 29.1875rem;
    font-size: 2.0625rem;
  }
}
@keyframes hero-heading-in {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
  }
}

@keyframes hero-tagline-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

.hero__heading {
  animation: hero-heading-in 0.7s ease-out backwards;
}

.hero__tagline {
  animation: hero-tagline-in 0.6s ease-out 0.35s backwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero__heading,
  .hero__tagline {
    animation: none;
  }
}
