/* ============================================================
   home-stats.css — redesigned stats strip
   Scoped with #stats-strip so it wins over the conflicting
   .stats-strip / .stat-item rules already living in
   style.css, aesthetic.css and the "extra styles" sheet —
   no need to touch or remove those.
   ============================================================ */

#stats-strip{
  display:grid !important;
  grid-template-columns:repeat(4, 1fr) !important;
  gap:18px !important;
  background:transparent !important;
  flex-wrap:unset !important;
  padding:0 !important;
  max-width:1160px;
  margin:0 auto 80px !important;
  border-radius:0 !important;
}

#stats-strip .stat-item{
  position:relative;
  text-align:left !important;
  background:var(--ink-2, #2a2520);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:20px;
  padding:28px 24px 26px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  transition:transform .35s var(--ease-out, cubic-bezier(.22,1,.36,1)), border-color .35s ease, box-shadow .35s ease;
  overflow:hidden;
}

#stats-strip .stat-item::after{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 85% -10%, rgba(184,147,90,0.16) 0%, transparent 55%);
  pointer-events:none;
  opacity:0;
  transition:opacity .4s ease;
}

#stats-strip .stat-item:hover{
  transform:translateY(-5px);
  border-color:rgba(184,147,90,0.45);
  box-shadow:0 20px 44px -20px rgba(20,15,5,0.5);
}

#stats-strip .stat-item:hover::after{ opacity:1; }

/* Index label — top right, quiet */
#stats-strip .stat-index{
  position:absolute;
  top:20px;
  right:22px;
  font-family:var(--serif, Georgia, serif);
  font-style:italic;
  font-size:11px;
  letter-spacing:.04em;
  color:rgba(255,255,255,0.22);
}

/* Icon */
#stats-strip .stat-icon-wrap{
  width:42px;
  height:42px;
  border-radius:12px;
  background:rgba(184,147,90,0.14);
  border:1px solid rgba(184,147,90,0.25);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--gold-lt, #d4af82);
  margin-bottom:20px;
}

#stats-strip .stat-icon-wrap svg{
  width:20px;
  height:20px;
  display:block;
}

/* Number */
#stats-strip .stat-number{
  display:block !important;
  font-family:var(--serif, Georgia, serif) !important;
  font-size:clamp(1.9rem, 2.6vw, 2.5rem) !important;
  font-weight:600 !important;
  color:#fff !important;
  line-height:1 !important;
  letter-spacing:-0.01em;
  margin-bottom:14px;
}

/* Thin gold accent line under the number */
#stats-strip .stat-line{
  width:26px;
  height:2px;
  background:linear-gradient(90deg, var(--gold, #b8935a), transparent);
  margin-bottom:12px;
  border-radius:2px;
}

/* Label */
#stats-strip .stat-label{
  display:block !important;
  font-size:.68rem !important;
  letter-spacing:.14em !important;
  text-transform:uppercase;
  color:rgba(255,255,255,0.5) !important;
  font-weight:500 !important;
}

/* Old divider element (if still in markup elsewhere) — hide, replaced by .stat-line */
#stats-strip .stat-divider{ display:none !important; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px){
  #stats-strip{
    grid-template-columns:repeat(2, 1fr) !important;
    gap:14px !important;
  }
}

@media (max-width: 480px){
  #stats-strip{
    grid-template-columns:1fr !important;
  }
  #stats-strip .stat-item{ padding:24px 22px; }
}
