/* Heading font: Draft Natural by Ryan Martinson / Yellow Design Studio (commercial
   web licence held by CERC). Files in assets/fonts/draft-natural/. Caveat Brush is the
   fallback while the fonts load. */
@font-face { font-family: "Draft Natural"; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/draft-natural/draft-natural-regular.woff2") format("woff2"),
       url("/assets/fonts/draft-natural/draft-natural-regular.woff") format("woff"); }
@font-face { font-family: "Draft Natural"; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/draft-natural/draft-natural-bold.woff2") format("woff2"),
       url("/assets/fonts/draft-natural/draft-natural-bold.woff") format("woff"); }
@font-face { font-family: "Draft Natural A"; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/draft-natural/draft-natural-a-bold.woff2") format("woff2"); }

/* CERC — static site. Design system modelled on integrityaction.org
   (palette, type scale, spacing and components); CERC content and branding. */
:root {
  --c-primary: #eca327; --c-primary-dk: #ce8812;
  --c-red: #ee7b42; --c-red-dk: #e85b15;
  --c-blue: #4faac6; --c-blue-dk: #3790ab;
  --c-green: #5ab78d; --c-green-dk: #439b73;
  --c-purple: #c671ba;
  --c-navy: #3b3a5e; --c-navy-dk: #27273e;
  --c-text: #414141; --c-muted: #868686; --c-rule: #e3e3e7;
  --bg-light: #f6f6f4; --bg-mid: #efede5;
  --footer-top: #414141; --footer-bottom: #353535;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-display: "Draft Natural", "Caveat Brush", "Barlow", cursive;
  --container: 1280px; --container-wide: 1600px; --gutter: 24px;
  --shadow-card: 0 0 12px 3px rgba(0,0,0,.05); --shadow-card-hover: 0 0 18px 6px rgba(0,0,0,.15);
  --header-h: 93px;
  /* Type scale: every text role uses one of these, so sizes match on every page. */
  --fs-body: 1.1875rem;--lh-body: 1.5;       /* all running text: articles, cards, lists, footer */
  --fs-small: 1rem;                        /* dates, labels, captions, legal lines */
  --fs-lead: 1.625rem;                      /* intro under a page title */
  --fs-display: 3.4375rem;                 /* homepage headline */
  --fs-h1: 3.125rem; --fs-h2: 2.25rem; --fs-h3: 1.625rem; --fs-h4: 1.375rem; --fs-h5: 1.25rem;
}
@media (max-width: 767.98px) {
  :root { --fs-body: 1.125rem; --fs-small: .9375rem; --fs-lead: 1.4375rem; --fs-display: 2.5rem;
    --fs-h1: 2.125rem; --fs-h2: 1.75rem; --fs-h3: 1.375rem; --fs-h4: 1.25rem; --fs-h5: 1.125rem; }
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; color: var(--c-text); font-family: var(--font-body); font-size: 16px; line-height: 1.3; background: #fff; }
img { max-width: 100%; height: auto; }
main { display: block; padding-top: var(--header-h); }
p, ul, ol, address, dl { font-size: var(--fs-body); line-height: var(--lh-body); margin: 0 0 1.25rem; }
a { color: var(--c-red); font-weight: 600; transition: color .2s ease-in-out; }
a:hover { color: #b67910; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; font-synthesis: none; letter-spacing: .01rem; margin: 0 0 .75rem; color: var(--c-primary); }
h1 { font-size: var(--fs-h1); line-height: 1.05; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h3); line-height: 1.1; }
h4 { font-size: var(--fs-h4); line-height: 1.1; }
h5 { font-size: var(--fs-h5); line-height: 1.15; }
h6 { font-family: var(--font-body); font-size: var(--fs-small); font-weight: 700; text-transform: uppercase; letter-spacing: .08rem; margin: 0 0 .75rem; }
:is(p, ul, ol, figure, div) + :is(h2, h3, h4, h5, h6) { margin-top: 2.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.row { display: flex; flex-wrap: wrap; margin: 0 calc(var(--gutter) * -1); }
.row > * { padding: 0 var(--gutter); width: 100%; }
.text-center { text-align: center; }
.text-muted { color: var(--c-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 120px;
  padding: .75rem 1.875rem; border: 2px solid transparent; border-radius: 2.25rem;
  font: 700 .875rem/1em var(--font-body); text-transform: uppercase; letter-spacing: .08rem; text-decoration: none;
  color: #fff; background: var(--c-primary); cursor: pointer;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.btn:hover { color: #fff; background: var(--c-primary-dk); }
.btn-red { background: var(--c-red); } .btn-red:hover { background: var(--c-red-dk); }
.btn-blue { background: var(--c-blue); } .btn-blue:hover { background: var(--c-blue-dk); }
.btn-green { background: var(--c-green); } .btn-green:hover { background: var(--c-green-dk); }
.btn-white { background: #fff; color: var(--c-muted); } .btn-white:hover { background: var(--c-primary); color: #fff; }
.btn-outline { background: transparent; border-color: currentColor; color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.btn .icon { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #fff;
  box-shadow: 0 -5px 18px -5px rgba(17,17,17,.25); padding: 1.125rem 0; transition: background .2s;
}
.header.has-scrolled { background: rgba(255,255,255,.95); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--c-navy); font-weight: 700; flex: none; }
.logo img { width: 58px; height: 58px; }
.logo img.logo--full { width: 220px; height: auto; border-radius: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--c-navy); letter-spacing: .02rem; }
.logo__tag { line-height: 1.25; font-size: .72rem; text-transform: uppercase; letter-spacing: .06rem; color: var(--c-navy); max-width: 15rem; }
.header__nav { display: flex; align-items: center; gap: .5rem; }
.nav-primary { display: flex; align-items: center; }
.nav-primary > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; font-size: 1rem; }
.nav-primary > ul > li { position: relative; }
.nav-primary > ul > li > a {
  position: relative; display: block; padding: .875rem 1rem; color: var(--c-navy); text-decoration: none;
  font: 700 .875rem/.9375rem var(--font-body); text-transform: uppercase; letter-spacing: .08rem;
}
.nav-primary > ul > li > a::after {
  content: ""; position: absolute; bottom: .4375rem; left: 1rem; right: 1rem; height: .125rem; background: var(--c-primary);
  opacity: 0; transform: translateY(.4375rem); transition: opacity .2s, transform .2s;
}
.nav-primary > ul > li > a:hover::after, .nav-primary > ul > li.is-open > a::after,
.nav-primary > ul > li.is-active > a::after { opacity: 1; transform: none; }
.nav-secondary {
  position: absolute; top: 100%; left: 50%; min-width: 15rem; transform: translate(-50%, -2px);
  visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; z-index: 10;
}
.nav-primary > ul > li:hover > .nav-secondary, .nav-primary > ul > li:focus-within > .nav-secondary,
.nav-primary > ul > li.is-open > .nav-secondary { visibility: visible; opacity: 1; }
.nav-secondary ul {
  position: relative; list-style: none; margin: .75rem 0 0; padding: 1.125rem 0; background: var(--c-navy);
  border-radius: 6px; text-align: center; font-size: 1.125rem;
}
.nav-secondary ul::before {
  content: ""; position: absolute; top: -12px; left: 50%; margin-left: -12px;
  border-style: solid; border-width: 0 12px 12px; border-color: transparent transparent var(--c-navy);
}
.nav-secondary a { display: block; padding: .75rem 1.125rem; color: #fff; text-decoration: none; font-weight: 600; line-height: 1.25; }
.nav-secondary a span { background-image: linear-gradient(var(--c-primary), var(--c-primary)); background-size: 0 2px; background-repeat: no-repeat; background-position: 50% 100%; padding-bottom: 4px; transition: background-size .2s; }
.nav-secondary a:hover { color: #fff; }
.nav-secondary a:hover span { background-size: 100% 2px; }
.nav-cta { margin-left: 1.25rem; }
.lang-switch { margin-left: .75rem; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(59,58,94,.7); color: #fff; text-decoration: none; font: 700 .8rem var(--font-body); letter-spacing: .05rem; }
.lang-switch:hover { background: var(--c-primary); color: #fff; }
.nav-handler { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--c-primary); }
.nav-handler span { display: block; width: 26px; height: 3px; margin: 4px 0; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-handler span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-handler span:nth-child(2) { opacity: 0; }
.nav-open .nav-handler span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 90px 0; }
.section--sm { padding: 60px 0; }
.section--lg { padding: 120px 0; }
.bg-light { background: var(--bg-light); }
.bg-mid { background: var(--bg-mid); }
.bg-dark { background: var(--c-navy); color: #fff; }
.bg-dark h2, .bg-dark h3, .bg-dark p { color: #fff; }
.decorate { margin: 21px 0; }
.decorate::before, .decorate::after {
  content: ""; position: absolute; left: 0; right: 0; height: 22px; background: inherit; pointer-events: none;
  -webkit-mask: var(--edge) center / 1200px 22px repeat-x; mask: var(--edge) center / 1200px 22px repeat-x;
}
.decorate::before { top: -21px; }
.decorate::after { bottom: -21px; transform: scaleY(-1); }
:root { --edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V12l40-4 38 5 52-7 46 6 40-8 58 9 36-5 50 4 44-9 52 8 40-3 46 6 52-9 38 5 44-4 56 7 40-8 50 6 42-5 48 7 38-6 54 5 46-7 40 4 52-6 48 8 44-5 40 3V22z'/%3E%3C/svg%3E"); }
.section__tag { display: block; font-size: var(--fs-small); line-height: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08rem; color: var(--c-text); margin: 0 0 .5rem; }
.bg-dark .section__tag { color: #fff; }
.section__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.section__header h2 { margin: 0; }

/* ---------- Home hero ---------- */
.hero--hp { position: relative; min-height: min(560px, calc(100vh - var(--header-h))); display: flex; align-items: center; background: var(--bg-mid); overflow: hidden; }
.hero--hp .hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
@media (min-width: 992px) {
  /* computer: shorter band, softly blurred photo (scaled so blurred edges stay hidden) */
  .hero--hp { min-height: 420px; }
  .hero--hp .hero__content { padding: 2.5rem var(--gutter) 3rem; }
  .hero--hp .hero__bg { filter: blur(6px); transform: scale(1.06); }
}
.hero--hp .hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(239,237,229,.92) 0, rgba(239,237,229,.82) 38%, rgba(239,237,229,.25) 75%); }
.hero--hp .hero__content { position: relative; max-width: 46rem; margin: 0 auto; padding: 3.5rem var(--gutter) 4rem; text-align: center; }
.hero--hp h1 { font-family: "Draft Natural A", var(--font-display); font-size: var(--fs-display); line-height: 1; text-transform: uppercase; letter-spacing: .06rem; color: var(--c-red); margin-bottom: 1.25rem; }
.hero--hp .hero__lead { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-lead); line-height: 1.3; max-width: 37.5rem; margin: 0 auto 2rem; color: var(--c-text); }
.hero__buttons { display: flex; flex-direction: column; gap: .9rem; width: 80%; max-width: 26rem; margin: 0 auto; }
.hero__scroll { position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 50%); color: var(--c-primary); width: 18px; height: 53px; z-index: 2; }

/* ---------- Organic image mask ---------- */
.mask-blob { margin: 0; position: relative; }
.mask-blob img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 75' preserveAspectRatio='none'%3E%3Cpath d='M6 9C14 2 30 3 44 2s30-2 42 3 12 16 12 28-1 26-6 33-18 8-33 8-30 1-41-3S1 58 1 46s0-29 5-37z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 75' preserveAspectRatio='none'%3E%3Cpath d='M6 9C14 2 30 3 44 2s30-2 42 3 12 16 12 28-1 26-6 33-18 8-33 8-30 1-41-3S1 58 1 46s0-29 5-37z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }

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

/* ---------- Briefs (icon blocks) ---------- */
.briefs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; text-align: center; }
.brief .brief__icon { width: 72px; height: 72px; margin: 0 auto 1.25rem; }
.brief p { font-size: var(--fs-body); line-height: var(--lh-body); }
.c-primary { color: var(--c-primary) !important; } .c-red { color: var(--c-red) !important; } .c-blue { color: var(--c-blue) !important; } .c-green { color: var(--c-green) !important; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; text-align: center; }
.stat .icon { width: 90px; height: 90px; margin-bottom: 1rem; }
.stat p { color: var(--c-muted); }
.stat em { display: block; font-style: normal; font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: 2.6rem; line-height: 1.1; color: var(--c-text); margin-bottom: .35rem; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; color: var(--c-text); text-decoration: none; font-weight: 400;
  box-shadow: var(--shadow-card); transition: box-shadow .2s ease-in-out; margin-top: 1.875rem;
}
.card:hover { box-shadow: var(--shadow-card-hover); color: var(--c-text); }
.card-body { padding: 3.75rem 2rem 2rem; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: var(--fs-h3); line-height: 1.1; color: var(--c-text); margin: 0 0 .75rem; }
.card-text { font-size: var(--fs-body); line-height: var(--lh-body); margin: 0; }
.function-icon {
  position: absolute; top: 0; left: 30px; transform: translateY(-50%); z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--c-primary); color: #fff;
}
.function-icon .icon { width: 26px; height: 26px; }
.function-icon--static { position: static; transform: none; margin-bottom: 1rem; }
.info { display: flex; flex-wrap: wrap; font-size: var(--fs-small); line-height: 1.4; color: var(--c-muted); margin: 0 0 .75rem; }
.info > * + * { border-left: 1px solid currentColor; padding-left: 1.125rem; margin-left: 1.125rem; }
.story { display: flex; flex-direction: column; }
.story__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-mid); transition: box-shadow .2s; }
.story__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story__img::after { content: ""; position: absolute; inset: 0; background: rgba(58,59,94,.3); }
.story__img:hover { box-shadow: 0 0 20px 10px rgba(0,0,0,.2); }
.story h3 { font-size: var(--fs-h3); color: var(--c-text); margin: 1.25rem 0 .75rem; }
.story h3 a { color: inherit; text-decoration: none; font-weight: 700; }
.story p { font-size: var(--fs-body); line-height: var(--lh-body); flex: 1; }
.story .btn { align-self: flex-start; }
.blog-link { display: block; text-decoration: none; color: var(--c-text); font-weight: 400; }
.blog-link__title { font-size: var(--fs-h3); line-height: 1.15; color: var(--c-text); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.blog-link:hover .blog-link__title { text-decoration-color: var(--c-primary); }

/* horizontal article cards (listing) */
.hcard { display: grid; grid-template-columns: 1fr 1fr; }
.hcard .card-body { padding: 3.75rem 2.25rem 2.25rem; }
.hcard__img { min-height: 260px; background: var(--bg-mid); }
.hcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hcards { display: flex; flex-direction: column; gap: 3rem; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 2rem; }
.badge { display: inline-block; padding: .5rem 1.125rem; border-radius: 5px; background: var(--c-blue); color: #fff; text-decoration: none; font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08rem; }
.badge:hover, .badge.is-active { background: #2b6f84; color: #fff; }
.count { font-size: var(--fs-lead); color: var(--c-muted); margin-bottom: 1rem; }
.count strong { color: var(--c-text); font-weight: 600; }
.pagination { display: flex; justify-content: center; align-items: center; gap: .75rem; margin-top: 3rem; list-style: none; padding: 0; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none; color: var(--c-text); font-size: 1.1rem; font-weight: 600; }
.pagination a:hover { background: var(--bg-mid); color: var(--c-text); }
.pagination .current { background: var(--c-primary); color: #fff; }

/* featured listing hero */
.hero--overlap { padding: 60px 0 0; }
.featured {
  position: relative; display: block; margin-bottom: -82px; min-height: 420px; padding: 3.375rem 2.25rem 6.375rem;
  background-size: cover; background-position: center; color: #fff; text-decoration: none; font-weight: 400;
  box-shadow: 0 0 25px 12px rgba(0,0,0,.23);
}
.featured::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, #414141 0, rgba(65,65,65,.75) 45%, rgba(134,134,134,0) 100%); }
.featured > * { position: relative; max-width: 36rem; }
.featured .info { color: #fff; }
.featured h1 { font-size: var(--fs-h2); color: #fff; }
.featured p { color: #fff; }
.featured:hover { color: #fff; }
.after-overlap { padding-top: 160px; }

/* ---------- Inner page ---------- */
.page-hero { background: var(--bg-mid); padding: 60px 0; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1rem; font-size: var(--fs-small); font-weight: 600; text-transform: uppercase; letter-spacing: .08rem; color: var(--c-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-primary); }
.page-hero h1 { color: var(--c-red); max-width: 52rem; }
.page-hero .hero__lead { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-lead); line-height: 1.3; max-width: 43.75rem; margin: 0; }
.content-col { max-width: 840px; margin: 0 auto; }
.content-col.wide { max-width: var(--container); }

/* body content typography (WordPress blocks) */
.entry h2, .entry h3, .entry h4, .entry h5 { color: var(--c-primary); }
.entry h2 strong, .entry h3 strong, .entry h4 strong, .entry h5 strong { font-weight: inherit; }
.entry ul:not([class*="cerc-"]) { list-style: none; padding-left: 0; }
.entry ul:not([class*="cerc-"]) > li { position: relative; padding-left: 1.5rem; margin-bottom: .5625rem; }
.entry ul:not([class*="cerc-"]) > li::before { content: ""; position: absolute; left: .375rem; top: .65rem; width: 5px; height: 5px; border-radius: 50%; background: var(--c-primary); }
.entry ol { padding-left: 1.5rem; }
.entry ol > li { margin-bottom: .5625rem; }
.entry li { font-size: var(--fs-body); }
.entry .wp-block-embed iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.entry .cerc-name { color: var(--c-text); }
.entry mark { background: none; color: inherit; }
.entry figcaption, .entry label, .entry blockquote, .entry dd, .entry dt { font-size: var(--fs-body); line-height: var(--lh-body); }
.entry blockquote, .entry .wp-block-quote { margin: 2rem 0; padding: 0; border: 0; }
.entry blockquote p { font-weight: 600; font-style: italic; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-primary); }
.entry blockquote cite { display: block; text-align: right; font-style: normal; color: var(--c-muted); font-size: var(--fs-body); }
.entry img { height: auto; }
.entry table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: var(--fs-body); }
.entry th, .entry td { border: 1px solid var(--c-rule); padding: .6rem .8rem; text-align: left; }
.entry th { background: var(--bg-light); }
.entry .wp-block-media-text { margin-bottom: 2rem; }
.entry .wp-block-media-text__content { padding: 0 2rem; }
.entry .wp-block-columns { gap: 2.5rem; }
.entry hr, .entry .wp-block-separator { border: 0; border-top: 1px solid var(--c-rule); margin: 2.5rem 0; }

/* ---------- Article ---------- */
.article-hero { background: var(--c-navy); padding-top: 60px; }
.article-hero figure { margin: 0 auto -150px; max-width: 1080px; position: relative; z-index: 1; box-shadow: 0 0 25px 12px rgba(0,0,0,.23); }
.article-hero img { display: block; width: 100%; aspect-ratio: 1280 / 630; object-fit: cover; }
.article { padding: 210px 0 60px; }
.article--noimg { padding-top: 90px; }
.article .content-col { position: relative; padding-left: 3rem; }
.article .content-col::before { content: ""; position: absolute; left: 0; top: -60px; bottom: -60px; width: 1px; background: var(--c-rule); }
.article .function-icon { left: 0; top: 0; transform: translate(-50%, -50%); }
.article time { display: block; color: var(--c-muted); font-size: var(--fs-small); margin-bottom: .75rem; }
.article h1 { color: var(--c-text); margin-bottom: 1.5rem; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 2rem; }
.tag { padding: .4rem 1rem; border: 1px solid var(--c-muted); border-radius: 5px; color: var(--c-muted); text-decoration: none; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08rem; }
.tag:hover { background: var(--bg-light); color: var(--c-text); }
.related { padding: 60px 0 90px; }
.related .content-col { position: relative; padding-left: 3rem; }
.related .content-col::before { content: ""; position: absolute; left: 0; top: -60px; bottom: 0; width: 1px; background: var(--c-rule); }
.related h2.h6 { font-family: var(--font-body); font-size: var(--fs-small); color: var(--c-text); text-transform: uppercase; letter-spacing: .08rem; }
.related .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 48px; margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.footer { color: #fff; }
.footer__top { background: var(--footer-top); padding: 60px 0 54px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 48px; }
.footer__title { color: var(--c-primary); font-size: var(--fs-h2); }
.footer p, .footer dd, .footer li { font-size: var(--fs-body); line-height: var(--lh-body); }
.footer a { color: #fff; font-weight: 400; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.list--contact { display: grid; grid-template-columns: 1.6rem 1fr; gap: .4rem 0; margin: 0 0 1.5rem; }
.list--contact dt { color: var(--c-primary); font-weight: 700; font-size: var(--fs-body); }
.list--contact dd { margin: 0; }
.list--social { list-style: none; display: flex; gap: .6rem; padding: 0; margin: 0; }
.list--social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-blue); transition: background .2s; }
.list--social a:hover { background: var(--c-blue-dk); text-decoration: none; }
.list--social .icon { width: 18px; height: 18px; }
.list--arrow { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.list--arrow li { display: flex; gap: .6rem; align-items: center; margin-bottom: .5rem; }
.list--arrow .icon { color: var(--c-primary); width: 14px; height: 14px; }
.footer__legal { font-size: var(--fs-small) !important; color: #cfcfcf; }
.footer__bottom { background: var(--footer-bottom); padding: 21px 0 18px; }
.footer__bottom p { margin: 0; font-size: var(--fs-small); color: #cfcfcf; }

/* ---------- Floating helper ---------- */
.helper { position: fixed; right: 42px; bottom: 42px; z-index: 90; display: flex; align-items: flex-end; gap: 12px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.helper.is-visible { opacity: 1; visibility: visible; }
.helper__box { background: var(--c-green); border-radius: 3px; min-width: 15rem; box-shadow: 0 4px 18px rgba(0,0,0,.15); }
.helper__toggle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; border: 0; background: none; color: #fff; cursor: pointer; padding: .85rem 1rem; font: 700 .9375rem var(--font-body); text-transform: uppercase; letter-spacing: .06rem; }
.helper__toggle i { position: relative; width: 14px; height: 14px; }
.helper__toggle i::before, .helper__toggle i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: #fff; transition: transform .2s; }
.helper__toggle i::after { transform: rotate(90deg); }
.helper.is-open .helper__toggle i::after { transform: rotate(0); }
.helper__links { display: none; list-style: none; margin: 0; padding: 0 .75rem .75rem; }
.helper.is-open .helper__links { display: block; }
.helper__links a { display: block; background: #fff; padding: .7rem .9rem; color: var(--c-muted); font-weight: 700; font-size: 1rem; text-decoration: none; border-top: 2px solid var(--c-rule); }
.helper__links li:first-child a { border-top: 0; border-radius: 2px 2px 0 0; }
.helper__links li:last-child a { border-radius: 0 0 2px 2px; }
.helper__links a:hover { color: var(--c-text); }
.to-top { width: 48px; height: 48px; border-radius: 10px; background: rgba(150,149,163,.7); color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.to-top:hover { background: var(--c-navy); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1279.98px) {
  .nav-primary > ul > li > a { padding: .875rem .7rem; letter-spacing: .05rem; }
  .nav-primary > ul > li > a::after { left: .7rem; right: .7rem; }
  .logo__tag { display: none; }
}
@media (max-width: 991.98px) {
  :root { --gutter: 12px; --header-h: 72px; }
  .header { padding: .5rem 0; }
  .logo img { width: 46px; height: 46px; }
  .nav-handler { display: block; }
  .nav-primary {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--c-navy);
    flex-direction: column; justify-content: flex-start; padding: 2rem 1rem 3rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .nav-open .nav-primary { opacity: 1; visibility: visible; }
  .nav-primary > ul { flex-direction: column; width: 100%; text-align: center; }
  .nav-primary > ul > li { width: 100%; }
  .nav-primary > ul > li > a { color: #fff; font-size: 1rem; padding: 1rem; }
  .nav-primary > ul > li > a::after { display: none; }
  .nav-secondary { position: static; transform: none; visibility: visible; opacity: 1; display: none; min-width: 0; }
  .nav-primary > ul > li.is-open > .nav-secondary { display: block; }
  .nav-secondary ul { margin: 0; border-radius: 0; background: var(--c-navy-dk); }
  .nav-secondary ul::before { display: none; }
  .nav-cta { margin: 1.5rem 0 0; }
  .split, .briefs, .stats, .grid-3, .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .hcard { grid-template-columns: 1fr; }
  .hcard__img { order: -1; min-height: 220px; }
  .related .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .section { padding: 59px 0; } .section--lg { padding: 80px 0; }
  .hero__buttons { width: 100%; }
  .btn { padding: .5625rem 1.125rem; font-size: .8125rem; }
  .logo__name { font-size: 1.5rem; }
  .featured { padding: 2rem 1.25rem 4rem; min-height: 360px; }
  .article { padding-top: 150px; }
  .article-hero figure { margin-bottom: -100px; }
  .article .content-col, .related .content-col { padding-left: 1.5rem; }
  .article .function-icon { position: static; transform: none; margin-bottom: 1rem; }
  .helper { right: 16px; bottom: 16px; }
  .helper__box { min-width: 12rem; }
  .entry .wp-block-media-text__content { padding: 1rem 0 0; }
}

/* ---------- Illustrated section cards (Initiatives) ---------- */
.card--illus .card-illus { margin: 0; background: var(--bg-light); padding: 1.25rem 1.5rem 0; }
.card--illus .card-illus img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: contain; transition: transform .3s; }
.card--illus:hover .card-illus img { transform: scale(1.04); }
.card--illus .card-body { padding-top: 1.75rem; }

/* ---------- Boxed page sections (Research and studies) ---------- */
.study-box { position: relative; background: #fff; box-shadow: var(--shadow-card); padding: 3.75rem 2.25rem 1.75rem; margin: 4rem 0 0; }
.study-box .function-icon { left: 2.25rem; }
.study-box > :first-child + * { margin-top: 0; }
.study-box > :last-child { margin-bottom: 0; }
.study-box + :is(h2, h3, h4) { margin-top: 3.5rem; }

/* ---------- Hero with illustration hanging into the next section ---------- */
.hero-overlap { position: relative; z-index: 5; padding: 60px 0 0; text-align: center; }
.hero-overlap .breadcrumb { justify-content: center; }
.hero-overlap h1 { color: var(--c-red); }
.hero-overlap .hero__lead { font-family: var(--font-display); font-size: var(--fs-lead); line-height: 1.3; max-width: 46rem; margin: 0 auto; }
.hero-overlap__image { margin: 2.5rem auto -120px; max-width: 760px; position: relative; z-index: 4; }
.hero-overlap__image img { display: block; width: 100%; }
.hero-overlap + .section { padding-top: 170px; }

/* ---------- Partner cards (Integrity Action partnerships) ---------- */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.375rem 30px; }
.partner { display: flex; flex-direction: column; }
.partner__image { display: flex; align-items: center; justify-content: center; height: 13.4375rem; padding: 1.75rem; margin: 0; background: #fff; }
.partner__image img { max-height: 100%; max-width: 80%; object-fit: contain; }
.partner__mono { display: inline-flex; align-items: center; justify-content: center; width: 110px; height: 110px; border-radius: 50%;
  background: var(--c-primary); color: #fff; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; }
.partner__text { flex: 1; background: var(--bg-light); padding: 2.25rem 1.875rem 1.875rem; text-align: center; }
.partners-band .partner__text p, .partners-band .partner__text h3 { color: var(--c-text); }
.partners-band .partner__text .partner__tag { color: var(--c-muted); font-size: var(--fs-small); font-weight: 700; text-transform: uppercase; letter-spacing: .08rem; margin: 0 0 .375rem; }
.partner__title { font-size: var(--fs-h3); line-height: 1.1; margin: 0 0 .5rem; }
.partners-band .partner__text .partner__prog { color: var(--c-red); font-weight: 600; margin: 0 0 1rem; }
.partner__desc { text-align: left; margin: 0; }

/* ---------- Light section with a beige block behind the right half ---------- */
.half-mid { overflow: hidden; }
.half-mid .split { position: relative; }
.half-mid__image { margin: 0; position: relative; z-index: 1; }
.half-mid__image img { display: block; width: 100%; max-width: 520px; margin: 0 auto; }
@media (min-width: 992px) {
  .half-mid { background: linear-gradient(to right, var(--bg-light) 50%, var(--bg-mid) 50%); }
}
@media (max-width: 991.98px) {
  .partners { grid-template-columns: repeat(2, 1fr); }
  .hero-overlap__image { margin-bottom: -80px; }
  .hero-overlap + .section { padding-top: 120px; }
}
@media (max-width: 767.98px) {
  .partners { grid-template-columns: 1fr; gap: 2.25rem; }
  .study-box { padding: 3.25rem 1.25rem 1.25rem; }
  .study-box .function-icon { left: 1.25rem; }
  .hero-overlap__image { margin-bottom: -50px; }
  .hero-overlap + .section { padding-top: 90px; }
}
.entry .card-title { color: var(--c-text); }
.study-box > .function-icon + :is(h2, h3, h4, h5) { font-size: var(--fs-h3); color: var(--c-text); }
.study-box > :not(.function-icon + *):is(h3, h4, h5) { font-size: var(--fs-h4); }

/* ---------- Page hero with a side illustration (Team) ---------- */
.page-hero--side { padding-bottom: 0; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; }
.page-hero__grid > div { padding-bottom: 60px; }
.hero__image--side { width: 100%; margin: 0 -65px 0 0; transform: translateY(60px); max-width: 40rem; justify-self: end; position: relative; z-index: 2; }
.hero__image--side img { display: block; width: 100%; }
.page-hero--side + .section { padding-top: 110px; }

/* ---------- Filter pills ---------- */
.filter__list { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 2.25rem; }
.filter__list dt { font-weight: 400; margin-right: .25rem; }
.filter__list dd { margin: 0; }
.filter__list button { border: 0; background: transparent; border-radius: 34px; padding: 9px 18px; font: 600 1rem var(--font-body);
  color: var(--c-text); cursor: pointer; transition: background .2s, color .2s; }
.filter__list button:hover, .filter__list button:focus-visible, .filter__list button.is-active { background: var(--c-primary); color: #fff; }

/* ---------- Team cards (Integrity Action "the team") ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 30px; }
.team-col[hidden] { display: none; }
.team { display: flex; flex-direction: column; height: 100%; background: #fff; box-shadow: var(--shadow-card); color: var(--c-text); text-decoration: none; font-weight: 400; }
.team:hover, .team:focus-visible { box-shadow: var(--shadow-card-hover); color: var(--c-text); }
.team__image { margin: 0; aspect-ratio: 1 / 1; background: var(--bg-mid); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.team__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team__initials { font-family: var(--font-display); font-size: 4rem; color: var(--c-primary); }
.team__details { flex: 1; padding: 1.5rem; }
.team__tag { color: var(--c-primary); font-size: var(--fs-small); font-weight: 700; text-transform: uppercase; letter-spacing: .08rem; margin: 0 0 .375rem; }
.team__name { font-size: var(--fs-h2); line-height: 1.08; color: var(--c-text); margin: 0; }
.team__role { color: var(--c-muted); font-size: var(--fs-small); font-weight: 600; margin: .5rem 0 0; }

/* ---------- Team profile pop-up ---------- */
.team-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 6rem 1rem 2rem;
  background: rgba(59, 58, 94, .9); opacity: 0; transition: opacity .3s; }
.team-modal[hidden] { display: none; }
.team-modal.is-open { opacity: 1; }
.team-modal__dialog { position: relative; width: 100%; max-width: 37.5rem; max-height: calc(100vh - 8rem); display: flex; flex-direction: column;
  border-radius: .625rem; transform: translateY(-50px); transition: transform .3s ease-out; }
.team-modal.is-open .team-modal__dialog { transform: none; }
.team-modal__close { position: absolute; top: 0; right: 0; transform: translate(50%, -50%); z-index: 3; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--c-red); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.team-modal__close:hover { background: var(--c-red-dk); }
.team-modal__close .icon { width: 16px; height: 16px; }
.team-modal__header { position: relative; background: var(--bg-light); border-radius: .625rem .625rem 0 0; }
.team-modal__header .team__image { position: absolute; right: 3rem; top: 0; transform: translateY(-78px); width: 230px; height: 230px; border-radius: 50%;
  box-shadow: 0 0 0 6px #fff; }
.team-modal__header .team__details { padding: 42px 300px 30px 48px; min-height: 170px; }
.team-modal__header .team__role { font-size: var(--fs-body); }
.team-modal__body { background: #fff; padding: 36px 48px 30px; overflow-y: auto; }
.team-modal__body p { margin: 0 0 1rem; }
.team__subtitle { font-family: var(--font-body); font-size: var(--fs-body); font-weight: 700; text-transform: uppercase; letter-spacing: .08rem; color: var(--c-text); margin: 0 0 1rem; }
.team-modal__footer { display: flex; justify-content: space-between; gap: 1rem; background: var(--bg-light); border-radius: 0 0 .625rem .625rem; padding: 24px 48px; }
.team-modal__nav { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; font-family: var(--font-body); color: var(--c-text); }
.team-modal__nav--next { text-align: right; }
.team-modal__nav span { display: block; color: var(--c-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .08rem; font-size: var(--fs-small);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.team-modal__nav:hover span { text-decoration-color: currentColor; }
.team-modal__nav strong { display: block; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; margin-top: .25rem; }
body.modal-open { overflow: hidden; }

@media (max-width: 991.98px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero__grid { grid-template-columns: 1fr; }
  .hero__image--side { margin: 0 auto; max-width: 26rem; transform: translateY(40px); }
  .page-hero__grid > div { padding-bottom: 0; }
}
@media (max-width: 767.98px) {
  .team-grid { grid-template-columns: 1fr; }
  .filter__list button { font-size: .8125rem; padding: 7px 14px; }
  .team-modal { padding-top: 7rem; }
  .team-modal__dialog { max-height: calc(100vh - 9rem); }
  .team-modal__close { transform: translate(10%, -50%); }
  .team-modal__header .team__image { width: 160px; height: 160px; right: auto; left: 50%; transform: translate(-50%, -50%); }
  .team-modal__header .team__details { padding: 5.625rem 1.5rem 1.5rem; text-align: center; min-height: 0; }
  .team-modal__body { padding: 24px; }
  .team-modal__footer { padding: 18px 24px; }
  .team-modal__nav strong { display: none; }
}

/* ---------- Report list (Integrity Action governance) ---------- */
.page-hero--side + .reports-section { padding-top: 110px; }
.reports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.75rem 30px; }
.report { display: flex; align-items: center; }
.report__image { flex-shrink: 0; width: 8rem; margin: 0 1.5rem 0 0; }
.report__image img { display: block; width: 100%; }
.report__title { font-size: var(--fs-h3); line-height: 1.08; color: var(--c-text); margin: 0 0 .375rem; }
.report__date { color: var(--c-muted); font-size: var(--fs-small); margin: 0 0 .75rem; }
.btn-light { display: inline-flex; align-items: center; gap: 12px; min-width: 120px; background: var(--bg-light); color: var(--c-muted); }
.btn-light .icon { width: 11px; height: 16px; color: var(--c-primary); }
.btn-light:hover, .btn-light:focus-visible { background: var(--bg-light); color: var(--c-primary); }
@media (max-width: 1279.98px) { .reports { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 991.98px) { .reports { grid-template-columns: 1fr; gap: 2.8125rem; } }
@media (max-width: 767.98px) { .report__image { width: 5.625rem; } }
/* Team: 4 photos per line on computers */
.team-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 24px; }
.team-grid .team__name { font-size: var(--fs-h3); }
@media (max-width: 1279.98px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991.98px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Impact (Integrity Action "what we do / impact") ---------- */
.page-hero--side + .impact-band { margin-top: 0; }
.impact-band { padding-top: 110px; }
.impact-band__heading { max-width: 50%; }
.impact-band .impact-band__heading h2 { color: var(--c-primary); margin-bottom: 1.25rem; }
.impact-card { display: flex; flex-direction: column; }
.impact-card__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-mid); transition: box-shadow .2s; }
.impact-card__img::before { content: ""; position: absolute; inset: 0; background: rgba(58, 59, 94, .3); z-index: 1; transition: background .2s; }
.impact-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.impact-card__img--art img { object-fit: contain; padding: .75rem; }
.impact-card__img--art::before { background: transparent; }
.impact-card__img:hover { box-shadow: 0 0 20px 10px rgba(0, 0, 0, .2); }
.impact-card__img:hover::before { background: rgba(58, 59, 94, .1); }
.impact-band .impact-card__title { color: #fff; font-size: var(--fs-h3); margin: 1.5rem 0 .75rem; }
.impact-card > p { flex: 1; }
.impact-card .impact-card__cta { flex: 0; margin: 0; }
.btn-blue .icon { width: 14px; height: 14px; }
.impact-text h2:first-child { margin-top: 0; }
.impact-story { margin-top: 2.25rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.impact-story h3 { color: var(--c-text); }
.impact-story figure { margin: 0 0 1.25rem; }
.impact-story figure img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.impact-story:target h3 { color: var(--c-red); }
@media (max-width: 991.98px) { .impact-band__heading { max-width: none; } }
.impact-photo { margin: 2rem 0; }
.impact-photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-mid); }
.impact-photo figcaption { color: var(--c-muted); font-size: var(--fs-small); margin-top: .5rem; }
.impact-photo--wide { margin-left: -4rem; margin-right: -4rem; }
.impact-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 2rem 0; }
.impact-photos .impact-photo { margin: 0; }
@media (max-width: 991.98px) { .impact-photo--wide { margin-left: 0; margin-right: 0; } }
@media (max-width: 575.98px) { .impact-photos { grid-template-columns: 1fr; } }

/* ---------- Accountability blocks ---------- */
.page-hero--side + .section { padding-top: 110px; }
.split--text { align-items: start; grid-template-columns: 5fr 7fr; }
.policies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem 30px; padding-top: 1.5rem; }
.policy { position: relative; background: #fff; box-shadow: var(--shadow-card); padding: 3.75rem 2.25rem 2rem; }
.policy__title { font-size: var(--fs-h3); color: var(--c-text); }
.policy p { margin-bottom: 1rem; }
.policy .policy__link { margin: 1.25rem 0 0; }
.policy__link a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.policy__link a:hover { text-decoration: underline; }
.policy__link .icon { width: 14px; height: 14px; flex: none; }
.docs-intro { max-width: 52rem; }
.doc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 1.5rem; }
.doc-tile { display: flex; flex-direction: column; gap: .75rem; background: #fff; box-shadow: var(--shadow-card); padding: 1.5rem; color: var(--c-text);
  text-decoration: none; font-weight: 400; transition: box-shadow .2s; }
.doc-tile:hover { box-shadow: var(--shadow-card-hover); color: var(--c-text); }
.doc-tile__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff; }
.doc-tile__icon .icon { width: 20px; height: 20px; }
.doc-tile__label { flex: 1; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h5); line-height: 1.15; }
.doc-tile__open { display: inline-flex; align-items: center; gap: .5rem; color: var(--c-red); font-weight: 700; font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .08rem; }
.doc-tile__open .icon { width: 12px; height: 12px; }
@media (max-width: 991.98px) { .policies, .split--text { grid-template-columns: 1fr; } .doc-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .doc-tiles { grid-template-columns: 1fr; } }

/* ---------- Theory of change steps ---------- */
.toc-intro p { font-size: var(--fs-lead); font-family: var(--font-display); line-height: 1.3; }
.toc-step { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 3.5rem; }
.toc-step--flip .toc-step__art { order: 2; }
.toc-step__art { margin: 0; }
.toc-step__art img { display: block; width: 100%; max-width: 520px; margin: 0 auto; }
.toc-step__num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-red); color: #fff; font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem; }
.toc-step__text h3 { color: var(--c-text); font-size: var(--fs-h2); }
@media (max-width: 991.98px) {
  .toc-step { grid-template-columns: 1fr; gap: 1.5rem; }
  .toc-step--flip .toc-step__art { order: 0; }
  .toc-step__art img { max-width: 380px; }
}
/* keep menu labels and the Donate button on one line */
.nav-primary > ul > li > a, .nav-cta .btn, .nav-cta { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-primary > ul > li > a { padding: .875rem .5rem; letter-spacing: .03rem; font-size: .8rem; }
  .nav-cta { margin-left: .75rem; }
  .logo__tag { display: none; }
}
.page-hero--side { overflow-x: clip; }

/* ---------- Donate ---------- */
.page-hero--side .btn { margin-top: 1.5rem; }
.pay-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 1.5rem; }
.pay-card { position: relative; background: #fff; box-shadow: var(--shadow-card); padding: 3.75rem 1.75rem 1.75rem; }
.pay-card__title { font-size: var(--fs-h3); color: var(--c-text); }
.pay-card__list { margin: 0; }
.pay-card__list > div { padding: .875rem 0; border-top: 1px solid var(--c-rule); }
.pay-card__list dt { color: var(--c-muted); font-size: var(--fs-small); font-weight: 700; text-transform: uppercase; letter-spacing: .06rem; }
.pay-card__list dd { margin: .25rem 0 0; display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-weight: 600; word-break: break-word; }
.copy-btn { flex: none; display: inline-flex; align-items: center; gap: .35rem; border: 0; border-radius: 20px; padding: .35rem .75rem; background: var(--bg-light);
  color: var(--c-muted); font: 700 .75rem var(--font-body); text-transform: uppercase; letter-spacing: .06rem; cursor: pointer; transition: color .2s, background .2s; }
.copy-btn:hover, .copy-btn.is-done { background: var(--c-primary); color: #fff; }
.copy-btn .icon { width: 12px; height: 12px; }
.donate-note { margin-top: 2.5rem; max-width: 52rem; }
@media (max-width: 991.98px) { .pay-cards { grid-template-columns: 1fr; } }

/* ---------- Radio show: SoundCloud players ---------- */
.sc-players { display: grid; gap: 30px; }
.sc-player { background: #fff; box-shadow: var(--shadow-card); padding: 1rem 1rem 1.25rem; }
.sc-player iframe { display: block; width: 100%; height: 400px; border: 0; }
.sc-player .btn { margin-top: 1rem; }
.radio-art { margin: 2rem 0 0; }
.radio-art img { display: block; width: 100%; max-width: 420px; }
@media (max-width: 991.98px) { .radio-art { display: none; } .sc-player iframe { height: 360px; } }

/* ---------- Press coverage ---------- */
.press-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.press-card { display: flex; flex-direction: column; gap: 1rem; background: #fff; box-shadow: var(--shadow-card); padding: 1.75rem; color: var(--c-text);
  text-decoration: none; font-weight: 400; border-top: 4px solid var(--c-primary); transition: box-shadow .2s; }
.press-card:hover { box-shadow: var(--shadow-card-hover); color: var(--c-text); }
.press-card__outlet { display: flex; align-items: center; gap: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06rem; font-size: var(--fs-small); }
.press-card__outlet time { color: var(--c-muted); font-weight: 600; margin-left: auto; }
.press-card__dot { width: 12px; height: 12px; border-radius: 50%; background: currentColor; flex: none; }
.press-card__quote { flex: 1; margin: 0; padding: 0; border: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h4); line-height: 1.2; }
.press-card__more { display: inline-flex; align-items: center; gap: .5rem; color: var(--c-red); font-weight: 700; font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .08rem; }
.press-card__more .icon { width: 12px; height: 12px; }
.c-purple { color: var(--c-purple); }
@media (max-width: 991.98px) { .press-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .press-cards { grid-template-columns: 1fr; } }

/* Header logo: CERC wordmark (magnifier as the C) + name */
.logo img.logo__mark { width: auto; height: 50px; border-radius: 0; }
.logo .logo__tag { border-left: 2px solid var(--c-rule); padding-left: .75rem; font-weight: 600; letter-spacing: .07rem; }
@media (max-width: 991.98px) { .logo img.logo__mark { height: 40px; } }
@media (max-width: 575.98px) { .logo .logo__tag { display: none; } }

/* ---------- SDG targets and step cards ---------- */
.sdg-intro { max-width: 52rem; }
.sdg-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 2rem; }
.sdg-tile { background: rgba(255,255,255,.08); border-top: 4px solid var(--c-primary); padding: 1.25rem; }
.sdg-tile__num { display: block; color: var(--c-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .06rem; font-size: var(--fs-small); margin-bottom: .5rem; }
.bg-dark .sdg-tile p { margin: 0; color: #fff; }
.step-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.toc-step-card { background: #fff; box-shadow: var(--shadow-card); padding: 2rem; }
.toc-step-card h3 { color: var(--c-text); font-size: var(--fs-h3); }
.toc-step-card p:last-child { margin-bottom: 0; }
.bg-dark .btn { margin: .25rem 0; }
@media (max-width: 1199.98px) { .sdg-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .sdg-tiles, .step-cards { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 50px; align-items: start; }
.contact-item { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--c-rule); }
.contact-item h3 { font-family: var(--font-body); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .08rem; color: var(--c-muted); margin: 0 0 .25rem; }
.contact-item p { margin: 0 0 .25rem; }
.contact-item__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff; }
.contact-item__icon .icon { width: 18px; height: 18px; }
.contact-item--social { display: block; border-bottom: 0; }
.contact-item--social .list--social a { background: var(--c-navy); }
.contact-form { background: #fff; box-shadow: var(--shadow-card); padding: 2.5rem; }
.contact-form h2 { color: var(--c-text); margin-top: 0; }
.form-note { color: var(--c-muted); font-size: var(--fs-small); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: var(--fs-body); color: var(--c-text); background: var(--bg-light);
  border: 2px solid transparent; border-radius: 6px; padding: .7rem .9rem; transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); background: #fff; }
.field textarea { resize: vertical; }
.consent { display: flex; gap: .6rem; align-items: flex-start; margin: .5rem 0 1.5rem; font-size: var(--fs-small); }
.consent input { margin-top: .25rem; accent-color: var(--c-primary); }
.cform .btn { border: 0; }
.cform .btn[disabled] { opacity: .6; cursor: wait; }
.form-success { text-align: center; padding: 2rem 0; }
.form-success .function-icon { margin: 0 auto 1rem; }
@media (max-width: 991.98px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .field-row { grid-template-columns: 1fr; } .contact-form { padding: 1.5rem; } }

/* ---------- Initiative pages ---------- */
.init-intro > :first-child { margin-top: 0; }
.init-sections .study-box:first-child { margin-top: 1.5rem; }
.study-box > h3 { color: var(--c-text); font-size: var(--fs-h3); margin-top: 0; }
.study-box--plain { padding-top: 2rem; }
.study-box img { max-width: 100%; height: auto; }
.stats--figures { grid-template-columns: repeat(3, 1fr); }
.stats--figures .stat p { color: var(--c-text); }
.stats--figures .stat em { color: var(--c-red); }
.sdg-icons { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.sdg-icons img { width: 130px; height: 130px; object-fit: contain; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.grid-4 .card-text { font-size: var(--fs-small); }
@media (max-width: 1199.98px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767.98px) { .grid-4, .stats--figures { grid-template-columns: 1fr; } .sdg-icons img { width: 96px; height: 96px; } }

/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.project { display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow-card); padding: 2rem; border-top: 4px solid var(--c-primary); }
.project__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.project__years { background: var(--c-navy); color: #fff; font-weight: 700; font-size: var(--fs-small); letter-spacing: .06rem; padding: .3rem .8rem; border-radius: 20px; }
.project__amount { text-align: right; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h4); color: var(--c-red); line-height: 1.1; }
.project__amount small { display: block; font-family: var(--font-body); font-size: .75rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .08rem; }
.project__title { color: var(--c-text); font-size: var(--fs-h3); margin: 0 0 .35rem; }
.project__funder { color: var(--c-muted); font-weight: 600; margin-bottom: .75rem; }
.project > p:last-of-type { flex: 1; }
.project__more { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; text-transform: uppercase; letter-spacing: .08rem; font-size: var(--fs-small); }
.project__more .icon { width: 12px; height: 12px; }
@media (max-width: 991.98px) { .projects { grid-template-columns: 1fr; } }

/* ---------- Partner cards: logo, years, name; details in a pop-up ---------- */
button.partner { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; text-align: center; cursor: pointer; font: inherit;
  background: none; transition: transform .2s, box-shadow .2s; }
button.partner:hover, button.partner:focus-visible { transform: translateY(-4px); box-shadow: 0 0 18px 6px rgba(0,0,0,.25); }
.partner-col { display: flex; }
.partners-band button.partner .partner__text { position: relative; padding-bottom: 3rem; }
.partner__open { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--c-red); color: #fff; }
.partner__open .icon { width: 14px; height: 14px; }
.partner-modal__header { display: flex; align-items: center; gap: 1.5rem; padding: 2rem 3rem 1.5rem 2rem; }
.partner-modal__header .team__details { padding: 0; min-height: 0; }
.partner-modal__logo { flex: none; width: 140px; height: 90px; margin: 0; background: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; padding: .5rem; }
.partner-modal__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-modal .partner__prog { color: var(--c-red); font-weight: 700; }
@media (max-width: 575.98px) { .partner-modal__header { flex-direction: column; text-align: center; padding: 2rem 1.5rem 1rem; } }

/* ---------- Jobs ---------- */
.jobs-empty { display: flex; gap: 1.5rem; align-items: flex-start; background: #fff; box-shadow: var(--shadow-card); padding: 2.25rem; }
.jobs-empty .function-icon { flex: none; margin: 0; }
.jobs-empty h3 { color: var(--c-text); font-size: var(--fs-h3); margin-top: .5rem; }
.jobs-cta { margin-top: 2rem; }
.step-cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991.98px) { .step-cards--3 { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .jobs-empty { flex-direction: column; padding: 1.5rem; } }

/* ---------- Strategy ---------- */
.hero-badge { display: inline-block; background: var(--c-navy); color: #fff; font-weight: 700; font-size: var(--fs-small); letter-spacing: .06rem;
  text-transform: uppercase; padding: .35rem .9rem; border-radius: 20px; margin-bottom: .75rem; }
.area-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 1.5rem; }
.area-tiles--3 { grid-template-columns: repeat(3, 1fr); }
.area-tile { background: #fff; box-shadow: var(--shadow-card); padding: 2rem 1.25rem; text-align: center; border-top: 4px solid var(--c-primary); }
.area-tile h3 { color: var(--c-text); font-size: var(--fs-h3); margin: 1rem 0 0; }
.area-tile__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c-primary); color: #fff; }
.area-tile__icon .icon { width: 28px; height: 28px; }
.area-tile--light { background: rgba(255,255,255,.08); box-shadow: none; }
.bg-dark .area-tile--light h3 { color: #fff; }
.area-tile--light .area-tile__icon { background: var(--c-red); }
.prin-text { margin-top: 2rem; }
@media (max-width: 991.98px) { .area-tiles { grid-template-columns: repeat(2, 1fr); } .area-tiles--3 { grid-template-columns: 1fr; } }
/* keep the header on one line with the wider logo (FR labels are longer) */
@media (min-width: 992px) and (max-width: 1439.98px) {
  .nav-primary > ul > li > a { padding: .875rem .55rem; letter-spacing: .04rem; }
  .nav-cta { margin-left: .75rem; }
  .logo .logo__tag { font-size: .66rem; }
}
@media (min-width: 992px) and (max-width: 1279.98px) { .logo .logo__tag { display: none; } }
/* What we do / Initiatives: sub-menu in two columns on computers */
@media (min-width: 992px) {
  .nav-primary li.sub-2col > .nav-secondary { min-width: 34rem; }
  .nav-primary li.sub-2col > .nav-secondary ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .5rem; padding: 1.125rem .75rem; text-align: left; }
  .nav-primary li.sub-2col > .nav-secondary a { display: flex; align-items: center; height: 100%; }
}

/* Who we are / Vision and mission */
.vm-intro p { font-size: var(--fs-body); }
.vm-quote { margin: 2.5rem 0 0; padding: 1.75rem 2rem; background: #fff; border-left: 6px solid var(--c-primary); box-shadow: var(--shadow-card);
  font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1.4; color: var(--c-navy); }
.vm-split { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: center; }
.vm-split__photo { margin: 0; }
.vm-split__photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.vm-goals { display: grid; gap: 1.5rem; margin-top: 1.75rem; }
.vm-goal { display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; background: #fff; box-shadow: var(--shadow-card); padding: 1.75rem; border-top: 4px solid var(--c-primary); }
.vm-goal__num { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-navy); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.vm-goal h3 { color: var(--c-text); font-size: var(--fs-h3); margin: .5rem 0 .5rem; }
.vm-goal p { margin: 0; }
.vm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 1.5rem; }
.vm-tile { background: #fff; color: var(--c-text); padding: 2rem 1.5rem; text-align: center; border-top: 4px solid var(--c-primary); }
.vm-tile:nth-child(2) { border-top-color: var(--c-blue); } .vm-tile:nth-child(2) .area-tile__icon { background: var(--c-blue); }
.vm-tile:nth-child(3) { border-top-color: var(--c-green); } .vm-tile:nth-child(3) .area-tile__icon { background: var(--c-green); }
.vm-tile:nth-child(4) { border-top-color: var(--c-red); } .vm-tile:nth-child(4) .area-tile__icon { background: var(--c-red); }
.vm-tile h3 { color: var(--c-text); font-size: var(--fs-h4); margin: 1rem 0 .75rem; }
.bg-dark .vm-tile p, .vm-tile p { margin: 0; color: var(--c-text); }
.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem 30px; padding-top: 1.5rem; }
.value-card { position: relative; background: #fff; box-shadow: var(--shadow-card); padding: 3.75rem 2rem 1.75rem; }
.value-card h3 { color: var(--c-text); font-size: var(--fs-h3); }
.value-card details { margin-top: .5rem; }
.value-card summary { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font-weight: 700; color: var(--c-navy); list-style: none; }
.value-card summary::-webkit-details-marker { display: none; }
.value-card summary .icon { transition: transform .2s; }
.value-card details[open] summary .icon { transform: rotate(180deg); }
.value-card ul { margin: 1rem 0 0; padding-left: 1.25rem; }
.value-card li { margin-bottom: .6rem; }
.vm-next__h { text-align: center; margin-bottom: 2rem; }
.vm-nexts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vm-next { display: flex; align-items: center; gap: 1rem; background: #fff; box-shadow: var(--shadow-card); padding: 1.25rem 1.5rem; color: var(--c-text);
  font-weight: 700; font-size: var(--fs-h5); text-decoration: none; transition: box-shadow .2s; }
.vm-next:hover { box-shadow: var(--shadow-card-hover); color: var(--c-text); }
.vm-next .area-tile__icon { flex: none; width: 52px; height: 52px; }
.vm-next > .icon:last-child { margin-left: auto; flex: none; }
@media (max-width: 1199.98px) { .vm-tiles { grid-template-columns: repeat(2, 1fr); } .value-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 991.98px) { .vm-split { grid-template-columns: 1fr; gap: 2rem; } .vm-split__photo img { aspect-ratio: 16 / 10; } .vm-nexts { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .vm-tiles, .value-cards { grid-template-columns: 1fr; } .vm-goal { grid-template-columns: 1fr; } .vm-quote { padding: 1.25rem 1.25rem; } }
