/* ADNEN — design tokens
   green #1E6B3C / hover #14502C / deep green #20301F / gold #C9971F / gold hover #B5860F
   cream #FAF8F3 / warm tint #F2EEE1 / border #E4DFD3
   text #2B2B2B / #4A5049 / #3E443C / muted #8A8F84 / #5C6670
*/

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: #FAF8F3;
  color: #2B2B2B;
  font-family: 'Work Sans', sans-serif;
}

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

a { color: inherit; }

h1, h2, h3 { font-family: 'Source Serif 4', serif; margin: 0; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow--gold { color: #C9971F; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  text-align: center;
}
.btn--green { background: #1E6B3C; color: #fff; }
.btn--green:hover { background: #14502C; }
.btn--gold { background: #C9971F; color: #fff; }
.btn--gold:hover { background: #B5860F; }
.btn--outline-dark { background: transparent; color: #20301F; border: 1.5px solid #20301F; }
.btn--outline-dark:hover { background: #20301F; color: #fff; }
.btn--block { display: block; width: 100%; }
.btn--large { font-size: 16px; font-weight: 700; padding: 16px 0; }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 168px;
  background: #FAF8F3;
  border-bottom: 1px solid #E4DFD3;
}
.site-nav__row {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  gap: 20px;
}
.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}
.site-nav__logo { height: 148px; width: 208px; object-fit: contain; flex-shrink: 0; }
.site-nav__brandtext { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.site-nav__name { font-family: 'Source Serif 4', serif; font-weight: 700; font-size: 32px; color: #2B2B2B; letter-spacing: 0.2px; white-space: nowrap; }
.site-nav__tagline { font-size: 16px; color: #5C6670; letter-spacing: 0.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-nav__links { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.site-nav__link {
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  color: #33404D;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav__link--active { color: #1E6B3C; border-bottom-color: #1E6B3C; }
.site-nav__donate { font-size: 14px; padding: 10px 22px; }

.site-nav__burger {
  display: none;
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 6px;
  border: 1.5px solid #E4DFD3;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.site-nav__burger span {
  display: block;
  width: 20px; height: 2px;
  background: #20301F;
  transition: transform 0.2s, opacity 0.2s;
}
.site-nav__burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav__burger--open span:nth-child(2) { opacity: 0; }
.site-nav__burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav__dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  flex-direction: column;
  padding: 8px 32px 24px;
  border-top: 1px solid #E4DFD3;
  background: #FAF8F3;
  max-height: calc(100vh - 168px);
  overflow-y: auto;
}
.site-nav__dropdown--open { display: flex; }
.site-nav__dropdown-link {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: #33404D;
  padding: 14px 0;
  border-bottom: 1px solid #EEEAE0;
}
.site-nav__dropdown-donate { font-size: 15px; padding: 13px 22px; text-align: center; margin-top: 16px; }

.site-nav__spacer { height: 168px; }

@media (max-width: 1550px) {
  .site-nav__links { display: none; }
  .site-nav__burger { display: flex; }
}
@media (max-width: 420px) {
  .site-nav__tagline { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: 96px 48px 88px;
  background: linear-gradient(180deg, #F2EEE1 0%, #FAF8F3 100%);
  overflow: hidden;
}
.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: #E7F0E4;
  color: #1E6B3C;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.hero__title { font-size: 52px; line-height: 1.12; font-weight: 700; margin: 0 0 24px; color: #20301F; }
.hero__lead { font-size: 18px; line-height: 1.7; color: #4A5049; max-width: 520px; margin: 0 0 36px; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__image { display: flex; align-items: center; justify-content: center; }
.hero__image img { width: 100%; max-width: 320px; height: auto; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__image { order: -1; }
}

/* ---------- Generic section / grid ---------- */
.section { padding: 88px 48px; background: #FAF8F3; }
.section__inner { max-width: 1200px; margin: 0 auto; }
.section__intro { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__heading { font-size: 34px; font-weight: 700; color: #20301F; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 800px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card { background: #fff; border: 1px solid #E4DFD3; border-radius: 8px; padding: 36px; }
.card__number {
  width: 44px; height: 44px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 20px;
}
.card__number--green { background: #E7F0E4; }
.card__number--gold { background: #FBF1DC; }
.card__title { font-size: 22px; margin: 0 0 12px; color: #20301F; }
.card__text { font-size: 15.5px; line-height: 1.75; color: #4A5049; margin: 0; }

/* ---------- CTA band (dark green, full width) ---------- */
.cta-band { padding: 80px 48px; background: #20301F; }
.cta-band--compact { padding: 64px 48px; }
.cta-band__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.cta-band__inner--narrow { max-width: 820px; }
.cta-band__title { font-size: 32px; font-weight: 700; color: #fff; margin: 0 0 18px; }
.cta-band__title--small { font-size: 26px; margin: 0 0 14px; }
.cta-band__text { font-size: 16.5px; line-height: 1.75; color: #C7CBBF; margin: 0 0 32px; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band__text--small { font-size: 15.5px; margin: 0 0 28px; }

/* ---------- Page hero (cream, for inner pages) ---------- */
.page-hero { padding: 80px 48px 56px; background: #F2EEE1; }
.page-hero__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.page-hero__inner--narrow { max-width: 760px; }
.page-hero__title { font-size: 42px; font-weight: 700; margin: 0 0 18px; color: #20301F; }
.page-hero__lead { font-size: 17px; line-height: 1.75; color: #4A5049; margin: 0; }

/* About page */
.section--narrow { padding: 80px 48px; }
.section--top-none { padding-top: 0; padding-bottom: 88px; }
.prose { max-width: 820px; margin: 0 auto; }
.prose__heading { font-size: 28px; font-weight: 700; margin: 0 0 20px; color: #20301F; }
.prose__text { font-size: 16px; line-height: 1.85; color: #3E443C; margin: 0 0 24px; }
.prose__text:last-child { margin-bottom: 0; }

.objects-list { display: flex; flex-direction: column; gap: 20px; }
.object-card {
  background: #fff; border: 1px solid #E4DFD3; border-radius: 6px; padding: 28px 32px;
  border-left: 4px solid transparent;
}
.object-card--green { border-left-color: #1E6B3C; }
.object-card--gold { border-left-color: #C9971F; }
.object-card__title { font-size: 19px; margin: 0 0 10px; color: #20301F; }
.object-card__text { font-size: 15px; line-height: 1.75; color: #4A5049; margin: 0; }

/* Get Involved cards */
.involve-card {
  background: #fff; border: 1px solid #E4DFD3; border-radius: 10px; padding: 32px;
  display: flex; flex-direction: column;
}
.involve-card__title { font-size: 20px; margin: 0 0 12px; color: #20301F; }
.involve-card__text { font-size: 14.5px; line-height: 1.75; color: #4A5049; margin: 0 0 24px; flex: 1; }

/* Donate page — Stripe Payment Link buttons */
.donate-notice {
  max-width: 1000px; margin: 0 auto 32px; background: #FBF1DC; border: 1px solid #EBD9A6;
  border-radius: 8px; padding: 16px 22px;
}
.donate-notice p { font-size: 14px; line-height: 1.6; color: #6B5A28; margin: 0; }
.donate-notice strong { color: #8A6A0F; }
.donate-notice a { color: #1E6B3C; font-weight: 600; text-decoration: none; }

.donate-panels {
  max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
@media (max-width: 800px) {
  .donate-panels { grid-template-columns: 1fr; }
}
.donate-panel {
  background: #fff; border: 1px solid #E4DFD3; border-top: 4px solid transparent;
  border-radius: 12px; padding: 40px 36px;
}
.donate-panel--green { border-top-color: #1E6B3C; }
.donate-panel--blue { border-top-color: #2B6CB0; }
.donate-panel__heading { font-size: 22px; margin: 0 0 8px; color: #20301F; text-align: center; }
.donate-panel__subheading { font-size: 13.5px; color: #8A8F84; text-align: center; margin: 0 0 24px; line-height: 1.6; }
.donate-panel__options { display: flex; flex-direction: column; gap: 12px; }

.donate-btn {
  display: block; text-decoration: none; text-align: center; cursor: pointer;
  font-weight: 700; font-size: 16px; padding: 15px 0; border-radius: 6px;
  font-family: 'Work Sans', sans-serif; border: 1.5px solid transparent;
}
.donate-btn--green { background: #1E6B3C; color: #fff; }
.donate-btn--green:hover { background: #14502C; }
.donate-btn--green.donate-btn--outline { background: transparent; color: #1E6B3C; border-color: #1E6B3C; font-weight: 600; font-size: 14.5px; }
.donate-btn--green.donate-btn--outline:hover { background: #E7F0E4; }

.donate-btn--blue { background: #2B6CB0; color: #fff; }
.donate-btn--blue:hover { background: #21548A; }
.donate-btn--blue.donate-btn--outline { background: transparent; color: #2B6CB0; border-color: #2B6CB0; font-weight: 600; font-size: 14.5px; }
.donate-btn--blue.donate-btn--outline:hover { background: #E9F0F8; }

.donate-btn--disabled {
  background: #EEEAE0 !important; color: #A7ACA0 !important; border-color: #E4DFD3 !important;
  cursor: not-allowed; pointer-events: none;
}

.donate-alt { max-width: 520px; margin: 40px auto 0; text-align: center; }
.donate-alt p { font-size: 14px; color: #5C6670; line-height: 1.7; }
.donate-alt a { color: #1E6B3C; font-weight: 600; text-decoration: none; }

/* Contact page */
.section--contact { padding: 72px 48px 88px; }
.contact-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-details__heading { font-size: 22px; margin: 0 0 20px; color: #20301F; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-details__label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.5px; color: #8A8F84; text-transform: uppercase; margin-bottom: 6px; }
.contact-details__email { font-size: 15.5px; color: #1E6B3C; text-decoration: none; font-weight: 600; }
.contact-details__value { font-size: 15.5px; color: #3E443C; }

.contact-form-card { background: #fff; border: 1px solid #E4DFD3; border-radius: 12px; padding: 36px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form__field label { font-size: 13px; font-weight: 600; color: #20301F; display: block; margin-bottom: 6px; }
.contact-form__field input, .contact-form__field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #E4DFD3; border-radius: 6px;
  font-size: 14.5px; font-family: 'Work Sans', sans-serif; resize: vertical;
}
.contact-form__field input::placeholder, .contact-form__field textarea::placeholder { color: #A7ACA0; }
.contact-form__note { font-size: 12px; color: #B04A3F; text-align: center; margin: 0; line-height: 1.6; }

.contact-confirm { text-align: center; padding: 40px 10px; }
.contact-confirm__check { font-size: 36px; margin-bottom: 12px; }
.contact-confirm__heading { font-size: 20px; color: #20301F; margin: 0 0 8px; }
.contact-confirm__text { font-size: 14.5px; color: #4A5049; margin: 0; }

/* ---------- Programs page ---------- */
.programs-list { max-width: 1140px; margin: 0 auto; display: flex; flex-direction: column; gap: 96px; }
.program-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
  align-items: center;
}
.program-row--reverse .program-row__media { order: 2; }
.program-row__gallery-wrap { position: relative; width: 100%; aspect-ratio: 4/3; max-height: 460px; }
.program-row__caption { font-size: 12px; color: #8A8F84; margin: 8px 2px 0; line-height: 1.5; }
.program-row__label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.5px; color: #8A8F84; text-transform: uppercase; margin-bottom: 10px; }
.program-row__title { font-size: 28px; font-weight: 700; margin: 0 0 16px; color: #20301F; }
.program-row__paragraph { font-size: 15.5px; line-height: 1.8; color: #4A5049; margin: 0 0 16px; }
.program-row__paragraph:last-child { margin-bottom: 0; }

.section--cta-wrap { padding: 64px 48px 88px; }
.cta-box { max-width: 820px; margin: 0 auto; text-align: center; background: #20301F; border-radius: 10px; padding: 56px 40px; }
.cta-box__title { font-size: 26px; font-weight: 700; color: #fff; margin: 0 0 14px; }
.cta-box__text { font-size: 15.5px; line-height: 1.75; color: #C7CBBF; margin: 0 0 28px; }

/* ---------- Gallery / carousel ---------- */
.gallery {
  position: relative; width: 100%; height: 100%;
  border-radius: 12px; overflow: hidden; background: #EDEAE0;
}
.gallery__slides { position: relative; width: 100%; height: 100%; }
.gallery__slide {
  position: absolute; inset: 0; opacity: 0; z-index: 1; pointer-events: none;
  transition: opacity 0.35s ease;
}
.gallery__slide--active { opacity: 1; z-index: 2; pointer-events: auto; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }

.gallery__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(32,48,31,0.55); color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.gallery__arrow:hover { background: rgba(32,48,31,0.85); }
.gallery__arrow--prev { left: 14px; }
.gallery__arrow--next { right: 14px; }

.gallery__dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 20; display: flex; justify-content: center; gap: 8px; }
.gallery__dot { width: 8px; height: 8px; border-radius: 4px; border: none; background: rgba(255,255,255,0.6); cursor: pointer; padding: 0; transition: width 0.2s; }
.gallery__dot--active { width: 22px; background: #C9971F; }

.gallery__counter {
  position: absolute; top: 14px; right: 14px; z-index: 20;
  background: rgba(32,48,31,0.55); color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 12px;
}

/* ---------- Footer ---------- */
.site-footer { background: #20301F; color: #E8E7E0; padding: 56px 48px 28px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 800px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}
.site-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.site-footer__logo { height: 40px; width: auto; object-fit: contain; background: #fff; border-radius: 6px; padding: 4px; }
.site-footer__name { font-family: 'Source Serif 4', serif; font-size: 18px; font-weight: 700; color: #fff; }
.site-footer__blurb { font-size: 14px; line-height: 1.7; color: #C7CBBF; max-width: 360px; margin: 0; }
.site-footer__heading { font-size: 13px; font-weight: 600; letter-spacing: 0.5px; color: #9DBF9E; text-transform: uppercase; margin-bottom: 14px; }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer__links a { color: #E8E7E0; text-decoration: none; }
.site-footer__links a:hover { color: #C9971F; }
.site-footer__muted { color: #C7CBBF; }
.site-footer__bottom {
  max-width: 1200px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #3A4A38;
  font-size: 12.5px; color: #8FA091; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
