:root {
  --cream: #fff8ef;
  --paper: #fffdf8;
  --navy: #10283a;
  --navy-soft: #183b52;
  --coral: #b74732;
  --coral-bright: #ef765d;
  --yellow: #ffd65a;
  --sage: #dfead3;
  --sky: #dcecf1;
  --ink: #173044;
  --muted: #596a76;
  --line: rgba(16, 40, 58, 0.16);
  --shadow: 0 24px 64px rgba(16, 40, 58, 0.13);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #2478a7;
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 8px;
  background: white;
  color: var(--navy);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 10px max(4vw, 24px);
  border-bottom: 1px solid transparent;
  background: rgba(255, 248, 239, 0.96);
  backdrop-filter: blur(16px);
  transition: min-height 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(16, 40, 58, 0.1);
}

.capture-mode .site-header,
.capture-mode .site-header.is-scrolled {
  position: relative;
  min-height: 86px;
  box-shadow: none;
}

.capture-mode {
  scroll-behavior: auto;
}

.capture-mode .site-header.is-scrolled .brand img {
  width: 56px;
  height: 56px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--navy);
  text-decoration: none;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  transition: width 180ms ease, height 180ms ease;
}

.is-scrolled .brand img {
  width: 46px;
  height: 46px;
}

.brand span,
.footer-brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong,
.footer-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand small,
.footer-brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.8vw, 14px);
}

.primary-navigation a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 11px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.primary-navigation a:hover {
  background: rgba(16, 40, 58, 0.08);
  transform: translateY(-1px);
}

.primary-navigation .support-link {
  min-width: 88px;
  background: var(--navy);
  color: white;
}

.primary-navigation .support-link:hover {
  background: var(--navy-soft);
}

.menu-button,
.nav-backdrop {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(780px, calc(100vh - 86px));
  overflow: hidden;
  background: var(--navy);
  color: white;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  z-index: -2;
  object-fit: cover;
  object-position: 50% 48%;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 27, 42, 0.9) 0%, rgba(8, 27, 42, 0.68) 46%, rgba(8, 27, 42, 0.14) 78%),
    linear-gradient(0deg, rgba(8, 27, 42, 0.55) 0%, transparent 48%);
}

.hero-copy {
  display: flex;
  min-height: min(780px, calc(100vh - 86px));
  width: min(var(--max), 92vw);
  margin: 0 auto;
  padding: clamp(72px, 10vh, 126px) 0 104px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--yellow);
}

.eyebrow.coral {
  color: var(--coral);
}

.eyebrow.gold {
  color: #754300;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8.2vw, 118px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.hero h1 em {
  color: var(--yellow);
  font-weight: 500;
}

.hero-lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 23px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(4, 17, 28, 0.22);
}

.button-primary {
  background: var(--yellow);
  color: var(--navy);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.button-ghost:hover {
  background: white;
  color: var(--navy);
}

.hero-note {
  position: absolute;
  right: max(4vw, 24px);
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.hero-note span {
  color: var(--yellow);
  font-size: 28px;
}

.section {
  padding: clamp(76px, 9vw, 126px) max(4vw, 24px);
}

.section > * {
  width: min(var(--max), 100%);
  margin-right: auto;
  margin-left: auto;
}

.section-heading h2,
.support h2,
.connect h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-heading h2 span {
  color: var(--coral);
}

.mission-heading {
  max-width: 1000px;
  margin-bottom: 56px;
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}

.rounded-photo {
  position: relative;
  margin: 0;
}

.rounded-photo img {
  width: 100%;
  aspect-ratio: 0.92;
  border-radius: 48% 48% 28px 28px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.rounded-photo figcaption {
  position: absolute;
  right: -28px;
  bottom: 28px;
  max-width: 270px;
  padding: 18px 22px;
  border-radius: 22px 22px 22px 6px;
  background: var(--yellow);
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.35;
  transform: rotate(-2deg);
}

.mission-copy .lead {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.7vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.23;
}

.mission-copy > p:not(.lead) {
  margin: 0;
  color: var(--muted);
}

.mission-points {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.mission-points article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.mission-points article > span {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.mission-points h3,
.mission-points p {
  margin: 0;
}

.mission-points h3 {
  font-size: 18px;
}

.mission-points p {
  color: var(--muted);
  font-size: 15px;
}

.programs {
  background: var(--sage);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 46px;
}

.split-heading > p {
  margin: 0 0 4px;
  color: #40564b;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.program-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.72fr) minmax(0, 1.28fr);
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(16, 40, 58, 0.13);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(16, 40, 58, 0.07);
}

.program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-copy {
  display: flex;
  padding: 28px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.card-kicker {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.program-copy h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.2vw, 36px);
  line-height: 1.05;
}

.program-copy > p:not(.card-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.program-copy small {
  margin-top: 18px;
  color: #44555f;
  font-size: 12px;
  font-weight: 800;
}

.program-graphic {
  background: var(--navy);
}

.program-graphic .program-mark {
  display: grid;
  min-height: 100%;
  background: var(--yellow);
  color: var(--navy);
  font-size: clamp(64px, 8vw, 110px);
  place-items: center;
}

.program-graphic h3,
.program-graphic .program-copy > p:not(.card-kicker),
.program-graphic .program-copy small {
  color: white;
}

.program-graphic .card-kicker {
  color: var(--yellow);
}

.current-activity-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 14px;
  padding: 24px 28px;
  border: 1px dashed rgba(16, 40, 58, 0.35);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
}

.current-activity-note .eyebrow,
.current-activity-note h3 {
  margin: 0;
}

.current-activity-note h3 {
  font-size: 20px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--navy);
  font-weight: 900;
  text-underline-offset: 4px;
}

.moments {
  background: var(--paper);
}

.moments-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.moments-heading > p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
}

.moment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 18px;
}

.moment {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 190px;
  border-radius: 26px;
  background: var(--sky);
}

.moment-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.moment-tall {
  grid-row: span 2;
  border-radius: 160px 28px 28px 28px;
}

.moment-wide {
  grid-column: span 2;
  border-radius: 28px;
}

.moment-round {
  border-radius: 28px 160px 28px 28px;
}

.moment-open {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
}

.moment-open:focus-visible {
  outline-color: var(--yellow);
  outline-offset: -6px;
}

.moment img,
.moment-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.moment:hover img,
.moment-open:focus-visible img {
  transform: scale(1.025);
}

.moment-view {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(16, 40, 58, 0.68);
  color: white;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(8px);
}

.moment:hover .moment-view,
.moment-open:focus-visible .moment-view {
  opacity: 1;
  transform: translateY(0);
}

.moment figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(255, 248, 239, 0.9);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(54px, 0.12fr) minmax(0, 1fr) minmax(54px, 0.12fr);
  align-items: center;
  justify-items: center;
  padding: 76px 28px 34px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 28, 0.94);
  cursor: zoom-out;
}

.lightbox-frame {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1120px, 100%);
  max-height: calc(100dvh - 112px);
  margin: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
}

.lightbox-frame img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 190px);
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.lightbox-frame figcaption {
  max-width: 760px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.lightbox-count {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-nav {
  position: relative;
  z-index: 2;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font: inherit;
  font-size: 26px;
  cursor: pointer;
  place-items: center;
  transition: background 160ms ease, transform 160ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav:hover {
  transform: translateY(-2px);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 34px;
  line-height: 1;
}

.lightbox-prev {
  grid-column: 1;
}

.lightbox-frame {
  grid-column: 2;
}

.lightbox-next {
  grid-column: 3;
}

.moment-placeholder {
  display: grid;
  padding: 28px;
  border: 2px dashed rgba(16, 40, 58, 0.25);
  background: var(--cream);
  color: var(--muted);
  align-content: center;
  justify-items: center;
  text-align: center;
}

.moment-placeholder span {
  color: var(--coral);
  font-size: 56px;
}

.moment-placeholder p {
  margin: 10px 0 0;
}

.moment-placeholder strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.future-media {
  display: flex;
  max-width: 540px;
  min-height: 104px;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--cream);
}

.future-media > span {
  color: var(--coral);
  font-size: 40px;
}

.future-media p {
  margin: 0;
  color: var(--muted);
}

.future-media strong {
  color: var(--navy);
}

.leadership {
  background: var(--cream);
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (min-width: 900px) {
  .leader-grid-five {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .leader-grid-five .leader {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .leader-grid-five .leader:nth-child(-n + 2) {
    grid-column: span 3;
  }

  .leader-grid-five .leader:nth-child(n + 3) {
    grid-column: span 2;
  }

  .leader-grid-five .leader > img {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 1;
  }
}

.leader {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
}

.leader > img,
.leader-placeholder {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.leader-placeholder {
  display: grid;
  align-content: center;
  justify-items: center;
  background: var(--yellow);
  color: var(--navy);
}

.leader-placeholder strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 86px;
  line-height: 1;
}

.leader-placeholder small {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.leader > div:last-child {
  display: flex;
  padding: 28px;
  flex-direction: column;
  justify-content: center;
}

.leader-role {
  margin: 0 0 7px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leader h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.3vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.leader div > p:last-child:not(.leader-role) {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.founder-story {
  margin-top: 14px;
  border: 1px solid rgba(16, 40, 58, 0.2);
  border-radius: 24px;
  background: rgba(255, 214, 90, 0.26);
  overflow: hidden;
}

.founder-story summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.founder-story summary::-webkit-details-marker {
  display: none;
}

.founder-story summary:focus-visible {
  outline-offset: -5px;
}

.founder-story summary strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.1;
}

.founder-story summary small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}

.founder-story-toggle {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 25px;
  place-items: center;
  transition: transform 180ms ease;
}

.founder-story[open] .founder-story-toggle {
  transform: rotate(45deg);
}

.founder-story-body {
  padding: 4px 28px 28px;
  columns: 2 360px;
  column-gap: 42px;
  color: var(--muted);
}

.founder-story-body p {
  margin: 0 0 18px;
  break-inside: avoid;
}

.members {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: white;
}

.members::before,
.members::after {
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.members::before {
  top: -92px;
  right: 8%;
}

.members::after {
  right: -72px;
  bottom: -105px;
  border-color: rgba(241, 194, 64, 0.34);
}

.members-heading,
.member-grid,
.members-note {
  position: relative;
  z-index: 1;
}

.members-heading h2 {
  color: white;
}

.members-heading > p {
  color: rgba(255, 255, 255, 0.76);
}

.member-grid {
  display: grid;
  max-width: 980px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 20px;
}

.member-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: var(--cream);
  color: var(--navy);
  box-shadow: 0 22px 60px rgba(4, 18, 28, 0.2);
}

.member-card summary {
  display: grid;
  min-height: 240px;
  grid-template-columns: 170px minmax(0, 1fr) 48px;
  align-items: stretch;
  cursor: pointer;
  list-style: none;
}

.member-card summary::-webkit-details-marker {
  display: none;
}

.member-card summary:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: -5px;
}

.member-photo-placeholder {
  display: grid;
  min-height: 240px;
  padding: 22px 16px;
  background:
    radial-gradient(circle at 74% 20%, rgba(255, 255, 255, 0.92) 0 4px, transparent 5px),
    radial-gradient(circle at 24% 72%, rgba(255, 255, 255, 0.7) 0 3px, transparent 4px),
    linear-gradient(145deg, var(--yellow), #f7a873);
  align-content: center;
  justify-items: center;
  text-align: center;
}

.member-initial {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 92px;
  line-height: 0.9;
}

.member-photo-placeholder small {
  margin-top: 18px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.member-identity {
  display: flex;
  min-width: 0;
  padding: 30px;
  flex-direction: column;
  justify-content: center;
}

.member-identity strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
}

.member-card-prompt {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.member-toggle {
  display: grid;
  width: 34px;
  height: 34px;
  margin: 24px 20px 0 0;
  border: 1px solid rgba(16, 40, 58, 0.18);
  border-radius: 50%;
  color: var(--coral);
  place-items: center;
  font-size: 25px;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.member-card[open] .member-toggle {
  background: white;
  transform: rotate(45deg);
}

.member-profile {
  padding: 22px 30px 26px 200px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.member-profile p {
  margin: 0;
}

.members-note {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 13px;
}

.involved {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
}

.involved-inner {
  max-width: var(--max);
}

.involved-heading {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.involved-heading h2 {
  color: var(--navy);
}

.involved .eyebrow {
  color: var(--coral);
}

.involved-heading > p:last-child {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.action-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(16, 40, 58, 0.07);
  color: var(--navy);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

a.action-card:hover {
  border-color: var(--coral);
  box-shadow: 0 24px 54px rgba(16, 40, 58, 0.12);
  transform: translateY(-3px);
}

.action-number {
  display: grid;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
}

.action-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.08;
}

.action-card p {
  margin: 15px 0;
  color: var(--muted);
  font-size: 15px;
}

.action-card small {
  display: block;
  margin-top: 14px;
  color: var(--coral);
  font-weight: 800;
}

.action-card .inline-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 2px;
  color: var(--navy);
  font-weight: 900;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.action-card .inline-action:hover {
  color: var(--coral);
}

.action-pending {
  border-style: dashed;
}

.privacy-note {
  max-width: 100%;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.privacy-note strong {
  color: var(--navy);
}

.volunteer-form-panel {
  margin-top: 30px;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow);
  scroll-margin-top: 106px;
}

.volunteer-form-copy {
  max-width: 820px;
  margin: 0 auto 22px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 24px;
  background: var(--cream);
  text-align: center;
}

.volunteer-form-copy h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.volunteer-form-copy > p:not(.eyebrow):not(.privacy-note) {
  margin: 22px 0 0;
  color: var(--muted);
}

.volunteer-application {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.form-section {
  display: grid;
  gap: 24px;
  min-width: 0;
  margin: 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(16, 40, 58, 0.18);
  border-radius: 24px;
  background: white;
}

.form-section > legend {
  padding: 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 700;
}

.form-section > legend span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--yellow);
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.form-grid {
  display: grid;
  gap: 20px;
}

.form-grid.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-row {
  grid-column: 1 / -1;
}

.form-field {
  display: grid;
  gap: 9px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}

.form-field > span small,
.choice-fieldset legend small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.form-field b,
.choice-fieldset b,
.consent-check b {
  color: var(--coral);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(16, 40, 58, 0.26);
  border-radius: 13px;
  outline: none;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.form-field textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.55;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--coral);
  background: white;
  box-shadow: 0 0 0 4px rgba(239, 111, 82, 0.14);
}

.form-field [aria-invalid="true"],
.choice-fieldset.has-error {
  border-color: #a32828;
  box-shadow: 0 0 0 3px rgba(163, 40, 40, 0.1);
}

.choice-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-fieldset > legend {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-grid-single {
  grid-template-columns: 1fr;
}

.choice-grid label,
.consent-check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid rgba(16, 40, 58, 0.2);
  border-radius: 13px;
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.choice-grid label:has(input:checked),
.consent-check:has(input:checked) {
  border-color: var(--coral);
  background: rgba(255, 214, 90, 0.22);
}

.choice-grid input,
.consent-check input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: var(--coral);
}

.compact-choice {
  max-width: 520px;
}

.role-note {
  padding: clamp(22px, 3vw, 30px);
  border-left: 5px solid var(--yellow);
  border-radius: 0 18px 18px 0;
  background: var(--cream);
}

.role-note h4 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.role-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.role-note p + p {
  margin-top: 12px;
}

.accommodation-field {
  padding: 20px;
  border: 1px solid rgba(16, 40, 58, 0.18);
  border-radius: 16px;
  background: rgba(255, 214, 90, 0.16);
}

.accommodation-field[hidden],
.bot-field[aria-hidden="true"] {
  display: none;
}

.safety-grid {
  display: grid;
  gap: 22px;
}

.field-error,
.form-status {
  margin: 10px 0 0;
  color: #8f2020;
  font-size: 13px;
  font-weight: 800;
}

.form-submit {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 24px;
  background: var(--navy);
  color: white;
}

.form-submit .consent-check {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
}

.form-submit .consent-check:has(input:checked) {
  border-color: var(--yellow);
  background: rgba(255, 214, 90, 0.14);
}

.form-submit > p:last-child {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.success-page {
  background: var(--cream);
}

.success-header {
  justify-content: center;
}

.success-main {
  display: grid;
  min-height: 76vh;
  padding: 150px 24px 80px;
  place-items: center;
}

.success-card {
  width: min(760px, 100%);
  padding: clamp(36px, 7vw, 76px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: white;
  box-shadow: var(--shadow);
  text-align: center;
}

.success-spark {
  display: inline-grid;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  place-items: center;
  font-size: 32px;
}

.success-card h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.success-card > p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--muted);
  line-height: 1.65;
}

.success-card .success-note {
  font-size: 14px;
}

.success-actions {
  justify-content: center;
  margin-top: 30px;
}

.button-outline {
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
}

.support {
  background: var(--yellow);
}

.support-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.7fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
}

.support-card > div:first-child > p:last-child {
  max-width: 680px;
  margin: 24px 0 0;
  color: #3a4c58;
}

.support-details {
  padding: 28px;
  border-radius: 24px;
  background: var(--navy);
  color: white;
}

.support-details p {
  margin: 0;
  padding: 0 0 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.support-details p + p {
  padding-top: 17px;
}

.support-details span {
  color: rgba(255, 255, 255, 0.76);
}

.support-details .button {
  width: 100%;
  margin-top: 14px;
}

.support-details > small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.45;
}

.partners {
  background: var(--paper);
}

.partner-heading {
  max-width: 940px;
  margin-bottom: 40px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.partner-card {
  display: flex;
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.partner-card img {
  width: min(330px, 80%);
  max-height: 108px;
  object-fit: contain;
}

.partner-sweet-hut img {
  width: 132px;
  max-height: 132px;
  border-radius: 50%;
}

.partner-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.partner-card .partner-label {
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.partner-card h3 {
  margin: 5px 0 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.partner-text-only {
  background:
    radial-gradient(circle at 82% 24%, rgba(255, 214, 90, 0.72) 0 9%, transparent 9.5%),
    radial-gradient(circle at 18% 72%, rgba(239, 118, 93, 0.3) 0 12%, transparent 12.5%),
    var(--cream);
}

.partner-placeholder {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 22px;
  justify-items: start;
  text-align: left;
  border-style: dashed;
  background: var(--cream);
}

.partner-placeholder > span {
  display: grid;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  font-size: 38px;
  place-items: center;
}

.partner-placeholder strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.partner-placeholder p {
  margin-top: 5px;
}

.connect {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  background: var(--sage);
}

.connect > * {
  width: 100%;
}

.connect-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin: 22px 0 0;
  color: #40564b;
}

.connect-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.connect-links a {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 18px;
  align-items: center;
  border: 2px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.connect-links a:first-child {
  background: var(--navy);
  color: white;
}

.social-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.social-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: var(--navy);
  color: white;
  aspect-ratio: 1;
  text-decoration: none;
}

.social-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease, opacity 360ms ease;
}

.social-tile span {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(16, 40, 58, 0.88);
  color: white;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.social-tile:hover img,
.social-tile:focus-visible img {
  opacity: 0.82;
  transform: scale(1.04);
}

.social-tile:hover span,
.social-tile:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.pathways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 max(4vw, 24px) clamp(76px, 9vw, 126px);
  background: var(--sage);
}

.pathway-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 210px;
  padding: clamp(24px, 3vw, 38px);
  border: 2px solid transparent;
  border-radius: 28px;
  color: var(--navy);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(16, 40, 58, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pathway-card:hover,
.pathway-card:focus-visible {
  border-color: var(--navy);
  box-shadow: 0 20px 42px rgba(16, 40, 58, 0.16);
  transform: translateY(-5px);
}

.pathway-community { background: var(--yellow); }
.pathway-moments { background: white; }
.pathway-together { background: var(--coral-bright); }

.pathway-icon {
  display: grid;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 23px;
  place-items: center;
}

.pathway-card > span:nth-child(2) {
  display: grid;
  gap: 8px;
}

.pathway-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1;
}

.pathway-card small {
  color: rgba(16, 40, 58, 0.78);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.pathway-arrow {
  font-size: 30px;
  transition: transform 180ms ease;
}

.pathway-card:hover .pathway-arrow,
.pathway-card:focus-visible .pathway-arrow {
  transform: translateX(5px);
}

.donate-hero {
  overflow: hidden;
  background: var(--navy);
  color: white;
}

.donate-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: center;
  min-height: min(720px, calc(100vh - 86px));
  width: min(var(--max), 92vw);
  margin: 0 auto;
  padding: clamp(82px, 10vw, 132px) 0;
}

.donate-hero-copy h1 {
  max-width: 880px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 7.2vw, 104px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.donate-hero-copy h1 em {
  color: var(--yellow);
  font-weight: 500;
}

.donate-hero-copy > p:not(.eyebrow) {
  max-width: 700px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 1.7vw, 23px);
}

.donate-hero-copy .button {
  margin-top: 32px;
}

.donate-glow {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50% 50% 46% 54% / 54% 43% 57% 46%;
  background: radial-gradient(circle at 50% 44%, rgba(255, 214, 90, 0.92), rgba(239, 118, 93, 0.68) 37%, rgba(255, 255, 255, 0.08) 68%);
  box-shadow: 0 0 90px rgba(255, 214, 90, 0.2);
  place-items: center;
}

.donate-glow::before,
.donate-glow::after {
  position: absolute;
  z-index: -1;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  content: "";
}

.donate-glow::before { top: 16px; right: -10px; }
.donate-glow::after { bottom: 10px; left: -20px; }

.donate-glow strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
}

.donate-glow > span {
  position: absolute;
  color: white;
  font-size: 26px;
}

.donate-glow > span:nth-child(1) { top: 15%; left: 13%; }
.donate-glow > span:nth-child(2) { top: 16%; right: 17%; color: var(--navy); }
.donate-glow > span:nth-child(3) { right: 13%; bottom: 18%; }
.donate-glow > span:nth-child(4) { bottom: 14%; left: 18%; color: var(--navy); }

.giving { background: var(--paper); }

.giving-heading {
  max-width: 950px;
  margin-bottom: 46px;
}

.giving-heading > p:last-child {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
}

.giving-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.giving-grid-single {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.giving-card {
  position: relative;
  display: flex;
  min-height: 510px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--cream);
  flex-direction: column;
  box-shadow: var(--shadow);
}

.giving-card-paypal { background: var(--sky); }

.giving-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.giving-card-top .eyebrow { margin: 0; }

.giving-mark {
  display: grid;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  place-items: center;
}

.giving-card h3 {
  margin: 30px 0 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
}

.giving-card > p {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
}

.pending-detail {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 2px dashed rgba(183, 71, 50, 0.45);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
}

.pending-detail strong {
  color: var(--coral);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pending-detail span {
  color: var(--muted);
  font-size: 14px;
}

.verified-detail {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(16, 92, 66, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.verified-detail strong {
  color: #195f49;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.verified-detail span {
  color: var(--muted);
  font-size: 14px;
}

.paypal-current-method {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 24px;
}

.paypal-current-method img {
  width: 150px;
  height: auto;
  aspect-ratio: 1;
  border: 8px solid white;
  border-radius: 18px;
  background: white;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(16, 40, 58, 0.12);
}

.paypal-current-method p,
.paypal-current-method small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.paypal-current-method .button {
  margin-top: 16px;
}

.qr-placeholder {
  display: grid;
  grid-template-columns: 44px auto;
  gap: 12px;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 14px 18px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
}

.qr-placeholder > span {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: white;
  color: var(--coral);
  font-size: 24px;
  place-items: center;
}

.qr-placeholder small {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.button-disabled {
  align-self: flex-start;
  margin-top: auto;
  border-color: rgba(16, 40, 58, 0.22);
  background: rgba(255, 255, 255, 0.54);
  color: rgba(16, 40, 58, 0.62);
  cursor: not-allowed;
}

.button-disabled:hover {
  box-shadow: none;
  transform: none;
}

.support-helps { background: var(--yellow); }

.support-helps .split-heading > p { color: #4d513e; }

.help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.help-grid article {
  min-height: 240px;
  padding: 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.75);
}

.help-grid span {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.help-grid h3 {
  margin: 38px 0 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.1;
}

.help-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.donation-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--coral-bright);
}

.donation-contact > * {
  margin-right: 0;
  margin-left: 0;
}

.donation-contact > div { max-width: 790px; }

.donation-contact h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.donation-contact p:last-child {
  margin: 18px 0 0;
  color: rgba(16, 40, 58, 0.82);
}

.donation-contact .button-primary {
  flex: 0 0 auto;
  background: var(--navy);
  color: white;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
  padding: 34px max(4vw, 24px);
  background: var(--navy);
  color: white;
}

.footer-brand {
  color: white;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.footer-brand small,
footer p {
  color: rgba(255, 255, 255, 0.7);
}

footer p {
  margin: 0;
  font-size: 14px;
}

footer > div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

footer > div a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  text-underline-offset: 4px;
}

@media (max-width: 1100px) {
  .primary-navigation a {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 13px;
  }

  .program-card {
    grid-template-columns: 145px minmax(0, 1fr);
  }

  .leader {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .action-card {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 22px;
  }
}

@media (max-width: 899px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header,
  .site-header.is-scrolled {
    min-height: 72px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .capture-mode .site-header,
  .capture-mode .site-header.is-scrolled {
    min-height: 72px;
  }

  .capture-mode .site-header.is-scrolled .brand img {
    width: 48px;
    height: 48px;
  }

  .brand img,
  .is-scrolled .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 21px;
  }

  .brand small {
    display: none;
  }

  .menu-button {
    position: relative;
    z-index: 103;
    display: inline-flex;
    min-width: 88px;
    min-height: 48px;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    background: var(--navy);
    color: white;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
  }

  .menu-icon {
    display: grid;
    gap: 4px;
  }

  .menu-icon i {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-is-open .menu-icon i:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-is-open .menu-icon i:nth-child(2) {
    opacity: 0;
  }

  .menu-is-open .menu-icon i:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-navigation {
    position: fixed;
    z-index: 102;
    top: 0;
    right: 0;
    display: flex;
    width: min(380px, 88vw);
    height: 100dvh;
    padding: 96px 24px 28px;
    background: var(--cream);
    box-shadow: -24px 0 70px rgba(16, 40, 58, 0.2);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    overflow-y: auto;
    transform: translateX(106%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms linear;
  }

  .primary-navigation.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .primary-navigation a {
    min-height: 52px;
    padding: 13px 16px;
    border-radius: 12px;
    justify-content: flex-start;
    font-size: 17px;
  }

  .primary-navigation .support-link {
    margin-top: 8px;
    justify-content: center;
  }

  .nav-backdrop {
    position: fixed;
    z-index: 99;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(6, 20, 30, 0.58);
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms linear;
  }

  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  .hero,
  .hero-copy {
    min-height: min(720px, calc(100svh - 72px));
  }

  .hero-copy {
    padding-top: 80px;
    padding-bottom: 90px;
  }

  .hero h1 {
    max-width: 680px;
    font-size: clamp(58px, 12vw, 88px);
  }

  .hero-lead {
    max-width: 570px;
  }

  .mission-grid,
  .support-card,
  .connect {
    grid-template-columns: 1fr;
  }

  .mission-photo {
    width: min(570px, 92%);
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .program-grid,
  .leader-grid {
    grid-template-columns: 1fr;
  }

  .moment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lightbox {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .action-card {
    min-height: 0;
  }

  .volunteer-form-panel {
    padding: 18px;
  }

  .support-details {
    max-width: 620px;
  }

  .connect {
    gap: 46px;
  }

  .social-preview {
    width: min(660px, 100%);
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p {
    display: none;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .hero,
  .hero-copy {
    min-height: 650px;
  }

  .hero-photo {
    object-position: 56% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 27, 42, 0.91) 0%, rgba(8, 27, 42, 0.66) 100%),
      linear-gradient(0deg, rgba(8, 27, 42, 0.5), transparent);
  }

  .hero-copy {
    width: calc(100% - 40px);
    padding-top: 68px;
    padding-bottom: 78px;
    justify-content: flex-end;
  }

  .hero h1 {
    font-size: clamp(50px, 16.5vw, 68px);
    line-height: 0.94;
  }

  .hero-lead {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.5;
  }

  .button-row {
    width: 100%;
    margin-top: 26px;
  }

  .button-row .button {
    flex: 1 1 150px;
  }

  .member-card summary {
    min-height: 176px;
    grid-template-columns: 112px minmax(0, 1fr) 38px;
  }

  .member-photo-placeholder {
    min-height: 176px;
    padding: 18px 10px;
  }

  .member-initial {
    font-size: 68px;
  }

  .member-photo-placeholder small {
    margin-top: 12px;
    font-size: 9px;
  }

  .member-identity {
    padding: 22px 18px;
  }

  .member-identity strong {
    font-size: 34px;
  }

  .member-card-prompt {
    margin-top: 12px;
  }

  .member-toggle {
    width: 30px;
    height: 30px;
    margin: 18px 12px 0 0;
  }

  .member-profile {
    padding: 20px 22px 23px;
  }

  .hero-note {
    display: none;
  }

  .section-heading h2,
  .support h2,
  .connect h2 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .mission-heading {
    margin-bottom: 36px;
  }

  .mission-grid {
    gap: 44px;
  }

  .mission-photo {
    width: 92%;
  }

  .rounded-photo figcaption {
    right: -8%;
    bottom: 20px;
    max-width: 230px;
    padding: 15px 17px;
    font-size: 16px;
  }

  .mission-copy .lead {
    font-size: 28px;
    line-height: 1.25;
  }

  .mission-points article {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .program-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .program-card img,
  .program-graphic .program-mark {
    min-height: 0;
    height: 210px;
  }

  .program-copy {
    padding: 24px;
  }

  .current-activity-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .moment-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
    gap: 10px;
  }

  .moment-feature {
    grid-column: span 2;
    grid-row: span 2;
  }

  .moment-tall {
    grid-row: span 2;
  }

  .moment-wide,
  .moment-round {
    border-radius: 22px;
  }

  .moment-placeholder {
    grid-column: 1 / span 2;
    min-height: 170px;
    aspect-ratio: auto;
  }

  .moment figcaption {
    right: 9px;
    bottom: 9px;
    left: 9px;
    padding: 10px 12px;
    font-size: 14px;
  }

  .moment-view {
    top: 9px;
    right: 9px;
    opacity: 1;
    transform: none;
  }

  .lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) 52px;
    gap: 12px;
    padding: 70px 18px 18px;
  }

  .lightbox-frame {
    grid-column: 1 / -1;
    grid-row: 1;
    max-height: calc(100dvh - 148px);
  }

  .lightbox-frame img {
    max-height: calc(100dvh - 220px);
    border-radius: 12px;
  }

  .lightbox-prev,
  .lightbox-next {
    grid-row: 2;
  }

  .lightbox-prev {
    grid-column: 1;
    justify-self: end;
  }

  .lightbox-next {
    grid-column: 2;
    justify-self: start;
  }

  .lightbox-nav {
    width: 48px;
    height: 48px;
  }

  .lightbox-close {
    top: 12px;
    right: 14px;
    width: 46px;
    height: 46px;
  }

  .future-media {
    min-height: 0;
  }

  .leader {
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 210px;
  }

  .leader > img,
  .leader-placeholder {
    min-height: 210px;
  }

  .leader-placeholder strong {
    font-size: 62px;
  }

  .leader-placeholder small {
    max-width: 90px;
    text-align: center;
  }

  .leader > div:last-child {
    padding: 20px;
  }

  .leader h3 {
    font-size: 27px;
  }

  .leader div > p:last-child:not(.leader-role) {
    font-size: 14px;
  }

  .founder-story summary {
    padding: 21px 22px;
  }

  .founder-story-body {
    padding: 2px 22px 22px;
    columns: auto;
  }

  .action-card {
    padding: 22px 20px;
  }

  .volunteer-form-panel {
    padding: 12px;
    border-radius: 25px;
  }

  .volunteer-form-copy {
    padding: 28px 22px;
    border-radius: 19px;
  }

  .form-grid.two-columns,
  .choice-grid,
  .choice-grid-two,
  .choice-grid-three {
    grid-template-columns: 1fr;
  }

  .form-section {
    padding: 22px 18px;
    border-radius: 19px;
  }

  .form-section > legend {
    padding: 0 7px;
    font-size: 25px;
  }

  .form-section > legend span {
    width: 34px;
    height: 34px;
  }

  .form-submit {
    padding: 24px 18px;
    border-radius: 19px;
  }

  .form-submit .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .success-main {
    padding: 118px 16px 54px;
  }

  .success-card {
    padding: 36px 22px;
    border-radius: 24px;
  }

  .success-actions .button {
    width: 100%;
    justify-content: center;
  }

  .support-card {
    gap: 34px;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: 180px;
  }

  .social-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 8px;
  }

  .social-preview span {
    font-size: 10px;
  }

  .connect-links {
    align-items: stretch;
    flex-direction: column;
  }

  .connect-links a {
    justify-content: center;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer > div {
    align-items: flex-start;
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .menu-button {
    min-width: 82px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .leader {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .leader > div:last-child {
    padding: 17px;
  }

  .leader h3 {
    font-size: 24px;
  }

  .member-card summary {
    grid-template-columns: 102px minmax(0, 1fr) 34px;
  }

  .member-identity {
    padding-right: 10px;
    padding-left: 15px;
  }

  .member-identity strong {
    font-size: 30px;
  }

  .member-toggle {
    width: 28px;
    height: 28px;
    margin-right: 8px;
  }

  .partner-placeholder {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 22px;
  }

  .partner-placeholder > span {
    width: 56px;
    height: 56px;
  }

  .social-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .pathways {
    grid-template-columns: 1fr;
  }

  .pathway-card {
    min-height: 150px;
  }

  .donate-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .donate-glow {
    width: min(430px, 86vw);
    min-height: 340px;
    margin: 0 auto;
  }

  .giving-grid {
    grid-template-columns: 1fr;
  }

  .giving-card {
    min-height: 460px;
  }

  .help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donation-contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .pathways {
    padding-right: 20px;
    padding-left: 20px;
  }

  .pathway-card {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 13px;
    min-height: 145px;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .pathway-icon {
    width: 44px;
    height: 44px;
  }

  .pathway-card strong {
    font-size: 29px;
  }

  .pathway-card small {
    font-size: 13px;
  }

  .donate-hero-inner {
    width: calc(100% - 40px);
    padding: 68px 0 76px;
  }

  .donate-hero-copy h1 {
    font-size: clamp(48px, 14vw, 64px);
  }

  .donate-hero-copy > p:not(.eyebrow) {
    font-size: 17px;
  }

  .donate-glow {
    width: min(300px, 84vw);
    min-height: 280px;
  }

  .giving-card {
    min-height: 0;
    padding: 26px 22px;
  }

  .qr-placeholder,
  .button-disabled {
    margin-top: 34px;
  }

  .paypal-current-method {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
  }

  .paypal-current-method img {
    width: 112px;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .help-grid article {
    min-height: 0;
  }

  .help-grid h3 {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Content stays visible by default; only entering elements animate. */
@keyframes firefly-reveal {
  from { opacity: 0.65; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .is-revealing {
    animation: firefly-reveal 520ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
  }
}

/* Focus, print, and capture views must never wait for an animation. */
.is-revealing:focus-within,
.capture-mode .is-revealing {
  animation: none;
}

@media print {
  .is-revealing { animation: none !important; }
}

/* Contact reuses the volunteer form layout and its responsive controls. */
.contact-form-section {
  scroll-margin-top: 106px;
}

.contact-form-section .volunteer-form-panel {
  margin-top: 0;
}

.contact-form-section .volunteer-form-copy h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.contact-application .form-status {
  color: #ffb4a5;
}

.contact-action-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.contact-email-link,
.contact-email-fallback {
  font-size: 14px;
}

.contact-email-fallback {
  margin-top: 24px;
  overflow-wrap: anywhere;
}

.contact-email-link,
.contact-email-fallback a {
  text-underline-offset: 3px;
}

/* The front determines the original card size; the gallery occupies that space. */
.program-card[data-program-gallery] {
  display: block;
  perspective: 1200px;
}

.program-flip-inner {
  position: relative;
  height: 100%;
  min-height: 278px;
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.program-front {
  display: grid;
  grid-template-columns: minmax(160px, 0.72fr) minmax(0, 1.28fr);
  min-height: inherit;
  height: 100%;
  background: var(--paper);
  transform: rotateY(0deg);
}

.program-front,
.program-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.program-front-media {
  position: relative;
  min-width: 0;
  min-height: 0;
}

.program-front-media > img {
  position: absolute;
  inset: 0;
}

.program-view {
  align-self: flex-end;
  margin-top: 12px;
  min-width: 124px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid rgba(255, 248, 239, 0.65);
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.program-back {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  background: var(--navy);
  color: var(--cream);
  transform: rotateY(180deg);
}

.program-gallery-toolbar {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
}

.program-gallery-toolbar > span {
  display: none;
}

.program-return {
  flex-shrink: 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 248, 239, 0.5);
  border-radius: 999px;
  background: rgba(16, 40, 58, 0.9);
  color: var(--cream);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.program-gallery-stage {
  position: relative;
  min-height: 0;
  margin: 0;
}

.program-gallery-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.program-arrow {
  position: absolute;
  top: 42%;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 248, 239, 0.7);
  border-radius: 50%;
  background: rgba(16, 40, 58, 0.9);
  color: var(--cream);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.program-previous { left: 12px; }
.program-next { right: 12px; }

.program-gallery-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(16, 40, 58, 0.9);
  color: var(--cream);
  font-size: 12px;
  line-height: 1.45;
  pointer-events: none;
}

.program-gallery-counter {
  flex-shrink: 0;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.program-card.is-gallery-open .program-flip-inner { transform: rotateY(180deg); }
.program-card [hidden] { display: none !important; }
.program-back button:focus-visible,
.program-view:focus-visible { outline-color: var(--yellow); outline-offset: 3px; }

@keyframes program-photo-enter {
  from { opacity: 0.75; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .program-gallery-stage > img.is-photo-changing { animation: program-photo-enter 180ms ease-out; }
}

@media (max-width: 1100px) {
  .program-front { grid-template-columns: 145px minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .program-flip-inner { min-height: 0; }
  .program-front { grid-template-columns: 1fr; }
  .program-front-media { height: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  .program-card .program-flip-inner,
  .program-card.is-gallery-open .program-flip-inner,
  .program-card .program-front,
  .program-card .program-back { transform: none; transition: none; }
  .program-back { visibility: hidden; }
  .program-card.is-gallery-open .program-front { visibility: hidden; }
  .program-card.is-gallery-open .program-back { visibility: visible; }
}

@media print {
  .program-card .program-flip-inner,
  .program-card .program-front { transform: none !important; visibility: visible !important; }
  .program-back,
  .program-view { display: none !important; }
}

.giving-card-zelle .zelle-email {
  overflow-wrap: anywhere;
  user-select: text;
  color: var(--navy);
}
.giving-card-zelle .button { align-self: flex-start; }
.giving-card-zelle .zelle-status {
  min-height: 1.5em;
  margin-bottom: 0;
  font-size: 14px;
}
.giving-card-zelle { min-height: 0; } .giving-card-zelle .button { margin-top: 24px; } .giving-card-zelle [hidden] { display: none; }

.zelle-qr { margin: 24px 0 0; }
.zelle-qr img {
  display: block;
  width: min(100%, 300px);
  height: auto;
  border-radius: 12px;
}
.zelle-qr figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }
.zelle-qr { width: min(100%, 320px); align-self: center; text-align: center; }
.zelle-qr img { width: 100%; max-width: 320px; height: auto; object-fit: contain; border-radius: 0; background: white; }
.zelle-qr > a { display: block; }
.zelle-qr figcaption a { display: inline-block; margin-top: 8px; text-underline-offset: 3px; }

/* Selected fencing photos: retain the whole frame and reserve space for controls. */
[data-program="taste-of-fencing"] .program-gallery-stage > img {
  inset: 8px 52px 76px;
  width: calc(100% - 104px);
  height: calc(100% - 84px);
  object-fit: contain;
}
[data-program="taste-of-fencing"] .program-arrow { top: calc(50% - 8px); }
[data-program="taste-of-fencing"] .program-previous { left: 4px; }
[data-program="taste-of-fencing"] .program-next { right: 4px; }
[data-program="taste-of-fencing"] .program-gallery-caption { min-height: 68px; }

/* Program Gallery page: empty sections and reusable future photo grid. */
.program-gallery-page { background: var(--cream); }
.gallery-page-intro { padding-bottom: 32px; }
.gallery-page-intro h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.gallery-page-intro > p:not(.eyebrow) { max-width: 650px; margin: 24px 0; }
.gallery-section-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.gallery-section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  background: var(--paper);
  font-weight: 700;
  text-decoration: none;
}
.gallery-section-nav a:hover { background: var(--yellow); }
.gallery-programs { padding-top: 0; display: grid; gap: 28px; }
.gallery-program-section {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  scroll-margin-top: 24px;
}
.gallery-program-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.1;
}
.gallery-program-heading > p:last-child { max-width: 700px; margin: 18px 0 26px; }
.program-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 20px;
}
.program-gallery-grid img { display: block; width: 100%; height: auto; border-radius: 18px; }
.gallery-empty-state {
  display: grid;
  place-items: center;
  min-height: 140px;
  margin: 0;
  padding: 24px;
  border: 2px dashed rgba(16, 40, 58, 0.3);
  border-radius: 20px;
  background: var(--cream);
  color: var(--navy);
  font-weight: 700;
  text-align: center;
}
.program-gallery-page a:focus-visible,
.gallery-program-section:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
/* One selected gallery at a time; no panel is shown before a selection. */
.gallery-section-nav button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--navy); border-radius: 999px; color: var(--navy);
  background: var(--paper); font: inherit; font-weight: 700; cursor: pointer;
}
.gallery-section-nav button:hover { background: var(--yellow); }
.gallery-section-nav button[aria-selected="true"] { background: var(--navy); color: var(--cream); }
.gallery-section-nav button:focus-visible, .gallery-tab-panel:focus-visible {
  outline: 3px solid var(--coral); outline-offset: 4px;
}
.gallery-tab-panel[hidden], .gallery-browse-controls[hidden] { display: none; }
.gallery-program-content > p:first-child { max-width: 700px; margin: 22px 0 26px; }
.gallery-tab-panel .program-gallery-grid:not(:empty) {
  grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(85%, 360px);
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 6px 18px;
}
.gallery-tab-panel .program-gallery-grid > * { min-width: 0; scroll-snap-align: start; }
.gallery-browse-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 18px; }
.gallery-browse-controls button:disabled { opacity: 0.55; cursor: default; }
.gallery-tab-panel .gallery-empty-state[hidden] { display: none; }

/* Past Program Highlights: give each photo card a wide image with its copy below. */
.program-card[data-program-gallery] {
  min-height: 460px;
}
.program-card[data-program-gallery] .program-front {
  display: flex;
  flex-direction: column;
}
.program-card[data-program-gallery] .program-front-media {
  flex: 0 0 280px;
  height: 280px;
  width: 100%;
}
.program-card[data-program-gallery] .program-copy {
  flex: 1 1 auto;
  justify-content: flex-start;
  padding: 20px 28px 18px;
}
.program-card[data-program-gallery] .program-view {
  margin-top: 14px;
}
@media (max-width: 620px) {
  .program-card[data-program-gallery] { min-height: 0; }
  .program-card[data-program-gallery] .program-front-media {
    flex-basis: 240px;
    height: 240px;
  }
  .program-card[data-program-gallery] .program-copy { padding: 20px 24px 18px; }
}

/* Taste of Fencing uses one large image at a time with simple left/right controls. */
.gallery-carousel-panel .program-gallery-grid.gallery-carousel {
  display: block;
  grid-template-columns: none;
  grid-auto-flow: initial;
  overflow: hidden;
  padding: 6px;
}
.gallery-carousel-panel .gallery-photo {
  display: none;
  margin: 0;
}
.gallery-carousel-panel .gallery-photo.is-active {
  display: block;
}
.gallery-carousel-panel .gallery-photo img {
  width: 100%;
  max-height: min(58vh, 560px);
  object-fit: contain;
  background: var(--cream, #fff8ef);
  margin-inline: auto;
}
.gallery-carousel-panel .gallery-browse-controls {
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 620px) {
  .gallery-carousel-panel .program-gallery-grid.gallery-carousel { padding-inline: 0; }
  .gallery-carousel-panel .gallery-photo img { max-height: 50vh; }
}

/* Taste of Fencing carousel pagination dots. */
.gallery-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px auto 4px;
}
.gallery-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(26, 42, 68, 0.35);
  border-radius: 50%;
  background: #aeb5bd;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.gallery-carousel-dot:hover,
.gallery-carousel-dot:focus-visible {
  transform: scale(1.25);
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}
.gallery-carousel-dot.is-active {
  background: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 1px rgba(26, 42, 68, 0.35);
}
@media (prefers-reduced-motion: reduce) {
  .gallery-carousel-dot { transition: none; }
}

/* Journey to Robotics uses a responsive thumbnail grid that opens the existing lightbox. */
.gallery-lightbox-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)) !important;
  grid-auto-flow: row !important;
  gap: 20px;
  overflow: visible !important;
  padding: 6px !important;
  scroll-snap-type: none !important;
}
.gallery-lightbox-grid .gallery-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}
.gallery-lightbox-grid .gallery-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.gallery-lightbox-grid .gallery-photo:hover img,
.gallery-lightbox-grid .gallery-photo:focus-visible img {
  transform: scale(1.02);
}
.gallery-lightbox-grid .gallery-photo:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .gallery-lightbox-grid .gallery-photo img { transition: none; }
}

/* Music Therapy carousel thumbnails retain the same large-image treatment while opening the lightbox. */
.gallery-carousel-panel .gallery-photo[data-lightbox-open] {
  display: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}
.gallery-carousel-panel .gallery-photo[data-lightbox-open].is-active { display: block; }
.gallery-carousel-panel .gallery-photo[data-lightbox-open]:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

/* Private gallery photo submissions. */
.photo-submission-section { scroll-margin-top: 110px; }
.photo-submission-panel { align-items: start; }
.photo-submission-panel .privacy-note { margin-top: 22px; color: var(--navy); font-size: 0.92rem; }
.photo-submission-form { min-width: 0; }
.photo-upload-fieldset { margin: 22px 0 20px; padding: 18px; border: 1px solid rgba(17, 42, 68, 0.18); border-radius: 18px; }
.photo-upload-fieldset legend { padding: 0 8px; font-weight: 700; color: var(--navy); }
.photo-upload-note { margin: 0 0 14px; font-size: 0.9rem; color: rgba(17, 42, 68, 0.78); }
.photo-upload-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.photo-upload { display: grid; gap: 8px; min-height: 118px; padding: 16px; border: 1px dashed rgba(17, 42, 68, 0.35); border-radius: 14px; background: rgba(255, 255, 255, 0.45); color: var(--navy); cursor: pointer; }
.photo-upload > span { font-weight: 700; font-size: 0.9rem; }
.photo-upload input[type="file"] { width: 100%; min-width: 0; font: inherit; color: var(--navy); }
.photo-upload input[type="file"]::file-selector-button { margin-right: 8px; padding: 8px 10px; border: 0; border-radius: 8px; background: var(--navy); color: #fff; font: inherit; cursor: pointer; }
.photo-upload:focus-within { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(214, 93, 80, 0.2); }
.photo-permission { margin: 18px 0; }
@media (max-width: 760px) { .photo-upload-grid { grid-template-columns: 1fr; } .photo-upload { min-height: 0; } }

.photo-thank-you-page .thank-you-section,
.thank-you-section { max-width: 760px; margin-inline: auto; text-align: center; }
.thank-you-section h1 { max-width: 760px; margin-inline: auto; }
.thank-you-section p:not(.eyebrow) { max-width: 620px; margin: 20px auto 28px; }
