.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-animated);
  background-size: 300% 300%;
  animation: heroGradient 18s ease infinite;
  padding-block: 6rem 3rem;
}

@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero .blob--1 {
  width: 420px;
  height: 420px;
  background: var(--color-mustard);
  top: -120px;
  right: -100px;
  will-change: transform;
}

.hero .blob--2 {
  width: 360px;
  height: 360px;
  background: var(--color-terracotta);
  bottom: -140px;
  left: -80px;
  will-change: transform;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: var(--space-xl);
}

.hero__details {
  margin-top: var(--space-md);
}

.hero__name {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text-on-dark);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.hero__name span {
  color: var(--color-mustard-light);
}

.hero__eyebrow {
  color: var(--color-mustard-light);
}

.hero__title {
  font-size: var(--fs-3xl);
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-sm);
}

.hero__title em {
  font-style: italic;
  color: var(--color-mustard-light);
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-on-dark);
  opacity: 0.85;
  max-width: 50ch;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__media {
  position: relative;
}

.hero__media::before {
  content: '';
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, var(--color-mustard-light) 0%, transparent 65%);
  opacity: 0.35;
  filter: blur(50px);
  z-index: -1;
}

.hero__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero__inner {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .hero__textgroup {
    display: contents;
  }

  .hero__intro {
    order: 1;
  }

  .hero__media {
    order: 2;
  }

  .hero__details {
    order: 3;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__media {
    max-width: 380px;
    margin-inline: auto;
  }
}
