/* ============================================================
   Ajegunle Community Project — static site stylesheet
   Palette: orange #EA580C (primary) / deep green #052E16 (dark)
   ============================================================ */

:root {
  --orange-700: #C2410C;
  --orange-600: #EA580C;
  --orange-500: #F97316;
  --orange-100: #FFEDD5;
  --orange-50:  #FFF7ED;
  --green-950: #052E16;
  --green-900: #14532D;
  --green-800: #166534;
  --green-700: #15803D;
  --green-100: #DCFCE7;
  --ink: #1C1917;
  --stone-700: #44403C;
  --stone-600: #57534E;
  --stone-500: #78716C;
  --stone-400: #A8A29E;
  --stone-200: #E7E5E4;
  --stone-100: #F5F5F4;
  --stone-50:  #FAFAF9;
  --white: #ffffff;
  --radius: 1rem;
  --shadow-sm: 0 1px 2px rgba(28,25,23,.06);
  --shadow-md: 0 10px 25px -5px rgba(28,25,23,.12);
  --shadow-lg: 0 20px 45px -12px rgba(28,25,23,.22);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- 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(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; }
body.no-scroll { overflow: hidden; }
html.no-scroll, body.no-scroll { overflow: hidden; }
[id] { scroll-margin-top: 5.5rem; }

:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--orange-600); color: #fff; padding: .7rem 1.2rem;
  border-radius: 0 0 .6rem 0; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- layout utilities ---------- */
.container { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
.section { padding-block: 4rem; }
.section--tint { background: #FFF9F3; border-block: 1px solid var(--orange-100); }
.section--stone { background: var(--stone-50); border-block: 1px solid var(--stone-200); }
.section--green { background: var(--green-950); }
.section-head { margin-bottom: 2.75rem; }
.section-head.center { text-align: center; max-width: 46rem; margin-inline: auto; }
.split-head { margin-bottom: 2.5rem; }

.kicker {
  display: inline-block; padding: .3rem .85rem; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--orange-100); color: var(--orange-700);
}
.kicker--light { background: rgba(249,115,22,.2); color: #FDBA74; }

.section-title {
  margin-top: .8rem;
  font-size: clamp(1.55rem, 3.4vw, 2.3rem);
  line-height: 1.2; letter-spacing: -.02em; font-weight: 800; color: var(--green-950);
}
.section-text { margin-top: .9rem; color: var(--stone-600); font-size: .95rem; }
.section--green .section-title { color: #fff; }
.section--green .section-text { color: rgba(220,252,231,.85); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.5rem; border-radius: .7rem; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; text-decoration: none; line-height: 1.2;
  transition: background .25s, color .25s, transform .2s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--orange-700); box-shadow: var(--shadow-md); }
.btn-outline-light { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.1); color: #fff; backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: rgba(255,255,255,.22); }
.btn-outline-orange { border-color: var(--orange-600); color: var(--orange-700); background: #fff; }
.btn-outline-orange:hover { background: var(--orange-50); }
.btn-white { background: #fff; color: var(--orange-700); }
.btn-white:hover { background: var(--orange-50); }
.btn-block { width: 100%; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 80; }
.topbar { display: none; background: var(--green-950); color: #DCFCE7; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 2.4rem; font-size: .74rem; gap: 1rem; }
.topbar-left { display: flex; gap: 1.4rem; min-width: 0; }
.topbar-link { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: #DCFCE7; transition: color .2s; white-space: nowrap; }
.topbar-link:hover { color: #FDBA74; }
.topbar-link .icon { width: .85rem; height: .85rem; }
.topbar-right { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mainbar {
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone-200); box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: box-shadow .3s;
}
.mainbar.scrolled { box-shadow: 0 6px 18px -6px rgba(28,25,23,.18); }
.mainbar-inner { display: flex; align-items: center; justify-content: space-between; gap: .8rem; height: 4rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo-mark { width: 2.7rem; height: 2.7rem; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 800; font-size: .95rem; letter-spacing: -.01em; color: var(--green-900); }
.brand-name .accent { color: var(--orange-600); }
.brand-tag { font-size: .66rem; font-weight: 500; color: var(--stone-500); }
.brand-inverse .brand-name { color: #fff; }
.brand-inverse .brand-tag { color: var(--green-100); }

.nav-desktop { display: none; align-items: center; gap: .15rem; }
.nav-link {
  position: relative; padding: .55rem .85rem; border-radius: .5rem;
  font-size: .9rem; font-weight: 600; color: var(--stone-700); text-decoration: none;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--orange-700); background: var(--orange-50); }
.nav-link.active { color: var(--orange-700); }
.nav-link.active::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: -.78rem;
  height: 3px; border-radius: 999px; background: var(--orange-600);
}
.btn-donate { margin-left: .8rem; }

.hamburger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: .6rem;
  border: 1px solid var(--stone-200); background: #fff; color: var(--green-900);
  transition: background .2s, color .2s;
}
.hamburger:hover { background: var(--orange-50); color: var(--orange-700); }
.hamburger .icon { width: 1.5rem; height: 1.5rem; }

/* ---------- off-canvas mobile menu ---------- */
.offcanvas-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 90;
  opacity: 0; transition: opacity .3s ease;
}
.offcanvas-overlay.show { opacity: 1; }
.offcanvas {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: 86%; max-width: 360px; background: #fff;
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateX(105%); transition: transform .38s cubic-bezier(.32,.72,0,1);
  box-shadow: var(--shadow-lg);
}
.offcanvas.open { transform: translateX(0); }
.oc-head { position: relative; background: var(--green-950); color: #fff; padding: 1.3rem 1.4rem 1.5rem; }
.oc-head .brand { margin-bottom: .55rem; padding-right: 2.8rem; }
.oc-head p { font-size: .76rem; line-height: 1.65; color: #BBF7D0; max-width: 92%; }
.oc-close {
  position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.oc-close:hover { background: rgba(255,255,255,.28); }
.oc-close .icon { width: 1.2rem; height: 1.2rem; }
.oc-scroll { flex: 1; overflow-y: auto; padding: .9rem; }
.oc-link {
  display: flex; align-items: center; gap: .8rem; width: 100%;
  padding: .85rem 1rem; border-radius: .65rem; border: 0; background: none;
  font-size: .95rem; font-weight: 600; color: var(--stone-700); text-align: left;
  text-decoration: none; transition: background .2s, color .2s;
}
.oc-link .icon { width: 1.2rem; height: 1.2rem; color: var(--orange-600); }
.oc-link .chev { margin-left: auto; width: 1rem; height: 1rem; color: var(--stone-400); }
.oc-link:hover, .oc-link:active { background: var(--stone-100); }
.oc-link.active { background: var(--orange-50); color: var(--orange-700); }
.oc-subhead { padding: 1rem 1rem .35rem; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--stone-400); }
.oc-quick .oc-link { padding: .55rem 1rem; font-size: .85rem; font-weight: 500; color: var(--stone-600); }
.oc-quick .oc-link .icon { width: 1rem; height: 1rem; }
.oc-foot { border-top: 1px solid var(--stone-200); background: var(--stone-50); padding: 1rem; display: grid; gap: .75rem; }
.oc-foot .row { display: flex; align-items: flex-start; gap: .6rem; font-size: .76rem; color: var(--stone-600); line-height: 1.5; }
.oc-foot .row .icon { width: 1rem; height: 1rem; color: var(--orange-600); margin-top: .1rem; }

/* ---------- hero (home) ---------- */
.hero { position: relative; background: var(--green-950); overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .4; z-index: -2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, var(--green-950) 8%, rgba(5,46,22,.86) 45%, rgba(5,46,22,.25));
}
.hero-content { display: flex; align-items: center; min-height: 33rem; padding-block: 4.5rem; }
.hero-box { max-width: 42rem; }
.hero-badge {
  display: inline-block; padding: .4rem 1rem; border-radius: 999px;
  background: var(--orange-600); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.hero-title {
  margin-top: 1.3rem; color: #fff; font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.85rem, 5.4vw, 3.4rem); line-height: 1.14;
}
.hero-title .accent { color: var(--orange-400, #FB923C); color: #FB923C; }
.hero-text { margin-top: 1.3rem; max-width: 36rem; color: rgba(240,253,250,.92); font-size: .95rem; line-height: 1.75; }
.hero-actions { margin-top: 2.1rem; display: flex; flex-direction: column; gap: .9rem; }

/* ---------- stats strip ---------- */
.stats-strip { position: relative; z-index: 5; margin-top: -2.3rem; padding-inline: 1rem; }
.stats-card {
  max-width: 64rem; margin-inline: auto;
  background: #fff; border-radius: 1.25rem; box-shadow: var(--shadow-lg);
  border: 1px solid var(--stone-200);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; padding: 1.4rem .9rem;
}
.stat { text-align: center; }
.stat-value { font-size: 1.7rem; font-weight: 800; color: var(--orange-600); letter-spacing: -.02em; }
.stat-label { margin-top: .15rem; font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--stone-500); }

/* ---------- cards ---------- */
.card {
  background: #fff; border: 1px solid var(--stone-200); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-pad { padding: 1.6rem; }
.card--mission { border-left: 4px solid var(--orange-600); }
.card--vision { border-left: 4px solid var(--green-700); }
.card-title { font-size: 1.15rem; font-weight: 800; color: var(--green-950); margin-top: 1.1rem; }
.card-text { margin-top: .7rem; color: var(--stone-600); font-size: .92rem; line-height: 1.7; }

.icon-chip {
  width: 3rem; height: 3rem; border-radius: .9rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange-100); color: var(--orange-700);
}
.icon-chip .icon { width: 1.4rem; height: 1.4rem; }
.icon-chip--green { background: var(--green-100); color: var(--green-800); }
.icon-chip--amber { background: #FEF3C7; color: #B45309; }
.icon-chip--round { border-radius: 50%; background: var(--green-800); color: #fff; width: 3.4rem; height: 3.4rem; }
.icon-chip--center { margin-inline: auto; }

.value-card { text-align: center; }
.value-card .card-title { margin-top: 1rem; }
.value-card .card-text { font-size: .88rem; }

/* department preview card */
.dept-card { overflow: hidden; display: flex; flex-direction: column; }
.card-media { position: relative; height: 11rem; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.dept-card:hover .card-media img, .news-card:hover .card-media img, .key-card:hover .card-media img { transform: scale(1.06); }
.media-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.08) 55%, transparent); }
.media-chip {
  position: absolute; left: 1rem; bottom: .85rem;
  display: inline-flex; align-items: center; gap: .5rem;
  color: #fff; font-weight: 700; font-size: .95rem;
}
.media-chip .chip-icon {
  width: 2.2rem; height: 2.2rem; border-radius: .55rem; background: var(--orange-600);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.media-chip .chip-icon .icon { width: 1.15rem; height: 1.15rem; }
.card-link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem;
  font-size: .88rem; font-weight: 700; color: var(--orange-700); text-decoration: none;
}
.card-link:hover { color: var(--orange-700); text-decoration: underline; }
.card-link .icon { width: 1rem; height: 1rem; transition: transform .25s; }
.card-link:hover .icon { transform: translateX(3px); }
.card-badge {
  position: absolute; top: .8rem; left: .8rem; padding: .28rem .75rem; border-radius: 999px;
  background: var(--orange-600); color: #fff; font-size: .68rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: .35rem;
}
.card-badge .icon { width: .8rem; height: .8rem; }

/* testimonies */
.quote-card {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.1rem; padding: 1.7rem; display: flex; flex-direction: column; height: 100%;
}
.quote-mark { font-size: 2.6rem; line-height: .6; font-weight: 800; color: var(--orange-500); font-family: Georgia, serif; }
.quote-card blockquote { margin-top: 1rem; flex: 1; font-size: .93rem; line-height: 1.75; color: rgba(240,253,250,.95); }
.quote-who { margin-top: 1.4rem; display: flex; align-items: center; gap: .8rem; }
.quote-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--orange-600);
  color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.quote-name { display: block; font-weight: 700; color: #fff; font-size: .85rem; }
.quote-role { display: block; font-size: .72rem; color: #86EFAC; }

/* news preview + news cards */
.split-head-row { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; justify-content: space-between; margin-bottom: 2.5rem; }
.news-card { overflow: hidden; display: flex; flex-direction: column; cursor: pointer; text-align: left; width: 100%; border: 1px solid var(--stone-200); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s; padding: 0; }
.news-card:hover { box-shadow: var(--shadow-md); }
.news-media { position: relative; height: 11.5rem; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.news-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.news-date { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 600; color: var(--stone-400); }
.news-date .icon { width: .85rem; height: .85rem; }
.news-title { margin-top: .5rem; font-size: 1.02rem; font-weight: 700; line-height: 1.4; color: var(--green-950); transition: color .2s; }
.news-card:hover .news-title { color: var(--orange-700); }
.news-excerpt { margin-top: .6rem; font-size: .86rem; color: var(--stone-600); line-height: 1.65; }
.news-more { margin-top: auto; padding-top: 1.1rem; }

/* CTA banner */
.cta-banner {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 1.5rem; text-align: center; padding: 3.4rem 1.5rem;
  background: linear-gradient(to right, var(--orange-600), var(--orange-500));
  box-shadow: var(--shadow-md);
}
.cta-banner::before, .cta-banner::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.cta-banner::before { width: 13rem; height: 13rem; right: -3.5rem; top: -3.5rem; background: rgba(255,255,255,.1); }
.cta-banner::after { width: 11rem; height: 11rem; left: -2.5rem; bottom: -4rem; background: rgba(5,46,22,.15); }
.cta-title { color: #fff; font-size: clamp(1.4rem, 3.4vw, 2.2rem); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; max-width: 42rem; margin-inline: auto; }
.cta-text { margin: 1rem auto 0; max-width: 36rem; color: rgba(255,247,237,.95); font-size: .93rem; line-height: 1.7; }
.cta-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: .9rem; align-items: center; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--green-950); overflow: hidden; isolation: isolate; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; z-index: -2; }
.page-hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, var(--green-950), rgba(5,46,22,.82) 55%, rgba(5,46,22,.4)); }
.page-hero-inner { padding-block: 3.6rem; max-width: 44rem; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(to right, var(--orange-600), var(--orange-500), var(--orange-600)); }
.breadcrumb { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FDBA74; text-decoration: none; }
.breadcrumb a { color: #FDBA74; text-decoration: none; }
.breadcrumb .sep { margin-inline: .5rem; color: var(--green-700); }
.page-hero-title { margin-top: .8rem; color: #fff; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; font-size: clamp(1.8rem, 4.6vw, 3rem); }
.page-hero-text { margin-top: 1rem; color: rgba(220,252,231,.9); font-size: .95rem; line-height: 1.75; max-width: 38rem; }

/* ---------- about page ---------- */
.about-grid { display: grid; gap: 3rem; align-items: center; }
.about-media { position: relative; }
.about-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 1.5rem; overflow: hidden; box-shadow: var(--shadow-md); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-float {
  position: absolute; right: -.75rem; bottom: -1.4rem;
  background: var(--orange-600); color: #fff; border-radius: 1rem;
  padding: 1rem 1.5rem; box-shadow: var(--shadow-lg);
}
.about-float .num { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.about-float .lbl { font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: .2rem; }
.about-quote {
  margin-top: 1.1rem; padding: 1rem 1.2rem;
  border-left: 4px solid var(--orange-600); background: var(--orange-50);
  border-radius: .8rem; color: var(--green-950); font-weight: 500; font-style: italic; font-size: .95rem;
}
.about-copy p + p { margin-top: 1rem; }
.about-copy p { color: var(--stone-600); font-size: .95rem; line-height: 1.8; }

.focus-list { display: grid; gap: .65rem; }
.focus-list li {
  display: flex; align-items: flex-start; gap: .65rem;
  background: var(--stone-50); border: 1px solid var(--stone-200);
  padding: .8rem 1rem; border-radius: .65rem;
  font-size: .87rem; font-weight: 500; color: var(--green-950);
}
.focus-list .icon { width: 1.05rem; height: 1.05rem; color: var(--orange-600); margin-top: .15rem; }

.objective-list { counter-reset: obj; display: grid; gap: 1.2rem; }
.objective-list li {
  counter-increment: obj;
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--stone-200); border-radius: 1.1rem;
  padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm); transition: box-shadow .3s;
}
.objective-list li:hover { box-shadow: var(--shadow-md); }
.objective-list li::before {
  content: counter(obj);
  flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--orange-600); color: #fff; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
}
.objective-list .obj-text { color: var(--stone-700); font-size: .93rem; line-height: 1.7; padding-top: .35rem; }

/* timeline */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 1.15rem; top: .4rem; bottom: .4rem; width: 2px; background: rgba(255,255,255,.16); }
.tl-item { position: relative; padding-left: 3.4rem; margin-bottom: 2.4rem; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot { position: absolute; left: .72rem; top: 1.7rem; width: 16px; height: 16px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 0 4px var(--green-950); }
.tl-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13);
  border-radius: 1.1rem; padding: 1.4rem 1.5rem; max-width: 34rem;
}
.tl-year { display: inline-block; padding: .25rem .8rem; border-radius: 999px; background: var(--orange-600); color: #fff; font-size: .72rem; font-weight: 800; }
.tl-title { margin-top: .7rem; color: #fff; font-weight: 700; font-size: 1.02rem; }
.tl-text { margin-top: .4rem; color: rgba(220,252,231,.85); font-size: .86rem; line-height: 1.7; }

/* governance */
.gov-banner {
  background: linear-gradient(135deg, var(--green-900), var(--green-950));
  border-radius: 1.5rem; padding: 2.2rem 1.6rem; color: #fff;
}
.gov-title { margin-top: 1rem; font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; }
.gov-text { margin-top: .8rem; color: rgba(220,252,231,.85); font-size: .9rem; line-height: 1.75; }
.gov-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .9rem; border-radius: 999px; background: rgba(255,255,255,.1);
  color: #FDBA74; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.gov-pill .icon { width: .95rem; height: .95rem; }
.gov-grid { display: grid; gap: .9rem; margin-top: 2rem; }
.gov-item {
  display: flex; align-items: flex-start; gap: .8rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: .9rem; padding: 1rem 1.1rem;
}
.gov-item .icon { width: 1.2rem; height: 1.2rem; color: #FDBA74; margin-top: .15rem; }
.gov-item .t { display: block; font-weight: 700; font-size: .88rem; }
.gov-item .d { display: block; font-size: .74rem; color: rgba(187,247,208,.8); }

/* ---------- programmes page ---------- */
.dept-row { display: grid; gap: 2rem; margin-bottom: 4rem; align-items: center; scroll-margin-top: 5.5rem; }
.dept-row:last-child { margin-bottom: 0; }
.dept-media { position: relative; aspect-ratio: 16 / 11; border-radius: 1.5rem; overflow: hidden; box-shadow: var(--shadow-md); }
.dept-media img { width: 100%; height: 100%; object-fit: cover; }
.dept-chip {
  position: absolute; top: 1rem; left: 1rem;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(234,88,12,.95); color: #fff; font-weight: 700; font-size: .85rem;
  padding: .5rem .95rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.dept-chip .icon { width: 1.05rem; height: 1.05rem; }
.dept-num { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-700); }
.dept-title { margin-top: .5rem; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; color: var(--green-950); letter-spacing: -.015em; line-height: 1.25; }
.dept-summary { margin-top: 1rem; color: var(--stone-600); font-size: .93rem; line-height: 1.75; }
.activity-list { margin-top: 1.2rem; display: grid; gap: .6rem; }
.activity-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--stone-700); line-height: 1.6; }
.activity-list .icon { width: 1.05rem; height: 1.05rem; color: var(--green-700); margin-top: .18rem; }

.key-card { overflow: hidden; display: flex; flex-direction: column; }
.key-media { position: relative; height: 12rem; overflow: hidden; }
.key-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.key-title-row { position: absolute; left: 1.2rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .65rem; color: #fff; }
.key-title-row .chip-icon {
  width: 2.5rem; height: 2.5rem; flex: none; border-radius: .8rem; background: var(--orange-600);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.key-title-row .chip-icon .icon { width: 1.2rem; height: 1.2rem; }
.key-title-row h3 { font-size: 1.1rem; font-weight: 800; line-height: 1.3; text-shadow: 0 2px 8px rgba(0,0,0,.4); }

.involve-banner {
  display: flex; flex-direction: column; gap: 1.6rem; align-items: center; text-align: center;
  background: var(--green-950); border-radius: 1.5rem; padding: 2.4rem 1.8rem; color: #fff;
}
.involve-title { margin-top: .9rem; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; line-height: 1.25; max-width: 34rem; }
.involve-text { margin-top: .7rem; color: rgba(220,252,231,.85); font-size: .92rem; line-height: 1.7; max-width: 36rem; }
.badge-solid {
  display: inline-block; padding: .35rem .9rem; border-radius: 999px;
  background: var(--orange-600); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- news page ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.4rem; }
.filter-btn {
  padding: .5rem 1.1rem; border-radius: 999px; border: 0;
  background: var(--stone-100); color: var(--stone-600);
  font-size: .85rem; font-weight: 600; transition: background .2s, color .2s, box-shadow .2s;
}
.filter-btn:hover { background: var(--orange-50); color: var(--orange-700); }
.filter-btn.active { background: var(--orange-600); color: #fff; box-shadow: var(--shadow-sm); }

.article { max-width: 46rem; margin-inline: auto; }
.article-back {
  display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1.5rem;
  border: 0; background: none; color: var(--stone-600); font-weight: 600; font-size: .9rem;
  padding: .4rem .2rem; border-radius: .4rem;
}
.article-back:hover { color: var(--orange-700); }
.article-cat {
  display: inline-block; padding: .3rem .85rem; border-radius: 999px;
  background: var(--orange-100); color: var(--orange-700); font-size: .74rem; font-weight: 700;
}
.article-title { margin-top: .9rem; font-size: clamp(1.5rem, 3.6vw, 2.3rem); font-weight: 800; color: var(--green-950); line-height: 1.2; letter-spacing: -.02em; }
.article-meta { margin-top: .8rem; display: inline-flex; align-items: center; gap: .45rem; color: var(--stone-500); font-size: .84rem; }
.article-meta .icon { width: .95rem; height: .95rem; }
.article-img { position: relative; aspect-ratio: 16 / 8; border-radius: 1.1rem; overflow: hidden; box-shadow: var(--shadow-md); margin-top: 1.8rem; }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body { margin-top: 2rem; display: grid; gap: 1.3rem; }
.article-body p { color: var(--stone-700); line-height: 1.8; font-size: .96rem; }
.article-body p.lead { color: var(--green-950); font-weight: 500; font-size: 1.08rem; line-height: 1.7; }
.article-cta {
  margin-top: 2.4rem; background: var(--stone-50); border: 1px solid var(--stone-200);
  border-radius: 1rem; padding: 1.4rem 1.5rem; font-size: .9rem; color: var(--stone-600); line-height: 1.7;
}
.article-cta a, .article-cta button.link { color: var(--orange-700); font-weight: 700; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.gallery-item {
  position: relative; display: block; width: 100%; border: 0; padding: 0;
  border-radius: 1.1rem; overflow: hidden; background: var(--stone-100);
  box-shadow: var(--shadow-sm); text-align: left;
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .55s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gi-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), transparent 45%); opacity: .85; transition: opacity .3s; }
.gallery-item:hover .gi-shade { opacity: 1; }
.gi-zoom {
  position: absolute; top: .8rem; right: .8rem; width: 2.2rem; height: 2.2rem;
  border-radius: 50%; background: rgba(255,255,255,.22); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .gi-zoom, .gallery-item:focus-visible .gi-zoom { opacity: 1; }
.gi-zoom .icon { width: 1.1rem; height: 1.1rem; }
.gi-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem; color: #fff; font-size: .85rem; font-weight: 600; }

.lightbox {
  position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.88);
  display: flex; align-items: center; justify-content: center; padding: 1.25rem;
}
.lightbox[hidden] { display: none; }
.lb-figure { max-width: 60rem; width: 100%; margin: 0; text-align: center; }
.lb-figure img { max-height: 76vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: .8rem; }
.lb-figure figcaption { margin-top: 1rem; color: rgba(255,255,255,.92); font-size: .92rem; font-weight: 500; }
.lb-close {
  position: absolute; top: 1rem; right: 1rem; width: 2.8rem; height: 2.8rem; border: 0;
  border-radius: 50%; background: rgba(255,255,255,.16); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.3); }
.lb-close .icon { width: 1.4rem; height: 1.4rem; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.8rem; height: 2.8rem; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s;
}
.lb-nav:hover { background: rgba(255,255,255,.3); }
.lb-nav .icon { width: 1.3rem; height: 1.3rem; }
.lb-prev { left: .8rem; }
.lb-next { right: .8rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 2rem; }
.info-card { display: grid; gap: 1.35rem; }
.info-row { display: flex; align-items: flex-start; gap: .95rem; }
.info-row .icon-chip { flex: none; }
.info-row h3 { font-size: .98rem; font-weight: 700; color: var(--green-950); }
.info-row p, .info-row a { display: block; margin-top: .25rem; font-size: .86rem; color: var(--stone-600); line-height: 1.6; text-decoration: none; }
.info-row a:hover { color: var(--orange-700); }
.info-row .muted { font-size: .76rem; color: var(--stone-500); margin-top: .15rem; }
.legal-banner { background: var(--green-950); color: #fff; border-radius: 1.2rem; padding: 1.6rem 1.5rem; }
.legal-banner .icon { width: 1.7rem; height: 1.7rem; color: #FDBA74; }
.legal-banner h3 { margin-top: .7rem; font-size: 1.1rem; font-weight: 800; }
.legal-banner p { margin-top: .5rem; font-size: .85rem; line-height: 1.7; color: rgba(220,252,231,.85); }
.legal-banner .btn { margin-top: 1.1rem; }

.form-card h2 { font-size: 1.35rem; font-weight: 800; color: var(--green-950); }
.form-card .form-sub { margin-top: .4rem; color: var(--stone-600); font-size: .88rem; }
.form-grid { margin-top: 1.6rem; display: grid; gap: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .84rem; margin-bottom: .4rem; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: .78rem .9rem; border: 1px solid var(--stone-200);
  border-radius: .6rem; font: inherit; font-size: .92rem; color: var(--ink);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 8.5rem; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(249,115,22,.18);
}
.field.field-error input, .field.field-error textarea { border-color: #DC2626; box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.field .err-msg { display: none; margin-top: .3rem; font-size: .74rem; color: #DC2626; font-weight: 600; }
.field.field-error .err-msg { display: block; }
.alert-success {
  display: flex; align-items: flex-start; gap: .6rem;
  background: var(--green-100); border: 1px solid #86EFAC; color: var(--green-900);
  padding: .9rem 1.1rem; border-radius: .7rem; font-size: .88rem; line-height: 1.55;
}
.alert-success[hidden] { display: none; }
.alert-success .icon { width: 1.15rem; height: 1.15rem; margin-top: .1rem; flex: none; }

.map-card { border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--stone-200); box-shadow: var(--shadow-sm); }
.map-head { display: flex; align-items: center; gap: .55rem; background: var(--green-950); color: #fff; padding: .9rem 1.3rem; font-size: .88rem; font-weight: 700; }
.map-head .icon { width: 1rem; height: 1rem; color: #FDBA74; }
.map-card iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- footer ---------- */
.site-footer { margin-top: auto; background: var(--green-950); color: #DCFCE7; }
.footer-grid { display: grid; gap: 2.6rem; padding-block: 3.5rem; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p.statement { font-size: .87rem; line-height: 1.75; color: rgba(220,252,231,.9); max-width: 24rem; }
.socials { display: flex; gap: .55rem; margin-top: 1.2rem; }
.socials a {
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-900); color: #BBF7D0; transition: background .25s, color .25s;
}
.socials a:hover { background: var(--orange-600); color: #fff; }
.socials .icon { width: 1rem; height: 1rem; }
.footer-col h3 { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FDBA74; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a, .footer-col button { background: none; border: 0; padding: 0; text-align: left; color: rgba(220,252,231,.9); font-size: .88rem; text-decoration: none; cursor: pointer; transition: color .2s; }
.footer-col a:hover, .footer-col button:hover { color: #FDBA74; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; font-size: .87rem; color: rgba(220,252,231,.9); line-height: 1.6; }
.footer-contact .icon { width: 1rem; height: 1rem; color: #FDBA74; margin-top: .22rem; flex: none; }
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact a:hover { color: #FDBA74; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: .4rem; padding-block: 1.2rem; font-size: .72rem; color: #86EFAC; text-align: center;
}

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card-media img, .news-media img, .key-media img, .gallery-item img { transition: none; }
}

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .container { padding-inline: 1.5rem; }
  .topbar { display: block; }
  .hero-actions { flex-direction: row; }
  .cta-actions { flex-direction: row; justify-content: center; }
  .split-head-row { flex-direction: row; align-items: flex-end; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-card { padding: 1.75rem 1.4rem; }
  .stat-value { font-size: 2.2rem; }
  .brand-name { font-size: 1rem; }
  .brand-tag { font-size: .69rem; }
  .gov-banner { padding: 2.6rem 2.4rem; }
  .gov-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: row; text-align: left; }
  .involve-banner { padding: 3rem 2.6rem; }
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section { padding-block: 4.5rem; }
  .page-hero-inner { padding-block: 4.5rem; }
  .timeline::before { left: 50%; transform: translateX(-50%); }
  .tl-item { width: 50%; padding-left: 0; padding-right: 3rem; }
  .tl-item:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 3rem; }
  .tl-dot { left: auto; right: -.55rem; }
  .tl-item:nth-child(even) .tl-dot { left: -.55rem; right: auto; }
  .about-float { right: 1.5rem; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .span-2 { grid-column: span 2; }
  .map-card iframe { height: 420px; }
  .cta-banner { padding: 4rem 3rem; }
  .contact-grid { grid-template-columns: 2fr 3fr; }
}

@media (min-width: 1024px) {
  .container { padding-inline: 2rem; }
  .nav-desktop { display: flex; }
  .hamburger { display: none; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .section { padding-block: 6rem; }
  .hero-content { min-height: 38.5rem; }
  .stats-strip { padding-inline: 2rem; }
  .stats-card { grid-template-columns: repeat(4, 1fr); padding: 1.9rem 1.8rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
  .about-grid { grid-template-columns: repeat(2, 1fr); gap: 3.5rem; }
  .about-grid--objectives { grid-template-columns: 2fr 3fr; align-items: start; }
  .dept-row { grid-template-columns: repeat(2, 1fr); gap: 3.5rem; margin-bottom: 5rem; }
  .dept-row.flip .dept-media { order: 2; }
  .contact-grid { gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1.6fr .8fr 1.2fr 1.4fr; padding-block: 4rem; }
  .split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
  .split-head .section-head { margin-bottom: 0; }
  .gov-two { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
  .gov-grid { margin-top: 0; }
  .lb-prev { left: 1.6rem; }
  .lb-next { right: 1.6rem; }
}
