/* ====================================================================
   Friends In Deed — Home page styles
   Type: Montserrat (Gotham substitute) + Georgia (serif body)
   ==================================================================== */

:root {
  --navy-darkest: #0a1d33;
  --navy:         #0e2a47;   /* footer, headings */
  --navy-deep:    #11324f;   /* hero text */
  --navy-mid:     #2d527a;
  --teal:         #1fbecb;
  --teal-dark:    #17a3af;
  --purple:       #9a6eb0;
  --purple-light: #e7daf3;
  --green-pale:   #e6efe8;
  --green-text:   #2f4d39;
  --gray-bg:      #f4f5f5;
  --gray-line:    #e3e6e8;
  --white:        #ffffff;

  --maxw: 1180px;
  --gutter: 64px;

  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--navy-deep);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-deep); text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon { width: 1em; height: 1em; }

/* ---------- Typography ---------- */
.h1 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 24px;
}
.lead {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
  color: var(--navy-deep);
  margin: 0 0 24px;
}
.label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 24px;
  color: var(--navy);
  margin: 0;
}
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary-teal {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--navy);
}
.btn--primary-teal:hover { background: var(--teal-dark); }

.btn--primary-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--primary-navy:hover { background: var(--navy-darkest); }

.btn--secondary-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--teal);
}
.btn--secondary-outline:hover { background: var(--teal); color: var(--navy); }

.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; }

.topbar {
  background: var(--navy-darkest);
  color: #cdd7e2;
  font-family: var(--sans);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  gap: 28px;
  align-items: center;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topbar__item {
  color: #cdd7e2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.topbar__item .icon { color: var(--teal); }
.topbar__item:hover { color: var(--white); }

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__name {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--navy);
  letter-spacing: .01em;
}
.brand--light .brand__name { color: var(--white); }
.brand__logo { height: 38px; width: auto; display: block; }
.brand__logo--footer { height: 34px; }

.navbar__menu { display: flex; align-items: center; gap: 40px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li > a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
  padding: 8px 0;
  display: inline-block;
}
.nav-links > li > a:hover { color: var(--teal-dark); }

/* dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 210px;
  background: var(--navy);
  border-radius: 6px;
  list-style: none;
  margin: 8px 0 0;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .18s ease;
  box-shadow: 0 14px 30px rgba(10,29,51,.25);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--white);
  padding: 11px 14px;
  border-radius: 4px;
}
.dropdown li a::after { content: "›"; opacity: .6; }
.dropdown li a:hover { background: var(--navy-deep); }

/* nested submenu (Programs) */
.has-submenu { position: relative; }
.submenu {
  position: absolute;
  top: -6px;
  left: 100%;
  min-width: 210px;
  background: var(--navy);
  border-radius: 6px;
  list-style: none;
  margin: 0 0 0 8px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: all .18s ease;
  box-shadow: 0 14px 30px rgba(10,29,51,.25);
}
.has-submenu:hover > .submenu { opacity: 1; visibility: visible; transform: translateX(0); }
.submenu li a {
  display: flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--white);
  padding: 11px 14px;
  border-radius: 4px;
}
.submenu li a::after { content: none; }
.submenu li a:hover { background: var(--navy-deep); }

.navbar__donate { padding: 11px 30px; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--white);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 28%, rgba(255,255,255,.85) 40%, rgba(255,255,255,0) 58%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__content {
  padding: 96px 0 120px;
  max-width: 560px;
}
.hero__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 52px;
  line-height: 1.12;
  color: var(--navy-deep);
  margin: 0 0 40px;
}
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero__actions .btn--secondary-outline { background: rgba(255,255,255,.65); }
.hero__actions .btn--secondary-outline:hover { background: var(--teal); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  color: var(--navy-deep);
  animation: bob 1.8s ease-in-out infinite;
}
.scroll-cue svg { width: 40px; height: 40px; }
@keyframes bob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Sections / spacing ---------- */
.section { padding: 64px 0; }
.section--last { padding-bottom: 128px; }
.section-head { margin-bottom: 48px; }
.section-head--center { max-width: 880px; margin-left: auto; margin-right: auto; }
.mission__body {
  font-size: 19px;
  line-height: 1.55;
  color: var(--navy-deep);
  margin: 0;
}
.mission .lead { font-weight: 700; font-family: var(--sans); font-size: 24px; }

/* ---------- 3 info cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.info-card {
  background: var(--navy);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 26px rgba(10,29,51,.12);
}
.info-card__media { height: 200px; }
.info-card__media img { width: 100%; height: 100%; object-fit: cover; }
.info-card__body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.info-card__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 24px;
  color: var(--white);
  text-align: center;
  margin: 0;
}
.info-card__body p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  color: #d6dee7;
  text-align: center;
  margin: 0;
  flex: 1;
}
.info-card .btn { background: var(--white); color: var(--navy); border-color: var(--white); margin-top: auto; }
.info-card .btn:hover { background: var(--teal); border-color: var(--teal); color: var(--navy); }

/* ---------- 2 feature cards ---------- */
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.feature-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  box-shadow: 0 10px 26px rgba(10,29,51,.14);
}
.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card__overlay {
  position: relative;
  margin-top: auto;
  width: 100%;
  padding: 32px 32px 34px;
  background: linear-gradient(180deg, rgba(14,42,71,0) 0%, rgba(14,42,71,.92) 38%, var(--navy) 100%);
  color: var(--white);
}
.feature-card__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 26px;
  text-align: center;
  margin: 0 0 14px;
}
.feature-card__overlay p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  margin: 0 0 22px;
  color: #e2e8ef;
}
.feature-card__overlay .btn {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  display: flex;
  margin: 0 auto;
  width: max-content;
}
.feature-card__overlay .btn:hover { background: var(--teal); border-color: var(--teal); color: var(--navy); }

/* ---------- Get Involved (navy section) ---------- */
.section--navy { background: var(--navy); }
.section--navy .h1 { color: var(--white); }

.involved {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.involved__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 40px; }
.involved__list li { display: flex; gap: 20px; }
.involved__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.involved__icon svg { width: 26px; height: 26px; }
.involved__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  color: var(--white);
  margin: 0 0 8px;
}
.involved__list p { margin: 0; font-size: 17px; color: #cdd7e2; }

.involved__aside { display: flex; flex-direction: column; gap: 28px; }
.involved__figure { margin: 0; }
.involved__figure img { width: 100%; border-radius: 8px; aspect-ratio: 16/9; object-fit: cover; }
.involved__figure figcaption {
  font-family: var(--sans);
  font-size: 13px;
  color: #9fb1c4;
  text-align: center;
  margin-top: 10px;
}
.quote {
  margin: 0;
  background: rgba(255,255,255,.07);
  color: var(--white);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 28px 32px;
}
.quote p { font-family: var(--serif); font-size: 18px; line-height: 1.55; margin: 0 0 14px; }
.quote cite { font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 14px; color: var(--teal); }

/* ---------- Volunteer Schedule ---------- */
.schedule__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.btn--filter {
  background: var(--white);
  color: var(--navy);
  border-color: var(--gray-line);
  font-weight: 500;
}
.btn--filter:hover { border-color: var(--teal); }

.filters {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding: 18px 22px;
  margin-bottom: 24px;
  background: var(--gray-bg);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 15px;
}
.filters[hidden] { display: none; }
.filters label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }

.shift-list { display: flex; flex-direction: column; gap: 20px; }
.shift {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  align-items: center;
  gap: 28px;
  background: var(--gray-bg);
  border: 1px solid var(--gray-line);
  border-radius: 10px;
  overflow: hidden;
}

.shift__day {
  align-self: stretch;
  background: var(--green-pale);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
  font-family: var(--sans);
  color: var(--green-text);
}
.shift__day .d { font-weight: 700; font-size: 22px; letter-spacing: .04em; }
.shift__day .t { font-weight: 600; font-size: 13px; letter-spacing: .12em; }

.shift__body { padding: 20px 0; }
.shift__cat {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--navy-mid);
  text-transform: uppercase;
  margin: 0 0 6px;
}
.shift__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  text-transform: uppercase;
  margin: 0 0 6px;
}
.shift__desc { font-family: var(--serif); font-size: 16px; color: var(--navy-deep); margin: 0 0 14px; }
.shift__tags { display: flex; gap: 12px; flex-wrap: wrap; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--purple-light);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 8px;
}
.tag svg { width: 14px; height: 14px; }
.shift__action { padding-right: 28px; }
.shift__action .btn { padding: 10px 22px; }

.schedule__more { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #003466; /* matches logo-dark.png backing so the footer logo blends seamlessly */
  color: #cdd7e2;
  padding: 64px 0;
  font-family: var(--sans);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .brand { margin-bottom: 26px; }
.footer-contact { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; font-size: 14px; line-height: 1.45; }
.footer-contact .icon { color: var(--teal); width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; }
.footer-contact a { color: #cdd7e2; }
.footer-contact a:hover { color: var(--white); }

.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--teal); }
.footer-social svg { width: 22px; height: 22px; }
.footer-social a:hover { color: var(--white); }

.footer-heading {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
  color: var(--teal);
  margin: 0 0 18px;
}
.footer-col p { font-size: 15px; color: #cdd7e2; margin: 0; }

.newsletter { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.newsletter input {
  border: none;
  border-radius: 999px;
  padding: 13px 20px;
  font-family: var(--sans);
  font-size: 14px;
}
.btn--newsletter {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  align-self: flex-start;
}
.btn--newsletter:hover { background: var(--teal); border-color: var(--teal); }

/* ====================================================================
   Programs page
   ==================================================================== */
:root {
  --green-btn: #7f9f79;
  --green-btn-dark: #6c8a66;
  --green-bar: #a7c5a8;
}

.prose {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--navy-deep);
  margin: 0;
}
.prose strong { color: var(--navy); }

.btn--green  { background: var(--green-btn); color: var(--white); border-color: var(--green-btn); }
.btn--green:hover  { background: var(--green-btn-dark); border-color: var(--green-btn-dark); }
.btn--purple { background: var(--purple); color: var(--white); border-color: var(--purple); }
.btn--purple:hover { background: #855a9b; border-color: #855a9b; }

/* ---------- Formula row (Urgent + Lasting = Breaking) ---------- */
.formula {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 52px;
}
.formula__op {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 40px;
  color: var(--navy);
  align-self: center;
}
.formula__col { text-align: center; }
.formula__label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 22px;
}
.formula__card {
  background: var(--green-pale);
  border-radius: 8px;
  padding: 12px;
}
.formula__card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}
.formula__card .btn { margin-top: 14px; }
.btn--chip {
  background: var(--white);
  color: var(--navy);
  border-color: var(--teal);
  text-transform: uppercase;
  font-size: 13px;
  padding: 9px 20px;
}
.btn--chip:hover { background: var(--teal); }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 44px;
  border-bottom: 1px solid var(--gray-line);
  margin: 0 0 44px;
}
.tab {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy-mid);
  background: none;
  border: none;
  padding: 0 2px 14px;
  margin-bottom: -1px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}
.tab:hover { color: var(--navy); }
.tab.is-active { color: var(--navy); border-bottom-color: var(--green-btn); }
.tab-panel[hidden] { display: none; }

/* ---------- Program detail rows ---------- */
.program-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 56px;
}
.program-row:last-child { margin-bottom: 0; }
.program-figure { margin: 0; }
.program-figure img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
}
.program-figure figcaption {
  background: var(--green-pale);
  color: var(--green-text);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  padding: 12px 18px;
  border-radius: 0 0 6px 6px;
}
.program-copy__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 16px;
}
.program-copy p { font-family: var(--serif); font-size: 17px; line-height: 1.55; margin: 0 0 20px; }
.program-copy .btn { margin-bottom: 28px; }
.program-copy .btn:last-child { margin-bottom: 0; }

/* ---------- Volunteer roles accordion ---------- */
.roles {
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
}
.roles__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green-bar);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  padding: 18px 26px;
  border: none;
  cursor: pointer;
}
.roles__header svg { width: 20px; height: 20px; transition: transform .2s ease; }
.roles[open] .roles__header svg,
.roles.is-open .roles__header svg { transform: rotate(180deg); }
.roles__list { list-style: none; margin: 0; padding: 0; }
.roles.is-open .roles__list { display: block; }
.roles:not(.is-open) .roles__list { display: none; }
.roles__item {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 26px;
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-line);
}
.roles__role { font-family: var(--sans); font-weight: 700; color: var(--navy); }
.roles__desc { font-family: var(--serif); font-size: 16px; color: var(--navy-deep); }
.roles__item .btn { padding: 9px 22px; }

/* ---------- Latest News ---------- */
.news-head { display: flex; justify-content: center; margin-bottom: 28px; }
.news-tools { margin-bottom: 28px; }
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.news-card[hidden] { display: none; }
.news-card__media { position: relative; }
.news-card__media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 6px;
}
.news-card__date,
.news-card__tag {
  position: absolute;
  bottom: 14px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 6px;
}
.news-card__date { left: 14px; background: var(--white); color: var(--navy); }
.news-card__tag  { right: 14px; background: var(--purple-light); color: var(--navy); }
.news-card__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--navy);
  margin: 20px 0 18px;
}
.news-card .btn--chip { border-color: var(--teal); }
.news-more { display: flex; justify-content: center; margin-top: 44px; }

@media (max-width: 760px) {
  .formula { grid-template-columns: 1fr; }
  .formula__op { display: none; }
  .program-row { grid-template-columns: 1fr; gap: 28px; }
  .roles__item { grid-template-columns: 1fr; gap: 8px; }
  .news-grid { grid-template-columns: 1fr; }
}

/* ====================================================================
   Volunteer page
   ==================================================================== */
.vol-lead {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  margin: 0 0 16px;
}
.vol-intro p { font-family: var(--serif); font-size: 17px; line-height: 1.6; margin: 0; }

.vol-block { margin-bottom: 40px; }
.vol-block:last-child { margin-bottom: 0; }
.vol-block__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 14px;
}
.vol-block p { font-family: var(--serif); font-size: 17px; line-height: 1.55; margin: 0 0 16px; }
.vol-list {
  margin: 0;
  padding-left: 22px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy-deep);
}
.vol-list li { margin-bottom: 8px; }
.vol-list li::marker { color: var(--navy); }
.vol-list ul { margin: 8px 0 4px; padding-left: 22px; list-style: circle; }
.vol-list strong { color: var(--navy); }

/* ---------- Testimonials ---------- */
.testimonials { display: flex; flex-direction: column; gap: 30px; }
.testimonial {
  max-width: 72%;
  background: var(--green-pale);
  border: 1px solid #cde0d0;
  border-radius: 8px;
  padding: 28px 32px;
}
.testimonial:nth-child(even) { align-self: flex-end; }
.testimonial[hidden] { display: none; }
.testimonial p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy-deep);
  margin: 0 0 16px;
}
.testimonial cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  text-align: right;
}
.testimonials-more { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.stat-card { border-radius: 8px; overflow: hidden; box-shadow: 0 8px 22px rgba(10,29,51,.10); }
.stat-card__media img { width: 100%; height: 150px; object-fit: cover; }
.stat-card__body {
  background: var(--green-pale);
  padding: 18px 22px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.stat-card__num { font-family: var(--sans); font-weight: 700; font-size: 34px; color: var(--navy); line-height: 1; }
.stat-card__label { font-family: var(--sans); font-size: 15px; color: var(--navy-mid); }
.stats-note {
  text-align: right;
  font-family: var(--sans);
  font-style: italic;
  font-size: 13px;
  color: var(--navy-mid);
  margin-top: 16px;
}

@media (max-width: 760px) {
  .testimonial { max-width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ====================================================================
   Support page
   ==================================================================== */
.h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 14px;
}
.support-intro {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--navy-deep);
  max-width: 820px;
  margin: 0 0 28px;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.support-card {
  background: var(--green-pale);
  border: 1px solid #cde0d0;
  border-radius: 10px;
  padding: 26px 26px 30px;
}
.support-card__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  text-align: center;
  margin: 0 0 18px;
}
.support-card p { font-family: var(--serif); font-size: 16px; line-height: 1.55; color: var(--navy-deep); margin: 0 0 12px; }
.support-card ul,
.support-card ol { margin: 0 0 14px; padding-left: 20px; font-family: var(--serif); font-size: 16px; line-height: 1.5; color: var(--navy-deep); }
.support-card li { margin-bottom: 8px; }
.support-card li::marker { color: var(--navy); }
.support-card .note { font-style: italic; color: var(--navy-mid); margin: 14px 0 0; }
.support-card strong { color: var(--navy); }

.support-subhead {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin: 34px 0 14px;
}
.support-actions { margin-top: 32px; }
.support-actions--center { display: flex; justify-content: center; }

/* ---------- Accordion (FAQ + Contact Information) ---------- */
.accordion { display: flex; flex-direction: column; gap: 14px; }
.accordion__item {
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-bg);
}
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--gray-bg);
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  text-align: left;
}
.accordion__trigger svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--navy); transition: transform .2s ease; }
.accordion__item.is-open .accordion__trigger svg { transform: rotate(180deg); }
.accordion__panel { padding: 0 24px 22px; }
.accordion__panel[hidden] { display: none; }
.accordion__panel p { font-family: var(--serif); font-size: 16px; line-height: 1.6; color: var(--navy-deep); margin: 0; }

@media (max-width: 760px) {
  .support-cards { grid-template-columns: 1fr; }
}

/* ====================================================================
   Team page
   ==================================================================== */
.team-intro {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--navy-deep);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.team-intro strong { color: var(--navy); }

/* ---------- Staff grid ---------- */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 52px;
}
.team-card {
  flex: 0 0 calc(33.333% - 19px);
  max-width: 310px;
  background: var(--green-pale);
  border: 1px solid #cde0d0;
  border-radius: 6px;
  padding: 12px 12px 22px;
}
.team-card__photo {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center top;
  border-radius: 3px;
  display: block;
}
.team-card__name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  text-align: center;
  margin: 16px 0 4px;
}
.team-card__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.35;
  color: var(--navy-mid);
  text-align: center;
  margin: 0 0 16px;
}
.team-card__actions { display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn--bio { padding: 9px 18px; font-size: 13px; text-transform: uppercase; }
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: background-color .18s ease;
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { background: var(--teal-dark); }

/* ---------- Board of Directors ---------- */
.board-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 8px;
}
.board-card {
  flex: 0 0 calc(25% - 17px);
  background: var(--green-pale);
  border-radius: 6px;
  padding: 22px 16px;
  text-align: center;
}
.board-card__name { font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--navy); }
.board-card__role { font-family: var(--sans); font-weight: 700; font-size: 12px; color: var(--navy-mid); margin-top: 8px; }
.section--navy .team-intro { color: #cdd7e2; }
.section--navy .team-intro strong { color: var(--white); }

/* ---------- Major Funders ---------- */
.funders-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 8px;
}
.funder-card {
  flex: 0 0 calc(25% - 17px);
  background: var(--purple-light);
  border-radius: 8px;
  padding: 22px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.funder-card img { max-height: 56px; width: auto; }
.funder-card__name { font-family: var(--sans); font-weight: 700; font-size: 14px; color: var(--navy); text-align: center; }

@media (max-width: 960px) {
  .team-card { flex-basis: calc(50% - 14px); }
  .board-card, .funder-card { flex-basis: calc(50% - 11px); }
}
@media (max-width: 600px) {
  .team-card, .board-card, .funder-card { flex-basis: 100%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --gutter: 32px; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .involved { grid-template-columns: 1fr; gap: 40px; }
  .hero__content { max-width: 100%; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: none; border: none; cursor: pointer;
  }
  .nav-toggle span { height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }
  .navbar__menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: var(--white);
    padding: 18px 32px 26px;
    border-bottom: 1px solid var(--gray-line);
    box-shadow: 0 16px 30px rgba(10,29,51,.12);
    display: none;
  }
  .navbar__menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin: 4px 0; }
  .has-dropdown:hover .dropdown { transform: none; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; margin: 4px 0 4px 16px;
  }
  .has-submenu:hover > .submenu { transform: none; }

  .h1 { font-size: 36px; }
  .hero__title { font-size: 38px; }
  .hero__content { padding: 64px 0 80px; }
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section--last { padding-bottom: 80px; }

  .shift { grid-template-columns: 92px 1fr; }
  .shift__action { grid-column: 1 / -1; padding: 0 20px 20px; }
  .shift__action .btn { width: 100%; }

  .site-footer__inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
