/* =========================================================
   BetterLife International — public site stylesheet
   Palette: forest green (primary) + sky/ocean blue (secondary)
   ========================================================= */

:root {
  --green-900: #0b3d2e;
  --green-800: #0f4a37;
  --green-700: #16593f;
  --green-600: #1f7a52;
  --green-500: #2f9463;
  --green-400: #4bb37e;
  --green-100: #e6f3ec;

  --blue-900: #0a3d52;
  --blue-700: #0e6788;
  --blue-600: #1583ab;
  --blue-500: #29a3cf;
  --blue-100: #e5f5fb;

  --cream: #f7f6ef;
  --white: #ffffff;
  --ink: #16241d;
  --ink-soft: #4a5a51;
  --border: #e4e3d8;

  --terracotta: #c9682f;
  --terracotta-dark: #a9531f;
  --ochre: #d99a2b;
  --hero-cream: #faf6ef;

  /* Hero artwork palette (matches the reference collage design) */
  --hero-bg: #f7f4ef;
  --hero-charcoal: #1a1a1a;
  --hero-gray: #5a5a5a;
  --hero-gold: #f5a623;
  --hero-orange: #f26b21;
  --hero-red: #e63946;
  --hero-green: #7cb342;
  --hero-blue: #2e9bd6;
  --hero-map-edge: #ede8df;
  --hero-terracotta: #c98a5e;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(11, 61, 46, 0.10);
  --shadow-lg: 0 20px 50px rgba(11, 61, 46, 0.16);

  --font-head: 'Fraunces', 'Georgia', serif;

  /* Type scale (whole site) */
  --fs-display: clamp(32px, 3.9vw, 52px);
  --fs-h2: clamp(26px, 2.65vw, 36px);
  --fs-h2-feature: clamp(28px, 3vw, 42px);
  --fs-quote: clamp(21px, 2.1vw, 28px);
  --font-body: 'Inter', sans-serif;
  --font-serif: 'Fraunces', 'Georgia', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--green-900);
  line-height: 1.25;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: var(--fs-display); }
h2 { font-size: clamp(22px, 2.2vw, 28px); }
h3 { font-size: 19px; }
h4 { font-size: 16px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

section { padding: 76px 0; }
@media (max-width: 768px) { section { padding: 52px 0; } }

.section-cream { background: var(--cream); }
.section-dark {
  background: linear-gradient(160deg, var(--green-900), var(--green-700));
  color: #eaf3ee;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .section-kicker { color: var(--green-400); }
.section-dark .muted { color: #cfe3d8; }

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--green-500);
  display: inline-block;
}

.section-head { max-width: 620px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { font-size: 15px; }
.muted { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-600); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-700); }
.btn-accent { background: var(--blue-600); color: #fff; box-shadow: var(--shadow); }
.btn-accent:hover { background: var(--blue-700); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-dark { background: transparent; border-color: var(--green-600); color: var(--green-700); }
.btn-outline-dark:hover { background: var(--green-600); color: #fff; }
.btn-white { background: #fff; color: var(--green-800); }
.btn-white:hover { background: var(--green-100); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header (institutional, three bands) ----------
   1. .topbar       slim navy utility strip: contact, social, shop, cart
   2. .site-header  white masthead: logo, tagline, primary call to action
   3. .nav-bar      full-width menu band, sticky on desktop
   Below 981px the topbar hides, the masthead becomes the sticky bar and
   .main-nav turns into an off-canvas panel. Every label is nowrap so no
   item ever breaks onto two lines or collides with its neighbour. */
.topbar { background: var(--blue-900); color: rgba(255,255,255,.82); font-size: 13px; line-height: 1; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: inherit; white-space: nowrap; transition: color .15s ease; }
.topbar a:hover { color: #fff; }
.topbar-contact, .topbar-links { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar-social { display: flex; align-items: center; gap: 14px; padding-right: 22px; border-right: 1px solid rgba(255,255,255,.18); }
.topbar-shop { font-weight: 600; color: var(--hero-gold) !important; }
.topbar .cart-link { color: #fff; }
.topbar .cart-count { top: -7px; right: -10px; background: var(--hero-gold); color: var(--hero-charcoal); }

.site-header { position: relative; z-index: 210; background: #fff; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; min-width: 0; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }
.brand-tagline {
  margin-left: 20px; padding-left: 20px; border-left: 1px solid var(--border);
  font-family: var(--font-serif); font-style: italic; font-size: 15px; line-height: 1.35;
  color: var(--ink-soft); max-width: 230px;
}
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; margin-right: -6px; color: var(--green-900); line-height: 0; }
.mobile-cart { display: none; }
.header-actions .header-give { display: none; }   /* phones and tablets: a short Give beside the menu (the full button is hidden there) */

.btn-pill-accent {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px;
  background: var(--hero-gold); color: var(--hero-charcoal); font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: .05em; line-height: 1; white-space: nowrap;
  transition: background .15s ease;
}
.btn-pill-accent:hover { background: #e0951c; }

.cart-link { position: relative; display: inline-flex; color: var(--green-900); }
.cart-count {
  position: absolute; top: -8px; right: -9px; background: var(--blue-600); color: #fff;
  font-size: 10px; font-weight: 800; min-width: 17px; height: 17px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px; line-height: 1;
}

.nav-bar {
  position: sticky; top: 0; z-index: 200; background: #fff;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.nav-bar.scrolled { box-shadow: 0 6px 20px rgba(10,61,82,.10); }
/* Negative margin lines the first label's text up with the logo's left edge. */
.main-nav { display: flex; align-items: stretch; height: 54px; margin-left: -18px; }
.main-nav > a, .nav-dropdown-toggle {
  position: relative; display: flex; align-items: center; gap: 6px; padding: 0 18px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 700; line-height: 1;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--ink);
  background: none; border: none; cursor: pointer; transition: color .15s ease, background .15s ease;
}
.main-nav > a::after, .nav-dropdown-toggle::after {
  content: ''; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px;
  background: var(--blue-600); transform: scaleX(0); transition: transform .2s ease;
}
.main-nav > a:hover, .nav-dropdown-toggle:hover, .nav-dropdown.open .nav-dropdown-toggle { color: var(--blue-700); background: #f4f8fa; }
.main-nav > a:hover::after, .nav-dropdown-toggle:hover::after { transform: scaleX(1); }
.main-nav > a.active, .nav-dropdown.active .nav-dropdown-toggle { color: var(--blue-700); }
.main-nav > a.active::after, .nav-dropdown.active .nav-dropdown-toggle::after { transform: scaleX(1); }
.nav-dropdown-toggle svg { transition: transform .2s ease; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.main-nav-head, .main-nav-foot { display: none; }

/* Dropdown ("Our Work") */
.nav-dropdown { position: relative; display: flex; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; margin-top: 1px;
  background: #fff; border-top: 3px solid var(--blue-600); border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow-lg); padding: 8px; min-width: 250px;
  display: none; flex-direction: column; gap: 2px; z-index: 50;
}
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 6px;
  font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.nav-dropdown-menu a svg { color: var(--blue-600); flex-shrink: 0; }
.nav-dropdown-menu a:hover { background: var(--blue-100); color: var(--blue-900); }
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
@media (min-width: 981px) {
  .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: flex; }
}

@media (max-width: 1100px) {
  .brand-tagline { display: none; }
  .main-nav > a, .nav-dropdown-toggle { padding: 0 14px; font-size: 13px; letter-spacing: .04em; }
  .main-nav > a::after, .nav-dropdown-toggle::after { left: 14px; right: 14px; }
  .main-nav { margin-left: -14px; }
  .topbar-contact a:nth-child(2) { display: none; } /* email; phone stays */
}

@media (max-width: 980px) {
  .topbar { display: none; }
  .site-header { position: sticky; top: 0; border-bottom: 1px solid var(--border); transition: box-shadow .2s ease; }
  .site-header.scrolled { box-shadow: 0 6px 20px rgba(10,61,82,.10); }
  .site-header .container { padding-top: 12px; padding-bottom: 12px; }
  .brand img { height: 44px; }
  .header-cta { display: none; }
  .mobile-cart { display: inline-flex; }
  .header-actions .header-give { display: inline-flex; padding: 9px 14px; font-size: 12px; gap: 6px; }
  .nav-toggle { display: block; }

  .nav-bar { position: static; border: 0; background: none; }
  .main-nav {
    position: fixed; top: 0; right: 0; z-index: 400; margin: 0;
    height: 100vh; height: 100dvh; width: min(340px, 88%);
    flex-direction: column; align-items: stretch; padding: 0 22px 28px;
    background: #fff; box-shadow: -20px 0 40px rgba(0,0,0,.15);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateX(105%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; transition: transform .3s ease; }
  .main-nav-head {
    display: flex; align-items: center; justify-content: space-between; padding: 16px 0;
    border-bottom: 3px solid var(--blue-600); margin-bottom: 4px;
    font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  }
  .nav-close { background: none; border: none; cursor: pointer; padding: 6px; margin-right: -6px; color: var(--green-900); line-height: 0; }
  .main-nav > a, .nav-dropdown-toggle { padding: 15px 0; font-size: 14px; border-bottom: 1px solid var(--border); }
  .main-nav > a::after, .nav-dropdown-toggle::after { display: none; }
  .main-nav > a:hover, .nav-dropdown-toggle:hover, .nav-dropdown.open .nav-dropdown-toggle { background: none; }
  .nav-dropdown { flex-direction: column; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .nav-dropdown-menu {
    position: static; margin: 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0;
    box-shadow: none; padding: 6px 0 10px 10px; min-width: 0;
  }
  .main-nav-foot { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
  .main-nav-foot .btn-pill-accent, .main-nav-foot .btn { justify-content: center; padding: 13px 20px; }
  .main-nav-contact { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
  .main-nav-contact svg { color: var(--green-700); }
  .nav-backdrop { position: fixed; inset: 0; z-index: 390; background: rgba(10,30,25,.45); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 400px) { .brand img { height: 38px; } }

/* ---------- Hero (split layout: copy left, Africa photo artwork right) ---------- */
.feature-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); font-size: 12.5px; font-weight: 600; color: #f2f5f2;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pill.pill-active { background: var(--green-600); border-color: var(--green-600); color: #fff; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-split {
  position: relative; overflow: hidden; min-height: 90vh;
  display: flex; align-items: center; padding: 150px 0 60px;
  background-color: var(--hero-bg);
  background-image: radial-gradient(rgba(22,36,29,.06) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
}
.hero-split-inner {
  display: grid; grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  align-items: center; gap: 40px; position: relative; z-index: 2; width: 100%;
}
@media (max-width: 980px) {
  .hero-split-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-split { padding: 130px 0 56px; min-height: 0; }
  .hero-copy p.lead { margin-left: auto; margin-right: auto; }
  .hero-reach, .hero-actions { justify-content: center; }
}

.hero-copy .hero-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1.5px solid var(--hero-map-edge);
  padding: 8px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--hero-gray);
  margin-bottom: 24px; opacity: 0; animation: heroFadeUp .7s ease .1s forwards;
}
.hero-copy .hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hero-orange); }
.hero-copy h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(36px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -.01em;
  margin-bottom: 22px; color: var(--hero-charcoal);
  opacity: 0; animation: heroFadeUp .7s ease .2s forwards;
}
.hero-copy h1 .highlight { position: relative; white-space: nowrap; }
.hero-copy h1 .highlight::after {
  content: ''; position: absolute; left: -3%; right: -3%; bottom: 0.06em; height: .34em;
  background: var(--hero-gold); z-index: -1; transform: rotate(-1deg);
}
.hero-copy p.lead {
  font-size: 16px; color: var(--hero-gray); max-width: 440px; margin-bottom: 26px;
  opacity: 0; animation: heroFadeUp .7s ease .3s forwards;
}

.hero-reach {
  display: flex; align-items: center; gap: 12px; margin-bottom: 32px;
  font-size: 14.5px; color: var(--hero-gray); font-weight: 600;
  opacity: 0; animation: heroFadeUp .7s ease .35s forwards;
}
.hero-reach strong { font-family: var(--font-head); font-size: 21px; color: var(--hero-orange); font-weight: 600; }

.hero-actions { opacity: 0; animation: heroFadeUp .7s ease .4s forwards; }

.hero-features {
  display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px;
  opacity: 0; animation: heroFadeUp .7s ease .45s forwards;
}
@media (max-width: 980px) { .hero-features { justify-content: center; } }
.hero-feature { display: flex; align-items: center; gap: 10px; }
.hero-feature .icon-badge {
  width: 40px; height: 40px; border-radius: 12px; background: var(--green-100); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-feature span { font-size: 13.5px; font-weight: 700; color: var(--hero-charcoal); line-height: 1.25; }

@keyframes heroFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-copy .hero-kicker, .hero-copy h1, .hero-copy p.lead, .hero-reach, .hero-actions, .hero-art { animation: none !important; opacity: 1 !important; }
}

/* Primary hero CTA: solid charcoal pill, uppercase, letter-spaced, with a
   round icon badge — matches the reference's "DONATE NOW"-style button. */
.btn-hero-cta {
  background: var(--hero-charcoal); color: #fff; box-shadow: 0 14px 30px rgba(26,26,26,.25);
  padding: 15px 10px 15px 26px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; font-size: 13px;
}
.btn-hero-cta:hover { background: #000; }
.btn-hero-cta .cta-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--hero-gold); color: var(--hero-charcoal);
}

.btn-ghost-dark {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px;
  border: 1.5px solid rgba(26,26,26,.18); color: var(--hero-charcoal); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .04em;
}
.btn-ghost-dark:hover { background: rgba(26,26,26,.05); }
.btn-ghost-dark .play-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--hero-charcoal); color: #fff; font-size: 10px;
}

/* Artwork: Africa-shaped photo mask with three layered portraits (a soft,
   blurred back layer; a mid layer; a sharp front layer that bleeds past
   the continent's edge on the right), scattered accent dots that float
   gently, and a soft blurred "torn paper" edge behind the crisp clip. */
.hero-art {
  position: relative; max-width: 760px; width: 100%; margin: 0 auto; aspect-ratio: 600 / 760;
  opacity: 0; transform: scale(.96); animation: heroArtIn .9s ease .25s forwards;
}
@keyframes heroArtIn { to { opacity: 1; transform: scale(1); } }

.hero-art-dots { position: absolute; inset: -34px; z-index: 1; pointer-events: none; }
.accent-dot { position: absolute; border-radius: 50%; animation: dotFloat 4s ease-in-out infinite; }
.accent-dot.d-orange { background: var(--hero-orange); }
.accent-dot.d-red    { background: var(--hero-red); }
.accent-dot.d-green  { background: var(--hero-green); }
.accent-dot.d-blue   { background: var(--hero-blue); }
.accent-dot.d-yellow { background: var(--hero-gold); }
@keyframes dotFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.africa-art { position: relative; z-index: 2; width: 100%; height: 100%; display: block; }
.africa-art .africa-fill { fill: var(--hero-terracotta); }
.africa-art .africa-dash { fill: none; stroke: var(--hero-charcoal); stroke-width: 1.5; stroke-dasharray: 5 6; opacity: .35; }

/* A single real photo breaks over the map's upper-right edge, and a
   floating stat card sits lower-right — the simpler composition from the
   reference, in place of the earlier full photo-collage treatment. */
.hero-photo-overlap {
  position: absolute; z-index: 3; top: 2%; right: 6%; width: 46%; aspect-ratio: 3/4;
  border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px rgba(26,26,26,.25);
}
.hero-photo-overlap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .5s ease; }

.hero-stat-card {
  position: absolute; z-index: 4; bottom: 8%; right: -4%;
  background: #fff; border-radius: 18px; padding: 18px 22px; box-shadow: 0 18px 40px rgba(26,26,26,.16);
  display: flex; flex-direction: column; gap: 2px; min-width: 128px;
}
.hero-stat-card strong { font-family: var(--font-head); font-size: 30px; font-weight: 600; color: var(--hero-charcoal); }
.hero-stat-card span { font-size: 12px; color: var(--hero-gray); font-weight: 600; line-height: 1.3; }

@media (max-width: 640px) {
  .hero-split { padding: 118px 0 50px; }
  .hero-copy p.lead { max-width: none; }
  .hero-art { max-width: 420px; }
  .hero-stat-card { padding: 14px 18px; min-width: 104px; }
  .hero-stat-card strong { font-size: 24px; }
}

/* ---------- Breadcrumb / page header ---------- */
.page-header {
  background: linear-gradient(120deg, var(--green-900), var(--green-700) 60%, var(--blue-700));
  color: #fff;
  padding: 54px 0 46px;
  position: relative;
}
.page-header h1 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.page-header .crumb { font-size: 13.5px; color: #cfe3d8; }
.page-header .crumb a { color: #fff; font-weight: 600; }
.page-header .crumb span { opacity: .7; margin: 0 6px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 30px; }
.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-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid var(--border);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Program cards */
.program-card { display: flex; flex-direction: column; height: 100%; }
.program-card .thumb { height: 200px; overflow: hidden; position: relative; }
.program-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.program-card .thumb::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .2; background: linear-gradient(160deg, var(--green-700), transparent 65%); }
.program-card:hover .thumb img { transform: scale(1.08); }
.program-card .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.program-card .icon-badge { width: 46px; height: 46px; border-radius: 12px; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.program-card .tagline { color: var(--blue-600); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.program-card h3 { font-size: 20px; margin-bottom: 10px; }
.program-card .more { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--green-700); display: inline-flex; align-items: center; gap: 6px; }

/* Local Impact section (neat stat cards + real photos, replaces heavy dark stat band) */
.impact-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 30px; }
@media (max-width: 900px) { .impact-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .impact-stats { grid-template-columns: repeat(2, 1fr); } }
.stat-item {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 14px;
  text-align: center; box-shadow: var(--shadow);
}
.stat-item strong { font-family: var(--font-head); font-weight: 600; font-size: 24px; display: block; color: var(--green-700); }
.stat-item span { font-size: 11.5px; color: var(--ink-soft); font-weight: 600; }

/* ---------- "What have we done with your help?" photo collage ---------- */
.done-section { padding: 70px 0; }
.done-grid { display: grid; grid-template-columns: minmax(0,46%) minmax(0,54%); gap: 56px; align-items: center; }
@media (max-width: 900px) { .done-grid { grid-template-columns: 1fr; gap: 40px; } }
.done-section h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.done-section h2 em { font-family: var(--font-serif); font-style: italic; color: var(--hero-orange); font-weight: 500; }
.done-section .btn-hero-cta { margin-top: 6px; }

.done-collage { position: relative; aspect-ratio: 5/5.4; }
.dc-item { position: absolute; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.dc-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dc-1 { width: 58%; height: 62%; top: 0; left: 0; }
.dc-2 { width: 44%; height: 40%; top: 4%; right: 0; }
.dc-3 { width: 50%; height: 42%; bottom: 0; right: 4%; border: 6px solid #fff; }
@media (max-width: 640px) { .done-collage { aspect-ratio: 4/3.6; } }

/* ---------- "Learn the stories of those we've already helped" ---------- */
.stories-section h2 em { font-family: var(--font-serif); font-style: italic; color: var(--hero-orange); font-weight: 500; }
.stories-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 36px; }
@media (max-width: 700px) { .stories-row { grid-template-columns: 1fr; } }
.story-card { display: block; }
.story-photo { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--shadow); margin-bottom: 16px; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.story-card:hover .story-photo img { transform: scale(1.06); }
.story-card h4 { font-size: 16.5px; margin-bottom: 4px; color: var(--ink); }
.story-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- "We are always where others need help" stats + map ---------- */
.reach-section { padding: 76px 0; background: var(--green-900); color: #fff; }
.reach-section .eyebrow { color: var(--hero-gold); }
.reach-section h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 30px; max-width: 420px; }
.reach-grid { display: grid; grid-template-columns: minmax(0,48%) minmax(0,52%); gap: 40px; align-items: center; }
@media (max-width: 900px) { .reach-grid { grid-template-columns: 1fr; } }
.reach-stats { display: flex; gap: 34px; margin-bottom: 30px; flex-wrap: wrap; }
.reach-stat strong { display: block; font-family: var(--font-head); font-size: 32px; font-weight: 600; color: var(--hero-gold); }
.reach-stat span { font-size: 13px; color: #cfe3d8; font-weight: 600; }
.reach-map { max-width: 420px; margin: 0 auto; }
.reach-map svg { width: 100%; height: auto; display: block; }
.reach-map-fill { fill: var(--hero-orange); opacity: .92; }
.reach-pin circle { fill: #fff; stroke: var(--green-900); stroke-width: 3; }
.reach-pin text { fill: #fff; font-size: 22px; font-weight: 700; text-anchor: middle; font-family: var(--font-body, sans-serif); }

/* ---------- Dark CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: 76px 0; }
.cta-band-photo { position: absolute; inset: 0; z-index: 0; }
.cta-band-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-band-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(9,40,29,.92), rgba(9,40,29,.7)); }
.cta-band-inner { position: relative; z-index: 1; max-width: 640px; }
.cta-band-inner h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 26px; }
.btn-ghost-light {
  display: inline-flex; align-items: center; padding: 15px 26px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.4); color: #fff; font-weight: 700; font-size: 14px;
}
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }

.impact-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .impact-photos { grid-template-columns: 1fr 1fr; } }
.impact-photo { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.impact-photo img { width: 100%; height: 100%; object-fit: cover; }
.impact-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .22; background: linear-gradient(160deg, var(--green-700), transparent 70%); }
.impact-photo .cap {
  position: absolute; bottom: 12px; left: 12px; background: rgba(11,61,46,.85); color: #fff;
  font-size: 11.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
}

/* Report cards (Impact & Reports page) */
.report-card { padding: 34px 28px; text-align: center; }
.report-card .report-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-100); color: var(--blue-700); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.report-card .report-logo { width: 36px; height: 36px; object-fit: contain; margin: 0 auto 10px; }
.report-card h3 { font-size: 17px; margin-bottom: 10px; }

/* Project cards */
.project-card .thumb { height: 200px; overflow: hidden; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .thumb img { transform: scale(1.08); }
.project-card .body { padding: 24px; }
.project-card h3 { font-size: 18px; margin: 8px 0 8px; }

/* Product cards */
.product-card { position: relative; }
.product-card .thumb { height: 240px; overflow: hidden; position: relative; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .thumb img { transform: scale(1.08); }
.product-card .badge-cat {
  position: absolute; top: 14px; left: 14px; background: var(--blue-600); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: 6px 12px; border-radius: 999px;
}
.product-card .badge-featured {
  position: absolute; top: 14px; right: 14px; background: var(--green-500); color: #fff;
  font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}
.product-card .body { padding: 22px; }
.product-card h3 { font-size: 19px; margin-bottom: 6px; }
.product-card .price { color: var(--green-700); font-weight: 800; font-size: 17px; margin: 10px 0; }
.product-card .price small { color: var(--ink-soft); font-weight: 500; font-size: 12px; }
.price-usd { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.price .price-usd { font-size: 13px; }
p.price-usd { margin: 6px 0 0; }
.product-card .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }

.pill-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.pill-tabs a { padding: 10px 22px; border-radius: 999px; border: 2px solid var(--border); font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.pill-tabs a.active, .pill-tabs a:hover { background: var(--green-600); border-color: var(--green-600); color: #fff; }

/* Journey (Our Journey timeline, paired with a photo) */
.journey-list { margin-top: 10px; }
.journey-row { display: flex; gap: 18px; align-items: flex-start; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.journey-row:last-child { border-bottom: none; }
.journey-row .year { font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--blue-600); flex-shrink: 0; width: 54px; }
.journey-row p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* Values */
.value-card { padding: 30px 26px; }
.value-card .num { font-family: var(--font-body); font-size: 15px; color: var(--blue-500); font-weight: 800; margin-bottom: 12px; letter-spacing: .06em; }
.value-card h4 { font-size: 19px; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* Testimonials */
.testimonial-card { padding: 34px; position: relative; }
.testimonial-card .quote-mark { font-family: Georgia, serif; font-size: 60px; color: var(--green-100); line-height: .5; position: absolute; top: 22px; right: 26px; }
.testimonial-card p.quote { font-size: 16px; color: var(--ink); font-style: italic; margin-bottom: 22px; }
.testimonial-card .who { display: flex; align-items: center; gap: 12px; }
.testimonial-card .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-card .who strong { display: block; font-size: 14px; }
.testimonial-card .who span { font-size: 12px; color: var(--ink-soft); }

/* Blog */
.post-card .thumb { height: 210px; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .thumb img { transform: scale(1.07); }
.post-card .body { padding: 22px; }
.post-card .meta { font-size: 12px; color: var(--ink-soft); display: flex; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.post-card .meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-card .cat-badge { display: inline-block; background: var(--blue-100); color: var(--blue-700); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.post-card h3 { font-size: 19px; margin-bottom: 10px; }
.post-card h3 a:hover { color: var(--green-700); }
.post-card .excerpt { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.post-card .readmore { font-weight: 700; color: var(--green-700); font-size: 14px; }

.blog-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; background: var(--cream); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 60px; }
.blog-featured .img { height: 100%; min-height: 340px; }
.blog-featured .img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured .content { padding: 30px 40px 30px 0; }
@media (max-width: 900px) { .blog-featured { grid-template-columns: 1fr; } .blog-featured .content { padding: 0 28px 32px; } .blog-featured .img { min-height: 240px; } }

.blog-layout { display: grid; grid-template-columns: 2.1fr 1fr; gap: 50px; }
@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; } }
.sidebar-widget { background: var(--cream); border-radius: var(--radius); padding: 26px; margin-bottom: 26px; }
.sidebar-widget h4 { font-size: 16px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.sidebar-post { display: flex; gap: 14px; margin-bottom: 16px; }
.sidebar-post img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.sidebar-post .t { font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.sidebar-post .d { font-size: 11px; color: var(--ink-soft); margin-top: 4px; }
.cat-list a { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; font-weight: 600; border-bottom: 1px dashed var(--border); }
.cat-list a:hover { color: var(--green-700); }
.cat-list a span.count { color: var(--ink-soft); font-weight: 400; }

.post-single .featured-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 34px; max-height: 460px; }
.post-single .featured-image img { width: 100%; object-fit: cover; }
.post-single .post-title { font-size: clamp(24px, 3vw, 34px); }
.post-single .post-meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--ink-soft); font-size: 14px; margin-bottom: 26px; }
.post-single .post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-content { font-size: 17px; color: #2c3a32; }
.post-content p { margin-bottom: 1.3em; }
.share-box { display: flex; align-items: center; gap: 12px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.share-box strong { font-size: 14px; display: inline-flex; align-items: center; gap: 7px; color: var(--green-800); }
.share-box a { width: 38px; height: 38px; border-radius: 50%; background: var(--cream); color: var(--green-800); display: flex; align-items: center; justify-content: center; transition: .2s; }
.share-box a:hover { background: var(--green-600); color: #fff; transform: translateY(-3px); }

/* Search box */
.search-box { display: flex; border-radius: 999px; overflow: hidden; border: 2px solid var(--border); }
.search-box input { border: none; outline: none; padding: 12px 18px; flex: 1; font-size: 14px; }
.search-box button { border: none; background: var(--green-600); color: #fff; padding: 0 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--blue-700), var(--green-700));
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-banner h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.cta-banner p { color: #e2f0e9; margin: 0; }
@media (max-width: 700px) { .cta-banner { padding: 40px 28px; text-align: center; justify-content: center; } }

/* About split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } }
.split .img-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  padding: 12px; background: var(--green-100); max-width: 440px; margin: 0 auto;
}
.split .img-frame.bg-blue { background: var(--blue-100); }
.split .img-frame img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--radius-lg) - 7px); display: block;
}
.split .img-frame::before {
  content: ''; position: absolute; inset: 12px; pointer-events: none; z-index: 1;
  border-radius: calc(var(--radius-lg) - 7px); mix-blend-mode: multiply; opacity: .18;
  background: linear-gradient(160deg, var(--green-700), transparent 70%);
}
.split .img-frame.bg-blue::before { background: linear-gradient(160deg, var(--blue-700), transparent 70%); }
.split .float-card {
  position: absolute; bottom: -20px; right: -20px; background: #fff; border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
}
.split .float-card strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--green-700); }
.split .float-card span { font-size: 11px; color: var(--ink-soft); }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; font-size: 15px; }
.check-list li .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }

.qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 999px; overflow: hidden; }
.qty-stepper .qty-btn { background: var(--cream); border: none; width: 38px; height: 44px; font-size: 18px; cursor: pointer; color: var(--green-800); }
.qty-stepper .qty-btn:hover { background: var(--green-100); }
.qty-stepper input[type=number] { width: 52px; border: none; text-align: center; padding: 0; -moz-appearance: textfield; }
.qty-stepper input[type=number]::-webkit-outer-spin-button, .qty-stepper input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Invoice / Receipt */
.invoice-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; max-width: 720px; margin: 0 auto; box-shadow: var(--shadow); }
.invoice-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 24px; border-bottom: 2px solid var(--border); margin-bottom: 24px; flex-wrap: wrap; }
.invoice-brand { display: flex; align-items: center; gap: 12px; }
.invoice-brand img { height: 42px; }
.invoice-brand strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--green-900); }
.invoice-brand span { font-size: 12px; color: var(--ink-soft); }
.invoice-meta { text-align: right; font-size: 13px; color: var(--ink-soft); }
.invoice-meta h3 { margin-bottom: 6px; }
.badge-invoice { display: inline-block; margin-top: 8px; padding: 5px 14px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.badge-invoice.paid { background: var(--green-100); color: var(--green-800); }
.badge-invoice.pending { background: #fff3da; color: #93670a; }
.badge-invoice.failed { background: #fdeaea; color: #9b2c2c; }
.invoice-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 26px; }
.invoice-parties .label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--blue-600); font-weight: 700; }
.invoice-parties p { font-size: 14px; margin: 4px 0 12px; }
.invoice-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.invoice-table th { text-align: left; font-size: 11px; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.invoice-table td { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.invoice-totals { margin-left: auto; max-width: 260px; }
.invoice-totals div { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; }
.invoice-totals .grand { border-top: 2px solid var(--border); margin-top: 6px; padding-top: 12px; font-size: 18px; }
.invoice-totals .grand strong { color: var(--green-700); }
.invoice-footer { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--border); font-size: 12.5px; color: var(--ink-soft); }
@media print {
  .topbar, .site-header, .nav-bar, .site-footer, .back-to-top, .page-header, .btn { display: none !important; }
  .invoice-box { box-shadow: none; border: none; }
}
@media (max-width: 600px) { .invoice-box { padding: 24px; } .invoice-parties { grid-template-columns: 1fr; } .invoice-meta { text-align: left; } }

/* Cart */
.cart-table { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.cart-row {
  display: grid; grid-template-columns: 70px 1fr auto auto auto; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px;
}
.cart-row img { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; }
.cart-row-info h4 { font-size: 15px; margin-bottom: 4px; }
.cart-qty-form { display: flex; gap: 8px; align-items: center; }
.cart-qty-form input[type=number] { width: 64px; padding: 8px; text-align: center; }
.cart-row-total { font-weight: 800; color: var(--green-700); white-space: nowrap; }
.cart-remove { background: none; border: none; color: var(--ink-soft); cursor: pointer; padding: 6px; }
.cart-remove:hover { color: #c0392b; }
@media (max-width: 700px) { .cart-row { grid-template-columns: 60px 1fr; grid-template-areas: "img info" "qty qty" "total remove"; } .cart-row img { grid-area: img; } .cart-row-info { grid-area: info; } .cart-qty-form { grid-area: qty; } .cart-row-total { grid-area: total; } .cart-remove { grid-area: remove; justify-self: end; } }
.cart-summary { background: var(--cream); border-radius: var(--radius); padding: 26px; max-width: 420px; margin-left: auto; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 10px; }
.cart-summary-row strong { color: var(--green-700); }

/* Forms */
.form-control {
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 1.5px solid var(--border);
  font-family: inherit; font-size: 15px; background: #fff; transition: border .2s;
}
.form-control:focus { outline: none; border-color: var(--green-500); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 8px; color: var(--green-900); }
textarea.form-control { resize: vertical; min-height: 130px; }

.contact-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 44px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-item .icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item h4 { color: #fff; font-size: 15px; margin-bottom: 4px; }
.contact-info-item p { color: #cfe3d8; margin: 0; font-size: 14px; }

.alert { padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; font-size: 14px; font-weight: 600; }
.alert-success { background: var(--green-100); color: var(--green-800); border: 1px solid var(--green-500); }
.alert-error { background: #fde8e8; color: #9b2c2c; border: 1px solid #e37b7b; }

/* Footer: who we are, where to go, how to reach us and the newsletter, then one quiet line */
.site-footer { background: var(--green-900); color: #cfe3d8; padding-top: clamp(56px, 6vw, 80px); font-size: 14.5px; }
.site-footer .footer-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 60px); }
.site-footer .footer-title { margin: 0 0 14px; font-family: var(--font-body); font-size: 12.5px; font-weight: 700; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: #9fd6b2; }
.site-footer .footer-brand { display: inline-flex; margin-bottom: 18px; padding: 10px 16px; border-radius: 14px; background: #fbf8f1; }   /* the green logo needs a light ground to read */
.site-footer .footer-brand img { height: 38px; width: auto; }
.site-footer .footer-about p, .site-footer .footer-news p { margin: 0; max-width: 36ch; line-height: 1.65; color: #cfe3d8; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.footer-social a:hover { background: var(--blue-500); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a, .footer-place { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; color: #cfe3d8; transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.footer-links svg { flex-shrink: 0; color: #9fd6b2; }
.footer-explore .footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 30px; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-place { align-items: flex-start; padding-top: 8px; line-height: 1.5; }
.footer-place svg { margin-top: 2px; }
.footer-newsletter { display: flex; max-width: 340px; margin-top: 16px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: border-color .2s ease; }
.footer-newsletter:focus-within { border-color: #9fd6b2; }
.footer-newsletter input { flex: 1; min-width: 0; background: transparent; border: none; padding: 12px 18px; color: #fff; font-size: 14px; }
.footer-newsletter input:focus { outline: none; }   /* the whole pill shows focus instead */
.footer-newsletter input::placeholder { color: #a9c4b7; }
.footer-newsletter button { border: none; background: var(--blue-600); color: #fff; padding: 0 18px; cursor: pointer; transition: background .2s ease; }
.footer-newsletter button:hover { background: var(--blue-500); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 24px; padding: 20px 0 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #9fbfae; }
.footer-legal { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 2px 0; }
.footer-legal > span { display: inline-flex; align-items: center; gap: 6px; }
.footer-legal > span + span::before { content: " b7"; margin: 0 9px; opacity: .7; }
.footer-legal svg { color: #9fd6b2; }
.footer-small-links a { margin-left: 16px; color: #cfe3d8; text-decoration: underline; text-decoration-color: rgba(207, 227, 216, .35); text-underline-offset: 3px; }
.footer-small-links a:hover { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1000px) {
  .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-explore .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .footer-legal > span + span::before { content: none; }
}

.icon { display: inline-flex; }
.icon svg { width: 1em; height: 1em; }
.ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ico-text { display: inline-flex; align-items: center; gap: 7px; }

.back-to-top {
  position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-600); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 150;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--blue-600); transform: translateY(-4px); }
.back-to-top svg { transform: rotate(-90deg); }

.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* Partner name chips (Home + About) */
.partner-names { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 860px; margin: 0 auto; }
.partner-names li {
  list-style: none; background: #fff; border: 1.5px solid var(--border); border-radius: 999px;
  padding: 12px 22px; font-weight: 700; font-size: 14px; color: var(--green-800); box-shadow: var(--shadow);
}

/* Simple two-column definition rows (Our Model, Who We Work With, On the Farm) */
.detail-list { display: grid; gap: 4px; margin-top: 10px; }
.detail-block { padding: 18px 0; border-bottom: 1px solid var(--border); }
.detail-block:last-child { border-bottom: none; }
.detail-block h4 { font-size: 16px; margin-bottom: 6px; color: var(--green-800); }
.detail-block p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
@media (max-width: 720px) { .detail-grid { grid-template-columns: 1fr; } }

.prose-narrow { max-width: 760px; }
.prose-narrow p { color: var(--ink-soft); margin-bottom: 14px; }

/* Full-width photo band used to break up long text pages */
.media-band { padding: 0 !important; }
.media-band .container { padding-top: 0; padding-bottom: 0; }
.media-band figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.media-band img { width: 100%; height: clamp(240px, 42vw, 460px); object-fit: cover; display: block; }
.media-band figure::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .2; background: linear-gradient(160deg, var(--green-700), transparent 65%); }
.media-band figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 28px 20px;
  color: #fff; font-size: 14px; font-weight: 600;
  background: linear-gradient(to top, rgba(11,36,29,.72), transparent);
}

/* Long-form sub-programme blocks (Our Work) */
.workblock-list { margin-top: 34px; display: grid; gap: 26px; }
.workblock {
  max-width: 820px; background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow);
}
.workblock h3 { font-size: 21px; margin-bottom: 6px; color: var(--green-800); }
.workblock .workblock-note {
  color: var(--blue-600); font-weight: 700; font-size: 13px; text-transform: uppercase;
  letter-spacing: .04em; margin-bottom: 14px;
}
.workblock p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 12px; }
.workblock .btn { margin-top: 6px; }
.workblock-photo {
  position: relative; max-width: 820px; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 16 / 7;
}
.workblock-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.workblock-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .2; background: linear-gradient(160deg, var(--green-700), transparent 65%); }
.workblock-photo .cap {
  position: absolute; bottom: 16px; left: 16px; background: rgba(11,61,46,.85); color: #fff;
  font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
}
@media (max-width: 700px) { .workblock-photo { aspect-ratio: 4 / 3; } }

.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.pagination a, .pagination span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1.5px solid var(--border); font-weight: 700; font-size: 14px; }
.pagination a:hover { background: var(--green-600); color: #fff; border-color: var(--green-600); }
.pagination .current { background: var(--green-900); color: #fff; border-color: var(--green-900); }

/* =========================================================
   One design across the site. The redesigned pages (About, Programmes, Impact, Home) live inside
   <main class="ab">; the older pages (Farm, Shop, Product, Cart, Checkout, Team, Contact, Stories) put their
   sections straight on <body>. These rules give the older pages the same language as the redesigned
   ones: cream openings, serif headings, the same section labels, shaped photographs, matching buttons
   and cards. Mobile first, so phones get the same look rather than a reduced one.
   ========================================================= */
:root { --brand-green: #08722d; --brand-green-dark: #065f25; --brand-blue: #007cad; --brand-deep: #0b3d2e; --brand-line: #e3e0d6; --brand-radius: 22px; }

/* Opening: cream with soft tints and a large serif heading (as on Impact and reports) */
.page-header {
  padding: clamp(36px, 5.4vw, 76px) 0 clamp(38px, 5vw, 70px); color: var(--brand-deep);
  background: radial-gradient(900px 480px at 100% 0%, rgba(0, 124, 173, .10), transparent 62%), radial-gradient(760px 480px at 0% 100%, rgba(8, 114, 45, .10), transparent 60%), var(--cream);
  border-bottom: 1px solid var(--brand-line);
}
.page-header h1 { font-family: var(--font-serif); font-weight: 500; font-size: var(--fs-display); line-height: 1.05; letter-spacing: -.02em; color: var(--brand-deep); max-width: 18ch; margin: 0 0 16px; }
.page-header p { margin: 0; max-width: 56ch !important; font-family: var(--font-serif); font-style: italic; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: var(--ink-soft) !important; }
.page-header .crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin-bottom: clamp(18px, 2.6vw, 28px); font-size: 13.5px; color: var(--ink-soft); }
.page-header .crumb a { display: inline-flex; align-items: center; min-height: 32px; color: var(--brand-green); font-weight: 600; }
.page-header .crumb span { opacity: .55; margin: 0 8px; }

/* Headings and section labels */
body > section h1, body > section h2, body > section h3 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.01em; color: var(--brand-deep); }
body > section h3 { font-weight: 600; }
body > section h2 { font-size: var(--fs-h2); line-height: 1.12; }
body > section .section-head h2 { font-size: var(--fs-h2); }
body > section h3 { line-height: 1.25; }
body > section .eyebrow { gap: 10px; font-size: 12.5px; letter-spacing: .14em; color: var(--brand-green); }
body > section .eyebrow::before { width: 26px; background: var(--brand-blue); }
body > section p.muted, body > section .prose-narrow p { font-size: 16px; line-height: 1.7; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }

/* Photographs: shaped like the rest of the site instead of padded frames */
.split .img-frame { padding: 0; background: none; box-shadow: 0 30px 60px rgba(11, 61, 46, .14); border-radius: 120px 22px 120px 22px; max-width: 480px; }
.split .img-frame img { border-radius: 0; }
.split .img-frame::before { display: none; }
.split > .img-frame:nth-child(odd) { border-radius: 22px 120px 22px 120px; }
.media-band figure { border-radius: 120px 22px 120px 22px; }

/* Buttons and cards in the brand green, with the site's rounder corners */
.btn-primary { background: var(--brand-green); box-shadow: 0 10px 24px rgba(8, 114, 45, .22); }
.btn-primary:hover { background: var(--brand-green-dark); }
.btn-outline-dark { border-color: var(--brand-green); color: var(--brand-green); }
.btn-outline-dark:hover { background: var(--brand-green); }
.card { border-radius: var(--brand-radius); border-color: var(--brand-line); box-shadow: 0 14px 34px rgba(11, 61, 46, .07); }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(11, 61, 46, .12); }
.cta-banner { border-radius: var(--brand-radius); background: radial-gradient(700px 400px at 100% 0%, rgba(0, 124, 173, .35), transparent 62%), var(--brand-deep); }
.cta-banner h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); }
.section-dark { background: radial-gradient(800px 460px at 100% 0%, rgba(0, 124, 173, .3), transparent 62%), var(--brand-deep); }
.post-card .cat-badge, .product-card .badge-cat { background: var(--brand-blue); color: #fff; }
.pill-tabs a.active, .pill-tabs a:hover { background: var(--brand-green); border-color: var(--brand-green); }
.detail-block h4 { font-family: var(--font-serif); font-weight: 600; font-size: 19px; color: var(--brand-deep); }
.form-control:focus { border-color: var(--brand-green); box-shadow: 0 0 0 3px rgba(8, 114, 45, .12); }

/* Every page: tap targets at least about 40px high, and no text under 12px */
.cart-link { padding: 10px; margin: -10px; }
.footer-links li { margin-bottom: 4px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 36px; }
.ab-link, .pg-link, .readmore, .im-source-link { min-height: 40px; }
.pg-crumb-trail a, .ab-crumb a { display: inline-flex; align-items: center; min-height: 36px; }
.product-card .badge-cat, .product-card .badge-featured, .post-card .cat-badge { font-size: 12px; }
.impact-photo .cap { font-size: 12.5px; }
.sidebar-post .d { font-size: 12.5px; }
.stat-item span { font-size: 12.5px; }

@media (max-width: 720px) {
  .page-header h1 { max-width: none; }
  .split { gap: 30px; }
  .split .img-frame, .split > .img-frame:nth-child(odd) { border-radius: 80px 18px 80px 18px; max-width: none; }
  .split .img-frame img { aspect-ratio: 4 / 3.4; }
  .media-band figure { border-radius: 70px 16px 70px 16px; }
  .cta-banner { padding: 34px 24px; }
  .contact-card { padding: 28px 22px; }
  body > section .card[style*="padding:44px"] { padding: 30px 22px !important; }
}

/* Contact: on phones the message form comes first, the offices after it */
@media (max-width: 900px) {
  .contact .split > .contact-card { order: -1; }
  .contact-social a, .footer-social a { width: 42px; height: 42px; }
}
/* Even spacing between form fields when two sit side by side */
form .grid > .form-group { margin-bottom: 0; }
form > .grid { margin-bottom: 18px; }
.post-card .readmore { display: inline-flex; align-items: center; min-height: 40px; }
.ab-crumb, .pg-crumb-trail, .im-crumb { align-items: center; }

/* Form controls and buttons use the site's text font */
button, input, select, textarea { font-family: inherit; }

/* Phones and tablets zoom the page into any form field whose text is under 16px when it is tapped */
@media (hover: none) and (pointer: coarse) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px !important; }
}

/* Phones: a smaller, quieter back-to-top button, tucked into the corner */
@media (max-width: 720px) {
  .back-to-top { width: 40px; height: 40px; right: 14px; bottom: 14px; }
  .back-to-top.show { opacity: .88; }
}

/* The smallest phones: logo, basket, Give and menu still fit on one line */
@media (max-width: 440px) {
  .header-actions { gap: 8px; }
  .site-header .brand img { height: 32px; width: auto; }
  .header-actions .header-give { padding: 8px 11px; }
}
@media (max-width: 345px) {
  .site-header .brand img { height: 29px; }
  .header-actions .header-give svg { display: none; }
}
