/* =========================================================
   Kura Football Academy — shared styles
   Brand: crimson red, gold, white, near-black (from crest)
   ========================================================= */

:root {
  --red: #a50f18;
  --red-dark: #6e070d;
  --red-deep: #3d0306;
  --gold: #e0b04a;
  --gold-soft: #f3d688;
  --ink: #141012;
  --ink-2: #2a2326;
  --muted: #6b6264;
  --line: #e9e2dc;
  --paper: #fbf8f4;
  --white: #ffffff;
  --green: #1f7a3f;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(20, 16, 18, .08);
  --shadow-lg: 0 24px 60px rgba(20, 16, 18, .16);

  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--dark { background: var(--ink); color: #f1ece8; }
.section--red { background: var(--red); color: #fff; }
.section--white { background: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: .85rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); font-weight: 500;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section--dark .eyebrow, .section--red .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }

.title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.title em { font-style: normal; color: var(--red); }
.section--dark .title em, .page-hero .title em { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.section--dark .lead { color: #bdb3b0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--display); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(165, 15, 24, .3); }
.btn--gold { --bg: var(--gold); --fg: var(--ink); }
.btn--gold:hover { box-shadow: 0 10px 24px rgba(224, 176, 74, .35); }
.btn--ghost { background: transparent; color: var(--fg); }
.btn--ghost.btn--light { --bg: rgba(255,255,255,.6); --fg: #fff; }
.btn--ghost.btn--light:hover { background: #fff; color: var(--ink); }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Header / nav ---------- */
.topbar {
  background: var(--red-deep); color: #e8d9d4;
  font-size: .82rem;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar__info { display: flex; gap: 22px; flex-wrap: wrap; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 16, 18, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224, 176, 74, .18);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 54px; height: 54px; }
.brand__name { font-family: var(--display); font-size: 1.35rem; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.brand__name small { display: block; font-size: .62rem; letter-spacing: .28em; color: var(--gold); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-family: var(--display); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase;
  color: #e6dfdc; text-decoration: none;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }
.nav .btn { padding: 10px 20px; margin-left: 8px; color: var(--fg); }
.nav .btn--gold { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px;
  background: transparent; color: #fff; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink);
    padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid rgba(224,176,74,.25);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
    max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav a:not(.btn)::after { left: 4px; right: auto; width: 40px; bottom: 8px; }
  .nav .btn { margin: 14px 0 0; }
  .topbar__social { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1000px 600px at 78% 40%, rgba(165,15,24,.75), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(224,176,74,.15), transparent 60%),
    linear-gradient(160deg, #1b0b0d 0%, #120d0f 55%, #0b0809 100%);
}
.hero::before { /* pitch lines */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 75%);
}
.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px;
  min-height: min(88vh, 820px);
  padding-block: 70px 90px;
}
.hero__title { font-size: clamp(3rem, 8vw, 6.4rem); line-height: .92; margin-bottom: 22px; }
.hero__title .gold { color: var(--gold); }
.hero__title .outline { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); }
.hero__text { font-size: 1.15rem; color: #d8cfcc; max-width: 52ch; margin-bottom: 32px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 34px; margin-top: 48px; flex-wrap: wrap; }
.hero__meta div { border-left: 2px solid var(--gold); padding-left: 14px; }
.hero__meta strong { display: block; font-family: var(--display); font-size: 2rem; line-height: 1; }
.hero__meta span { font-size: .85rem; color: #b9adaa; text-transform: uppercase; letter-spacing: .12em; }

.crest { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; }
.crest img { width: 72%; position: relative; z-index: 2; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); animation: float 6s ease-in-out infinite; }
.crest__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(224,176,74,.45);
  animation: spin 40s linear infinite;
}
.crest__ring--2 { inset: 9%; border: 1px solid rgba(255,255,255,.12); animation-duration: 60s; animation-direction: reverse; }
.crest__ring::after {
  content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 18px var(--gold);
}
.crest__glow { position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(224,176,74,.35), transparent 65%); filter: blur(20px); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.ticker {
  background: var(--gold); color: var(--ink);
  overflow: hidden; white-space: nowrap;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .14em;
  padding-block: 14px;
}
.ticker__track { display: inline-flex; gap: 44px; animation: ticker 30s linear infinite; padding-left: 44px; }
.ticker__track span::after { content: "★"; margin-left: 44px; color: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: left; padding-block: 50px 70px; min-height: 0; }
  .crest { max-width: 320px; order: -1; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(800px 400px at 85% 20%, rgba(165,15,24,.8), transparent 60%),
    linear-gradient(160deg, #1b0b0d, #0e0a0b);
  padding-block: clamp(70px, 10vw, 120px) clamp(60px, 8vw, 90px);
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; bottom: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: url("../assets/logo-512.png") center/contain no-repeat;
  opacity: .08;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .title { font-size: clamp(2.6rem, 7vw, 5rem); }
.page-hero .lead { color: #d0c6c3; }
.crumbs { font-size: .85rem; color: #a99d9a; margin-bottom: 18px; }
.crumbs a { color: #d0c6c3; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(224,176,74,.6); }
.card h3 { font-size: 1.45rem; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

.icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--red), var(--red-dark));
  color: var(--gold);
  margin-bottom: 20px;
}
.icon svg { width: 28px; height: 28px; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head .title { margin-bottom: 0; }

/* Program cards */
.program {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  padding: 28px;
  min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
  transition: transform .3s ease;
}
.program:hover { transform: translateY(-6px); }
.program::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, transparent 20%, rgba(10,6,7,.92) 85%),
    var(--art, linear-gradient(135deg, var(--red), var(--red-deep)));
}
.program__age {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--display); font-size: 4.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.4);
}
.program .tag { align-self: flex-start; }
.program h3 { font-size: 1.7rem; margin: 12px 0 8px; }
.program p { color: #cfc5c2; font-size: .95rem; margin: 0; }

.tag {
  display: inline-block;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(224,176,74,.18); color: var(--gold);
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.tag--red { background: rgba(165,15,24,.1); color: var(--red); }

/* Pitch art used where photos would go */
.art-pitch {
  --art:
    repeating-linear-gradient(90deg, #1f6b39 0 60px, #237a41 60px 120px);
}
.art-red { --art: radial-gradient(circle at 70% 20%, #d0262f, var(--red-deep) 70%); }
.art-gold { --art: radial-gradient(circle at 30% 20%, #f0c766, #8a5d12 75%); }
.art-ink { --art: radial-gradient(circle at 70% 30%, #4b3b3f, #120d0f 70%); }

/* Visual panel (placeholder for photography) */
.visual {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 22%, rgba(255,255,255,.55) 22% calc(22% + 2px), transparent calc(22% + 2px)),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.55) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    repeating-linear-gradient(0deg, #1d6636 0 48px, #22763f 48px 96px);
  box-shadow: var(--shadow-lg);
}
.visual img.visual__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visual__badge {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  background: rgba(20,16,18,.85); color: #fff;
  backdrop-filter: blur(6px);
  border-radius: 16px; padding: 18px 20px;
  display: flex; gap: 14px; align-items: center;
}
.visual__badge img { width: 48px; height: 48px; }
.visual__badge strong { font-family: var(--display); font-size: 1.2rem; letter-spacing: .04em; display: block; text-transform: uppercase; }
.visual__badge span { font-size: .85rem; color: #c9bfbc; }
.visual__ball {
  position: absolute; top: 18%; right: 16%;
  width: 70px; height: 70px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,30 69,44 62,66 38,66 31,44' fill='%23141012'/%3E%3Cpath d='M50 30V8M69 44l20-8M62 66l13 18M38 66L25 84M31 44l-20-8' stroke='%23141012' stroke-width='3'/%3E%3C/svg%3E") center/100% no-repeat;
  box-shadow: 0 18px 30px rgba(0,0,0,.35);
  animation: float 5s ease-in-out infinite;
}

/* Feature list */
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0b04a' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 10px; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; color: var(--gold); }
.stat span { text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; color: #f3d9d6; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Pathway steps */
.pathway { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pathway li {
  list-style: none; counter-increment: step; position: relative;
  padding: 30px 24px 26px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
}
.pathway li::before {
  content: "0" counter(step);
  font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--gold); display: block; margin-bottom: 14px;
}
.pathway h3 { font-size: 1.3rem; color: #fff; }
.pathway p { color: #b9adaa; font-size: .95rem; margin: 0; }
.pathway { padding: 0; margin: 0; }
@media (max-width: 980px) { .pathway { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pathway { grid-template-columns: 1fr; } }

/* Fixtures / events */
.fixture {
  display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color .2s ease, transform .2s ease;
}
.fixture:hover { border-color: var(--gold); transform: translateX(4px); }
.fixture__date { text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.fixture__date strong { display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--red); }
.fixture__date span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fixture h4 { font-size: 1.2rem; margin: 0 0 4px; }
.fixture p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) {
  .fixture { grid-template-columns: 72px 1fr; }
  .fixture .tag { grid-column: 2; justify-self: start; }
}

/* Testimonials */
.quote { position: relative; }
.quote::before {
  content: "“"; position: absolute; top: 4px; right: 24px;
  font-family: Georgia, serif; font-size: 6rem; line-height: 1; color: rgba(165,15,24,.12);
}
.quote p { color: var(--ink-2) !important; font-size: 1.05rem; }
.person { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--red), var(--red-dark)); color: var(--gold);
  font-family: var(--display); font-size: 1.1rem;
}
.person strong { display: block; line-height: 1.2; }
.person span { color: var(--muted); font-size: .88rem; }

/* CTA banner */
.cta {
  position: relative; overflow: hidden;
  border-radius: 28px;
  padding: clamp(36px, 6vw, 70px);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(224,176,74,.35), transparent 60%),
    linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
}
.cta::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border-radius: 50%; border: 40px solid rgba(255,255,255,.05);
}
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 10px; }
.cta p { color: #f2dcda; margin: 0; max-width: 55ch; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.partner {
  height: 90px; border-radius: var(--radius); border: 1px dashed #d8cdc6;
  display: grid; place-items: center;
  font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; color: #a89c97; font-size: .9rem;
}
@media (max-width: 760px) { .partners { grid-template-columns: repeat(2, 1fr); } }

/* Team / staff */
.staff { text-align: center; padding: 0; overflow: hidden; }
.staff__photo {
  aspect-ratio: 1; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, #c3232c, var(--red-deep));
  font-family: var(--display); font-size: 3.2rem; color: var(--gold);
}
.staff__body { padding: 20px 20px 24px; }
.staff__body h3 { font-size: 1.25rem; margin-bottom: 4px; }
.staff__body p { margin: 0; font-size: .9rem; }

/* Founder */
.founder { grid-template-columns: 5fr 7fr; }
@media (max-width: 880px) { .founder { grid-template-columns: 1fr; } }
.founder__photo {
  position: relative; margin: 0; aspect-ratio: 4 / 5; max-width: 100%;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: radial-gradient(circle at 50% 30%, #c3232c, var(--red-deep));
  display: grid; place-items: center;
}
.founder__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 44% center; z-index: 1; }
.founder__initials { font-family: var(--display); font-size: clamp(4rem, 12vw, 7rem); color: var(--gold); letter-spacing: .04em; }
.founder__photo figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  background: rgba(20, 16, 18, .82); color: #fff; border-radius: var(--radius); padding: 12px 16px;
}
.founder__photo figcaption strong { display: block; font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; }
.founder__photo figcaption span { font-size: .85rem; color: var(--gold-soft); }
.founder__facts { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.founder__facts strong { display: block; font-family: var(--display); font-size: 1.8rem; color: var(--red); line-height: 1.1; }
.founder__facts span { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* Timeline */
.timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--red)); }
.timeline li { position: relative; padding: 0 0 34px 48px; }
.timeline li::before {
  content: ""; position: absolute; left: 3px; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--red);
}
.timeline strong { font-family: var(--display); color: var(--red); font-size: 1.3rem; letter-spacing: .05em; }
.timeline h4 { font-size: 1.15rem; margin: 2px 0 6px; }
.timeline p { color: var(--muted); margin: 0; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-weight: 500; font-size: .9rem; background: var(--ink); color: #fff; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fdf6ee; }

/* Pricing */
.price { display: flex; flex-direction: column; }
.price--featured { background: var(--ink); color: #fff; border-color: var(--ink); position: relative; }
.price--featured p, .price--featured li { color: #cfc5c2; }
.price--featured .price__amount { color: var(--gold); }
.price__flag { position: absolute; top: 18px; right: 18px; }
.price__amount { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--red); margin: 10px 0 4px; }
.price__amount small { font-size: 1rem; color: var(--muted); letter-spacing: .04em; }
.price ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; flex: 1; }
.price li { padding-left: 24px; position: relative; color: var(--muted); font-size: .95rem; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 22px; transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--gold); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 30px 20px 0; position: relative;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--red); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: #fffdfa;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(165,15,24,.1);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d0262f; background: #fff6f6; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.field .error { font-size: .82rem; color: #c21d26; margin-top: 6px; display: none; }
.field.invalid .error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; accent-color: var(--red); margin-top: 2px; flex: none; }

/* Choice tiles (programs, payment methods, amounts) */
.choices { display: grid; gap: 12px; }
.choices--3 { grid-template-columns: repeat(3, 1fr); }
.choices--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .choices--3, .choices--4 { grid-template-columns: repeat(2, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice .tile {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fffdfa;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.choice .tile strong { font-family: var(--display); font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase; font-weight: 500; }
.choice .tile span { font-size: .85rem; color: var(--muted); }
.choice input:checked + .tile { border-color: var(--red); background: #fff4f2; box-shadow: 0 0 0 4px rgba(165,15,24,.08); }
.choice input:focus-visible + .tile { outline: 3px solid var(--gold); outline-offset: 2px; }
.pay-logo {
  align-self: flex-start; min-width: 42px; height: 26px; padding: 0 8px; border-radius: 6px; display: grid; place-items: center;
  font-size: .7rem; font-weight: 800; letter-spacing: .02em; margin-bottom: 6px;
}
.pay-logo--mtn { background: #ffcb05; color: #1d1d1b; }
.pay-logo--airtel { background: #e40000; color: #fff; }
.pay-logo--card { background: #1a1f71; color: #fff; }
.pay-logo--bank { background: var(--ink); color: var(--gold); }

/* Multi-step register */
.steps { display: flex; gap: 8px; margin-bottom: 34px; list-style: none; padding: 0; }
.steps li {
  flex: 1; position: relative;
  padding-top: 14px;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #ac9f9a;
}
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 5px; background: var(--line); }
.steps li.active, .steps li.done { color: var(--ink); }
.steps li.active::before { background: var(--red); }
.steps li.done::before { background: var(--gold); }
.steps li span { display: none; }
@media (min-width: 640px) { .steps li span { display: inline; } }

.step { display: none; animation: fadeUp .35s ease; }
.step.active { display: block; }
.step h3 { font-size: 1.6rem; margin-bottom: 6px; }
.step > p { color: var(--muted); margin-bottom: 26px; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; }
.summary dt { color: var(--muted); font-size: .9rem; }
.summary dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
.summary .total { border-top: 1px dashed #d4c8c1; margin-top: 12px; padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; }
.summary .total strong { font-family: var(--display); font-size: 1.9rem; color: var(--red); }

.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 12px; font-size: .9rem;
  background: #fff8e6; border: 1px solid #f1d899; color: #6b4f0d;
}

.success { text-align: center; padding: 20px 0; }
.success__icon {
  width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--red), var(--red-dark)); color: var(--gold);
  animation: pop .5s cubic-bezier(.2,1.6,.4,1);
}
.success__icon svg { width: 44px; height: 44px; }
.ref { display: inline-block; font-family: ui-monospace, Consolas, monospace; font-size: 1.1rem; padding: 10px 18px; border-radius: 10px; background: var(--paper); border: 1px dashed var(--gold); margin: 10px 0 20px; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }

/* Donate */
.impact { display: grid; gap: 14px; }
.impact__item { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.impact__item strong { font-family: var(--display); font-size: 1.4rem; color: var(--gold); min-width: 110px; }
.impact__item span { color: #d4cac7; font-size: .95rem; }
.progress { height: 12px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; margin: 14px 0 8px; }
.progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), #ffd97a); transition: width 1.6s ease; }
.toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 22px; }
.toggle label { position: relative; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { display: block; padding: 9px 20px; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; transition: .2s; }
.toggle input:checked + span { background: var(--red); color: #fff; }

/* Contact */
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .icon { margin: 0; width: 50px; height: 50px; flex: none; }
.contact-item h4 { font-size: 1.1rem; margin: 2px 0 4px; }
.contact-item p, .contact-item a { color: var(--muted); margin: 0; text-decoration: none; }
.contact-item a:hover { color: var(--red); }
.map {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
  aspect-ratio: 16 / 7; min-height: 280px; background: #e8e2dc;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: #0d090a; color: #b4a8a5; padding-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 1.05rem; letter-spacing: .12em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #b4a8a5; text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer .brand { margin-bottom: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.15);
}
.social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.social svg { width: 18px; height: 18px; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input {
  flex: 1; min-width: 0; padding: 12px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05); color: #fff; font: inherit;
}
.newsletter button { padding: 12px 18px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 140%);
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 12px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-lg); z-index: 100; transition: transform .35s ease;
  max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }

.mt-0 { margin-top: 0; } .mt-2 { margin-top: 20px; } .mt-4 { margin-top: 40px; } .mb-2 { margin-bottom: 20px; }
.mb-0 { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Form page layout: form + sticky sidebar */
.split--form { grid-template-columns: 1.6fr 1fr; align-items: start; }
@media (max-width: 980px) {
  .split--form { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
