/* ==========================================================================
   TWLEN — Turkana Women Livestock & Enterprise Network
   Global Stylesheet
   Palette:
     Forest Green   #2E7D32  (primary)
     Earth Brown    #8D6E63  (secondary)
     Golden Amber   #F9A825  (accent / donate)
     Sky Blue       #0288D1  (partnership / links)
     White          #FFFFFF  (background)
     Charcoal Grey  #333333  (text)
   Fonts: Poppins (headings), Lato (body)
   ========================================================================== */

:root {
  --green: #2E7D32;
  --green-dark: #1B5E20;
  --green-light: #4CAF50;
  --brown: #8D6E63;
  --brown-light: #A1887F;
  --amber: #F9A825;
  --amber-dark: #F57F17;
  --blue: #0288D1;
  --blue-dark: #01579B;
  --white: #FFFFFF;
  --charcoal: #333333;
  --grey-100: #f6f7f5;
  --grey-200: #eceee9;
  --grey-300: #d9ddd4;
  --grey-500: #7a7f77;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1200px;
  --header-h: 110px;
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  animation: pageFade .35s ease both;
}
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--green-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-dark); }

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

ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

.container {
  width: 100%;
  /* max-width: var(--max); */
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 76px 0; }
.section--tight { padding: 48px 0; }
.section--grey { background: var(--grey-100); }
.section--green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
}
.section--green h1,
.section--green h2,
.section--green h3 { color: #fff; }

.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--amber-dark);
  margin-bottom: .6rem;
}
.section--green .eyebrow { color: var(--amber); }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: .4em;
}
.section-intro {
  max-width: 760px;
  margin: 0 auto 2.6em;
  color: #555;
  font-size: 1.08rem;
}
.section--green .section-intro { color: rgba(255, 255, 255, .9); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: center;
  line-height: 1.1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); color: #fff; }

.btn--amber { background: var(--amber); color: #3a2c00; }
.btn--amber:hover { background: var(--amber-dark); color: #3a2c00; }

.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }

.btn--outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }

.btn--white { background: #fff; color: var(--green-dark); }
.btn--white:hover { background: var(--grey-100); color: var(--green-dark); }

.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn--ghost-white:hover { background: #fff; color: var(--green-dark); }

.btn--lg { padding: 15px 34px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
/* Reserve space so the JS-injected header doesn't cause a layout jump */
#site-header { min-height: var(--header-h); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
}
.brand:hover { color: var(--green-dark); }
.brand__logo {
  width: 64px; height: 64px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--green);
  display: grid; place-items: center;
  color: #fff;
  overflow: hidden;
}
.brand__logo svg { width: 30px; height: 30px; }
.brand__logo--img {
  width: auto; height: 88px;
  border-radius: 10px;
  background: transparent;
  padding: 0;
  overflow: visible;
}
.brand__logo--img img { width: auto; height: auto; max-height: 100%; max-width: 160px; object-fit: contain; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__acr { font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; color: var(--green-dark); letter-spacing: .5px; }
.brand__full { font-size: .68rem; color: var(--brown); font-weight: 600; letter-spacing: .02em; }

.nav__drawer {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  justify-content: flex-end;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .96rem;
  color: var(--charcoal);
  padding: 9px 11px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav__link:hover { background: var(--grey-100); color: var(--green-dark); }
.nav__link.is-active { color: var(--green); background: rgba(46, 125, 50, .1); font-weight: 700; }
.nav__link.is-active:hover { background: rgba(46, 125, 50, .16); }
.nav__link.is-active::after {
  content: "";
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--amber);
  margin-top: 4px;
}

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__cta .btn { padding: 9px 18px; font-size: .92rem; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 26px; height: 3px;
  background: var(--green-dark);
  border-radius: 3px;
  transition: transform .25s, opacity .25s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1100px) {
  :root { --header-h: 88px; }
  .brand__logo--img { height: 54px; }
  .brand__logo--img img { max-width: 130px; }
  .nav__toggle { display: flex; }
  .nav__drawer {
    position: fixed;
    left: 0; right: 0;
    top: var(--header-h);
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--grey-200);
    padding: 12px 22px 22px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-140%);
    transition: transform .3s ease;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav__drawer { transform: translateY(0); }
  .nav__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }
  .nav__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--grey-200);
  }
  .nav__link { padding: 12px 10px; }
  .nav__link.is-active::after { display: none; }
  .nav__cta .btn { justify-content: center; }
}

@media (max-width: 560px) {
  :root { --header-h: 72px; }
  .brand__logo--img { height: 44px; }
  .brand__logo--img img { max-width: 83px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(rgba(19, 63, 24, .72), rgba(19, 63, 24, .58)),
              url("../img/image%20one.jpeg") center/cover no-repeat;
}
.hero__inner {
  padding: 100px 0 96px;
  max-width: 820px;
}
.hero__tag {
  display: inline-block;
  background: rgba(249, 168, 37, .95);
  color: #3a2c00;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.3rem);
  margin-bottom: .4em;
}
.hero__slogan {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: rgba(255, 255, 255, .94);
  max-width: 680px;
  margin-bottom: 1.8em;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Generic page hero (interior pages) */
.page-hero {
  position: relative;
  color: #fff;
  padding: 74px 0 64px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
}
.page-hero.page-hero--brown { background: linear-gradient(135deg, var(--brown) 0%, #5d4037 100%); }
.page-hero.page-hero--blue { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); }
.page-hero.page-hero--amber { background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%); }
.page-hero.page-hero--amber h1, .page-hero.page-hero--amber .page-hero__lead { color: #3a2c00; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.page-hero__lead { max-width: 760px; font-size: 1.12rem; color: rgba(255,255,255,.92); margin-bottom: 0; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.95); }
.page-hero--amber .breadcrumb, .page-hero--amber .breadcrumb a { color: #4a3800; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 900px) {
  .split, .split--wide-left { grid-template-columns: 1fr; gap: 30px; }
}
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 300px;
  background-size: cover;
  background-position: center;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--grey-300); }
.card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  background: rgba(46, 125, 50, .1);
  color: var(--green);
}
.card__icon svg { width: 30px; height: 30px; }
.card--amber .card__icon { background: rgba(249,168,37,.14); color: var(--amber-dark); }
.card--blue .card__icon { background: rgba(2,136,209,.12); color: var(--blue); }
.card--brown .card__icon { background: rgba(141,110,99,.14); color: var(--brown); }
.card h3 { font-size: 1.2rem; }
.card p { color: #555; margin-bottom: 0; }

.card--link { display: block; color: inherit; }
.card--link:hover { color: inherit; }
.card__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-family: var(--font-head); font-weight: 600;
  color: var(--green); font-size: .95rem;
}

/* Programme card with top color bar */
.prog-card { position: relative; overflow: hidden; }
.prog-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--green);
}
.prog-card--amber::before { background: var(--amber); }
.prog-card--blue::before { background: var(--blue); }
.prog-card--brown::before { background: var(--brown); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
}
.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--amber);
  line-height: 1;
}
.stat__label { color: rgba(255,255,255,.9); font-size: .98rem; margin-top: 8px; }

/* Light stats variant */
.stats--light .stat { background: #fff; border: 1px solid var(--grey-200); box-shadow: var(--shadow-sm); }
.stats--light .stat__num { color: var(--green); }
.stats--light .stat__label { color: #555; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #388E3C 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 52px 46px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-banner p { color: rgba(255,255,255,.92); max-width: 640px; margin: 0 auto 1.6em; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ==========================================================================
   Feature list (checkmarks)
   ========================================================================== */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: #444;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}
.check-list--amber li::before { background-color: var(--amber-dark); }
.check-list--blue li::before { background-color: var(--blue); }

/* ==========================================================================
   Values accordion / list
   ========================================================================== */
.value-item {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.value-item__num {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  display: grid; place-items: center;
}
.value-item:nth-child(4n+2) .value-item__num { background: var(--amber); color: #3a2c00; }
.value-item:nth-child(4n+3) .value-item__num { background: var(--blue); }
.value-item:nth-child(4n) .value-item__num { background: var(--brown); }
.value-item h3 { font-size: 1.12rem; margin-bottom: .3em; }
.value-item p { margin-bottom: 0; color: #555; font-size: .98rem; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.field .req { color: #c62828; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--charcoal);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, .15);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input[type="file"] { padding: 9px; background: var(--grey-100); }
.field--check { display: flex; align-items: flex-start; gap: 10px; }
.field--check input { width: auto; margin-top: 5px; }
.field--check label { margin-bottom: 0; font-weight: 400; font-size: .92rem; color: #555; }
.form-note { font-size: .86rem; color: var(--grey-500); }

.form-alert {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(46,125,50,.12);
  border: 1px solid rgba(46,125,50,.4);
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 18px;
}
.form-alert.is-visible { display: flex; }
.form-alert svg { flex: 0 0 auto; }

/* ==========================================================================
   Contact info blocks
   ========================================================================== */
.info-item { display: flex; gap: 16px; margin-bottom: 22px; }
.info-item__icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(2,136,209,.1);
  color: var(--blue);
  display: grid; place-items: center;
}
.info-item h4 { margin: 0 0 3px; font-size: 1.02rem; color: var(--green-dark); }
.info-item p { margin: 0; color: #555; font-size: .98rem; }

/* ==========================================================================
   Donate page
   ========================================================================== */
.donate-box {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.donate-box h3 { text-align: center; }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.amount-btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 8px;
  border: 2px solid var(--grey-300);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--green-dark);
  cursor: pointer;
  transition: all .18s ease;
}
.amount-btn:hover { border-color: var(--amber); }
.amount-btn.is-selected { background: var(--amber); border-color: var(--amber); color: #3a2c00; }
.custom-amount { position: relative; margin-bottom: 8px; }
.custom-amount span {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-weight: 700; color: var(--grey-500);
}
.custom-amount input { padding-left: 32px !important; }
.freq-toggle { display: flex; gap: 8px; margin-bottom: 16px; }
.freq-toggle button {
  flex: 1;
  padding: 10px;
  border: 2px solid var(--grey-300);
  background: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  color: var(--charcoal);
  transition: all .18s;
}
.freq-toggle button.is-selected { background: var(--green); border-color: var(--green); color: #fff; }
#paypal-button-container { margin-top: 8px; min-height: 50px; }
.donate-secure {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; font-size: .84rem; color: var(--grey-500);
}
.impact-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--grey-200); }
.impact-row:last-child { border-bottom: 0; }
.impact-row__amt {
  flex: 0 0 auto; font-family: var(--font-head); font-weight: 800;
  color: var(--amber-dark); font-size: 1.1rem; min-width: 62px;
}

/* ==========================================================================
   Testimonials / stories
   ========================================================================== */
.story {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.story__img { height: 210px; background-size: cover; background-position: center; }
.story__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.story__tag {
  align-self: flex-start;
  font-family: var(--font-head); font-weight: 600; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--green); background: rgba(46,125,50,.1);
  padding: 4px 10px; border-radius: 50px; margin-bottom: 12px;
}
.story__body h3 { font-size: 1.15rem; }
.story__body p { color: #555; }
.quote { font-style: italic; color: var(--brown); border-left: 3px solid var(--amber); padding-left: 14px; margin-top: auto; }

/* ==========================================================================
   Board / Team members
   ========================================================================== */
.team-card {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card__photo {
  position: relative;
  height: 280px;
  background-size: cover;
  background-position: center top;
  background-color: var(--grey-200);
}
.team-card__photo::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: var(--green);
}
.team-card:nth-child(4n+2) .team-card__photo::after { background: var(--amber); }
.team-card:nth-child(4n+3) .team-card__photo::after { background: var(--blue); }
.team-card:nth-child(4n) .team-card__photo::after { background: var(--brown); }
.team-card__body { padding: 22px 20px 26px; }
.team-card__name { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--green-dark); margin: 0 0 4px; }
.team-card__role {
  display: inline-block;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--amber-dark); margin-bottom: 10px;
}
.team-card__bio { color: #666; font-size: .94rem; margin: 0; }
.team-card__social { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.team-card__social a {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grey-100); color: var(--green);
  transition: background .2s, color .2s, transform .2s;
}
.team-card__social a:hover { background: var(--green); color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   Partners strip
   ========================================================================== */
.partners { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.partner-chip {
  background: #fff; border: 1px solid var(--grey-200); border-radius: 50px;
  padding: 10px 22px; font-family: var(--font-head); font-weight: 600;
  color: var(--brown); box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Organizational chart / flow
   ========================================================================== */
.orgchart { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-node {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-top: 4px solid var(--green);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 16px 26px;
  text-align: center;
  max-width: 560px;
  width: 100%;
}
.org-node h3 { font-size: 1.15rem; margin: 0 0 2px; }
.org-node span { font-size: .9rem; color: #666; }
.org-node--assembly { border-top-color: var(--green-dark); background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); }
.org-node--assembly h3 { color: #fff; }
.org-node--assembly span { color: rgba(255,255,255,.9); }
.org-node--board { border-top-color: var(--amber); }
.org-node--exec { border-top-color: var(--blue); }
.org-node--beneficiaries { border-top-color: var(--brown); background: var(--grey-100); }
/* vertical connector between stacked nodes */
.org-line { width: 3px; height: 34px; background: var(--grey-300); }
/* a labelled tier heading inside the chart */
.org-tier {
  font-family: var(--font-head); font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; font-size: .8rem; color: var(--amber-dark);
  margin: 0 0 14px;
}
/* row of parallel children */
.org-row {
  display: grid; gap: 14px; width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.org-branch {
  background: #fff; border: 1px solid var(--grey-200);
  border-left: 4px solid var(--green); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); padding: 14px 16px; text-align: left;
}
.org-branch h4 { font-size: .98rem; margin: 0 0 4px; color: var(--green-dark); }
.org-branch p { font-size: .84rem; color: #666; margin: 0; }
.org-row .org-branch:nth-child(4n+2) { border-left-color: var(--amber); }
.org-row .org-branch:nth-child(4n+3) { border-left-color: var(--blue); }
.org-row .org-branch:nth-child(4n) { border-left-color: var(--brown); }
/* pill group (community groups) */
.org-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.org-pill {
  background: rgba(46,125,50,.1); color: var(--green-dark);
  border-radius: 50px; padding: 8px 16px;
  font-family: var(--font-head); font-weight: 600; font-size: .86rem;
}

/* Department / unit cards with responsibility lists */
.dept-card {
  background: #fff; border: 1px solid var(--grey-200);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 24px; height: 100%;
  border-top: 4px solid var(--green);
}
.dept-card:nth-child(4n+2) { border-top-color: var(--amber); }
.dept-card:nth-child(4n+3) { border-top-color: var(--blue); }
.dept-card:nth-child(4n) { border-top-color: var(--brown); }
.dept-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.dept-card ul { list-style: none; padding: 0; margin: 0; }
.dept-card li {
  position: relative; padding-left: 20px; margin-bottom: 7px;
  font-size: .92rem; color: #555;
}
.dept-card li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}
.dept-card:nth-child(4n+2) li::before { background: var(--amber-dark); }
.dept-card:nth-child(4n+3) li::before { background: var(--blue); }
.dept-card:nth-child(4n) li::before { background: var(--brown); }

/* Principle chips grid */
.principle-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.principle {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm); padding: 12px 16px;
  font-family: var(--font-head); font-weight: 600; color: var(--green-dark);
  box-shadow: var(--shadow-sm); font-size: .95rem;
}
.principle::before {
  content: ""; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}


/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #1c2419;
  color: #cdd3c8;
  padding: 60px 0 26px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo {
  flex: 0 0 auto;
  height: 60px; width: auto;
  background: transparent; padding: 0; border-radius: 10px;
  display: grid; place-items: center; overflow: hidden;
}
.footer-logo img { width: auto; height: 100%; max-width: 106px; object-fit: contain; display: block; }
.footer-brand .brand__acr { color: #fff; }
.footer-brand .brand__full { color: var(--amber); }
.site-footer h4 {
  color: #fff; font-size: 1.05rem; margin-bottom: 16px;
  font-family: var(--font-head);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #cdd3c8; font-size: .96rem; }
.footer-links a:hover { color: var(--amber); }
.footer-contact p { font-size: .94rem; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: 0 0 auto; margin-top: 3px; color: var(--amber); }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  color: #fff; transition: background .2s, transform .2s;
}
.social-row a:hover { background: var(--green-light); transform: translateY(-2px); color: #fff; }
.footer-sub {
  display: flex; gap: 8px; margin-top: 12px;
}
.footer-sub input {
  flex: 1; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08);
  color: #fff; font-family: var(--font-body);
}
.footer-sub input::placeholder { color: #9aa393; }
.footer-sub input:focus { outline: none; border-color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 44px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: .86rem; color: #9aa393;
}
.footer-bottom a { color: #cdd3c8; }
.footer-bottom a:hover { color: var(--amber); }

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  body { animation: none; }
}

/* Utility spacing */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.4rem; }
.lead { font-size: 1.14rem; color: #444; }
.divider { height: 1px; background: var(--grey-200); border: 0; margin: 40px 0; }

/* ==========================================================================
   Gallery + Lightbox
   ========================================================================== */
.gallery {
  margin-top: 40px;
  columns: 4 260px;
  column-gap: 18px;
}
.gallery__item {
  margin: 0 0 18px;
  break-inside: avoid;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
  cursor: pointer;
  background: var(--grey-100, #f4f4f4);
}
.gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .92);
  padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close {
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  font-size: 30px;
  line-height: 1;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  font-size: 24px;
}
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
@media (max-width: 620px) {
  .gallery { columns: 2 140px; column-gap: 12px; }
  .gallery__item { margin-bottom: 12px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}
