:root {
  --bg-primary: #f3f3f2;
  --bg-secondary: #e9e9e6;
  --brand: #1d3869;
  --brand-700: #162c52;
  --accent: #5ea853;
  --text: #1a1a1a;
  --text-muted: #36413d;
  --surface: #ffffff;
  --border: #cad0ca;
  --danger: #b7251d;
  --radius-card: 8px;
  --radius-control: 4px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --header-height: 86px;
  --max-width: 1280px;
  --transition-fast: 160ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main [id] {
  scroll-margin-top: calc(var(--header-height) + var(--space-4));
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-primary), #f8f8f7 60%, var(--bg-secondary));
  min-width: 320px;
}

body.home-page {
  overflow-x: hidden;
}

body.impact-page {
  overflow-x: hidden;
}

body.impact-page .container {
  max-width: calc(100vw - var(--space-6));
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button,
.btn,
input[type="submit"] {
  min-height: 44px;
  min-width: 44px;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -100px;
  padding: var(--space-2) var(--space-4);
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-control);
  z-index: 10000;
}

.skip-link:focus {
  top: var(--space-2);
}

.container {
  width: min(calc(100% - var(--space-6)), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg-primary) 88%, transparent);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.logo span {
  display: none;
}

.logo-image {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.menu-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-control);
  padding: 0 var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 180ms ease,
    transform 160ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: #f2f5fb;
  border-color: #9eaed3;
  box-shadow: 0 8px 18px rgba(13, 26, 49, 0.16);
  transform: translateY(-1px);
}

.menu-bars {
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 0;
}

.menu-bars::before {
  top: -6px;
}

.menu-bars::after {
  top: 6px;
}

.site-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transform: translateY(-120%);
  transition: transform var(--transition-fast);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: var(--space-4);
  display: grid;
  gap: var(--space-2);
}

.site-nav .nav-item-has-submenu {
  display: grid;
  gap: var(--space-1);
}

.site-nav .nav-link-with-submenu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.site-nav .nav-caret {
  display: inline-block;
  width: 18px;
  height: 12px;
  position: relative;
  color: currentColor;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.site-nav .nav-caret::before,
.site-nav .nav-caret::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 12px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.site-nav .nav-caret::before {
  left: 0;
  transform: rotate(40deg);
}

.site-nav .nav-caret::after {
  right: 0;
  transform: rotate(-40deg);
}

.site-nav .nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 var(--space-4);
  display: grid;
  gap: var(--space-1);
}

.site-nav .nav-submenu a {
  color: var(--text-muted);
  font-size: 0.95em;
  padding: var(--space-1) var(--space-3);
}

.site-nav a {
  display: block;
  border-radius: var(--radius-control);
  padding: var(--space-2) var(--space-3);
  text-decoration: none;
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  background: #f6e8bf;
  color: #102743;
  font-weight: 700;
}

.site-nav a.nav-donate {
  background: #ffc72d;
  color: #1a1a1a;
  border-radius: 0;
  border: 1px solid #d9a90f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  min-width: 152px;
  padding: var(--space-2) var(--space-5);
  font-weight: 700;
}

.site-nav a.nav-donate[aria-current="page"] {
  background: #ffc72d;
  color: #1a1a1a;
  border-radius: 0;
}

.site-nav a:not(.nav-donate):hover,
.site-nav a:not(.nav-donate):focus-visible {
  background: #f6e8bf;
  color: #102743;
}

.site-nav a.nav-donate:hover,
.site-nav a.nav-donate:focus-visible {
  background: #e0ad1f;
  color: #1a1a1a;
}

.donate-heart {
  color: #1a1a1a;
  font-size: 1em;
  line-height: 1;
}

body.nav-open .site-nav {
  transform: translateY(0);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  z-index: 300;
}

body.nav-open .nav-backdrop {
  display: block;
}

main {
  display: block;
}

section {
  padding-block: var(--space-12);
}

/* Global section striping across all pages */
:where(main > section:nth-of-type(odd)) {
  background-color: var(--bg-primary);
}

:where(main > section:nth-of-type(even)) {
  background-color: var(--bg-secondary);
}

/* Home page: screenshot-inspired hero and impact band */
body.home-page main > section.hero {
  padding-block: 0;
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 44%, rgba(255, 255, 255, 0.9) 52%, rgba(255, 255, 255, 0) 64%),
    #ffffff;
  color: #0f2a50;
  overflow: hidden;
}

body.home-page main > section.hero p {
  color: #102743;
}

body.home-page .home-hero-layout {
  width: min(100%, 1440px);
  min-height: clamp(430px, 50vw, 560px);
  display: grid;
  align-items: stretch;
  padding-inline: 0;
  position: relative;
}

body.home-page .hero-copy {
  width: min(calc(100% - var(--space-6)), var(--max-width));
  margin-inline: auto;
  padding-inline: var(--space-3);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  position: relative;
  z-index: 2;
}

body.home-page .hero-visual {
  display: none;
  position: absolute;
  inset: 0 0 0 47%;
  z-index: 1;
}

body.home-page .hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 28%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

body.home-page .hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

body.home-page .hero-highlight {
  color: var(--brand);
}

.impact-glance-section {
  background: #ffffff;
  padding-block: 0;
}

.impact-glance-section .impact-strip-item {
  padding: 0;
  min-height: 135px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 0;
  position: relative;
}

.impact-glance-section .impact-strip-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: #c4c4c4;
}

.impact-glance-section .impact-strip-item:last-child::after {
  content: none;
}

body.home-page main > section.impact-strip-section {
  padding: clamp(1.6rem, 3vw, 2.6rem) 0 clamp(1.4rem, 2.4vw, 2.2rem);
  background: #102c58;
  color: #ffffff;
}

.impact-strip-title {
  margin: 0 0 var(--space-4);
  padding-inline: var(--space-3);
  text-align: center;
  color: #ffffff;
  font-size: clamp(1.3rem, 1.05rem + 1.2vw, 2.55rem);
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 700;
}

body.home-page .impact-strip-section .impact-strip-item {
  position: relative;
  border-right: 0;
}

body.home-page .impact-strip-section .impact-strip-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

body.home-page .impact-strip-section .impact-strip-item:nth-child(2n)::after {
  content: none;
}

body.home-page .impact-strip-section .impact-strip-value {
  color: #d5af4c;
  font-size: clamp(2.6rem, 2rem + 2.7vw, 4rem);
}

body.home-page .impact-strip-section .impact-strip-label {
  max-width: 14ch;
  margin-inline: auto;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(0.95rem, 0.82rem + 0.45vw, 1.18rem);
  font-weight: 400;
  line-height: 1.14;
  white-space: normal;
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 260px));
  justify-content: center;
}

body.home-page .impact-strip-section .impact-strip {
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

.impact-strip-item {
  padding: clamp(1.1rem, 0.95rem + 0.65vw, 1.6rem) var(--space-4);
  text-align: center;
  border-right: 1px solid #c4c4c4;
}

.impact-strip-item:nth-child(2n) {
  border-right: 0;
}

.impact-strip-value {
  margin: 0;
  color: #1d3869;
  font-size: clamp(2.4rem, 2rem + 1.8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.impact-strip-label {
  margin: 0.22rem 0 0;
  color: #40495e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.78rem, 0.7rem + 0.25vw, 0.95rem);
  font-weight: 600;
  white-space: nowrap;
}

.impact-strip-3 {
  grid-template-columns: repeat(1, minmax(190px, 360px));
}

.section-head {
  max-width: 70ch;
  margin-bottom: var(--space-6);
}

.section-head h2 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.3rem);
  line-height: 1.2;
}

.section-head-centered {
  text-align: center;
  margin-inline: auto;
}

.hero {
  padding-block: var(--space-16);
  background:
    radial-gradient(600px 260px at 0% 0%, rgba(94, 168, 83, 0.18), transparent 65%),
    radial-gradient(550px 240px at 95% 0%, rgba(29, 56, 105, 0.18), transparent 68%);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 19.1ch;
}

body.home-page .hero h1 {
  max-width: 10.8ch;
  color: #0f2a50;
  font-size: clamp(2rem, 1.6rem + 2vw, 3.9rem);
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 700;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 var(--space-4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e7b857;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: var(--space-5);
}

.hero-highlight {
  color: #f1a846;
}

.hero p {
  max-width: 65ch;
  margin-top: var(--space-4);
}

body.home-page .hero p {
  max-width: min(34ch, 100%);
  margin-block: var(--space-3) 0;
  font-size: clamp(1.02rem, 0.93rem + 0.34vw, 1.2rem);
  line-height: 1.28;
}

.hero-scroll-hint {
  margin-top: var(--space-12);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  color: rgba(243, 243, 242, 0.58);
}

.hero-scroll-hint::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(243, 243, 242, 0.45);
}

.hero-actions {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-6);
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 65%, #000);
  box-shadow: 0 6px 18px rgba(13, 26, 49, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #0f2447;
  border-color: #0f2447;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8, 17, 34, 0.38);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 6px 16px rgba(13, 26, 49, 0.14);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #0f2447;
  border-color: #0f2447;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8, 17, 34, 0.38);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(13, 26, 49, 0.2);
}

body.home-page .hero-actions .btn {
  min-width: 220px;
  min-height: 58px;
  border-radius: 4px;
  background: #d5af4c;
  border-color: #c49e37;
  color: #102743;
  text-transform: uppercase;
  font-size: 0.95rem;
  box-shadow: none;
}

body.home-page .hero-actions .btn:hover,
body.home-page .hero-actions .btn:focus-visible {
  outline: 2px solid #f0b429;
  outline-offset: 1px;
  box-shadow:
    0 0 0 3px rgba(240, 180, 41, 0.25),
    0 12px 24px rgba(8, 17, 34, 0.34);
}

@media (min-width: 40em) {
  body.home-page .impact-strip-section .impact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.btn-rsvp {
  background: #c53a2f;
  border-color: #c53a2f;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 var(--space-8);
  height: 30px;
  min-width: 200px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(197, 58, 47, 0.25);
}

.btn-rsvp:hover,
.btn-rsvp:focus-visible {
  background: #a92f26;
  border-color: #a92f26;
  color: #fff;
}

.btn-rsvp:active {
  background: #8f281f;
  border-color: #8f281f;
  color: #fff;
}

.btn-rsvp.is-disabled,
.btn-rsvp[disabled] {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.stats-grid,
.program-grid,
.event-grid,
.team-grid,
.partner-grid,
.ways-grid,
.amount-grid {
  display: grid;
  gap: var(--space-4);
}

.team-grid {
  row-gap: var(--space-10);
  column-gap: var(--space-6);
  align-items: start;
}

.stats-grid {
  grid-template-columns: 1fr;
}

.stat-card,
.program-card,
.event-card,
.team-card,
.partner-card,
.panel,
.quote-card,
.donate-panel,
.contact-card,
.auth-card,
.table-wrap {
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stat-card,
.program-card,
.quote-card,
.contact-card,
.team-card,
.partner-card,
.ways-card,
.donate-panel,
.auth-card,
.panel {
  padding: var(--space-6);
}

.stat-value {
  margin: 0;
  color: var(--brand);
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem);
  line-height: 1.1;
}

.stat-label {
  margin: var(--space-2) 0 0;
  color: var(--text-muted);
}

.program-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg-secondary);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
}

.program-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--brand);
}

body.home-page .program-grid {
  gap: var(--space-5);
}

body.home-page .program-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: clamp(1.6rem, 1.4rem + 0.8vw, 2.1rem);
  border: 1px solid #d3ccc2;
  background: #f5f5f3;
  box-shadow: none;
}

body.home-page .program-icon {
  width: 69px;
  height: 69px;
  margin-bottom: var(--space-2);
  border-radius: 14px;
  background: #e4e1dc;
}

body.home-page .program-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #2f4677;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-page .program-card h3 {
  margin: 0;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.25;
  color: #1f232a;
}

body.home-page .program-card p {
  margin: 0;
  font-size: clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem);
  line-height: 1.55;
  color: #4a4a4a;
}

body.home-page .program-card a {
  margin-top: auto;
  padding-top: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  width: fit-content;
  color: #2e477b;
  font-weight: 700;
  font-size: clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem);
  text-decoration: none;
}

body.home-page .program-card .program-link-text {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

body.home-page .program-card .program-link-arrow {
  line-height: 1;
  font-size: 1.2em;
}

.event-card {
  overflow: hidden;
}

.team-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-card picture {
  display: block;
  width: min(100%, 220px);
  aspect-ratio: 1 / 1;
  height: auto;
  margin-inline: auto;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.team-card .team-card-logo {
  width: min(100%, 180px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  padding: var(--space-4);
}

.team-card h3 {
  margin: var(--space-6) 0 2px;
  font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.55rem);
  line-height: 1.2;
}

.team-card .muted {
  margin: 0;
  color: #3e9854;
  font-size: clamp(0.95rem, 0.9rem + 0.35vw, 1.15rem);
  font-weight: 600;
}

.name-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2);
}

.name-list li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.name-list-2col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--space-6);
  row-gap: var(--space-1);
}

.name-list-2col li {
  border-bottom: 0;
  padding: var(--space-1) 0;
  line-height: 1.35;
}

.story-section {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #eef7ed 100%);
}

.story-layout {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}

.story-content {
  max-width: 62ch;
}

.story-content h2 {
  margin: 0 0 var(--space-5);
  font-size: clamp(2rem, 1.5rem + 1.4vw, 2.9rem);
  line-height: 1.12;
}

.story-content p {
  margin: 0 0 var(--space-5);
}

.story-quote {
  margin: var(--space-6) 0 0;
  padding: var(--space-4) var(--space-5);
  background: #e8e8e8;
  border-left: 4px solid #2da561;
  border-radius: var(--radius-control);
}

.story-quote p {
  margin: 0;
  color: #4f4f4f;
  font-style: italic;
}

.story-media {
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  background: #a8e5be;
}

.story-media picture,
.story-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.story-media img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 12px;
}

.event-media {
  position: relative;
}

.event-card picture {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f3f3f2;
}

.event-card picture img,
.event-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

/* Home page events: stacked cards with landscape thumbnails */
body.home-page #upcoming-preview.event-grid {
  row-gap: var(--space-12);
}

body.home-page #upcoming-preview .event-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
  height: 100%;
  margin-inline: auto;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

body.home-page #upcoming-preview .event-card picture,
body.home-page #upcoming-preview .event-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

body.home-page #upcoming-preview .event-card picture img {
  aspect-ratio: 16 / 9;
}

body.home-page #upcoming-preview .event-card:hover,
body.home-page #upcoming-preview .event-card:focus-within {
  transform: none;
  border-color: #4f6ea8;
  box-shadow: 0 0 0 2px rgba(79, 110, 168, 0.55), 0 18px 40px rgba(0, 0, 0, 0.34);
}

body.home-page #upcoming-preview .event-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-4);
  gap: var(--space-2);
}

body.home-page #upcoming-preview .event-body h3 {
  font-size: clamp(1.14rem, 1.02rem + 0.4vw, 1.38rem);
  line-height: 1.25;
}

body.home-page #upcoming-preview .event-meta {
  gap: 2px;
  font-size: 0.88rem;
}

body.home-page #upcoming-preview .event-meta-row {
  grid-template-columns: 62px minmax(0, 1fr);
}

body.home-page #upcoming-preview .event-body p {
  margin: 0;
  font-size: 0.96rem;
}

body.home-page #upcoming-preview .card-actions {
  margin-top: auto;
  width: 100%;
}

body.home-page #upcoming-preview .btn-rsvp {
  min-width: 0;
  width: 100%;
}

.event-body {
  padding: var(--space-5);
  display: grid;
  gap: var(--space-3);
}

.event-body h3 {
  margin: 0;
  font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
}

.event-meta {
  display: grid;
  gap: var(--space-1);
  font-size: 0.95em;
  color: var(--text-muted);
}

.event-meta-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  column-gap: var(--space-2);
  align-items: start;
}

.event-meta-label {
  font-weight: 700;
  color: var(--text-muted);
}

.event-meta-row-city .event-meta-label {
  visibility: hidden;
}

.event-map-link {
  color: var(--brand);
  font-weight: 600;
}

.event-ribbon {
  position: absolute;
  top: 34px;
  right: -66px;
  width: 230px;
  text-align: center;
  padding: 8px 0;
  border: 1px solid transparent;
  transform: rotate(35deg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  z-index: 2;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-ribbon-postponed {
  background: #f2b632;
  border-color: #ca9522;
  color: #1a1a1a;
}

.event-ribbon-cancelled {
  background: #c53a2f;
  border-color: #952920;
  color: #ffffff;
}

.event-card.status-postponed .event-media img,
.event-card.status-cancelled .event-media img {
  filter: grayscale(100%);
}

.event-card.featured {
  border-color: #c9b076;
}

body.events-page #events-upcoming.event-grid {
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

body.events-page #events-upcoming .event-card {
  display: flex;
  align-items: stretch;
}

body.events-page #events-upcoming .event-media {
  flex: 0 0 33.333%;
  width: 33.333%;
  overflow: hidden;
}

body.events-page #events-upcoming .event-card picture,
body.events-page #events-upcoming .event-card picture img,
body.events-page #events-upcoming .event-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: top;
}

body.events-page #events-upcoming .event-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

body.events-page #events-upcoming .card-actions {
  margin-top: auto;
}

/* Events page: compact tuning for laptop-sized screens (e.g., 14-inch) */
@media (min-width: 62em) and (max-width: 96em) {
  body.events-page #events-upcoming .event-card picture,
  body.events-page #events-upcoming .event-card picture img,
  body.events-page #events-upcoming .event-card img {
    min-height: 220px;
  }

  body.events-page #events-upcoming .event-body {
    padding: var(--space-4);
    gap: var(--space-2);
  }

  body.events-page #events-upcoming .event-body h3 {
    font-size: clamp(1.5rem, 1.35rem + 0.55vw, 1.85rem);
  }

  body.events-page #events-upcoming .event-body p {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.5;
  }

  body.events-page #events-upcoming .event-meta {
    font-size: 0.9rem;
  }

  body.events-page #events-upcoming .event-meta-row {
    grid-template-columns: 66px minmax(0, 1fr);
  }
}

/* Sitewide compact tuning for laptop-sized screens (e.g., 14-inch) */
@media (min-width: 62em) and (max-width: 96em) {
  section {
    padding-block: var(--space-8);
  }

  .hero {
    padding-block: var(--space-12);
  }

  .page-hero {
    padding-block: var(--space-6);
  }

  .section-head {
    margin-bottom: var(--space-4);
  }

  .stat-card,
  .program-card,
  .quote-card,
  .contact-card,
  .team-card,
  .partner-card,
  .ways-card,
  .donate-panel,
  .auth-card,
  .panel {
    padding: var(--space-5);
  }

  .event-body {
    padding: var(--space-4);
    gap: var(--space-2);
  }

  .event-body h3 {
    font-size: clamp(1.4rem, 1.26rem + 0.6vw, 1.75rem);
  }

  .site-footer {
    margin-top: var(--space-10);
  }

  body.home-page .site-footer {
    margin-top: 0;
  }

  .footer-grid {
    padding-block: var(--space-10);
    gap: var(--space-5);
  }
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.empty-state {
  border-radius: var(--radius-card);
  border: 1px dashed var(--border);
  padding: var(--space-6);
  background: #fbfbfb;
}

.quote-card {
  border-left: 6px solid var(--brand);
}

.quote-card blockquote {
  margin: 0;
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  line-height: 1.4;
}

.quote-card cite {
  display: block;
  margin-top: var(--space-3);
  font-style: normal;
  color: var(--text-muted);
}

.newsletter-cta {
  padding-block: clamp(1.5rem, 1.3rem + 1vw, 2.55rem);
  background: linear-gradient(180deg, #dce6f7 0%, #d3def1 100%);
  border-top: 1px solid #becbe2;
  border-bottom: 1px solid #becbe2;
}

.newsletter-cta-inner {
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
  display: grid;
  gap: var(--space-2);
}

.newsletter-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b4b4b;
}

.newsletter-cta h2 {
  margin: 0;
  font-size: clamp(1.5rem, 1.28rem + 1.05vw, 2.2rem);
  line-height: 1.12;
}

.newsletter-lead {
  margin: 0 auto;
  max-width: 40ch;
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.2rem);
  color: #4b4b4b;
}

.newsletter-cta-form {
  justify-items: center;
}

.newsletter-form-row {
  width: min(100%, 900px);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  justify-content: center;
  margin-inline: auto;
}

.newsletter-form-row input {
  min-height: 44px;
  width: 100%;
  max-width: none;
  justify-self: stretch;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  border-radius: 8px;
  border-color: #b6b0a8;
  padding-inline: var(--space-3);
}

.newsletter-submit {
  min-height: 44px;
  min-width: 160px;
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  border-radius: 8px;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
}

.newsletter-submit:hover,
.newsletter-submit:focus-visible {
  background: var(--brand-700);
  color: #fff;
}

.newsletter-note {
  margin: 0;
  color: #505050;
}

.newsletter-form,
.contact-form,
.filters,
.admin-form {
  display: grid;
  gap: var(--space-3);
}

.admin-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-block: var(--space-4);
}

.admin-form-details {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  background: #fff;
}

.admin-form-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand);
}

.admin-form-details[open] summary {
  margin-bottom: var(--space-3);
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.inline-form input {
  flex: 1 1 240px;
}

label {
  font-weight: 600;
  margin-bottom: var(--space-1);
  display: inline-block;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #aeb7b1;
  border-radius: var(--radius-control);
  padding: var(--space-2) var(--space-3);
  background: #fff;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

small,
.muted {
  color: var(--text-muted);
}

.page-hero {
  padding-block: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  background: linear-gradient(180deg, #edf1ee, rgba(237, 241, 238, 0));
}

.page-hero .container {
  text-align: center;
}

.page-hero p {
  margin: var(--space-2) auto 0;
  max-width: 92ch;
}

.page-hero.page-hero-solid {
  background: #1c3969;
  color: #fff;
}

.page-hero.page-hero-solid p {
  color: #f3f3f2;
}

/* ── Shared gradient page hero ─────────────────────────── */
.prog-hero {
  background: linear-gradient(135deg, #1C3969 0%, #1a4a8a 50%, #1e5799 100%);
  padding: 72px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.prog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(94,168,83,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.prog-hero .container {
  position: relative;
}

.prog-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a8d5a2;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.prog-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 1.3rem + 2.1vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
}

.prog-hero p {
  color: rgba(255,255,255,0.75);
  margin: 0 auto;
  line-height: 1.7;
}

.filters {
  grid-template-columns: 1fr;
  margin-bottom: var(--space-6);
}

details.past-archive {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  overflow: hidden;
}

details.past-archive summary {
  cursor: pointer;
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  background: #f6f7f6;
}

details.past-archive[open] summary {
  border-bottom: 1px solid var(--border);
}

.past-list {
  padding: var(--space-4) 0;
  display: grid;
  gap: 0;
}

.past-item {
  display: grid;
  gap: var(--space-1);
}

.past-simple-list {
  list-style: disc;
  margin: 0;
  padding: 0 0 0 var(--space-5);
  display: grid;
  gap: 0;
}

.past-simple-list li {
  padding: 0;
  border: 0;
}

.contact-layout,
.donate-layout {
  display: grid;
  gap: var(--space-6);
}

.contact-item {
  margin: 0 0 var(--space-3);
}

.map-placeholder {
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.amount-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.amount-option {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-control);
  padding: 0 var(--space-3);
  font-weight: 600;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 180ms ease,
    transform 160ms ease;
}

.amount-option:hover,
.amount-option:focus-visible {
  border-color: #9eaed3;
  background: #f2f5fb;
  box-shadow: 0 8px 16px rgba(13, 26, 49, 0.12);
  transform: translateY(-1px);
}

.amount-option[aria-pressed="true"] {
  border-color: var(--brand);
  background: #dcebe1;
}

.amount-impact {
  margin-top: var(--space-2);
  font-weight: 600;
  color: var(--brand);
}

.ways-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: #fff;
  padding: var(--space-5);
}

.site-footer {
  margin-top: 0;
  background: var(--brand);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8) var(--space-6);
  padding-block: var(--space-12);
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  padding-right: var(--space-4);
}

.footer-logo {
  width: 200px;
  height: auto;
  display: block;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 1;
  margin-top: 0;
  margin-bottom: var(--space-3);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-nav,
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.footer-nav a {
  font-size: 0.8rem;
  line-height: 1.4;
}

.social-list {
  display: flex;
  gap: var(--space-3);
}

.social-list a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-control);
}

.social-list svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-block: var(--space-4);
  font-size: 0.95em;
  text-align: center;
}

.footer-bottom small {
  color: #fff;
}

.admin-shell {
  padding-block: var(--space-10);
}

.auth-card {
  max-width: 680px;
}

.auth-code {
  border: 1px dashed var(--border);
  background: #f8f8f7;
  padding: var(--space-4);
  border-radius: var(--radius-control);
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: var(--space-1) var(--space-3) var(--space-1) var(--space-1);
}

.user-chip img {
  width: 32px;
  height: 32px;
  border-radius: 999px;
}

.admin-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.feedback {
  border-radius: var(--radius-control);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-4);
  border: 1px solid transparent;
}

.feedback.success {
  background: #e3f3df;
  border-color: #abc9a6;
}

.feedback.error {
  background: #fde9e8;
  border-color: #ecb8b4;
}

.table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: var(--space-3);
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  background: #f6f7f6;
  font-size: 0.95em;
}

.action-group {
  display: flex;
  gap: var(--space-2);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-panel {
  width: min(100%, 760px);
  max-height: 92vh;
  overflow: auto;
  border-radius: var(--radius-card);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  padding: var(--space-6);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.grid-2 {
  display: grid;
  gap: var(--space-3);
}

.toggles {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.error-text {
  color: var(--danger);
  margin: 0;
  font-size: 0.94em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.hidden {
  display: none !important;
}

@media (min-width: 48em) {
  body.home-page .hero-visual {
    display: block;
  }

  body.home-page .hero-copy {
    padding-left: max(var(--space-6), calc((100vw - var(--max-width)) / 2 + var(--space-6)));
    padding-right: var(--space-6);
    margin-inline: 0;
  }

  body.home-page .hero h1 {
    max-width: 16.4ch;
  }

  body.home-page .hero p {
    max-width: min(45ch, 100%);
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    background: transparent;
    border: 0;
    transform: none;
  }

  .site-nav ul {
    grid-auto-flow: column;
    grid-template-columns: repeat(6, auto);
    align-items: center;
    padding: 0;
    gap: var(--space-1);
  }

  .site-nav a {
    padding-inline: var(--space-3);
  }

  .site-nav .nav-item-has-submenu {
    position: relative;
    display: block;
  }

  .site-nav .nav-item-has-submenu > .nav-submenu {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    min-width: 260px;
    display: none;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    padding: var(--space-2);
    gap: 2px;
    border: 1px solid var(--border);
    border-radius: var(--radius-control);
    background: #fff;
    box-shadow: var(--shadow-sm);
    z-index: 800;
  }

  .site-nav .nav-item-has-submenu:hover > .nav-submenu,
  .site-nav .nav-item-has-submenu:focus-within > .nav-submenu {
    display: grid;
  }

  .site-nav .nav-item-has-submenu:hover > .nav-link-with-submenu .nav-caret,
  .site-nav .nav-item-has-submenu:focus-within > .nav-link-with-submenu .nav-caret {
    transform: rotate(180deg);
  }

  .site-nav .nav-submenu a {
    white-space: nowrap;
    color: var(--text);
    font-size: 0.94em;
    padding: var(--space-2) var(--space-3);
  }

  .site-nav a.nav-donate {
    margin-left: var(--space-2);
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .impact-strip {
    grid-template-columns: repeat(4, minmax(200px, 280px));
  }

  body.home-page .impact-strip-section .impact-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .impact-strip-3 {
    grid-template-columns: repeat(3, minmax(210px, 300px));
  }

  .impact-strip-item:nth-child(2n) {
    border-right: 1px solid #c4c4c4;
  }

  .impact-strip-item:nth-child(4n) {
    border-right: 0;
  }

  body.home-page .impact-strip-section .impact-strip-item:nth-child(2n)::after {
    content: "";
  }

  body.home-page .impact-strip-section .impact-strip-item:nth-child(4n)::after {
    content: none;
  }

  .impact-strip-3 .impact-strip-item:nth-child(2n) {
    border-right: 1px solid #c4c4c4;
  }

  .impact-strip-3 .impact-strip-item:nth-child(3n) {
    border-right: 0;
  }

  .impact-glance-section .impact-strip-item:nth-child(2n),
  .impact-glance-section .impact-strip-3 .impact-strip-item:nth-child(2n),
  .impact-glance-section .impact-strip-3 .impact-strip-item:nth-child(3n) {
    border-right: 0;
  }

  .program-grid,
  .event-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-page .program-grid {
    justify-items: center;
  }

  body.home-page .program-card {
    width: 100%;
    max-width: 265px;
  }

  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-layout,
  .donate-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .filters {
    grid-template-columns: 220px 1fr;
    align-items: end;
  }

  .footer-grid {
    grid-template-columns: auto minmax(0, 140px) minmax(0, 140px) 1fr auto;
    gap: var(--space-8) 50px;
  }

  .footer-connect {
    grid-column: 5;
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .newsletter-form-row {
    grid-template-columns: minmax(0, 50%) auto;
  }

  body.events-page #events-upcoming.event-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 64em) {
  .logo span {
    display: inline;
  }

  .newsletter-lead {
    max-width: none;
    white-space: nowrap;
  }
}

@media (min-width: 64em) {
  .program-grid,
  .event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.home-page .program-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .amount-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.events-page #events-upcoming.event-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PROGRAMS PAGE
   ═══════════════════════════════════════════════════════════════ */

/* ── MISSION STATEMENT ──────────────────────────────── */
.mission-band {
  background: #f8f8f7;
  border-bottom: 1px solid #e5e5e3;
  padding: 48px 24px;
  text-align: center;
}
.mission-band h2 {
  font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem);
  font-weight: 700;
  color: #1C3969;
  margin: 0 0 12px;
}
.mission-band p {
  color: #36413d;
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── PROGRAMS GRID ──────────────────────────────────── */
.programs-section {
  padding: 72px 24px 80px;
  background: #fff;
}
.programs-section .section-head {
  text-align: center;
  margin-bottom: 48px;
}
.programs-section .section-head h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
  font-weight: 700;
  color: #1C3969;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.programs-section .section-head p {
  color: #36413d;
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}
.program-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.prog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.prog-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.05);
  transform: translateY(-4px);
}
.prog-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.prog-card:hover .prog-card-img { transform: scale(1.04); }
.prog-card-img-wrap { overflow: hidden; flex-shrink: 0; }
.prog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.prog-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1C3969;
  margin: 0 0 10px;
  line-height: 1.3;
}
.prog-card-body > p {
  color: #36413d;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
}
.prog-card-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}
.prog-card-meta-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.8rem;
}
.prog-card-meta-label {
  color: #717182;
  flex-shrink: 0;
}
.prog-card-meta-value {
  color: #1A1A1A;
  font-weight: 600;
}
.prog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1C3969;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: gap 0.2s, color 0.2s;
}
.prog-card-link:hover { color: #5ea853; gap: 10px; }
.prog-card-link svg { transition: transform 0.2s; }
.prog-card-link:hover svg { transform: translateX(2px); }

/* ── IMPACT STATS ───────────────────────────────────── */
.impact-hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.86)),
    url("../images/events/mada-community-gathering.jpg") center / cover;
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}

.impact-hero-grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.impact-kicker,
.section-eyebrow,
.impact-card-label {
  margin: 0 0 var(--space-3);
  color: #b18c2f;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.impact-hero h1 {
  max-width: 14ch;
  margin: 0;
  color: #102c58;
  font-size: clamp(2.5rem, 1.6rem + 4vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.impact-hero p:not(.impact-kicker):not(.impact-card-label) {
  max-width: 58ch;
  color: #102743;
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.22rem);
  line-height: 1.5;
}

.impact-hero-card {
  background: #102c58;
  color: #ffffff;
  border-radius: 8px;
  padding: var(--space-6);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 16px 36px rgba(16, 44, 88, 0.22);
}

.impact-hero-card strong {
  display: block;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.15;
  margin-bottom: var(--space-2);
}

.impact-hero-card span {
  color: rgba(255,255,255,0.82);
}

.impact-stats-band {
  background: #102c58;
  padding: 56px 24px;
}
.impact-stats-band h2 {
  text-align: center;
  color: #fff;
  font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem);
  font-weight: 700;
  margin: 0 0 40px;
}
.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.impact-stat-item {
  text-align: center;
  padding: 0 24px;
  position: relative;
}
.impact-stat-item + .impact-stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; height: 80%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}
.impact-stat-value {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 700;
  color: #d5af4c;
  line-height: 1;
  margin-bottom: 8px;
}
.impact-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── HOW PROGRAMS CREATE IMPACT ─────────────────────── */
.impact-section {
  padding: 72px 24px;
  background: #f8f8f7;
}

.impact-section:nth-of-type(even) {
  background: #ffffff;
}

.impact-split {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}

.impact-copy {
  font-size: 1.05rem;
  color: #283432;
}

.impact-copy p {
  margin-top: 0;
}

.impact-feature {
  padding: 72px 24px;
  background: #ffffff;
}

.impact-feature-card {
  display: grid;
  gap: var(--space-8);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: #102c58;
  color: #ffffff;
  border-radius: 8px;
}

.impact-feature-card h2 {
  max-width: 16ch;
  margin: 0 0 var(--space-4);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.8rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.impact-feature-card p:not(.section-eyebrow) {
  max-width: 62ch;
  color: rgba(255,255,255,0.84);
}

.festival-proof-grid {
  display: grid;
  gap: var(--space-3);
}

.festival-proof-grid article {
  padding: var(--space-5);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  text-align: center;
}

.festival-proof-grid strong {
  display: block;
  color: #d5af4c;
  font-size: clamp(2.1rem, 1.5rem + 2vw, 3rem);
  line-height: 1;
}

.festival-proof-grid span {
  display: block;
  margin-top: var(--space-2);
  color: #ffffff;
  font-weight: 700;
}

.impact-proof-list,
.impact-outcome-grid,
.impact-program-grid {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.impact-proof-list article,
.impact-outcome-card,
.impact-program-grid article {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.impact-proof-list h3,
.impact-outcome-card h3,
.impact-program-grid h3 {
  margin: 0 0 var(--space-2);
  color: #102c58;
}

.impact-proof-list p,
.impact-outcome-card p,
.impact-program-grid p {
  margin: 0;
  color: var(--text-muted);
}

.impact-outcome-card strong {
  display: block;
  color: #b18c2f;
  font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.impact-validation {
  padding: 72px 24px;
  background: #eef2f7;
}

.validation-list {
  display: grid;
  gap: var(--space-4);
}

.validation-list p {
  margin: 0;
  padding: var(--space-5);
  background: #ffffff;
  border-left: 4px solid #d5af4c;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.impact-campaign {
  padding: 72px 24px 84px;
  background: #ffffff;
}

.impact-campaign-card {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: #102c58;
  color: #ffffff;
  border-radius: 8px;
}

.impact-campaign-card h2 {
  max-width: 18ch;
  margin: 0 0 var(--space-3);
  color: #ffffff;
  font-size: clamp(2rem, 1.35rem + 2.4vw, 3.5rem);
  line-height: 1.04;
}

.impact-campaign-card p:not(.section-eyebrow) {
  max-width: 64ch;
  color: rgba(255,255,255,0.84);
}

.campaign-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.impact-page .btn-primary {
  background: #d5af4c;
  border-color: #c49e37;
  color: #102743;
}

.impact-page .btn-secondary {
  background: #ffffff;
  border-color: #ffffff;
  color: #102c58;
}

.impact-page .impact-hero .btn-secondary {
  border-color: #102c58;
}

.impact-page .btn-primary:hover,
.impact-page .btn-primary:focus-visible,
.impact-page .btn-secondary:hover,
.impact-page .btn-secondary:focus-visible {
  background: #0f2447;
  border-color: #0f2447;
  color: #ffffff;
}
.impact-section .section-head {
  text-align: center;
  margin-bottom: 44px;
}
.impact-section .section-head h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem);
  font-weight: 700;
  color: #1C3969;
  margin: 0 0 10px;
}
.impact-section .section-head p {
  color: #36413d;
  max-width: 500px;
  margin: 0 auto;
  font-size: 1rem;
}
.impact-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.impact-panel {
  background: #fff;
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 3px solid #1C3969;
  transition: box-shadow 0.25s, transform 0.25s;
}
.impact-panel:nth-child(2) { border-top-color: #5ea853; }
.impact-panel:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); transform: translateY(-2px); }
.impact-panel-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: #e8f0fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.impact-panel:nth-child(2) .impact-panel-icon { background: #eef7ed; }
.impact-panel h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1C3969;
  margin: 0 0 12px;
}
.impact-panel p {
  color: #36413d;
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0 0 20px;
}
.impact-panel-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: #e8f0fb;
  color: #1C3969;
}
.impact-panel:nth-child(2) .impact-panel-tag { background: #eef7ed; color: #3a7a34; }

/* ── GET INVOLVED CTA ───────────────────────────────── */
.get-involved-section {
  padding: 72px 24px 80px;
  background: #fff;
}
.get-involved-section .section-head {
  text-align: center;
  margin-bottom: 44px;
}
.get-involved-section .section-head h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem);
  font-weight: 700;
  color: #1C3969;
  margin: 0 0 10px;
}
.get-involved-section .section-head p {
  color: #36413d;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}
.get-involved-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 44px;
}
.gi-card {
  text-align: center;
  padding: 36px 24px 28px;
  border: 1.5px solid #e5e5e3;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.gi-card:hover {
  border-color: #1C3969;
  box-shadow: 0 6px 24px rgba(28,57,105,0.1);
  transform: translateY(-2px);
}
.gi-card-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #e8f0fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.gi-card:nth-child(2) .gi-card-icon { background: #fef3e2; }
.gi-card:nth-child(3) .gi-card-icon { background: #eef7ed; }
.gi-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1C3969;
  margin: 0 0 6px;
}
.gi-card p {
  font-size: 0.85rem;
  color: #717182;
  margin: 0 0 20px;
  line-height: 1.6;
}
.gi-card a {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1C3969;
  text-decoration: none;
  border-bottom: 1.5px solid #1C3969;
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.gi-card a:hover { color: #5ea853; border-color: #5ea853; }
.gi-cta-row {
  text-align: center;
}
.gi-cta-row .btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  cursor: pointer;
}
.gi-cta-row .btn-primary {
  background: #1C3969;
  color: #fff;
  border: none;
  margin-right: 12px;
}
.gi-cta-row .btn-primary:hover { background: #162c52; transform: translateY(-1px); }
.gi-cta-row .btn-secondary {
  background: transparent;
  color: #1C3969;
  border: 1.5px solid #1C3969;
}
.gi-cta-row .btn-secondary:hover { background: #e8f0fb; transform: translateY(-1px); }

@media (max-width: 900px) {
  .program-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .impact-stat-item + .impact-stat-item::before { display: none; }
  .get-involved-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .program-cards-grid { grid-template-columns: 1fr; }
  .impact-cols { grid-template-columns: 1fr; }
  .impact-stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .get-involved-cards { grid-template-columns: 1fr; }
  .gi-cta-row .btn-primary { margin-right: 0; margin-bottom: 10px; }
  .gi-cta-row { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .impact-hero h1 { font-size: clamp(2.2rem, 1.65rem + 3vw, 3rem); }
  .impact-hero-grid,
  .impact-split,
  .impact-feature-card,
  .impact-campaign-card {
    width: 100%;
    max-width: 100%;
  }
  .impact-hero p:not(.impact-kicker):not(.impact-card-label),
  .impact-copy,
  .validation-list,
  .impact-campaign-card p:not(.section-eyebrow) {
    max-width: min(32ch, 100%);
    overflow-wrap: anywhere;
  }
  .impact-stat-label,
  .impact-hero-card span {
    display: block;
    max-width: 24ch;
    margin-inline: auto;
  }
  .impact-hero-card span {
    margin-inline: 0;
  }
  .impact-page .hero-actions,
  .campaign-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .impact-page .hero-actions .btn,
  .campaign-actions .btn {
    width: 100%;
    min-width: 0;
    padding-inline: var(--space-4);
  }
  .impact-hero-card {
    max-width: 100%;
  }
}

@media (min-width: 48em) {
  .impact-hero-grid,
  .impact-split,
  .impact-feature-card,
  .impact-campaign-card {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  }

  .festival-proof-grid {
    grid-template-columns: 1fr;
  }

  .impact-proof-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .impact-outcome-grid,
  .impact-program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64em) {
  .impact-program-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */

/* ── CONTACT LAYOUT ─────────────────────────────────── */
.contact-section {
  background: linear-gradient(135deg, #f0f9ef 0%, #ffffff 50%, #f4faf3 100%);
  padding: 64px 24px 80px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

/* ── FORM CARD ──────────────────────────────────────── */
.contact-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
  padding: 48px 44px;
}
.contact-form-card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1C3969;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.contact-form-card > p {
  color: #717182;
  font-size: 0.95rem;
  margin: 0 0 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-row .form-field {
  margin-bottom: 0;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1A1A1A;
}
.form-field input,
.form-field textarea,
.form-field select {
  font-family: inherit;
  font-size: 0.95rem;
  color: #1A1A1A;
  background: #fff;
  border: 1.5px solid #e0e0de;
  border-radius: 8px;
  padding: 12px 16px;
  height: 48px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.form-field textarea {
  height: 160px;
  resize: none;
  line-height: 1.6;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: #1C3969;
  box-shadow: 0 0 0 3px rgba(28,57,105,0.1);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #b0b0ae;
}
.btn-submit {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #5EA853, #3a7a34);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 8px;
}
.btn-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-submit svg { flex-shrink: 0; }

/* success state */
.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
}
.form-success.visible { display: block; }
.contact-form.hidden { display: none; }
.success-icon {
  width: 64px; height: 64px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.form-success h3 { font-size: 1.4rem; font-weight: 700; color: #166534; margin: 0 0 8px; }
.form-success p { color: #15803d; margin: 0; }

/* ── SIDEBAR ────────────────────────────────────────── */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* location card */
.sidebar-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.05);
  overflow: hidden;
}
.sidebar-card-img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  display: block;
}
.sidebar-card-body {
  padding: 24px;
}
.sidebar-icon-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sidebar-icon {
  width: 40px; height: 40px;
  background: #eef7ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #5EA853;
}
.sidebar-icon svg { display: block; }
.sidebar-icon-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1C3969;
  margin: 0 0 4px;
}
.sidebar-icon-text p {
  font-size: 0.85rem;
  color: #717182;
  margin: 0;
  line-height: 1.6;
}

/* get involved card */
.sidebar-cta-card {
  background: linear-gradient(135deg, #5EA853, #3a7a34);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(94,168,83,0.35);
  padding: 32px 24px;
  text-align: center;
  color: #fff;
}
.sidebar-cta-card .cta-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-cta-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.sidebar-cta-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 20px;
  line-height: 1.6;
}
.btn-cta-outline {
  display: inline-block;
  padding: 10px 28px;
  background: #fff;
  border: none;
  border-radius: 6px;
  color: #3a7a34;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-cta-outline:hover { background: #eef7ed; transform: translateY(-1px); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── DARK CARD (About: Why Our Work Is Important) ── */
.dark-card {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 48px 56px;
}
.dark-card h2 {
  font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem);
  font-weight: 700;
  color: #5EA853;
  text-align: center;
  margin: 0 0 32px;
}
.dark-card p {
  color: #d4d4d4;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0 0 20px;
}
.dark-card p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .dark-card { padding: 32px 24px; }
}

/* ── MISSION BANNER (About page, above Mission Statement) ── */
.mission-banner {
  background: #fff;
  padding: 72px 24px 64px;
  text-align: center;
}
.mission-banner-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5EA853;
  margin: 0 0 20px;
}
.mission-banner-heading {
  font-size: clamp(1.8rem, 1.2rem + 2.5vw, 3rem);
  font-weight: 800;
  color: #1A1A1A;
  line-height: 1.15;
  margin: 0 auto 24px;
  max-width: 1000px;
  letter-spacing: -0.02em;
}
.mission-banner-sub {
  font-size: 1rem;
  color: #555;
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── WIDE SECTION HEAD (e.g. Partners & Sponsors subtext) ── */
.section-head-wide {
  max-width: 100%;
  margin-bottom: 48px;
}

/* ── ABOUT PAGE SECTION BACKGROUNDS ── */
.about-plain-section {
  background: #fff;
}
.about-dark-section {
  background: #f8f8f7;
}

/* Mission Statement panel — branded left accent */
.about-plain-section .panel {
  border-left: 4px solid #1C3969;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-radius: 0 12px 12px 0;
}

/* ── FOOTER SOCIAL BUTTONS ── */
.social-list {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50% !important;
  border: none !important;
  color: #fff;
  transition: opacity 0.2s, transform 0.15s;
}
.social-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.social-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.social-btn--facebook { background: transparent; }
.social-btn--linkedin { background: transparent; }
.social-btn--instagram { background: transparent; }

/* ── FOOTER SUBSCRIBE BUTTON ── */
.btn-subscribe {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: #5EA853;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  box-sizing: border-box;
}
.btn-subscribe:hover { background: #3a7a34; transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════════════
   DONATE PAGE
   ═══════════════════════════════════════════════════════════════ */

/* Hero icon */
.donate-hero-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}

/* ── YOUR IMPACT ── */
.donate-impact-section {
  background: linear-gradient(135deg, #fafffe 0%, #f0fdf4 100%);
  padding: 48px 24px;
}
.donate-section-title {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
  font-weight: 700;
  color: #1A1A1A;
  text-align: center;
  margin: 0 0 28px;
}
.donate-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.donate-impact-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s, transform 0.25s;
  text-align: center;
}
.donate-impact-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}
.donate-impact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffedd5, #ffe4e6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #ea580c;
}
.donate-impact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 8px;
}
.donate-impact-card p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.65;
  margin: 0;
  text-align: left;
}

/* ── MAIN FORM + SIDEBAR ── */
.donate-main-section {
  background: #f8f8f7;
  padding: 40px 24px 48px;
}
.donate-main-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* Form card */
.donate-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}
.donate-form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1A1A1A;
  text-align: center;
  margin: 0 0 20px;
}

/* Toggle */
.donate-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.donate-toggle {
  display: inline-flex;
  background: #f3f3f2;
  border-radius: 8px;
  padding: 4px;
}
.donate-toggle-btn {
  padding: 8px 28px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #717182;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.donate-toggle-btn.active {
  background: #fff;
  color: #ea580c;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}

/* Amount buttons */
.donate-field-group {
  margin-bottom: 18px;
}
.donate-field-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 10px;
}
.donate-field-optional {
  font-weight: 400;
  color: #717182;
}
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.donate-amount-btn {
  position: relative;
  padding: 10px 8px;
  border: 2px solid #e0e0de;
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1A1A1A;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.donate-amount-btn:hover {
  border-color: #f97316;
}
.donate-amount-btn.active {
  border-color: #f97316;
  background: #fff7ed;
  color: #c2410c;
}

/* Custom amount */
.donate-custom-wrap {
  position: relative;
}
.donate-currency {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #717182;
  pointer-events: none;
}
.donate-custom-input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 32px;
  border: 1.5px solid #e0e0de;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: #1A1A1A;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.donate-custom-input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}

/* Donor info */
.donate-info-group {
  padding-top: 16px;
  border-top: 1px solid #e5e5e3;
}
.donate-info-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 20px;
}
.donate-field {
  margin-bottom: 16px;
}
.donate-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid #e0e0de;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1A1A1A;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.donate-input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.donate-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e0de;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1A1A1A;
  outline: none;
  box-sizing: border-box;
  resize: none;
  line-height: 1.6;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.donate-textarea:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}

/* Submit */
.donate-submit-btn {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, #f97316, #e11d48);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 8px;
}
.donate-submit-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.donate-secure-note {
  text-align: center;
  font-size: 0.8rem;
  color: #717182;
  margin: 16px 0 0;
}

/* ── SIDEBAR ── */
.donate-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Community card */
.donate-community-card {
  background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
  border-radius: 16px;
  padding: 24px 24px;
  text-align: center;
}
.donate-community-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
}
.donate-community-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 16px;
  line-height: 1.3;
}
.donate-community-card p {
  font-size: 0.92rem;
  color: #36413d;
  line-height: 1.75;
  margin: 0 0 12px;
}
.donate-community-card p:last-child { margin-bottom: 0; }

/* Why donate */
.donate-why-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.donate-why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 20px;
  text-align: center;
}
.donate-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.donate-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.donate-check-icon {
  width: 28px;
  height: 28px;
  background: #ffedd5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: #ea580c;
}
.donate-why-list strong {
  display: block;
  font-size: 0.92rem;
  color: #1A1A1A;
  margin-bottom: 2px;
}
.donate-why-list p {
  font-size: 0.85rem;
  color: #717182;
  margin: 0;
  line-height: 1.55;
}

/* Quote card */
.donate-quote-card {
  background: linear-gradient(135deg, #fff7ed 0%, #fff1f2 100%);
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
}
.donate-quote-mark {
  display: block;
  font-size: 3rem;
  line-height: 1;
  color: #f97316;
  font-family: Georgia, serif;
}
.donate-quote-mark--close {
  transform: rotate(180deg);
  display: inline-block;
}
.donate-quote-card p {
  font-size: 0.95rem;
  font-style: italic;
  color: #36413d;
  line-height: 1.75;
  margin: 8px 0;
}

/* ── THANK YOU ── */
.donate-thankyou-section {
  background: #fff;
  padding: 40px 24px;
}
.donate-thankyou-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 36px 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.donate-thankyou-card h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem);
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 16px;
}
.donate-thankyou-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .donate-impact-grid { grid-template-columns: repeat(2, 1fr); }
  .donate-main-grid { grid-template-columns: 1fr; }
  .donate-form-card { padding: 24px 20px; }
}
@media (max-width: 600px) {
  .donate-impact-grid { grid-template-columns: 1fr; }
  .donate-amounts { grid-template-columns: repeat(3, 1fr); }
}

/* ── DONATE PAGE GLOBAL BACKGROUND ── */
body.donate-page {
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 50%, #fff1f2 100%);
  background-attachment: fixed;
}
body.donate-page .donate-impact-section,
body.donate-page .donate-main-section,
body.donate-page .donate-thankyou-section {
  background: transparent;
}
body.donate-page .donate-thankyou-card {
  background: rgba(255,255,255,0.85);
}

/* Impact page fundraising pitch */
.impact-pitch-page {
  background: #f6f3ec;
  overflow-x: hidden;
}

.impact-pitch-page .container {
  width: min(calc(100% - var(--space-6)), 1180px);
}

.pitch-main > section {
  padding: 0;
  background: transparent;
}

.pitch-eyebrow {
  margin: 0 0 var(--space-3);
  color: #b18c2f;
  font-size: clamp(0.88rem, 0.82rem + 0.22vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pitch-hero {
  position: relative;
  min-height: clamp(560px, 68vh, 760px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: #f7f4ed;
}

.pitch-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247,244,237,1) 0%, rgba(247,244,237,0.96) 36%, rgba(247,244,237,0.36) 68%, rgba(16,44,88,0.08) 100%),
    url("../images/events/mada-community-gathering.jpg") center / cover;
  opacity: 0.95;
}

.pitch-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-8);
  align-items: center;
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.pitch-hero-copy {
  max-width: 780px;
}

.pitch-hero h1,
.pitch-case h2,
.pitch-moment h2,
.pitch-scoreboard h2,
.pitch-programs h2,
.pitch-validation h2,
.pitch-ways h2,
.pitch-final h2 {
  margin: 0;
  color: #102c58;
  line-height: 0.98;
  letter-spacing: 0;
}

.pitch-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.55rem, 1.75rem + 3.4vw, 5rem);
  text-transform: uppercase;
}

.pitch-lead {
  max-width: 54ch;
  margin: var(--space-5) 0 0;
  color: #1d2d3f;
  font-size: clamp(1.05rem, 0.98rem + 0.32vw, 1.25rem);
  line-height: 1.48;
}

.pitch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.pitch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 var(--space-6);
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: #102743;
  transition:
    transform 160ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.pitch-btn:hover,
.pitch-btn:focus-visible {
  transform: translateY(-2px);
}

.pitch-btn-gold {
  background: #d5af4c;
  border-color: #c49e37;
  box-shadow: 0 14px 26px rgba(90, 68, 17, 0.18);
}

.pitch-btn-outline {
  background: rgba(255,255,255,0.74);
  border-color: #102c58;
  color: #102c58;
}

.pitch-btn-light {
  background: #ffffff;
  color: #102c58;
}

.pitch-ask-card {
  align-self: center;
  justify-self: end;
  max-width: 430px;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  background: #102c58;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(16, 44, 88, 0.22);
}

.pitch-ask-card span {
  display: block;
  color: #d5af4c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pitch-ask-card strong {
  display: block;
  margin-top: var(--space-3);
  color: #ffffff;
  font-size: clamp(2.75rem, 1.9rem + 3.2vw, 4.7rem);
  line-height: 0.95;
}

.pitch-ask-card p {
  margin: var(--space-4) 0 0;
  color: rgba(255,255,255,0.84);
}

.pitch-proofbar {
  background: #102c58 !important;
  color: #ffffff;
}

.pitch-proofbar-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.pitch-proofbar article {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: var(--space-6) var(--space-4);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.pitch-proofbar strong {
  display: block;
  color: #d5af4c;
  font-size: clamp(2.2rem, 1.6rem + 2.1vw, 3.7rem);
  line-height: 1;
}

.pitch-proofbar span {
  display: block;
  max-width: 18ch;
  margin-top: var(--space-2);
  color: rgba(255,255,255,0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pitch-case,
.pitch-scoreboard,
.pitch-ways {
  padding: clamp(4rem, 6.5vw, 5.75rem) 0;
  background: #f6f3ec !important;
}

.pitch-case-grid,
.pitch-validation-grid {
  display: grid;
  gap: var(--space-8);
}

.pitch-sticky-heading h2,
.pitch-section-head h2,
.pitch-programs h2,
.pitch-validation h2,
.pitch-final h2 {
  font-size: clamp(1.95rem, 1.35rem + 2.2vw, 3.55rem);
}

.pitch-case-copy {
  display: grid;
  gap: var(--space-5);
  color: #233238;
  font-size: clamp(1.05rem, 0.98rem + 0.28vw, 1.2rem);
  line-height: 1.65;
}

.pitch-case-copy > p {
  margin: 0;
}

.pitch-case-intro {
  max-width: 58ch;
}

.pitch-case-highlight {
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: linear-gradient(135deg, #fff7df 0%, #fff2cb 100%);
  border: 1px solid #e4cc89;
  border-left: 6px solid #b18c2f;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(96, 70, 22, 0.12);
}

.pitch-case-highlight h3 {
  margin: 0;
  color: #102c58;
  font-size: clamp(1.15rem, 1.02rem + 0.55vw, 1.45rem);
  line-height: 1.2;
}

.pitch-case-highlight p {
  margin: var(--space-2) 0 0;
  color: #2e3b44;
}

.pitch-barrier-grid,
.pitch-moment-proof,
.pitch-score-grid,
.pitch-way-grid {
  display: grid;
  gap: var(--space-4);
}

.pitch-barrier-grid article,
.pitch-moment-proof article,
.pitch-score-grid article,
.pitch-way-grid article {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f9f8f3 100%);
  border: 1px solid #ddd4c1;
  border-radius: 8px;
  padding: var(--space-6);
  box-shadow: 0 12px 30px rgba(16, 44, 88, 0.1);
}

.pitch-barrier-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 34px;
  padding-inline: 10px;
  border-radius: 999px;
  background: #102c58;
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.pitch-barrier-grid strong {
  display: block;
  margin-top: var(--space-3);
  color: #102c58;
  font-size: clamp(1.12rem, 1.04rem + 0.22vw, 1.25rem);
  line-height: 1.3;
}

.pitch-barrier-grid p,
.pitch-moment-proof p,
.pitch-score-grid p,
.pitch-way-grid p {
  margin: var(--space-2) 0 0;
  color: #43504d;
}

.pitch-moment {
  padding: clamp(4rem, 6.5vw, 5.75rem) 0;
  background: #ffffff !important;
}

.pitch-moment-grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  background: #102c58;
  border-radius: 10px;
  color: #ffffff;
}

.pitch-moment h2 {
  max-width: 18ch;
  color: #ffffff;
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.8rem);
  line-height: 1.04;
}

.pitch-moment p:not(.pitch-eyebrow) {
  max-width: 62ch;
  color: rgba(255,255,255,0.82);
}

.pitch-moment-stats {
  display: grid;
  gap: var(--space-3);
}

.pitch-moment-stats article {
  padding: var(--space-5);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  text-align: center;
}

.pitch-moment-stats strong,
.pitch-score-grid strong {
  display: block;
  color: #d5af4c;
  font-size: clamp(2.1rem, 1.55rem + 1.8vw, 3.35rem);
  line-height: 1;
}

.pitch-moment-stats span {
  display: block;
  margin-top: var(--space-1);
  font-weight: 800;
}

.pitch-moment-proof {
  margin-top: var(--space-5);
}

.pitch-moment-proof h3,
.pitch-score-grid h3,
.pitch-way-grid h3 {
  margin: 0;
  color: #102c58;
}

.pitch-section-head {
  max-width: 780px;
  margin: 0 auto var(--space-8);
  text-align: center;
}

.pitch-programs {
  padding: clamp(4rem, 6.5vw, 5.75rem) 0;
  background: #102c58 !important;
  color: #ffffff;
  overflow: hidden;
}

.pitch-programs .pitch-eyebrow,
.pitch-programs h2 {
  color: #ffffff;
}

.pitch-programs h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.8rem);
  line-height: 1.04;
}

.pitch-program-rail {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.pitch-program-rail article {
  min-height: 190px;
  padding: var(--space-6);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
}

.pitch-program-rail span {
  color: #d5af4c;
  font-weight: 800;
  font-size: 1.1rem;
}

.pitch-program-rail p {
  color: rgba(255,255,255,0.78);
}

.pitch-validation {
  padding: clamp(4rem, 6.5vw, 5.75rem) 0;
  background: #e9eef4 !important;
}

.pitch-validation-stack {
  display: grid;
  gap: var(--space-4);
}

.pitch-validation-stack p {
  margin: 0;
  padding: var(--space-5);
  background: #ffffff;
  border-left: 5px solid #d5af4c;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 44, 88, 0.08);
}

.pitch-ways {
  background: #ffffff !important;
}

.pitch-way-grid article {
  border-top: 5px solid #d5af4c;
}

.pitch-way-grid a {
  display: inline-flex;
  margin-top: var(--space-4);
  color: #102c58;
  font-weight: 800;
  text-decoration-thickness: 2px;
}

.pitch-final {
  padding: clamp(4rem, 6.5vw, 5.75rem) 0;
  background: #f6f3ec !important;
}

.pitch-final-card {
  padding: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(135deg, rgba(16,44,88,0.96), rgba(16,44,88,0.86)),
    url("../images/events/mada-community-gathering.jpg") center / cover;
  border-radius: 10px;
  color: #ffffff;
}

.pitch-final h2 {
  max-width: 18ch;
  color: #ffffff;
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.8rem);
  line-height: 1.04;
}

@media (min-width: 42em) {
  .pitch-proofbar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pitch-proofbar article:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.16);
  }
}

@media (min-width: 56em) {
  .pitch-hero-grid,
  .pitch-moment-grid,
  .pitch-validation-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  }

  .pitch-case-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  }

  .pitch-sticky-heading {
    position: sticky;
    top: calc(var(--header-height) + var(--space-8));
  }

  .pitch-barrier-grid,
  .pitch-moment-proof,
  .pitch-score-grid,
  .pitch-way-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pitch-program-rail {
    grid-template-columns: repeat(5, minmax(220px, 1fr));
  }
}

@media (min-width: 72em) {
  .pitch-proofbar-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pitch-proofbar article {
    border-bottom: 0;
    border-right: 1px solid rgba(255,255,255,0.16);
  }

  .pitch-proofbar article:last-child {
    border-right: 0;
  }

  .pitch-score-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pitch-case .pitch-barrier-grid {
  grid-template-columns: 1fr;
}

.pitch-moment-proof p {
  color: #43504d !important;
}

@media (max-width: 42em) {
  html,
  body.impact-pitch-page {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .impact-pitch-page,
  .pitch-main,
  .pitch-main section,
  .pitch-main .container {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .pitch-main .container {
    width: calc(100vw - var(--space-4));
    max-width: calc(100vw - var(--space-4));
    padding-inline: 0;
    box-sizing: border-box;
  }

  .pitch-main *,
  .pitch-main *::before,
  .pitch-main *::after {
    min-width: 0;
  }

  .pitch-hero h1,
  .pitch-moment h2,
  .pitch-programs h2,
  .pitch-final h2 {
    max-width: 11ch;
    font-size: clamp(1.85rem, 1.38rem + 4vw, 2.45rem);
    line-height: 1.02;
  }

  .pitch-hero .pitch-eyebrow {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .pitch-moment h2,
  .pitch-programs h2,
  .pitch-final h2 {
    max-width: 100%;
    font-size: clamp(2rem, 1.42rem + 4.5vw, 2.75rem);
    overflow-wrap: break-word;
  }

  .pitch-case h2,
  .pitch-scoreboard h2,
  .pitch-validation h2,
  .pitch-ways h2 {
    font-size: clamp(1.9rem, 1.35rem + 4.2vw, 2.55rem);
    line-height: 1.04;
  }

  .pitch-hero {
    min-height: auto;
  }

  .pitch-hero-grid {
    padding-block: var(--space-16) var(--space-10);
    gap: var(--space-6);
  }

  .pitch-hero-media {
    background:
      linear-gradient(180deg, rgba(247,244,237,0.98), rgba(247,244,237,0.86)),
      url("../images/events/mada-community-gathering.jpg") center / cover;
  }

  .pitch-actions,
  .pitch-btn {
    width: 100%;
  }

  .pitch-btn {
    min-width: 0;
    min-height: 0;
    padding-inline: var(--space-4);
    padding-block: 14px;
    text-align: center;
    white-space: normal;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .pitch-proofbar article {
    min-height: 128px;
    padding-block: var(--space-6);
  }

  .pitch-proofbar strong {
    font-size: clamp(2.35rem, 1.7rem + 6vw, 3.4rem);
  }

  .pitch-ask-card {
    justify-self: stretch;
    padding: var(--space-5);
  }

  .pitch-ask-card strong {
    font-size: clamp(2.7rem, 1.8rem + 8vw, 3.8rem);
  }

  .pitch-case,
  .pitch-moment,
  .pitch-scoreboard,
  .pitch-programs,
  .pitch-validation,
  .pitch-ways,
  .pitch-final {
    padding-block: var(--space-12);
  }

  .pitch-case-grid,
  .pitch-validation-grid {
    gap: var(--space-5);
  }

  .pitch-main .pitch-moment-grid {
    padding: var(--space-5);
    border-radius: 8px;
  }

  .pitch-main .pitch-final-card {
    padding: var(--space-5);
  }

  .pitch-moment-stats {
    gap: var(--space-2);
  }

  .pitch-moment-stats article {
    padding: var(--space-4);
  }

  .pitch-moment-proof {
    margin-top: var(--space-4);
  }

  .pitch-section-head {
    margin-bottom: var(--space-5);
    text-align: left;
  }

  .pitch-score-grid article,
  .pitch-way-grid article,
  .pitch-program-rail article,
  .pitch-barrier-grid article,
  .pitch-moment-proof article {
    padding: var(--space-5);
  }

  .pitch-program-rail {
    margin-top: var(--space-5);
  }

  .pitch-program-rail article {
    min-height: 0;
  }

  .pitch-validation-stack p {
    padding: var(--space-5);
  }

  .pitch-hero-grid,
  .pitch-hero-copy,
  .pitch-ask-card,
  .pitch-case-grid,
  .pitch-moment-grid,
  .pitch-validation-grid,
  .pitch-proofbar-grid,
  .pitch-barrier-grid,
  .pitch-moment-proof,
  .pitch-score-grid,
  .pitch-program-rail,
  .pitch-way-grid {
    min-width: 0;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .pitch-lead,
  .pitch-ask-card p,
  .pitch-case-copy,
  .pitch-case-copy p,
  .pitch-moment p,
  .pitch-validation-stack p,
  .pitch-program-rail p,
  .pitch-way-grid p,
  .pitch-score-grid p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .pitch-ask-card,
  .pitch-barrier-grid article,
  .pitch-moment-proof article,
  .pitch-score-grid article,
  .pitch-way-grid article,
  .pitch-program-rail article,
  .pitch-validation-stack p {
    width: 100%;
  }
}
