/* Impact: oversized figures. The final value is in the HTML; impact.js only counts up to it. */
.impact { z-index: 5; background: var(--white); color: var(--ink); }
.impact__title { max-width: 18ch; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

.impact__grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
.stat {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1rem;
  padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius-xl);
}
.stat__num {
  display: block; font-weight: 900; letter-spacing: -0.045em; line-height: .92;
  font-size: clamp(5rem, 22vw, 8.5rem);
  font-variant-numeric: tabular-nums;
}
.stat__lab { display: block; max-width: 15em; font-weight: 500; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); line-height: 1.3; }
.stat--navy { background: var(--navy); color: var(--white); }
.stat--navy .stat__num { color: var(--lime); }
.stat--paper { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px rgb(32 32 92 / .08); }
.stat--lime { background: var(--lime); color: var(--navy-900); min-height: 22rem; }
.stat--lime .stat__num { font-size: clamp(3.5rem, 17vw, 7rem); }   /* "$17,000" is about 3.7em wide */
.stat--lime .stat__lab { font-weight: 800; }
.stat__deco {
  position: absolute; z-index: -1; right: -.12em; top: -.08em;
  font-size: clamp(12rem, 40vw, 24rem); line-height: 1; color: rgb(16 16 45 / .09); transform: rotate(10deg);
}

.impact__close { margin-top: clamp(2rem, 4vw, 3rem); font-size: var(--fs-lede); }
.impact__close a { font-weight: 700; text-underline-offset: 3px; }

@media (min-width: 860px) {
  .impact__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 1.5rem; }
  .stat--lime { grid-column: 1; grid-row: 1 / span 2; order: -1; min-height: 34rem; }
  .stat--navy, .stat--paper { grid-column: 2; min-height: 16.5rem; }
  .stat__num { font-size: clamp(5rem, 9vw, 9rem); }
  .stat--lime .stat__num { font-size: clamp(5rem, 11vw, 10.5rem); }
}
