/* =======================================
   WP-STATS - Credibility Bar
   ======================================= */
.wp-stats *, .wp-stats *::before, .wp-stats *::after { margin:0; padding:0; box-sizing:border-box; }
.wp-stats {
  --gold:#c8a96e; --gold-l:#d9c28f; --gold-d:#a08245;
  --gold-line:rgba(200,169,110,0.15);
  --dk:#0d1f17; --dk3:#0a1812;
  --txt-l:rgba(255,255,255,0.88);
  --txt-lm:rgba(255,255,255,0.55);
  --txt-lo:rgba(255,255,255,0.3);
  --ease-out:cubic-bezier(0.22,1,0.36,1);
  font-family:'DM Sans',sans-serif;
  -webkit-font-smoothing:antialiased;
  background:#111f18;
  position:relative;
  overflow:hidden;
}

/* Top shimmer line */
.wp-stats__line {
  position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:min(80%,1000px); height:1px; overflow:hidden;
}
.wp-stats__line::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(90deg, transparent 0%, var(--gold-line) 20%, var(--gold) 50%, var(--gold-line) 80%, transparent 100%);
  background-size:200% 100%;
  animation:wpStatsShimmer 5s ease infinite;
}
@keyframes wpStatsShimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* Bottom line */
.wp-stats__line-b {
  position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  width:min(80%,1000px); height:1px;
  background:var(--gold-line);
}

.wp-stats__inner {
  width:100%; max-width:1250px; margin:0 auto;
  padding:0 clamp(1.25rem,3vw,2.5rem);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
}

/* Dividers between items */
.wp-stats__item {
  padding:clamp(2rem,3.5vw,3rem) clamp(1.5rem,2.5vw,2.5rem);
  position:relative;
  text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:.5rem;
}
.wp-stats__item:not(:last-child)::after {
  content:''; position:absolute; right:0; top:25%; bottom:25%;
  width:1px; background:var(--gold-line);
}

/* Number */
.wp-stats__num {
  font-family:'EB Garamond',serif; font-weight:400;
  font-size:clamp(2rem,3.5vw,3rem); line-height:1;
  color:var(--gold-l); letter-spacing:-.01em;
  position:relative; display:inline-block;
}

/* Superscript + mark */
.wp-stats__num sup {
  font-size:.5em; vertical-align:super;
  color:var(--gold); opacity:.75; font-family:'DM Sans',sans-serif;
}

/* Label */
.wp-stats__label {
  font-size:.58rem; font-weight:500; letter-spacing:.2em;
  text-transform:uppercase; color:var(--txt-lo);
  line-height:1.5; margin-top:.25rem;
}

/* Subtle hover lift */
.wp-stats__item {
  transition:background .3s;
}
.wp-stats__item:hover {
  background:rgba(200,169,110,0.03);
}
.wp-stats__item:hover .wp-stats__num {
  color:#e8d4a8;
}

/* Reveal */
.wp-stats__item {
  opacity:0; transform:translateY(16px);
  transition:opacity .7s var(--ease-out), transform .7s var(--ease-out), background .3s;
}
.wp-stats__item.vis { opacity:1; transform:translateY(0); }
.wp-stats__item:nth-child(1){transition-delay:.05s}
.wp-stats__item:nth-child(2){transition-delay:.15s}
.wp-stats__item:nth-child(3){transition-delay:.25s}
.wp-stats__item:nth-child(4){transition-delay:.35s}

/* -- Responsive -- */
@media (max-width:768px) {
  .wp-stats__inner { grid-template-columns:repeat(2,1fr); }
  .wp-stats__item:nth-child(2)::after { display:none; }
  .wp-stats__item:nth-child(odd):not(:last-child)::after { display:block; }
  .wp-stats__item:nth-child(even)::after { display:none; }
  /* Horizontal dividers on row break */
  .wp-stats__item:nth-child(1),
  .wp-stats__item:nth-child(2) {
    border-bottom:1px solid var(--gold-line);
  }
}
@media (max-width:480px) {
  .wp-stats__inner { grid-template-columns:1fr 1fr; }
}
