/* =========================================================
   About page. Loaded only on about.php (via $pageStyles).
   Brand colours sampled from the BetterLife logo.
   ========================================================= */
.ab {
  --ab-green: #08722d;
  --ab-blue: #007cad;
  --ab-deep: #0b3d2e;
  --ab-ink: #16241d;
  --ab-soft: #46554c;
  --ab-cream: #f7f6ef;
  --ab-sand: #ebe5da;
  --ab-line: #e3e0d6;
  --ab-radius: 22px;
  --ab-serif: 'Fraunces', Georgia, serif;
  overflow-x: clip;
}
.ab section { padding: clamp(56px, 7vw, 96px) 0; }
.ab h2 { font-family: var(--ab-serif); font-weight: 600; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.1; letter-spacing: -.012em; color: var(--ab-deep); margin: 0; }
.ab h3 { color: var(--ab-deep); }
.ab p { font-size: 16.5px; line-height: 1.72; color: var(--ab-soft); }
.ab img { display: block; max-width: 100%; height: auto; }

.ab-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font: 700 12.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ab-green);
}
.ab-eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--ab-blue); }
.ab-head { max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.ab-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.ab-head-center .ab-eyebrow { justify-content: center; }
.ab-head-sub { margin-top: 18px; max-width: 640px; }
.ab-lead { font-size: 19px !important; line-height: 1.6 !important; color: var(--ab-ink) !important; }
.ab-pull { font-family: var(--ab-serif); font-size: 25px !important; line-height: 1.35 !important; color: var(--ab-green) !important; padding-left: 20px; border-left: 3px solid var(--ab-blue); margin: 28px 0 !important; }
.ab-pull-sm { font-size: 21px !important; }
.ab-hl { background: linear-gradient(transparent 60%, rgba(0, 124, 173, .24) 60%); padding: 0 .08em; }
.ab-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ab-blue); }
.ab-link svg { transition: transform .2s ease; }
.ab-link:hover svg { transform: translateX(3px); }

/* Visible focus for every control on the page */
.ab a:focus-visible, .ab button:focus-visible, .ab-lightbox button:focus-visible {
  outline: 3px solid var(--ab-blue); outline-offset: 3px; border-radius: 6px;
}
.ab-hero a:focus-visible, .ab-purpose a:focus-visible, .ab-close a:focus-visible, .ab-figure a:focus-visible { outline-color: #fff; }

/* Reveal: content is only hidden once JavaScript has confirmed it can reveal it */
.ab-js .ab-reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s ease; }
.ab-js .ab-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Lightbox triggers ---------- */
.ab-lb { position: relative; display: block; overflow: hidden; cursor: zoom-in; background: var(--ab-sand); }
.ab-lb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ab-lb:hover img, .ab-lb:focus-visible img { transform: scale(1.04); }
.ab-lb-icon {
  position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.92); color: var(--ab-deep);
  opacity: 0; transform: scale(.85); transition: opacity .2s ease, transform .2s ease;
}
.ab-lb:hover .ab-lb-icon, .ab-lb:focus-visible .ab-lb-icon { opacity: 1; transform: none; }

/* =========================================================
   1. Opening
   ========================================================= */
.ab .ab-hero { position: relative; display: flex; align-items: flex-end; min-height: min(84vh, 780px); padding: 0; overflow: hidden; background: var(--ab-deep); color: #fff; }
.ab-hero-media { position: absolute; inset: 0; }
/* Three photographs crossfade slowly (8s each, 2s fades, gentle settle-in zoom) */
/* --w widens a portrait photo so its subject sits to the right of the headline */
.ab .ab-hero-img { max-width: none; }
.ab-hero-img { position: absolute; top: 0; left: 0; width: var(--w, 100%); height: 100% !important; object-fit: cover; object-position: var(--pos, 50% 50%); opacity: 0; animation: abHeroCycle 24s linear infinite; animation-delay: calc(var(--i) * 8s - 26s); will-change: opacity, transform; }
@keyframes abHeroCycle {
  0%      { opacity: 0; transform: scale(1.07); }
  8.33%   { opacity: 1; }
  33.33%  { opacity: 1; }
  41.67%  { opacity: 0; transform: scale(1); }
  100%    { opacity: 0; transform: scale(1); }
}
.ab-motion-paused .ab-hero-img, .ab-hero.is-offscreen .ab-hero-img { animation-play-state: paused; }
.ab-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 22, 15, .28) 0%, rgba(6, 22, 15, .08) 32%, rgba(6, 22, 15, .62) 70%, rgba(6, 22, 15, .86) 100%),
              linear-gradient(90deg, rgba(6, 22, 15, .5), rgba(6, 22, 15, 0) 58%);
}
.ab-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(0, 380px); align-items: end; gap: 40px; padding-top: 150px; padding-bottom: clamp(52px, 7vw, 92px); }
.ab-hero-africa { margin: 0 0 -10px; align-self: end; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }
.ab-hero-africa svg { display: block; width: 100%; height: auto; overflow: visible; }
.ab-hero-africa-edge { fill: none; stroke: #fff; stroke-width: 5; stroke-linejoin: round; }
.ab-motion-toggle { position: absolute; right: 18px; bottom: 18px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; padding: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); color: #fff; transition: background .2s ease; }
.ab-motion-toggle:hover { background: rgba(255,255,255,.28); }
.ab-motion-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ab-motion-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.ab-motion-toggle .i-play { display: none; fill: currentColor; stroke: none; }
.ab-motion-paused .ab-motion-toggle .i-pause { display: none; }
.ab-motion-paused .ab-motion-toggle .i-play { display: block; }
.ab-crumb { display: flex; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.75); margin-bottom: 22px; }
.ab-crumb a { color: #fff; font-weight: 600; }
.ab-kicker { margin: 0 0 14px; font: 700 12.5px/1 var(--font-body) !important; letter-spacing: .16em; text-transform: uppercase; color: #bfe3cc !important; }
.ab-kicker i { font-style: normal; margin: 0 .35em; color: rgba(255,255,255,.5); }
.ab-kicker span { white-space: nowrap; }
.ab-hero h1 { font-family: var(--ab-serif); font-weight: 600; font-size: clamp(42px, 6.4vw, 86px); line-height: 1.02; letter-spacing: -.02em; color: #fff; max-width: 13ch; margin: 0 0 22px; }
.ab-hero-lead { max-width: 48ch; font-size: clamp(16.5px, 1.35vw, 19px) !important; line-height: 1.6 !important; color: rgba(255,255,255,.9) !important; margin: 0; }
.ab-hero-scroll { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-weight: 700; font-size: 14px; color: #fff; padding: 11px 20px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; transition: background .2s ease; }
.ab-hero-scroll:hover { background: rgba(255,255,255,.12); }

/* =========================================================
   2. Our beginnings: organic collage + founding story
   ========================================================= */
.ab-begin-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 92px); align-items: center; }
.ab-collage { position: sticky; top: 100px; align-self: start; aspect-ratio: 1 / 1.02; }
.ab-col { position: absolute; box-shadow: 0 18px 40px rgba(11, 61, 46, .14); }
.ab-col-a { left: 0; top: 7%; width: 47%; height: 60%; border-radius: 999px 999px 20px 20px; }
.ab-col-b { right: 0; top: 0; width: 49%; height: 37%; border-radius: 46% 54% 52% 48% / 56% 46% 54% 44%; }
.ab-col-c { right: 4%; top: 41%; width: 41%; aspect-ratio: 1; border-radius: 50%; }
.ab-col-d { left: 15%; bottom: 0; width: 41%; height: 28%; border-radius: 52% 14% 52% 14%; }
.ab-col-c img, .ab-col-d img { object-position: 50% 40%; }
.ab-stamp { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 50%; color: #fff; box-shadow: 0 14px 30px rgba(11, 61, 46, .22); }
.ab-stamp span { font: 700 10.5px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.ab-stamp strong { font-family: var(--ab-serif); font-weight: 600; line-height: 1; margin-top: 6px; }
.ab-stamp-year { left: 40%; top: 33%; width: 25%; aspect-ratio: 1; background: var(--ab-green); }
.ab-stamp-year strong { font-size: clamp(24px, 2.4vw, 34px); }
.ab-stamp-money { right: -2%; bottom: 6%; width: 27%; aspect-ratio: 1; background: var(--ab-blue); }
.ab-stamp-money strong { font-size: clamp(20px, 2vw, 28px); }
.ab-begin-copy h2 { margin-bottom: 24px; }
.ab-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0 !important; }
.ab-facts span { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ab-cream); border: 1px solid var(--ab-line); font-size: 14px; color: var(--ab-soft); }
.ab-facts strong { font-family: var(--ab-serif); font-size: 19px; color: var(--ab-deep); }

/* =========================================================
   3. Impact in pictures
   ========================================================= */
.ab .ab-impact { background: var(--ab-cream); }
.ab-figures { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ab-figure { position: relative; aspect-ratio: 3 / 4.1; border-radius: var(--ab-radius); overflow: hidden; background: var(--ab-deep); }
.ab-figure:first-child { aspect-ratio: auto; }
.ab-figure-img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transition: transform .8s ease; }
.ab-figure:hover .ab-figure-img { transform: scale(1.04); }
.ab-figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 22, 15, 0) 35%, rgba(6, 22, 15, .86) 100%); }
.ab-figure-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px 20px 22px; color: #fff; }
.ab-figure-text strong { display: block; font-family: var(--ab-serif); font-weight: 600; font-size: clamp(34px, 3.2vw, 48px); line-height: 1; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.ab-figure:first-child .ab-figure-text strong { font-size: clamp(44px, 4.6vw, 68px); }
.ab-figure-text small { font: 600 14px/1 var(--font-body); letter-spacing: 0; opacity: .85; vertical-align: .5em; }
.ab-figure-text > span { display: block; margin-top: 8px; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: rgba(255,255,255,.9); }
.ab-figures-note { margin: 22px 0 0 !important; max-width: 720px; font-size: 14px !important; color: var(--ab-soft) !important; }

/* =========================================================
   4. Vision and mission
   ========================================================= */
.ab .ab-purpose { position: relative; overflow: hidden; background: linear-gradient(135deg, #07392a 0%, #0b3d2e 45%, #03384d 100%); color: #fff; }
.ab-purpose-bg { position: absolute; inset: 0; }
.ab-purpose-bg img { width: 100%; height: 100% !important; object-fit: cover; opacity: .16; mix-blend-mode: luminosity; }
.ab-purpose .container { position: relative; }
.ab-purpose-head { text-align: center; margin-bottom: clamp(28px, 3.5vw, 44px); }
.ab-purpose-head .ab-eyebrow { justify-content: center; color: #9fd6b2; }
.ab-purpose-head .ab-eyebrow::before { background: #9fd6b2; }
.ab-purpose-head h2 { color: #fff; font-size: clamp(40px, 5.4vw, 72px); }
.ab-purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.ab-purpose-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--ab-radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(2px); }
.ab-purpose-label { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #9fd6b2; }
.ab-purpose-card p { margin: 16px 0 0; font-family: var(--ab-serif); font-size: clamp(19px, 1.6vw, 23px) !important; line-height: 1.4 !important; color: #fff !important; }

/* =========================================================
   5. How we see the work: the connections diagram
   ========================================================= */
.ab-systems-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.ab-systems-copy h2 { margin-bottom: 24px; }
.ab-web { position: sticky; top: 90px; }
.ab-web-hint { font-size: 14.5px !important; text-align: center; margin: 0 auto 8px !important; max-width: 420px; }
.ab-web-stage { position: relative; aspect-ratio: 1; max-width: 500px; margin: 0 auto; }
.ab-web-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ab-web-lines line { stroke: #c9d6cd; stroke-width: .5; stroke-dasharray: 1.2 1.2; transition: stroke .3s ease, stroke-width .3s ease; }
.ab-web-lines line.is-active { stroke: var(--ab-blue); stroke-width: .9; stroke-dasharray: none; }
.ab-web-core {
  position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border-radius: 50%; background: var(--ab-green); color: #fff; box-shadow: 0 0 0 10px rgba(8, 114, 45, .12), 0 16px 34px rgba(8, 114, 45, .28);
}
.ab-web-core span { font-family: var(--ab-serif); font-size: clamp(20px, 2vw, 26px); }
.ab-web-node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  padding: 11px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--ab-line);
  font: 700 14.5px/1 var(--font-body); color: var(--ab-deep); cursor: pointer; white-space: nowrap;
  box-shadow: 0 8px 22px rgba(11, 61, 46, .08); transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.ab-web-node:hover { border-color: var(--ab-blue); transform: translate(-50%, -50%) scale(1.05); }
.ab-web-node[aria-selected="true"] { background: var(--ab-blue); border-color: var(--ab-blue); color: #fff; }
.ab-web-panels { margin-top: 18px; display: grid; gap: 12px; }
.ab-web-panel { padding: 22px 24px; border-radius: 18px; background: var(--ab-cream); border-left: 4px solid var(--ab-blue); }
.ab-web-panel h3 { font-family: var(--ab-serif); font-weight: 600; font-size: 22px; margin: 0 0 8px; }
.ab-web-panel p { margin: 0; font-size: 16px; }
.ab-js .ab-web-panel:not(.is-active) { display: none; }

/* =========================================================
   6. How we work: five principles as an accordion beside a photograph
   ========================================================= */
.ab-how { margin-top: clamp(56px, 7vw, 96px); }
.ab-how-intro { margin-bottom: clamp(24px, 3vw, 36px); }
.ab-subhead { font-family: var(--ab-serif); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); color: var(--ab-deep); margin: 0; padding-top: 28px; border-top: 1px solid var(--ab-line); }
.ab-how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.ab-how-frame { position: relative; aspect-ratio: 1 / .96; border-radius: 28px 120px 28px 120px; overflow: hidden; background: var(--ab-sand); }
.ab-how-img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .7s ease, transform 1.2s ease; }
.ab-how-img.is-active { opacity: 1; transform: none; }
.ab-how-count { position: absolute; left: 22px; bottom: 22px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 13px; font-weight: 600; color: var(--ab-soft); }
.ab-how-count b { color: var(--ab-deep); }
.ab-how-step { border-bottom: 1px solid var(--ab-line); }
.ab-how-step:first-child { border-top: 1px solid var(--ab-line); }
.ab-how-step summary { display: flex; align-items: center; gap: 18px; padding: 20px 4px; cursor: pointer; list-style: none; }
.ab-how-step summary::-webkit-details-marker { display: none; }
.ab-how-step summary:focus-visible { outline: 3px solid var(--ab-blue); outline-offset: 2px; border-radius: 10px; }
.ab-how-num { flex: 0 0 26px; font-family: var(--ab-serif); font-size: 15px; font-weight: 600; color: var(--ab-blue); letter-spacing: .06em; font-variant-numeric: lining-nums; }
.ab-how-step h4 { flex: 1; font-family: var(--ab-serif); font-weight: 600; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.2; margin: 0; color: var(--ab-deep); transition: color .2s ease; }
.ab-how-step summary:hover h4 { color: var(--ab-green); }
.ab-how-chev { display: inline-flex; width: 34px; height: 34px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--ab-line); color: var(--ab-deep); transition: transform .25s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.ab-how-step[open] .ab-how-chev { transform: rotate(180deg); background: var(--ab-green); border-color: var(--ab-green); color: #fff; }
.ab-how-step[open] .ab-how-num { color: var(--ab-green); }
.ab-how-body { padding: 0 4px 24px 48px; }
.ab-how-body > p { margin: 0; font-size: 16.5px; }
.ab-how-step-photo { display: none; margin: 0 0 18px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; }
.ab-how-step-photo img { width: 100%; height: 100% !important; object-fit: cover; }
.ab-trust { display: flex; align-items: flex-start; gap: 14px; margin-top: 18px !important; padding: 18px 20px; border-radius: 18px; background: var(--ab-cream); border: 1px solid var(--ab-line); }
.ab-trust svg { flex-shrink: 0; color: var(--ab-green); margin-top: 4px; }
.ab-trust span { font-family: var(--ab-serif); font-size: 21px; line-height: 1.3; color: var(--ab-deep); }

/* =========================================================
   7. Who we work with
   ========================================================= */
.ab-who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ab-who-card { display: flex; flex-direction: column; }
.ab-who-photo { aspect-ratio: 1 / 1.1; border-radius: var(--ab-radius); overflow: hidden; background: var(--ab-sand); }
.ab-who-photo img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .7s ease; }
.ab-who-card:hover .ab-who-photo img { transform: scale(1.04); }
.ab-who-body { padding: 20px 4px 0; }
.ab-who-body h3 { font-size: 20px; line-height: 1.25; margin: 0 0 10px; }
.ab-who-body p { margin: 0; font-size: 15.5px; }
.ab-who-more { margin-top: 10px !important; }
.ab-who-toggle { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 0; background: none; border: 0; cursor: pointer; font: 700 14px/1 var(--font-body); color: var(--ab-blue); }
.ab-who-toggle svg { transition: transform .25s ease; }
.ab-who-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* =========================================================
   8. Where we work: interactive map
   ========================================================= */
.ab .ab-where { background: var(--ab-cream); }
.ab-where-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.ab-map-wrap { position: sticky; top: 90px; }
.ab-map { display: block; width: 100%; height: auto; max-height: 72vh; }
.ab-map-land { fill: #e2ddd1; stroke: #fff; stroke-width: .6; }
.ab-map-country { fill: var(--ab-green); stroke: #fff; stroke-width: .9; stroke-linejoin: round; cursor: pointer; transition: fill .25s ease, opacity .25s ease; }
.ab-map-country:hover { fill: #0a8a37; }
.ab-map-country.is-selected { fill: var(--ab-blue); }
.ab-map-place { pointer-events: none; }
.ab-map-place rect { fill: var(--ab-ink); stroke: #fff; stroke-width: 1.2; }
.ab-map-place circle { fill: #fff; stroke: var(--ab-ink); stroke-width: 1.6; }
.ab-map:not(.is-zoomed) .ab-map-place text { display: none; }
.ab-map-place text { font: 700 12px/1 var(--font-body); fill: var(--ab-ink); paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.ab-map-reset { position: absolute; top: 6px; right: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ab-line); background: #fff; cursor: pointer; font: 700 13px/1 var(--font-body); color: var(--ab-deep); box-shadow: 0 6px 18px rgba(11, 61, 46, .08); }
.ab-map-reset:hover { border-color: var(--ab-blue); color: var(--ab-blue); }
.ab-map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 14px 0 0 !important; font-size: 13.5px !important; }
.ab-map-legend span { display: inline-block; width: 12px; height: 12px; margin-right: -10px; vertical-align: -1px; }
.lg-office { background: var(--ab-ink); border-radius: 2px; }
.lg-field { border: 2px solid var(--ab-ink); border-radius: 50%; background: #fff; }
.lg-country { background: var(--ab-green); border-radius: 3px; }
.ab-country-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ab-country-tab { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--ab-line); cursor: pointer; font: 700 14px/1 var(--font-body); color: var(--ab-deep); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.ab-country-tab:hover { border-color: var(--ab-blue); }
.ab-country-tab[aria-selected="true"] { background: var(--ab-blue); border-color: var(--ab-blue); color: #fff; }
.ab-country-panel + .ab-country-panel { margin-top: 32px; }
.ab-js .ab-country-panel + .ab-country-panel { margin-top: 0; }
.ab-js .ab-country-panel:not(.is-active) { display: none; }
.ab-country-photo { aspect-ratio: 16 / 10; border-radius: var(--ab-radius); overflow: hidden; background: var(--ab-sand); margin-bottom: 22px; }
.ab-country-photo img { width: 100%; height: 100% !important; object-fit: cover; }
.ab-photo-needed { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; border: 2px dashed #c9c2b3; border-radius: inherit; color: #7a7466; font-size: 14.5px; font-weight: 600; }
.ab-country-panel h3 { font-family: var(--ab-serif); font-weight: 600; font-size: 30px; margin: 0 0 12px; }
.ab-country-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
.ab-country-tags li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--ab-line); font-size: 13px; font-weight: 600; color: var(--ab-soft); }
.ab-country-tags li.is-office { border-color: var(--ab-ink); color: var(--ab-ink); }
.ab-country-panel p { margin: 0; }

/* =========================================================
   9. Photographic journey: a sideways rail, years left to right
   ========================================================= */
.ab-rail-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; margin-bottom: clamp(26px, 3.2vw, 40px); }
.ab-rail-head h2 { max-width: 20ch; }
.ab-rail-nav { display: flex; gap: 10px; flex-shrink: 0; }
.ab-rail-nav[hidden] { display: none; }
.ab-rail-btn { width: 48px; height: 48px; border-radius: 50%; padding: 0; border: 1.5px solid var(--ab-line); background: #fff; color: var(--ab-deep); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s ease, color .2s ease, opacity .2s ease; }
.ab-rail-btn[data-dir="-1"] svg { transform: rotate(180deg); }
.ab-rail-btn:hover:not(:disabled) { border-color: var(--ab-blue); color: var(--ab-blue); }
.ab-rail-btn:disabled { opacity: .35; cursor: default; }
.ab-timeline {
  --rail-pad: max(20px, calc((100vw - 1240px) / 2 + 56px));
  list-style: none; margin: 0; display: flex; align-items: stretch; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px var(--rail-pad) 22px; scroll-padding-inline: var(--rail-pad); scrollbar-width: thin; scrollbar-color: #c9c2b3 transparent;
}
.ab-timeline:focus-visible { outline: 3px solid var(--ab-blue); outline-offset: -3px; border-radius: 12px; }
.ab-milestone { position: relative; flex: 0 0 clamp(272px, 26vw, 340px); scroll-snap-align: start; display: flex; flex-direction: column; padding-top: 34px; }
.ab-milestone::before { content: ''; position: absolute; left: 0; top: 0; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--ab-green); box-shadow: 0 0 0 5px #fff; }
.ab-milestone::after { content: ''; position: absolute; left: 0; right: -22px; top: 7px; height: 2px; background: linear-gradient(90deg, var(--ab-green), var(--ab-blue)); opacity: .3; }
.ab-milestone:last-child::after { right: 0; }
.ab-milestone:nth-child(even)::before { border-color: var(--ab-blue); }
.ab-year { display: block; margin-bottom: 14px; font-family: var(--ab-serif); font-weight: 600; font-size: clamp(40px, 3.6vw, 52px); line-height: 1; color: var(--ab-green); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.ab-milestone:nth-child(even) .ab-year { color: var(--ab-blue); }
.ab-milestone-card { flex: 1; padding: 18px 20px 20px; border-radius: var(--ab-radius); background: #fff; border: 1px solid var(--ab-line); box-shadow: 0 14px 34px rgba(11, 61, 46, .06); }
.ab-milestone-card p { margin: 0; font-size: 15.5px; line-height: 1.62; }
.ab-milestone-more { margin-top: 10px !important; }
.ab-milestone-photo { aspect-ratio: 16 / 10; border-radius: 14px; margin-bottom: 16px; }
/* Years without a photograph yet: a brand-colour card with the year's sentence set large */
.ab-milestone.is-text .ab-milestone-card { background: var(--ab-deep); border-color: transparent; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; }
.ab-milestone.is-text:nth-child(even) .ab-milestone-card { background: #03384d; }
.ab-milestone.is-text .ab-milestone-card p { color: rgba(255,255,255,.88); }
.ab-milestone.is-text .ab-milestone-card > p:first-child { font-family: var(--ab-serif); font-size: 21px; line-height: 1.35; color: #fff; }
.ab-milestone.is-text .ab-who-toggle { color: #9fd6b2; }

/* =========================================================
   10. Tools: photograph beside text
   ========================================================= */
.ab .ab-tools { background: var(--ab-cream); }
.ab-tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 28px); }
.ab-tool { display: grid; grid-template-columns: 40% 1fr; gap: clamp(18px, 2.2vw, 28px); align-items: center; padding: 16px clamp(18px, 2.4vw, 28px) 16px 16px; border-radius: 28px; background: #fff; border: 1px solid var(--ab-line); }
.ab-tool-photo { aspect-ratio: 1 / 1.08; border-radius: 999px 999px 20px 20px; }
.ab-tool-photo img { object-position: 50% 35%; }
.ab-status { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(8, 114, 45, .1); color: var(--ab-green); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.ab-status-soft { background: rgba(0, 124, 173, .1); color: var(--ab-blue); }
.ab-tool h3 { font-family: var(--ab-serif); font-weight: 600; font-size: clamp(24px, 2.2vw, 30px); margin: 12px 0 8px; }
.ab-tool p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.62; }

/* =========================================================
   11. What guides us (inside the vision and mission section)
   ========================================================= */
.ab-values { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid rgba(255,255,255,.18); }
.ab-values-intro h3 { margin: 0 0 16px; color: #9fd6b2; }
.ab-statement { margin: 0 !important; font-family: var(--ab-serif); font-size: clamp(22px, 2.3vw, 31px) !important; line-height: 1.25 !important; color: #fff !important; letter-spacing: -.01em; }
.ab-guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(22px, 3vw, 40px); list-style: none; margin: 0; padding: 0; }
.ab-guide { padding: 16px 0 18px; border-top: 1px solid rgba(255,255,255,.18); transition: border-color .3s ease; }
.ab-guide:hover { border-top-color: #9fd6b2; }
.ab-guide-num { font-family: var(--ab-serif); font-size: 15px; color: #9fd6b2; font-variant-numeric: lining-nums; }
.ab-guide h4 { color: #fff; font-size: 19px; margin: 6px 0; transition: color .3s ease; }
.ab-guide:hover h4 { color: #c8ecd5; }
.ab-guide p { margin: 0; color: rgba(255,255,255,.76) !important; font-size: 15px; line-height: 1.6; }

/* =========================================================
   12. Community photo strip
   ========================================================= */
.ab .ab-strip { padding: clamp(28px, 3.5vw, 44px) 0 clamp(20px, 2.5vw, 30px); }
.ab-strip-row {
  display: flex; gap: 16px; list-style: none; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px max(20px, calc((100vw - 1240px) / 2 + 56px)) 18px; scroll-padding-inline: max(20px, calc((100vw - 1240px) / 2 + 56px));
  scrollbar-width: thin; scrollbar-color: #c9c2b3 transparent;
}
.ab-strip-row li { flex: 0 0 clamp(170px, 16vw, 220px); scroll-snap-align: start; }
.ab-strip-item { aspect-ratio: 4 / 4.8; border-radius: 20px; }

/* =========================================================
   13. Closing invitation
   ========================================================= */
.ab .ab-close { position: relative; overflow: hidden; padding: clamp(64px, 7.5vw, 104px) 0; color: #fff; background: var(--ab-deep); }
.ab-close-bg { position: absolute; inset: 0; }
.ab-close-bg img { width: 100%; height: 100% !important; object-fit: cover; }
.ab-close-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 22, 15, .9), rgba(6, 22, 15, .62) 60%, rgba(3, 56, 77, .55)); }
.ab-close .container { position: relative; }
.ab-close-inner { position: relative; max-width: 760px; }
.ab-close .ab-eyebrow { color: #9fd6b2; }
.ab-close .ab-eyebrow::before { background: #9fd6b2; }
.ab-close h2 { color: #fff; font-size: clamp(34px, 4.4vw, 58px); }
.ab-close p { margin: 18px 0 0; color: rgba(255,255,255,.88) !important; font-size: 18px; max-width: 58ch; }
.ab-close-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.ab-close-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }

/* =========================================================
   Lightbox
   ========================================================= */
.ab-lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.ab-lightbox::backdrop { background: rgba(4, 14, 9, .92); }
.ab-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.ab-lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(1200px, 88vw); }
.ab-lightbox img { max-width: 100%; max-height: 78vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.ab-lightbox figcaption { display: flex; gap: 14px; align-items: baseline; justify-content: center; flex-wrap: wrap; font-size: 15px; text-align: center; }
.ab-lb-count { font-size: 13px; color: rgba(255,255,255,.6); }
.ab-lb-btn { position: fixed; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.12); color: #fff; transition: background .2s ease; }
.ab-lb-btn:hover { background: rgba(255,255,255,.24); }
.ab-lb-close { top: 18px; right: 18px; }
.ab-lb-prev { left: 18px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.ab-lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.ab-lightbox.is-single .ab-lb-prev, .ab-lightbox.is-single .ab-lb-next, .ab-lightbox.is-single .ab-lb-count { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .ab-purpose-grid { grid-template-columns: 1fr 1fr; }
  .ab-practice { grid-column: 1 / -1; }
  .ab-who-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-figures { grid-template-columns: repeat(3, 1fr); }
  .ab-figure:first-child { grid-column: span 3; aspect-ratio: 16 / 7; }
}
@media (max-width: 900px) {
  .ab-begin-grid, .ab-systems-grid, .ab-where-grid, .ab-tools-grid { grid-template-columns: 1fr; }
  .ab-guides-grid { grid-template-columns: 1fr 1fr; }
  .ab-collage { position: relative; top: auto; max-width: 560px; width: 100%; margin: 0 auto; }
  .ab-web, .ab-map-wrap { position: static; }
  .ab-map { max-width: 480px; margin: 0 auto; }
  .ab-how-grid { grid-template-columns: 1fr; }
  .ab-how-frame { display: none; }
  .ab-how-step-photo { display: block; }
  .ab-purpose-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ab section { padding: 60px 0; }
  .ab p { font-size: 16px; }
  .ab .ab-hero { min-height: 82svh; }
  .ab-hero-africa { display: none; }
  .ab-hero-inner { padding-top: 110px; }
  .ab-lead { font-size: 17.5px !important; }
  .ab-pull { font-size: 21px !important; }
  /* Connections become a row of chips */
  .ab-web-stage { aspect-ratio: auto; max-width: none; }
  .ab-web-lines, .ab-web-core { display: none; }
  .ab-web-nodes { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .ab-web-node { position: static; transform: none !important; padding: 10px 15px; font-size: 14px; }
  .ab-web-hint { text-align: left; margin-left: 0 !important; }
  .ab-figures { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ab-figure:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
  .ab-figure { aspect-ratio: 3 / 4; }
  .ab-figure-text { padding: 14px; }
  .ab-figure-text strong { font-size: 32px; }
  .ab-figure-text > span { font-size: 13.5px; }
  /* People cards: swipe sideways, one card and a bit of the next */
  .ab-who-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 14px; scroll-padding-inline: 20px; scrollbar-width: thin; scrollbar-color: #c9c2b3 transparent; }
  .ab-who-card { flex: 0 0 78vw; max-width: 320px; scroll-snap-align: start; }
  .ab-who-photo { aspect-ratio: 4 / 3.4; }
  .ab-guides-grid { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .ab-guide h4 { font-size: 17px; }
  .ab-guide p { font-size: 14.5px; }
  .ab-tool { grid-template-columns: 1fr; padding: 14px 14px 22px; }
  .ab-tool-photo { aspect-ratio: 16 / 10; border-radius: 20px 90px 20px 90px; }
  .ab-tool-body { padding: 0 6px; }
  .ab-how-body { padding-left: 4px; }
  /* Journey rail: one card and a bit of the next */
  .ab-milestone { flex-basis: 80vw; }
  .ab-timeline { gap: 16px; }
  .ab-milestone::after { right: -16px; }
  .ab-year { font-size: 40px; margin-bottom: 10px; }
  .ab-lb-prev, .ab-lb-next { top: auto; bottom: 18px; }
  .ab-lb-prev { left: calc(50% - 64px); transform: rotate(180deg); }
  .ab-lb-next { right: calc(50% - 64px); transform: none; }
  .ab-lightbox img { max-height: 70vh; }
}

/* Reduced motion: no settle-in zoom, no reveals, instant swaps */
@media (prefers-reduced-motion: reduce) {
  .ab-hero-img { animation: none; } .ab-hero-img:first-child { opacity: 1; } .ab-motion-toggle { display: none; }
  .ab-js .ab-reveal { opacity: 1; transform: none; transition: none; }
  .ab-how-img, .ab-lb img, .ab-figure-img, .ab-who-photo img, .ab-how-chev { transition: none; }
  .ab-timeline { scroll-behavior: auto; }
}

/* =========================================================
   Additions: team, programme results, practice note, visitor paths
   ========================================================= */
/* Team behind the work: one line until leadership photos exist, then a row of faces */
.ab-team { margin-top: clamp(40px, 5vw, 64px); padding: clamp(22px, 2.6vw, 30px) clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--ab-cream); border: 1px solid var(--ab-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.ab-team-line { margin: 0 !important; flex: 1 1 520px; font-size: 16.5px !important; color: var(--ab-ink) !important; }
.ab-team-faces { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 18px 32px; list-style: none; margin: 0 0 6px; padding: 0; }
.ab-team-faces li { display: grid; grid-template-columns: 64px auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.ab-team-photo { grid-row: span 2; width: 64px; height: 64px !important; border-radius: 50%; object-fit: cover; }
.ab-team-faces strong { font-size: 15.5px; color: var(--ab-deep); align-self: end; }
.ab-team-faces small { font-size: 13px; color: var(--ab-soft); align-self: start; }

/* Proof from one programme (full account on the Programmes page) */
.ab-proof { margin-top: clamp(36px, 4.5vw, 56px); padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: #fff; border: 1px solid var(--ab-line); box-shadow: 0 20px 50px rgba(11, 61, 46, .07); display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px clamp(24px, 4vw, 56px); align-items: center; }
.ab-proof-head h3 { font-family: var(--ab-serif); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.18; margin: 0 0 12px; }
.ab-results-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 !important; font-size: 14px !important; color: var(--ab-soft) !important; }
.ab-results-meta svg { color: var(--ab-green); }
.ab-results-meta i { font-style: normal; margin: 0 4px; color: #b9b4aa; }
.ab-proof-stats { display: grid; gap: 14px; }
.ab-proof-stat { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; margin: 0 !important; padding: 16px 18px; border-radius: 18px; background: var(--ab-cream); }
.ab-proof-stat strong { font-family: var(--ab-serif); font-weight: 600; font-size: clamp(28px, 2.8vw, 38px); line-height: 1; color: var(--ab-green); white-space: nowrap; font-variant-numeric: lining-nums; }
.ab-proof-stat:last-child strong { color: var(--ab-blue); }
.ab-proof-stat > span { font-size: 14.5px; line-height: 1.45; color: var(--ab-soft); }
.ab-proof .ab-link { grid-column: 1 / -1; }
.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; }

/* Vision and mission: what it means in practice */
.ab-purpose-card.ab-practice { background: rgba(255,255,255,.95); border-color: transparent; }
.ab-practice .ab-purpose-label { color: var(--ab-green); }
.ab-practice p { font-family: var(--font-body); font-size: 16.5px !important; line-height: 1.62 !important; color: var(--ab-ink) !important; }

/* Join us: a path for each visitor */
.ab-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; }
.ab-path { display: flex; flex-direction: column; align-items: flex-start; padding: 26px; border-radius: var(--ab-radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(4px); }
.ab-path-ico { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); color: #fff; margin-bottom: 16px; }
.ab-path h3 { color: #fff; font-size: 20px; margin: 0 0 8px; }
.ab-path p { margin: 0 0 20px !important; font-size: 15px !important; color: rgba(255,255,255,.82) !important; flex: 1; }
.ab-close-more { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 26px 0 0 !important; }

@media (max-width: 1100px) {
}
@media (max-width: 900px) {
  .ab-paths { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ab-path { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
}
@media (max-width: 900px) {
  .ab-proof { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ab-proof-stat { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Brand marks shared with the homepage ---------- */
.ab-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ab .f-green { fill: var(--ab-green); }
.ab .f-blue  { fill: var(--ab-blue); }
/* Painted highlighter under key words in headlines */
.ab h1, .ab h2 { position: relative; z-index: 0; }
.ab-mark { position: relative; white-space: nowrap; }
.ab-mark svg { position: absolute; left: -3%; bottom: .04em; width: 106%; height: .5em; z-index: -1; overflow: visible; }
.ab-mark path { fill: var(--ab-blue); opacity: .55; }
.ab-hero .ab-mark path { fill: var(--ab-green); opacity: .9; }
/* Painted strokes peeking from behind the collage and the figures */
.ab-strokes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.ab-collage .ab-col, .ab-collage .ab-stamp { z-index: 1; }
.ab-figures-wrap { position: relative; }
.ab-figures-wrap .ab-figures { position: relative; z-index: 1; }

/* ---------- Organic photo shapes, echoing the founding collage ---------- */
.ab-who-card:nth-child(odd) .ab-who-photo { border-radius: 999px 999px var(--ab-radius) var(--ab-radius); }
.ab-who-card:nth-child(even) .ab-who-photo { border-radius: 90px 22px 90px 22px; }
.ab-country-photo { border-radius: 110px 22px 110px 22px; }
.ab-milestone-photo { border-radius: 56px 14px 56px 14px; }

@media (max-width: 1100px) {
  .ab-hero-inner { grid-template-columns: 1fr minmax(0, 300px); }
}
@media (max-width: 720px) {
  .ab-mark svg { height: .45em; }
  .ab-who-card:nth-child(odd) .ab-who-photo { border-radius: 160px 160px var(--ab-radius) var(--ab-radius); }
}

@media (max-width: 900px) {
  .ab-hero-inner { grid-template-columns: 1fr; }
  .ab-hero-africa { display: none; }
}
/* Values: the statement, then six values in three columns */
.ab-values-intro { max-width: 860px; margin-bottom: clamp(20px, 2.6vw, 30px); }
/* Section head with the heading on the left and a short note on the right */
.ab-head-split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: end; gap: 14px clamp(28px, 4vw, 64px); }
.ab-head-split .ab-head-sub { margin: 0; }
@media (max-width: 900px) {
  .ab-head-split { grid-template-columns: 1fr; }
}

/* Faces from the programme: participant portraits under the results */
.ab-proof-faces { grid-column: 1 / -1; margin: 6px 0 0; }
.ab-proof-faces ul { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; list-style: none; margin: 0; padding: 0; }
.ab-proof-faces li { aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--ab-sand); }
.ab-proof-faces li:nth-child(even) { border-radius: 18px 18px 999px 999px; }
.ab-proof-faces img { width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 22%; }
.ab-proof-faces figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ab-soft); }
/* Group photo in the founding collage: keep the people on the right inside the curve */
.ab-col-group img { object-position: 70% 50% !important; }
@media (max-width: 720px) {
  .ab-proof-faces ul { grid-template-columns: repeat(4, 1fr); gap: 8px; }
}

/* Leadership faces: three people, each with photo, name and role */
.ab-team > .ab-eyebrow { flex: 1 1 100%; margin: 0; }
.ab-team-faces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; margin: 4px 0 6px; }
.ab-team-faces li { grid-template-columns: 104px minmax(0, 1fr); column-gap: 18px; }
.ab-team-photo { width: 104px; height: 104px !important; box-shadow: 0 0 0 4px #fff, 0 12px 26px rgba(11, 61, 46, .16); }
.ab-team-faces strong { font-family: var(--ab-serif); font-weight: 600; font-size: 20px; line-height: 1.2; }
.ab-team-faces small { font-size: 14px; margin-top: 4px; }
@media (max-width: 1000px) {
  .ab-team-faces li { grid-template-columns: 80px minmax(0, 1fr); column-gap: 14px; }
  .ab-team-photo { width: 80px; height: 80px !important; }
  .ab-team-faces strong { font-size: 17px; }
}
@media (max-width: 720px) {
  .ab-team-faces { grid-template-columns: 1fr; gap: 14px; }
  .ab-team-faces li { grid-template-columns: 72px minmax(0, 1fr); }
  .ab-team-photo { width: 72px; height: 72px !important; }
}

/* Founder's words inside the founding story */
.ab-founder-quote { margin: 26px 0 22px; padding: 4px 0 4px 22px; border-left: 3px solid var(--ab-blue); }
.ab-founder-quote blockquote { margin: 0; }
.ab-founder-quote blockquote p { margin: 0; font-family: var(--ab-serif); font-size: clamp(20px, 1.8vw, 24px) !important; line-height: 1.38 !important; color: var(--ab-green) !important; }
.ab-founder-quote figcaption { margin-top: 12px; font-size: 14px; color: var(--ab-soft); }
.ab-founder-quote figcaption strong { color: var(--ab-deep); }
.ab-founder-quote figcaption span { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ab-blue); }

/* Partners: logos in brand-neutral grey until hovered */
.ab .ab-partners { padding-bottom: clamp(48px, 6vw, 80px); }
.ab-logos { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); align-items: center; gap: clamp(18px, 2.6vw, 36px); list-style: none; margin: 0; padding: clamp(22px, 2.6vw, 32px) 0; border-top: 1px solid var(--ab-line); border-bottom: 1px solid var(--ab-line); }
.ab-logos li { display: flex; align-items: center; justify-content: center; height: 54px; }
.ab-logos img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .2s ease, opacity .2s ease; }
.ab-logos li:hover img { filter: none; opacity: 1; }
.ab-logos .ab-logo-icpac img, .ab-logos .ab-logo-icpac:hover img { filter: brightness(0); opacity: .72; }
.ab-logos .ab-logo-fadeco, .ab-logos .ab-logo-world-food-programme { height: 64px; }
.ab-partners-links { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 22px 0 0 !important; }
@media (max-width: 900px) {
  .ab-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
  .ab-logos li { height: 46px; }
}
@media (max-width: 420px) {
  .ab-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
}

/* Silent film over the opening photographs (fades in once playing) */
.ab-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.ab-hero.has-video .ab-hero-video { opacity: 1; }
.ab-hero.has-video .ab-hero-img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ab-hero-video { display: none; } }
