/* ==========================================================================
   UNACF — Uganda North American Christian Fellowship
   Design System / Stylesheet
   Colors extracted from the official UNACF seal:
     Deep Navy  #082A5E / #04173A   (primary)
     Gold       #C9A227 / #E0B740   (accent)
     Laurel Grn #2E6B33             (secondary)
     Flag Red   #B0212F             (sparingly)
   No CSS gradients are used anywhere — flat, solid color only.
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------ */
:root {
  /* Brand */
  --navy-900: #04173A;
  --navy-800: #062148;
  --navy-700: #082A5E;   /* primary brand navy */
  --navy-600: #103670;
  --navy-500: #1B4585;
  --navy-050: #EAF0F9;

  --gold-700: #9A7410;
  --gold-600: #B98F1C;
  --gold-500: #C9A227;   /* primary gold */
  --gold-400: #DDB94A;
  --gold-300: #ECD592;
  --gold-050: #FBF4DE;

  --green-700: #1F5A2E;
  --green-600: #2E6B33;  /* laurel green */
  --green-500: #3E8544;
  --green-050: #E9F2E9;

  --red-600: #B0212F;
  --red-050: #FBEAEC;

  /* Neutrals */
  --white:    #FFFFFF;
  --cream:    #FAF6EC;   /* warm section bg */
  --cream-2:  #F3ECDA;
  --line:     #E8E2D2;
  --ink:      #16233B;   /* primary text */
  --muted:    #56617A;   /* secondary text */
  --muted-2:  #8A93A6;

  /* Semantic */
  --bg:       var(--white);
  --text:     var(--ink);

  /* Typography */
  --font-display: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --container: 1200px;
  --container-wide: 1360px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  /* Elevation (shadows are allowed — not gradients) */
  --shadow-xs: 0 1px 2px rgba(8, 42, 94, .06);
  --shadow-sm: 0 2px 10px rgba(8, 42, 94, .07);
  --shadow-md: 0 12px 30px rgba(8, 42, 94, .10);
  --shadow-lg: 0 26px 60px rgba(4, 23, 58, .16);

  --ring: 0 0 0 3px rgba(201, 162, 39, .45);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .5s;
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
/* Icons: intrinsic 1em size, aligned for inline use. Context rules below
   (e.g. .value__icon svg) override the size where a larger glyph is wanted. */
svg.ico { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; flex-shrink: 0; }
a { color: var(--navy-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-600); }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select, button { font: inherit; color: inherit; }

/* Accessibility helpers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--navy-700); color: #fff; padding: .75rem 1.25rem;
  border-radius: var(--radius-sm); font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

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

/* ---------- Typography --------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-800);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }

.display { font-family: var(--font-display); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.6; }

/* ---------- Layout ------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); position: relative; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-800); color: #dfe7f4; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

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

/* Section heading block */
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold-500); display: inline-block;
}
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 1rem; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 100px; font-weight: 600; font-size: .98rem;
  letter-spacing: .01em; cursor: pointer; transition: all .25s var(--ease);
  border: 2px solid transparent; white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); color: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--navy-700); border-color: var(--navy-700); }
.btn--outline:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn--ghost-light { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: #fff; color: var(--navy-800); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--navy-800); }
.btn--white:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--navy-600); }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / Nav ------------------------------------------------- */
.topbar {
  background: var(--navy-900); color: #c9d4ea; font-size: .85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #e7eefb; }
.topbar a:hover { color: var(--gold-400); }
.topbar__contact { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.topbar__contact span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__contact svg { width: 15px; height: 15px; color: var(--gold-400); }
.topbar__social { display: flex; gap: .35rem; align-items: center; }
.topbar__social a { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .2s; }
.topbar__social a:hover { background: rgba(255,255,255,.12); }
.topbar__social svg { width: 16px; height: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease), background .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: var(--shadow-xs); }
.brand__text { line-height: 1.05; }
.brand__text b { display: block; font-family: var(--font-display); font-size: 1.18rem; color: var(--navy-800); font-weight: 600; letter-spacing: -0.01em; }
.brand__text span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); font-weight: 700; }

.nav__menu { display: flex; align-items: center; gap: .35rem; }
.nav__menu > li { position: relative; }
.nav__menu > li > a {
  display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .85rem; border-radius: 8px;
  font-weight: 600; font-size: .93rem; color: var(--navy-800);
}
.nav__menu > li > a:hover { color: var(--gold-700); background: var(--gold-050); }
.nav__menu > li > a[aria-expanded]::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s;
}
.nav__menu > li > a[aria-expanded="true"]::after { transform: rotate(-135deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; z-index: 40;
}
.nav__menu > li:hover .dropdown,
.nav__menu > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .6rem .8rem; border-radius: 8px; font-size: .92rem; font-weight: 500; color: var(--navy-800); }
.dropdown a:hover { background: var(--navy-050); color: var(--navy-700); }

.nav__actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero --------------------------------------------------------- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }

/* Crossfading Ken-Burns photo slideshow (class-driven, synced with text) */
.hero__slides { position: absolute; inset: 0; z-index: -3; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); will-change: opacity, transform;
  transition: opacity 1.2s var(--ease), transform 8s ease-out;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__veil { position: absolute; inset: 0; z-index: -1; background: var(--navy-900); opacity: .66; }
.hero__pattern { position: absolute; inset: 0; z-index: -1; opacity: .45; }

/* Rotating hero text — blocks are grid-stacked so the layout never jumps */
.hero__slides-text { display: grid; }
.hero__text { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s; }
.hero__text.is-active { opacity: 1; visibility: visible; transform: none; }

/* Slide navigation dots */
.hero__dots { display: flex; gap: .6rem; margin-top: 2rem; }
.hero__dot { width: 34px; height: 5px; border-radius: 100px; background: rgba(255,255,255,.28); cursor: pointer; transition: background .3s var(--ease), width .3s var(--ease); padding: 0; }
.hero__dot:hover { background: rgba(255,255,255,.5); }
.hero__dot.is-active { background: var(--gold-500); width: 48px; }

/* Staggered entrance for the persistent hero chrome */
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__badge, .hero__slides-text, .hero__cta, .hero__dots, .hero__stats { animation: heroUp .8s both; }
.hero__badge       { animation-delay: .10s; }
.hero__slides-text { animation-delay: .24s; }
.hero__cta         { animation-delay: .48s; }
.hero__dots        { animation-delay: .60s; }
.hero__stats       { animation-delay: .72s; }
.hero .container { position: relative; z-index: 2; padding-block: clamp(5rem, 12vw, 9rem); }
.hero__layout { display: flex; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.hero__inner { max-width: 760px; flex: 1 1 auto; min-width: 0; }

/* Prominent animated seal */
.hero__emblem { flex: 0 0 auto; position: relative; width: clamp(210px, 24vw, 320px); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; animation: emblemIn 1s .35s both; }
.hero__emblem img { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 24px 70px rgba(0,0,0,.45); animation: emblemFloat 6s ease-in-out 1.3s infinite; position: relative; z-index: 2; }
.hero__emblem::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(201,162,39,.55); z-index: 1; }
.hero__emblem::after { content: ""; position: absolute; inset: -30px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.28); z-index: 0; animation: spin 44s linear infinite; }
@keyframes emblemIn { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: scale(1); } }
@keyframes emblemFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 940px) {
  .hero__layout { flex-direction: column; align-items: flex-start; }
  .hero__emblem { order: -1; width: clamp(140px, 34vw, 200px); margin-bottom: .5rem; }
  .hero__emblem::after { inset: -20px; }
}
@media (max-width: 480px) {
  .hero__emblem::after { display: none; }
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1.1rem; border-radius: 100px;
  background: rgba(201,162,39,.14); border: 1px solid rgba(201,162,39,.45); color: var(--gold-300);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.75rem;
}
.hero__badge img { width: 22px; height: 22px; border-radius: 50%; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--gold-400); }
.hero__tagline { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--gold-300); margin-bottom: 1.5rem; }
.hero__desc { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #cfd9ec; max-width: 640px; margin-bottom: 2.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.5rem); margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero__stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.85rem); color: var(--gold-400); font-weight: 600; line-height: 1; }
.hero__stat span { font-size: .9rem; color: #b9c5dd; letter-spacing: .02em; }
.hero__scroll { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.6); display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.hero__scroll .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; background: var(--gold-400); border-radius: 3px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0);} 40% { opacity: 1;} 80%,100% { opacity: 0; transform: translate(-50%, 10px);} }

/* ---------- Value strip (icons) ----------------------------------------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.value__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--navy-050); color: var(--navy-700); }
.value__icon svg { width: 22px; height: 22px; }
.value h4 { color: var(--navy-800); margin-bottom: .25rem; }
.value p { font-size: .92rem; margin: 0; }

/* ---------- About -------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { position: relative; }
.about__media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--navy-050); aspect-ratio: 4 / 5; }
.about__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute; bottom: -1.5rem; right: -1.25rem; background: var(--navy-700); color: #fff;
  padding: 1.4rem 1.6rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 230px;
  border-bottom: 4px solid var(--gold-500);
}
.about__badge b { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-400); }
.about__badge span { font-size: .85rem; color: #cfd9ec; display: block; margin-top: .15rem; }
.clarify {
  margin-top: 1.75rem; padding: 1.25rem 1.5rem; background: var(--gold-050); border-left: 4px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.clarify p { color: var(--navy-800); font-style: italic; margin: 0; font-family: var(--font-display); font-size: 1.08rem; }

/* ---------- Vision & Mission cards -------------------------------------- */
.vm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.25rem); }
.vm-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.vm-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--gold-500); }
.vm-card--mission::before { background: var(--green-600); }
.vm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.vm-card__icon { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; background: var(--gold-050); color: var(--gold-700); }
.vm-card--mission .vm-card__icon { background: var(--green-050); color: var(--green-700); }
.vm-card__icon svg { width: 26px; height: 26px; }
.vm-card h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.vm-card p { font-size: 1.05rem; }
.vm-list { margin-top: 1.25rem; display: grid; gap: .75rem; }
.vm-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.vm-list li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--green-600); margin-top: 2px; }

/* ---------- Core Goals (expandable cards) ------------------------------- */
.goals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.goal {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem; box-shadow: var(--shadow-xs); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.goal:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--navy-050); }
.goal--link { text-decoration: none; color: inherit; cursor: pointer; }
.goal--link h3 { color: var(--navy-800); }
.goal--link .goal__toggle { color: var(--navy-600); }
.goal--link:hover .goal__toggle svg { transform: translateX(4px); }
.goal__num { position: absolute; top: 1.1rem; right: 1.4rem; font-family: var(--font-display); font-size: 3rem; font-weight: 600; color: var(--cream-2); line-height: 1; z-index: 0; }
.goal__icon { width: 50px; height: 50px; border-radius: 13px; background: var(--navy-700); color: var(--gold-400); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.goal__icon svg { width: 24px; height: 24px; }
.goal h3 { font-size: 1.28rem; margin-bottom: .6rem; position: relative; z-index: 1; }
.goal p { font-size: .96rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.goal__more {
  max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); position: relative; z-index: 1;
}
.goal__more-inner { padding-top: .5rem; border-top: 1px solid var(--line); margin-top: .25rem; }
.goal__more h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); margin-bottom: .6rem; font-family: var(--font-body); }
.goal__features { display: grid; gap: .5rem; }
.goal__features li { display: flex; gap: .55rem; align-items: center; font-size: .92rem; color: var(--ink); }
.goal__features li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); flex-shrink: 0; }
.goal__toggle {
  margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; color: var(--navy-600);
  font-weight: 600; font-size: .9rem; padding-top: 1rem; position: relative; z-index: 1;
}
.goal__toggle svg { transition: transform .3s var(--ease); }
.goal.open .goal__toggle svg { transform: rotate(180deg); }
.goal.open .goal__more { max-height: 340px; }

/* ---------- Leadership --------------------------------------------------- */
.gov-diagram { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 3.5rem; }
.gov-node { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); position: relative; }
.gov-node h3 { font-size: 1.3rem; color: var(--navy-800); }
.gov-node .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 100px; margin-bottom: .9rem; }
.gov-node--slt .tag { background: var(--gold-050); color: var(--gold-700); }
.gov-node--board .tag { background: var(--navy-050); color: var(--navy-700); }
.gov-node ul { margin-top: 1rem; display: grid; gap: .55rem; }
.gov-node ul li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; color: var(--ink); }
.gov-node ul li svg { width: 18px; height: 18px; color: var(--green-600); flex-shrink: 0; margin-top: 3px; }

.leaders-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.leader {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  text-align: center; padding-bottom: 1.4rem;
}
.leader:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.leader__photo { aspect-ratio: 1; background: var(--navy-050); position: relative; overflow: hidden; }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; }
.leader__avatar { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--navy-700); background: var(--navy-050); }
.leader__role-bar { height: 5px; background: var(--gold-500); }
.leader h4 { margin-top: 1.1rem; font-size: 1.08rem; color: var(--navy-800); padding-inline: .75rem; }
.leader .role { display: block; font-size: .82rem; color: var(--gold-700); font-weight: 600; margin-top: .3rem; letter-spacing: .02em; padding-inline: .75rem; }
.leader .open-role { color: var(--muted-2); font-style: italic; font-size: .82rem; display: block; margin-top: .3rem; }
.leader.is-open { border-style: dashed; border-color: var(--gold-300); }

.philosophy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.philosophy__item { text-align: center; padding: 1.75rem 1.25rem; background: var(--navy-800); border-radius: var(--radius); border-bottom: 4px solid var(--gold-500); }
.philosophy__item b { display: block; font-family: var(--font-display); font-size: 1.2rem; color: #fff; margin-bottom: .35rem; }
.philosophy__item span { font-size: .86rem; color: #b9c5dd; }
.philosophy__item .plus { color: var(--gold-400); font-weight: 700; }

/* ---------- Regional map ------------------------------------------------- */
.regions { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.regions__map { position: relative; }
.regions__map svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(4,23,58,.12)); }
.region-path { fill: var(--navy-050); stroke: #fff; stroke-width: 1.5; transition: fill .3s var(--ease); cursor: pointer; }
.region-path:hover, .region-path.active { fill: var(--gold-500); }
.region-dot { fill: var(--navy-700); transition: fill .3s, r .3s; }
.regions__list { display: grid; gap: .6rem; }
.region-item {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); cursor: pointer; transition: all .25s var(--ease);
  text-align: left; width: 100%;
}
.region-item:hover, .region-item.active { border-color: var(--gold-400); box-shadow: var(--shadow-sm); background: var(--gold-050); }
.region-item .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold-500); flex-shrink: 0; }
.region-item b { color: var(--navy-800); font-family: var(--font-body); font-weight: 600; font-size: 1rem; }
.region-item span { display: block; font-size: .84rem; color: var(--muted); }
.region-item .chip { margin-left: auto; font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 100px; background: var(--green-050); color: var(--green-700); }

/* Ambassador cards */
.amb-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem; text-align: center; box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.amb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.amb-card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy-050); color: var(--navy-700); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.amb-card__icon svg { width: 24px; height: 24px; }
.amb-card b { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--navy-800); }
.amb-card .amb-name { display: inline-flex; align-items: center; gap: .35rem; font-size: .86rem; color: var(--green-700); font-weight: 600; margin-top: .35rem; }
.amb-card .amb-name svg { width: 15px; height: 15px; }
.amb-card .amb-open { display: block; font-size: .84rem; color: var(--muted-2); font-style: italic; margin-top: .35rem; }

/* ---------- Roadmap timeline --------------------------------------------- */
.roadmap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.roadmap::before { content: ""; position: absolute; top: 60px; bottom: 60px; left: 50%; width: 2px; background: var(--line); transform: translateX(-50%); }
.phase { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm); position: relative; }
.phase__year { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 600; color: var(--gold-700); font-size: 1rem; }
.phase__year .num { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-700); color: var(--gold-400); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.phase h3 { margin: 1rem 0 1.25rem; }
.phase__list { display: grid; gap: .7rem; }
.phase__list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); }
.phase__list li svg { width: 22px; height: 22px; color: var(--green-600); flex-shrink: 0; margin-top: 2px; }

/* ---------- Events ------------------------------------------------------- */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.event {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.event:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.event__media { position: relative; aspect-ratio: 3/2; background: var(--navy-050); overflow: hidden; }
.event__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.event:hover .event__media img { transform: scale(1.05); }
.event__badge { position: absolute; top: 1rem; left: 1rem; text-align: center; background: var(--navy-700); color: #fff; border-radius: 10px; padding: .5rem .8rem; line-height: 1; box-shadow: var(--shadow-md); }
.event__badge b { display: block; font-family: var(--font-display); font-size: 1.5rem; }
.event__badge span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-400); }
.event__cat { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); background: var(--gold-050); padding: .3rem .7rem; border-radius: 100px; margin-bottom: .8rem; }
.event__body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.event__body h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.event__meta { display: grid; gap: .4rem; margin: .5rem 0 1.25rem; }
.event__meta span { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--muted); }
.event__meta svg { width: 16px; height: 16px; color: var(--gold-600); flex-shrink: 0; }
.event .btn { margin-top: auto; }

/* ---------- CTA band ----------------------------------------------------- */
.cta-band { background: var(--navy-800); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band__pattern { position: absolute; inset: 0; opacity: .35; z-index: 0; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: #cfd9ec; max-width: 620px; margin: 0 auto 2.25rem; font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- News --------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post__img { aspect-ratio: 16/10; background: var(--navy-050); overflow: hidden; position: relative; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--navy-500); background: var(--navy-050); }
.post__ph svg { width: 54px; height: 54px; opacity: .4; }
.post__cat { position: absolute; top: 1rem; left: 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--white); color: var(--navy-700); padding: .35rem .75rem; border-radius: 100px; box-shadow: var(--shadow-xs); }
.post__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: .82rem; color: var(--muted-2); margin-bottom: .6rem; }
.post__body h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.post__body p { font-size: .93rem; margin-bottom: 1rem; }
.post__body .link-arrow { margin-top: auto; font-size: .9rem; }

/* ---------- Newsletter --------------------------------------------------- */
.newsletter { background: var(--gold-050); border-radius: var(--radius-lg); padding: clamp(2.25rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; border: 1px solid var(--gold-300); }
.newsletter h3 { color: var(--navy-800); }
.newsletter p { margin-top: .5rem; }
.newsletter form { display: flex; gap: .75rem; flex-wrap: wrap; }
.newsletter input[type="email"] { flex: 1; min-width: 220px; padding: .95rem 1.1rem; border-radius: 100px; border: 1px solid var(--gold-300); background: #fff; }
.newsletter input:focus { outline: none; box-shadow: var(--ring); }

/* ---------- Forms -------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.35rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy-800); margin-bottom: .45rem; }
.field .req { color: var(--red-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 130px; }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--red-600); }
.field .error-msg { color: var(--red-600); font-size: .82rem; margin-top: .35rem; display: none; }
.field.has-error .error-msg { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.checkbox-row { display: flex; gap: .6rem; align-items: flex-start; }
.checkbox-row input { width: auto; margin-top: .25rem; }
.checkbox-row label { margin: 0; font-weight: 500; color: var(--muted); font-size: .9rem; }

.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-weight: 500; display: flex; gap: .6rem; align-items: flex-start; }
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.alert--success { background: var(--green-050); color: var(--green-700); border: 1px solid #bfe0c2; }
.alert--error { background: var(--red-050); color: var(--red-600); border: 1px solid #f0c2c7; }

/* ---------- Page hero (interior pages) ---------------------------------- */
.page-hero { background: var(--navy-800); color: #fff; padding-block: clamp(3.5rem, 8vw, 6rem); position: relative; overflow: hidden; background-size: cover; background-position: center; }
.page-hero__pattern { position: absolute; inset: 0; opacity: .4; z-index: 1; }
.page-hero__veil { position: absolute; inset: 0; background: var(--navy-900); opacity: .72; z-index: 0; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .75rem; }
.page-hero p { color: #cfd9ec; max-width: 640px; font-size: 1.15rem; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: #9fb0cf; margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--gold-300); }
.breadcrumb span { color: #7f92b5; }

/* ---------- Modal -------------------------------------------------------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(4,23,58,.6); backdrop-filter: blur(4px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { background: #fff; border-radius: var(--radius-lg); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); transform: translateY(20px) scale(.98); transition: transform .3s var(--ease); }
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal__head { padding: 1.75rem 2rem 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.modal__head h3 { color: var(--navy-800); }
.modal__close { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--muted); flex-shrink: 0; }
.modal__close:hover { background: var(--cream); color: var(--navy-800); }
.modal__body { padding: 1.25rem 2rem 2rem; }

/* ---------- Footer ------------------------------------------------------- */
.footer { background: var(--navy-900); color: #b9c5dd; padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(2rem, 4vw, 3rem); padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.25rem; }
.footer__brand img { width: 56px; height: 56px; border-radius: 50%; }
.footer__brand b { font-family: var(--font-display); font-size: 1.2rem; color: #fff; display: block; }
.footer__brand span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); }
.footer__about p { font-size: .94rem; color: #a9b6d0; }
.footer__tagline { font-family: var(--font-display); font-style: italic; color: var(--gold-300); margin-top: 1.25rem; font-size: 1.05rem; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer__links { display: grid; gap: .7rem; }
.footer__links a { color: #b9c5dd; font-size: .95rem; }
.footer__links a:hover { color: var(--gold-400); padding-left: 4px; }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; font-size: .93rem; color: #b9c5dd; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-400); flex-shrink: 0; margin-top: 2px; }
.footer__contact a { color: #b9c5dd; }
.footer__contact a:hover { color: var(--gold-400); }
.footer__social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .25s, transform .25s; }
.footer__social a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-3px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.75rem; font-size: .87rem; color: #8090ad; }
.footer__bottom a { color: #8090ad; }
.footer__bottom a:hover { color: var(--gold-400); }

/* ---------- Back to top -------------------------------------------------- */
.to-top { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 52px; height: 52px; border-radius: 50%; background: var(--navy-700); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); z-index: 900; opacity: 0; visibility: hidden; transform: translateY(15px); transition: opacity .3s, visibility .3s, transform .3s, background .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold-500); color: var(--navy-900); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Reveal animations ------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Utilities ---------------------------------------------------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.divider-leaf { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--gold-500); margin: 0 auto 1.5rem; }
.divider-leaf svg { width: 26px; height: 26px; }
.divider-leaf::before, .divider-leaf::after { content: ""; width: 40px; height: 1px; background: var(--gold-400); }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 1024px) {
  .cols-4, .values, .leaders-grid, .goals-grid, .events-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__menu, .nav__actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .about-grid, .vm-grid, .regions, .roadmap, .newsletter { grid-template-columns: 1fr; }
  .roadmap::before { display: none; }
  .cols-3 { grid-template-columns: 1fr; }
  .gov-diagram { grid-template-columns: 1fr; }
  .about__badge { position: static; margin-top: 1.5rem; max-width: none; }

  /* Mobile menu drawer */
  .nav__menu.open {
    display: flex; position: fixed; top: 0; right: 0;
    height: 100vh; height: 100dvh; /* vh fallback for older mobile browsers */
    width: min(340px, 88vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 5.5rem 1.5rem 2rem;
    box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain; z-index: 1200;
  }
  /* Keep the toggle (which becomes the X) tappable above the open drawer */
  .nav-toggle { position: relative; z-index: 1300; background: #fff; }
  .nav__menu.open > li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav__menu.open > li > a { padding: 1rem .5rem; font-size: 1.05rem; }
  .nav__menu.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 .5rem 1rem; }
  .nav__menu.open .dropdown a { padding: .55rem .5rem; }
  /* Must sit BELOW .site-header (z-index 1000): the drawer lives inside the
     header's stacking context, so a backdrop above 1000 would cover it and
     swallow every tap on the menu links. */
  .nav-backdrop { position: fixed; inset: 0; background: rgba(4,23,58,.5); z-index: 950; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 680px) {
  .cols-4, .values, .leaders-grid, .goals-grid, .events-grid, .news-grid, .philosophy, .footer__top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .topbar__contact { display: none; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .newsletter form { flex-direction: column; }
  .newsletter input[type="email"] { width: 100%; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ---------- Reduced motion ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print -------------------------------------------------------- */
@media print {
  .site-header, .topbar, .footer, .to-top, .hero__scroll, .nav-toggle { display: none !important; }
  body { color: #000; }
}
