@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;1,9..144,500&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy: #223754;
  --cream: #f2e8e6;
  --slate: #627794;
  --lime: #c4ec55;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Work Sans', sans-serif;
  background: var(--cream);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== NAV ===== */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6vw;
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(34, 55, 84, 0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 15px;
}
.brand-name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 34px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-item {
  position: relative;
}
.nav-item > a {
  position: relative;
  padding-bottom: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.15s ease;
}
.nav-item:hover .caret {
  transform: rotate(225deg);
  margin-top: 2px;
}
.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translate(-50%, 8px);
  background: var(--white);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 20px 40px -16px rgba(34, 55, 84, 0.28);
  border: 1px solid rgba(34, 55, 84, 0.06);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.18s ease;
  z-index: 60;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
}
.dropdown a:hover {
  background: var(--cream);
}
.dropdown a .sub {
  display: block;
  font-size: 11.5px;
  color: var(--slate);
  font-weight: 400;
  margin-top: 2px;
}
.nav-donate {
  background: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

/* ===== HOME ===== */
.hero {
  position: relative;
  margin: 20px 6vw 0;
  border-radius: 28px;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(34, 55, 84, 0.94) 20%, rgba(34, 55, 84, 0.55) 65%);
}
.hero-arc {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 340px;
  height: 340px;
  background: var(--lime);
  border-radius: 50%;
  opacity: 0.9;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 64px 56px;
  max-width: 640px;
  color: var(--white);
}
.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--lime);
  margin-bottom: 18px;
  display: block;
}
.hero h1 {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 20px;
}
.hero p {
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin-bottom: 32px;
}
.btn-row {
  display: flex;
  gap: 14px;
}
.btn-lime {
  background: var(--lime);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  background: none;
  font-family: inherit;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 6vw;
  margin-top: -44px;
  position: relative;
  z-index: 3;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 40px -20px rgba(34, 55, 84, 0.25);
}
.stat {
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid rgba(34, 55, 84, 0.08);
}
.stat:last-child {
  border-right: none;
}
.stat .num {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  color: var(--navy);
  font-weight: 600;
}
.stat .label {
  font-size: 12.5px;
  color: var(--slate);
  margin-top: 6px;
  font-weight: 500;
}

.section {
  padding: 100px 6vw 40px;
}
.section-head {
  max-width: 600px;
  margin-bottom: 48px;
}
.section-head .eyebrow {
  color: var(--slate);
}
.section-head h2 {
  font-size: 34px;
  color: var(--navy);
}
.section-head p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
  margin-top: 14px;
}

.btn-outline-navy {
  border: 1.5px solid rgba(34, 55, 84, 0.35);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  background: none;
  font-family: inherit;
  display: inline-block;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.partner-logo {
  background: var(--white);
  border: 1px solid rgba(34, 55, 84, 0.08);
  border-radius: 16px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all 0.15s ease;
}
.partner-logo:hover img {
  filter: none;
  opacity: 1;
}
.partner-logo--text {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  text-align: center;
  line-height: 1.4;
}
.partners-cta {
  background: var(--cream);
  border-radius: 20px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.partners-cta p {
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
  max-width: 480px;
}

.join-us-panel {
  background: var(--white);
  border-radius: 22px;
  padding: 44px;
  border: 1px solid rgba(34, 55, 84, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.join-us-panel h2 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 16px;
}
.join-us-panel p {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 28px;
}
.join-us-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== BOOK FUNDRAISER ===== */
.book-card {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 40px;
  background: var(--white);
  border-radius: 22px;
  padding: 40px;
  border: 1px solid rgba(34, 55, 84, 0.08);
  align-items: center;
}
.book-cover {
  position: relative;
}
.book-cover-img {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 40px -20px rgba(34, 55, 84, 0.35);
}
.book-price {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--lime);
  color: var(--navy);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: 0 8px 16px -6px rgba(34, 55, 84, 0.3);
}
.book-body .program-tag {
  margin-bottom: 16px;
}
.book-body p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 520px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 26px;
  border: 1px solid rgba(34, 55, 84, 0.08);
}
.program-card .mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-family: 'Fraunces', serif;
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
}
.program-card h3 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 500;
}
.program-card p {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.6;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.achievement-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(34, 55, 84, 0.08);
}
.achievement-photo {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}
.achievement-body {
  padding: 24px 24px 28px;
}
.achievement-date {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  background: var(--cream);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.achievement-body h3 {
  font-size: 18px;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 8px;
}
.achievement-body p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

.cta-band {
  margin: 80px 6vw 0;
  background: var(--navy);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  bottom: -90px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: var(--slate);
  opacity: 0.4;
  border-radius: 50%;
}
.cta-band h3 {
  font-size: 28px;
  max-width: 420px;
  position: relative;
  z-index: 2;
}
.cta-band .btn-lime {
  position: relative;
  z-index: 2;
}

footer {
  margin-top: 80px;
  padding: 50px 6vw;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
footer .brand-name {
  color: var(--white);
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.footer-social a:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--navy);
}

/* ===== ABOUT ===== */
.about-hero {
  padding: 70px 6vw 0;
}
.about-hero .eyebrow {
  color: var(--slate);
}
.about-hero h1 {
  font-size: 40px;
  color: var(--navy);
  max-width: 600px;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 40px 6vw 100px;
  align-items: stretch;
}
.about-photo {
  border-radius: 22px;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(0deg, rgba(34, 55, 84, 0.15), rgba(34, 55, 84, 0));
}
.about-copy {
  background: var(--white);
  border-radius: 22px;
  padding: 48px;
  border: 1px solid rgba(34, 55, 84, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-copy h2 {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 18px;
}
.about-copy p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-copy p:last-child {
  margin-bottom: 0;
}
.values-row {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.value-pill {
  background: var(--cream);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 100px;
}

/* ===== TEAM ===== */
.team-section {
  padding: 30px 6vw 100px;
}
.team-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}
.team-head h2 {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 14px;
}
.team-head p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: 20px;
  padding: 20px 20px 28px;
  border: 1px solid rgba(34, 55, 84, 0.08);
  text-align: center;
  overflow: visible;
}

.team-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 240px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  line-height: 1.5;
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 0 16px 30px -12px rgba(34, 55, 84, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.18s ease;
  z-index: 20;
  text-align: left;
}

/* little triangle pointer under the tooltip */
.team-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--navy);
}

.team-card:hover .team-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.team-card.tooltip-open .team-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.team-photo {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background-size: cover;
  background-position: center top;
  filter:contrast(1.2);
  margin-bottom: 20px;
}
.team-card h3 {
  font-size: 18px;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 4px;
}
.team-role {
  font-size: 12px;
  color: var(--slate);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}
.team-linkedin:hover {
  background: var(--slate);
}

/* ===== PROGRAMS ===== */
.programs-hero {
  padding: 70px 6vw 0;
}
.programs-hero .eyebrow {
  color: var(--slate);
}
.programs-hero h1 {
  font-size: 40px;
  color: var(--navy);
  max-width: 640px;
}
.programs-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 44px 6vw 100px;
}
.program-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(34, 55, 84, 0.08);
  scroll-margin-top: 110px;
}
.program-row.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}
.program-row.reverse .program-photo {
  order: 2;
}
.program-photo {
  min-height: 280px;
  background-size: cover;
  background-position: center;
}
.program-body {
  padding: 44px 44px;
}
.program-tag {
  display: inline-block;
  background: var(--cream);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.program-body h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 14px;
  font-family: 'Fraunces', serif;
  font-weight: 500;
}
.program-body p {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 20px;
}
.program-stats {
  display: flex;
  gap: 28px;
}
.program-stats div {
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
}
.program-stats span {
  display: block;
  font-size: 11.5px;
  color: var(--slate);
  font-weight: 500;
  margin-top: 2px;
}

/* ===== DONATE ===== */
.donate-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 20px 6vw 80px;
  border-radius: 28px;
  overflow: hidden;
  min-height: 640px;
}
.donate-side {
  background: var(--navy);
  color: var(--white);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.donate-side .hero-arc {
  top: auto;
  bottom: -140px;
  left: -100px;
  right: auto;
  opacity: 0.85;
}
.donate-side .eyebrow {
  color: var(--lime);
}
.donate-side h1 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}
.donate-side p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 380px;
  position: relative;
  z-index: 2;
}
.impact-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}
.impact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}
.impact-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  margin-top: 6px;
  flex-shrink: 0;
}

.donate-form {
  background: var(--white);
  padding: 56px 48px;
}
.form-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: block;
}
.freq-toggle {
  display: flex;
  background: var(--cream);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 28px;
}
.freq-toggle button {
  flex: 1;
  border: none;
  background: none;
  padding: 11px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--slate);
  cursor: pointer;
  font-family: inherit;
}
.freq-toggle button.active {
  background: var(--navy);
  color: var(--white);
}
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.amount-grid button {
  padding: 16px 8px;
  border-radius: 14px;
  border: 1.5px solid rgba(34, 55, 84, 0.12);
  background: var(--white);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  cursor: pointer;
}
.amount-grid button.selected {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--navy);
}
.custom-amount,
.field-row input,
.field-full input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(34, 55, 84, 0.12);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--navy);
}
.custom-amount {
  margin-bottom: 28px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.field-full {
  margin-bottom: 22px;
}
.pay-methods {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
}
.pay-methods div {
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  border: 1.5px solid rgba(34, 55, 84, 0.12);
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
}
.pay-methods div.selected {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--cream);
}
.donate-submit {
  width: 100%;
  padding: 17px;
  background: var(--lime);
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  cursor: pointer;
  font-family: inherit;
}
.donate-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.fine-print {
  font-size: 11.5px;
  color: var(--slate);
  text-align: center;
  margin-top: 14px;
}
.form-error {
  font-size: 13px;
  color: #b3452c;
  margin-bottom: 16px;
}

/* ===== GET INVOLVED ===== */
.involved-hero {
  padding: 70px 6vw 0;
}
.involved-hero .eyebrow {
  color: var(--slate);
}
.involved-hero h1 {
  font-size: 40px;
  color: var(--navy);
  max-width: 600px;
}
.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 44px 6vw 100px;
}
.involved-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid rgba(34, 55, 84, 0.08);
  display: flex;
  flex-direction: column;
}
.involved-card .mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-family: 'Fraunces', serif;
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
}
.involved-card h3 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 500;
}
.involved-card p {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}
.involved-card button {
  background: none;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 12px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  font-family: inherit;
}

/* ===== CONTACT ===== */
.contact-hero {
  padding: 70px 6vw 0;
}
.contact-hero .eyebrow {
  color: var(--slate);
}
.contact-hero h1 {
  font-size: 40px;
  color: var(--navy);
  max-width: 560px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding: 44px 6vw 100px;
}
.contact-info {
  background: var(--navy);
  color: var(--white);
  border-radius: 22px;
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.contact-info .hero-arc {
  top: auto;
  bottom: -120px;
  right: -100px;
  opacity: 0.85;
}
.contact-info h2 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.contact-detail {
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.contact-detail .form-label {
  color: var(--lime);
  margin-bottom: 6px;
}
.contact-detail div {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
}
.contact-form {
  background: var(--white);
  border-radius: 22px;
  padding: 44px;
  border: 1px solid rgba(34, 55, 84, 0.08);
}
.contact-form h2 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 24px;
  font-family: 'Fraunces', serif;
  font-weight: 500;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  margin-bottom: 22px;
}

@media (max-width: 900px) {
  .stats,
  .programs-grid,
  .about-grid,
  .donate-wrap,
  .program-row,
  .program-row.reverse,
  .contact-grid,
  .involved-grid,
  .team-grid,
  .achievements-grid,
  .partners-grid,
  .contact-grid,
  .book-card {
    grid-template-columns: 1fr;
  }
  .partners-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .book-cover-img {
    max-width: 220px;
    margin: 0 auto;
  }
  .hero h1 {
    font-size: 34px;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* ===== Static-site helper additions ===== */
.form-success {
  font-size: 13.5px;
  color: var(--navy);
  background: var(--lime);
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  display: none;
}
.form-success.show {
  display: block;
}


/* ===== MOBILE NAV TOGGLE ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 101;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: absolute;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }

.nav-toggle.open span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  nav {
    flex-wrap: nowrap;
  }

  /* Show the hamburger, hide the "Donate Now" pill to save header space */
  .nav-toggle {
    display: flex;
  }
  .nav-donate {
    display: none;
  }

  /* Mobile menu panel — positioned relative to nav (which is `position: sticky`,
     so it self-adjusts to the real nav height instead of a hardcoded number) */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(34, 55, 84, 0.08);
    max-height: 80vh;
    overflow-y: auto;
    padding: 8px 6vw 40px;
    z-index: 100;
  }
  .nav-links.open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }
  .nav-item > a {
    padding: 14px 0;
    justify-content: space-between;
    width: 100%;
  }

  /* Dropdowns become inline accordion sections instead of floating cards */
  .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 8px 14px;
    margin: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .nav-item.open .dropdown {
    display: block;
  }
  .nav-item:hover .dropdown {
    display: none; /* disable desktop hover-open on touch widths */
  }
  .nav-item.open:hover .dropdown {
    display: block;
  }

  /* These selectors match the desktop hover rule's specificity, so without
     this override its `left: 50%; transform: translate(-50%, 0)` wins the
     cascade on touch widths and pushes the dropdown off-screen to the left. */
  .nav-item:hover .dropdown,
  .nav-item.open .dropdown,
  .nav-item.open:hover .dropdown {
    left: auto;
    transform: none;
  }
}

body.nav-open {
  overflow: hidden;
}
