/**
 * EBF Impact Horizon visual system.
 * Developed by AngelB — https://angelb.org/
 */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/newsreader-latin-variable.woff2") format("woff2");
}

:root {
  --plum: #42124f;
  --plum-deep: #25102d;
  --plum-soft: #f3e8f4;
  --gold: #f2c34f;
  --gold-soft: #fff2c9;
  --paper: #fbf7f2;
  --white: #ffffff;
  --ink: #211a22;
  --muted: #62566a;
  --green: #145f51;
  --green-soft: #e1f1ec;
  --coral: #bf584d;
  --line: rgba(66, 18, 79, 0.16);
  --line-dark: rgba(255, 255, 255, 0.18);
  --shadow: 0 22px 60px rgba(37, 16, 45, 0.18);
  --shadow-small: 0 12px 34px rgba(37, 16, 45, 0.12);
  --radius: 16px;
  --max: 1200px;
  --body: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Newsreader", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: -999px;
  z-index: 9999;
  border-radius: 10px;
  background: var(--gold);
  color: var(--plum-deep);
  padding: 0.75rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  left: 10px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.topline {
  background: var(--plum-deep);
  color: #f6edf7;
  font-size: 0.82rem;
}

.topline__inner,
.topline__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topline__inner {
  min-height: 38px;
}

.topline__promise {
  font-weight: 700;
}

.topline__contact a {
  color: #fff;
}

.topline__contact a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: rgba(251, 247, 242, 0.96);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 28px rgba(37, 16, 45, 0.08);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 24px;
}

.brand,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.custom-logo {
  width: auto;
  max-width: 220px;
  max-height: 68px;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--plum);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-small);
}

.brand-copy {
  display: grid;
  max-width: 235px;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.primary-nav {
  margin-left: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu li {
  position: relative;
}

.menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 11px;
  border-radius: 10px;
  color: #382a3c;
  font-size: 0.9rem;
  font-weight: 750;
}

.menu a:hover,
.menu .current-menu-item > a,
.menu .current_page_item > a {
  background: var(--plum-soft);
  color: var(--plum);
}

.menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  min-width: 220px;
  gap: 3px;
  margin: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 21px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.header-cta,
.btn--gold {
  background: var(--gold);
  color: var(--plum-deep);
  box-shadow: 0 12px 28px rgba(164, 118, 13, 0.2);
}

.btn--light {
  background: var(--white);
  color: var(--plum);
  box-shadow: var(--shadow-small);
}

.btn--outline {
  border-color: var(--line);
  background: transparent;
  color: var(--plum);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  padding: 11px;
  cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 3px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.home-hero {
  position: relative;
  overflow: hidden;
  background: var(--plum);
  color: #fff;
}

.impact-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.78;
}

.home-hero::before,
.home-hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-hero::before {
  top: -180px;
  right: -100px;
  width: 430px;
  height: 430px;
  background: rgba(242, 195, 79, 0.18);
}

.home-hero::after {
  bottom: -210px;
  left: -170px;
  width: 390px;
  height: 390px;
  border: 70px solid rgba(255, 255, 255, 0.06);
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  min-height: 690px;
  gap: clamp(40px, 6vw, 82px);
  padding: 70px 0 84px;
}

.home-hero__copy h1 {
  max-width: 720px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(3.4rem, 6.4vw, 5.8rem);
  line-height: 0.98;
}

.home-hero__copy > p {
  max-width: 610px;
  margin: 0;
  color: #f0e5f2;
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-report-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 440px;
  margin-top: 34px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-report-link svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-report-link:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-collage {
  position: relative;
  min-height: 560px;
}

.hero-collage__primary {
  position: absolute;
  inset: 0 0 48px 9%;
  margin: 0;
}

.hero-collage__primary img,
.hero-collage__fallback {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 28px 76px rgba(18, 6, 24, 0.36);
}

.hero-collage__primary::after {
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border: 1px solid rgba(242, 195, 79, 0.6);
  border-radius: var(--radius);
  content: "";
}

.hero-collage__primary figcaption {
  position: absolute;
  top: 16px;
  right: 18px;
  bottom: auto;
  max-width: 250px;
  border-radius: 10px;
  background: rgba(37, 16, 45, 0.88);
  color: #fff;
  padding: 9px 12px;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-collage__secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38%;
  height: 230px;
  overflow: hidden;
  border: 8px solid var(--plum);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-collage__secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-collage__message {
  position: absolute;
  right: -12px;
  bottom: 12px;
  display: grid;
  max-width: 280px;
  gap: 2px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--plum-deep);
  padding: 18px 20px;
  box-shadow: var(--shadow-small);
}

.hero-collage__message strong {
  font-size: 0.96rem;
}

.hero-collage__message span {
  font-size: 0.78rem;
  font-weight: 650;
}

.hero-collage__fallback {
  display: grid;
  align-content: center;
  gap: 6px;
  background: #f4e7ef;
  color: var(--plum);
  padding: 36px;
}

.hero-collage__fallback strong {
  font-family: var(--display);
  font-size: 5rem;
}

.motion-ready .hero-collage__primary {
  animation: ebf-image-arrival 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.motion-ready .hero-collage__secondary {
  animation: ebf-image-detail 760ms 120ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.motion-ready .will-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.motion-ready .will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms), transform 620ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}

@keyframes ebf-image-arrival {
  from {
    clip-path: inset(4% 0 0 0 round 16px);
    transform: translateY(12px);
    filter: saturate(0.82);
  }
  to {
    clip-path: inset(0 round 16px);
    transform: translateY(0);
    filter: saturate(1);
  }
}

@keyframes ebf-image-detail {
  from {
    transform: translate(-10px, 10px);
    filter: saturate(0.85);
  }
  to {
    transform: translate(0, 0);
    filter: saturate(1);
  }
}

.impact-proof {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 38px 0 0;
}

.impact-proof__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.impact-proof__head h2 {
  max-width: 620px;
  margin: 0;
  color: var(--plum);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.impact-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.impact-stat {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 154px;
  padding: 28px 26px 34px 0;
}

.impact-stat + .impact-stat {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.impact-stat strong {
  color: var(--plum);
  font-family: var(--display);
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.impact-stat span {
  max-width: 24ch;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.section {
  padding: 96px 0;
}

.section h2,
.get-involved-section h2,
.footer-cta h2,
.page-hero h1,
.single-hero h1 {
  margin: 0;
  color: var(--plum);
  font-size: clamp(2.55rem, 5vw, 5rem);
  line-height: 1.02;
}

.intro-section {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
}

.intro-copy {
  max-width: 65ch;
  color: #514657;
  font-size: 1.08rem;
}

.intro-copy p:first-child {
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 650;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--green);
  font-weight: 800;
}

.text-link__icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.text-link:hover .text-link__icon {
  transform: translateX(4px);
}

.programmes-section {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.programmes-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(50px, 8vw, 120px);
}

.section-head {
  max-width: 790px;
  margin-bottom: 38px;
}

.programmes-intro {
  position: sticky;
  top: 150px;
  margin: 0;
}

.programmes-intro h2 {
  font-size: clamp(2.5rem, 4vw, 4.3rem);
}

.programmes-intro p {
  max-width: 48ch;
  margin: 24px 0 0;
  color: var(--muted);
}

.programmes-list {
  border-top: 1px solid var(--line);
}

.programme-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.programme-item__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--plum-soft);
  color: var(--plum);
}

.programme-item__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.programme-item h3 {
  margin: 1px 0 7px;
  color: var(--plum);
  font-size: 1.3rem;
  line-height: 1.25;
}

.programme-item p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
}

.campaign-section {
  overflow: hidden;
  background: var(--gold-soft);
}

.campaign-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(350px, 0.98fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.campaign-feature__media {
  position: relative;
}

.campaign-feature__media::before {
  position: absolute;
  top: -30px;
  right: -30px;
  z-index: 0;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: var(--plum);
  content: "";
}

.campaign-feature__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.campaign-feature__copy > p {
  max-width: 60ch;
  color: #514657;
  font-size: 1.06rem;
}

.campaign-needs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.campaign-needs li {
  border: 1px solid rgba(66, 18, 79, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  padding: 7px 12px;
  color: var(--plum);
  font-size: 0.82rem;
  font-weight: 750;
}

.reports-section {
  background: var(--white);
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  gap: 28px;
}

.section-head--split h2 {
  max-width: 720px;
}

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

.post-card__media {
  display: block;
  height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--plum-soft);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), filter 300ms ease;
}

.post-card:hover .post-card__media img {
  transform: scale(1.035);
  filter: saturate(1.06);
}

.post-card__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: rgba(66, 18, 79, 0.45);
  font-family: var(--display);
  font-size: 3.2rem;
}

.post-card__body {
  padding: 20px 3px 0;
}

.post-card time,
.single-hero time {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.post-card h3 {
  margin: 9px 0 9px;
  color: var(--plum);
  font-size: 1.2rem;
  line-height: 1.3;
}

.post-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.post-card .text-link {
  font-size: 0.88rem;
}

.get-involved-section {
  position: relative;
  overflow: hidden;
  background: var(--plum);
  color: #fff;
  padding: 88px 0;
}

.get-involved-section::after {
  position: absolute;
  right: -110px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border: 60px solid rgba(242, 195, 79, 0.18);
  border-radius: 50%;
  content: "";
}

.involved-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: start;
  gap: clamp(50px, 8vw, 120px);
}

.involved-copy h2 {
  color: #fff;
}

.involved-copy p {
  max-width: 54ch;
  color: #f0e5f2;
}

.involved-actions {
  border-top: 1px solid var(--line-dark);
}

.involved-actions > a {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 25px 48px 25px 0;
  border-bottom: 1px solid var(--line-dark);
}

.involved-actions > a .text-link__icon {
  position: absolute;
  top: 50%;
  right: 2px;
  width: 24px;
  height: 24px;
  color: var(--gold);
  transform: translateY(-50%);
  transition: transform 160ms ease;
}

.involved-actions > a:hover .text-link__icon {
  transform: translate(5px, -50%);
}

.involved-actions strong {
  color: #fff;
  font-size: 1.16rem;
}

.involved-actions span {
  color: #e4d5e7;
  font-size: 0.9rem;
}

.page-hero,
.single-hero {
  background: var(--plum);
  color: #fff;
  padding: 84px 0;
}

.compact-hero {
  padding: 72px 0;
}

.page-hero__grid,
.single-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}

.page-hero h1,
.single-hero h1 {
  max-width: 900px;
  color: #fff;
}

.compact-hero p {
  max-width: 620px;
  margin: 18px 0 0;
  color: #eee1f1;
  font-size: 1.05rem;
}

.page-hero__image img,
.single-hero__image img {
  width: 100%;
  height: 390px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 24px 65px rgba(18, 6, 24, 0.3);
}

.single-meta {
  margin-top: 20px;
}

.single-meta a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-content-section,
.single-report .section {
  background: var(--white);
}

.content-wrap {
  max-width: 72ch;
  font-size: 1.04rem;
}

.content-wrap > :first-child {
  margin-top: 0;
}

.content-wrap h2,
.content-wrap h3,
.content-wrap h4 {
  margin-top: 1.8em;
  margin-bottom: 0.55em;
  color: var(--plum);
  line-height: 1.15;
}

.content-wrap h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.content-wrap a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(20, 95, 81, 0.5);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.content-wrap img {
  border-radius: 12px;
}

.content-wrap blockquote {
  margin: 2em 0;
  border-inline-start: 1px solid var(--plum);
  padding-inline-start: 22px;
  color: var(--plum);
  font-family: var(--display);
  font-size: 1.35rem;
}

.content-wrap pre,
.donation-details {
  overflow-x: auto;
  border-radius: 12px;
  background: var(--gold-soft);
  padding: 18px;
  color: var(--ink);
  font-family: var(--body);
  white-space: pre-wrap;
}

.ebf-contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 52px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ebf-contact-details p {
  margin: 0;
  color: var(--muted);
}

.ebf-contact-details strong {
  color: var(--plum);
}

.ebf-people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
  margin-top: 36px;
}

.ebf-people-grid figure {
  margin: 0;
}

.ebf-people-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
}

.ebf-people-grid figcaption {
  padding-top: 12px;
  color: var(--plum);
}

.gallery,
.wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item,
.wp-block-image {
  margin: 0;
}

.gallery img,
.wp-block-gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.archive-grid {
  align-items: start;
}

.empty-state {
  grid-column: 1 / -1;
  max-width: 680px;
  border-radius: var(--radius);
  background: var(--plum-soft);
  padding: 30px;
}

.empty-state h2,
.empty-state h3 {
  margin-top: 0;
  color: var(--plum);
}

.pagination-wrap {
  margin-top: 48px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.nav-links a,
.nav-links span {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 7px 11px;
}

.nav-links .current {
  border-color: var(--plum);
  background: var(--plum);
  color: #fff;
}

.search-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.search-form label {
  flex: 1;
  min-width: 240px;
}

.search-field,
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select,
.ebf-form input,
.ebf-form textarea,
.ebf-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(66, 18, 79, 0.28);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.ebf-form textarea,
.wpcf7-form textarea {
  min-height: 150px;
  resize: vertical;
}

.search-field:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus,
.ebf-form input:focus,
.ebf-form textarea:focus,
.ebf-form select:focus {
  border-color: var(--plum);
  outline: none;
  box-shadow: 0 0 0 4px rgba(66, 18, 79, 0.12);
}

.ebf-form {
  max-width: 760px;
}

.ebf-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--plum);
  font-size: 0.92rem;
  font-weight: 750;
}

.ebf-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.ebf-form .ebf-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.ebf-form .ebf-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.ebf-form .ebf-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ebf-form [aria-invalid="true"] {
  border-color: var(--coral);
}

.ebf-notice {
  max-width: 760px;
  margin-bottom: 20px;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
}

.ebf-notice.success {
  background: var(--green-soft);
  color: #0b4b3f;
}

.ebf-notice.error {
  background: #fce8e4;
  color: #7d261d;
}

.ebf-request-reference {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}

.ebf-donation-box {
  max-width: 760px;
}

.ebf-donation-box h2 {
  margin-top: 0;
}

.ebf-donation-pending {
  border-radius: 12px;
  background: var(--gold-soft);
  padding: 16px;
}

.site-footer {
  background: var(--plum-deep);
  color: #eee3f0;
}

.footer-cta {
  border-bottom: 1px solid var(--line-dark);
  background: var(--plum);
}

.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  padding: 46px 0;
}

.footer-cta h2 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.footer-cta__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.75fr;
  gap: clamp(36px, 7vw, 86px);
  padding: 66px 0 38px;
}

.footer-brand .brand-mark {
  background: var(--gold);
  color: var(--plum-deep);
  box-shadow: none;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
}

.site-footer h3 {
  margin-bottom: 8px;
}

.site-footer h4 {
  margin: 0 0 14px;
}

.site-footer p,
.site-footer address,
.site-footer a {
  color: #d9cadc;
  font-style: normal;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-brand p {
  max-width: 46ch;
}

.footer-menu {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu .sub-menu {
  display: none;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
  font-size: 0.82rem;
}

.copyright p {
  margin: 0;
}

.copyright__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.copyright__links a[rel="designer"] {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 170ms ease, transform 170ms ease, visibility 0s linear 170ms;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .menu {
    display: grid;
  }

  .menu a {
    justify-content: space-between;
  }

  .menu .sub-menu {
    position: static;
    display: grid;
    min-width: 0;
    margin: 3px 0 6px 15px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .home-hero__grid {
    grid-template-columns: 1fr;
    padding-top: 62px;
  }

  .home-hero__copy {
    max-width: 780px;
  }

  .hero-collage {
    min-height: 600px;
  }

  .programmes-layout,
  .intro-grid,
  .campaign-feature,
  .involved-grid,
  .page-hero__grid,
  .single-hero__grid {
    grid-template-columns: 1fr;
  }

  .programmes-intro {
    position: static;
    max-width: 800px;
  }

  .campaign-feature__media {
    max-width: 820px;
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(var(--max), calc(100% - 30px));
  }

  .topline__promise {
    display: none;
  }

  .topline__contact {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .topline__contact a:last-child {
    overflow: hidden;
    max-width: 48vw;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-shell {
    min-height: 74px;
  }

  .custom-logo {
    max-width: 160px;
    max-height: 58px;
  }

  .brand-copy {
    max-width: 175px;
  }

  .brand-copy strong {
    font-size: 0.72rem;
  }

  .home-hero__grid {
    gap: 42px;
    min-height: 0;
    padding: 50px 0 72px;
  }

  .home-hero__copy h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-report-link {
    margin-top: 26px;
  }

  .hero-collage {
    min-height: 450px;
  }

  .hero-collage__primary {
    inset: 0 0 54px 0;
  }

  .hero-collage__primary::after {
    display: none;
  }

  .hero-collage__primary figcaption {
    top: 12px;
    right: 12px;
    bottom: auto;
  }

  .hero-collage__secondary {
    width: 42%;
    height: 170px;
    border-width: 6px;
  }

  .hero-collage__message {
    right: 0;
    bottom: 5px;
    max-width: 230px;
    padding: 14px 15px;
  }

  .impact-proof__head,
  .section-head--split,
  .footer-cta__inner,
  .copyright {
    display: grid;
    align-items: start;
  }

  .impact-proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-stat:nth-child(3) {
    border-left: 0;
  }

  .impact-stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .impact-stat {
    min-height: 140px;
    padding: 22px 16px 24px 0;
  }

  .impact-stat + .impact-stat {
    padding-left: 16px;
  }

  .section {
    padding: 70px 0;
  }

  .section h2,
  .get-involved-section h2,
  .page-hero h1,
  .single-hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .programme-item {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .programme-item__icon {
    width: 46px;
    height: 46px;
  }

  .campaign-feature__media::before {
    top: -16px;
    right: -12px;
    width: 100px;
    height: 100px;
  }

  .post-grid,
  .footer-grid,
  .ebf-form-grid {
    grid-template-columns: 1fr;
  }

  .post-card__media {
    height: 250px;
  }

  .get-involved-section {
    padding: 70px 0;
  }

  .page-hero,
  .single-hero {
    padding: 62px 0;
  }

  .page-hero__image img,
  .single-hero__image img {
    height: 280px;
  }

  .gallery,
  .wp-block-gallery,
  .ebf-contact-details,
  .ebf-people-grid {
    grid-template-columns: 1fr;
  }

  .gallery img,
  .wp-block-gallery img {
    height: auto;
  }

  .footer-cta__actions {
    width: 100%;
  }

  .footer-cta__actions .btn {
    flex: 1;
  }

  .copyright__links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .topline__contact a:last-child {
    display: none;
  }

  .brand-copy {
    display: grid;
    max-width: 145px;
  }

  .brand-copy strong {
    font-size: 0.64rem;
  }

  .brand-copy small {
    display: none;
  }

  .home-hero__grid {
    gap: 28px;
    padding: 36px 0 58px;
  }

  .home-hero__copy h1 {
    margin-bottom: 18px;
    font-size: clamp(2.65rem, 11.5vw, 3.2rem);
    line-height: 1;
  }

  .home-hero__copy > p {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-report-link {
    margin-top: 22px;
  }

  .hero-collage {
    min-height: 360px;
  }

  .hero-collage__secondary {
    width: 48%;
    height: 145px;
  }

  .hero-collage__message {
    max-width: 190px;
  }

  .hero-collage__message span {
    display: none;
  }

  .impact-proof__grid {
    grid-template-columns: 1fr;
  }

  .impact-stat,
  .impact-stat + .impact-stat {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 20px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Secondary-page field dossier and color modes.
 * Developed by AngelB — https://angelb.org/
 */
:root {
  color-scheme: light;
  --surface-raised: #ffffff;
  --surface-soft: #f3e8f4;
  --heading: #42124f;
  --field: #ffffff;
  --header-bg: rgba(251, 247, 242, 0.96);
  --nav-ink: #382a3c;
  --page-shadow: 0 24px 72px rgba(37, 16, 45, 0.14);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #151117;
  --white: #1d1720;
  --ink: #f6f0f7;
  --muted: #c2b5c5;
  --plum-soft: #2d2032;
  --gold-soft: #3b301b;
  --green: #74c9b6;
  --green-soft: #193f37;
  --coral: #f18477;
  --line: rgba(242, 230, 244, 0.16);
  --surface-raised: #211a24;
  --surface-soft: #2d2032;
  --heading: #f6eaf7;
  --field: #19131c;
  --header-bg: rgba(21, 17, 23, 0.96);
  --nav-ink: #f0e8f1;
  --page-shadow: 0 26px 76px rgba(0, 0, 0, 0.34);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  --shadow-small: 0 12px 34px rgba(0, 0, 0, 0.24);
}

body,
.site-header,
.primary-nav,
.menu .sub-menu,
.programmes-section,
.reports-section,
.page-content-section,
.single-report .section,
.post-card__media,
.search-field,
.ebf-form input,
.ebf-form textarea,
.ebf-form select {
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header {
  background: var(--header-bg);
  backdrop-filter: blur(16px);
}

.brand-logo {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(37, 16, 45, 0.16));
}

.brand-copy strong {
  color: var(--heading);
}

.brand-copy small {
  color: var(--muted);
}

.menu a {
  color: var(--nav-ink);
}

.theme-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--heading);
  padding: 0;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 16, 45, 0.08);
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.theme-toggle:hover {
  transform: translateY(-2px) rotate(4deg);
}

.theme-toggle__icon {
  display: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle[data-mode="system"] .theme-toggle__icon--system,
.theme-toggle[data-mode="light"] .theme-toggle__icon--light,
.theme-toggle[data-mode="dark"] .theme-toggle__icon--dark {
  display: block;
}

.mobile-menu-donate {
  display: none;
}

html[data-theme="dark"] .impact-proof__head h2,
html[data-theme="dark"] .section h2,
html[data-theme="dark"] .programme-item h3,
html[data-theme="dark"] .post-card h3,
html[data-theme="dark"] .content-wrap h2,
html[data-theme="dark"] .content-wrap h3,
html[data-theme="dark"] .content-wrap h4,
html[data-theme="dark"] .empty-state h2,
html[data-theme="dark"] .empty-state h3,
html[data-theme="dark"] .ebf-form label,
html[data-theme="dark"] .ebf-donation-box h2 {
  color: var(--heading);
}

html[data-theme="dark"] .intro-copy,
html[data-theme="dark"] .campaign-feature__copy > p {
  color: var(--muted);
}

html[data-theme="dark"] .campaign-needs li {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--heading);
}

html[data-theme="dark"] .search-field,
html[data-theme="dark"] .wpcf7-form input,
html[data-theme="dark"] .wpcf7-form textarea,
html[data-theme="dark"] .wpcf7-form select,
html[data-theme="dark"] .ebf-form input,
html[data-theme="dark"] .ebf-form textarea,
html[data-theme="dark"] .ebf-form select {
  border-color: var(--line);
  background: var(--field);
  color: var(--ink);
}

html[data-theme="dark"] .btn--light {
  background: var(--surface-raised);
  color: var(--heading);
}

html[data-theme="dark"] .btn--outline {
  color: var(--heading);
}

.page-dossier {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-dossier::before {
  position: absolute;
  top: 0;
  left: max(24px, calc((100vw - var(--max)) / 2));
  width: 82px;
  height: 5px;
  background: var(--gold);
  content: "";
}

.dossier-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: center;
  min-height: 550px;
  gap: clamp(48px, 8vw, 112px);
  padding-top: 74px;
  padding-bottom: 74px;
}

.dossier-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.dossier-path {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.dossier-path a:hover {
  color: var(--heading);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dossier-hero h1,
.reports-intro h1 {
  max-width: 900px;
  margin: 0;
  color: var(--heading);
  font-family: var(--display);
  font-size: clamp(3.5rem, 6.7vw, 6.7rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.dossier-hero__copy > p {
  max-width: 58ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.dossier-hero__action {
  margin-top: 24px;
}

.dossier-hero__media {
  position: relative;
  min-width: 0;
  margin: 0;
}

.dossier-hero__media::before {
  position: absolute;
  inset: -18px 24px 18px -18px;
  z-index: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  content: "";
}

.dossier-hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--page-shadow);
}

.dossier-hero__media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  max-width: 250px;
  border-radius: 9px;
  background: rgba(37, 16, 45, 0.88);
  color: #fff;
  padding: 8px 11px;
  font-size: 0.72rem;
  font-weight: 700;
}

.page-dossier--action {
  background: var(--plum);
}

.page-dossier--action::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 390px;
  height: 390px;
  border: 64px solid rgba(242, 195, 79, 0.18);
  border-radius: 50%;
  content: "";
}

.page-dossier--action .dossier-path,
.page-dossier--action .dossier-hero__copy > p {
  color: #eaddec;
}

.page-dossier--action h1,
.page-dossier--action .text-link {
  color: #fff;
}

.page-dossier--action .text-link__icon {
  color: var(--gold);
}

.page-dossier--support {
  background: var(--gold-soft);
}

.page-dossier--visual .dossier-hero,
.page-dossier--people .dossier-hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.page-body {
  background: var(--white);
  padding: clamp(72px, 9vw, 120px) 0;
}

.page-body__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(50px, 8vw, 118px);
}

.page-context {
  position: sticky;
  top: 150px;
  max-width: 330px;
}

.page-context__rule {
  display: block;
  width: 56px;
  height: 3px;
  margin-bottom: 28px;
  background: var(--gold);
}

.page-context h2 {
  margin: 0;
  color: var(--heading);
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.8vw, 2.6rem);
  line-height: 1.06;
}

.page-context p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.page-content {
  min-width: 0;
  max-width: 860px;
  color: var(--ink);
  font-size: 1.03rem;
}

.page-content > :first-child {
  margin-top: 0;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--heading);
  line-height: 1.15;
}

.page-content h2 {
  margin: 1.7em 0 0.55em;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.page-content h3 {
  margin: 1.55em 0 0.5em;
  font-size: 1.35rem;
}

.page-content a:not(.btn):not(.text-link) {
  color: var(--green);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--green) 45%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.page-content blockquote {
  margin: 2.2em 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  color: var(--heading);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.35;
}

.page-body--about-us .page-content > figure:first-child {
  display: none;
}

.page-body--action .page-content,
.page-body--contact .page-content,
.page-body--support .page-content {
  max-width: 920px;
}

.page-body--action .page-content > h2:first-child,
.page-body--contact .page-content > h2:first-child,
.page-body--support .page-content > h2:first-child {
  margin-top: 0;
}

.page-body--action .ebf-form,
.page-body--contact .ebf-form,
.page-body--support .ebf-donation-box {
  max-width: none;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-raised);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--page-shadow);
}

.page-body--contact .ebf-contact-details {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 32px 0 56px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  padding: 0;
  overflow: hidden;
}

.page-body--contact .ebf-contact-details p {
  min-width: 0;
  padding: 24px;
}

.page-body--contact .ebf-contact-details p + p {
  border-left: 1px solid var(--line);
}

.page-body--visual .page-body__grid,
.page-body--people .page-body__grid {
  grid-template-columns: 1fr;
  gap: 58px;
}

.page-body--visual .page-context,
.page-body--people .page-context {
  position: static;
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(280px, 0.55fr);
  align-items: start;
  max-width: none;
  column-gap: clamp(32px, 7vw, 100px);
  row-gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 38px;
}

.page-body--visual .page-context__rule,
.page-body--people .page-context__rule {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.page-body--visual .page-context p,
.page-body--people .page-context p {
  grid-column: 2;
  margin: 0;
}

.page-body--visual .page-context .text-link,
.page-body--people .page-context .text-link {
  grid-column: 2;
}

.page-body--visual .page-content,
.page-body--people .page-content {
  max-width: none;
}

.page-body--gallery .gallery,
.page-body--gallery .wp-block-gallery {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.page-body--gallery .gallery-item,
.page-body--gallery .wp-block-image {
  grid-column: span 4;
  overflow: hidden;
  border-radius: 14px;
}

.page-body--gallery .gallery-item:nth-child(7n + 1),
.page-body--gallery .wp-block-image:nth-child(7n + 1) {
  grid-column: span 8;
}

.page-body--gallery .gallery-item:nth-child(7n + 4),
.page-body--gallery .wp-block-image:nth-child(7n + 4) {
  grid-column: span 5;
}

.page-body--gallery .gallery-item:nth-child(7n + 5),
.page-body--gallery .wp-block-image:nth-child(7n + 5) {
  grid-column: span 7;
}

.page-body--gallery .gallery img,
.page-body--gallery .wp-block-gallery img {
  height: 310px;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), filter 260ms ease;
}

.page-body--gallery .gallery-item:nth-child(7n + 1) img,
.page-body--gallery .wp-block-image:nth-child(7n + 1) img {
  height: 420px;
}

.page-body--gallery .gallery-item:hover img,
.page-body--gallery .wp-block-image:hover img {
  transform: scale(1.035);
  filter: saturate(1.06);
}

.page-body--people .ebf-people-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 22px;
  margin-top: 42px;
}

.page-body--people .ebf-people-grid figure:nth-child(3n + 2) {
  margin-top: 56px;
}

.page-body--people .ebf-people-grid img {
  box-shadow: var(--page-shadow);
}

.page-body--people .ebf-people-grid figcaption {
  color: var(--heading);
  font-size: 1rem;
  font-weight: 750;
}

.reports-intro {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.reports-intro::after {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 420px;
  height: 420px;
  border: 70px solid color-mix(in srgb, var(--gold) 25%, transparent);
  border-radius: 50%;
  content: "";
}

.reports-intro__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(82px, 10vw, 140px);
  padding-bottom: clamp(70px, 8vw, 112px);
}

.reports-intro h1 {
  max-width: 820px;
}

.reports-intro p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.reports-archive {
  background: var(--white);
  padding: clamp(74px, 9vw, 120px) 0;
}

.reports-stream {
  display: grid;
  gap: clamp(66px, 9vw, 110px);
}

.report-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.report-lead__media {
  display: block;
  min-height: 420px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-soft);
  box-shadow: var(--page-shadow);
}

.report-lead__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.report-lead:hover .report-lead__media img {
  transform: scale(1.025);
}

.report-lead time,
.report-lead__copy > time {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.report-lead h2 {
  margin: 13px 0 18px;
  color: var(--heading);
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  line-height: 1;
}

.report-lead p {
  color: var(--muted);
}

.single-hero {
  padding: clamp(70px, 9vw, 116px) 0 0;
}

.single-report__header {
  display: grid;
  gap: clamp(46px, 7vw, 86px);
}

.single-report__title {
  max-width: 980px;
}

.single-report__back {
  display: table;
  margin-bottom: 34px;
  color: #eaddec;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.single-report__title time {
  display: block;
  color: var(--gold);
}

.single-report__title h1 {
  margin-top: 16px;
  font-size: clamp(3.2rem, 6.7vw, 6.6rem);
  line-height: 0.94;
}

.single-report__image {
  margin: 0 0 -88px;
}

.single-report__image img {
  width: 100%;
  max-height: 720px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 32px 90px rgba(18, 6, 24, 0.38);
}

.single-report__body {
  background: var(--white);
  padding: 170px 0 clamp(80px, 10vw, 130px);
}

.single-report__body-grid {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 0.68fr);
  align-items: start;
  gap: clamp(48px, 8vw, 112px);
}

.single-report__body-grid > aside {
  position: sticky;
  top: 150px;
  border-top: 3px solid var(--gold);
  padding-top: 22px;
  color: var(--muted);
}

.single-report__body .content-wrap {
  max-width: 72ch;
  margin: 0;
}

.footer-brand__lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand__logo {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
}

.footer-brand__lockup h3 {
  max-width: 260px;
  margin: 0;
  line-height: 1.2;
}

@media (max-width: 1180px) {
  .brand-copy {
    max-width: 190px;
  }

  .brand-copy strong {
    font-size: 0.75rem;
  }
}

@media (max-width: 1080px) {
  .theme-toggle {
    margin-left: 0;
  }

  .mobile-menu-donate {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 8px;
    border-radius: 12px;
    background: var(--gold);
    color: var(--plum-deep);
    font-weight: 800;
  }

  .dossier-hero,
  .page-dossier--visual .dossier-hero,
  .page-dossier--people .dossier-hero,
  .report-lead {
    grid-template-columns: 1fr;
  }

  .dossier-hero {
    gap: 54px;
  }

  .dossier-hero__media {
    max-width: 850px;
  }
}

@media (max-width: 800px) {
  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .page-body__grid,
  .single-report__body-grid {
    grid-template-columns: 1fr;
  }

  .page-context,
  .single-report__body-grid > aside {
    position: static;
    max-width: 700px;
  }

  .page-context {
    border-bottom: 1px solid var(--line);
    padding-bottom: 34px;
  }

  .page-body--visual .page-context,
  .page-body--people .page-context {
    grid-template-columns: 1fr;
  }

  .page-body--visual .page-context .text-link,
  .page-body--people .page-context .text-link {
    grid-column: 1;
  }

  .page-body--gallery .gallery-item,
  .page-body--gallery .wp-block-image,
  .page-body--gallery .gallery-item:nth-child(7n + 1),
  .page-body--gallery .wp-block-image:nth-child(7n + 1),
  .page-body--gallery .gallery-item:nth-child(7n + 4),
  .page-body--gallery .wp-block-image:nth-child(7n + 4),
  .page-body--gallery .gallery-item:nth-child(7n + 5),
  .page-body--gallery .wp-block-image:nth-child(7n + 5) {
    grid-column: span 6;
  }

  .page-body--people .ebf-people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-body--people .ebf-people-grid figure:nth-child(3n + 2) {
    margin-top: 0;
  }

  .page-body--people .ebf-people-grid figure:nth-child(even) {
    margin-top: 40px;
  }

  .single-report__body {
    padding-top: 150px;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    gap: 10px;
  }

  .brand-copy {
    max-width: 154px;
  }

  .brand-copy strong {
    font-size: 0.65rem;
  }

  .brand-copy small {
    display: none;
  }

  .menu-toggle,
  .theme-toggle {
    width: 44px;
    height: 44px;
  }

  .dossier-hero {
    min-height: 0;
    gap: 42px;
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .dossier-path {
    margin-bottom: 28px;
  }

  .dossier-hero h1,
  .reports-intro h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .dossier-hero__media::before {
    display: none;
  }

  .dossier-hero__media img {
    aspect-ratio: 5 / 4;
  }

  .page-body--action .ebf-form,
  .page-body--contact .ebf-form,
  .page-body--support .ebf-donation-box {
    margin-right: -4px;
    margin-left: -4px;
  }

  .page-body--contact .ebf-contact-details,
  .page-body--people .ebf-people-grid {
    grid-template-columns: 1fr;
  }

  .page-body--contact .ebf-contact-details p + p {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .page-body--gallery .gallery,
  .page-body--gallery .wp-block-gallery {
    grid-template-columns: 1fr;
  }

  .page-body--gallery .gallery-item,
  .page-body--gallery .wp-block-image,
  .page-body--gallery .gallery-item:nth-child(7n + 1),
  .page-body--gallery .wp-block-image:nth-child(7n + 1),
  .page-body--gallery .gallery-item:nth-child(7n + 4),
  .page-body--gallery .wp-block-image:nth-child(7n + 4),
  .page-body--gallery .gallery-item:nth-child(7n + 5),
  .page-body--gallery .wp-block-image:nth-child(7n + 5) {
    grid-column: 1;
  }

  .page-body--gallery .gallery img,
  .page-body--gallery .wp-block-gallery img,
  .page-body--gallery .gallery-item:nth-child(7n + 1) img,
  .page-body--gallery .wp-block-image:nth-child(7n + 1) img {
    height: auto;
    min-height: 250px;
    max-height: 440px;
  }

  .page-body--people .ebf-people-grid figure:nth-child(even) {
    margin-top: 0;
  }

  .report-lead__media,
  .report-lead__media img {
    min-height: 280px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .single-report__title h1 {
    overflow-wrap: normal;
    font-size: clamp(2.65rem, 10.8vw, 4.4rem);
    hyphens: none;
    word-break: normal;
  }

  .single-report__image {
    margin-bottom: -58px;
  }

  .single-report__image img {
    min-height: 300px;
  }

  .single-report__body {
    padding-top: 116px;
  }

  .footer-brand__lockup {
    align-items: flex-start;
  }
}

/* Living Impact Stage v1.4.5.
 * Exact EBF identity, cinematic field storytelling and accessible motion.
 * Developed by AngelB - https://angelb.org/
 */
:root {
  --plum: #5d1769;
  --plum-deep: #26092f;
  --plum-bright: #a92079;
  --plum-soft: #f1e6f5;
  --gold: #e6bd61;
  --gold-soft: #fff3cf;
  --paper: #f7f3fa;
  --white: #ffffff;
  --ink: #1d1421;
  --muted: #615667;
  --green: #176558;
  --line: rgba(74, 29, 82, 0.15);
  --heading: #3f1149;
  --surface-raised: #ffffff;
  --surface-soft: #f1e6f5;
  --field: #ffffff;
  --header-bg: rgba(247, 243, 250, 0.9);
  --nav-ink: #2f2234;
  --display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --shadow: 0 28px 70px rgba(49, 12, 59, 0.17);
  --shadow-small: 0 14px 34px rgba(49, 12, 59, 0.12);
  --page-shadow: 0 26px 74px rgba(49, 12, 59, 0.15);
}

html[data-theme="dark"] {
  --paper: #0c0710;
  --white: #160e1a;
  --ink: #fff8ff;
  --muted: #d0bfd5;
  --plum: #762684;
  --plum-deep: #17051d;
  --plum-bright: #dd4ba8;
  --plum-soft: #2a1631;
  --gold: #efc86d;
  --gold-soft: #372917;
  --green: #7dd8c3;
  --green-soft: #153c35;
  --coral: #ff8b7d;
  --line: rgba(244, 221, 248, 0.17);
  --surface-raised: #1b1120;
  --surface-soft: #28152f;
  --heading: #fff5ff;
  --field: #120b16;
  --header-bg: rgba(12, 7, 16, 0.9);
  --nav-ink: #f7ebf9;
  --page-shadow: 0 30px 82px rgba(0, 0, 0, 0.46);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --shadow-small: 0 14px 34px rgba(0, 0, 0, 0.3);
}

body {
  background: var(--paper);
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 780;
  letter-spacing: -0.035em;
}

.header-sentinel {
  position: absolute;
  top: 18px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.brand-logo-frame,
.footer-brand__logo-frame {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 10px 24px rgba(50, 14, 59, 0.12);
}

.brand-logo,
.footer-brand__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  filter: none;
}

.brand-copy strong {
  letter-spacing: -0.025em;
}

.home .site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.home .topline {
  pointer-events: auto;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), opacity 180ms ease;
}

.home .nav-shell {
  min-height: 78px;
  margin-top: 14px;
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  padding: 7px 16px;
  box-shadow: 0 24px 60px rgba(32, 7, 39, 0.18);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  pointer-events: auto;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), background-color 180ms ease, box-shadow 180ms ease;
}

.home .site-header.is-scrolled .topline {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.home .site-header.is-scrolled .nav-shell {
  box-shadow: 0 18px 48px rgba(32, 7, 39, 0.22);
  transform: translateY(-38px);
}

html[data-theme="dark"] .home .nav-shell {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(24, 13, 29, 0.92);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.48);
}

.home .menu a:hover,
.home .menu .current-menu-item > a,
.home .menu .current_page_item > a {
  background: var(--plum-soft);
  color: var(--heading);
}

.impact-stage {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--plum-deep);
  color: #fff;
  isolation: isolate;
}

.impact-stage .impact-particles {
  z-index: 4;
  opacity: 0.7;
  mix-blend-mode: screen;
}

.impact-stage__viewport,
.impact-slide,
.impact-slide__media,
.impact-slide__veil {
  position: absolute;
  inset: 0;
}

.impact-stage__viewport {
  z-index: 1;
}

.impact-slide {
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 880ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 880ms;
}

.impact-slide.is-active {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.impact-slide.is-exiting {
  z-index: 1;
  visibility: visible;
}

.impact-slide__media {
  z-index: 0;
  background: #21072a;
}

.impact-slide__media img,
.impact-slide__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.impact-slide__media img {
  transform: scale(1.045);
  filter: saturate(0.94) contrast(1.02);
}

.impact-slide__fallback {
  background: linear-gradient(125deg, #25082e, #681b72);
}

.impact-slide__veil {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(21, 5, 27, 0.95) 0%, rgba(28, 7, 34, 0.83) 36%, rgba(31, 9, 37, 0.28) 69%, rgba(20, 5, 25, 0.4) 100%),
    linear-gradient(0deg, rgba(18, 4, 23, 0.86) 0%, transparent 42%);
}

.impact-slide__layout {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 100dvh;
  padding-top: clamp(170px, 19vh, 210px);
  padding-bottom: 150px;
}

.impact-slide__copy {
  width: min(1060px, 82vw);
}

.impact-slide__copy h1,
.impact-slide__copy h2 {
  max-width: 1060px;
  margin: 0;
  color: #fff;
  font-family: var(--body);
  font-size: clamp(3.35rem, 5.4vw, 4.95rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-wrap: wrap;
}

.impact-slide__copy h2 {
  max-width: 19ch;
  font-size: clamp(3.1rem, 5vw, 4.55rem);
}

.impact-slide__copy > p {
  max-width: 54ch;
  margin: 26px 0 0;
  color: #f1e5f3;
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
  line-height: 1.62;
}

.impact-slide .hero-actions {
  margin-top: 30px;
}

.btn--stage,
.btn--campaign {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(24, 8, 29, 0.3);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--stage:hover,
.btn--campaign:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.13);
}

.impact-stage__controls {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: max-content max-content max-content minmax(80px, 180px) max-content;
  align-items: center;
  justify-content: end;
  gap: 10px;
  pointer-events: none;
}

.story-control,
.story-position,
.story-progress {
  pointer-events: auto;
}

.story-control {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(24, 8, 29, 0.58);
  color: #fff;
  padding: 9px 15px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.story-control:hover {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(93, 23, 105, 0.84);
  transform: translateY(-2px);
}

.story-control:active {
  transform: scale(0.97);
}

.story-position {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.story-progress {
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.story-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition-property: transform;
  transition-timing-function: linear;
}

@media (prefers-reduced-motion: no-preference) {
  .impact-slide.is-active .impact-slide__media img {
    animation: ebf-stage-breathe 7200ms ease-out both;
  }

  .impact-slide.is-active .impact-slide__copy h1,
  .impact-slide.is-active .impact-slide__copy h2 {
    animation: ebf-stage-copy 820ms 130ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .impact-slide.is-active .impact-slide__copy > p {
    animation: ebf-stage-copy 760ms 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .impact-slide.is-active .hero-actions {
    animation: ebf-stage-copy 720ms 340ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

@keyframes ebf-stage-breathe {
  from { transform: scale(1.045); }
  to { transform: scale(1.115); }
}

@keyframes ebf-stage-copy {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(38px);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
    transform: translateY(0);
  }
}

.impact-proof--kinetic {
  border: 0;
  background: var(--white);
  padding: clamp(78px, 9vw, 120px) 0;
}

.impact-proof--kinetic .impact-proof__head {
  margin-bottom: 42px;
}

.impact-proof--kinetic .impact-proof__head h2 {
  max-width: 760px;
  color: var(--heading);
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
  line-height: 1;
}

.impact-proof--kinetic .impact-proof__grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.impact-proof--kinetic .impact-stat {
  grid-column: span 2;
  min-height: 214px;
  border-left: 1px solid var(--line);
  padding: 34px 22px;
}

.impact-proof--kinetic .impact-stat--lead {
  grid-column: span 6;
  border-left: 0;
  padding-left: 0;
}

.impact-proof--kinetic .impact-stat strong {
  color: var(--heading);
  font-family: var(--body);
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.impact-proof--kinetic .impact-stat:not(.impact-stat--lead) strong {
  font-size: clamp(2.2rem, 3.6vw, 3.8rem);
}

.impact-ribbon {
  overflow: hidden;
  background: var(--plum);
  color: #fff;
  padding: 19px 0;
}

.impact-ribbon__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: ebf-impact-ribbon 28s linear infinite;
}

.impact-ribbon__track span {
  position: relative;
  padding: 0 42px;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 800;
  white-space: nowrap;
}

.impact-ribbon__track span::after {
  position: absolute;
  top: 50%;
  right: -3px;
  width: 22px;
  height: 1px;
  background: var(--gold);
  content: "";
}

@keyframes ebf-impact-ribbon {
  to { transform: translateX(-50%); }
}

.story-section {
  overflow: hidden;
  background: var(--paper);
  padding: clamp(90px, 10vw, 138px) 0;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(460px, 1.22fr);
  align-items: center;
  gap: clamp(52px, 8vw, 116px);
}

.story-copy {
  position: relative;
  z-index: 2;
}

.story-copy h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: 0.98;
}

.story-copy p {
  max-width: 60ch;
  color: var(--muted);
}

.story-copy p:first-of-type {
  margin-top: 28px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 650;
}

.story-reel {
  position: relative;
  min-height: 620px;
  --tilt-x: 0px;
  --tilt-y: 0px;
}

.story-reel__frame {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: 16px;
  background: var(--surface-soft);
  box-shadow: var(--page-shadow);
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.story-reel__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 360ms ease;
}

.story-reel__frame:hover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.story-reel__frame--1 {
  top: 0;
  right: 4%;
  width: 69%;
  height: 72%;
  transform: translate(var(--tilt-x), var(--tilt-y)) rotate(2.2deg);
}

.story-reel__frame--2 {
  bottom: 0;
  left: 0;
  width: 52%;
  height: 48%;
  transform: translate(var(--tilt-x), var(--tilt-y)) rotate(-4deg);
}

.story-reel__frame--3 {
  right: 0;
  bottom: 3%;
  width: 35%;
  height: 34%;
  transform: translate(var(--tilt-x), var(--tilt-y)) rotate(5deg);
}

.programmes-section--alive {
  background: var(--white);
  padding: clamp(90px, 10vw, 132px) 0;
}

.programmes-section--alive .programme-item {
  position: relative;
  margin-inline: -18px;
  border-radius: 16px;
  padding: 30px 18px;
  transition: background-color 240ms ease, transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.programmes-section--alive .programme-item:hover {
  background: var(--surface-soft);
  transform: translateX(12px);
}

.programmes-section--alive .programme-item__icon {
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), background-color 180ms ease, color 180ms ease;
}

.programmes-section--alive .programme-item:hover .programme-item__icon {
  background: var(--plum);
  color: #fff;
  transform: rotate(-7deg) scale(1.08);
}

.campaign-section--panorama {
  position: relative;
  background: #340b3d;
  color: #fff;
  padding: clamp(94px, 10vw, 138px) 0;
}

html[data-theme="dark"] .campaign-section--panorama {
  background: #1d0624;
}

.campaign-section--panorama .campaign-feature {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
}

.campaign-section--panorama .campaign-feature__media::before {
  top: auto;
  right: -28px;
  bottom: -28px;
  width: 48%;
  height: 48%;
  border: 1px solid rgba(230, 189, 97, 0.58);
  border-radius: 16px;
  background: transparent;
}

.campaign-section--panorama .campaign-feature__media img {
  aspect-ratio: 5 / 4;
  box-shadow: 0 34px 90px rgba(10, 2, 13, 0.42);
}

.campaign-section--panorama h2 {
  color: #fff;
  font-size: clamp(2.7rem, 4.5vw, 4.8rem);
}

.campaign-section--panorama .campaign-feature__copy > p {
  color: #e8d6ec;
}

.campaign-section--panorama .campaign-needs li,
html[data-theme="dark"] .campaign-section--panorama .campaign-needs li {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.reports-section--mosaic {
  background: var(--paper);
  padding: clamp(90px, 10vw, 132px) 0;
}

.reports-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, auto));
  gap: 28px;
}

.reports-mosaic .post-card {
  min-width: 0;
}

.post-card--lead {
  grid-column: span 7;
  grid-row: span 2;
}

.post-card--compact {
  display: grid;
  grid-column: span 5;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 22px;
}

.post-card--lead .post-card__media {
  height: 520px;
}

.post-card--compact .post-card__media {
  height: 230px;
}

.post-card--compact .post-card__body {
  padding: 0;
}

.post-card--lead h3 {
  max-width: 24ch;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
}

.get-involved-section--cinematic {
  min-height: 650px;
  display: grid;
  align-items: end;
  background: var(--plum-deep);
  padding: clamp(92px, 12vw, 150px) 0;
}

.get-involved-section--cinematic::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(25, 4, 31, 0.96) 0%, rgba(34, 7, 40, 0.82) 48%, rgba(26, 5, 31, 0.56) 100%);
  content: "";
}

.get-involved-section--cinematic::after {
  z-index: 1;
}

.involved-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.involved-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.get-involved-section--cinematic .involved-grid {
  z-index: 2;
}

.get-involved-section--cinematic .involved-copy h2 {
  max-width: 12ch;
  font-size: clamp(3rem, 5.5vw, 5.8rem);
}

.get-involved-section--cinematic .involved-copy p {
  color: #eadced;
}

.get-involved-section--cinematic .involved-actions {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(18, 4, 23, 0.28);
  padding-inline: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.motion-ready [data-motion-reveal="clip"].will-reveal {
  clip-path: inset(0 0 28% 0);
  opacity: 0;
  transform: translateY(34px);
}

.motion-ready [data-motion-reveal="clip"].will-reveal.is-visible {
  clip-path: inset(0);
  opacity: 1;
  transform: translateY(0);
  transition: clip-path 880ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms), opacity 600ms ease var(--reveal-delay, 0ms), transform 880ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}

.motion-ready [data-motion-reveal="image"].will-reveal {
  clip-path: inset(0 70% 0 0 round 16px);
  opacity: 0;
  transform: none;
}

.motion-ready [data-motion-reveal="image"].will-reveal.is-visible {
  clip-path: inset(0 round 16px);
  opacity: 1;
  transition: clip-path 1100ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms), opacity 420ms ease var(--reveal-delay, 0ms);
}

.site-footer {
  background: #17051d;
}

.footer-brand__logo-frame {
  width: 70px;
  height: 70px;
}

@media (max-width: 1080px) {
  .home .nav-shell {
    padding-inline: 12px;
  }

  .story-grid,
  .campaign-section--panorama .campaign-feature {
    grid-template-columns: 1fr;
  }

  .story-copy {
    max-width: 760px;
  }

  .story-reel {
    min-height: 580px;
  }

  .campaign-section--panorama .campaign-feature__media {
    max-width: 900px;
  }

  .reports-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card--lead {
    grid-column: span 2;
    grid-row: auto;
  }

  .post-card--compact {
    grid-column: span 1;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .post-card--compact .post-card__media {
    height: 290px;
  }

  .post-card--compact .post-card__body {
    padding-top: 18px;
  }
}

@media (max-width: 760px) {
  .brand-logo-frame {
    width: 52px;
    height: 52px;
  }

  .home .nav-shell {
    min-height: 68px;
    margin-top: 9px;
  }

  .impact-slide__layout {
    align-items: flex-end;
    padding-top: 168px;
    padding-bottom: 150px;
  }

  .impact-slide__copy {
    width: 100%;
  }

  .impact-slide__copy h1,
  .impact-slide__copy h2 {
    max-width: 15ch;
    font-size: clamp(2.75rem, 11vw, 4rem);
    line-height: 0.98;
  }

  .impact-slide__copy > p {
    max-width: 42ch;
    margin-top: 20px;
    font-size: 0.98rem;
  }

  .impact-slide .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 22px;
  }

  .impact-slide .hero-actions .btn {
    width: auto;
    min-height: 48px;
    padding-inline: 14px;
    font-size: 0.82rem;
  }

  .impact-stage__controls {
    bottom: 17px;
    grid-template-columns: max-content max-content max-content minmax(48px, 1fr) max-content;
    gap: 6px;
  }

  .story-control {
    min-height: 40px;
    padding: 7px 10px;
    font-size: 0.68rem;
  }

  .story-position {
    min-height: 40px;
    font-size: 0.68rem;
  }

  .impact-proof--kinetic .impact-proof__head {
    display: grid;
    align-items: start;
  }

  .impact-proof--kinetic .impact-proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-proof--kinetic .impact-stat,
  .impact-proof--kinetic .impact-stat--lead {
    grid-column: span 1;
    min-height: 166px;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 24px 16px 26px 0;
  }

  .impact-proof--kinetic .impact-stat:nth-child(even) {
    border-left: 1px solid var(--line);
    padding-left: 16px;
  }

  .story-section,
  .programmes-section--alive,
  .campaign-section--panorama,
  .reports-section--mosaic {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .story-reel {
    min-height: 460px;
  }

  .programmes-section--alive .programme-item {
    margin-inline: 0;
    padding-inline: 0;
  }

  .programmes-section--alive .programme-item:hover {
    background: transparent;
    transform: none;
  }

  .campaign-section--panorama .campaign-feature__media::before {
    right: -10px;
    bottom: -12px;
  }

  .reports-mosaic {
    grid-template-columns: 1fr;
  }

  .post-card--lead,
  .post-card--compact {
    grid-column: span 1;
  }

  .post-card--lead .post-card__media,
  .post-card--compact .post-card__media {
    height: 320px;
  }

  .get-involved-section--cinematic {
    min-height: 720px;
  }
}

@media (max-width: 430px) {
  .home .nav-shell {
    width: calc(100% - 20px);
    gap: 8px;
    padding-inline: 9px;
  }

  .brand-logo-frame {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .home .brand-copy {
    max-width: 118px;
  }

  .home .brand-copy strong {
    font-size: 0.58rem;
  }

  .impact-stage {
    min-height: max(100dvh, 760px);
  }

  .impact-slide__layout {
    min-height: max(100dvh, 760px);
    padding-top: 140px;
    padding-bottom: 122px;
  }

  .impact-slide__copy h1,
  .impact-slide__copy h2 {
    max-width: 13.5ch;
    font-size: clamp(2.45rem, 10.8vw, 3.25rem);
  }

  .impact-slide .hero-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .impact-stage__controls {
    grid-template-columns: repeat(4, max-content);
  }

  .story-progress {
    display: none;
  }

  .story-control {
    padding-inline: 8px;
  }

  .impact-proof--kinetic .impact-proof__grid {
    grid-template-columns: 1fr;
  }

  .impact-proof--kinetic .impact-stat,
  .impact-proof--kinetic .impact-stat--lead,
  .impact-proof--kinetic .impact-stat:nth-child(even) {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 22px 0;
  }

  .story-reel {
    min-height: 390px;
  }

  .story-reel__frame--1 {
    width: 76%;
  }

  .story-reel__frame--2 {
    width: 58%;
  }

  .story-reel__frame--3 {
    width: 39%;
  }

  .post-card--lead .post-card__media,
  .post-card--compact .post-card__media {
    height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .impact-ribbon__track {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    animation: none;
  }

  .impact-ribbon__track:nth-child(n + 2),
  .impact-ribbon__track span:nth-child(n + 5) {
    display: none;
  }

  .impact-slide__media img,
  .story-reel__frame,
  .story-reel__frame img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
