:root {
  --navy: #0b4f8a;
  --navy-dark: #083562;
  --green: #2f9e44;
  --green-dark: #247a34;
  --sky: #3b9fd4;
  --ink: #272b30;
  --muted: #5c6570;
  --line: #e4e8ed;
  --paper: #f6f8fa;
  --white: #fff;
  --mark: #d7f0dd;
  --radius: 4px;
  --shadow: 0 8px 28px rgba(11, 79, 138, 0.08);
  --header-h: 108px;
  --max: 1200px;
  --yellow: #ffe566;
  --fb: #1877f2;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}
.skip:focus { left: 8px; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-chrome {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
}
.topbar {
  background: var(--navy-dark);
  color: #d7e8f6;
  font-size: 13px;
  font-weight: 700;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  flex-wrap: wrap;
  padding: 6px 0;
}
.topbar a { color: #fff; }
.topbar a:hover { color: var(--yellow); }
.topbar-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Header — Neve / EKACF style */
.site-header {
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 1px 0 var(--line);
}
.site-chrome.is-scrolled .site-header {
  box-shadow: 0 8px 24px rgba(8, 53, 98, 0.08);
}
.site-chrome.is-scrolled .brand img {
  width: 72px;
  height: 72px;
  transition: 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-dark);
  flex: 0 0 auto;
}
.brand:hover { color: var(--navy); }
.brand img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  transition: 0.2s ease;
}
.brand-text { display: none; }

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav > li { position: relative; }

.nav > li > a,
.nav > li > button {
  display: block;
  padding: 10px 12px;
  background: none;
  border: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.nav > li > a:hover,
.nav > li > button:hover,
.nav > li.active > a,
.nav > li.active > button {
  color: var(--navy);
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 8px 0;
  z-index: 20;
}
.nav > li:hover > .dropdown,
.nav > li:focus-within > .dropdown { display: block; }

.dropdown a {
  display: block;
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.dropdown a:hover { background: var(--paper); color: var(--navy); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: 0.15s ease;
}
.btn-green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  border-radius: 6px;
  min-width: 132px;
}
.btn-green:hover { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn-lg { padding: 13px 24px; font-size: 16px; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  color: #fff;
  background: #083562 center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 53, 98, 0.35) 0%, rgba(8, 53, 98, 0.78) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 56px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c8ecff;
  margin-bottom: 12px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  max-width: 860px;
  font-weight: 800;
}
.hero h1 mark,
.mark,
mark {
  background: var(--yellow);
  color: var(--ink);
  padding: 0 0.15em;
  font-style: inherit;
}
.hero p {
  max-width: 720px;
  font-size: 18px;
  color: #eaf4fb;
  margin: 0 0 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.page-hero,
.page-head {
  background: #fff;
  color: var(--ink);
  padding: 48px 0 8px;
  text-align: center;
}
.page-hero::after { display: none; }
.page-hero .container,
.page-head .container { position: relative; z-index: 1; }
.page-hero h1,
.page-head h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
}
.page-hero p,
.page-head p {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

/* Campaign strip like EKACF donation goal */
.campaign {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.campaign-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}
.campaign h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-style: italic;
}
.campaign p { margin: 0 0 12px; color: var(--muted); }
.progress {
  height: 14px;
  background: #dfe6ec;
  border-radius: 99px;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  width: 12%;
  background: var(--green);
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  margin-top: 8px;
  color: var(--navy);
}

/* Feature trio */
.features {
  padding: 56px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 24px;
  background: #fff;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-style: italic;
}
.feature p { margin: 0 0 16px; color: var(--muted); }
.icon-dot {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #e7f4ec;
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 14px;
}

section { padding: 64px 0; }
.section-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
}
.section-title em { font-style: italic; font-weight: 800; }
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 760px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 6px;
}
.bg-paper { background: var(--paper); }
.bg-navy {
  background: var(--navy-dark);
  color: #fff;
}
.bg-navy .lead,
.bg-navy p { color: #d5e6f3; }
.bg-navy .section-title { color: #fff; }

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.help-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 24px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
}
.help-card h3 { margin: 0 0 8px; font-size: 24px; }
.help-card p { margin: 0 0 18px; color: var(--muted); flex: 1; }

.program-grid,
.card-grid,
.news-grid,
.team-grid {
  display: grid;
  gap: 22px;
}
.program-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.news-grid { grid-template-columns: repeat(3, 1fr); }
.team-grid { grid-template-columns: repeat(3, 1fr); }

.media-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.media-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.media-card .body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.media-card h3 { margin: 0 0 8px; font-size: 20px; }
.media-card p { margin: 0 0 14px; color: var(--muted); flex: 1; }
.meta {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 8px;
}

.team-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
  max-width: 980px;
  margin: 0 auto;
}
.team-card {
  text-align: center;
  border: 0;
  padding: 0;
  background: transparent;
}
.team-card a.photo {
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: none;
  text-decoration: none;
}
.team-card a.photo.initials {
  background: var(--navy);
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.team-card a.photo.initials.g { background: var(--green); color: #fff; }
.team-card a.photo.initials.s { background: var(--sky); color: #fff; }
.team-card a.photo.initials:hover { color: #fff; filter: brightness(1.08); }
.team-card a.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.team-card a.photo:hover img { transform: scale(1.05); }
.avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0.04em;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.g { background: var(--green); }
.avatar.s { background: var(--sky); }
.team-card h3 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.team-card .role {
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0;
}

.bio-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 0 40px;
}
.bio-wrap img.portrait {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}
.bio-wrap h1 { margin: 0 0 4px; font-size: 32px; }
.bio-wrap .role { font-weight: 800; margin-bottom: 18px; }
.bio-wrap .signoff { margin-top: 28px; font-weight: 800; }

.home-intro {
  text-align: center;
  padding: 56px 0 24px;
}
.home-intro h1 {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  max-width: 920px;
  margin: 0 auto 18px;
  line-height: 1.45;
}
.home-banner img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
.feature {
  border: 0;
  padding: 8px 12px 20px;
  text-align: center;
}
.help-card {
  border: 0;
  box-shadow: none;
  background: var(--paper);
}

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose p { color: #3b434c; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin: 20px 0 0;
}
.facts div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.facts dt {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd { margin: 2px 0 0; font-weight: 700; }

.form {
  display: grid;
  gap: 14px;
  max-width: 640px;
}
label { font-weight: 700; font-size: 14px; }
input, select, textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #cfd6dd;
  border-radius: 4px;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
.amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.amounts button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}
.amounts button.active,
.amounts button:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: #f1faf3;
}

.notice {
  border-left: 4px solid var(--sky);
  background: #eef7fc;
  padding: 14px 16px;
  border-radius: 0 4px 4px 0;
  color: #234;
  font-size: 15px;
}
.notice.warn {
  border-color: #d39b00;
  background: #fff8e8;
}

.site-footer {
  background: #0b2338;
  color: #d5dee6;
  padding: 48px 0 20px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 28px;
}
.site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-footer a { color: #d5dee6; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.footer-brand img { width: 72px; height: 72px; margin-bottom: 10px; }
.legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 28px;
  padding-top: 16px;
  font-size: 13px;
  color: #9eacb8;
}

.article-hero img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 24px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fb);
  color: #fff !important;
  flex: 0 0 auto;
}
.icon-btn:hover { filter: brightness(1.08); color: #fff !important; }
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }
.icon-btn.sm { width: 34px; height: 34px; }
.social-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.fb-panel {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: start;
}
.fb-frame {
  width: 100%;
  min-height: 520px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fab a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(8, 53, 98, 0.2);
}
.fab .fab-fb { background: var(--fb); }
.fab .fab-donate { background: var(--green); }
.to-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

.toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 700;
  z-index: 60;
  display: none;
}
.toast.show { display: block; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav-wrap {
    display: none;
    position: absolute;
    top: 146px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-wrap.open { display: flex; }
  .nav { flex-direction: column; align-items: stretch; }
  .dropdown { position: static; display: none; box-shadow: none; border: 0; }
  .nav > li.open > .dropdown { display: block; }
  .header-cta { margin: 10px 0 0; flex-wrap: wrap; }
  .campaign-grid,
  .split,
  .feature-grid,
  .help-grid,
  .program-grid,
  .card-grid,
  .news-grid,
  .team-grid,
  .footer-grid,
  .facts { grid-template-columns: 1fr; }
  .split img { height: 240px; }
  .brand-text { display: none; }
  .bio-wrap { grid-template-columns: 1fr; }
  .team-card a.photo,
  .avatar { width: 180px; height: 180px; }
  .fb-panel { grid-template-columns: 1fr; }
  .fab { right: 12px; bottom: 72px; }
}
