:root {
  color-scheme: light;
  --green: #8fc640;
  --green-dark: #4c7f22;
  --ink: #25322b;
  --muted: #657267;
  --paper: #fbfbf7;
  --panel: #ffffff;
  --sun: #f2b84b;
  --coral: #d85b45;
  --line: #dde6d2;
  --mist: #f4faec;
  --warm: #fff6e8;
  --soft-coral: #fff0ec;
  --shadow: 0 24px 60px rgba(37, 50, 43, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(76, 127, 34, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(242, 184, 75, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 40%, var(--warm) 74%, var(--paper) 100%);
  background-size: 96px 96px, 96px 96px, auto;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(251, 251, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

.brand span {
  font-size: 1rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  background: #edf5e4;
  color: var(--green-dark);
  outline: none;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  min-height: min(650px, calc(100svh - 128px));
  padding: clamp(44px, 7vw, 84px) clamp(20px, 6vw, 86px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(251, 251, 247, 0.96), rgba(251, 251, 247, 0.78)),
    repeating-linear-gradient(135deg, rgba(143, 198, 64, 0.1) 0 1px, transparent 1px 28px),
    linear-gradient(135deg, rgba(143, 198, 64, 0.24), rgba(242, 184, 75, 0.16) 48%, rgba(216, 91, 69, 0.12)),
    var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -1px;
  width: min(520px, 52vw);
  height: 9px;
  background: linear-gradient(90deg, var(--green), var(--sun), var(--coral));
  opacity: 0.9;
}

.hero-copy,
.section-inner {
  max-width: 1180px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  color: #3c493f;
}

.hero-copy > p:not(.eyebrow):not(.lead) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 10px 24px rgba(76, 127, 34, 0.24);
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--green-dark);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.hero-logo-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: clamp(28px, 4vw, 46px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-logo-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 9px;
  background: linear-gradient(var(--green), var(--sun), var(--coral));
}

.hero-logo-panel img {
  width: min(230px, 62vw);
  max-height: 340px;
  object-fit: contain;
}

.hero-logo-panel p {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.mission-band,
.vision-band {
  padding: clamp(38px, 6vw, 72px) clamp(20px, 6vw, 86px);
}

.mission-band {
  background:
    linear-gradient(90deg, #fff 0%, #fff 64%, var(--mist) 64%, var(--mist) 100%);
  border-bottom: 1px solid var(--line);
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
  margin: 0 auto;
}

.mission-grid p:last-child {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 251, 241, 0.9)),
    var(--paper);
}

.section-inner {
  margin: 0 auto;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.objective-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.objective-card {
  min-height: 100%;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(37, 50, 43, 0.07);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #edf5e4;
  color: var(--green-dark);
  font-weight: 900;
}

.objective-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.vision-band {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 84px),
    linear-gradient(135deg, #3f6f1e, var(--green-dark) 54%, #2f4b2d);
  color: #fff;
}

.vision-content {
  margin: 0 auto;
}

.vision-band .eyebrow {
  color: #e7f2da;
}

.vision-band h2 {
  max-width: 1060px;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4.2vw, 4.5rem);
}

.programs-section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(180deg, #fff 0%, #fff 56%, var(--mist) 100%);
  border-bottom: 1px solid var(--line);
}

.programs-section .section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.impact-strip article {
  min-height: 132px;
  padding: 22px;
  background: #f7fbf1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.impact-strip strong {
  display: block;
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1;
}

.impact-strip span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.program-grid article {
  min-height: 244px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(37, 50, 43, 0.06);
}

.program-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-weight: 900;
}

.program-grid h3 {
  min-height: 58px;
}

.program-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.program-dropdown-list {
  display: grid;
  gap: 12px;
}

.program-dropdown-list details {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7, 27, 56, 0.07);
}

.program-dropdown-list summary {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  gap: 16px;
  align-items: center;
  min-height: 74px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}

.program-dropdown-list summary::-webkit-details-marker {
  display: none;
}

.program-dropdown-list summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--green-dark);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 900;
}

.program-dropdown-list details[open] summary::after {
  content: "-";
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.program-dropdown-list summary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
}

.program-dropdown-list summary strong {
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.program-dropdown-list details[open] summary {
  background:
    linear-gradient(90deg, rgba(143, 198, 64, 0.12), rgba(246, 154, 76, 0.1)),
    #fff;
}

.program-dropdown-list details[open] summary span {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.program-dropdown-list p {
  margin: 0;
  padding: 0 20px 22px 84px;
  color: var(--muted);
  font-size: 1.02rem;
}

.program-overview-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 4vw, 44px);
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(90deg, rgba(143, 198, 64, 0.12), rgba(246, 154, 76, 0.1)),
    #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(7, 27, 56, 0.08);
}

.program-overview-panel p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.42;
}

.program-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.program-overview-panel .button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.leadership-contact {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 86px);
  background:
    repeating-linear-gradient(135deg, rgba(76, 127, 34, 0.08) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, rgba(143, 198, 64, 0.18), rgba(242, 184, 75, 0.16) 52%, rgba(216, 91, 69, 0.1)),
    #f7f8ef;
}

.standalone-page {
  min-height: calc(100svh - 148px);
}

.leadership-page-grid {
  margin: 0 auto;
}

.standalone-page h1,
.contact-page-section h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.page-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.leadership-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  margin: 0 auto;
}

.leadership-content {
  min-width: 0;
}

.compact-heading {
  max-width: 880px;
  margin-bottom: 26px;
}

.compact-heading p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.team-showcase {
  padding: clamp(18px, 3vw, 26px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(37, 50, 43, 0.09);
}

.team-showcase-header,
.program-team-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.team-showcase-header span,
.program-team-header span {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-showcase-header p,
.program-team-header p {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: right;
}

.leadership-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.leader-card {
  position: relative;
  overflow: hidden;
  min-height: 226px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(37, 50, 43, 0.07);
}

.leader-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
}

.leader-card.director::before {
  background: linear-gradient(90deg, var(--sun), var(--coral));
}

.leader-photo {
  width: 132px;
  height: 132px;
  margin: -14px 0 20px;
  border: 4px solid #f7fbf1;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 36%;
  box-shadow: 0 12px 28px rgba(37, 50, 43, 0.12);
}

.leader-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 34px;
}

.role-label {
  display: inline-block;
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leader-mark {
  color: rgba(76, 127, 34, 0.16);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.8;
}

.leader-card h3,
.team-roster h3 {
  overflow-wrap: anywhere;
}

.leader-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.leader-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.program-team {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.team-roster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.team-roster article {
  overflow: hidden;
  min-height: 152px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(37, 50, 43, 0.06);
}

.team-roster article.has-photo {
  padding: 0;
}

.team-roster article.has-photo img {
  width: calc(100% - 28px);
  max-width: 260px;
  aspect-ratio: 1 / 0.82;
  margin: 14px auto 0;
  border-radius: 6px;
  object-fit: cover;
  object-position: center 34%;
}

.team-roster article.has-photo .role-label,
.team-roster article.has-photo h3,
.team-roster article.has-photo p {
  margin-left: 20px;
  margin-right: 20px;
}

.team-roster article.has-photo .role-label {
  margin-top: 18px;
}

.team-roster article.has-photo p {
  margin-bottom: 20px;
}

.team-roster h3 {
  margin: 12px 0 8px;
  font-size: 1.1rem;
}

.team-roster p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-panel {
  position: sticky;
  top: 100px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 34px);
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--green), var(--sun), var(--coral));
}

.contact-panel .eyebrow {
  color: #dcefc5;
}

.contact-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.04;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.contact-actions a {
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 18px;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  text-decoration: none;
}

.contact-actions a:hover,
.contact-actions a:focus-visible,
.email-list a:hover,
.email-list a:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 2px;
}

.contact-actions span,
.email-list > span {
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-actions strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.contact-actions em {
  color: var(--green-dark);
  font-style: normal;
  font-weight: 900;
}

.email-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.email-list > span {
  color: #dcefc5;
}

.email-list a {
  overflow-wrap: anywhere;
  color: #fff;
  font-weight: 800;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.contact-page-section {
  min-height: calc(100svh - 148px);
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 86px);
  background:
    repeating-linear-gradient(135deg, rgba(76, 127, 34, 0.08) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, rgba(143, 198, 64, 0.16), rgba(242, 184, 75, 0.14) 52%, rgba(216, 91, 69, 0.1)),
    #f7f8ef;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  margin: 0 auto;
}

.contact-page-copy > p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.12rem;
}

.contact-note {
  display: grid;
  gap: 8px;
  max-width: 560px;
  margin-top: 28px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-note span {
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-note strong {
  font-size: 1.05rem;
}

.contact-note a {
  color: var(--green-dark);
  font-weight: 900;
}

.contact-page .contact-panel {
  position: relative;
  top: auto;
}

.contact-page .contact-actions {
  margin-top: 0;
}

.official-info-section {
  padding: clamp(46px, 7vw, 82px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(244, 250, 236, 0.82)),
    var(--mist);
  border-top: 1px solid var(--line);
}

.official-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  margin: 0 auto;
}

.official-info-copy h2 {
  max-width: 640px;
  font-size: clamp(1.9rem, 3.8vw, 3.7rem);
  line-height: 1.02;
}

.official-info-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
}

.official-info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.official-info-list div {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(37, 50, 43, 0.08);
}

.official-info-list dt {
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.official-info-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.story-section,
.gallery-section,
.involved-section {
  min-height: calc(100svh - 148px);
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 86px);
}

.story-section {
  background:
    repeating-linear-gradient(135deg, rgba(76, 127, 34, 0.08) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, #fff 0%, var(--mist) 58%, var(--warm) 100%);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
  margin: 0 auto;
}

.story-intro {
  position: sticky;
  top: 104px;
}

.story-intro h1,
.gallery-heading h1,
.involved-copy h1,
.support-main h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.story-intro p:not(.eyebrow),
.gallery-heading p,
.involved-copy p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.1rem;
}

.history-card {
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.history-card h2 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.history-card p {
  color: var(--muted);
}

.history-card p:last-child {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 800;
}

.history-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(32px, 5vw, 56px) auto 0;
}

.history-highlights article {
  min-height: 132px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.history-highlights strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1;
}

.history-highlights span {
  color: var(--muted);
  font-weight: 800;
}

.gallery-section {
  background:
    linear-gradient(90deg, rgba(242, 184, 75, 0.12), transparent 36%),
    linear-gradient(180deg, #fff 0%, var(--mist) 100%);
}

.gallery-heading {
  max-width: 920px;
}

.gallery-grid,
.involved-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid article {
  display: flex;
  min-height: 300px;
  padding: 22px;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(37, 50, 43, 0.04), rgba(37, 50, 43, 0.78)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.52) 0 1px, transparent 1px 22px),
    #dfead4;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(37, 50, 43, 0.08);
}

.gallery-grid span {
  color: #dcefc5;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-grid h2 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
}

.involved-section {
  background:
    repeating-linear-gradient(135deg, rgba(76, 127, 34, 0.07) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, var(--paper), var(--warm));
}

.involved-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  margin: 0 auto;
}

.involved-copy {
  position: sticky;
  top: 104px;
}

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

.involved-options article {
  min-height: 220px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(37, 50, 43, 0.08);
}

.involved-options h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.involved-options p {
  margin-bottom: 0;
  color: var(--muted);
}

.partnership-section {
  padding: clamp(46px, 7vw, 82px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(90deg, rgba(7, 27, 56, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 91, 69, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #fff 0%, var(--mist) 58%, var(--warm) 100%);
  background-size: 78px 78px, 78px 78px, auto;
  border-top: 1px solid var(--line);
}

.partnership-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  margin: 0 auto;
}

.partnership-copy {
  position: sticky;
  top: 104px;
}

.partnership-copy h2 {
  max-width: 620px;
  font-size: clamp(1.9rem, 3.8vw, 3.8rem);
  line-height: 1.02;
}

.partnership-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
}

.partnership-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.partnership-pathways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.partnership-pathways article {
  min-height: 214px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(37, 50, 43, 0.08);
}

.partnership-pathways span {
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partnership-pathways h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.18rem, 2.2vw, 1.7rem);
}

.partnership-pathways p {
  margin-bottom: 0;
  color: var(--muted);
}

.support-section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(76, 127, 34, 0.97), rgba(37, 50, 43, 0.99)),
    var(--ink);
  background-size: 78px 78px, 78px 78px, auto;
  color: #fff;
}

.standalone-support {
  min-height: calc(100svh - 148px);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  margin: 0 auto;
}

.support-main {
  position: sticky;
  top: 104px;
}

.support-main .eyebrow,
.faq-heading .eyebrow {
  color: #dcefc5;
}

.support-main h2 {
  font-size: clamp(2rem, 4vw, 4.3rem);
}

.support-main p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.75);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.support-section .button.primary {
  background: #fff;
  color: var(--green-dark);
  box-shadow: none;
}

.support-section .button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.support-ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.support-ways article {
  min-height: 190px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.support-ways h2,
.support-ways h3 {
  color: #fff;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
}

.support-ways p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  margin: clamp(42px, 6vw, 70px) auto 0;
  padding-top: clamp(32px, 5vw, 52px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.faq-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #fff;
  font-weight: 900;
}

.faq-list details[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.faq-list p {
  margin-bottom: 0;
  padding: 16px 20px 20px;
  color: rgba(255, 255, 255, 0.72);
}

.location-section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(90deg, rgba(242, 184, 75, 0.12) 0%, transparent 34%),
    linear-gradient(180deg, #fff 0%, var(--warm) 100%);
  border-top: 1px solid var(--line);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin: 0 auto;
}

.location-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 12px;
  padding: 11px 16px;
  background: var(--green-dark);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.map-link:hover,
.map-link:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 2px;
}

.map-panel {
  overflow: hidden;
  min-height: 360px;
  background: #eef5e7;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(37, 50, 43, 0.1);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px clamp(20px, 6vw, 86px);
  background:
    linear-gradient(90deg, rgba(143, 198, 64, 0.16), rgba(242, 184, 75, 0.08), rgba(216, 91, 69, 0.1)),
    var(--ink);
  color: #fff;
  text-align: center;
}

.site-footer p {
  margin-bottom: 0;
  font-weight: 800;
}

.whatsapp-widget {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 50;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.whatsapp-toggle {
  min-height: 52px;
  padding: 0 18px;
  background: #128c7e;
  color: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(18, 140, 126, 0.28);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.whatsapp-toggle::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.18);
  vertical-align: middle;
}

.whatsapp-toggle:hover,
.whatsapp-toggle:focus-visible {
  outline: 3px solid rgba(18, 140, 126, 0.24);
  outline-offset: 3px;
}

.whatsapp-panel {
  width: min(320px, calc(100vw - 28px));
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.whatsapp-panel[hidden] {
  display: none;
}

.whatsapp-panel > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

.whatsapp-panel a {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.whatsapp-panel a + a {
  margin-top: 8px;
}

.whatsapp-panel a:hover,
.whatsapp-panel a:focus-visible {
  border-color: #128c7e;
  outline: none;
}

.whatsapp-panel span {
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.whatsapp-panel em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .mission-grid,
  .leadership-contact-grid,
  .contact-page-grid,
  .official-info-grid,
  .story-grid,
  .involved-grid,
  .partnership-grid,
  .location-grid,
  .support-grid,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .objective-grid,
  .program-grid,
  .impact-strip,
  .history-highlights,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-panel {
    position: static;
  }

  .support-main {
    position: static;
  }

  .story-intro,
  .involved-copy,
  .partnership-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: auto;
    padding: 10px 14px 12px;
  }

  .brand {
    max-width: 100%;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand span {
    font-size: 0.95rem;
    white-space: normal;
  }

  .site-nav {
    width: 100%;
    margin-inline: -2px;
    padding: 2px 2px 4px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 11px;
    border: 1px solid rgba(221, 230, 210, 0.9);
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    scroll-snap-align: start;
  }

  .hero {
    padding: 32px 16px 42px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 4.2rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.75rem);
  }

  h3 {
    font-size: 1.08rem;
  }

  .lead {
    font-size: 1.15rem;
  }

  .mission-band,
  .vision-band,
  .section,
  .programs-section,
  .leadership-contact,
  .contact-page-section,
  .official-info-section,
  .story-section,
  .gallery-section,
  .involved-section,
  .partnership-section,
  .support-section,
  .location-section {
    padding: 42px 16px;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-logo-panel {
    padding: 24px 18px;
  }

  .hero-logo-panel img {
    width: min(190px, 58vw);
  }

  .leadership-row,
  .team-roster,
  .contact-actions,
  .support-ways,
  .involved-options,
  .partnership-pathways,
  .official-info-list div {
    grid-template-columns: 1fr;
  }

  .team-showcase-header,
  .program-team-header {
    align-items: start;
    flex-direction: column;
  }

  .team-showcase-header p,
  .program-team-header p {
    text-align: left;
  }

  .team-showcase,
  .history-card,
  .contact-panel,
  .contact-note,
  .official-info-list div,
  .involved-options article,
  .partnership-pathways article,
  .support-ways article,
  .objective-card,
  .program-grid article {
    padding: 18px;
  }

  .program-dropdown-list summary {
    grid-template-columns: 42px minmax(0, 1fr) 26px;
    gap: 12px;
    padding: 14px;
  }

  .program-dropdown-list summary span {
    width: 38px;
    height: 38px;
  }

  .program-dropdown-list p {
    padding: 0 14px 18px 64px;
  }

  .program-overview-panel {
    grid-template-columns: 1fr;
  }

  .program-overview-actions {
    justify-content: flex-start;
  }

  .leader-card {
    min-height: auto;
    padding: 20px;
  }

  .leader-photo {
    width: 112px;
    height: 112px;
  }

  .team-roster article.has-photo img {
    max-width: 220px;
  }

  .gallery-grid article {
    min-height: 220px;
  }

  .map-panel {
    min-height: 260px;
  }

  .map-panel iframe {
    height: 300px;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand span {
    font-size: 0.88rem;
  }

  .site-nav a {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 0.78rem;
  }

  .hero,
  .mission-band,
  .vision-band,
  .section,
  .programs-section,
  .leadership-contact,
  .contact-page-section,
  .official-info-section,
  .story-section,
  .gallery-section,
  .involved-section,
  .partnership-section,
  .support-section,
  .location-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  h1 {
    font-size: clamp(2.05rem, 11vw, 3.2rem);
  }

  .standalone-page h1,
  .contact-page-section h1,
  .story-intro h1,
  .gallery-heading h1,
  .involved-copy h1,
  .partnership-copy h2,
  .official-info-copy h2,
  .support-main h1 {
    font-size: clamp(2rem, 10.5vw, 3.25rem);
  }

  .impact-strip article,
  .history-highlights article {
    min-height: 112px;
  }

  .program-grid h3 {
    min-height: auto;
  }

  .contact-actions a {
    min-height: 92px;
  }

  .whatsapp-widget {
    right: 12px;
    bottom: 12px;
  }

  .whatsapp-toggle {
    min-height: 46px;
    padding-inline: 14px;
    font-size: 0.92rem;
  }
}

/* Youth Sport Uganda-inspired refresh */
:root {
  --green: #8fc640;
  --green-dark: #13612e;
  --ink: #071b38;
  --ink-2: #0e2341;
  --muted: #657267;
  --paper: #fbfbf7;
  --panel: #ffffff;
  --sun: #f69a4c;
  --coral: #f67d4c;
  --line: #dde6d2;
  --mist: #f4faec;
  --warm: #fff6e8;
  --shadow: 0 24px 60px rgba(7, 27, 56, 0.16);
}

body {
  background:
    linear-gradient(90deg, rgba(7, 27, 56, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(246, 125, 76, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, var(--mist) 46%, var(--warm) 78%, #ffffff 100%);
  background-size: 96px 96px, 96px 96px, auto;
}

.site-header {
  background: rgba(7, 27, 56, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 40px rgba(7, 27, 56, 0.18);
}

.brand,
.brand:visited {
  color: #fff;
}

.brand img {
  border: 2px solid rgba(255, 255, 255, 0.28);
}

.site-nav a {
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.78);
}

.site-nav .nav-dropdown {
  position: relative;
}

.site-nav .nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
  list-style: none;
}

.site-nav .nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.site-nav .nav-dropdown summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: -4px 0 0 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active,
.site-nav .nav-dropdown[open] summary,
.site-nav .nav-dropdown summary:hover,
.site-nav .nav-dropdown summary:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--sun);
  outline: none;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  display: grid;
  min-width: 246px;
  padding: 8px;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
}

.site-nav .nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.84);
  white-space: normal;
}

.site-nav .nav-dropdown-menu a:hover,
.site-nav .nav-dropdown-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--sun);
}

.site-nav a.nav-cta {
  background: linear-gradient(135deg, var(--coral), var(--sun));
  color: #fff;
  box-shadow: 0 14px 30px rgba(246, 125, 76, 0.24);
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible,
.site-nav a.nav-cta.active {
  background: linear-gradient(135deg, var(--sun), var(--coral));
  color: #fff;
}

.hero {
  min-height: min(640px, calc(100svh - 120px));
  padding-top: clamp(34px, 4vw, 50px);
  padding-bottom: clamp(34px, 4vw, 50px);
  color: #fff;
  border-bottom: 0;
  background:
    linear-gradient(90deg, rgba(7, 27, 56, 0.94) 0%, rgba(7, 27, 56, 0.84) 48%, rgba(7, 27, 56, 0.5) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 34px),
    url("assets/logo-madchen.jpg"),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 58%, #14331f 100%);
  background-position: center, center, right clamp(20px, 8vw, 90px) center, center;
  background-repeat: no-repeat;
  background-size: auto, auto, min(560px, 52vw) auto, auto;
}

.hero::after {
  left: clamp(20px, 6vw, 86px);
  right: auto;
  bottom: 0;
  width: min(520px, calc(100% - 40px));
  height: 8px;
  background: linear-gradient(90deg, var(--green), var(--sun), var(--coral));
}

.hero .eyebrow {
  color: var(--sun);
}

.hero h1,
.hero .lead {
  color: #fff;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.35rem);
  line-height: 0.98;
}

.hero .lead {
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
}

.hero-copy > p:not(.eyebrow):not(.lead) {
  color: rgba(255, 255, 255, 0.78);
}

.hero-card-stack {
  position: relative;
  display: grid;
  gap: 16px;
  align-self: center;
}

.hero-logo-panel {
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.44);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

.hero-logo-panel img {
  width: min(190px, 48vw);
}

.hero-logo-panel::before {
  background: linear-gradient(var(--green), var(--sun), var(--coral));
}

.hero-stat-card {
  position: absolute;
  right: 18px;
  bottom: -28px;
  left: 18px;
  display: grid;
  gap: 8px;
  padding: 18px;
  background: rgba(7, 27, 56, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(7, 27, 56, 0.26);
  backdrop-filter: blur(14px);
}

.hero-stat-card span,
.focus-grid span,
.partner-strip span {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stat-card span {
  color: var(--sun);
}

.hero-stat-card strong {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.hero-stat-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.button {
  border-radius: 4px;
}

.button.primary {
  background: linear-gradient(135deg, var(--coral), var(--sun));
  color: #fff;
  box-shadow: 0 14px 30px rgba(246, 125, 76, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.mission-band {
  background:
    linear-gradient(90deg, #fff 0%, #fff 58%, var(--mist) 58%, var(--mist) 100%);
}

.history-feature {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(90deg, rgba(7, 27, 56, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(246, 125, 76, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, var(--warm) 52%, var(--mist) 100%);
  background-size: 82px 82px, 82px 82px, auto;
  border-bottom: 1px solid var(--line);
}

.history-feature-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(26px, 5vw, 74px);
  align-items: start;
  margin: 0 auto;
}

.history-feature-intro {
  position: sticky;
  top: 106px;
}

.history-feature-intro h2 {
  margin-bottom: 28px;
  font-size: clamp(2rem, 4vw, 4.1rem);
}

.history-markers {
  display: grid;
  gap: 12px;
}

.history-markers article {
  min-height: 118px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(7, 27, 56, 0.08);
}

.history-markers strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
}

.history-markers span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.history-story-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.history-story-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--green), var(--sun), var(--coral));
}

.history-story-card p {
  color: var(--muted);
  font-size: 1.04rem;
}

.history-story-card p:first-child,
.history-story-card p:last-child {
  color: var(--ink);
  font-weight: 800;
}

.history-story-card p:last-child {
  margin-bottom: 0;
}

.focus-section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(260deg, var(--mist) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.focus-section .section-heading p:not(.eyebrow) {
  max-width: 740px;
  color: var(--muted);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.focus-grid article {
  min-height: 220px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(7, 27, 56, 0.08);
}

.focus-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  background: #edf5e4;
  color: var(--green-dark);
  border-radius: 6px;
}

.focus-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.mission-quote-section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(90deg, rgba(7, 27, 56, 0.9), rgba(7, 27, 56, 0.78)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: start;
  margin: 0 auto;
}

.quote-badge {
  color: var(--sun);
  font-size: clamp(7rem, 16vw, 14rem);
  font-weight: 900;
  line-height: 0.75;
}

.quote-panel .eyebrow {
  color: #dcefc5;
}

.quote-panel h2 {
  max-width: 1040px;
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 5rem);
}

.quote-panel p:last-child {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.partners-section {
  padding: clamp(46px, 7vw, 82px) clamp(20px, 6vw, 86px);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partners-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  margin: 0 auto;
}

.partners-grid h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.6vw, 3.6rem);
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.partner-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 16px;
  background: var(--mist);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.location-section {
  background:
    linear-gradient(90deg, rgba(246, 154, 76, 0.14) 0%, transparent 35%),
    linear-gradient(180deg, #fff 0%, var(--warm) 100%);
}

.map-link {
  background: var(--ink);
  border-radius: 4px;
}

.site-footer {
  display: block;
  padding: clamp(42px, 6vw, 66px) clamp(20px, 6vw, 86px) 20px;
  background:
    linear-gradient(90deg, rgba(143, 198, 64, 0.09), rgba(246, 125, 76, 0.1)),
    var(--ink);
  color: #fff;
  text-align: left;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(160px, 0.8fr));
  gap: clamp(24px, 5vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
}

.footer-brand img {
  width: 78px;
  height: 78px;
  margin-bottom: 18px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.footer-brand h2,
.footer-links h3,
.footer-contact h3,
.footer-action h3 {
  color: #fff;
}

.footer-brand h2 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
}

.footer-brand p,
.footer-contact p,
.footer-action p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links,
.footer-contact,
.footer-action {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h3,
.footer-contact h3,
.footer-action h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--sun);
  outline: none;
}

.footer-action .button {
  width: fit-content;
  margin-top: 6px;
}

.footer-bottom {
  max-width: 1180px;
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.whatsapp-toggle {
  background: #128c7e;
}

@media (max-width: 980px) {
  .focus-grid,
  .partners-grid,
  .history-feature-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .history-feature-intro {
    position: static;
  }

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

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

  .quote-badge {
    font-size: 7rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    background: rgba(7, 27, 56, 0.98);
  }

  .site-nav a {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .site-nav .nav-dropdown {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .site-nav .nav-dropdown summary {
    min-height: 36px;
    padding: 8px 11px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
  }

  .site-nav .nav-dropdown[open] {
    position: static;
  }

  .nav-dropdown-menu {
    position: fixed;
    top: 102px;
    right: 14px;
    left: 14px;
    min-width: 0;
  }

  .site-nav a.nav-cta {
    background: linear-gradient(135deg, var(--coral), var(--sun));
  }

  .hero {
    min-height: auto;
    padding: 42px 16px 50px;
    background:
      linear-gradient(90deg, rgba(7, 27, 56, 0.95), rgba(7, 27, 56, 0.82)),
      repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 30px),
      linear-gradient(135deg, var(--ink), var(--ink-2));
  }

  .hero-card-stack {
    max-width: 100%;
    gap: 12px;
  }

  .hero-logo-panel {
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    gap: 14px;
    padding: 14px 16px;
  }

  .hero-logo-panel img {
    width: 72px;
  }

  .hero-logo-panel p {
    max-width: none;
    text-align: left;
    font-size: 0.9rem;
  }

  .hero-stat-card {
    display: none;
  }

  .focus-section,
  .history-feature,
  .mission-quote-section,
  .partners-section {
    padding: 42px 16px;
  }

  .focus-grid,
  .partner-strip {
    grid-template-columns: 1fr;
  }

  .focus-grid article {
    min-height: auto;
    padding: 18px;
  }

  .history-story-card,
  .history-markers article {
    padding: 18px;
  }

  .partner-strip span {
    min-height: 68px;
  }

  .footer-action .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .site-nav .nav-dropdown summary {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 0.78rem;
  }

  .hero,
  .focus-section,
  .history-feature,
  .mission-quote-section,
  .partners-section {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Mobile app navigation polish */
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 720px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    background: linear-gradient(135deg, var(--coral), var(--sun));
    color: #fff;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 12px 26px rgba(246, 125, 76, 0.24);
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 900;
  }

  .mobile-menu-toggle::before,
  .mobile-menu-toggle::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 2px;
    background: currentColor;
  }

  .mobile-menu-toggle::before {
    margin-right: 8px;
    box-shadow: 0 5px 0 currentColor;
  }

  .mobile-menu-toggle::after {
    display: none;
  }

  body.nav-open .mobile-menu-toggle::before {
    margin-top: 0;
    box-shadow: none;
    transform: rotate(45deg) translate(2px, 2px);
  }

  body.nav-open .mobile-menu-toggle::after {
    display: inline-block;
    margin-left: -14px;
    margin-right: 8px;
    transform: rotate(-45deg) translate(-2px, 2px);
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    max-height: calc(100svh - 86px);
    margin: 0;
    padding: 10px 0 2px;
    align-items: stretch;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scroll-snap-type: none;
    scrollbar-width: thin;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-dropdown summary {
    width: 100%;
    min-height: 42px;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 4px;
    scroll-snap-align: none;
  }

  .site-nav .nav-dropdown {
    width: 100%;
  }

  .site-nav .nav-dropdown[open] {
    position: relative;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  .site-nav .nav-dropdown-menu a {
    min-height: 40px;
    padding-left: 16px;
  }

  .brand span {
    line-height: 1.15;
  }

  .hero {
    gap: 22px;
  }

  .history-feature-intro h2,
  .section-heading h2,
  .partners-grid h2,
  .location-copy h2 {
    max-width: 100%;
  }

  .footer-inner {
    gap: 26px;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 12px;
  }

  .mobile-menu-toggle {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .site-nav a,
  .site-nav .nav-dropdown summary {
    min-height: 40px;
    padding: 9px 10px;
    font-size: 0.8rem;
  }
}

/* Privacy and copyright controls */
.map-panel {
  position: relative;
}

.map-panel iframe[hidden] {
  display: none;
}

.map-consent {
  display: grid;
  gap: 12px;
  place-items: center;
  min-height: 420px;
  padding: clamp(22px, 4vw, 34px);
  background:
    repeating-linear-gradient(135deg, rgba(7, 27, 56, 0.08) 0 1px, transparent 1px 30px),
    linear-gradient(135deg, #fff 0%, var(--mist) 58%, var(--warm) 100%);
  color: var(--ink);
  text-align: center;
}

.map-consent strong {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
}

.map-consent p {
  max-width: 420px;
  margin-bottom: 4px;
  color: var(--muted);
}

.map-consent .button.secondary {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}

.map-panel.is-loaded .map-consent {
  display: none;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 10px;
}

.footer-legal a,
.footer-legal button {
  padding: 0;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal a:hover,
.footer-legal a:focus-visible,
.footer-legal button:hover,
.footer-legal button:focus-visible {
  color: var(--sun);
  outline: none;
}

.privacy-section,
.privacy-detail-section,
.copyright-section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 86px);
}

.privacy-section {
  background:
    linear-gradient(90deg, rgba(7, 27, 56, 0.92), rgba(7, 27, 56, 0.78)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
}

.privacy-grid,
.copyright-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  margin: 0 auto;
}

.privacy-intro h1 {
  max-width: 900px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.98;
}

.privacy-intro p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.privacy-summary-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.privacy-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--green), var(--sun), var(--coral));
}

.privacy-summary-card span {
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-summary-card strong {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
}

.privacy-summary-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.privacy-detail-section {
  background:
    linear-gradient(260deg, var(--mist) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.privacy-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.privacy-card-grid article,
.copyright-list article {
  min-height: 100%;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(7, 27, 56, 0.08);
}

.privacy-card-grid p,
.copyright-section p,
.copyright-list p {
  color: var(--muted);
}

.privacy-card-grid a,
.copyright-list a {
  color: var(--green-dark);
  font-weight: 900;
}

.copyright-section {
  background: #fff;
}

.copyright-grid {
  align-items: start;
}

.copyright-grid > div:first-child p {
  max-width: 620px;
  font-size: 1.08rem;
}

.copyright-list {
  display: grid;
  gap: 12px;
}

.copyright-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.copyright-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  font-weight: 900;
}

.copyright-list p {
  margin-bottom: 0;
}

.privacy-modal[hidden] {
  display: none;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 27, 56, 0.72);
  backdrop-filter: blur(12px);
  overflow-y: auto;
}

body.privacy-modal-open {
  overflow: hidden;
}

.privacy-modal-card {
  position: relative;
  width: min(640px, 100%);
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.privacy-modal-card h2 {
  max-width: 520px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.privacy-modal-card > p:not(.eyebrow) {
  color: var(--muted);
}

.privacy-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 36px;
  padding: 0 12px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.privacy-toggle-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 24px 0;
  padding: 18px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.privacy-toggle-row input {
  width: 22px;
  height: 22px;
  margin-top: 4px;
  accent-color: var(--green-dark);
}

.privacy-toggle-row strong,
.privacy-toggle-row em {
  display: block;
}

.privacy-toggle-row strong {
  margin-bottom: 5px;
}

.privacy-toggle-row em {
  color: var(--muted);
  font-style: normal;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 980px) {
  .privacy-grid,
  .copyright-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .privacy-section,
  .privacy-detail-section,
  .copyright-section {
    padding: 42px 16px;
  }

  .site-footer {
    padding-bottom: 96px;
  }

  .privacy-card-grid {
    grid-template-columns: 1fr;
  }

  .map-consent {
    min-height: 300px;
  }

  .privacy-actions .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .privacy-section,
  .privacy-detail-section,
  .copyright-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .privacy-modal {
    padding: 12px;
  }

  .privacy-toggle-row {
    grid-template-columns: 1fr;
  }
}

/* Foundation photo placements */
.hero {
  background:
    linear-gradient(90deg, rgba(7, 27, 56, 0.9) 0%, rgba(7, 27, 56, 0.7) 48%, rgba(7, 27, 56, 0.24) 100%),
    linear-gradient(180deg, rgba(7, 27, 56, 0.08), rgba(7, 27, 56, 0.08)),
    url("assets/photos/foundation-team-field.jpg"),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 58%, #14331f 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-photo-card,
.program-photo-card,
.involved-photo-card,
.support-photo-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(7, 27, 56, 0.22);
}

.hero-photo-card {
  min-height: clamp(330px, 44vw, 500px);
  aspect-ratio: 4 / 3;
}

.hero-photo-card img,
.program-photo-card img,
.involved-photo-card img,
.support-photo-card img,
.photo-gallery-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-card figcaption,
.program-photo-card figcaption,
.involved-photo-card figcaption,
.support-photo-card figcaption {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 13px 14px;
  background: rgba(7, 27, 56, 0.76);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
  backdrop-filter: blur(12px);
}

.hero-photo-card figcaption {
  top: 16px;
  right: auto;
  bottom: auto;
  max-width: min(310px, calc(100% - 32px));
}

.hero-card-stack .hero-stat-card {
  position: relative;
  inset: auto;
  z-index: 3;
  margin: -26px 18px 0;
}

.mission-band {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.82) 55%, rgba(244, 250, 236, 0.72) 100%),
    url("assets/photos/girl-sports-portrait.jpg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}

.history-feature {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 246, 232, 0.78) 52%, rgba(244, 250, 236, 0.78) 100%),
    url("assets/photos/foundation-team-field.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.focus-section {
  background:
    linear-gradient(260deg, rgba(244, 250, 236, 0.86) 0%, rgba(255, 255, 255, 0.88) 100%),
    url("assets/photos/netball-action.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.mission-quote-section {
  background:
    linear-gradient(90deg, rgba(7, 27, 56, 0.78), rgba(7, 27, 56, 0.58)),
    url("assets/photos/girls-football-team.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.programs-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 250, 236, 0.82)),
    url("assets/photos/girls-football-team.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.program-overview-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
}

.program-overview-copy {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(8px, 2vw, 18px);
}

.program-overview-copy p,
.program-photo-card figcaption,
.involved-photo-card figcaption,
.support-photo-card figcaption {
  margin-bottom: 0;
}

.program-overview-actions {
  margin-top: 0;
}

.program-photo-card {
  min-height: 280px;
}

.program-photo-card img {
  object-position: center;
}

.involved-section {
  background:
    linear-gradient(135deg, rgba(251, 251, 247, 0.88), rgba(255, 246, 232, 0.78)),
    url("assets/photos/computer-skills-session.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.involved-copy h1 {
  max-width: 560px;
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
}

.involved-section .button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--green-dark);
}

.involved-media-column,
.support-media-column {
  display: grid;
  gap: 14px;
}

.involved-photo-card,
.support-photo-card {
  min-height: 320px;
  border-color: var(--line);
}

.involved-photo-card img {
  object-position: center;
}

.support-section {
  background:
    linear-gradient(135deg, rgba(37, 50, 43, 0.88), rgba(76, 127, 34, 0.74)),
    url("assets/photos/school-materials-smiles.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.support-photo-card img {
  object-position: center top;
}

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

.gallery-grid.photo-gallery-grid article {
  position: relative;
  overflow: hidden;
  min-height: clamp(280px, 30vw, 380px);
  padding: 0;
  background: var(--ink);
  isolation: isolate;
}

.photo-gallery-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 27, 56, 0) 22%, rgba(7, 27, 56, 0.7) 100%),
    linear-gradient(90deg, rgba(7, 27, 56, 0.18), transparent 48%);
}

.photo-gallery-grid article:first-child,
.photo-gallery-grid article:last-child {
  grid-column: span 2;
}

.photo-gallery-grid article:nth-child(5) img {
  object-position: center;
}

.gallery-card-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 22px;
}

.gallery-card-body span {
  color: #dcefc5;
}

@media (max-width: 980px) {
  .program-overview-panel,
  .photo-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .program-overview-panel {
    align-items: stretch;
  }

  .program-overview-copy {
    padding: 6px;
  }

  .photo-gallery-grid article:first-child,
  .photo-gallery-grid article:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(7, 27, 56, 0.9), rgba(7, 27, 56, 0.7)),
      url("assets/photos/foundation-team-field.jpg");
    background-position: center;
    background-size: cover;
  }

  .hero-photo-card {
    min-height: 250px;
    aspect-ratio: 16 / 10;
  }

  .hero-photo-card figcaption,
  .program-photo-card figcaption,
  .involved-photo-card figcaption,
  .support-photo-card figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 11px 12px;
    font-size: 0.84rem;
  }

  .hero-photo-card figcaption {
    top: 12px;
    right: auto;
    bottom: auto;
  }

  .program-overview-panel,
  .photo-gallery-grid,
  .support-ways,
  .involved-options {
    grid-template-columns: 1fr;
  }

  .program-photo-card,
  .involved-photo-card,
  .support-photo-card {
    min-height: 250px;
  }

  .photo-gallery-grid article:first-child,
  .photo-gallery-grid article:last-child {
    grid-column: auto;
  }
}

.gallery-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 250, 236, 0.76)),
    url("assets/photos/foundation-team-field.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.partners-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 246, 232, 0.76)),
    url("assets/photos/computer-skills-session.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-page-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(244, 250, 236, 0.76)),
    url("assets/photos/foundation-team-field.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
