.edc-bento-stats {
  padding: 64px var(--edc-space-gutter);       /* was --edc-section-v (100px) — tighten so the section reads on one screen */
  background: var(--edc-warm-white);
}
@media (min-width: 1024px) { .edc-bento-stats { padding-left: var(--edc-section-h); padding-right: var(--edc-section-h); } }

.edc-bento-stats__inner {
  max-width: var(--edc-container);
  margin: 0 auto;
}

/* ── Shared section-head styles (used by multiple widgets) ── */
.edc-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--edc-space-lg);         /* was xl — pulls the grid closer to the headline */
  padding-bottom: 0;
}
/* .edc-eyebrow moved to edc-tokens.css so every widget inherits the
   pill (including ones that don't depend on this stylesheet). */
.edc-headline {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: var(--edc-fs-headline-lg);
  line-height: 1.2;
  letter-spacing: var(--edc-track-headline);
  color: var(--edc-obsidian);
  margin: 4px 0;
}
.edc-bento-stats__headline-accent {
  color: var(--edc-solar-gold);
  background: linear-gradient(180deg, var(--edc-solar-gold) 0%, #d19a0d 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.edc-subhead {
  font-family: var(--edc-font-body);
  font-size: var(--edc-fs-body-lead);
  line-height: 1.6;
  color: var(--edc-slate);
  margin: var(--edc-space-sm) 0 0 0;
}

/* ── Bento grid ── */
.edc-bento-stats__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--edc-space-gutter);
}
@media (min-width: 768px) {
  .edc-bento-stats__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

.edc-bento-stats__card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--edc-radius-bento);
  border: 1px solid rgba(224, 221, 216, 0.85);   /* firmer than 0.5 so the outline reads on warm-white */
  background: #fff;                              /* pure white lifts cards off the warm-white section */
  box-shadow:
    0 1px 2px rgba(41, 41, 40, 0.04),
    0 8px 24px -14px rgba(41, 41, 40, 0.10);     /* resting shadow — gives depth without darkening the page */
  display: flex; flex-direction: column;
  transition: transform var(--edc-dur-medium) var(--edc-ease),
              box-shadow var(--edc-dur-medium) var(--edc-ease),
              border-color var(--edc-dur-medium) var(--edc-ease);
}
.edc-bento-stats__card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 2px 6px rgba(41, 41, 40, 0.06),
    0 20px 40px -18px rgba(41, 41, 40, 0.20);
  border-color: var(--edc-gold-ring);
}

/* Variants — "dark" variant is now a solar-gold spotlight card so the
   featured stat reads as an on-brand highlight instead of a
   contrast-heavy obsidian block. */
.edc-bento-stats__card--dark {
  background: linear-gradient(135deg, #ffd875 0%, var(--edc-solar-gold) 55%, #d19a0d 100%);
  color: var(--edc-obsidian);
  border-color: rgba(209, 154, 13, 0.35);
}
.edc-bento-stats__card--dark .edc-bento-stats__title { color: var(--edc-obsidian); }
.edc-bento-stats__card--dark .edc-bento-stats__body  { color: rgba(41, 41, 40, 0.75); }
.edc-bento-stats__card--dark .edc-bento-stats__stat  { color: var(--edc-obsidian); }
.edc-bento-stats__card--dark .edc-bento-stats__icon  {
  background: rgba(41, 41, 40, 0.12);
  color: var(--edc-obsidian);
}

.edc-bento-stats__card--cream {
  background: var(--edc-cream);
  border-color: rgba(224, 221, 216, 0.9);
}

/* Sizes across a 12-col grid */
@media (min-width: 768px) {
  .edc-bento-stats__card--sm { grid-column: span 4; }
  .edc-bento-stats__card--md { grid-column: span 8; }
  .edc-bento-stats__card--xl { grid-column: span 12; }
}

/* Icon puck */
.edc-bento-stats__icon {
  width: 40px; height: 40px;                   /* was 48 — nudge tighter */
  border-radius: var(--edc-radius-full);
  background: var(--edc-gold-tint);
  color: var(--edc-solar-gold);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--edc-space-sm);           /* was md */
}
.edc-bento-stats__card--md .edc-bento-stats__icon {
  width: 52px; height: 52px;                    /* was 64 */
}
.edc-bento-stats__card--md .edc-bento-stats__icon .material-symbols-outlined { font-size: 26px !important; }

.edc-bento-stats__stat {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: var(--edc-fs-headline-lg);
  color: var(--edc-solar-gold);
  line-height: 1;
  margin: 0 0 4px 0;
}
.edc-bento-stats__stat--xl {
  font-size: clamp(40px, 4.5vw, 56px);         /* was up to 80px — shrink the "Up to 70%" number */
  margin-bottom: var(--edc-space-sm);
}

.edc-bento-stats__title {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: var(--edc-fs-headline-md);
  color: var(--edc-obsidian);
  margin: 0 0 var(--edc-space-sm) 0;
}
/* Lead variant — used on XL cards that no longer carry a big stat.
   Promotes the title to the primary headline treatment. */
.edc-bento-stats__title--lead {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: var(--edc-track-headline);
  text-wrap: balance;
}
.edc-bento-stats__body {
  font-family: var(--edc-font-body);
  font-size: var(--edc-fs-body-sm);
  color: var(--edc-slate);
  margin: 0;
  max-width: 44ch;
}

/* XL two-column layout inside the wide row */
.edc-bento-stats__wide {
  display: flex; flex-direction: column;
  gap: var(--edc-space-xl);
  align-items: flex-start;
}
@media (min-width: 768px) {
  .edc-bento-stats__wide { flex-direction: row; align-items: center; }
  .edc-bento-stats__wide-left { flex: 0 0 33%; }
  .edc-bento-stats__wide-right { flex: 1 1 auto; }
}
.edc-bento-stats__wide .edc-bento-stats__body {
  font-size: var(--edc-fs-body-lead);
  max-width: none;
}
