/* ==========================================================================
   hero-title — giant headline with inline image pills, short intro + CTA,
   then a big image with a rotating round badge.
   The h1 is real text; <scroll-reveal type="split"> only animates it.
   ========================================================================== */
.hero-title {
  padding-block: var(--space-xl) var(--space-2xl);
}

.hero-title__heading {
  /* Unbounded is very wide: keep a little under the display token on small screens */
  margin-bottom: var(--space-lg);
}

.hero-title__line {
  white-space: normal;
}

.hero-title__intro {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding-top: var(--space-sm);
  border-top: var(--border-hairline);
}

.hero-title__eyebrow {
  display: flex;
  gap: var(--space-xs);
}

.hero-title__text {
  max-width: 34ch;
  font-size: var(--text-lg);
  line-height: 1.4;
}

.hero-title__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs) var(--space-md);
}

.hero-title__figure {
  position: relative;
}

.hero-title__image {
  --image-ratio: 4 / 5;
}

.hero-title__badge {
  position: absolute;
  right: var(--space-sm);
  bottom: 0;
  z-index: var(--z-base);
  transform: translateY(40%);
  --round-badge-size: 6.5rem;
}

.hero-title__caption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3xs);
  margin-top: var(--space-xs);
  padding-right: 7.5rem; /* keeps the caption clear of the badge */
}

.hero-title__caption .link-arrow {
  white-space: nowrap;
}

@media (min-width: 48em) {
  .hero-title__line--indent {
    padding-left: 12%;
  }

  .hero-title__intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: start;
    gap: var(--space-md) var(--space-lg);
  }

  .hero-title__text {
    max-width: none;
  }

  .hero-title__actions {
    grid-column: 2;
  }

  .hero-title__image {
    --image-ratio: 16 / 9;
  }

  .hero-title__badge {
    right: var(--space-xl);
    --round-badge-size: 9rem;
  }

  .hero-title__caption {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding-right: 12rem;
  }
}

@media (min-width: 64em) {
  .hero-title__intro {
    grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr);
  }

  .hero-title__text {
    max-width: 34ch;
  }

  .hero-title__actions {
    grid-column: auto;
    justify-content: flex-end;
  }
}

@media (min-width: 80em) {
  .hero-title {
    padding-top: var(--space-2xl);
  }

  .hero-title__image {
    --image-ratio: 2 / 1;
  }
}
