.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  padding: 0 var(--container-padding);
  background: var(--color-white);
  overflow: hidden;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  transform: translateY(-4%);
}

.hero__animation {
  /* Match Kinnevik: animation height ≈ viewport minus header */
  height: calc(100vh - var(--header-height) - 4.5rem);
  height: calc(100dvh - var(--header-height) - 4.5rem);
  width: auto;
  max-width: 96vw;
  line-height: 0;
  pointer-events: none;
}

.hero__animation svg {
  display: block;
  height: 100% !important;
  width: auto !important;
  max-width: 100%;
}

.hero__scroll {
  position: absolute;
  bottom: clamp(1.25rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: var(--color-text);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero.is-hero-complete .hero__scroll {
  opacity: 0.85;
}

.hero__scroll svg {
  width: clamp(2rem, 4vw, 2.75rem);
  height: clamp(2rem, 4vw, 2.75rem);
}

.hero.is-hero-complete .hero__scroll svg {
  animation: hero-scroll-bounce 2s ease-in-out 0.4s infinite;
}

@keyframes hero-scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@media (max-width: 640px) {
  .hero__inner {
    transform: translateY(-2%);
  }

  .hero__animation {
    height: calc(100vh - var(--header-height) - 5.5rem);
    height: calc(100dvh - var(--header-height) - 5.5rem);
    max-width: 92vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll {
    opacity: 0.6;
  }
}
