/* ════════════════════════════════════════════════
   08 — STATS
   Stat band: italic numerals + Najdi separators + count-up
   ════════════════════════════════════════════════ */

.stat-band {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  width: 100%;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 0 32px;
  flex: 0 0 auto;
}
.stat:first-child { padding-inline-start: 0; }
.stat:last-child { padding-inline-end: 0; }

.stat__num {
  font-family: var(--font-serif);
  font-weight: 300;
  /* No italic — these numerals get converted to Arabic-Indic digits
     (٠-٩) by animations.js. The font file has no italic axis, so synthetic
     italic would slant the Arabic-Indic glyphs which look wrong. */
  font-style: normal;
  font-size: var(--fs-stat);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--olive-gold);
}

.stat__num-prefix,
.stat__num-suffix {
  font-size: 0.55em;
  font-style: italic;
  color: var(--olive-gold);
  margin: 0 4px;
  vertical-align: 0.5em;
}

.stat__label {
  font-family: var(--font-arabic);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 400;
  color: var(--text-cream);
  letter-spacing: 0.04em;
  margin-top: 8px;
  max-width: 180px;
  line-height: 1.5;
}

/* Vertical separator between stats */
.stat-band > .stat:not(:first-child) {
  border-inline-start: 1px solid rgba(184, 168, 124, 0.25);
}

/* Inline variant — for stats in cream sections */
.stat--dark .stat__num { color: var(--maroon); }
.stat--dark .stat__label { color: var(--text-muted); }

@media (max-width: 1024px) {
  .stat { padding: 0 20px; }
  .stat__label { max-width: 140px; }
}

@media (max-width: 768px) {
  .stat-band { gap: 24px 16px; }
  .stat { padding: 0; flex: 1 1 calc(50% - 16px); border-inline-start: none !important; }
  .stat__num { font-size: clamp(48px, 12vw, 80px); }
  .stat__label { max-width: 100%; }
}
