/* ==========================================================================
   Eagle Soar Gospel Ministries Global
   Shared stylesheet for the ministry site and the Lesedi Mega Crusade portal.

   Design read: editorial-reverent faith community. Light base with consistent
   deep-purple bands. One accent family (brand gold #eebe4f), one radius scale,
   purple-tinted shadows. Palette matches the official logo: royal purple
   (#40275b family), gold (#eebe4f), near-black ink.
   Display type is Plus Jakarta Sans (falls back to Avenir Next / system when
   the face is not installed locally - no Google Fonts link).
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette - deep-purple base + single gold accent family (brand logo) */
  --plum: #2b1a40;
  --plum-soft: #33204c;
  --plum-deep: #170c29;
  --gold: #eebe4f;        /* brand gold, fills and borders */
  --gold-bright: #f6d77a; /* gold tint on plum bands */
  --gold-ink: #84641a;    /* AA-safe gold for text and links on light */
  --ink: #241a33;
  --muted: #5f5570;
  --paper: #fbfafd;       /* near-white page base */
  --surface: #fdfdff;     /* near-white raised surface */
  --soft: #f3eef7;        /* light tinted section background */
  --line: #e2d9ec;
  --line-dim: #ece5f2;

  /* Typography - no remote fonts, explicit system fallbacks */
  --font-display: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* Radius scale - one system: pill for small interactive, 10px inputs,
     18px surfaces, no other radii in use. */
  --r-sm: 10px;
  --r-md: 18px;
  --r-pill: 999px;

  /* Shadows - tinted to the purple hue, never pure black */
  --shadow-sm: 0 1px 2px rgba(47, 32, 77, 0.05), 0 8px 18px rgba(47, 32, 77, 0.06);
  --shadow-md: 0 2px 4px rgba(47, 32, 77, 0.06), 0 16px 32px rgba(47, 32, 77, 0.10);
  --shadow-lg: 0 2px 6px rgba(47, 32, 77, 0.08), 0 28px 56px rgba(47, 32, 77, 0.14);

  /* Focus ring */
  --ring: 0 0 0 3px rgba(238, 190, 79, 0.45);

  --header-h: 68px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-ink); }
ul, ol { list-style: none; }

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

::selection { background: rgba(238, 190, 79, 0.28); color: var(--plum); }

/* Layout container */
.container { width: min(1160px, 92%); margin-inline: auto; }

section { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Section scaffolding ---------- */
.section { padding: 104px 0; }
.section-soft { background: var(--soft); }

/* Section heading - left aligned, single vertical stack (no split headers) */
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--plum);
  margin-top: 14px;
}
.section-head p { color: var(--muted); font-size: 18px; max-width: 56ch; margin-top: 14px; }

/* Eyebrow - restrained use across the site (1 per 3 sections maximum) */
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.985); }

.btn-primary { background: var(--plum); color: #f6f3fb; }
.btn-primary:hover { background: #2b1a40; box-shadow: var(--shadow-sm); }

.btn-outline {
  background: transparent;
  color: var(--gold-ink);
  border-color: var(--gold-ink);
}
.btn-outline:hover { background: rgba(10, 98, 136, 0.08); color: var(--plum); border-color: var(--plum); }

.btn-bright { background: var(--gold-bright); color: var(--plum-deep); }
.btn-bright:hover { background: #e9c862; }

/* ---------- Site header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--plum);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  color: #f2f7fd;
  display: flex;
  flex-direction: column;
}
.brand-name .bn-main { font-size: 15px; letter-spacing: 0.01em; }
.brand-name .bn-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 3px;
}

.site-header nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #dce7f4;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links .btn { font-size: 15px; padding: 12px 22px; color: var(--plum-deep); }

/* Mobile nav - checkbox toggle, no JS required */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
}
.nav-burger span {
  width: 22px; height: 2px;
  background: #f6f3fb;
  border-radius: var(--r-pill);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:checked ~ nav .nav-links { display: flex; }

/* ---------- Index hero (asymmetric editorial) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 22vh, 240px) 0 clamp(80px, 14vh, 140px);
  background: url('../img/hero-ministry.png') center/cover no-repeat fixed;
  color: #faf6fe;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 12, 41, 0.72);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-copy {
  max-width: 720px;
}
.hero-copy .motto {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border-bottom: 1px solid rgba(246, 215, 122, 0.4);
  padding-bottom: 10px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #faf6fe;
  margin: 22px 0 24px;
  max-width: 15ch;
}
.hero h1 .accent-word { color: var(--gold-bright); }
.hero .lead {
  font-size: 18px;
  color: rgba(250, 246, 254, 0.88);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-primary {
  background: var(--gold-bright);
  color: var(--plum-deep);
  border-color: var(--gold-bright);
}
.hero .btn-primary:hover { background: var(--gold); color: var(--plum-deep); box-shadow: 0 10px 24px rgba(23, 12, 41, 0.35); }
.hero .btn-outline {
  background: rgba(250, 246, 254, 0.06);
  color: #faf6fe;
  border-color: rgba(250, 246, 254, 0.55);
}
.hero .btn-outline:hover { background: rgba(250, 246, 254, 0.14); color: #ffffff; border-color: #ffffff; }

/* ---------- Index: vision statement + pillars (editorial rows) ---------- */
.about { padding-top: 96px; }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 6vw, 88px);
}
.about-lead h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--plum);
  margin-bottom: 22px;
}
.about-lead p { color: var(--muted); font-size: 18px; max-width: 48ch; }

.vp { margin-top: 40px; }
.vp-item {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.vp-item:last-child { border-bottom: 1px solid var(--line); }
.icon-box {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: rgba(238, 190, 79, 0.12);
  color: var(--gold-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-box svg { width: 22px; height: 22px; }
.vp-item h3 { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--plum); margin-bottom: 6px; }
.vp-item p { color: var(--muted); font-size: 16px; max-width: 52ch; }

/* ---------- Index: beliefs (plum band, numbered rows) ---------- */
.beliefs {
  position: relative;
  overflow: hidden;
  background: url('../img/bg-purple.png') center/cover no-repeat fixed;
  color: #efe9f6;
  padding: 104px 0;
}
.beliefs::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 26, 64, 0.82);
  z-index: 1;
}
.beliefs .container { position: relative; z-index: 2; }
.beliefs .section-head h2 { color: #faf6fe; }
.beliefs .section-head p { color: rgba(232, 239, 248, 0.7); }
.belief-list { display: grid; gap: 0; max-width: 860px; }
.belief-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.belief-list li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.belief-list .num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-bright);
  padding-top: 4px;
}
.belief-list p { font-size: 17px; max-width: 60ch; }

/* ---------- Index: ministry focus (2-col list rows, one stagger) ---------- */
.focus-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
}
.focus-item {
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.focus-item h3 { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--plum); margin-bottom: 5px; }
.focus-item p { color: var(--muted); font-size: 15.5px; max-width: 42ch; }

/* ---------- Index: programmes (gather/grow/go clusters) ---------- */
.prog-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.prog-group { border-top: 3px solid var(--plum); padding-top: 22px; }
.prog-group h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 14px;
}
.prog-group ul {
  display: grid;
  gap: 12px;
}
.prog-group ul li {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dim);
}
.prog-note { margin-top: 56px; max-width: 62ch; }
.prog-note p { color: var(--muted); margin-bottom: 22px; }

/* ---------- Index: campuses (province grouped hairline list) ---------- */
.campus-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; max-width: 860px; }
.prov h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--plum);
  margin-bottom: 4px;
}
.campus-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dim);
}
.campus-row svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--gold); margin-top: 3px; }
.campus-row h4 { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--plum); }
.campus-row p { font-size: 15.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Index: manifesto band (plum, large display type) ---------- */
.manifesto {
  background: url('../img/bg-purple.png') center/cover no-repeat fixed;
  color: #f6f3fb;
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 12, 41, 0.82);
  z-index: 1;
}
.manifesto .container { position: relative; z-index: 2; }
.manifesto h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 84px);
  font-weight: 800;
  line-height: 1.1;
  padding-bottom: 0.1em;
  letter-spacing: -0.02em;
  color: #faf6fe;
  max-width: 12ch;
}
.manifesto h2 em { font-style: italic; color: var(--gold-bright); }
.manifesto .scripture {
  margin-top: 40px;
  max-width: 54ch;
  font-size: 19px;
  color: rgba(238, 244, 251, 0.85);
  font-style: italic;
  line-height: 1.6;
}
.manifesto .scripture cite {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 14px;
}

/* ---------- Index: lesedi real-data band ---------- */
.lesedi-band { padding: 104px 0; }
.lesedi-band .band-top { max-width: 640px; }
.lesedi-band h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--plum);
  margin: 14px 0 14px;
}
.lesedi-band .band-top p { color: var(--muted); font-size: 17px; max-width: 62ch; }
.lesedi-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 2px solid var(--plum);
}
.lesedi-stat { padding: 28px 28px 8px 0; }
.lesedi-stat + .lesedi-stat { border-left: 1px solid var(--line); padding-left: 28px; }
.lesedi-stat .num {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold-ink);
}
.lesedi-stat .label { font-size: 15px; color: var(--muted); margin-top: 10px; }

/* ---------- Index: contact (contained enquiry panel) ---------- */
.enquiry {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(32px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: clamp(28px, 4vw, 56px);
  box-shadow: var(--shadow-sm);
}
.enquiry-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--plum);
  margin-bottom: 16px;
}
.enquiry-intro p { color: var(--muted); font-size: 17px; max-width: 40ch; }
.enquiry-mark {
  width: min(200px, 90%);
  height: auto;
  margin-top: 26px;
  border-radius: var(--r-md);
}
.contact-rows { display: grid; }
.contact-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-top: 1px solid var(--line-dim);
}
.contact-row:first-child { border-top: 0; padding-top: 0; }
.contact-row:last-child { padding-bottom: 0; }
.contact-row h3 { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--plum); margin-bottom: 4px; }
.contact-row p { color: var(--muted); font-size: 15.5px; }

/* ---------- Crusade: hero (compact, plum) ---------- */
.crusade-hero {
  position: relative;
  overflow: hidden;
  background: url('../img/hero-crusade.png') center/cover no-repeat;
  color: #f6f3fb;
  padding: clamp(120px, 22vh, 240px) 0 clamp(80px, 14vh, 140px);
}
.crusade-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 26, 64, 0.8);
  z-index: 1;
}
.crusade-hero .container { position: relative; z-index: 2; }
.crusade-hero .motto {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.crusade-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #faf6fe;
  margin: 20px 0 18px;
  max-width: 14ch;
}
.crusade-hero h1 em { font-style: italic; color: var(--gold-bright); }
.crusade-hero .facts {
  font-size: 18px;
  color: rgba(238, 244, 251, 0.85);
  max-width: 52ch;
  margin-bottom: 32px;
}
.crusade-hero .facts strong { color: #faf6fe; font-weight: 700; }

/* ---------- Crusade: real-data numbers band ---------- */
.crusade-numbers { padding: 72px 0; }
.crusade-numbers .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.crusade-numbers .stat { padding: 20px 32px 8px 0; }
.crusade-numbers .stat + .stat { border-left: 1px solid var(--line); padding-left: 32px; }
.crusade-numbers .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--plum);
}
.crusade-numbers .label { font-size: 15px; color: var(--muted); margin-top: 10px; max-width: 22ch; }

/* ---------- Crusade: budget (grouped cards) ---------- */
.budget-groups {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}
.budget-group {
  position: relative;
  background: rgba(250, 246, 254, 0.08);
  border: 1px solid rgba(250, 246, 254, 0.18);
  border-radius: 18px;
  padding: 28px 28px 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(250, 246, 254, 0.14), 0 24px 40px rgba(23, 12, 41, 0.35);
}
.budget-group::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 260px;
  height: 220px;
  background: radial-gradient(closest-side, rgba(246, 215, 122, 0.22), transparent 72%);
  pointer-events: none;
}
.budget-group::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -35%;
  width: 240px;
  height: 200px;
  background: radial-gradient(closest-side, rgba(23, 12, 41, 0.4), transparent 70%);
  pointer-events: none;
}
.budget-group > * { position: relative; }
.budget-group h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 6px;
}
.budget-group p { font-size: 14.5px; color: rgba(250, 246, 254, 0.72); margin-bottom: 18px; }
.budget-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  font-size: 15.5px;
}
.budget-row span:first-child { color: rgba(250, 246, 254, 0.9); font-weight: 600; }
.budget-row span:last-child { font-family: var(--font-display); font-weight: 700; color: var(--gold-bright); white-space: nowrap; }
.budget-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 15px 0 0;
  border-top: 1px solid rgba(250, 246, 254, 0.18);
  font-size: 14px;
  color: rgba(250, 246, 254, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}
.budget-total strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: #faf6fe;
}
.budget-summary {
  margin-top: 56px;
  max-width: 620px;
  border-top: 2px solid var(--plum);
}
.budget-summary .sum-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.budget-summary .sum-row strong { color: var(--plum); font-family: var(--font-display); font-weight: 800; }
.budget-summary .sum-row--total { border: 0; font-size: 17px; font-weight: 700; color: var(--plum); }

/* ---------- Crusade: budget band (photo + plum overlay) ---------- */
.section-budget {
  position: relative;
  overflow: hidden;
  background: url('../img/bg-budget.png') center/cover no-repeat fixed;
}
.section-budget::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 26, 64, 0.84);
  z-index: 1;
}
.section-budget .container { position: relative; z-index: 2; }
.section-budget .section-head h2 { color: #faf6fe; }
.section-budget .section-head p { color: rgba(250, 246, 254, 0.75); }
.section-budget .budget-summary { border-top-color: var(--gold); }
.section-budget .budget-summary .sum-row { color: rgba(250, 246, 254, 0.78); border-bottom-color: rgba(250, 246, 254, 0.18); }
.section-budget .budget-summary .sum-row strong { color: var(--gold-bright); }
.section-budget .budget-summary .sum-row--total { color: #faf6fe; }
.section-budget .budget-summary .sum-row--total strong { color: #faf6fe; }

/* ---------- Crusade: contribute (form + banking) ---------- */
.contribute-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.panel-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--plum);
  margin-bottom: 8px;
}
.panel-head p { color: var(--muted); font-size: 16px; max-width: 52ch; }

.form-panel .panel-head { margin-bottom: 28px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 7px;
}
.field label .opt { font-weight: 500; color: var(--muted); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"] {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: var(--ring);
}
.field input::placeholder { color: var(--muted); opacity: 0.88; }
.field input[type="file"] {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-sm);
  background: var(--soft);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 15px;
  cursor: pointer;
}
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: var(--ring);
}
.field textarea::placeholder { color: var(--muted); opacity: 0.88; }

.submit-btn {
  width: 100%;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  color: #f6f3fb;
  background: var(--plum);
  padding: 17px 22px;
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.12s ease;
}
.submit-btn:hover { background: #2b1a40; }
.submit-btn:active { transform: translateY(1px) scale(0.985); }
.submit-btn:disabled { opacity: 0.65; cursor: wait; }

.form-success {
  display: none;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--r-sm);
  background: #eef7f0;
  border: 1px solid #bcddc7;
  color: #2c6b3f;
  font-size: 15.5px;
  line-height: 1.5;
}
.form-success.show { display: block; }
.form-success--error { background: #fbefef; border-color: #efc1c1; color: #8f2c2c; }

/* spam trap - parked off-screen so humans never see it but bots fill it.
   deliberately not display:none, which well-behaved bots skip. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.bank-panel { border-left: 3px solid var(--gold); padding-left: clamp(20px, 3vw, 40px); }
.bank-panel .panel-head { margin-bottom: 26px; }
.bank-details { display: grid; gap: 14px; }
.bank-tr { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line-dim); }
.bank-tr .k { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); flex: 0 0 auto; }
.bank-tr .v { font-family: var(--font-display); font-weight: 700; color: var(--plum); text-align: right; word-break: break-word; }
.ref-box {
  margin-top: 30px;
  padding: 20px 22px;
  border: 2px dashed var(--gold);
  border-radius: var(--r-md);
  background: rgba(238, 190, 79, 0.12);
}
.ref-box .k { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); }
.ref-box .v { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--plum); margin-top: 6px; word-break: break-word; }
.note {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--muted);
}
.note svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--gold); margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum);
  color: rgba(238, 244, 251, 0.72);
  padding: 72px 0 36px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand img { width: 44px; height: 44px; object-fit: contain; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; color: rgba(238, 244, 251, 0.62); }
.site-footer h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f6f3fb;
  margin-bottom: 18px;
}
.site-footer ul li { margin-bottom: 11px; }
.site-footer ul a { color: rgba(238, 244, 251, 0.7); text-decoration: none; transition: color 0.2s ease; }
.site-footer ul a:hover { color: var(--gold-bright); }
.site-footer .muted-li { color: rgba(238, 244, 251, 0.5); }
.sdg {
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 22px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13.5px;
  color: rgba(238, 244, 251, 0.5);
}
.footer-bottom a { color: rgba(238, 244, 251, 0.7); }

/* ---------- Motion: hero entrance + one scroll-reveal stagger ---------- */
.hero-anim { animation: rise 0.7s ease both; }
.hero-anim.d1 { animation-delay: 0.06s; }
.hero-anim.d2 { animation-delay: 0.14s; }
.hero-anim.d3 { animation-delay: 0.22s; }
.hero-anim.d4 { animation-delay: 0.3s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Reveal is only reduced/hidden when JS exists; content is always visible
   without JS (no .js class is added by the tiny inline head script) */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-anim, .hero-anim.d1, .hero-anim.d2, .hero-anim.d3, .hero-anim.d4 {
    animation: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .submit-btn, .nav-links a, .field input { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }
  .campus-groups, .budget-groups { grid-template-columns: 1fr 1fr; }
  .budget-groups .budget-group:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  /* Mobile nav: collapse to a dropdown panel under the header */
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--plum-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 4%;
    box-shadow: var(--shadow-lg);
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a { display: block; padding: 15px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 16px; }
  .nav-links a:hover { color: var(--gold-bright); }
  .nav-links .btn { display: inline-flex; margin: 14px 0 8px; align-self: flex-start; }
}

@media (max-width: 768px) {
  /* Every multi-column section collapses to a strict single column */
  .section { padding: 80px 0; }
  .hero-inner { max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .focus-list { grid-template-columns: 1fr; gap: 0; }
  .prog-groups { grid-template-columns: 1fr; gap: 40px; }
  .campus-groups { grid-template-columns: 1fr; gap: 40px; }
  .lesedi-stats, .crusade-numbers .stats { grid-template-columns: 1fr; gap: 8px; }
  .lesedi-stat, .crusade-numbers .stat { border-left: 0 !important; padding: 18px 0 10px; border-bottom: 1px solid var(--line); }
  .lesedi-stat:last-child, .crusade-numbers .stat:last-child { border-bottom: 0; }
  .budget-groups { grid-template-columns: 1fr; }
  .budget-groups .budget-group:last-child { grid-column: auto; }
  .contribute-grid { grid-template-columns: 1fr; }
  .enquiry { grid-template-columns: 1fr; gap: 32px; }
  .bank-panel { border-left: 0; border-top: 3px solid var(--gold); padding: 32px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
/* ==========================================================================
   Gallery (gallery.html)
   ========================================================================== */

.gal-page-head {
  background: var(--plum-deep);
  color: #fff;
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 84px);
  position: relative;
  overflow: hidden;
}
.gal-page-head::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}
.gal-page-head .eyebrow { color: var(--gold); }
.gal-page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
}
.gal-page-head .lede {
  color: rgba(255, 255, 255, 0.76);
  max-width: 62ch;
  font-size: clamp(16px, 1.7vw, 18px);
}

/* filter chips */
.gal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.chip {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--plum);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.chip:hover { border-color: var(--gold); }
.chip:focus-visible { outline: none; box-shadow: var(--ring); }
.chip.is-on { background: var(--plum); border-color: var(--plum); color: #fff; }

/* group headings */
.gal-group { margin-bottom: 14px; }
.gal-group-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--plum);
  letter-spacing: -0.01em;
}
.gal-group-blurb { color: var(--muted); margin-top: 6px; max-width: 68ch; }

/* grid - uniform tiles, images cropped so rows stay level */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 46px;
}
.gal-item { margin: 0; }
.gal-btn {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--soft);
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.gal-btn img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gal-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 12, 41, 0.5), rgba(23, 12, 41, 0) 46%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}
.gal-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gal-btn:hover img { transform: scale(1.045); }
.gal-btn:hover::after { opacity: 1; }
.gal-btn:focus-visible { outline: none; box-shadow: var(--ring), var(--shadow-md); }
.gal-btn figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  color: #fff;
  font-size: 13.5px;
  line-height: 1.45;
  text-align: left;
  z-index: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.gal-btn:hover figcaption { opacity: 1; transform: none; }

/* lightbox */
body.lb-open { overflow: hidden; }
.lb {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(15, 8, 26, 0.94);
  padding: 20px;
}
.lb[hidden] { display: none; }
.lb-stage {
  display: grid;
  place-items: center;
  max-width: min(1100px, 100%);
  max-height: 100%;
}
.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.lb-cap {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 15px;
  margin-top: 14px;
  max-width: 70ch;
}
.lb-cap[hidden] { display: none; }
.lb-count {
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  font-size: 13px;
  margin-top: 8px;
  letter-spacing: 0.06em;
}
.lb-btn {
  position: absolute;
  font: inherit;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}
.lb-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--plum-deep); }
.lb-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.lb-btn:disabled { opacity: 0.3; cursor: default; }
.lb-btn:disabled:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); color: #fff; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { top: 50%; left: 18px; margin-top: -26px; }
.lb-next { top: 50%; right: 18px; margin-top: -26px; }

@media (max-width: 720px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gal-btn img { height: 170px; }
  .lb-btn { width: 44px; height: 44px; font-size: 22px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-img { max-height: calc(100vh - 150px); }
}

/* ==========================================================================
   Homepage gallery section (index.html) - previews the full gallery page
   ========================================================================== */

.home-gal { background: var(--soft); }

.home-gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}

.home-gal-item { margin: 0; }
.home-gal-link {
  display: block;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #e9e1f0;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.home-gal-link img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.home-gal-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 12, 41, 0.55), rgba(23, 12, 41, 0) 52%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}
.home-gal-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.home-gal-link:hover img { transform: scale(1.05); }
.home-gal-link:hover::after { opacity: 1; }
.home-gal-link:focus-visible { outline: none; box-shadow: var(--ring), var(--shadow-md); }

.home-gal-more {
  position: absolute;
  z-index: 1;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--plum-deep);
  background: var(--gold-bright);
  border-radius: var(--r-pill);
  padding: 6px 13px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.home-gal-link:hover .home-gal-more,
.home-gal-link:focus-visible .home-gal-more { opacity: 1; transform: none; }

.home-gal-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}
.home-gal-note { color: var(--muted); font-size: 15.5px; }

@media (max-width: 900px) {
  .home-gal-grid { grid-template-columns: repeat(2, 1fr); }
  .home-gal-link img { height: 200px; }
}
@media (max-width: 560px) {
  .home-gal-grid { gap: 10px; }
  .home-gal-link img { height: 150px; }
  .home-gal-more { font-size: 11px; padding: 5px 10px; right: 9px; bottom: 9px; }
}

/* ---------- Legal pages ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--plum-deep), var(--plum-soft) 68%, var(--plum));
  color: var(--paper);
  padding: 96px 0 72px;
  text-align: left;
}
.page-hero .eyebrow { color: var(--gold-bright); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-top: 14px;
  max-width: 18ch;
}
.page-hero p {
  color: rgba(251, 250, 253, 0.82);
  font-size: 18px;
  margin-top: 16px;
  max-width: 60ch;
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.legal {
  padding: 72px 0 104px;
  background: var(--paper);
}
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.legal-nav a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--gold-ink);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  border-color: var(--gold);
  background: rgba(238, 190, 79, 0.12);
}

.legal-prose {
  max-width: 780px;
}
.legal-prose h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--plum);
  margin: 48px 0 14px;
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--plum);
  margin: 30px 0 10px;
}
.legal-prose p,
.legal-prose ul,
.legal-prose ol {
  margin: 0 0 16px;
  color: var(--ink);
}
.legal-prose ul,
.legal-prose ol { padding-left: 22px; }
.legal-prose ul { list-style: disc; }
.legal-prose ol { list-style: decimal; }
.legal-prose li { margin: 6px 0; }
.legal-prose a { color: var(--gold-ink); }
.legal-prose .muted { color: var(--muted); }
.legal-prose .legal-toc {
  background: var(--soft);
  border: 1px solid var(--line-dim);
  border-radius: var(--r-md);
  padding: 22px 26px;
  margin: 0 0 8px;
}
.legal-prose .legal-toc ul { list-style: none; padding-left: 0; }
.legal-prose .legal-toc a { text-decoration: none; }

@media (max-width: 640px) {
  .page-hero { padding: 72px 0 56px; }
  .legal { padding: 48px 0 80px; }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin: 0 0 22px;
}
.footer-legal a {
  color: rgba(238, 244, 251, 0.7);
  text-decoration: none;
  font-size: 13.5px;
}
.footer-legal a:hover { color: var(--gold-bright); }
