/* ==========================================================================
   METRIX LAB - stats.css
   Compact "by the numbers" credibility band. Sits right under the hero.
   Values animate (count-up) via js/counter.js; they stay legible as plain
   text if JS never runs (the markup ships the final value).
   ========================================================================== */
.section--stats {
  padding-block: var(--section-padding-y-sm);
  background-color: var(--color-bg);
  overflow: hidden;
}

.stats__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(900px, 90%);
  height: 220px;
  transform: translate(-50%, -50%);
  background: radial-gradient(60% 60% at 50% 50%, var(--color-accent-tint), transparent 70%);
  z-index: var(--z-decor);
  pointer-events: none;
  filter: blur(8px);
}

.stats__grid {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl) var(--space-md);
  text-align: center;
  margin: 0;
  list-style: none;
}
@media (min-width: 960px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stats__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* hairline divider between items (desktop only) */
@media (min-width: 960px) {
  .stats__item + .stats__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 3.25rem;
    background: linear-gradient(180deg, transparent, var(--color-grey-700), transparent);
  }
}

.stats__item .stat__value {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 3.75rem);
}
.stats__item .stat__label {
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-size: var(--fs-xs);
}
