/* =========================================================
   AHOY — light theme, matching theahoy.org
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&family=Outfit:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --red: #e30613;
  --red-d: #b80510;
  --red-s: #fff0f1;
  --navy-950: #1a1a1a;
  --navy-900: #222;
  --navy-850: #2a2a2a;
  --navy-800: #333;
  --navy-700: #444;
  --navy-600: #555;
  --navy-500: #777;
  --gold-300: #ff8a90;
  --gold-400: #e30613;
  --gold-500: #e30613;
  --gold-600: #b80510;
  --crimson: #e30613;
  --crimson-d: #b80510;
  --cream: #f6f6f6;
  --cream-2: #ececec;
  --sand: #e8e8e8;
  --paper: #ffffff;
  --ink: #1c1c1c;
  --ink-2: #333;
  --muted: #6b6b6b;
  --line: rgba(0, 0, 0, 0.08);
  --line-g: rgba(227, 6, 19, 0.25);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --header-h: 82px;
  --max: 1180px;
  --font-d: "Montserrat", system-ui, sans-serif;
  --font-b: "Outfit", system-ui, sans-serif;
  --font-m: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-b);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-d);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
.mono { font-family: var(--font-m); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.wrap-wide { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: min(1320px, calc(100% - 24px));
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); min-width: 0; }
.brand img {
  height: 58px; width: 58px; object-fit: contain;
  background: transparent;
}
.brand .word { display: flex; flex-direction: column; line-height: 1.05; }
.brand .word strong {
  font-family: var(--font-d);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 800;
  max-width: 14ch;
}
.brand .word span { display: none; }

.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  color: var(--ink-2);
  font-size: 0.82rem; font-weight: 600;
  padding: 8px 12px; border-radius: 6px;
  transition: 0.15s ease;
  font-family: var(--font-d);
}
.nav a:hover { color: var(--red); }
.nav a.active { color: #fff; background: var(--red); border-radius: 999px; }
.nav a.btn, .nav a.btn-gold, .nav a.btn-pink {
  color: #fff; background: var(--red); border-radius: 999px; padding: 8px 16px;
  font-family: var(--font-b); letter-spacing: 0; text-transform: none;
}
.nav a.btn:hover, .nav a.btn-gold:hover { color: #fff; background: var(--red-d); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px;
  padding: 12px 22px; font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-b);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-pink, .btn-gold { background: var(--red); color: #fff; }
.btn-pink:hover, .btn-gold:hover { background: var(--red-d); color: #fff; }
.btn:hover { transform: translateY(-1px); }
.btn-crimson { background: var(--red); color: #fff; }
.btn-crimson:hover { background: var(--red-d); }
.btn-navy { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid #fff; }
.btn-ghost-ink { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-sm { padding: 8px 14px; font-size: 0.72rem; }
.nav-cta { margin-left: 4px; }

.mem-ribbon {
  background: var(--red);
  color: #fff;
  padding: 10px 22px 11px 28px;
  margin-left: 8px;
  text-align: center;
  line-height: 1.1;
  font-family: var(--font-d);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
  text-transform: uppercase;
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 52px;
}
.mem-ribbon small { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; }
.mem-ribbon:hover { background: var(--red-d); color: #fff; }
.nav-user {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 4px 4px 12px; border-radius: 999px;
  border: 1px solid var(--line); margin-left: 8px;
  font-size: 0.78rem; font-weight: 600;
}
.nav-user img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

.burger {
  display: none; width: 42px; height: 42px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); }

/* ---------- home stage / carousel ---------- */
.home-stage {
  position: relative;
  background: linear-gradient(180deg, #6a3a3a 0%, #c45a4a 42%, #e8a090 100%);
  padding: 28px 0 0;
  overflow: hidden;
  min-height: 520px;
}
.coverflow {
  display: flex; align-items: center; justify-content: center;
  gap: 0; height: 380px; perspective: 1200px;
  position: relative;
}
.coverflow .slide {
  position: absolute;
  width: min(420px, 70vw); height: 300px;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  transition: transform .5s ease, opacity .5s ease, filter .5s ease;
  cursor: pointer; background: #222;
}
.coverflow .slide img { width: 100%; height: 100%; object-fit: cover; }
.coverflow .slide[data-pos="-2"] { transform: translateX(-340px) rotateY(28deg) scale(.78); opacity: .55; filter: brightness(.7); z-index: 1; }
.coverflow .slide[data-pos="-1"] { transform: translateX(-180px) rotateY(18deg) scale(.9); opacity: .85; z-index: 2; }
.coverflow .slide[data-pos="0"]  { transform: translateX(0) rotateY(0) scale(1.08); opacity: 1; z-index: 5; }
.coverflow .slide[data-pos="1"]  { transform: translateX(180px) rotateY(-18deg) scale(.9); opacity: .85; z-index: 2; }
.coverflow .slide[data-pos="2"]  { transform: translateX(340px) rotateY(-28deg) scale(.78); opacity: .55; filter: brightness(.7); z-index: 1; }
.coverflow .slide[data-pos="off"] { opacity: 0; pointer-events: none; transform: scale(.6); }
.cover-dots {
  display: flex; justify-content: center; gap: 8px; position: relative; z-index: 6;
  margin-top: 18px;
}
.cover-dots button {
  width: 36px; height: 4px; border: 0; background: rgba(255,255,255,.45); border-radius: 2px;
}
.cover-dots button.on { background: #fff; }
.cover-nav {
  position: absolute; top: 46%; z-index: 6; width: 42px; height: 42px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 1.2rem;
}
.cover-nav.prev { left: 18px; }
.cover-nav.next { right: 18px; }

.red-banner {
  position: relative; z-index: 7;
  background: var(--red); color: #fff;
  text-align: center;
  padding: 48px 24px 42px;
  margin-top: 36px;
  clip-path: polygon(0 18px, 100% 0, 100% 100%, 0 100%);
}
.red-banner h2 {
  font-size: clamp(1.2rem, 2.6vw, 1.85rem);
  letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin: 0 0 8px;
  font-weight: 700;
}
.red-banner h2 b { font-weight: 800; }
.red-banner p { color: rgba(255,255,255,.85); margin: 0 0 22px; font-size: 1rem; }
.red-banner .hero-actions { justify-content: center; margin: 0; }
.red-banner .btn-ghost { border-color: #fff; color: #fff; }
.red-banner .btn-gold { background: #fff; color: var(--red); }
.red-banner .point {
  width: 18px; height: 18px; background: var(--red);
  position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%) rotate(45deg);
}

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section-h {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  margin-bottom: 36px;
}
.section-h h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; max-width: 18ch; text-transform: none; letter-spacing: -0.03em; }
.section-h p { color: var(--muted); max-width: 42ch; margin: 0; }
.gold-rule { width: 48px; height: 3px; background: var(--red); border-radius: 2px; margin: 14px 0 18px; }
.center-head { text-align: center; margin-bottom: 36px; }
.center-head h2 { text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.center-head p { color: var(--muted); margin: 0 auto; max-width: 52ch; }
.center-head .gold-rule { margin-left: auto; margin-right: auto; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 12px;
  font-family: var(--font-d);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--red); }

/* ---------- homepage hero (Capture 6 structure, original red) ---------- */
.hero-home {
  position: relative;
  color: #fff;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1a1410;
}
.hero-home-media { position: absolute; inset: 0; z-index: 0; }
.hero-home-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 68% 38%;
}
.hero-home-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,8,8,.78) 0%, rgba(12,8,8,.42) 40%, rgba(12,8,8,.08) 68%, transparent 100%),
    linear-gradient(180deg, rgba(12,8,8,.18) 0%, transparent 32%, rgba(12,8,8,.58) 100%);
}
.hero-home-inner {
  position: relative; z-index: 2;
  padding: 96px 0 52px;
}
.hero-home h1 {
  font-size: clamp(2.4rem, 5.8vw, 4.6rem);
  color: #fff;
  max-width: 14ch;
  margin: 0 0 18px;
  text-transform: none;
  letter-spacing: -0.035em;
  font-weight: 700;
  line-height: 1.05;
}
.hero-home h1 em {
  font-style: italic;
  font-weight: 500;
  color: #ffb4b8;
}
.hero-home .lede {
  max-width: 42ch;
  color: rgba(255,255,255,.9);
  font-size: 1.12rem;
  font-weight: 300;
  margin-bottom: 26px;
}
.kicker-light { color: rgba(255,255,255,.82) !important; }
.kicker-light::before { background: rgba(255,255,255,.75); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero-home .btn-ghost {
  border: 1.5px solid rgba(255,255,255,.88);
  color: #fff;
  background: transparent;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.22);
  padding-top: 26px;
}
.hero-stats b {
  display: block;
  font-family: var(--font-d);
  font-size: 1.85rem;
  color: #ffb4b8;
  font-weight: 700;
}
.hero-stats span { font-size: .82rem; color: rgba(255,255,255,.78); }
.cream-band { background: var(--cream); }
.about-home { background: #fff; }
.about-home-shot { border-radius: 22px; overflow: hidden; background: #ddd; min-height: 320px; }
.about-home-shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; display: block; }
.about-home-points { display: grid; gap: 14px; margin: 8px 0 22px; }
.about-home-points b { display: block; font-family: var(--font-d); font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; color: var(--red); margin-bottom: 2px; }
.about-home-points span { color: var(--muted); font-size: .92rem; }

/* ---------- cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: #fff;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(40, 24, 16, .06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #ddd; border-radius: 18px 18px 0 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 18px 18px 20px; }
.card-body h3 { font-size: 1.05rem; margin: 0 0 8px; }
.card-body p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  background: var(--cream-2); color: var(--ink-2);
  font-family: var(--font-d);
}
.pill-gold { background: var(--red-s); color: var(--red); }
.pill-ok { background: #e5f4ea; color: #1c6b38; }
.pill-live { background: #fff4c8; color: #9a6b00; }
.pill-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(227,6,19,.5); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(227,6,19,0); }
  100% { box-shadow: 0 0 0 0 rgba(227,6,19,0); }
}
.archive-grid .card, .grid-3 .card { animation: rise .45s ease both; }
.archive-grid .card:nth-child(2), .grid-3 .card:nth-child(2) { animation-delay: .05s; }
.archive-grid .card:nth-child(3), .grid-3 .card:nth-child(3) { animation-delay: .1s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.verified-seal {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,0.72); color: #fff;
  font-family: var(--font-m); font-size: 0.64rem; letter-spacing: 0.06em;
  padding: 5px 8px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }

.progress { height: 8px; background: var(--cream-2); border-radius: 99px; overflow: hidden; }
.progress > span {
  display: block; height: 100%; border-radius: 99px;
  background: var(--red);
}
.fund-meta { display: flex; justify-content: space-between; font-size: 0.82rem; margin: 8px 0 4px; color: var(--ink-2); }
.fund-meta b { font-family: var(--font-d); font-size: 1.05rem; }

/* why-join overlay cards */
.overlay-card {
  position: relative; min-height: 380px; border-radius: 4px; overflow: hidden;
  display: flex; align-items: flex-end; color: #fff;
}
.overlay-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlay-card .shade {
  position: relative; z-index: 1; width: 100%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
  padding: 28px 24px 32px; text-align: center;
}
.overlay-card.red .shade { background: linear-gradient(180deg, rgba(227,6,19,.55), rgba(140,0,10,.88)); }
.overlay-card h3 {
  color: #fff; letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 1.15rem; margin-bottom: 10px;
}
.overlay-card h3::after {
  content: ""; display: block; width: 42px; height: 2px; background: #fff; margin: 10px auto 0;
}
.overlay-card p { color: rgba(255,255,255,.88); font-size: 0.95rem; }
.overlay-card .btn { margin-top: 8px; }

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.photo-strip a { display: block; aspect-ratio: 4/3; overflow: hidden; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-strip a:hover img { transform: scale(1.05); }

.programs-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center;
  background: #fafafa; border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden;
}
.programs-copy { padding: 40px 36px; }
.programs-copy h2 { color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; }
.prog-item { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin: 16px 0; }
.prog-item .tick {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--red-s); color: var(--red);
  display: grid; place-items: center; font-size: .7rem; margin-top: 4px;
}
.prog-item h3 { font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 4px; }
.prog-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.programs-photo { min-height: 360px; }
.programs-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }

.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.blog-card { position: relative; min-height: 280px; overflow: hidden; border-radius: 4px; color: #fff; }
.blog-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-card .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.78));
}
.blog-card .pad { position: relative; z-index: 1; padding: 18px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.blog-card h3 { color: #fff; font-size: .95rem; text-transform: none; letter-spacing: 0; }
.blog-card p { color: rgba(255,255,255,.75); font-size: .75rem; margin: 0; }
.blog-cta {
  background: var(--red); color: #fff; display: grid; place-items: center;
  min-height: 280px; border-radius: 4px; text-align: center; padding: 24px;
}
.blog-cta h3 { color: #fff; font-size: 1.6rem; letter-spacing: .08em; text-transform: uppercase; margin: 0; }

/* countries */
.countries {
  background: #f7f7f7; color: var(--ink); padding: 64px 0;
  border-block: 1px solid var(--line);
}
.countries .grid-4 { gap: 14px; }
.country-tile {
  border: 1px solid var(--line);
  border-radius: 12px; padding: 22px 20px; background: #fff;
}
.country-tile .flag { font-size: 1.6rem; }
.country-tile h3 { color: var(--red); font-size: 1.1rem; margin: 8px 0 4px; }
.country-tile p { color: var(--muted); font-size: 0.88rem; margin: 0; }

.money-band {
  background: #fff;
  border-block: 1px solid var(--line);
}
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.alloc-list { display: flex; flex-direction: column; gap: 14px; margin: 22px 0 28px; }
.alloc {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 12px; align-items: center;
  font-size: 0.92rem;
}
.alloc .bar { height: 10px; background: var(--cream-2); border-radius: 99px; overflow: hidden; }
.alloc .bar span { display: block; height: 100%; border-radius: 99px; }
.donut-wrap {
  background: #111; color: #fff; border-radius: 20px; padding: 32px;
  display: grid; place-items: center; min-height: 340px; position: relative;
}
.donut-wrap canvas { max-width: 280px; }

/* page hero */
.page-hero {
  background: #fff;
  color: var(--ink);
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  color: var(--ink);
  max-width: 18ch;
  text-transform: none;
  letter-spacing: -0.03em;
}
.page-hero p { color: var(--muted); max-width: 62ch; font-size: 1.05rem; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }
.chip {
  border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: 7px 13px; font-size: 0.82rem; font-weight: 600;
  color: var(--ink-2);
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.on { background: var(--red); color: #fff; border-color: var(--red); }
.search-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.search-row input, .search-row select, .field input, .field select, .field textarea {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 11px 13px; outline: none;
}
.search-row input { min-width: 260px; flex: 1; }
.search-row input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,6,19,0.12);
}
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.archive-empty { text-align: center; padding: 60px 20px; color: var(--muted); }

.modal-back {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 80; display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-back.open { display: flex; }
.modal {
  background: #fff; width: min(860px, 100%);
  max-height: min(90vh, 900px); overflow: auto;
  border-radius: 16px; box-shadow: var(--shadow);
}
.modal-hero { position: relative; height: 240px; background: #222; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.modal-pad { padding: 28px 28px 36px; }
.modal-close {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.92); border: 0; border-radius: 999px;
  width: 36px; height: 36px; font-size: 1.1rem;
}
.verify-box {
  background: #111; color: #fff; border-radius: 12px; padding: 16px 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 18px 0;
  font-size: 0.86rem;
}
.verify-box .lab { color: rgba(255,255,255,0.5); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.verify-box b { font-family: var(--font-m); font-weight: 500; color: #fff; }

.year-tabs { display: flex; gap: 8px; margin: 8px 0 28px; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.stat .lab { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-family: var(--font-d); font-weight: 700; }
.stat .num { font-family: var(--font-d); font-size: 1.6rem; margin-top: 6px; }
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.chart-card h3 { font-size: 1.1rem; }
.legend { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.legend-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; }
.swatch { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.bar-col { display: flex; flex-direction: column; gap: 12px; }
.hbar .top { display: flex; justify-content: space-between; font-size: 0.86rem; margin-bottom: 5px; }
.hbar .track { height: 12px; background: var(--cream-2); border-radius: 99px; overflow: hidden; }
.hbar .track span { display: block; height: 100%; background: var(--red); border-radius: 99px; }
.report-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.report-row h4 { margin: 0 0 4px; font-size: 1.05rem; }
.report-row p { margin: 0; font-size: 0.82rem; color: var(--muted); }

.camp-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
.camp-hero .shot { border-radius: 14px; overflow: hidden; aspect-ratio: 16/11; background: #222; }
.camp-hero .shot img { width: 100%; height: 100%; object-fit: cover; }
.pledge {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px;
  position: sticky; top: 96px;
}
.cost-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 14px 0 8px; }
.cost-table td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.cost-table td:last-child { text-align: right; font-weight: 600; }
.amounts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.amounts button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 12px; }
.amounts button.on { background: var(--red); color: #fff; border-color: var(--red); }

.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.pay-opt {
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 10px 8px; text-align: center; font-size: 0.78rem; font-weight: 600;
}
.pay-opt.on { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,6,19,0.12); }
.pay-panel { display: none; margin-top: 10px; }
.pay-panel.on { display: block; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-family: var(--font-d); }
.ussd, .bank, .crypto {
  background: #111; color: #fff; border-radius: 10px; padding: 14px 16px;
  font-family: var(--font-m); font-size: 0.85rem; line-height: 1.7;
}
.notice {
  background: var(--red-s); border: 1px solid rgba(227,6,19,0.25);
  border-radius: 10px; padding: 10px 12px; font-size: 0.82rem; color: #7a1018;
}

.quote {
  font-family: var(--font-d); font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-style: italic; font-weight: 500; max-width: 24ch; line-height: 1.3;
}
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { background: #fff; border-radius: 12px; padding: 22px; border: 1px solid var(--line); }
.value h3 { font-size: 1.1rem; }
.wheel-mark {
  width: 72px; height: 72px; border-radius: 50%;
  border: 4px solid var(--red); display: grid; place-items: center;
  font-family: var(--font-d); color: var(--red); font-size: 0.62rem; letter-spacing: 0.1em;
  font-weight: 800;
}

/* footer */
.site-footer {
  background: #111; color: rgba(255,255,255,0.72); padding: 56px 0 24px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-d); }
.site-footer a { display: block; padding: 4px 0; color: rgba(255,255,255,0.62); font-size: 0.9rem; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .brand .word strong { color: #fff; }
.legal {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.78rem; color: rgba(255,255,255,0.42);
}

/* admin stays a desk, slightly lighter chrome */
.admin-body { background: #f4f4f4; color: var(--ink); }
.login-shell {
  min-height: 100vh; display: grid; place-items: center; padding: 32px;
  background: linear-gradient(180deg, #fff 0%, #f6f6f6 100%);
}
.login-card {
  width: min(440px, 100%); background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 32px; box-shadow: var(--shadow);
}
.login-card h1 { color: var(--ink); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .06em; }
.login-card .demo {
  background: var(--red-s); border: 1px dashed rgba(227,6,19,0.35);
  border-radius: 10px; padding: 10px 12px; font-size: 0.82rem; color: var(--red-d);
  margin: 12px 0 18px; font-family: var(--font-m);
}
.admin-app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.aside {
  background: #111; border-right: 0;
  padding: 22px 14px; position: sticky; top: 0; height: 100vh;
}
.aside a, .aside button.navb {
  display: flex; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 8px; color: rgba(255,255,255,0.7);
  background: none; border: 0; font-size: 0.9rem; margin-bottom: 4px;
}
.aside a.on, .aside button.navb.on, .aside a:hover, .aside button.navb:hover {
  background: var(--red); color: #fff;
}
.admin-main { padding: 28px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.admin-top h2 { color: var(--ink); margin: 0; }
.panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 18px; margin-bottom: 16px;
}
.table-wrap { overflow: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
table.data th, table.data td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
table.data th { color: var(--muted); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.admin-app .field input, .admin-app .field select, .admin-app .field textarea {
  background: #fff; border-color: var(--line); color: var(--ink);
}
.hidden { display: none !important; }
.ok-toast {
  position: fixed; bottom: 20px; right: 20px; background: #143d28; color: #b6f0c8;
  padding: 12px 16px; border-radius: 12px; z-index: 90; display: none;
}

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; }
.receipt {
  border: 1px dashed var(--red); border-radius: 12px; padding: 18px;
  background: var(--red-s); font-size: 0.9rem;
}

/* ---------- membership / LinkedIn profile ---------- */
.auth-split { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h)); }
.auth-art {
  background: #111; color: #fff; padding: 48px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.auth-art .txt { position: relative; z-index: 1; }
.auth-form { padding: 48px 40px; display: flex; align-items: center; }
.auth-form .inner { width: min(420px, 100%); margin: 0 auto; }
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--line); margin-bottom: 22px; }
.tabs button {
  background: none; border: 0; padding: 10px 16px; font-family: var(--font-d);
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem;
  color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.tabs button.on { color: var(--red); border-bottom-color: var(--red); }

.profile-page { background: #f3f2ef; padding: 24px 0 64px; }
.li-cover { height: 220px; border-radius: 12px 12px 0 0; overflow: hidden; background: #222; }
.li-cover img { width: 100%; height: 100%; object-fit: cover; }
.li-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.li-head { padding: 0 24px 22px; position: relative; }
.li-avatar {
  width: 152px; height: 152px; border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; margin-top: -76px; background: #ddd;
  position: relative; z-index: 2;
}
.li-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.li-name { font-size: 1.6rem; margin: 10px 0 4px; text-transform: none; letter-spacing: 0; }
.li-headline { color: var(--ink-2); margin: 0 0 6px; font-size: 1.02rem; }
.li-loc { color: var(--muted); font-size: .9rem; }
.li-pad { padding: 18px 24px 22px; }
.li-pad h3 { font-size: 1.1rem; text-transform: none; letter-spacing: 0; margin-bottom: 10px; }
.exp { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.exp-mark {
  width: 44px; height: 44px; border-radius: 8px; background: var(--red-s); color: var(--red);
  display: grid; place-items: center; font-weight: 800; font-family: var(--font-d); font-size: .7rem;
}
.skill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-grid { display: grid; grid-template-columns: 1fr 320px; gap: 12px; align-items: start; }
.member-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px;
  display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center;
}
.member-tile img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.member-tile h3 { font-size: 1rem; margin: 0 0 4px; text-transform: none; letter-spacing: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-grid a { aspect-ratio: 4/3; overflow: hidden; background: #ddd; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }

.file-preview {
  margin-top: 8px; border: 1px dashed var(--line); border-radius: 10px;
  padding: 8px; background: #fafafa; min-height: 72px;
}
.file-preview img, .file-preview video { max-height: 160px; width: auto; max-width: 100%; border-radius: 8px; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.gallery-thumbs .thumb {
  position: relative; width: 92px; height: 72px; border-radius: 8px; overflow: hidden; background: #ddd;
}
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .thumb-x {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0;
  border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; font-size: 14px; line-height: 1;
}
.mini-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 18px;
}
.mini-gallery button, .mini-gallery a {
  display: block; aspect-ratio: 4/3; overflow: hidden; border: 0; padding: 0;
  border-radius: 10px; background: #ddd; cursor: pointer;
}
.mini-gallery img { width: 100%; height: 100%; object-fit: cover; }
.video-frame {
  position: relative; aspect-ratio: 16/9; background: #111; border-radius: 12px;
  overflow: hidden; margin: 14px 0 18px;
}
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play-badge {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--red); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px;
}

.muted { color: var(--muted); }
.gold { color: var(--red); }
.right { margin-left: auto; }
.flex { display: flex; align-items: center; gap: 10px; }
.mt { margin-top: 18px; }
.mb0 { margin-bottom: 0; }

html, body { overflow-x: hidden; }
canvas { max-width: 100%; }
.chart-card { overflow: hidden; }
.chart-card canvas { width: 100% !important; max-height: 280px; }
.donut-wrap { max-width: 100%; }
.ussd, .bank, .crypto { overflow-x: auto; word-break: break-word; }
.wrap { width: min(var(--max), calc(100% - 32px)); }

@media (max-width: 1100px) {
  .burger { display: flex; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 16px 20px; align-items: stretch;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 12px; font-size: .9rem; }
  .nav-cta, .mem-ribbon, .nav-user { margin: 8px 0 0; clip-path: none; width: 100%; justify-content: center; }
  .feature-trio { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .grid-3, .archive-grid, .grid-4, .values, .blog-grid, .photo-strip, .grid-2 { grid-template-columns: 1fr 1fr; }
  .split, .camp-hero, .contact-grid, .foot-grid, .programs-grid, .auth-split, .profile-grid { grid-template-columns: 1fr; }
  .hero-stats, .stat-cards { grid-template-columns: 1fr 1fr; }
  .admin-app { grid-template-columns: 1fr; }
  .aside { position: relative; height: auto; display: flex; overflow: auto; gap: 6px; }
  .report-row { grid-template-columns: 1fr; }
  .auth-art { min-height: 200px; padding: 28px 20px; }
  .auth-form { padding: 28px 20px; }
  .coverflow { height: 260px; }
  .coverflow .slide { height: 200px; width: min(86vw, 360px); }
  .coverflow .slide[data-pos="-2"], .coverflow .slide[data-pos="2"] { display: none; }
  .pledge { position: static; }
  .programs-copy { padding: 28px 20px; }
  .section-h { flex-direction: column; align-items: start; }
  .admin-top { flex-wrap: wrap; gap: 10px; }
  .hero-home-inner { padding: 48px 0 36px; }
  .modal { width: 100%; border-radius: 12px 12px 0 0; max-height: 92vh; }
  .modal-back { padding: 0; align-items: flex-end; }
  .modal-pad { padding: 18px; }
}
@media (max-width: 760px) {
  .grid-3, .archive-grid, .grid-4, .values, .hero-stats, .stat-cards, .blog-grid, .photo-strip, .grid-2, .feature-trio { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .verify-box { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr 1fr; }
  .alloc { grid-template-columns: 1fr; }
  .li-avatar { width: 104px; height: 104px; margin-top: -52px; }
  .li-head, .li-pad { padding-left: 16px; padding-right: 16px; }
  .li-cover { height: 150px; }
  .search-row input, .search-row select { min-width: 0; width: 100%; }
  .search-row { flex-direction: column; }
  .page-hero { padding: 32px 0 20px; }
  .page-hero h1 { font-size: 1.55rem; }
  .camp-hero h1 { font-size: 1.45rem; word-break: break-word; }
  .year-tabs, .filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .chip { white-space: nowrap; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .brand img { height: 46px; width: 46px; }
  .brand .word strong { font-size: .62rem; max-width: 12ch; }
  .flex { flex-wrap: wrap; }
  #post-form.flex { flex-direction: column; align-items: stretch; }
  #post-form input { width: 100%; }
  .member-tile { grid-template-columns: 56px 1fr; }
  .member-tile img { width: 56px; height: 56px; }
  .overlay-card { min-height: 280px; }
  table.data { font-size: .78rem; }
  .admin-main { padding: 16px; }
  .login-card { padding: 22px 18px; }
  .hero-home { min-height: 78vh; }
  .hero-home h1 { font-size: 2.1rem; max-width: 16ch; }
  .mini-gallery { grid-template-columns: repeat(3, 1fr); }
}
