:root {
  --bg: #f4fbf6;
  --bg-alt: #e6f4ea;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --text: #123321;
  --muted: #557162;
  --emerald: #1f8a4c;
  --leaf: #4eba72;
  --lime: #c5e889;
  --gold: #6ea76a;
  --coral: #86c48f;
  --ink: #0f2217;
  --line: rgba(19, 51, 33, 0.12);
  --shadow: 0 18px 50px rgba(19, 51, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 138, 76, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(78, 186, 114, 0.12), transparent 28%),
    linear-gradient(160deg, var(--bg), var(--bg-alt));
  min-height: 100vh;
  overflow-x: hidden;
}

@keyframes heroBackgroundFlash {
  0%, 100% {
    opacity: 0.08;
  }
  50% {
    opacity: 0.14;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--emerald);
  z-index: 1000;
}

.skip-link:focus {
  top: 16px;
}

.bg-orb-a {
  top: -130px;
  left: -120px;
  background: radial-gradient(circle, rgba(31, 138, 76, 0.18), transparent 66%);
}

.bg-orb-b {
  right: -160px;
  top: 180px;
  background: radial-gradient(circle, rgba(78, 186, 114, 0.16), transparent 66%);
  animation-delay: -5s;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(18px, 3vw, 42px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark { display: none; }

.brand-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  padding: 8px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.brand strong,
.section-heading h2,
.hero h1,
.executive-card h3,
.news-card h3,
.membership-panel h3,
.contact-card h3,
.donation-card strong,
.hero-card h2 {
  font-family: 'Fraunces', serif;
}

.brand strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  font-family: 'Fraunces', serif;
}

.site-nav a,
.nav-toggle {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  gap: 8px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-nav a.active {
  background: rgba(31, 138, 76, 0.1);
  border-color: var(--line);
}

.site-nav a:hover,
.nav-toggle:hover {
  transform: translateY(-2px);
  background: rgba(31, 138, 76, 0.08);
  border-color: var(--line);
}

.nav-toggle {
  display: none;
  background: rgba(31, 138, 76, 0.08);
  color: var(--text);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.hero.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 64px;
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 95px);
}

.hero-copy,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--emerald);
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 6.4rem);
  line-height: 0.92;
  max-width: 10ch;
  font-family: 'Fraunces', serif;
}

.hero p,
.section-heading p,
.content-card p,
.quote-card span,
.executive-card p,
.news-card p,
.membership-panel p,
.contact-card p,
.footer p,
.donation-card span {
  color: var(--muted);
  line-height: 1.7;
}

.content-card p,
.about-step-body p,
.about-step-body li,
.quote-card span,
.executive-card p,
.news-card p,
.membership-panel p,
.contact-card p,
.donation-card span {
  word-spacing: normal;
  letter-spacing: normal;
  text-wrap: pretty;
}

.content-card p,
.about-step-body p,
.about-step-body li,
.news-card p,
.membership-panel p,
.contact-card p {
  line-height: 1.8;
}

.btn i,
.pill i,
.eyebrow i {
  font-size: 0.95em;
}

.btn i,
.pill i {
  margin-right: 8px;
}

.eyebrow i {
  margin-right: 6px;
}

.hero p {
  max-width: 62ch;
  margin: 22px 0 0;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 32px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--leaf));
  color: #f8fff9;
  box-shadow: 0 16px 40px rgba(31, 138, 76, 0.18);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-stats article,
.content-card,
.quote-card,
.executive-card,
.news-card,
.membership-panel,
.contact-card,
.donation-card,
.hero-card,
.contact-form {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.hero-stats article {
  padding: 18px;
  border-radius: 22px;
}

.hero-stats strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 6px;
  font-family: 'Fraunces', serif;
}

.hero-flash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 140px;
  grid-auto-flow: dense;
  gap: 12px;
  align-self: center;
}

.hero-flash-card {
  position: relative;
  margin: 0;
  min-height: 140px;
  border-radius: 24px;
  overflow: hidden;
  border: 0;
  background: linear-gradient(135deg, rgba(244, 251, 246, 0.96), rgba(255, 255, 255, 0.92));
  box-shadow: 0 18px 40px rgba(19, 51, 33, 0.08);
  transform: translateY(0) scale(0.985);
  opacity: 0.78;
  transition: opacity 1600ms ease-in-out, transform 1600ms ease-in-out, box-shadow 1600ms ease-in-out, grid-column 1600ms ease-in-out, grid-row 1600ms ease-in-out;
}

.hero-flash-card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 292px;
}

.hero-flash-card:nth-child(4),
.hero-flash-card:nth-child(5) {
  grid-column: span 1;
  grid-row: span 1;
}

.hero-flash-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-flash-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244, 251, 246, 0.88) 0%, rgba(244, 251, 246, 0.22) 48%, rgba(244, 251, 246, 0.02) 74%);
  pointer-events: none;
}

.hero-flash-card.is-flashing {
  opacity: 1;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 26px 56px rgba(31, 138, 76, 0.18);
}

.hero-flash-card.is-featured {
  grid-column: span 2;
  grid-row: span 2;
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 30px 66px rgba(31, 138, 76, 0.2);
}

.hero-flash-card.is-dimmed {
  opacity: 0.45;
  transform: scale(0.96);
}

.hero-flash-grid.is-transitioning .hero-flash-card {
  opacity: 0.55;
}

.hero-flash-grid.is-transitioning .hero-flash-card.is-featured {
  opacity: 1;
}

.hero-flash-grid.is-transitioning .hero-flash-card.is-swapping {
  opacity: 1;
  transform: translateY(-8px) scale(1.04);
}
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 22px;
}

.slider-block {
  display: grid;
  gap: 14px;
}

.section-heading .eyebrow {
  margin-bottom: 0;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
}

.single-line-heading {
  white-space: nowrap;
  font-size: clamp(1.65rem, 2.3vw, 2.2rem) !important;
}

.split-grid,
.news-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

#about .section-heading {
  margin-bottom: 18px;
}

.about-timeline {
  display: grid;
  gap: 20px;
}

.about-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 14px;
  margin: 22px 0 28px;
}

.about-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 180px;
}

.about-gallery-item-large {
  grid-row: span 2;
  min-height: 374px;
}

.about-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-step {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-step-index {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 100%;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(31, 138, 76, 0.08), rgba(78, 186, 114, 0.05));
  color: var(--emerald);
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.about-step-index i {
  font-size: 1.4rem;
}

.about-step-body h3 {
  margin: 0 0 12px;
  font-family: 'Fraunces', serif;
  font-size: 2rem;
}

.about-step-body p {
  margin: 0 0 14px;
  word-spacing: normal;
}

.about-step-body p:last-child {
  margin-bottom: 0;
}

.about-list {
  margin: 14px 0 0;
  padding-left: 0;
  color: var(--muted);
  line-height: 1.7;
  word-spacing: normal;
}

.about-list li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.about-line {
  display: block;
}

.about-list li + li {
  margin-top: 10px;
}

.about-list i,
.about-step-body h3 i {
  color: var(--emerald);
  margin-right: 8px;
}

.about-step-quote blockquote {
  margin: 0;
  padding: 0;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.about-step-quote blockquote span {
  display: block;
  margin-top: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
}

.about-stack {
  display: grid;
  gap: 20px;
}

.about-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card,
.quote-card,
.news-card,
.contact-card,
.membership-panel,
.donation-card {
  border-radius: 28px;
  padding: 26px;
}

.quote-card {
  display: grid;
  align-content: center;
  min-height: 260px;
  background: linear-gradient(145deg, rgba(31, 138, 76, 0.06), rgba(78, 186, 114, 0.04));
}

.quote-card blockquote {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.12;
  font-family: 'Fraunces', serif;
}

.executive-grid,
.donation-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.executive-slider {
  grid-auto-columns: minmax(280px, 320px);
}

.board-slider {
  grid-auto-columns: minmax(280px, 1fr);
}

.page-hero {
  min-height: auto;
  padding-top: 42px;
}

.page-intro {
  display: grid;
  gap: 18px;
}

.page-intro .hero-card {
  align-self: start;
}

.page-hero .hero-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 249, 0.95));
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card-body {
  display: grid;
  gap: 12px;
}

.hero-card-body h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.hero-card-body p {
  margin: 0;
}

.hero-card-media {
  display: grid;
  gap: 14px;
}

.hero-card-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-card-summary > div {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hero-card-summary span {
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--muted);
}

.hero-card-summary strong {
  display: block;
  color: var(--ink);
  font-family: 'Fraunces', serif;
  font-size: 1.06rem;
}

.hero-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px rgba(19, 51, 33, 0.12);
  background: #fff;
}

.news-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-summary-card {
  border-radius: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.news-summary-card h3 {
  margin: 0 0 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
}

.news-summary-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.news-sections {
  display: grid;
  gap: 22px;
}

.news-topic {
  display: grid;
  gap: 14px;
}

.news-topic-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.news-topic-header h3 {
  margin: 6px 0 8px;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.news-topic-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.slider-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(19, 51, 33, 0.08);
}

.slider-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--emerald);
  box-shadow: 0 12px 24px rgba(19, 51, 33, 0.08);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.slider-button:hover,
.slider-button:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--emerald), var(--leaf));
  color: #fff;
  outline: none;
}

.news-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 138, 76, 0.35) transparent;
}

.news-slider.executive-slider {
  grid-auto-columns: minmax(280px, 320px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.news-slider.board-slider {
  grid-auto-columns: minmax(280px, 320px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.news-slider.executive-slider::-webkit-scrollbar,
.news-slider.board-slider::-webkit-scrollbar {
  display: none;
}

.news-slider::-webkit-scrollbar {
  height: 8px;
}

.news-slider::-webkit-scrollbar-thumb {
  background: rgba(31, 138, 76, 0.28);
  border-radius: 999px;
}

.slider-card {
  scroll-snap-align: start;
  min-height: 100%;
}

.board-card {
  display: grid;
  gap: 12px;
}

.board-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(31, 138, 76, 0.12), rgba(78, 186, 114, 0.06));
  color: var(--emerald);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.board-photo-placeholder span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px dashed rgba(31, 138, 76, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.board-card p,
.executive-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.news-summary-card h4 {
  margin: 0 0 12px;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
}

.news-card-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--emerald);
}

.news-meta-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.news-meta-list li + li {
  margin-top: 8px;
}

.gallery-shell {
  margin-top: 12px;
  padding: 18px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(31, 138, 76, 0.06), rgba(255, 255, 255, 0.95));
  box-shadow: var(--shadow);
}

.gallery-shell-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.gallery-shell-header h3 {
  margin: 4px 0 0;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.gallery-shell-header p {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0;
  aspect-ratio: 4 / 3;
  background: #fff;
  box-shadow: 0 16px 32px rgba(19, 51, 33, 0.08);
  cursor: pointer;
}

.gallery-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(15, 34, 23, 0.42));
  opacity: 0.9;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 240ms ease, filter 240ms ease;
  filter: contrast(1.06) saturate(1.05);
}

.gallery-thumb span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
  transform: scale(1.06);
  filter: contrast(1.12) saturate(1.08);
}

.gallery-thumb:focus-visible {
  outline: 2px solid rgba(31, 138, 76, 0.3);
  outline-offset: 3px;
}

.gallery-empty {
  margin: 0;
  padding: 26px;
  border-radius: 22px;
  border: 1px dashed var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 20, 13, 0.76);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 2000;
}

.gallery-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.gallery-modal-image {
  max-width: min(92vw, 1200px);
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  object-fit: contain;
  filter: contrast(1.08) saturate(1.04);
}

.gallery-modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.12)),
    rgba(8, 20, 13, 0.18);
  color: #fff;
  font-size: 1.08rem;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 180ms ease;
  cursor: pointer;
  z-index: 1;
}

.gallery-modal-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gallery-modal-nav:hover:not(:disabled),
.gallery-modal-nav:focus-visible:not(:disabled) {
  transform: translateY(-50%) scale(1.06);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 0 0 8px rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.16)),
    rgba(8, 20, 13, 0.24);
}

.gallery-modal-nav:focus-visible {
  outline: none;
}

.gallery-modal-nav i {
  font-size: 1.35rem;
  line-height: 1;
}

.gallery-modal-prev {
  left: 22px;
}

.gallery-modal-next {
  right: 22px;
}

.gallery-modal-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus-visible {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28);
}

.gallery-modal-close:focus-visible {
  outline: none;
}

.gallery-modal-caption {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
  font-weight: 700;
}

.executive-card,
.news-card {
  border-radius: 28px;
  padding: 24px;
  min-height: 220px;
}

.executive-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.executive-card h3,
.news-card h3,
.membership-panel h3,
.contact-card h3,
.donation-card strong {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1;
}

.executive-card p,
.news-card p,
.contact-card p,
.donation-card span,
.membership-panel p {
  margin: 0;
  word-spacing: normal;
}

.news-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 138, 76, 0.08);
  color: var(--emerald);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.membership-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, rgba(31, 138, 76, 0.06), rgba(78, 186, 114, 0.04));
}

.membership-copy {
  display: grid;
  gap: 16px;
}

.membership-copy p {
  margin: 0;
}

.membership-media {
  margin: 0;
  width: min(100%, 340px);
  justify-self: end;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 30px rgba(19, 51, 33, 0.1);
}

.membership-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.membership-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-form {
  display: grid;
  gap: 16px;
  border-radius: 28px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.contact-form label span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--emerald);
  font-size: 0.95rem;
}

.contact-form label span i {
  font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(31, 138, 76, 0.24);
  outline-offset: 2px;
}

.contact-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.contact-info-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-card-heading h3 {
  margin: 6px 0 0;
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.contact-card-heading .eyebrow {
  margin-bottom: 0;
}

.contact-info-list {
  display: grid;
  gap: 14px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 20px;
  background: rgba(31, 138, 76, 0.05);
  border: 1px solid rgba(19, 51, 33, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.contact-info-item:hover {
  transform: translateY(-2px);
  background: rgba(31, 138, 76, 0.08);
  box-shadow: 0 14px 28px rgba(19, 51, 33, 0.08);
}

.contact-info-item > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(31, 138, 76, 0.16), rgba(78, 186, 114, 0.12));
  color: var(--emerald);
  font-size: 1.1rem;
}

.contact-info-item span {
  display: block;
  margin-bottom: 4px;
  color: var(--emerald);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.contact-info-item a,
.contact-info-item p {
  display: block;
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

.contact-info-item a + a {
  margin-top: 4px;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.social-links a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--emerald);
  box-shadow: 0 12px 24px rgba(19, 51, 33, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-3px) scale(1.03);
  background: linear-gradient(135deg, var(--emerald), var(--leaf));
  color: #fff;
  box-shadow: 0 18px 34px rgba(31, 138, 76, 0.18);
  outline: none;
}

.contact-status {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 700;
  border: 1px solid transparent;
  min-height: 52px;
  display: grid;
  align-items: center;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease, color 180ms ease;
}

.contact-status.success {
  background: rgba(31, 138, 76, 0.08);
  border-color: rgba(31, 138, 76, 0.16);
  color: var(--emerald);
}

.contact-status.error {
  background: rgba(184, 56, 56, 0.08);
  border-color: rgba(184, 56, 56, 0.16);
  color: #8d2b2b;
}

.contact-status.loading {
  background: rgba(31, 138, 76, 0.05);
  border-color: rgba(31, 138, 76, 0.1);
  color: var(--text);
}

.donation-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.donation-card {
  min-height: 190px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at top right, rgba(31, 138, 76, 0.08), transparent 38%);
}

.donation-card span {
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--emerald);
}

.donation-feature {
  min-height: 360px;
  gap: 14px;
  align-content: start;
}

.donation-feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.donation-btn {
  width: fit-content;
  margin-top: 6px;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 32px;
  padding: 22px 0 8px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-credit,
.footer-top-link {
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 120ms; }
.delay-2 { transition-delay: 220ms; }
.delay-3 { transition-delay: 320ms; }

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, 24px, 0) scale(1.06); }
}

@media (max-width: 980px) {
  .hero,
  .split-grid,
  .news-grid,
  .contact-grid,
  .executive-grid,
  .donation-band {
    grid-template-columns: 1fr;
  }

  .news-topic-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-actions {
    width: 100%;
  }

  .news-slider {
    grid-auto-columns: minmax(260px, 82vw);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-shell-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-modal-nav {
    top: auto;
    bottom: 84px;
    transform: none;
    width: 58px;
    height: 58px;
  }

  .gallery-modal-nav:hover:not(:disabled),
  .gallery-modal-nav:focus-visible:not(:disabled) {
    transform: scale(1.06);
  }

  .gallery-modal-prev {
    left: 24px;
  }

  .gallery-modal-next {
    right: 24px;
  }

  .about-step {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-gallery-item-large {
    grid-row: span 1;
    grid-column: 1 / -1;
    min-height: 280px;
  }

  .membership-panel {
    grid-template-columns: 1fr;
  }

  .membership-media {
    width: 100%;
    justify-self: stretch;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-info-item {
    grid-template-columns: 1fr;
  }

  .contact-info-item > i {
    width: 38px;
    height: 38px;
  }

  .footer {
    align-items: center;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero h1 {
    max-width: none;
  }

  .page-hero .hero-card {
    padding: 22px;
  }

  .hero-card-summary {
    grid-template-columns: 1fr;
  }

  .hero-flash-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 128px;
  }

  .hero-flash-card {
    min-height: 128px;
  }

  .hero-flash-card:nth-child(1) {
    min-height: 240px;
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .about-gallery-item-large {
    min-height: 240px;
  }

  .single-line-heading {
    white-space: normal;
  }
}
 
@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding: 10px 0 0;
  }

  .site-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-flash-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 120px;
  }

  .hero-flash-card:nth-child(1) {
    grid-column: auto;
  }

  .hero-flash-card {
    min-height: 120px;
  }

  .hero-flash-card:nth-child(1) {
    min-height: 180px;
  }

  .section {
    width: min(1180px, calc(100% - 24px));
    padding: 64px 0;
  }

  .slider-controls {
    width: 100%;
    justify-content: flex-start;
  }
}