/* ============================================================
   HOPE FOR GHANA KIDS — hopeforghanakids.org
   Warm editorial NGO design · Ghana flag palette
   ============================================================ */

:root {
  /* Ghana flag palette */
  --red: #CE1126;
  --red-deep: #A30E1E;
  --gold: #FCD116;
  --gold-deep: #D99A00;      /* accessible gold for text on light bg */
  --green: #046A38;
  --green-deep: #03512B;
  --star: #101010;

  /* Warm neutrals */
  --ink: #171310;
  --ink-2: #221D17;
  --ink-3: #332B21;
  --paper: #FBF4E6;
  --paper-2: #F3E9D3;
  --line: #E4D5B4;
  --line-dark: rgba(251, 244, 230, 0.16);
  --cream: #FBF4E6;
  --cream-soft: rgba(251, 244, 230, 0.78);
  --body: #4C4436;
  --muted-dark: #C9BB9E;      /* muted text on ink */

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Karla', 'Segoe UI', sans-serif;

  --shadow-sm: 0 6px 18px -8px rgba(35, 24, 8, 0.25);
  --shadow-md: 0 18px 44px -18px rgba(35, 24, 8, 0.28);
  --shadow-lg: 0 30px 70px -24px rgba(35, 24, 8, 0.4);
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  padding-top: 74px; /* fixed nav */
}

::selection { background: var(--gold); color: var(--ink); }

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }

[id] { scroll-margin-top: 96px; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

.flag-stripe {
  height: 4px;
  background: linear-gradient(90deg,
    var(--red) 0 33.334%,
    var(--gold) 33.334% 66.667%,
    var(--green) 66.667% 100%);
}

.star-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 14px 0 22px; color: var(--gold-deep); font-size: 13px;
}
.star-divider::before, .star-divider::after {
  content: ""; height: 1px; width: 46px;
  background: currentColor; opacity: 0.45;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 18px;
}
.eyebrow::before { content: "★"; font-size: 12px; letter-spacing: 0; }

.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .star-divider { justify-content: center; }
.sec-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.lede { font-size: 19px; color: var(--body); max-width: 640px; }
.sec-head.center .lede { margin-left: auto; margin-right: auto; }

.on-dark h2, .on-dark h3, .on-dark h4 { color: var(--cream); }
.on-dark .lede, .on-dark p { color: var(--muted-dark); }
.on-dark .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  letter-spacing: 0.02em;
  padding: 15px 30px; border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); color: #fff; }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffd83d; color: var(--ink); }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); color: #fff; }

.btn-outline { background: transparent; border-color: rgba(23, 19, 16, 0.35); color: var(--ink); box-shadow: none; }
.btn-outline:hover { border-color: var(--ink); background: rgba(23, 19, 16, 0.05); color: var(--ink); }

.btn-outline-cream { background: transparent; border-color: rgba(251, 244, 230, 0.55); color: var(--cream); box-shadow: none; }
.btn-outline-cream:hover { border-color: var(--cream); background: rgba(251, 244, 230, 0.08); color: var(--cream); }

.btn-lg { padding: 18px 38px; font-size: 17.5px; }

.link-arrow {
  font-weight: 700; color: var(--red); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.link-arrow.on-dark { color: var(--gold); }

/* ---------- Chips ---------- */

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink);
  border: 1px solid var(--line);
}
.chip-red { background: rgba(206, 17, 38, 0.1); color: var(--red); border-color: rgba(206, 17, 38, 0.25); }
.chip-gold { background: rgba(252, 209, 22, 0.18); color: #8a6a00; border-color: rgba(217, 154, 0, 0.4); }
.chip-green { background: rgba(4, 106, 56, 0.1); color: var(--green); border-color: rgba(4, 106, 56, 0.25); }
.on-dark .chip, .chip-cream { background: rgba(251, 244, 230, 0.12); color: var(--cream); border-color: var(--line-dark); }

/* ---------- Nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(251, 244, 230, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228, 213, 180, 0.75);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 10px 30px -12px rgba(35, 24, 8, 0.18); }

.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--star);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1;
  box-shadow: inset 0 0 0 2px var(--star), var(--shadow-sm);
  flex: none;
}
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.05; letter-spacing: -0.01em; }
.logo-text small { display: block; font-family: var(--font-body); font-weight: 700; font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-deep); }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink-2); font-weight: 600; font-size: 15.5px; text-decoration: none;
  padding: 4px 2px; border-bottom: 2px solid transparent; transition: border-color 0.25s, color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); border-bottom-color: var(--red); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav .btn { padding: 11px 24px; font-size: 15px; box-shadow: none; }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
  color: var(--ink); padding: 10px;
}
.burger svg { width: 100%; height: 100%; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column;
  padding: 24px;
  transform: translateY(-100%); transition: transform 0.45s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mm-top { display: flex; justify-content: space-between; align-items: center; }
.mm-close { background: none; border: 0; color: var(--cream); font-size: 30px; cursor: pointer; width: 48px; height: 48px; }
.mm-links { list-style: none; margin: auto 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mm-links a {
  font-family: var(--font-display); font-size: 34px; color: var(--cream);
  text-decoration: none; display: block; padding: 10px 0;
  border-bottom: 1px solid var(--line-dark);
}
.mm-links a:hover { color: var(--gold); }
.mm-cta { margin-bottom: 30px; display: grid; gap: 12px; }

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: calc(100svh - 74px);
  display: flex; align-items: flex-end;
  overflow: hidden; color: var(--cream);
  background: var(--ink);
}
.hero-media, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-media img { animation: kenburns 26s ease-in-out infinite alternate; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 19, 16, 0.34) 0%, rgba(23, 19, 16, 0.05) 34%, rgba(23, 19, 16, 0.86) 100%),
    linear-gradient(78deg, rgba(23, 19, 16, 0.62) 0%, rgba(23, 19, 16, 0.18) 44%, transparent 70%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 24px 76px;
}
.hero-inner { max-width: 1180px; margin: 0 auto; max-width: 720px; }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  margin: 0 0 20px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero h1 .hl { color: var(--gold); font-style: italic; }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--cream-soft); max-width: 560px; margin-bottom: 32px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  font-size: 14px; font-weight: 600; color: var(--cream-soft);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .t-star { color: var(--gold); }
.scroll-cue {
  position: absolute; right: 28px; bottom: 26px; z-index: 3;
  color: var(--cream); text-decoration: none;
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 8px;
  opacity: 0.85;
}
.scroll-cue::after { content: ""; width: 1px; height: 42px; background: linear-gradient(180deg, var(--gold), transparent); }

@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.09) translateY(-1.5%); }
}

/* ---------- Marquee ---------- */

.marquee {
  background: var(--gold); color: var(--ink);
  overflow: hidden; border-top: 1px solid rgba(23, 19, 16, 0.2); border-bottom: 1px solid rgba(23, 19, 16, 0.2);
  padding: 13px 0;
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.06em; white-space: nowrap; padding: 0 18px;
  display: inline-flex; align-items: center; gap: 26px;
}
.marquee-track span::after { content: "★"; font-size: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */

.stats { background: var(--ink); color: var(--cream); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px;
  padding: 64px 0;
}
.stat-num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem); line-height: 1;
  color: var(--gold);
}
.stat-label {
  margin-top: 10px; font-size: 14px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark);
}

/* ---------- Split / intro ---------- */

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.rev { grid-template-columns: 1fr 1.05fr; }

.photo-frame { position: relative; }
.photo-frame img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/4.6; object-fit: cover; width: 100%; }
.photo-frame::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 2px solid var(--gold); border-radius: var(--radius);
  z-index: -1; opacity: 0.9;
}
.photo-frame .frame-note {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--green); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  padding: 10px 16px; border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.big-statement {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  line-height: 1.4; color: var(--ink); font-weight: 500;
}
.big-statement .w-red { color: var(--red); font-style: italic; }
.big-statement .w-gold { color: var(--gold-deep); font-style: italic; }
.big-statement .w-green { color: var(--green); font-style: italic; }

/* ---------- Cards grid ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(228, 213, 180, 0.6);
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--red) 0 33.334%, var(--gold) 33.334% 66.667%, var(--green) 66.667% 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
  z-index: 2;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }

.card-img { overflow: hidden; aspect-ratio: 16/10.5; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }

.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 22.5px; margin: 14px 0 10px; }
.card-text { font-size: 15.5px; margin-bottom: 18px; }
.card-body .link-arrow { margin-top: auto; }

/* ---------- Trust / transparency ---------- */

.bg-paper-2 { background: var(--paper-2); }

.bars { display: grid; gap: 22px; margin: 8px 0 30px; }
.bar-label { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.bar-label .pct { font-family: var(--font-display); color: var(--green); }
.bar-track { height: 14px; border-radius: 999px; background: rgba(23, 19, 16, 0.08); overflow: hidden; }
.bar-fill {
  height: 100%; width: 0; border-radius: 999px;
  background: var(--green);
  transition: width 1.4s var(--ease) 0.2s;
}
.bar-fill.g { background: var(--gold); }
.bar-fill.r { background: var(--red); }

.commit-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.commit-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; }
.commit-list li::before { content: "★"; color: var(--gold-deep); font-size: 14px; margin-top: 4px; flex: none; }
.on-dark .commit-list li::before { color: var(--gold); }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 16px; color: var(--ink-2); background: #fff;
}

/* ---------- Stories slider ---------- */

.story-slider {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 88%);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 6px 22px; margin: 0 -6px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.story-card {
  scroll-snap-align: start;
  background: #fff; border: 1px solid rgba(228, 213, 180, 0.7);
  border-radius: var(--radius); padding: 34px 32px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-sm);
}
.story-card .q-mark { font-family: var(--font-display); font-size: 54px; line-height: 0.6; color: var(--gold); }
.story-quote { font-family: var(--font-display); font-size: 19.5px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.story-who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--paper-2); border: 2px solid var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
}
.story-who .who-name { font-weight: 700; color: var(--ink); font-size: 15px; }
.story-who .who-role { font-size: 13.5px; color: var(--body); }

.slider-nav { display: flex; gap: 10px; margin-top: 18px; }
.slider-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 18px; cursor: pointer; transition: all 0.25s var(--ease);
}
.slider-btn:hover { background: var(--ink); color: var(--gold); }

/* ---------- Giving tiers ---------- */

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.tier {
  position: relative; background: #fff; border-radius: var(--radius);
  border: 1.5px solid var(--line); padding: 34px 30px;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tier.featured { border-color: var(--green); box-shadow: var(--shadow-md); background: #fffdf6; }
.tier-flag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); }
.tier-amount { font-family: var(--font-display); font-size: 52px; font-weight: 600; color: var(--ink); line-height: 1; }
.tier-amount small { font-size: 20px; color: var(--body); font-family: var(--font-body); font-weight: 600; }
.tier-for { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin: 10px 0 18px; }
.tier ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; font-size: 15.5px; }
.tier ul li { display: flex; gap: 10px; align-items: flex-start; }
.tier ul li::before { content: "★"; color: var(--green); font-size: 12px; margin-top: 4px; }
.tier .btn { margin-top: auto; }

/* ---------- Partner band ---------- */

.band-partners { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.band-partners::before {
  content: "★"; position: absolute; right: -60px; top: -90px;
  font-size: 380px; color: rgba(252, 209, 22, 0.05); line-height: 1;
}
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.value-item { background: var(--ink); padding: 28px 26px; }
.value-item h3 { font-size: 19px; margin: 0 0 8px; color: var(--gold); font-family: var(--font-body); font-weight: 700; letter-spacing: 0.01em; }
.value-item p { margin: 0; font-size: 15px; color: var(--muted-dark); }

/* ---------- Mosaic (home gallery preview) ---------- */

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 14px; }
.mosaic a { display: block; overflow: hidden; border-radius: 14px; position: relative; }
.mosaic a:nth-child(1) { grid-row: span 2; }
.mosaic a:nth-child(4) { grid-row: span 2; }
.mosaic a:nth-child(6) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.mosaic a:hover img { transform: scale(1.07); }

/* ---------- CTA band ---------- */

.cta-band { position: relative; background: var(--ink); overflow: hidden; color: var(--cream); }
.cta-band > img.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.cta-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(3, 81, 43, 0.92) 18%, rgba(23, 19, 16, 0.82)); }
.cta-inner { position: relative; z-index: 2; padding: 104px 0; }
.cta-inner h2 { color: var(--cream); font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 640px; }
.cta-inner p { color: var(--cream-soft); font-size: 18px; max-width: 520px; }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 19.5px; color: var(--ink);
  padding: 22px 4px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-body); font-size: 26px; font-weight: 400;
  color: var(--gold-deep); transition: transform 0.3s var(--ease); flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 40px 24px 4px; font-size: 16px; }

/* ---------- Blog cards ---------- */

.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(228, 213, 180, 0.7); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card .card-img { aspect-ratio: 16/10; }
.post-meta { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--body); }
.post-title { font-size: 21px; margin: 12px 0 8px; }
.post-excerpt { font-size: 15px; }

/* ---------- Page head (subpages) ---------- */

.page-head { background: var(--ink); color: var(--cream); padding: 78px 0 66px; position: relative; overflow: hidden; }
.page-head::before {
  content: "★"; position: absolute; right: -40px; bottom: -140px;
  font-size: 330px; color: rgba(252, 209, 22, 0.06); line-height: 1;
}
.page-head h1 { color: var(--cream); font-size: clamp(2.4rem, 5.4vw, 3.8rem); margin: 0 0 14px; }
.page-head .lede { color: var(--muted-dark); }
.crumbs { font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; letter-spacing: 0.04em; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(217, 154, 0, 0.15);
}
.form-note { font-size: 13.5px; color: var(--body); }
.alert {
  border-radius: 12px; padding: 16px 18px; font-size: 15.5px; margin-bottom: 20px;
  border: 1.5px solid;
}
.alert-ok { background: rgba(4, 106, 56, 0.08); border-color: rgba(4, 106, 56, 0.35); color: var(--green-deep); }
.alert-err { background: rgba(206, 17, 38, 0.07); border-color: rgba(206, 17, 38, 0.3); color: var(--red-deep); }

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.table th {
  text-align: left; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); background: var(--ink); padding: 14px 18px;
}
.table td { padding: 15px 18px; border-bottom: 1px solid var(--paper-2); }
.table tr:last-child td { border-bottom: 0; }

/* ---------- Gallery ---------- */

.g-grid { columns: 3 300px; column-gap: 16px; }
.g-grid a.g-item { break-inside: avoid; margin-bottom: 16px; display: block; position: relative; border-radius: 14px; overflow: hidden; }
.g-item img { width: 100%; transition: transform 0.5s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(23, 19, 16, 0.85));
  color: var(--cream); font-size: 13.5px; font-weight: 600; padding: 26px 14px 12px;
  opacity: 0; transition: opacity 0.3s;
}
.g-item:hover .g-cap { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(17, 14, 11, 0.94);
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 14px;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 78vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lb-cap { color: var(--cream-soft); font-size: 14.5px; text-align: center; }
.lb-x, .lb-prev, .lb-next {
  position: absolute; background: none; border: 0; color: var(--cream);
  font-size: 34px; cursor: pointer; width: 56px; height: 56px; border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.lb-x { top: 18px; right: 18px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-x:hover, .lb-prev:hover, .lb-next:hover { background: rgba(251, 244, 230, 0.12); color: var(--gold); }

/* ---------- Timeline (about) ---------- */

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 34px 42px; }
.timeline li::before {
  content: "★"; position: absolute; left: 0; top: 2px;
  color: var(--gold-deep); background: var(--paper);
  font-size: 18px;
}
.timeline .t-year { font-family: var(--font-display); font-weight: 700; color: var(--red); font-size: 19px; }
.timeline h3 { font-size: 18px; margin: 6px 0 6px; }
.timeline p { margin: 0; font-size: 15.5px; }

/* ---------- Team ---------- */

.team-card { text-align: center; padding: 30px 20px; background: #fff; border-radius: var(--radius); border: 1px solid rgba(228, 213, 180, 0.7); }
.team-card .avatar { width: 84px; height: 84px; font-size: 30px; margin: 0 auto 16px; }
.team-card h3 { font-size: 19px; margin: 0 0 4px; }
.team-card .t-role { font-size: 13.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.team-card p { font-size: 14.5px; }

/* ---------- Article prose ---------- */

.article-wrap { max-width: 780px; margin: 0 auto; }
.prose { font-size: 17.5px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.5em; }
.prose img { border-radius: var(--radius); margin: 30px 0; box-shadow: var(--shadow-md); }
.prose blockquote {
  margin: 34px 0; padding: 22px 28px;
  border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0;
  background: var(--paper-2); font-family: var(--font-display); font-size: 19px; font-style: italic; color: var(--ink-2);
}
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.article-hero-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); margin: 34px 0; }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 36px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-row .s-label { font-weight: 700; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--body); }
.share-row a, .share-row button {
  font-size: 14px; font-weight: 700; text-decoration: none;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--ink-2); background: #fff;
  cursor: pointer; transition: all 0.2s;
}
.share-row a:hover, .share-row button:hover { border-color: var(--green); color: var(--green); }

/* ---------- Contact cards ---------- */

.contact-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid rgba(228, 213, 180, 0.7); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.contact-card .cc-icon {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 21px;
  background: var(--paper-2); color: var(--ink);
}
.contact-card h3 { font-size: 17px; margin: 0 0 4px; font-family: var(--font-body); font-weight: 700; }
.contact-card p { margin: 0; font-size: 15px; }
.contact-card a { font-weight: 700; color: var(--green); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* ---------- Callout ---------- */

.callout {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 28px; font-size: 16px;
}
.callout strong { color: var(--ink); }

/* ---------- Footer ---------- */

.footer { background: var(--ink); color: var(--muted-dark); }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding: 72px 0 52px; }
.f-brand p { font-size: 15px; }
.f-brand .logo { margin-bottom: 18px; }
.f-col h4 { color: var(--cream); font-size: 13.5px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-col a { color: var(--muted-dark); text-decoration: none; font-size: 15px; transition: color 0.2s; }
.f-col a:hover { color: var(--gold); }
.f-col .f-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.f-col .f-contact li::before { content: "★"; color: var(--gold); font-size: 11px; margin-top: 5px; }
.f-bottom { border-top: 1px solid var(--line-dark); padding: 26px 0 30px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; font-size: 13.5px; }
.f-bottom a { color: var(--muted-dark); }

/* ---------- Floating buttons ---------- */

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(4, 120, 55, 0.55);
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.to-top {
  position: fixed; left: 22px; bottom: 22px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--gold); border: 0; cursor: pointer;
  font-size: 18px; opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: var(--shadow-md);
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- Reveal animations ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */

.nf { text-align: center; padding: 120px 24px; }
.nf .nf-num { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 10rem); color: var(--gold-deep); line-height: 1; }

/* ---------- Related reading mesh ---------- */
.related-posts { margin: 2.2rem 0 0; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--cream, #FFF8EC); }
.related-posts h2 { font-size: 1.15rem; margin: 0 0 .5rem; font-family: var(--font-display); }
.related-posts ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.related-posts a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); }
.related-posts a:hover { color: var(--red); border-bottom-color: var(--red); }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev { grid-template-columns: 1fr; gap: 44px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 22px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .nav-links, .nav-right .btn { display: none; }
  .burger { display: block; }
  body { padding-top: 70px; }
  .hero { min-height: calc(100svh - 70px); }
}

@media (max-width: 640px) {
  .section { padding: 66px 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .mosaic a:nth-child(6) { grid-column: span 2; }
  .f-grid { grid-template-columns: 1fr; gap: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .hero-content { padding-bottom: 58px; }
  .cta-inner { padding: 76px 0; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::after { animation: none; display: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Print ---------- */

@media print {
  .nav, .wa-float, .to-top, .mobile-menu, .marquee, .scroll-cue { display: none !important; }
  body { padding-top: 0; background: #fff; }
}


/* ============================================================
   HOPE FOR GHANA KIDS — "WOW" OVERHAUL LAYER  (added 2026-10-14)
   Appended after base styles. Elevates the design system without
   changing markup. Brand kept: Ghana red/gold/green, Fraunces+Karla.
   ============================================================ */
:root{
  --paper-lite:#FFFBF1; --paper-glow:#FAEFD4; --ink-warm:#15110D;
  --gold-bright:#FFDA2E; --gold-soft:#F6C945;
  --kente:repeating-linear-gradient(90deg,var(--green) 0 10px,var(--gold) 10px 20px,var(--red) 20px 30px,var(--ink) 30px 32px);
  --shadow-sm:0 2px 6px -2px rgba(40,26,8,.14),0 10px 22px -14px rgba(40,26,8,.22);
  --shadow-md:0 6px 16px -8px rgba(40,26,8,.20),0 24px 50px -24px rgba(40,26,8,.28);
  --shadow-lg:0 10px 26px -10px rgba(40,26,8,.26),0 44px 80px -30px rgba(40,26,8,.42);
  --radius:20px;
}
body{background:
  radial-gradient(1200px 820px at 12% -8%,var(--paper-lite) 0%,rgba(255,251,241,0) 58%),
  radial-gradient(1100px 760px at 108% -4%,var(--paper-glow) 0%,rgba(250,239,212,0) 52%),
  var(--paper);}
h1,h2,h3,.stat-num,.tier-amount,.hero h1,.story-quote,.big-statement{font-variation-settings:"opsz" 144,"SOFT" 0,"WONK" 0;}
h1,h2,.hero h1{letter-spacing:-.018em;}
.eyebrow{font-size:12px;letter-spacing:.26em;font-weight:800;padding:7px 0 0;margin-bottom:16px;position:relative;}
.eyebrow::before{content:"\2605";font-size:11px;}
.eyebrow::after{content:"";display:inline-block;width:26px;height:2px;margin-left:4px;background:linear-gradient(90deg,var(--gold-deep),transparent);vertical-align:middle;}
.btn{font-weight:800;letter-spacing:.01em;border-radius:999px;}
.btn-gold{background:linear-gradient(180deg,var(--gold-bright),var(--gold) 70%);color:var(--ink-warm);box-shadow:0 1px 0 rgba(255,255,255,.5) inset,var(--shadow-sm);}
.btn-gold:hover{background:linear-gradient(180deg,#ffe25a,var(--gold-soft) 72%);color:var(--ink-warm);}
.btn-red{background:linear-gradient(180deg,#e01b30,var(--red) 72%);}
.btn-red:hover{background:linear-gradient(180deg,var(--red),var(--red-deep) 80%);}
.btn-green{background:linear-gradient(180deg,#0a7e45,var(--green) 72%);}
.btn:focus-visible{outline:3px solid var(--ink);outline-offset:3px;}
.hero{min-height:calc(100svh - 74px);}
.hero-scrim{background:
  radial-gradient(130% 90% at 72% 18%,rgba(23,19,16,0) 0%,rgba(23,19,16,.28) 60%,rgba(23,19,16,.72) 100%),
  linear-gradient(183deg,rgba(23,19,16,.38) 0%,rgba(23,19,16,0) 30%,rgba(10,30,18,.55) 72%,rgba(12,8,5,.92) 100%),
  linear-gradient(80deg,rgba(10,8,5,.74) 0%,rgba(23,19,16,.30) 42%,rgba(23,19,16,0) 72%);}
.hero::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(206,17,38,.10),rgba(252,209,22,.05) 48%,rgba(4,106,56,.12));mix-blend-mode:soft-light;}
.hero::after{content:"";position:absolute;left:0;right:0;top:0;height:4px;z-index:3;background:linear-gradient(90deg,var(--red) 0 33.33%,var(--gold) 33.33% 66.66%,var(--green) 66.66%);opacity:.9;}
.hero-inner{max-width:800px;}
.hero h1{font-size:clamp(2.75rem,6.6vw,5.2rem);line-height:1.02;letter-spacing:-.022em;margin-bottom:22px;text-shadow:0 2px 40px rgba(0,0,0,.45);}
.hero h1 .hl{color:var(--gold-bright);font-style:italic;}
.hero-sub{font-size:clamp(1.05rem,1.7vw,1.28rem);max-width:600px;line-height:1.65;}
.hero-cta-row{gap:16px;margin-bottom:34px;}
.hero-trust{gap:10px 14px;padding:16px 20px;border-radius:16px;background:rgba(14,11,8,.42);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(251,244,230,.16);width:fit-content;max-width:100%;}
.hero-trust span{font-size:13.5px;}
.hero-trust span:not(:last-child)::after{content:"";width:1px;height:14px;margin-left:14px;background:rgba(251,244,230,.26);display:inline-block;}
@keyframes heroRise{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
.hero .eyebrow,.hero h1,.hero-sub,.hero-cta-row,.hero-trust{animation:heroRise .9s var(--ease) both;}
.hero h1{animation-delay:.08s} .hero-sub{animation-delay:.22s} .hero-cta-row{animation-delay:.34s} .hero-trust{animation-delay:.46s}
.scroll-cue{animation:heroRise 1s var(--ease) .7s both;}
.section{padding:clamp(60px,8vw,108px) 0;}
.sec-head h2{font-size:clamp(2.1rem,4.8vw,3.5rem);line-height:1.04;}
.star-divider::before,.star-divider::after{height:3px;width:40px;border-radius:2px;opacity:1;background:var(--kente);background-size:32px 100%;}
.card,.post-card{border-radius:var(--radius);border:1px solid rgba(214,193,150,.7);background:linear-gradient(180deg,#fff,#fffdf7);box-shadow:var(--shadow-sm);}
.card:hover,.post-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-8px);}
.card-title{letter-spacing:-.01em;}
.chip{font-size:11.5px;letter-spacing:.16em;font-weight:800;padding:6px 13px;border-radius:8px;}
.link-arrow{gap:9px;} .link-arrow::after{content:"\2192";font-weight:700;} .link-arrow:hover{color:var(--red-deep);}
.stats{position:relative;}
.stats::before{content:"\2605";position:absolute;left:-40px;top:-60px;font-size:260px;line-height:1;color:rgba(252,209,22,.05);pointer-events:none;}
.stat-num{font-size:clamp(2.8rem,5vw,4rem);color:var(--gold-bright);letter-spacing:-.02em;}
.photo-frame img{border-radius:var(--radius);} .photo-frame::after{border-color:var(--gold);border-width:2px;border-radius:var(--radius);}
.nav{background:rgba(251,244,230,.86);} .nav.scrolled{background:rgba(251,244,230,.95);box-shadow:0 10px 34px -16px rgba(40,26,8,.26);}
.cta-scrim{background:linear-gradient(100deg,rgba(3,81,43,.94) 14%,rgba(23,19,16,.86) 90%);}
.cta-inner h2{font-size:clamp(2.3rem,5.2vw,3.7rem);}
.footer{background:linear-gradient(180deg,#1b1611,var(--ink));}
.stats,.band-partners,.page-head,.cta-band{overflow:hidden;}
@media(max-width:640px){
  .hero-trust{flex-direction:column;align-items:flex-start;gap:10px;width:100%;}
  .hero-trust span:not(:last-child)::after{display:none;}
  .stats::before{font-size:180px;left:-30px;}
}
@media(max-width:480px){
  body{font-size:16px;}
  .hero h1{font-size:clamp(2.2rem,8.6vw,2.9rem);}
  .hero-content{padding-left:20px;padding-right:20px;padding-bottom:52px;}
  .hero-sub{font-size:1rem;}
  .hero-cta-row{flex-direction:column;align-items:stretch;}
  .hero-cta-row .btn{width:100%;}
  .stats-grid{gap:28px 18px;padding:48px 0;}
  .stat-num{font-size:clamp(2.4rem,11vw,3rem);}
  .container{padding:0 20px;}
  .logo-text{font-size:17px;} .logo-text small{font-size:8.5px;letter-spacing:.24em;}
  .btn{padding:14px 24px;}
}
@media(max-width:380px){
  .hero h1{font-size:2.05rem;}
  .logo-mark{width:36px;height:36px;font-size:18px;}
  .logo-text small{display:none;}
  .stats-grid{grid-template-columns:1fr;}
  .container{padding:0 16px;}
}
.burger,.mm-close,.slider-btn,.lb-x,.lb-prev,.lb-next{min-width:44px;min-height:44px;}
@media(prefers-reduced-motion:reduce){
  .hero .eyebrow,.hero h1,.hero-sub,.hero-cta-row,.hero-trust,.scroll-cue{animation:none;}
}


/* ============================================================
   MOBILE FIXES  (added 2026-10-15)
   Visibility + overlap corrections over the overhaul layer.
   ============================================================ */
/* Hero: transform-only entrance so headline/CTA are NEVER hidden
   by a stalled or throttled fade-in. */
@keyframes heroRise{from{opacity:1;transform:translateY(20px)}to{opacity:1;transform:none}}
.hero .eyebrow,.hero h1,.hero-sub,.hero-cta-row,.hero-trust{opacity:1;}
/* Mobile menu: scrolls, fits short screens, and sits ABOVE the
   floating buttons so nothing covers it. */
.mobile-menu{z-index:100;overflow-y:auto;-webkit-overflow-scrolling:touch;}
.mm-links{margin:18px 0;}
@media(max-width:860px){
  .mm-links a{font-size:30px;padding:11px 0;}
  .to-top{display:none!important;}  /* was covering left-side text/links on phones */
}
@media(max-width:480px){
  .mm-links a{font-size:26px;padding:9px 0;}
}
@media(max-height:760px){
  .mm-top{margin-bottom:4px;}
  .mm-links{margin:8px 0;}
  .mm-links a{font-size:22px;padding:6px 0;}
  .mm-cta{margin-bottom:14px;}
}
/* Footer bottom row: wrap cleanly on phones, never clip. */
@media(max-width:640px){
  .f-bottom{justify-content:flex-start;gap:8px 14px;}
}
