* {
  box-sizing: border-box;
}

:root {
  --blue: #0b4d8c;
  --blue-dark: #07345f;
  --red: #c4252f;
  --gold: #f0bd24;
  --black: #151515;
  --cream: #fff8eb;
  --muted: #667085;
  --white: #ffffff;
  --line: #e8e2d8;
  --shadow: 0 24px 60px rgba(7, 52, 95, 0.16);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--black);
  background: #fffdf8;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 226, 216, 0.85);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 250px;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(11, 77, 140, 0.2));
}

.brand-title,
.brand-subtitle {
  display: block;
}

.brand-title {
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
}

.brand-subtitle {
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: #293241;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-cta {
  padding: 10px 16px;
  color: var(--white) !important;
  background: var(--blue);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(11, 77, 140, 0.2);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--blue);
  color: white;
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 1.2rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  padding: clamp(52px, 8vw, 108px) clamp(20px, 5vw, 72px) 42px;
  background:
    radial-gradient(circle at top left, rgba(240, 189, 36, 0.28), transparent 30%),
    linear-gradient(135deg, #fff8eb 0%, #f5fbff 56%, #fffdf8 100%);
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
}

.section-label.light {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 5.25rem);
  line-height: 0.97;
  letter-spacing: -0.065em;
  color: var(--blue-dark);
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--blue-dark);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.18;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.hero-text {
  max-width: 680px;
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  color: #344054;
}

.hero-actions,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 16px 30px rgba(11, 77, 140, 0.22);
}

.btn.secondary {
  background: white;
  color: var(--blue);
  border: 1px solid var(--line);
}

.btn.white {
  background: white;
  color: var(--blue-dark);
}

.btn.outline-white {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: white;
}

.hero-card {
  background: white;
  padding: 14px;
  border-radius: 32px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-card img {
  display: block;
  width: 100%;
  max-height: 610px;
  object-fit: cover;
  border-radius: 24px;
}

.photo-caption {
  padding: 16px 12px 6px;
  font-weight: 750;
  color: var(--blue-dark);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 clamp(20px, 5vw, 72px);
  transform: translateY(24px);
  background: var(--blue-dark);
  color: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.intro-strip div {
  padding: 22px;
  border-right: 1px solid rgba(255,255,255,0.14);
}

.intro-strip div:last-child {
  border-right: 0;
}

.intro-strip strong,
.intro-strip span {
  display: block;
}

.intro-strip strong {
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.intro-strip span {
  font-weight: 800;
}

.section {
  padding: clamp(72px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 80px);
  padding-top: clamp(92px, 11vw, 140px);
}

.two-column p:not(.section-label) {
  font-size: 1.07rem;
  color: #344054;
}

.tinted {
  background: var(--cream);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.info-card,
.member-card,
.activity-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 28px rgba(21, 21, 21, 0.05);
}

.card-number {
  display: inline-flex;
  margin-bottom: 26px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  color: white;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.objective-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.objective-list div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-weight: 700;
  color: #344054;
}

.objective-list span {
  color: var(--red);
  font-weight: 900;
}

.split-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.panel-dark {
  background:
    radial-gradient(circle at top right, rgba(240, 189, 36, 0.25), transparent 40%),
    linear-gradient(135deg, var(--blue-dark), #061d35);
  color: white;
  border-radius: 32px;
  padding: clamp(28px, 5vw, 58px);
}

.panel-dark h2 {
  color: white;
}

.panel-dark p:not(.section-label) {
  color: rgba(255,255,255,0.82);
}

.strategy-steps {
  display: grid;
  gap: 16px;
}

.strategy-steps div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

.strategy-steps strong {
  display: block;
  color: var(--blue-dark);
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.strategy-steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.member-card.placeholder {
  opacity: 0.72;
  border-style: dashed;
}


.member-card-extra {
  display: none;
}

.member-grid.members-expanded .member-card-extra {
  display: block;
}

.member-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.member-toggle {
  border: 0;
  background: var(--blue);
  color: white;
  cursor: pointer;
  min-width: 210px;
}

.member-toggle:hover,
.member-toggle:focus-visible {
  background: var(--blue-dark);
}

.member-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--red));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.22rem;
  margin-bottom: 18px;
}

.member-avatar-photo {
  overflow: hidden;
  background: white;
  border: 3px solid white;
  box-shadow: 0 8px 20px rgba(21, 21, 21, .16);
}

.member-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.support-section {
  background:
    linear-gradient(rgba(7, 52, 95, 0.88), rgba(7, 52, 95, 0.9)),
    url("../assets/hero.jpg") center/cover;
  color: white;
  text-align: center;
}

.support-content {
  max-width: 840px;
  margin: 0 auto;
}

.support-section h2 {
  color: white;
}

.support-section p:not(.section-label) {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
}

.support-actions {
  justify-content: center;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.contact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-card p {
  margin-bottom: 12px;
}

.contact-card a {
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(20px, 5vw, 72px);
  background: #061d35;
  color: rgba(255,255,255,0.76);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

.site-footer div p {
  color: white;
  font-weight: 900;
}

.site-footer span {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 86px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero,
  .two-column,
  .split-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-strip,
  .card-grid.two,
  .objective-list,
  .member-grid,
  .activity-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand-title {
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-card {
    transform: none;
  }

  .intro-strip,
  .card-grid.two,
  .objective-list,
  .member-grid,
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    transform: none;
    margin-top: 18px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .section {
    padding: 64px 18px;
  }
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  color: var(--blue-dark);
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #d9d3c8;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--black);
  background: #fffdf8;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(11, 77, 140, 0.16);
  border-color: var(--blue);
}

.form-button {
  border: 0;
  cursor: pointer;
  width: 100%;
  margin-top: 6px;
}

.hidden-field {
  display: none;
}

.executive-photo {
  max-width: 980px;
  margin: 0 auto 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.executive-photo img { width:100%; display:block; border-radius:20px; max-height:620px; object-fit:cover; }
.executive-photo p { margin:12px 8px 2px; color:var(--muted); font-weight:700; }
.member-grid-full { grid-template-columns: repeat(4, 1fr); }
.member-grid-full .member-card { padding:24px 18px; }
.gallery { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:36px; }
.gallery figure { margin:0; background:white; border:1px solid var(--line); border-radius:24px; overflow:hidden; box-shadow:0 12px 28px rgba(21,21,21,.06); }
.gallery img { width:100%; height:360px; object-fit:cover; display:block; }
.gallery figcaption { padding:16px 18px; color:var(--blue-dark); font-weight:800; }
.gallery-feature { grid-column:1 / -1; display:grid; grid-template-columns:minmax(260px,.8fr) 1.2fr; align-items:center; }
.gallery .gallery-feature img { height:520px; object-fit:contain; background:#fff; }
.gallery-feature figcaption { display:grid; gap:12px; padding:clamp(24px,5vw,52px); }
.gallery-feature figcaption strong { font-size:clamp(1.35rem,2.6vw,2rem); }
.gallery-feature figcaption span { color:var(--muted); font-weight:600; line-height:1.7; }
.donation-box { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:28px auto 0; max-width:820px; }
.donation-box p { margin:0 !important; padding:16px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); border-radius:16px; }
@media (max-width:980px){ .member-grid-full{grid-template-columns:repeat(3,1fr)} .donation-box{grid-template-columns:1fr} }
@media (max-width:640px){
  .member-grid-full,.gallery{grid-template-columns:1fr}
  .gallery img{height:260px}
  .gallery-feature{grid-column:auto;grid-template-columns:1fr}
  .gallery .gallery-feature img{height:430px}
}

.member-card[role="button"] {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.member-card[role="button"]:hover,
.member-card[role="button"]:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(21,21,21,.10);
  border-color: var(--blue);
  outline: none;
}
.member-card-hint {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 800;
}
.member-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.member-modal.open { display: flex; }
.member-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 25, 44, .72);
  backdrop-filter: blur(4px);
}
.member-modal-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: white;
  border-radius: 28px;
  padding: 38px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  text-align: center;
}
.member-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--blue-dark);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.member-profile-photo {
  width: 132px;
  height: 132px;
  margin: 4px auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--red));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  background-position: center;
  background-size: cover;
  border: 6px solid white;
  box-shadow: 0 12px 30px rgba(21,21,21,.16);
}
.member-profile-photo.has-photo span { display: none; }
.member-modal-dialog h2 { margin-bottom: 8px; }
.member-modal-role { color: var(--blue); font-weight: 800; margin-top: 0; }
body.modal-open { overflow: hidden; }
@media (max-width: 560px) {
  .member-modal-dialog { padding: 32px 22px 26px; }
  .member-profile-photo { width: 112px; height: 112px; }
}

/* News & Updates (content lives in js/news.js) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  background: white;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 28px rgba(21, 21, 21, 0.05);
}

.news-card h3 {
  margin: 0 0 10px;
  line-height: 1.3;
}

.news-meta {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.news-link,
.news-more a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.news-link:hover,
.news-more a:hover {
  text-decoration: underline;
}

.news-more {
  margin-top: 26px;
}

.news-archive {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.news-year {
  color: var(--blue-dark);
  font-size: 1.5rem;
  margin: 18px 0 0;
  border-bottom: 2px solid var(--line);
  padding-bottom: 8px;
}

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

/* Updates page: short nav that never collapses */
.site-nav.simple-nav {
  position: static;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

@media (max-width: 600px) {
  .site-nav.simple-nav .nav-cta {
    display: none;
  }
}

.news-card {
  min-width: 0;
  overflow-wrap: anywhere;
}

.news-thumb {
  display: block;
  width: calc(100% + 56px);
  margin: -28px -28px 20px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.news-card {
  overflow: hidden;
}

.news-credit {
  color: var(--muted);
  font-size: 0.75rem;
  margin: 12px 0 0;
}

/* Archive page: photo on the left on wide screens */
@media (min-width: 700px) {
  .news-archive .news-card:has(.news-thumb) {
    display: grid;
    grid-template-columns: 240px 1fr;
    column-gap: 26px;
    align-content: start;
  }

  .news-archive .news-thumb {
    grid-row: 1 / span 6;
    width: calc(100% + 28px);
    height: calc(100% + 56px);
    margin: -28px 0 -28px -28px;
    aspect-ratio: auto;
    border-radius: var(--radius) 0 0 var(--radius);
  }
}

/* Latest-update bar (top of homepage, filled from js/news.js) */
.news-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px clamp(18px, 4vw, 56px);
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.92rem;
  text-decoration: none;
}
.news-bar[hidden] { display: none; }
.news-bar:hover .news-bar-more { text-decoration: underline; }
.news-bar-tag {
  flex: none;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.news-bar-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-bar-more { flex: none; color: var(--gold); font-weight: 600; }
@media (max-width: 600px) { .news-bar-more { display: none; } }

/* Visual polish for the text-heavy sections (Focus strip → Strategic Plan) */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.intro-strip .ico { color: var(--gold); margin-bottom: 10px; width: 28px; height: 28px; }
.about-photo { margin: 28px 0 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); border-bottom: 6px solid var(--gold); }
.card-number .ico { width: 22px; height: 22px; color: white; }
.info-card { border-top: 4px solid var(--gold); }
.objective-list div { align-items: center; }
.obj-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #fdecee; }
.obj-ico .ico { color: var(--red); width: 21px; height: 21px; }
.panel-photo {
  background:
    linear-gradient(160deg, rgba(7, 52, 95, 0.86), rgba(6, 29, 53, 0.62)),
    url("../assets/activity-planting.jpeg") center / cover;
}
.strategy-steps div { position: relative; padding-left: 74px; }
.step-num { position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--black); font-weight: 900; }
@media (max-width: 640px) {
  .intro-strip { grid-template-columns: repeat(2, 1fr); }
  .intro-strip div { padding: 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
  .intro-strip div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.14); }
  .intro-strip div:nth-last-child(-n+2) { border-bottom: 0; }
}
