/* ============================================================
   Kow Abaka Essuman — Campaign
   Zohran-style bold layout · NPP red / white / blue
   ============================================================ */

:root {
  /* NPP palette */
  --red:      #CE1126;   /* NPP / Ghana red */
  --red-dark: #A00D1E;
  --blue:     #003F87;   /* NPP blue */
  --blue-dark:#00285a;
  --gold:     #F5B301;   /* warm Ghanaian accent */
  --green:    #22A84A;   /* GreenRide programme */
  --green-dark:#1A8A3B;
  --lime:     #7CD957;
  --cream:    #FBF6EC;   /* off-white base */
  --ink:      #12131a;   /* near-black */
  --white:    #ffffff;

  --font-display: "Anton", "Archivo", system-ui, sans-serif;
  --font-body:    "Archivo", system-ui, sans-serif;
  --font-serif:   "Libre Caslon Text", Georgia, serif;

  --maxw: 1200px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0,0,0,.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4em;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: .01em;
  padding: 15px 26px;
  border: 3px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-size: 1rem;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 11px 20px; font-size: .9rem; }
.btn--lg { padding: 19px 40px; font-size: 1.15rem; }
.btn--block { width: 100%; }

.btn--red   { background: var(--red);  color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--blue  { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); }
.btn--white { background: #fff; color: var(--red); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }
.btn--green.is-current { box-shadow: 0 0 0 3px var(--cream), 0 0 0 6px var(--green); }
.btn--outline { background: transparent; border-color: currentColor; }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--red); color: #fff;
  overflow: hidden; white-space: nowrap;
  border-bottom: 3px solid var(--ink);
}
.ticker__track {
  display: inline-flex;
  animation: scroll 28s linear infinite;
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .08em;
  padding: 8px 0;
}
.ticker__track span { padding-right: 1rem; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); }
.brand__logo { height: 42px; width: auto; display: block; }
.brand__mark { color: var(--blue); display: inline-flex; }
.brand__text {
  font-family: var(--font-display);
  font-size: 1.7rem; letter-spacing: .04em; color: var(--ink);
}
.brand__accent { color: var(--red); }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { font-weight: 700; font-size: .98rem; }
.nav__links a:not(.btn):hover { color: var(--red); }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav__toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: .25s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- GreenRide banner (under the nav) ---------- */
.grbanner {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--green); color: #fff;
  padding: 11px 22px;
  border-bottom: 3px solid var(--ink);
  font-size: .98rem; line-height: 1.35;
  transition: background .15s ease;
}
.grbanner:hover { background: var(--green-dark); }
.grbanner strong { font-weight: 800; }
.grbanner__dot {
  flex: none; width: 10px; height: 10px; border-radius: 50%; background: #fff;
  animation: status-pulse 1.8s ease-out infinite;
}
.grbanner__cta {
  flex: none;
  background: #fff; color: var(--green-dark);
  font-weight: 800; font-size: .85rem; letter-spacing: .02em;
  padding: 7px 14px; border-radius: 100px;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 15% 15%, rgba(0,63,135,.08), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(206,17,38,.08), transparent 45%),
    var(--cream);
  padding: 60px 22px 70px;
}
.hero__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center;
}
.eyebrow {
  font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; color: var(--blue); margin: 0 0 18px;
}
.eyebrow--red { color: var(--red); }
.eyebrow--blue { color: var(--blue); }
.eyebrow--onred { color: rgba(255,255,255,.85); }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: .92;
  margin: 0 0 22px;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero__title .italic {
  text-transform: none; color: var(--red);
  font-size: .82em; display: inline-block; padding: 0 .08em;
}
.hero__lede {
  font-size: 1.18rem; max-width: 34rem; margin: 0 0 30px; color: #333;
}

/* Signup card */
.signup {
  position: relative;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  max-width: 34rem;
}
.signup__label {
  font-family: var(--font-display); font-size: 1.3rem;
  margin: 0 0 14px; letter-spacing: .03em; text-transform: uppercase;
}
.signup__row { display: flex; gap: 12px; margin-bottom: 12px; }
.signup input {
  flex: 1; width: 100%;
  padding: 13px 15px;
  border: 2px solid #d8d2c4;
  border-radius: 9px;
  font-family: var(--font-body); font-size: 1rem;
  background: var(--cream);
}
.signup input:focus { outline: none; border-color: var(--blue); background: #fff; }
.signup input.is-error { border-color: var(--red); background: #fff5f6; }
.signup__note { margin: 12px 0 0; font-weight: 700; color: var(--blue); }
.signup__note.error { color: var(--red); }
.signup button:disabled { opacity: .6; cursor: progress; }

/* Consent line under the button — required by Act 843 */
.signup__consent {
  margin: 12px 0 0;
  font-size: .78rem;
  line-height: 1.45;
  color: #6b6660;
}
.signup__consent a { text-decoration: underline; font-weight: 700; color: var(--blue); }

/* Honeypot — off-screen, never shown, never announced */
.signup__trap {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- WhatsApp alternative ---------- */
.hero__whatsapp {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 34rem;
  margin-top: 16px;
}
.hero__whatsapp-or {
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8a8577;
}
.btn--whatsapp {
  background: #25D366;
  color: #06301a;
  flex: 1;
}
.btn--whatsapp:hover { background: #1db355; }
.btn--whatsapp svg { flex: none; }

/* Portrait */
.hero__right { display: flex; justify-content: center; }
.portrait { position: relative; width: 100%; max-width: 420px; }
.portrait__img {
  aspect-ratio: 4/5;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: url("assets/kow-hero.jpg") center 22% / cover no-repeat, var(--ink);
  box-shadow: var(--shadow);
  position: relative;
}
.portrait__badge {
  position: absolute; right: -14px; bottom: 26px;
  background: var(--gold); color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 12px 18px; text-align: center;
  transform: rotate(-4deg);
  box-shadow: var(--shadow);
}
.portrait__badge-top { display: block; font-family: var(--font-display); font-size: .95rem; letter-spacing: .2em; }
.portrait__badge-name { display: block; font-family: var(--font-display); font-size: 2.1rem; line-height: 1; }
.portrait__badge-sub { display: block; font-weight: 800; font-size: .68rem; letter-spacing: .12em; }

/* ---------- Stats ---------- */
.stats { background: var(--blue); color: #fff; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.stats__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.stat { padding: 34px 18px; border-right: 2px solid rgba(255,255,255,.18); }
.stat:last-child { border-right: none; }
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(2.4rem,5vw,3.6rem); color: var(--gold); line-height: 1; }
.stat__label { display: block; margin-top: 8px; font-weight: 600; font-size: .98rem; }

/* ---------- Section shell ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 84px 22px; }
.section__head { max-width: 46rem; margin: 0 0 46px; }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: .98; margin: 0; text-transform: uppercase; letter-spacing: .01em;
}
.section__title .italic { text-transform: none; color: var(--red); }
.section__sub { font-size: 1.12rem; color: #444; margin: 16px 0 0; }

/* ---------- Priority cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__num {
  font-family: var(--font-display); font-size: 2.4rem; color: var(--red);
  display: block; line-height: 1; margin-bottom: 12px;
}
.card h3 { font-size: 1.3rem; margin: 0 0 10px; }
.card p { margin: 0; color: #444; }
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--blue);
}
.card:nth-child(3n-1)::before { background: var(--red); }
.card:nth-child(3n)::before   { background: var(--gold); }

/* A priority already being delivered */
.card--active { border-color: var(--green); }
.card--active::before { background: var(--green) !important; }
.card__status {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff;
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 100px;
}
.card__status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: status-pulse 1.8s ease-out infinite;
}
@keyframes status-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  100% { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
}
.card__link {
  display: inline-block; margin-top: 14px;
  color: var(--green-dark); font-weight: 800; font-size: .95rem;
  text-decoration: underline; text-underline-offset: 3px;
}
.card__link:hover { color: var(--green); }

/* ---------- GreenRide (home page promo) ---------- */
.greenride {
  background: linear-gradient(135deg, #0E2A5A, #19468D);
  color: #fff;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.greenride__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 72px 22px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center;
}
.greenride__kick {
  display: inline-block;
  background: var(--green); color: #fff;
  font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 4px;
}
.greenride__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: .95; text-transform: uppercase; letter-spacing: .01em;
  margin: 18px 0 14px;
}
.greenride__green { color: var(--lime); }
.greenride__lede { font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 700; margin: 0 0 12px; }
.greenride__lede strong { color: var(--lime); }
.greenride__body { font-size: 1.08rem; color: #e6edf8; margin: 0 0 18px; max-width: 36rem; }
.greenride__body strong { color: #fff; }
.greenride__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.greenride__facts span {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px; padding: 6px 14px; font-size: .86rem; font-weight: 700;
}
.greenride__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.greenride__flyer {
  display: block; justify-self: center;
  max-width: 360px; width: 100%;
  border: 3px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transform: rotate(2deg);
  transition: transform .25s ease;
}
.greenride__flyer:hover { transform: rotate(0) scale(1.02); }
.greenride__flyer img { width: 100%; height: auto; display: block; }

/* ---------- About ---------- */
.about { }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.about__img {
  aspect-ratio: 1/1; border: 3px solid var(--ink); border-radius: var(--radius);
  background: url("assets/kow-bio.jpg") center 18% / cover no-repeat, var(--ink);
  position: relative; box-shadow: var(--shadow);
}
.about__text p { font-size: 1.1rem; color: #333; }
.about__text .btn { margin-top: 14px; }
.about__text .btn + .btn { margin-left: 10px; }
.section__head .btn { margin-top: 18px; }
.about__editnote { font-size: .95rem !important; color: #7a746a !important; }

/* ---------- Campaign highlights ---------- */
.highlights { background: var(--ink); color: #fff; border-top: 3px solid var(--ink); }
.highlights .section__sub { color: rgba(255,255,255,.78); }
.highlights .section__title .italic { color: var(--gold); }
.eyebrow--gold { color: var(--gold); }

.hl__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}
.hl {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #23242d;
}
.hl--feature { grid-column: span 2; grid-row: span 2; }
.hl--tall { grid-row: span 2; }
.hl img, .hl video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hl img { transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.hl:hover img, .hl:focus-visible img { transform: scale(1.05); }
.hl:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hl__tag {
  position: absolute;
  left: 10px; bottom: 10px;
  padding: 5px 11px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  border-radius: 100px;
}
.hl__more { margin-top: 28px; }

/* ---------- Quote ---------- */
.quote { background: var(--red); color: #fff; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.quote blockquote {
  max-width: 900px; margin: 0 auto; padding: 70px 22px; text-align: center;
}
.quote p {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4.5vw, 3.1rem);
  line-height: 1.05; margin: 0 0 18px; text-transform: uppercase;
}
.quote .italic { text-transform: none; color: var(--gold); }
.quote cite { font-style: normal; font-weight: 700; letter-spacing: .05em; opacity: .9; }

/* ---------- Get involved tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
  border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 34px 28px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile h3 { font-family: var(--font-display); font-size: 1.9rem; margin: 0 0 10px; text-transform: uppercase; }
.tile p { margin: 0 0 20px; }
.tile__cta { font-weight: 800; font-size: 1.05rem; }
.tile--red { background: var(--red); color: #fff; }
.tile--blue { background: var(--blue); color: #fff; }
.tile--cream { background: var(--gold); color: var(--ink); }

/* ---------- Events ---------- */
.events__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.event {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); padding: 20px 24px;
}
.event__date {
  background: var(--blue); color: #fff; border-radius: 10px; padding: 10px 16px;
  text-align: center; min-width: 78px;
}
.event__day { display: block; font-weight: 800; font-size: .8rem; letter-spacing: .1em; }
.event__num { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--gold); }
.event__mon { display: block; font-weight: 800; font-size: .8rem; letter-spacing: .1em; }
.event__body h3 { margin: 0 0 4px; font-size: 1.3rem; }
.event__body p { margin: 0 0 4px; color: #444; }
.event__meta { font-size: .88rem; color: #777; font-weight: 600; }
.events__note, .support__note, .about__editnote { font-style: italic; }
.events__note { text-align: center; color: #8a8577; margin-top: 24px; }

/* ---------- Support / donate ---------- */
.support { max-width: none; padding: 0; }
.support__inner {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff; text-align: center;
  padding: 84px 22px;
}
.support__title { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 0 0 14px; text-transform: uppercase; }
.support__sub { font-size: 1.15rem; max-width: 40rem; margin: 0 auto 34px; opacity: .95; }
/* Two ways to give */
.give {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px;
  max-width: 940px; margin: 0 auto; text-align: left;
}
.give__panel {
  background: rgba(255,255,255,.10);
  border: 3px solid rgba(255,255,255,.4);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.give__panel--ussd { background: rgba(0,0,0,.16); }
.give__panel--ussd[hidden] { display: none; }
/* Only the online panel is showing — centre it instead of leaving a gap. */
.give--single { grid-template-columns: 1fr; max-width: 560px; }
.give__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.give__num {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem;
}
.give__head h3 {
  font-family: var(--font-display); font-size: 1.5rem; margin: 0;
  text-transform: uppercase; letter-spacing: .02em; color: #fff;
}
.give__lede { color: rgba(255,255,255,.82); font-size: .95rem; margin: 0 0 18px; }

.amounts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; margin: 0 0 14px; }
.amount {
  background: rgba(255,255,255,.12); color: #fff;
  border: 3px solid rgba(255,255,255,.5); border-radius: 100px;
  padding: 14px 28px; font-family: var(--font-body); font-weight: 800; font-size: 1.1rem;
  cursor: pointer; transition: .15s;
}
.amount:hover, .amount.active { background: #fff; color: var(--red); border-color: #fff; }

/* Custom amount */
.custom-wrap { margin: 0 0 14px; }
.custom-amount {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 3px solid #fff; border-radius: 100px;
  padding: 4px 10px 4px 20px; max-width: 300px;
}
.custom-amount__sym { font-weight: 900; color: var(--red); font-size: 1.1rem; flex: none; }
.custom-amount input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-family: var(--font-body); font-size: 1.15rem; font-weight: 800;
  color: var(--ink); padding: 11px 8px;
}
/* Strip number-input spinners so the pill keeps its shape */
.custom-amount input::-webkit-outer-spin-button,
.custom-amount input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.custom-amount input[type=number] { -moz-appearance: textfield; appearance: textfield; }

/* Donor details */
.donor {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 0 0 14px;
}
.donor input {
  width: 100%; padding: 14px 16px;
  border: 3px solid rgba(255,255,255,.45); border-radius: 100px;
  background: rgba(255,255,255,.12); color: #fff;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
}
.donor input::placeholder { color: rgba(255,255,255,.72); font-weight: 500; }
.donor input:focus {
  outline: none; background: #fff; color: var(--ink); border-color: #fff;
}
.donor input:focus::placeholder { color: #9a948a; }
.donor input.is-error {
  border-color: var(--gold); background: rgba(245,179,1,.18);
  animation: shake .32s ease;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Citizenship attestation — the legal eligibility gate */
.attest {
  display: flex; gap: 11px; align-items: flex-start;
  background: rgba(0,0,0,.18); border: 2px solid rgba(255,255,255,.28);
  border-radius: 11px; padding: 13px 15px; margin: 0 0 16px;
  cursor: pointer; font-size: .88rem; line-height: 1.45;
  color: rgba(255,255,255,.92);
}
.attest:hover { border-color: rgba(255,255,255,.5); }
.attest input {
  flex: none; width: 20px; height: 20px; margin: 1px 0 0;
  accent-color: var(--gold); cursor: pointer;
}
.attest strong { color: #fff; }

/* Disabled CTA — must not look clickable while the gate is unticked */
.btn.is-disabled, .btn:disabled {
  opacity: .5; cursor: not-allowed; transform: none !important;
}
.btn.is-disabled:hover, .btn:disabled:hover { transform: none; }

/* Outline button on the dark USSD panel */
.btn--outline-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.6);
}
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline-light.is-disabled:hover { background: transparent; color: #fff; }

/* USSD steps */
.ussd { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: step; }
.ussd li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.14);
}
.ussd li:last-child { border-bottom: none; }
.ussd__k {
  flex: none; min-width: 92px;
  color: rgba(255,255,255,.62); font-size: .82rem;
  text-transform: uppercase; letter-spacing: .08em; font-weight: 800;
}
.ussd__v { color: #fff; font-weight: 700; font-size: 1rem; }
.ussd__v--big {
  font-family: var(--font-display); font-size: 1.9rem;
  letter-spacing: .06em; color: var(--gold); line-height: 1;
}
.ussd__v--big.is-unset {
  font-family: var(--font-body); font-size: .95rem;
  color: rgba(255,255,255,.55); font-style: italic; letter-spacing: 0;
}
.ussd__note {
  color: rgba(255,255,255,.68); font-size: .85rem; line-height: 1.5; margin: 14px 0 0;
}

.pay-note {
  color: rgba(255,255,255,.9); margin: 14px 0 0; font-size: .9rem;
  line-height: 1.5; font-weight: 600;
}
.pay-note--ok { color: var(--gold); font-weight: 800; }
.support__note {
  color: var(--ink); background: var(--gold);
  display: inline-block; margin-top: 14px; font-size: .85rem; font-weight: 700;
  padding: 8px 15px; border-radius: 100px; font-style: normal;
}
.support__note[hidden] { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 64px 22px 0; }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding-bottom: 46px;
}
.footer .brand__text { color: #fff; }
.footer__brand p { color: rgba(255,255,255,.7); max-width: 22rem; }
.socials { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.socials a { font-weight: 700; color: rgba(255,255,255,.85); }
.socials a:hover { color: var(--gold); }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__links h4 { font-family: var(--font-display); letter-spacing: .05em; margin: 0 0 14px; color: var(--gold); }
.footer__links a { display: block; color: rgba(255,255,255,.8); margin-bottom: 10px; }
.footer__links a:hover { color: #fff; }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,.15);
  max-width: var(--maxw); margin: 0 auto; padding: 22px 0 34px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  color: rgba(255,255,255,.6); font-size: .88rem;
}
.footer__disclaimer { font-style: italic; }

/* ---------- Track record ---------- */
.record { background: transparent; }
.record__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.rec {
  background: #fff; border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 28px 26px; position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.rec:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rec::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; }
.rec--red::before  { background: var(--red); }
.rec--blue::before { background: var(--blue); }
.rec--gold::before { background: var(--gold); }
/* Ghana-flag stripe: red / gold / blue */
.rec--flag::before {
  background: linear-gradient(180deg, var(--red) 0 33.3%, var(--gold) 33.3% 66.6%, var(--blue) 66.6% 100%);
}

.rec__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rec__icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--cream); border: 2px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem; line-height: 1;
}
.rec__head h3 {
  font-family: var(--font-display); font-size: 1.32rem; margin: 0;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.05;
}

.rec ul { list-style: none; margin: 0; padding: 0; }
.rec li {
  padding: 11px 0 11px 20px; position: relative;
  border-bottom: 1px solid rgba(0,0,0,.07); font-size: .99rem;
}
.rec li:last-child { border-bottom: none; padding-bottom: 0; }
.rec li::before {
  content: ""; position: absolute; left: 0; top: 19px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--red);
}
.rec--blue li::before { background: var(--blue); }
.rec--gold li::before { background: var(--gold); }
.rec--flag li::before { background: var(--blue); }
.rec__meta {
  display: block; color: #6f6a61; font-size: .87rem; margin-top: 3px; line-height: 1.4;
}

/* Honours */
.honours {
  margin-top: 34px; background: var(--ink); color: #fff;
  border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 30px 26px;
}
.honours__title {
  font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase;
  letter-spacing: .06em; margin: 0 0 22px; color: var(--gold); text-align: center;
}
.honours__row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.honour { text-align: center; padding: 4px 10px; position: relative; }
.honour + .honour::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 1px; background: rgba(255,255,255,.16);
}
.honour p { margin: 0; line-height: 1.35; }
.honour strong {
  display: block; font-family: var(--font-display); font-size: 1.02rem;
  letter-spacing: .02em; text-transform: uppercase; color: #fff;
}
.honour strong::before {
  content: "★"; display: block; color: var(--gold);
  font-family: var(--font-body); font-size: .95rem; margin-bottom: 8px;
}
.honour span { display: block; color: rgba(255,255,255,.6); font-size: .8rem; margin-top: 5px; }

/* Footer logo */
.footer__logo {
  height: 46px; width: auto; display: block; margin-bottom: 14px;
  /* logo is dark-on-transparent; invert-free approach: sit it on a light chip */
  background: #fff; padding: 9px 13px; border-radius: 9px;
  align-self: flex-start;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
/* Safety net: never hide content for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .card__status::before, .grbanner__dot { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__right { order: -1; }
  .portrait { max-width: 320px; }
  .cards, .tiles { grid-template-columns: 1fr 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .record__grid { grid-template-columns: 1fr; }
  .honours__row { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .give { grid-template-columns: 1fr; }
  .hl__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .greenride__inner { grid-template-columns: 1fr; gap: 34px; }
  .greenride__flyer { max-width: 300px; transform: none; }
}

@media (max-width: 680px) {
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 3px solid var(--ink);
    padding: 10px 22px 20px;
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
  .nav__links a.btn { margin-top: 12px; border-bottom: none; }
  .nav__toggle { display: flex; }
  .nav { position: sticky; }

  .signup__row { flex-direction: column; }
  .cards, .tiles { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 2px solid rgba(255,255,255,.18); }
  .stat:last-child { border-bottom: none; }
  .event { grid-template-columns: auto 1fr; }
  .event__rsvp { grid-column: 1 / -1; justify-self: start; }
  .footer__legal { flex-direction: column; }
  .record__grid { grid-template-columns: 1fr; }
  .honours__row { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .brand__logo { height: 34px; }
  .rec { padding: 24px 20px; }
  .rec__head h3 { font-size: 1.15rem; }
  .hl__grid { grid-auto-rows: 140px; gap: 10px; }
  .hl__tag { font-size: .66rem; left: 8px; bottom: 8px; }
  /* On phones the banner carries the GreenRide link, not the collapsed menu */
  .nav__links .btn--green { display: none; }
  .grbanner { gap: 10px; padding: 10px 16px; font-size: .9rem; text-align: left; }
  .grbanner__text { flex: 1; }
  .grbanner__cta { font-size: .78rem; padding: 7px 11px; }
  .grbanner__more { display: none; }
  .greenride__inner { padding: 52px 18px; }
  .greenride__actions .btn { width: 100%; }
  .card__status { position: static; margin-bottom: 12px; }

  /* Donate: stack the panels and donor fields */
  .donor { grid-template-columns: 1fr; }
  .amounts { gap: 9px; }
  .amount { padding: 12px 18px; font-size: .98rem; }
  .btn--lg { padding: 17px 24px; font-size: 1rem; text-align: center; }
  .give__panel { padding: 22px 18px; }
  .ussd li { flex-direction: column; gap: 3px; }
  .ussd__k { min-width: 0; }
}
