/* ==========================================================================
   Programs Overview — stats band (pink cards with glitter digits on #161616,
   sparkle ribbons; the home-page pattern at both widths)
   ========================================================================== */

.po-stats {
  position: relative;
  overflow: hidden;
  background: #161616;
  padding: 50px 18px;
}

/* Heading kept for AT only — the design shows the cards bare */
.po-stats__heading {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.po-stats__inner {
  position: relative;
  max-width: 1200px;
  margin-inline: auto;
}

/* Sparkle ribbon decorations (same geometry as the home stats band) */
.po-stats__ribbon {
  position: absolute;
  pointer-events: none;
  /* exported PNGs contain baked opaque-black particles; backdrop is uniform
     #161616 so lighten hides them while keeping the bright sparkles */
  mix-blend-mode: lighten;
}
.po-stats__ribbon--mobile {
  top: -299px;
  left: 50%;
  transform: translateX(-50%);
  width: 264px;
  height: 1302px;
}
.po-stats__ribbon--desktop { display: none; }

.po-stats__cards {
  display: grid;
  gap: 28px;
}

.po-stats__card {
  height: 162px;
  padding-top: 22px;
  padding-inline: 33px;
  background: var(--c-pink-deep);
  border-radius: 7px;
  box-shadow: 0 4px 29.2px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.po-stats__value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 78px;
  line-height: 88px;
  text-transform: uppercase;
}

.po-stats__digits {
  background: url('/wp-content/themes/ogle/assets/img/glitter-texture.webp') center / cover;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.po-stats__pct {
  font-size: 47px;
  line-height: 1;
  color: var(--c-white);
}

.po-stats__label {
  margin-top: 17px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--c-white);
}

.po-stats__footnote {
  margin-top: 22px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 22.8px;
  color: var(--c-white);
  text-align: center;
}

/* ================= Desktop (>=900px) ================= */
@media (min-width: 900px) {
  .po-stats {
    --s: calc(min(100vw, 1680px) / 1680);
    padding-top: 47px;
    padding-bottom: 49px;
    padding-inline: clamp(18px, calc(18px + 222 * (100vw - 390px) / 1290), 240px);
  }

  .po-stats__ribbon--mobile { display: none; }
  .po-stats__ribbon--desktop {
    display: block;
    top: calc(17 * var(--s)); /* Figma: ribbon y 64 from section top; section pad 47 */
    left: 50%;
    margin-left: calc(64 * var(--s));
    transform: translateX(-50%);
    width: calc(1302 * var(--s));
    height: auto;
  }

  .po-stats__cards { grid-template-columns: repeat(3, 1fr); }

  .po-stats__card {
    height: 192px;
    padding-top: 35px;
  }

  .po-stats__label { margin-top: 24px; }

  .po-stats__footnote { margin-top: 34px; }
}
