/* Afro Edge Zimbabwe: home page
   Signature: the leaf corner. Photos take the two-leaf shape of the logo mark
   (two opposite corners rounded, two sharp). */

:root {
  --ink: #14110F;
  --paper: #FFFFFF;
  --orange: #FF6504;
  --orange-text: #E85A00; /* orange for large text on white: 3.5:1 */
  --earth: #9A3F14;
  --sand: #F5ECE0;
  --leaf: #2D5A3D;
  --muted: #5B534D;
  --line: rgba(20, 17, 15, 0.14);

  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --max: 1200px;
  --leaf-r: clamp(48px, 9vw, 128px);
  --leaf-r-sm: clamp(36px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
}
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--earth);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--orange); }
.eyebrow--earth { color: var(--earth); }

.section__title,
.edge__title,
.hero__title,
.close__title,
.card__title,
.path__title {
  font-family: var(--display);
  font-variation-settings: "wdth" 88;
  letter-spacing: -0.025em;
  line-height: 1;
}
.section__title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
.section__title--light { color: var(--paper); }
.section__intro { max-width: 60ch; margin-top: 20px; color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 52ch; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; border: 2px solid transparent; border-radius: 999px;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: #ff7a26; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2a2420; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--line-light { border-color: rgba(255, 255, 255, 0.55); color: var(--paper); }
.btn--line-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.textlink {
  font-family: var(--display); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--orange); padding-bottom: 2px; display: inline-block;
}
.textlink--light { color: var(--paper); }
.textlink span { display: inline-block; transition: transform 0.18s ease; }
.textlink:hover span, .card__link:hover .textlink span { transform: translateX(4px); }

/* ---------- Leaf corner ---------- */
.leaf { border-radius: 0 var(--leaf-r) 0 var(--leaf-r); width: 100%; object-fit: cover; }
.leaf--flip { border-radius: var(--leaf-r) 0 var(--leaf-r) 0; }
.leaf--sm { border-radius: 0 var(--leaf-r-sm) 0 var(--leaf-r-sm); aspect-ratio: 16 / 10; max-height: 460px; width: 100%; }
.leaf--sm.leaf--flip { border-radius: var(--leaf-r-sm) 0 var(--leaf-r-sm) 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { height: 44px; width: auto; }

.nav-toggle {
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
  background: none; border: 2px solid var(--ink); border-radius: 999px;
  padding: 8px 18px; color: var(--ink); cursor: pointer;
}
.nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 24px; display: none;
}
.nav.is-open { display: block; }
.nav__list a {
  display: block; padding: 14px 0; font-family: var(--display); font-weight: 600; font-size: 1.15rem;
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.nav__donate { margin-top: 20px; width: 100%; }

/* ---------- Hero ---------- */
.hero { padding-top: 32px; }
.hero__grid { display: grid; gap: 36px; align-items: center; }
.hero__title { font-size: clamp(2.7rem, 8.4vw, 5.6rem); font-weight: 800; margin-bottom: 24px; }
.hero__accent { color: var(--orange-text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }

.hero__figure { position: relative; }
.leaf-back {
  position: absolute; inset: 7% -3% -5% 8%;
  background: var(--orange);
  border-radius: 0 var(--leaf-r) 0 var(--leaf-r);
  z-index: 0;
}
.hero__figure .leaf { position: relative; z-index: 1; aspect-ratio: 5 / 4; }

.facts { margin-top: 56px; background: var(--ink); color: var(--paper); }
.facts__list { display: grid; gap: 4px; padding-block: 18px; font-size: 0.98rem; }
.facts__list strong { font-family: var(--display); color: var(--orange); margin-right: 6px; }

/* ---------- Why here ---------- */
.edge { background: var(--ink); color: var(--paper); padding: 72px 0 80px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.edge__grid { display: grid; gap: 32px; }
.edge__title { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 700; max-width: 18ch; }
.edge__text { display: grid; gap: 18px; color: rgba(255, 255, 255, 0.86); max-width: 54ch; align-content: start; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--sand { background: var(--sand); padding: 56px 0; }
.section__head { margin-bottom: 40px; }
.section__head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }

/* ---------- Programme cards ---------- */
.cards { display: grid; gap: 40px 28px; }
.card__link { display: grid; gap: 14px; text-decoration: none; align-content: start; }
.card__title { font-size: 1.7rem; font-weight: 800; margin-top: 8px; }
.card p { color: var(--muted); }
.card .textlink { justify-self: start; margin-top: 4px; color: var(--ink); }

/* ---------- Loop ---------- */
.loop { background: var(--sand); padding: 76px 0; }
.loop__grid { display: grid; gap: 40px; align-items: center; }
.loop__copy { display: grid; gap: 18px; align-content: start; }
.loop__copy p { max-width: 56ch; }
.loop__figure { max-width: 540px; width: 100%; justify-self: center; }
.loop__svg { width: 100%; height: auto; }
.loop__nodes circle { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.loop__nodes text { font-family: var(--display); font-weight: 700; font-size: 17px; fill: var(--ink); }
.loop__arcs path { animation: march 2.4s linear infinite; }
@keyframes march { to { stroke-dashoffset: -32; } }

/* ---------- Dashboard ---------- */
.dash {
  aspect-ratio: 16 / 9; min-height: 260px; width: 100%;
  border: 2px dashed var(--ink); border-radius: 0 var(--leaf-r-sm) 0 var(--leaf-r-sm);
  background: var(--sand); overflow: hidden; display: grid;
}
.dash__frame { width: 100%; height: 100%; border: 0; }
.dash__placeholder { display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px; color: var(--muted); }
.dash__placeholder strong { color: var(--ink); font-family: var(--display); font-size: 1.2rem; }
.dash__links { margin-top: 20px; }

/* ---------- Ways to help ---------- */
.paths { display: grid; gap: 20px; }
.path {
  display: grid; gap: 10px; grid-template-rows: auto auto 1fr auto; align-content: stretch;
  padding: 28px 26px 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0 var(--leaf-r-sm) 0 var(--leaf-r-sm);
}
.path:nth-child(even) { border-radius: var(--leaf-r-sm) 0 var(--leaf-r-sm) 0; }
.path__title { font-size: 2.1rem; font-weight: 800; color: var(--orange); }
.path__who { font-family: var(--display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.path p:not(.path__who) { color: rgba(255, 255, 255, 0.88); margin-bottom: 10px; }
.path .btn { justify-self: start; }

/* ---------- Partners ---------- */
.partners { display: grid; gap: 28px; align-items: center; }
.partners__logos { display: flex; flex-wrap: wrap; gap: 20px; }
.partners__logo {
  min-width: 240px; min-height: 96px; padding: 20px 28px;
  background: var(--paper); border-radius: 0 28px 0 28px;
  display: grid; place-items: center;
}
.partners__logo img { max-height: 64px; width: auto; }
.partners__placeholder { font-family: var(--display); font-weight: 700; color: var(--muted); text-align: center; }

/* ---------- Stories ---------- */
.strip { display: grid; gap: 28px; }
.strip figcaption { margin-top: 12px; color: var(--muted); font-size: 0.98rem; }

/* ---------- Closing call ---------- */
.close { background: var(--orange); padding: 72px 0; }
.close__inner { display: grid; gap: 18px; justify-items: start; }
.close__title { font-size: clamp(2.4rem, 7vw, 5rem); font-weight: 800; }
.close p { max-width: 50ch; font-size: 1.15rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.85); padding: 64px 0 0; }
.footer__grid { display: grid; gap: 36px; }
.footer__brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 36ch; }
.footer__head { font-family: var(--display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.footer__address { font-style: normal; }
.footer__list { display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  margin-top: 48px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem; color: rgba(255, 255, 255, 0.7);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .facts__list { grid-template-columns: repeat(3, auto); justify-content: space-between; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .paths { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .partners { grid-template-columns: 1fr 2fr; }
  .edge__grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; display: flex; align-items: center; gap: 28px;
    padding: 0; background: none; border: 0;
  }
  .nav__list { display: flex; gap: 26px; }
  .nav__list a { padding: 6px 0; border: 0; font-size: 1rem; font-weight: 600; position: relative; }
  .nav__list a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--orange);
    transition: right 0.2s ease;
  }
  .nav__list a:hover::after { right: 0; }
  .nav__donate { margin: 0; width: auto; min-height: 44px; padding: 8px 24px; }

  .hero { padding-top: 56px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .cards { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .loop__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .paths { grid-template-columns: repeat(4, 1fr); }
  .section, .loop { padding: 104px 0; }
  .edge { padding: 96px 0 104px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loop__arcs path { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .textlink span { transition: none; }
}

/* =====================================================
   Inner pages: programmes overview and programme pages
   ===================================================== */
.crumbs { font-family: var(--display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs a:hover { border-color: var(--orange); }
.crumbs span { margin-inline: 8px; }

.phero { padding: 36px 0 24px; }
.phero__grid { display: grid; gap: 36px; align-items: center; }
.phero__title { font-family: var(--display); font-variation-settings: "wdth" 88; font-weight: 800; letter-spacing: -0.03em; line-height: 0.98; font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 22px; }
.phero__figure { position: relative; }
.phero__figure .leaf { position: relative; z-index: 1; aspect-ratio: 4 / 3; }

.block { padding: 64px 0; }
.block--sand { background: var(--sand); }
.block--ink { background: var(--ink); color: var(--paper); }
.block__grid { display: grid; gap: 28px; }
.block__title { font-family: var(--display); font-variation-settings: "wdth" 88; font-weight: 800; letter-spacing: -0.025em; line-height: 1; font-size: clamp(1.9rem, 4vw, 3rem); }
.block__text { display: grid; gap: 16px; max-width: 60ch; align-content: start; }
.block--ink .block__text { color: rgba(255, 255, 255, 0.86); }

.items { display: grid; gap: 0; }
.item { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.item:last-child { border-bottom: 1px solid var(--line); }
.item__title { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.item p { color: var(--muted); max-width: 62ch; }

.gallery { display: grid; gap: 20px; }
.gallery figure img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }

.record { display: grid; gap: 14px; }
.record li { padding-left: 28px; position: relative; max-width: 60ch; }
.record li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 14px;
  background: var(--orange); border-radius: 0 10px 0 10px;
}
.tag {
  display: inline-block; font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--orange); color: var(--ink); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}

.support { background: var(--orange); padding: 64px 0; }
.support__inner { display: grid; gap: 18px; justify-items: start; }
.support__title { font-family: var(--display); font-variation-settings: "wdth" 88; font-weight: 800; letter-spacing: -0.025em; line-height: 1; font-size: clamp(2rem, 5vw, 3.6rem); }
.support p { max-width: 54ch; font-size: 1.1rem; }
.support__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.btn--line-ink { border-color: var(--ink); color: var(--ink); }
.btn--line-ink:hover { background: var(--ink); color: var(--paper); }

.related { display: grid; gap: 0; }
.related a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.3rem;
}
.related li:last-child a { border-bottom: 1px solid var(--line); }
.related a span { color: var(--earth); transition: transform 0.18s ease; }
.related a:hover span { transform: translateX(6px); }

/* overview rows */
.rows { display: grid; gap: 64px; }
.row { display: grid; gap: 24px; align-items: center; }
.row__title { font-family: var(--display); font-variation-settings: "wdth" 88; font-weight: 800; letter-spacing: -0.025em; line-height: 1; font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 14px; }
.row__text { display: grid; gap: 14px; align-content: start; max-width: 52ch; }
.row__text p { color: var(--muted); }
.row .textlink { justify-self: start; }
.callout {
  display: grid; gap: 14px; padding: 32px 28px; background: var(--sand);
  border-radius: 0 var(--leaf-r-sm) 0 var(--leaf-r-sm);
}
.callout p { max-width: 62ch; }
.callout .textlink { justify-self: start; }

@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery--two { grid-template-columns: repeat(2, 1fr); }
  .block__grid { grid-template-columns: 1fr 1.4fr; gap: 64px; }
  .related { grid-template-columns: repeat(3, 1fr); column-gap: 28px; }
  .related li:last-child a { border-bottom: 0; }
  .related a { border-bottom: 1px solid var(--line); }
}
@media (min-width: 1040px) {
  .phero { padding-top: 56px; }
  .phero__grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .block, .support { padding: 96px 0; }
  .row { grid-template-columns: 1fr 1fr; gap: 72px; }
  .row:nth-child(even) .row__media { order: 2; }
}

/* =====================================================
   Partner page
   ===================================================== */
.ways { display: grid; gap: 20px; }
.way {
  display: grid; gap: 10px; align-content: start; padding: 28px 26px 30px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 0 var(--leaf-r-sm) 0 var(--leaf-r-sm);
}
.way:nth-child(even) { border-radius: var(--leaf-r-sm) 0 var(--leaf-r-sm) 0; }
.way__title { font-family: var(--display); font-variation-settings: "wdth" 88; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.05; }
.way__tag { font-family: var(--display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--earth); }
.way p:not(.way__tag) { color: var(--muted); }

.steps { display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.steps li::before {
  content: counter(step); grid-row: span 2;
  font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--orange);
}
.steps__title { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.steps p { color: rgba(255, 255, 255, 0.82); max-width: 56ch; }

.pair { display: grid; gap: 20px; }
.pair__col { padding: 26px 24px; background: var(--paper); border-radius: 0 var(--leaf-r-sm) 0 var(--leaf-r-sm); display: grid; gap: 8px; align-content: start; }
.pair__col + .pair__col { border-radius: var(--leaf-r-sm) 0 var(--leaf-r-sm) 0; }
.pair__role { font-family: var(--display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--earth); }
.pair__name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.pair__col p:not(.pair__role) { color: var(--muted); }
.pair__fact { margin-top: 8px; font-family: var(--display); font-weight: 700; }

.form { display: grid; gap: 18px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-family: var(--display); font-weight: 700; font-size: 0.98rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  font: inherit; width: 100%; padding: 13px 14px; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 10px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.field fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.form__row { display: grid; gap: 18px; }
.form__note { font-size: 0.92rem; color: var(--muted); }
.form__status { font-family: var(--display); font-weight: 700; min-height: 1.4em; }
.form .btn { justify-self: start; cursor: pointer; }

@media (min-width: 760px) {
  .ways { grid-template-columns: repeat(2, 1fr); }
  .pair { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1040px) {
  .ways { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================
   About page
   ===================================================== */
.timeline { display: grid; gap: 0; }
.timeline li { display: grid; gap: 4px 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline__when { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--earth); line-height: 1.1; }
.timeline__what { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.timeline p { color: var(--muted); max-width: 58ch; }

.forces { display: grid; gap: 20px; margin-top: 32px; }
.force { padding: 28px 26px 30px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 0 var(--leaf-r-sm) 0 var(--leaf-r-sm); display: grid; gap: 10px; align-content: start; }
.force:nth-child(even) { border-radius: var(--leaf-r-sm) 0 var(--leaf-r-sm) 0; }
.force__title { font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; color: var(--orange); line-height: 1; }
.force p:not(.force__title) { color: rgba(255, 255, 255, 0.86); }

.values { display: grid; gap: 0; }
.values li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.values li:last-child { border-bottom: 1px solid var(--line); }
.values strong { font-family: var(--display); font-size: 1.2rem; font-weight: 700; }
.values span { color: var(--muted); }

.people { display: grid; gap: 32px; grid-template-columns: 1fr; }
.person { display: grid; gap: 6px; align-content: start; padding: 32px 30px 34px; background: var(--sand); border-radius: 0 var(--leaf-r-sm) 0 var(--leaf-r-sm); }
.person:nth-child(even) { border-radius: var(--leaf-r-sm) 0 var(--leaf-r-sm) 0; }
.person__role { font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--earth); }
.person__name { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.person p:not(.person__role) { color: var(--muted); font-size: 0.95rem; line-height: 1.65; margin-top: 6px; }

.logos { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.logos li { min-width: 200px; min-height: 84px; padding: 16px 22px; background: var(--paper); border-radius: 0 24px 0 24px; display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 700; color: var(--muted); }
.logos--bare li { background: none; padding: 0; min-height: 0; min-width: 0; text-align: left; place-items: start; border-radius: 0; }

@media (min-width: 760px) {
  .timeline li { grid-template-columns: 160px 1fr; }
  .timeline__when { grid-row: span 2; }
  .forces { grid-template-columns: repeat(3, 1fr); }
  .people { grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }
  .values { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
  .values li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* =====================================================
   Donate page
   ===================================================== */
.give { background: var(--sand); padding: 28px 22px 30px; border-radius: 0 var(--leaf-r-sm) 0 var(--leaf-r-sm); display: grid; gap: 22px; }
.give__title { font-family: var(--display); font-variation-settings: "wdth" 88; font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1; }
.give fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.give legend { font-family: var(--display); font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 4px; gap: 4px; }
.seg label { cursor: pointer; }
.seg input, .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; text-align: center; padding: 10px 12px; border-radius: 999px; font-family: var(--display); font-weight: 700; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span, .chips input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chips label { cursor: pointer; }
.chips span {
  display: grid; place-items: center; min-height: 56px; padding: 8px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 0 18px 0 18px;
  font-family: var(--display); font-weight: 800; font-size: 1.2rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.chips label:hover span { background: #fff1e6; }
.chips input:checked + span { background: var(--orange); }
.give__custom { display: grid; gap: 6px; }
.give__custom label, .give__prog label { font-family: var(--display); font-weight: 700; font-size: 0.95rem; }
.give input[type="number"], .give select {
  font: inherit; width: 100%; padding: 13px 14px; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 10px;
}
.give__prog { display: grid; gap: 6px; }
.give__impact { min-height: 3.2em; color: var(--muted); font-size: 0.98rem; }
.give .btn { width: 100%; cursor: pointer; font-size: 1.1rem; min-height: 56px; }
.give__status { font-family: var(--display); font-weight: 700; min-height: 1.4em; }
.give__note { font-size: 0.9rem; color: var(--muted); }

.faq { display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--earth); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 62ch; }

.bank { display: grid; gap: 6px; padding: 24px; background: var(--paper); border-radius: 0 var(--leaf-r-sm) 0 var(--leaf-r-sm); max-width: 520px; }
.bank dt { font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--earth); margin-top: 8px; }
.bank dd { margin: 0; font-weight: 600; }

@media (min-width: 1040px) {
  .give { padding: 36px 34px 38px; }
  .donate-hero { align-items: start; }
}

.give__custom[hidden] { display: none; }

/* =====================================================
   Volunteer page
   ===================================================== */
.twocol { display: grid; gap: 28px; }
.listcard { padding: 26px 24px; background: var(--sand); border-radius: 0 var(--leaf-r-sm) 0 var(--leaf-r-sm); display: grid; gap: 12px; align-content: start; }
.listcard + .listcard { border-radius: var(--leaf-r-sm) 0 var(--leaf-r-sm) 0; }
.listcard__title { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; }
.ticks { display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; background: var(--orange); border-radius: 0 8px 0 8px; }
.ticks--no li::before { background: var(--ink); border-radius: 50%; width: 8px; height: 8px; left: 2px; top: 0.7em; }

.table { width: 100%; border-collapse: collapse; max-width: 520px; }
.table caption { text-align: left; font-family: var(--display); font-weight: 700; padding-bottom: 12px; }
.table th, .table td { text-align: left; padding: 12px 0; border-top: 1px solid var(--line); }
.table th { font-weight: 600; }
.table td { font-family: var(--display); font-weight: 800; font-size: 1.15rem; text-align: right; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 1px solid var(--line); }
.draft { display: inline-block; font-size: 0.85rem; color: var(--earth); font-weight: 600; margin-top: 12px; }

.form select { font: inherit; width: 100%; padding: 13px 14px; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; }
.field input[type="number"], .field input[type="date"], .field input[type="month"] {
  font: inherit; width: 100%; padding: 13px 14px; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 10px;
}

@media (min-width: 760px) {
  .twocol { grid-template-columns: repeat(2, 1fr); }
}

.dash--live { border-style: solid; background: var(--paper); }

/* =====================================================
   Stories page
   ===================================================== */
.stories { display: grid; gap: 40px 28px; }
.story__link { display: grid; gap: 14px; text-decoration: none; align-content: start; }
.story__tag { font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--earth); }
.story__title { font-family: var(--display); font-variation-settings: "wdth" 88; font-weight: 800; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1.05; }
.story p { color: var(--muted); }
.story .textlink { justify-self: start; color: var(--ink); }
.story--lead .story__title { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.story--lead .leaf { aspect-ratio: 16 / 10; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button {
  font-family: var(--display); font-weight: 700; font-size: 0.95rem; cursor: pointer;
  padding: 9px 18px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.filters button:hover { background: #fff1e6; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.gallery-count { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }

.gallery-grid { columns: 2; column-gap: 14px; }
.gallery-grid li { break-inside: avoid; margin-bottom: 14px; }
.gallery-grid li[hidden] { display: none; }
.gallery-grid button { display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; border-radius: 0 28px 0 28px; overflow: hidden; }
.gallery-grid li:nth-child(even) button { border-radius: 28px 0 28px 0; }
.gallery-grid img { width: 100%; height: auto; transition: transform 0.35s ease; }
.gallery-grid button:hover img { transform: scale(1.04); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20, 17, 15, 0.92); }
.lightbox__inner { height: 100%; display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; padding: 56px 16px 20px; gap: 14px; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 0 40px 0 40px; }
.lightbox__cap { color: #fff; font-family: var(--display); font-weight: 600; text-align: center; }
.lightbox__btn {
  position: fixed; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: rgba(20, 17, 15, 0.6);
  color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.lightbox__btn:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }

@media (min-width: 760px) {
  .stories { grid-template-columns: repeat(2, 1fr); }
  .story--lead { grid-column: 1 / -1; }
  .gallery-grid { columns: 3; }
}
@media (min-width: 1040px) {
  .stories { grid-template-columns: repeat(3, 1fr); }
  .story--lead { grid-column: 1 / -1; grid-template-columns: 1.3fr 1fr; }
  .story--lead .story__link { grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
  .gallery-grid { columns: 4; }
}

/* =====================================================
   Contact page
   ===================================================== */
.contact-grid { display: grid; gap: 40px; }
.details { display: grid; gap: 22px; align-content: start; }
.details dl { margin: 0; display: grid; gap: 4px; }
.details dt { font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--earth); margin-top: 14px; }
.details dd { margin: 0; font-size: 1.1rem; font-weight: 500; }
.details a { text-underline-offset: 4px; }
.map {
  min-height: 220px; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 24px;
  background: var(--sand); color: var(--muted); border-radius: 0 var(--leaf-r-sm) 0 var(--leaf-r-sm);
}
.hint {
  padding: 16px 18px; background: var(--paper); border-left: 6px solid var(--orange); border-radius: 0 14px 14px 0; font-size: 0.98rem;
}
.hint a { font-weight: 700; }
.contact-form { max-width: none; }

@media (min-width: 1040px) {
  .contact-grid { grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
}

.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; }

/* =====================================================
   Motion: warm, fresh, peaceful
   Hidden start states only exist when js/motion.js has
   run (class "motion" on the html element), so the site
   is fully visible without JavaScript or with reduced motion.
   ===================================================== */
:root { --ease: cubic-bezier(0.22, 0.8, 0.24, 1); }
::selection { background: var(--orange); color: var(--ink); }

/* scroll progress and header */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--orange), #ffb066); transform-origin: 0 50%; transform: scaleX(0); z-index: 70; pointer-events: none; }
.site-header { position: sticky; }

/* ambient warmth behind heroes */
.hero, .phero, .support, .close { position: relative; overflow: hidden; }
.hero > .wrap, .phero > .wrap, .support > .wrap, .close > .wrap, .facts { position: relative; z-index: 1; }
.hero::before, .phero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: min(70vw, 820px); height: min(70vw, 820px); right: -14%; top: -22%;
  background: radial-gradient(closest-side, rgba(255, 101, 4, 0.16), rgba(255, 101, 4, 0));
}
.hero::after, .phero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: min(60vw, 700px); height: min(60vw, 700px); left: -16%; bottom: -30%;
  background: radial-gradient(closest-side, rgba(245, 236, 224, 0.95), rgba(245, 236, 224, 0));
}
.motion .hero::before, .motion .phero::before { animation: glow 20s ease-in-out infinite alternate; }
.motion .hero::after, .motion .phero::after { animation: glow2 26s ease-in-out infinite alternate; }
@keyframes glow { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6%, 8%, 0) scale(1.12); } }
@keyframes glow2 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(8%, -6%, 0) scale(1.1); } }

/* drifting leaves */
.drift { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.drift span {
  position: absolute; left: var(--x); bottom: -50px; width: var(--s); height: var(--s); opacity: 0;
  animation: rise var(--t) linear var(--dl) infinite;
}
.drift svg { width: 100%; height: 100%; display: block; }
@keyframes rise {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  12% { opacity: var(--o); }
  50% { transform: translate3d(calc(var(--dx) * 0.4), -45vh, 0) rotate(calc(var(--r) * 0.4)); }
  88% { opacity: var(--o); }
  100% { transform: translate3d(var(--dx), -110vh, 0) rotate(var(--r)); opacity: 0; }
}

/* headings: words rise into place */
.motion .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.motion .wi { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.motion .is-in .wi { transform: none; }

/* soft fade-up for blocks */
.motion .rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.motion .rv.is-in { opacity: 1; transform: none; }
.motion .rv--scale { transform: translate3d(0, 22px, 0) scale(0.97); }
.motion .rv--scale.is-in { transform: none; }
.motion .gallery-grid li.rv { transition: opacity 1s var(--ease); transform: none; }

/* photos unveil */
.leaf { transition: border-radius 0.9s var(--ease); }
.motion .ul {
  opacity: 0; scale: 1.06; clip-path: inset(8% 8% 8% 8%);
  transition: opacity 1.2s var(--ease), scale 1.8s var(--ease), clip-path 1.4s var(--ease), border-radius 0.9s var(--ease);
}
.motion .ul.is-in { opacity: 1; scale: 1; clip-path: inset(0); }

/* the leaf corners swap on hover */
.card__link:hover .leaf--sm, .story__link:hover .leaf--sm { border-radius: var(--leaf-r-sm) 0 var(--leaf-r-sm) 0; }
.card__link:hover .leaf--sm.leaf--flip, .story__link:hover .leaf--sm.leaf--flip { border-radius: 0 var(--leaf-r-sm) 0 var(--leaf-r-sm); }
.hero__figure:hover .leaf, .phero__figure:hover .leaf { border-radius: var(--leaf-r) 0 var(--leaf-r) 0; }
.hero__figure .leaf, .phero__figure .leaf { will-change: translate; }
.leaf-back { will-change: translate; transition: border-radius 0.9s var(--ease); }
.hero__figure:hover .leaf-back, .phero__figure:hover .leaf-back { border-radius: var(--leaf-r) 0 var(--leaf-r) 0; }

/* buttons: lift and a soft shine */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform 0.9s var(--ease);
}
.btn:hover::after { transform: translateX(130%); }
.btn--ink::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.16) 50%, transparent 70%); }
.motion .nav__donate { animation: ring 6s ease-out infinite; }
@keyframes ring { 0%, 70% { box-shadow: 0 0 0 0 rgba(255, 101, 4, 0.45); } 100% { box-shadow: 0 0 0 16px rgba(255, 101, 4, 0); } }

/* links: the underline grows */

/* the circular economy loop comes to life */
.loop__svg .loop__mark { transform-box: fill-box; transform-origin: center; animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.07; } }
.loop__dot { filter: drop-shadow(0 0 6px rgba(255, 101, 4, 0.55)); }
.motion .loop__nodes g { opacity: 0; transition: opacity 1s var(--ease); }
.motion .loop__nodes circle { transform-box: fill-box; transform-origin: center; scale: 0.55; transition: scale 1.1s cubic-bezier(0.3, 1.35, 0.5, 1); }
.motion .loop__arcs path { opacity: 0; transition: opacity 1.2s var(--ease); }
.motion .loop__figure.is-in .loop__nodes g, .motion .loop__figure.is-in .loop__arcs path { opacity: 1; }
.motion .loop__figure.is-in .loop__nodes circle { scale: 1; }
.motion .loop__nodes g:nth-child(1), .motion .loop__nodes g:nth-child(1) circle, .motion .loop__arcs path:nth-child(1) { transition-delay: 0.2s; }
.motion .loop__nodes g:nth-child(2), .motion .loop__nodes g:nth-child(2) circle, .motion .loop__arcs path:nth-child(2) { transition-delay: 0.55s; }
.motion .loop__nodes g:nth-child(3), .motion .loop__nodes g:nth-child(3) circle, .motion .loop__arcs path:nth-child(3) { transition-delay: 0.9s; }
.motion .loop__nodes g:nth-child(4), .motion .loop__nodes g:nth-child(4) circle, .motion .loop__arcs path:nth-child(4) { transition-delay: 1.25s; }

/* numbers */
.stats { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 4px 0 6px; }
.stats li { display: grid; gap: 2px; }
.stats strong { font-family: var(--display); font-variation-settings: "wdth" 88; font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -0.03em; line-height: 1; color: var(--earth); font-variant-numeric: tabular-nums; }
.stats span { font-size: 0.92rem; color: var(--muted); }

/* photo viewer */
.lightbox[open]::backdrop { animation: fadein 0.45s ease; }
.lightbox[open] .lightbox__img { animation: settle 0.7s var(--ease); }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { opacity: 0; transform: scale(0.96) translateY(10px); } to { opacity: 1; transform: none; } }

/* reduced motion: stop everything, show everything */
@media (prefers-reduced-motion: reduce) {
  .drift, .progress, .loop__dot { display: none; }
  .hero::before, .hero::after, .phero::before, .phero::after, .nav__donate, .loop__svg .loop__mark { animation: none; }
  .btn::after { display: none; }
  .leaf, .leaf-back, .textlink { transition: none; }
}


/* =====================================================
   Motion v2: inertia scroll, pinned gallery, scrub text,
   magnetic buttons, cursor accent
   ===================================================== */

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* header: shadow fades (opacity) and the logo scales, nothing changes size */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 26px; pointer-events: none;
  background: linear-gradient(rgba(20, 17, 15, 0.09), rgba(20, 17, 15, 0));
  opacity: 0; transition: opacity 0.5s ease;
}
.site-header.is-scrolled::after { opacity: 1; }
.brand img { transform-origin: left center; transition: scale 0.5s var(--ease); }
.site-header.is-scrolled .brand img { scale: 0.88; }

/* scrubbed text: words wake up as you read */
.motion .sw { opacity: 0.22; }

/* the pinned programmes gallery (wide, tall screens). Otherwise it is the normal card grid. */
.hs__bar { display: none; }
.hs.is-pinned { padding: 0; }
.hs.is-pinned .hs__pin {
  position: sticky; top: 72px; height: calc(100vh - 72px);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; align-items: center;
  overflow: hidden; padding: 26px 0 22px;
}
.hs.is-pinned .section__head { margin-bottom: 0; }
.hs.is-pinned .hs__viewport { overflow: hidden; align-self: center; max-width: none; padding-inline: 0; }
.hs.is-pinned .hs__track { display: flex; gap: 44px; width: max-content; padding-inline: var(--hs-pad, 48px); will-change: transform; }
.hs.is-pinned .card { flex: 0 0 min(30vw, 430px); }
.hs.is-pinned .card .leaf--sm { aspect-ratio: 16 / 11; }
.hs.is-pinned .hs__bar { display: block; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: 14px; }
.hs__bar span { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

/* small screens: simple, touch-friendly cards that settle gently as you scroll */
@media (max-width: 899px) {
  html { scroll-snap-type: y proximity; }
  .hs .card, .stories .story { scroll-snap-align: center; scroll-margin-top: 84px; }
}

/* magnetic buttons: a backdrop grows out from where the pointer entered */
.btn { --fill: rgba(20, 17, 15, 0.1); transition: translate 0.5s var(--ease), transform 0.2s ease; }
.btn--orange { --fill: #ffa94d; }
.btn--ink { --fill: #4a3f38; }
.btn--line { --fill: var(--sand); }
.btn--line-light { --fill: rgba(255, 255, 255, 0.2); }
.btn--line-ink { --fill: rgba(20, 17, 15, 0.14); }
.btn__fill {
  position: absolute; z-index: -1; left: var(--fx, 50%); top: var(--fy, 50%);
  width: 340%; aspect-ratio: 1 / 1; translate: -50% -50%; scale: 0; border-radius: 50%;
  background: var(--fill); pointer-events: none; transition: scale 0.7s var(--ease);
}
.btn:hover .btn__fill, .btn:focus-visible .btn__fill { scale: 1; }
/* with motion on, hover colour changes come from the fill, not from a background swap */
.motion .btn--orange:hover { background: var(--orange); }
.motion .btn--ink:hover { background: var(--ink); }
.motion .btn--line:hover { background: transparent; color: var(--ink); }
.motion .btn--line-light:hover { background: transparent; color: var(--paper); border-color: rgba(255, 255, 255, 0.55); }
.motion .btn--line-ink:hover { background: transparent; color: var(--ink); }

/* links: the underline is a bar that scales, not a background that resizes */
.textlink { position: relative; background: none; }
.textlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
  transform-origin: 50% 100%; transition: transform 0.45s var(--ease);
}
.textlink:hover::after { transform: scaleY(3); }
.textlink:hover { background: none; }

/* desktop nav: a soft pill appears behind the link */
@media (min-width: 1040px) {
  .nav__list a { position: relative; isolation: isolate; }
  .nav__list a::before {
    content: ""; position: absolute; z-index: -1; inset: -7px -13px; border-radius: 999px; background: var(--sand);
    opacity: 0; scale: 0.7; transition: opacity 0.35s var(--ease), scale 0.45s var(--ease);
  }
  .nav__list a:hover::before, .nav__list a[aria-current]::before { opacity: 1; scale: 1; }
  .nav__list a[aria-current]::after { right: 0; }
}

/* cursor accent */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 90; opacity: 0; transition: opacity 0.3s ease; }
.cursor { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 2px solid rgba(255, 101, 4, 0.75); border-radius: 50%; transition: opacity 0.3s ease, scale 0.45s var(--ease), background-color 0.3s ease; }
.cursor-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--orange); }
.cursor.is-on, .cursor-dot.is-on { opacity: 1; }
.cursor.is-link { scale: 1.7; background-color: rgba(255, 101, 4, 0.12); }
.cursor.is-view { scale: 2.1; background-color: rgba(255, 101, 4, 0.16); }
.cursor.is-down { scale: 0.75; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .cursor, .cursor-dot, .btn__fill { display: none; }
  .site-header::after, .brand img, .textlink::after { transition: none; }
  html { scroll-snap-type: none; }
}

/* The live dashboard shows at its full length, exactly as it does in Looker Studio:
   square corners, no border, no inner scrolling. The ratio follows the report page, trimmed just below its last chart. */
.dash.dash--live { aspect-ratio: 1136 / 1650; min-height: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.dash.dash--live .dash__frame { display: block; width: 100%; height: 100%; border: 0; }

/* food waste project: figures */
.statband { display: grid; gap: 30px 24px; grid-template-columns: repeat(2, 1fr); margin-top: 8px; }
.statband li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid rgba(255, 255, 255, 0.28); }
.statband strong { font-family: var(--display); font-variation-settings: "wdth" 88; font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.03em; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.statband span { color: rgba(255, 255, 255, 0.86); font-size: 0.98rem; max-width: 30ch; }
.statband b { color: #fff; font-weight: 600; }
@media (min-width: 1040px) { .statband { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .statband { grid-template-columns: 1fr; } }

/* contact map */
.map { padding: 0; min-height: 0; display: block; overflow: hidden; background: var(--sand); border-radius: 0 var(--leaf-r-sm) 0 var(--leaf-r-sm); aspect-ratio: 16 / 10; max-height: 460px; width: 100%; }
.map__frame { display: block; width: 100%; height: 100%; border: 0; }
.map__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }

/* partner logos */
.plogos { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.plogos li { flex: 1 1 220px; max-width: 300px; }
.plogos a {
  display: grid; place-items: center; height: 100%; min-height: 124px; padding: 20px 26px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 0 28px 0 28px;
  transition: translate 0.4s var(--ease), border-color 0.3s ease;
}
.plogos li.is-dark a { background: var(--ink); border-color: var(--ink); }
.plogos li:nth-child(even) a { border-radius: 28px 0 28px 0; }
.plogos a:hover { translate: 0 -4px; border-color: var(--orange); }
.plogos img { max-height: 76px; max-width: 100%; width: auto; height: auto; }

.plogos li.is-round img { max-height: 96px; }

/* a logo supplied without a link is a plain tile */
.plogos li:not(:has(a)) { display: grid; place-items: center; min-height: 124px; padding: 16px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 0 28px 0 28px; }
.plogos li:not(:has(a)) img { max-height: 92px; }

/* partner logos: a slow, endless loop */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__inner { display: flex; width: max-content; will-change: transform; animation: marquee 38s linear infinite; }
.marquee .plogos { display: flex; flex-wrap: nowrap; gap: 16px; padding-right: 16px; flex: none; }
.marquee .plogos li { flex: 0 0 240px; max-width: none; }
.marquee .plogos li:not(:has(a)) { min-height: 124px; }
.marquee:hover .marquee__inner, .marquee:focus-within .marquee__inner { animation-play-state: paused; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__inner { animation: none; width: auto; }
  .marquee .plogos { flex-wrap: wrap; }
  .marquee .plogos[aria-hidden="true"] { display: none; }
  .marquee .plogos li { flex: 1 1 220px; max-width: 300px; }
}
.marquee { padding: 8px 0; }

.give__cancel { padding: 12px 14px; background: var(--paper); border-left: 6px solid var(--orange); border-radius: 0 12px 12px 0; font-size: 0.98rem; }
.give__cancel[hidden] { display: none; }

/* Partner tiles v2: smaller logos, generous padding, aspect ratio always kept */
.plogos a, .plogos li:not(:has(a)) { min-height: 128px; padding: 28px 30px; }
.plogos img { width: 100%; height: 66px; max-height: none; object-fit: contain; }
.plogos li.is-round img { height: 76px; }
.marquee .plogos li { flex: 0 0 212px; }
.marquee .plogos { gap: 18px; padding-right: 18px; }
.marquee__inner { animation-duration: 70s; }
