/* ─── IMPACT & REACH HUB ─── */
.about-impact {
  background: linear-gradient(180deg, #faf8f4 0%, var(--white) 40%, #f5f2eb 100%);
  padding: 80px var(--site-side) 88px;
  position: relative;
  overflow: hidden;
}
.about-impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(71, 89, 41, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}
.about-impact-inner {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100vw - 2 * var(--site-side)));
  max-width: 1100px;
  margin: 0 auto;
}
.about-impact-header {
  margin-bottom: 48px;
}
.about-impact-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Three-column hub layout */
.impact-hub {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 300px) 1fr;
  gap: 28px 24px;
  align-items: start;
}

.impact-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.impact-col--right .impact-stat {
  text-align: right;
}
.impact-col--right .impact-stat-bubble {
  margin-left: auto;
}
.impact-col--right .impact-stat-note {
  margin-left: auto;
}

/* Stat cards */
.impact-stat {
  max-width: 280px;
}
.impact-col--right .impact-stat {
  margin-left: auto;
}

.impact-stat-bubble {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--white);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.impact-stat-bubble::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.impact-stat--olive .impact-stat-bubble { background: linear-gradient(145deg, #4a5f28, #6a8340); }
.impact-stat--orange .impact-stat-bubble { background: linear-gradient(145deg, #b86e20, #e8943a); }
.impact-stat--lime .impact-stat-bubble { background: linear-gradient(145deg, #6a9e28, #9bc94a); }
.impact-stat--purple .impact-stat-bubble { background: linear-gradient(145deg, #5a3870, #7a5090); }
.impact-stat--red .impact-stat-bubble { background: linear-gradient(145deg, #a83232, #d45050); }
.impact-stat--blue .impact-stat-bubble { background: linear-gradient(145deg, #2a5080, #4a78b0); }

.impact-stat-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}
.impact-stat-value {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.impact-stat-label {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.25;
  opacity: 0.95;
}
.impact-stat-desc {
  margin: 6px 0 0;
  font-size: 10px;
  line-height: 1.35;
  opacity: 0.88;
  max-width: 160px;
}
.impact-stat-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-mid);
  max-width: 260px;
}

/* Center hub */
.impact-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  grid-row: 1;
  align-self: center;
}
.impact-center-ring {
  position: absolute;
  width: min(100%, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(71, 89, 41, 0.2);
  animation: impact-ring-spin 80s linear infinite;
}
@keyframes impact-ring-spin {
  to { transform: rotate(360deg); }
}
.impact-center-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 280px;
  background: var(--white);
  border: 3px solid var(--green-dark);
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 24px;
  box-shadow:
    0 12px 40px rgba(71, 89, 41, 0.15),
    inset 0 0 0 8px rgba(71, 89, 41, 0.04);
}
.impact-center-emblem {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 4px;
}
.impact-center-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 8px;
}
.impact-center-name {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.02em;
}
.impact-center-full {
  margin: 8px 0 0;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.impact-center-mission {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-mid);
  border-top: 1px solid #e8e4dc;
  padding-top: 12px;
}

/* Goals row */
.impact-goals {
  margin-top: 56px;
  background: var(--white);
  border: 1px solid #e2ddd3;
  border-radius: 12px;
  padding: 28px 32px 32px;
  box-shadow: var(--shadow-md);
}
.impact-goals-title {
  margin: 0 0 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.impact-goals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.impact-goal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 16px 12px;
  background: var(--cream);
  border-radius: 8px;
  border: 1px solid #ebe7de;
  transition: transform 0.2s, box-shadow 0.2s;
}
.impact-goal:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.impact-goal-icon {
  font-size: 32px;
  line-height: 1;
}
.impact-goal-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.4;
}

/* Optional full diagram */
.impact-diagram-toggle {
  margin-top: 40px;
  border: 1px solid #e2ddd3;
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
}
.impact-diagram-toggle summary {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}
.impact-diagram-toggle summary::-webkit-details-marker { display: none; }
.impact-diagram-toggle summary::after {
  content: '▾';
  font-size: 10px;
  transition: transform 0.2s;
}
.impact-diagram-toggle[open] summary::after {
  transform: rotate(180deg);
}
.impact-diagram-toggle summary:hover {
  background: var(--cream);
}
.about-impact-figure {
  margin: 0;
  padding: 0;
  border-top: 1px solid #e8e4dc;
}
.about-impact-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ─── Tablet: stack center on top, 2-col stats ─── */
@media (max-width: 1024px) {
  .impact-hub {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .impact-center {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 12px;
  }
  .impact-center-card {
    max-width: 260px;
  }
  .impact-col--left,
  .impact-col--right {
    gap: 20px;
  }
  .impact-stat,
  .impact-col--right .impact-stat {
    max-width: none;
    text-align: left;
  }
  .impact-stat-bubble,
  .impact-col--right .impact-stat-bubble {
    margin-left: 0;
    margin-right: auto;
  }
  .impact-stat-note,
  .impact-col--right .impact-stat-note {
    margin-left: 0;
    max-width: none;
  }
  .impact-goals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── Mobile: single column cards ─── */
@media (max-width: 640px) {
  .about-impact {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .impact-hub {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .impact-center {
    grid-column: 1;
    order: 1;
  }
  .impact-col--left {
    order: 2;
  }
  .impact-col--right {
    order: 3;
  }
  .impact-stat {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: center;
    max-width: none;
  }
  .impact-stat-bubble {
    max-width: 120px;
    aspect-ratio: 1;
    padding: 12px;
  }
  .impact-stat-icon { font-size: 22px; }
  .impact-stat-value { font-size: 22px; }
  .impact-stat-label { font-size: 9px; }
  .impact-stat-desc { font-size: 9px; display: none; }
  .impact-stat-note {
    margin: 0;
    grid-column: 2;
    font-size: 12px;
  }
  .impact-center-card {
    max-width: 240px;
    padding: 24px 20px;
  }
  .impact-center-name { font-size: 26px; }
  .impact-goals {
    padding: 24px 20px;
  }
  .impact-goals-grid {
    grid-template-columns: 1fr;
  }
}
