.industry-hero-stats {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  margin: 0;
}

.industry-hero-stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  min-width: 0;
  text-align: left;
}

.industry-hero-stat__value {
  margin: 0;
  font-family: Lufga, Arial, sans-serif;
  font-size: clamp(2.75rem, min(4.6vw, 8svh), 4.25rem);
  font-weight: 500;
  line-height: 0.9;
  color: var(--accent, #c2b066);
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.industry-hero-stat__label {
  margin: 0.625rem 0 0;
  font-family: Lufga, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #000;
  text-wrap: balance;
}

.industry-hero-split__stats {
  /* Out of flow so the copy band keeps its position; the grid area spans the
     full hero height, matching the credit pill's offset from the visual. */
  position: absolute;
  bottom: calc(13% + 1.25rem);
  left: 0;
  z-index: 2;
  grid-row: 1 / -1;
  grid-column: 1;
}

.industry-hero-stats--stacked {
  margin-top: 48px;
}

@media (min-width: 992px) {
  /* The stacked hero's product shot is absolutely placed 194px below the hero
     top, so it moves down by the stats' fixed height to stay clear of them. */
  .section.hero:has(.industry-hero-stats--stacked) {
    --stacked-stats-offset: 40px;
    --stacked-stats-value-height: 58px;
    --stacked-stats-label-gap: 10px;
    --stacked-stats-label-height: 21px;
    --stacked-stats-clearance: 24px;
  }

  .section.hero:has(.industry-hero-stats--stacked) .image-2.extra {
    margin-top: calc(
      194px +
      var(--stacked-stats-offset) +
      var(--stacked-stats-value-height) +
      var(--stacked-stats-label-gap) +
      var(--stacked-stats-label-height) +
      var(--stacked-stats-clearance)
    );
  }

  .industry-hero-stats--stacked {
    margin-top: var(--stacked-stats-offset);
  }

  .industry-hero-stats--stacked .industry-hero-stat__value {
    font-size: 64px;
    line-height: var(--stacked-stats-value-height);
  }

  .industry-hero-stats--stacked .industry-hero-stat__label {
    margin-top: var(--stacked-stats-label-gap);
    line-height: var(--stacked-stats-label-height);
    white-space: nowrap;
  }
}

@media (min-width: 1200px) {
  .industry-hero-split__stats {
    grid-column: 1 / -1;
  }

  .industry-hero-stat__label {
    white-space: nowrap;
  }
}

@media (min-width: 992px) and (max-height: 820px) {
  .industry-hero-split__stats .industry-hero-stat__label {
    margin-top: 0.5rem;
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .industry-hero-split__stats {
    position: relative;
    bottom: auto;
    left: auto;
    order: 4;
    padding-top: 8px;
  }

  .industry-hero-stats--stacked {
    margin-top: 32px;
  }

  .industry-hero-stats {
    gap: 20px;
  }

  .industry-hero-stat {
    flex: 1 1 0;
    align-items: center;
    text-align: center;
  }

  .industry-hero-stat__value {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .industry-hero-stat__label {
    font-size: 14px;
    text-wrap: pretty;
  }
}
