/* =========================================================
   PILLARS OF HOPE — Stylesheet
   Edit colors and fonts in the :root block below.
   ========================================================= */

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

:root {
  /* ---- Brand colors (earthy palette) ---- */
  --green-deep:   #1F3A2E;
  --green-mid:    #2F5444;
  --green-soft:   #4A6F5C;
  --amber:        #C89D4A;
  --amber-dark:   #A07A2E;
  --clay:         #B05A38;
  --cream:        #F5EEDF;
  --cream-soft:   #FAF6EC;
  --cream-deep:   #EBE2CC;
  --ink:          #1A1A1A;
  --ink-soft:     #4A4540;
  --ink-faint:    #8A857C;

  /* ---- Type ---- */
  --serif:  'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:   'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ---- Layout ---- */
  --max-w:        1280px;
  --gutter:       clamp(1.25rem, 4vw, 2.5rem);
  --section-pad:  clamp(4rem, 9vw, 7rem);
  --radius:       4px;
  --radius-lg:    14px;

  /* ---- Motion ---- */
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast:  0.2s;
  --t-mid:   0.5s;
  --t-slow:  0.9s;
}

/* =========================================================
   RESET + BASE
   ========================================================= */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

ul, ol { list-style: none; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--green-deep);
}

.h-display {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.h-display em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber-dark);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.2rem; }

p { color: var(--ink-soft); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--amber-dark);
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */

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

.section { padding: var(--section-pad) 0; }

.section--cream-deep { background: var(--cream-deep); }
.section--green { background: var(--green-deep); color: var(--cream); }
.section--green h1, .section--green h2, .section--green h3 { color: var(--cream); }
.section--green p { color: rgba(245, 238, 223, 0.78); }
.section--green .eyebrow { color: var(--amber); }
.section--green .eyebrow::before { background: var(--amber); }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 238, 223, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 58, 46, 0.08);
  transition: background var(--t-fast) var(--ease);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: -0.01em;
}

.nav__logo svg { width: 38px; height: 38px; flex-shrink: 0; }

.nav__logo small {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 0.25rem 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--green-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-fast) var(--ease);
}

.nav__links a:hover::after, .nav__links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  background: var(--green-deep);
  color: var(--cream) !important;
  padding: 0.65rem 1.4rem !important;
  border-radius: 999px;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.nav__cta:hover { background: var(--green-mid); transform: translateY(-1px); }
.nav__cta::after { display: none; }

.nav__toggle {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

@media (max-width: 920px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem var(--gutter);
    gap: 1.5rem;
    border-bottom: 1px solid rgba(31, 58, 46, 0.08);
    transform: translateY(-110%);
    transition: transform var(--t-mid) var(--ease);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__cta { display: inline-block; align-self: flex-start; }
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  cursor: pointer;
  line-height: 1;
}

.btn--primary {
  background: var(--green-deep);
  color: var(--cream);
}
.btn--primary:hover { background: var(--green-mid); transform: translateY(-2px); }

.btn--amber {
  background: var(--amber);
  color: var(--green-deep);
}
.btn--amber:hover { background: var(--amber-dark); color: var(--cream); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--green-deep);
  border: 1px solid rgba(31, 58, 46, 0.3);
}
.btn--ghost:hover { background: var(--green-deep); color: var(--cream); border-color: var(--green-deep); }

.btn--light {
  background: var(--cream);
  color: var(--green-deep);
}
.btn--light:hover { background: var(--amber); transform: translateY(-2px); }

.btn .arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================
   HERO (HOME)
   ========================================================= */

.hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -10%; right: -15%;
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle at center, rgba(200, 157, 74, 0.18), transparent 65%);
  border-radius: 50%;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -15%;
  width: 50vw; height: 50vw;
  max-width: 600px; max-height: 600px;
  background: radial-gradient(circle at center, rgba(31, 58, 46, 0.07), transparent 65%);
  border-radius: 50%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

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

.hero__title {
  margin: 1.5rem 0 1.5rem;
}

.hero__sub { max-width: 52ch; margin-bottom: 2.25rem; }

.hero__ctas { display: flex; gap: 0.85rem; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-deep);
}

.hero__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(200, 157, 74, 0.35), transparent 60%),
    linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
}

.hero__visual-content {
  position: absolute;
  inset: 0;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--cream);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  background: rgba(245, 238, 223, 0.12);
  border: 1px solid rgba(245, 238, 223, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.hero__badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__visual-stat {
  font-family: var(--serif);
}

.hero__visual-stat .num {
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 0.9;
  color: var(--amber);
  letter-spacing: -0.03em;
}

.hero__visual-stat .label {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 238, 223, 0.75);
  margin-top: 0.75rem;
  display: block;
}

/* =========================================================
   STATS STRIP
   ========================================================= */

.stats {
  border-top: 1px solid rgba(31, 58, 46, 0.12);
  border-bottom: 1px solid rgba(31, 58, 46, 0.12);
  background: var(--cream-soft);
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}

.stat {
  padding: 2.5rem clamp(1.25rem, 3vw, 2.25rem);
  border-right: 1px solid rgba(31, 58, 46, 0.1);
}
.stat:last-child { border-right: none; }

@media (max-width: 700px) {
  .stat { border-right: none; border-bottom: 1px solid rgba(31, 58, 46, 0.1); }
  .stat:last-child { border-bottom: none; }
}

.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 300;
  color: var(--green-deep);
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 0.65rem;
}

.stat__num em {
  color: var(--amber-dark);
  font-style: normal;
  font-weight: 400;
}

.stat__label {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* =========================================================
   FEATURE CARDS / PROGRAM CARDS
   ========================================================= */

.feature {
  background: var(--cream-soft);
  border: 1px solid rgba(31, 58, 46, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: transform var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
  position: relative;
  overflow: hidden;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--amber);
  box-shadow: 0 18px 40px -20px rgba(31, 58, 46, 0.18);
}

.feature__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}

.feature__icon svg { width: 24px; height: 24px; }

.feature h3 { margin-bottom: 0.75rem; }
.feature p { color: var(--ink-soft); }

/* =========================================================
   SECTION HEADER
   ========================================================= */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

.section-head h2 { max-width: 14ch; }

/* =========================================================
   TIMELINE / GOALS
   ========================================================= */

.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 12px; bottom: 12px;
  width: 1px;
  background: linear-gradient(to bottom, var(--amber) 0%, var(--green-soft) 50%, var(--green-deep) 100%);
}

.timeline__item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 10px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--amber);
  box-shadow: 0 0 0 4px var(--cream);
}

.timeline__phase {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 0.5rem;
}

.timeline__item h3 { margin-bottom: 0.75rem; }

.timeline__item ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.timeline__item li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
}

.timeline__item li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 1px;
  background: var(--green-soft);
}

/* =========================================================
   DONATION TIERS
   ========================================================= */

.tier {
  border: 1px solid rgba(31, 58, 46, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--cream-soft);
  position: relative;
  transition: transform var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}

.tier:hover { transform: translateY(-6px); border-color: var(--amber); box-shadow: 0 20px 50px -25px rgba(31, 58, 46, 0.25); }

.tier--featured {
  background: var(--green-deep);
  color: var(--cream);
  border-color: var(--green-deep);
}

.tier--featured h3, .tier--featured .tier__amount { color: var(--amber); }
.tier--featured p { color: rgba(245, 238, 223, 0.78); }

.tier__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--green-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
}

.tier__amount {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--green-deep);
  line-height: 1;
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.tier__amount .currency {
  font-size: 1.5rem;
  vertical-align: super;
  margin-right: 0.1em;
}

.tier h3 { margin-bottom: 0; }

.tier__desc { margin: 1rem 0 1.5rem; min-height: 4rem; }

.tier ul { text-align: left; margin-bottom: 1.5rem; }

.tier li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(31, 58, 46, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.tier--featured li { color: rgba(245, 238, 223, 0.85); border-color: rgba(245, 238, 223, 0.1); }

.tier li::before {
  content: '✓';
  color: var(--amber-dark);
  font-weight: 700;
  flex-shrink: 0;
}

.tier--featured li::before { color: var(--amber); }

/* =========================================================
   CTA SECTION
   ========================================================= */

.cta-band {
  background: var(--green-deep);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%; transform: translateX(-50%);
  width: 80%; height: 100%;
  background: radial-gradient(ellipse at center top, rgba(200, 157, 74, 0.18), transparent 60%);
  pointer-events: none;
}

.cta-band > * { position: relative; z-index: 1; }

.cta-band h2 { color: var(--cream); max-width: 22ch; margin: 0 auto 1.25rem; }
.cta-band p { color: rgba(245, 238, 223, 0.78); max-width: 50ch; margin: 0 auto 2rem; }

.cta-band__buttons { display: inline-flex; gap: 0.85rem; flex-wrap: wrap; justify-content: center; }

/* =========================================================
   GET INVOLVED CARDS
   ========================================================= */

.way-card {
  background: var(--cream-soft);
  border: 1px solid rgba(31, 58, 46, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}

.way-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(31, 58, 46, 0.18); }

.way-card__num {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(200, 157, 74, 0.4);
  line-height: 1;
  letter-spacing: -0.03em;
  position: absolute;
  top: 1.5rem; right: 2rem;
}

.way-card h3 { margin: 0 0 1rem; max-width: 14ch; }
.way-card p { margin-bottom: 1.5rem; }

.way-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--green-deep);
  border-bottom: 1px solid var(--amber);
  padding-bottom: 2px;
  transition: gap var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.way-card__link:hover { gap: 0.85rem; color: var(--amber-dark); }

/* =========================================================
   IMAGE PLACEHOLDERS / GALLERY
   ========================================================= */

.image-ph {
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  color: rgba(245, 238, 223, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}

.image-ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(200, 157, 74, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(176, 90, 56, 0.12), transparent 45%);
}

.image-ph span { position: relative; z-index: 1; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery .image-ph:nth-child(3n+1) { aspect-ratio: 4/5; }
.gallery .image-ph:nth-child(5n+2) { aspect-ratio: 1/1; }

/* =========================================================
   EVENTS LIST
   ========================================================= */

.event {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(31, 58, 46, 0.12);
  transition: padding var(--t-fast) var(--ease);
}

.event:first-child { border-top: 1px solid rgba(31, 58, 46, 0.12); }
.event:hover { padding-left: 0.75rem; }

@media (max-width: 700px) {
  .event { grid-template-columns: 1fr; gap: 0.75rem; }
  .event:hover { padding-left: 0; }
}

.event__date {
  font-family: var(--serif);
  text-align: center;
  border-right: 1px solid rgba(31, 58, 46, 0.15);
  padding-right: 1.5rem;
}

@media (max-width: 700px) {
  .event__date { text-align: left; border-right: none; padding-right: 0; }
}

.event__date .month {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-dark);
  font-family: var(--sans);
  display: block;
  margin-bottom: 0.25rem;
}

.event__date .day {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--green-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}

.event__info h3 { font-size: 1.4rem; margin-bottom: 0.35rem; }
.event__info p { color: var(--ink-faint); font-size: 0.92rem; margin: 0; }
.event__info .where { color: var(--ink-soft); margin-top: 0.3rem; }

/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(31, 58, 46, 0.12);
}

.contact-card:last-child { border-bottom: none; }

.contact-card__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card__icon svg { width: 18px; height: 18px; }

.contact-card h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.4rem;
}

.contact-card a, .contact-card p { color: var(--green-deep); font-size: 1.1rem; }
.contact-card a:hover { color: var(--amber-dark); }

.form {
  background: var(--cream-soft);
  border: 1px solid rgba(31, 58, 46, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

.form__field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }

.form label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.form input, .form select, .form textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(31, 58, 46, 0.2);
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(200, 157, 74, 0.18);
}

.form textarea { min-height: 130px; resize: vertical; }

/* =========================================================
   FOOTER
   ========================================================= */

footer.foot {
  background: var(--green-deep);
  color: rgba(245, 238, 223, 0.75);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  margin-top: 0;
}

.foot__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 238, 223, 0.12);
}

@media (max-width: 800px) { .foot__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot__top { grid-template-columns: 1fr; } }

.foot__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--serif);
  color: var(--cream);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.foot__brand svg { width: 42px; height: 42px; }

.foot__about { max-width: 32ch; color: rgba(245, 238, 223, 0.65); font-size: 0.93rem; }

.foot h5 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.foot ul { display: flex; flex-direction: column; gap: 0.75rem; }

.foot a {
  color: rgba(245, 238, 223, 0.75);
  font-size: 0.93rem;
}
.foot a:hover { color: var(--amber); }

.foot__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(245, 238, 223, 0.5);
}

.foot__bottom .ein {
  font-family: var(--sans);
  letter-spacing: 0.05em;
}

/* =========================================================
   SMALL UTILITIES + REVEAL
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in { opacity: 1; transform: translateY(0); }

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

.muted { color: var(--ink-faint); }

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(31, 58, 46, 0.18), transparent);
  margin: clamp(2rem, 4vw, 3.5rem) 0;
}

/* Page hero for inner pages */
.page-hero {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  position: relative;
}

.page-hero .eyebrow { margin-bottom: 1.5rem; }
.page-hero h1 { max-width: 18ch; margin-bottom: 1.25rem; }
.page-hero .lead { margin-bottom: 0; }

/* Anchor offset for sticky nav */
[id] { scroll-margin-top: 90px; }

/* =========================================================
   ILLUSTRATIONS (replace image-ph use)
   ========================================================= */

.illus {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--cream-deep);
  overflow: hidden;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.illus--square { aspect-ratio: 1/1; }
.illus--portrait { aspect-ratio: 4/5; }
.illus--wide { aspect-ratio: 16/9; }

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-deep);
  transition: transform var(--t-mid) var(--ease);
}

.gallery-item:hover { transform: translateY(-4px); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(31, 58, 46, 0.85), transparent);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* =========================================================
   DONATION WIDGET
   ========================================================= */

.donate-widget {
  background: var(--cream-soft);
  border: 1px solid rgba(31, 58, 46, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 30px 60px -30px rgba(31, 58, 46, 0.25);
  position: relative;
}

.donate-widget__header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.donate-widget__header .eyebrow { margin-bottom: 0.75rem; }

.donate-widget__header h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.015em;
}

/* Frequency toggle */
.dw-frequency {
  display: flex;
  background: var(--cream-deep);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 1.5rem;
  position: relative;
}

.dw-frequency__slider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: calc(50% - 4px);
  background: var(--green-deep);
  border-radius: 999px;
  transition: transform 0.35s var(--ease);
}

.dw-frequency[data-active="m"] .dw-frequency__slider { transform: translateX(100%); }

.dw-tab {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: color var(--t-fast) var(--ease);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.dw-tab.is-active { color: var(--cream); }

.dw-tab__hint {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  margin-top: 2px;
  opacity: 0.7;
  letter-spacing: 0.05em;
}

/* Amount grid */
.dw-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
  .dw-amounts { grid-template-columns: repeat(2, 1fr); }
}

.dw-amount {
  background: var(--cream);
  border: 1.5px solid rgba(31, 58, 46, 0.15);
  border-radius: var(--radius);
  padding: 1rem 0.5rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green-deep);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
}

.dw-amount:hover { border-color: var(--amber); transform: translateY(-2px); }

.dw-amount.is-active {
  background: var(--green-deep);
  color: var(--amber);
  border-color: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(31, 58, 46, 0.4);
}

/* Custom amount */
.dw-custom { margin-bottom: 1.5rem; }

.dw-custom__label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
  display: block;
}

.dw-custom__input-wrap {
  display: flex;
  align-items: center;
  background: var(--cream);
  border: 1.5px solid rgba(31, 58, 46, 0.15);
  border-radius: var(--radius);
  padding: 0 1rem;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.dw-custom__input-wrap:focus-within {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(200, 157, 74, 0.18);
}

.dw-custom__input-wrap span {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink-faint);
  margin-right: 0.4rem;
}

.dw-custom__input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--green-deep);
  padding: 0.85rem 0;
  outline: none;
  min-width: 0;
}

.dw-custom__input-wrap input::placeholder { color: rgba(31, 58, 46, 0.3); }

/* Impact text */
.dw-impact {
  background: rgba(200, 157, 74, 0.12);
  border-left: 3px solid var(--amber);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.dw-impact__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--amber-dark);
}

.dw-impact__text {
  font-size: 0.95rem;
  color: var(--green-deep);
  line-height: 1.45;
  margin: 0;
}

.dw-impact__text strong { font-weight: 600; }

/* Submit button */
.dw-submit {
  width: 100%;
  justify-content: center;
  background: var(--green-deep);
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  border: none;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  font-family: var(--sans);
}

.dw-submit:hover { background: var(--green-mid); transform: translateY(-2px); }

.dw-submit svg { transition: transform var(--t-fast) var(--ease); }
.dw-submit:hover svg { transform: translateX(4px); }

/* Trust signals */
.dw-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.dw-trust svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.dw-trust__sep { color: rgba(31, 58, 46, 0.3); }

/* Layout for donate hero with widget */
.donate-hero {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

@media (max-width: 960px) {
  .donate-hero { grid-template-columns: 1fr; }
  .donate-widget { max-width: 480px; margin: 0 auto; width: 100%; }
}
