/* ==========================================================================
   Sections — hero
   ========================================================================== */

.hero {
  position: relative;
  padding-block: clamp(7rem, 16vh, 9rem) clamp(3.5rem, 8vh, 5rem);
  background-color: var(--background);
  overflow: hidden;
}

/* Two soft, blurred blobs give the hero depth instead of a flat fill — sage
   dominant, a whisper of warm coral, both restrained (low alpha, heavy blur,
   slow drift) so the effect reads as ambient, not decorative-for-its-own-sake. */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  animation: ambient-float 18s var(--ease-out) infinite;
}

.hero::before {
  top: -12%;
  left: -8%;
  width: min(42vw, 32rem);
  height: min(42vw, 32rem);
  background: color-mix(in srgb, var(--brand-dark) 14%, transparent);
}

.hero::after {
  bottom: -18%;
  right: -10%;
  width: min(30vw, 24rem);
  height: min(30vw, 24rem);
  background: color-mix(in srgb, var(--accent-warm) 10%, transparent);
  animation-duration: 22s;
  animation-direction: reverse;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after {
    animation: none;
  }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 6fr 5fr;
  }
}

.hero__inner {
  display: grid;
  gap: clamp(1.25rem, 2.4vh, 2rem);
  justify-items: start;
  min-width: 0;
}

.hero__title {
  max-width: 20ch;
}

.hero__lead {
  max-width: 46ch;
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--foreground-secondary);
}
