:root {
  --ink: #101f1b;
  --muted: #60716a;
  --green: #14724f;
  --green-dark: #082c22;
  --teal: #0f8a8a;
  --cyan: #56c7d8;
  --gold: #d7aa3f;
  --coral: #df7c54;
  --paper: #f7faf5;
  --panel: #ffffff;
  --line: #d9e6df;
  --shadow: 0 22px 70px rgba(8, 44, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(20, 114, 79, 0.045) 1px, transparent 1px) 0 0 / 76px 76px,
    linear-gradient(rgba(20, 114, 79, 0.04) 1px, transparent 1px) 0 0 / 76px 76px,
    var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(86, 199, 216, 0.08), transparent 36%, rgba(215, 170, 63, 0.08));
  content: "";
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 230, 223, 0.82);
  background: rgba(247, 250, 245, 0.9);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 178px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(13%) sepia(27%) saturate(931%) hue-rotate(105deg) brightness(95%) contrast(92%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 850;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav > a::after,
.nav-group > a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
}

.site-nav > a:hover::after,
.site-nav > a.active::after,
.nav-group > a:hover::after,
.nav-group > a.active::after {
  transform: scaleX(1);
}

.nav-group {
  position: relative;
  padding: 12px 0;
}

.nav-group > a {
  padding: 10px 0;
}

.submenu {
  position: absolute;
  top: calc(100% - 2px);
  left: -16px;
  z-index: 40;
  min-width: 190px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-group:hover .submenu,
.nav-group:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
}

.submenu a:hover,
.submenu a.active {
  background: rgba(20, 114, 79, 0.08);
}

.nav-cta {
  min-height: 38px;
  padding: 8px 14px !important;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 78px));
  display: grid;
  grid-template-columns: minmax(20px, 1fr) minmax(0, 720px) minmax(320px, 440px) minmax(20px, 1fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  overflow: hidden;
  background: var(--green-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 44, 34, 0.95), rgba(8, 44, 34, 0.72) 46%, rgba(8, 44, 34, 0.24)),
    url("./assets/images/home-hero.webp") center / cover;
}

.data-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(86, 199, 216, 0.16) 1px, transparent 1px) 0 0 / 88px 88px,
    linear-gradient(rgba(86, 199, 216, 0.13) 1px, transparent 1px) 0 0 / 88px 88px;
  mask-image: linear-gradient(90deg, black, transparent 80%);
  opacity: 0.68;
}

.data-grid span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 10px rgba(86, 199, 216, 0.14);
  animation: pulse 2.6s ease-in-out infinite;
}

.hero-content {
  position: relative;
  grid-column: 2;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.hero h1,
.page-hero h1,
.section h2,
.cta-band h2,
.contact-card h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(3rem, 6vw, 5rem);
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 1.8vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8, 44, 34, 0.18);
}

.button.primary {
  background: var(--coral);
  color: white;
}

.button.secondary {
  border-color: rgba(8, 44, 34, 0.3);
  background: transparent;
  color: var(--green-dark);
}

.button.secondary:hover {
  border-color: var(--green);
  background: rgba(130, 189, 49, 0.1);
}

.hero-actions .button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: white;
}

.hero-actions .button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

.signal-panel {
  position: relative;
  grid-column: 3;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(6, 30, 24, 0.64);
  color: white;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.signal-head,
.section-heading,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.signal-head span {
  color: rgba(255, 255, 255, 0.64);
  font-weight: 800;
}

.signal-head strong {
  color: var(--cyan);
  letter-spacing: 0.08em;
}

.signal-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 160px;
  margin: 28px 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 100% 32px,
    rgba(255, 255, 255, 0.04);
}

.signal-chart i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--gold));
  animation: rise 1s ease both;
}

.signal-panel dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.signal-panel dl div {
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.signal-panel dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 850;
}

.signal-panel dd {
  margin: 4px 0 0;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.section,
.page-hero,
.cta-band {
  width: min(100% - 40px, 1220px);
  margin: 0 auto;
}

.section {
  padding: clamp(58px, 8vw, 96px) 0;
}

.page-hero {
  padding: clamp(62px, 9vw, 104px) 0 clamp(24px, 4vw, 48px);
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 740px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.15rem;
}

.intro,
.split,
.contact-layout,
.careers-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.cta-band h2,
.contact-card h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.section-copy p:not(.eyebrow),
.feature-card p,
.work-card p,
.operations-grid p,
.programme-card p,
.timeline p,
.contact-card span,
.contact-card a {
  color: var(--muted);
  font-size: 1rem;
}

.section-copy h2 + p,
.contact-card h2 + address {
  margin-top: 16px;
}

.capability-grid,
.value-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card,
.work-card,
.programme-card,
.contact-card,
.contact-form,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 34px rgba(8, 44, 34, 0.06);
}

.feature-card {
  min-height: 242px;
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:hover,
.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 138, 138, 0.42);
}

.feature-card svg,
.programme-card svg {
  width: 38px;
  height: 38px;
  color: var(--teal);
}

.feature-card span {
  color: var(--gold);
  font-weight: 950;
}

.feature-card h3,
.work-card h3,
.timeline h3 {
  margin: 18px 0 10px;
  line-height: 1.14;
}

.split {
  padding-top: 0;
}

.image-block {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-block::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  content: "";
}

.image-block img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
}

.operations-map {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(15, 138, 138, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 12%, rgba(86, 199, 216, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(233, 245, 238, 0.9));
  box-shadow: var(--shadow);
}

.map-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.map-head h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.map-head .eyebrow {
  margin-bottom: 8px;
}

.map-head span {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 950;
}

.map-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 138, 138, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(20, 114, 79, 0.06) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(rgba(20, 114, 79, 0.05) 1px, transparent 1px) 0 0 / 44px 44px,
    rgba(255, 255, 255, 0.62);
}

.map-stage svg {
  width: 100%;
  height: auto;
  min-height: 420px;
}

.nigeria-shape {
  fill: rgba(20, 114, 79, 0.14);
  stroke: rgba(20, 114, 79, 0.45);
  stroke-width: 3;
}

.map-river {
  fill: none;
  stroke: rgba(86, 199, 216, 0.55);
  stroke-linecap: round;
  stroke-width: 5;
  stroke-dasharray: 10 12;
}

.map-marker {
  color: var(--teal);
  cursor: pointer;
  transform: translate(var(--mx), var(--my));
  outline: none;
}

.map-marker circle {
  fill: currentColor;
  stroke: white;
  stroke-width: 4;
  filter: drop-shadow(0 7px 12px rgba(8, 44, 34, 0.28));
}

.map-marker text {
  fill: var(--ink);
  stroke: none;
  transform: translate(14px, 5px);
  font-size: 17px;
  font-weight: 900;
  paint-order: stroke;
}

.map-marker.office {
  color: var(--coral);
}

.map-marker.regional {
  color: var(--gold);
}

.map-marker.base {
  color: var(--teal);
}

.map-marker:hover circle,
.map-marker:focus-visible circle,
.map-marker.is-active circle {
  animation: markerPulse 1.3s ease-in-out infinite;
  stroke-width: 6;
}

.map-detail {
  display: grid;
  gap: 6px;
  min-height: 112px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.map-detail span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map-detail strong {
  font-size: 1.2rem;
  line-height: 1.1;
}

.map-detail p {
  margin: 0;
  color: var(--muted);
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.map-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.map-legend .office {
  background: var(--coral);
}

.map-legend .regional {
  background: var(--gold);
}

.map-legend .base {
  background: var(--teal);
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green);
  font-weight: 950;
}

.operations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.about-footprint {
  display: grid;
  grid-template-columns: minmax(280px, 0.64fr) minmax(0, 1.36fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.about-team-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 5vw, 46px);
  border: 1px solid rgba(15, 138, 138, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(233, 245, 238, 0.92)),
    var(--panel);
  box-shadow: 0 12px 34px rgba(8, 44, 34, 0.06);
}

.about-team-link h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.about-team-link p:not(.eyebrow) {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
}

.about-operations-map {
  margin-top: 0;
  padding: clamp(16px, 2vw, 22px);
}

.about-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.48fr);
  gap: 14px;
  align-items: stretch;
}

.map-stage.compact svg {
  min-height: 0;
  max-height: 365px;
}

.about-operations-map .map-stage {
  display: grid;
  place-items: center;
}

.about-operations-map .map-detail {
  margin-top: 0;
}

.map-side {
  display: grid;
  align-content: start;
  gap: 12px;
}

.about-operations-map .map-legend {
  display: grid;
  margin-top: 0;
}

.operations-grid p {
  margin: 0;
  padding: 18px;
  border-left: 4px solid var(--teal);
  background: var(--panel);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.work-grid.large {
  grid-template-columns: repeat(3, 1fr);
}

.work-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.work-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.work-card div {
  padding: 22px;
}

.work-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tighter {
  padding-top: clamp(34px, 5vw, 62px);
}

.project-grid,
.team-grid,
.story-grid,
.report-list,
.gallery-grid {
  display: grid;
  gap: 16px;
}

.project-grid {
  grid-template-columns: repeat(3, 1fr);
}

.project-card,
.person-card,
.report-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(8, 44, 34, 0.06);
}

.project-card {
  display: grid;
  gap: 12px;
  min-height: 260px;
  padding: 24px;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(15, 138, 138, 0.42);
}

.project-card span,
.report-row span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card h3,
.person-card h3,
.report-row h3 {
  margin: 0;
  line-height: 1.14;
}

.project-card p,
.person-card p,
.report-row p {
  margin: 0;
  color: var(--muted);
}

.report-row h3 a { color: inherit; text-decoration: none; }
.report-row h3 a:hover { color: var(--green); }
.report-read { display: inline-block; margin-top: .7rem; color: var(--green-dark); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }

.report-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(6rem, 10vw, 9rem) clamp(1.25rem, 6vw, 7rem) clamp(4rem, 7vw, 7rem); background: linear-gradient(135deg, #f3f8f3, #fff); }
.report-hero h1 { max-width: 900px; margin: 1rem 0 1.25rem; font-size: clamp(2.75rem, 6vw, 6.1rem); line-height: .94; letter-spacing: -.055em; }
.report-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.report-actions .button.secondary { border-color: #0b4939; background: #0b4939; color: #fff; }
.report-actions .button.secondary:hover { background: #12644f; border-color: #12644f; }
.report-cover { position: relative; min-height: 470px; padding: 2rem; overflow: hidden; color: #fff; background: #093f32; box-shadow: 0 28px 65px rgba(5, 44, 34, .22); }
.report-cover::after { content: ""; position: absolute; width: 280px; height: 280px; right: -80px; bottom: -70px; border: 50px solid #77b82a; border-radius: 50%; opacity: .9; }
.report-cover > span { font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.report-cover > strong { position: absolute; top: 1.7rem; right: 1.8rem; color: #a8d267; font-size: 1.2rem; }
.report-cover > div { width: 54px; height: 5px; margin: 5.5rem 0 1.6rem; background: #82bd31; }
.report-cover h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: .98; letter-spacing: -.045em; }
.report-cover p { position: absolute; z-index: 1; left: 2rem; bottom: 2rem; margin: 0; line-height: 1.5; }
.report-cover-image { margin: 0; padding: 0; background: #08725d; }
.report-cover-image::after { display: none; }
.report-cover-image img { display: block; width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.report-snapshot { display: grid; grid-template-columns: repeat(4, 1fr); background: #0b4939; color: #fff; }
.report-snapshot div { padding: 2rem clamp(1rem, 3vw, 3rem); border-right: 1px solid rgba(255,255,255,.14); }
.report-snapshot strong, .report-snapshot span { display: block; }
.report-snapshot strong { color: #a8d267; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1; }
.report-snapshot span { margin-top: .45rem; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.report-findings { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.report-findings article { position: relative; padding: 1.6rem; border: 1px solid #dce8df; background: #fff; }
.report-findings article > span { color: #79ad31; font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.report-findings h3 { margin: .8rem 0 .55rem; font-size: 1.18rem; }
.report-findings p { margin: 0; font-size: .95rem; }
.sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 2rem; background: #dce8df; border: 1px solid #dce8df; }
.sector-grid article { padding: 1.8rem; background: #f7faf7; }
.sector-grid p { margin: 0 0 1rem !important; color: #3d6d5b; font-size: .72rem !important; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.sector-grid strong, .sector-grid span { display: block; }
.sector-grid strong { color: #0b4939; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; }
.sector-grid span { margin-top: .8rem; color: #52665d; line-height: 1.6; }
.report-note { padding-left: 1rem; border-left: 3px solid #82bd31; font-size: .86rem !important; }
.methodology-panel { padding: clamp(1.5rem, 4vw, 3rem); background: #edf5ee; }

@media (max-width: 850px) {
  .report-hero { grid-template-columns: 1fr; }
  .report-cover { min-height: 400px; }
  .report-snapshot { grid-template-columns: 1fr 1fr; }
  .report-snapshot div:nth-child(2) { border-right: 0; }
  .report-snapshot div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
}

@media (max-width: 560px) {
  .report-findings, .sector-grid { grid-template-columns: 1fr; }
  .report-cover { min-height: 350px; }
}

.project-card button {
  justify-self: start;
  margin-top: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.work-library {
  display: grid;
  gap: 18px;
}

.work-controls {
  position: sticky;
  top: 88px;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(8, 44, 34, 0.08);
  backdrop-filter: blur(14px);
}

.work-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.work-controls select,
.work-controls button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.work-controls button {
  border-color: rgba(15, 138, 138, 0.3);
  color: var(--green);
  font-weight: 950;
  cursor: pointer;
}

.work-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.work-library-head p {
  margin: 0;
  color: var(--muted);
}

.work-library-head .work-summary {
  color: var(--green);
  font-weight: 950;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 30px);
}

.portfolio-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 214px;
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(8, 44, 34, 0.06);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 138, 138, 0.42);
  box-shadow: 0 20px 44px rgba(8, 44, 34, 0.1);
}

.portfolio-card:focus-visible {
  outline: 3px solid rgba(15, 138, 138, 0.38);
  outline-offset: 4px;
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.portfolio-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 138, 138, 0.09);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-meta .status.completed {
  background: rgba(20, 114, 79, 0.11);
  color: var(--green);
}

.portfolio-meta .status.in-progress {
  background: rgba(230, 154, 57, 0.18);
  color: #83500d;
}

.portfolio-meta .status.not-started {
  background: rgba(78, 92, 88, 0.12);
  color: var(--muted);
}

.portfolio-card h3 {
  margin: 0;
  max-width: 32ch;
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  line-height: 1.24;
}

.portfolio-card p {
  margin: auto 0 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.55;
}

.work-empty {
  margin: 0;
  padding: 34px;
  border: 1px dashed rgba(15, 138, 138, 0.38);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px;
}

.person-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: start;
  aspect-ratio: 4 / 5;
  min-height: 0;
  padding: 16px;
}

.person-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 114, 79, 0.16), rgba(86, 199, 216, 0.16)),
    var(--panel);
  color: var(--green);
  font-size: 2rem;
  font-weight: 950;
}

.person-photo::before {
  content: attr(data-fallback);
}

.person-card .person-photo::before {
  content: attr(data-fallback);
}

.person-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.person-card.image-missing .person-photo img {
  display: none;
}

.person-card h3,
.person-card p,
.person-card .linkedin-link {
  margin-right: 0;
  margin-left: 0;
}

.person-card h3 {
  margin-bottom: 5px;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

.person-card p {
  color: var(--muted);
  line-height: 1.4;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: 42px;
  min-height: 40px;
  padding: 0;
  border: 1px solid rgba(15, 138, 138, 0.32);
  border-radius: 6px;
  color: var(--teal);
  font-weight: 950;
}

.linkedin-link svg {
  width: 19px;
  height: 19px;
}

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

.story-link-card {
  display: grid;
  color: var(--ink);
  cursor: pointer;
}

.story-link-card strong {
  align-self: end;
  margin-top: auto;
  padding-top: 20px;
  color: var(--green);
}

.story-article {
  background:
    linear-gradient(180deg, rgba(233, 245, 238, 0.62), transparent 28%),
    var(--paper);
}

.story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  min-height: 680px;
  padding: clamp(62px, 9vw, 120px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

.story-hero-copy {
  max-width: 820px;
}

.story-back {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--green);
  font-weight: 950;
}

.story-hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(3.15rem, 7.2vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.story-deck {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.story-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(15, 138, 138, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.story-cover {
  position: relative;
  margin: 0;
}

.story-cover::before {
  position: absolute;
  inset: -24px 24px 24px -24px;
  z-index: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20, 114, 79, 0.2), rgba(86, 199, 216, 0.18));
  content: "";
}

.story-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 28px 70px rgba(8, 44, 34, 0.2);
}

.story-impact {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b322a;
  color: white;
}

.story-impact div {
  display: grid;
  gap: 6px;
  min-height: 158px;
  place-content: center;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.story-impact div:last-child {
  border-right: 0;
}

.story-impact strong {
  color: var(--cyan);
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1;
}

.story-impact span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 850;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.3fr) minmax(0, 0.92fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
  max-width: 1320px;
}

.story-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
}

.story-fact-card,
.story-contents {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(8, 44, 34, 0.06);
}

.story-fact-card dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.story-fact-card dl div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.story-fact-card dt {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-fact-card dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
}

.story-contents {
  display: grid;
  gap: 10px;
}

.story-contents strong {
  margin-bottom: 4px;
  color: var(--ink);
}

.story-contents a {
  color: var(--muted);
  font-weight: 800;
}

.story-contents a:hover,
.story-contents a:focus-visible {
  color: var(--green);
}

.story-content {
  min-width: 0;
}

.story-content > section {
  padding: 0 0 clamp(62px, 8vw, 96px);
  scroll-margin-top: 110px;
}

.story-content h2 {
  max-width: 18ch;
  margin: 0 0 26px;
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.story-content p:not(.eyebrow),
.story-list {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.82;
}

.story-content blockquote {
  max-width: 800px;
  margin: 38px 0 0;
  padding: 28px 30px;
  border-left: 5px solid var(--teal);
  background: rgba(20, 114, 79, 0.07);
  color: var(--green-dark);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 850;
  line-height: 1.4;
}

.story-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.story-principles article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.story-principles span {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 950;
}

.story-principles h3 {
  margin: 28px 0 8px;
  font-size: 1.4rem;
}

.story-principles p {
  margin: 0;
  font-size: 0.98rem !important;
  line-height: 1.55 !important;
}

.story-inline-image {
  margin: 0 0 clamp(62px, 8vw, 96px);
}

.story-inline-image img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.story-inline-image figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.84rem;
}

.story-list {
  display: grid;
  gap: 14px;
  padding-left: 24px;
}

.story-list li::marker {
  color: var(--teal);
}

.story-conclusion {
  margin-top: 44px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 10px;
  background: #0b322a;
  color: white;
}

.story-conclusion .eyebrow {
  color: var(--cyan);
}

.story-conclusion h2 {
  color: white;
}

.story-conclusion p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.story-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 0 0;
  border-top: 1px solid var(--line);
}

.story-article-footer span {
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-article-footer p {
  margin: 7px 0 0;
  color: var(--muted);
}

.report-list {
  gap: 12px;
}

.reports-library {
  display: grid;
  gap: 18px;
}

.report-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(140px, 0.25fr) minmax(160px, 0.28fr) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(8, 44, 34, 0.06);
}

.report-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.report-controls input,
.report-controls select {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.report-controls button {
  min-height: 46px;
  border: 1px solid rgba(15, 138, 138, 0.3);
  border-radius: 6px;
  padding: 10px 16px;
  background: white;
  color: var(--green);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.report-summary {
  color: var(--muted);
  font-weight: 850;
}

.report-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
}

.report-row.is-hidden {
  display: none;
}

.empty-state {
  padding: 34px;
  border: 1px dashed rgba(15, 138, 138, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 8px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.social-feed-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.social-profile-card,
.social-post,
.newsletter-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(8, 44, 34, 0.06);
}

.social-profile-card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 34px);
}

.social-profile-card span,
.social-post span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.social-profile-card h2,
.newsletter-section h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.social-profile-card p,
.social-post p,
.newsletter-section p {
  color: var(--muted);
}

.social-post-grid {
  display: grid;
  gap: 14px;
}

.social-post {
  padding: 24px;
}

.social-post h3 {
  margin: 10px 0;
}

.social-post a {
  color: var(--green);
  font-weight: 950;
}

.newsletter-section {
  width: min(100% - 40px, 1220px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  margin: 0 auto 36px;
  padding: clamp(30px, 5vw, 52px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(233, 245, 238, 0.92)),
    var(--panel);
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 850;
}

.newsletter-form input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--green) !important;
  font-weight: 850;
}

.contact-socials,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-socials a {
  color: var(--green);
  font-weight: 950;
}

.footer-socials a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--green);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 138, 138, 0.42);
  color: var(--teal);
}

.footer-socials svg {
  width: 19px;
  height: 19px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
  padding: clamp(34px, 6vw, 58px);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 44, 34, 0.96), rgba(20, 114, 79, 0.94)),
    var(--green-dark);
  color: white;
}

.cta-band.full-width {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-right: 20px;
  padding-left: 20px;
  border-radius: 0;
}

.cta-inner {
  width: min(100%, 1220px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
}

.cta-band .eyebrow {
  color: var(--cyan);
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.programme-card {
  display: grid;
  align-content: start;
  min-height: 430px;
  padding: clamp(28px, 4vw, 44px);
  color: var(--ink);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.programme-card h2 {
  margin-top: 24px;
}

.programme-card:hover,
.programme-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(15, 138, 138, 0.46);
  box-shadow: 0 20px 44px rgba(8, 44, 34, 0.11);
}

.programme-card:focus-visible {
  outline: 3px solid rgba(15, 138, 138, 0.34);
  outline-offset: 4px;
}

.programme-link {
  align-self: end;
  margin-top: auto;
  padding-top: 28px;
  color: var(--green);
  font-weight: 950;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.timeline article {
  padding: 22px;
}

.timeline span {
  color: var(--gold);
  font-weight: 950;
}

.evidence-pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
  padding: 34px 0 8px;
}

.pipeline-track {
  position: absolute;
  top: 79px;
  right: calc(12.5% - 16px);
  left: calc(12.5% - 16px);
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 138, 138, 0.18);
}

.pipeline-track::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 14px;
  height: 14px;
  border-top: 4px solid var(--teal);
  border-right: 4px solid var(--teal);
  transform: translateY(-50%) rotate(45deg);
  content: "";
}

.pipeline-flow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--cyan), var(--gold));
  transform: translateX(-100%);
  animation: pipelineFlow 4.8s ease-in-out infinite;
}

.pipeline-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  min-height: 280px;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 245, 0.9)),
    var(--panel);
  text-align: center;
  box-shadow: 0 12px 34px rgba(8, 44, 34, 0.06);
  animation: stepFloat 4.8s ease-in-out infinite;
  animation-delay: var(--delay);
}

/*.pipeline-step::after {*/
/*  position: absolute;*/
/*  top: 50px;*/
/*  right: -19px;*/
/*  z-index: 2;*/
/*  width: 20px;*/
/*  height: 20px;*/
/*  border-top: 3px solid var(--teal);*/
/*  border-right: 3px solid var(--teal);*/
/*  background: var(--paper);*/
/*  transform: rotate(45deg);*/
/*  content: "";*/
/*}*/

.pipeline-step:last-child::after {
  display: none;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 32px;
  border-radius: 999px;
  background: var(--green-dark);
  color: white;
  font-size: 0.78rem;
  font-weight: 950;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 22px;
  border: 1px solid rgba(15, 138, 138, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(86, 199, 216, 0.22), transparent 62%),
    white;
  color: var(--teal);
  box-shadow: 0 0 0 10px rgba(15, 138, 138, 0.08);
}

.step-icon svg {
  width: 32px;
  height: 32px;
}

.pipeline-step h3 {
  margin: 0 0 10px;
  line-height: 1.1;
}

.pipeline-step p {
  margin: 0;
  color: var(--muted);
}

.resource-grid {
  align-items: stretch;
}

.contact-layout {
  align-items: start;
}

.contact-card,
.contact-form {
  padding: clamp(26px, 4vw, 42px);
}

address {
  display: grid;
  gap: 10px;
  margin: 0;
  font-style: normal;
}

address strong {
  margin-top: 10px;
  color: var(--green);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.modal-lock {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 31, 27, 0.68);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(780px, 88vh);
  overflow: auto;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.modal-panel h2 + p {
  margin-top: 16px;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 0;
}

.modal-facts.is-four {
  grid-template-columns: repeat(2, 1fr);
}

.modal-facts div {
  padding: 14px;
  border-radius: 8px;
  background: rgba(20, 114, 79, 0.08);
}

.modal-facts dt {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.modal-facts dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 85% 20%, rgba(15, 138, 138, 0.2), transparent 34%),
    #071f1b;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 850;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 180ms ease;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: white;
}

.footer-socials {
  justify-content: flex-end;
}

.site-footer .footer-socials a {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.88);
}

.site-footer .footer-socials a:hover,
.site-footer .footer-socials a:focus-visible {
  border-color: rgba(86, 199, 216, 0.78);
  background: rgba(86, 199, 216, 0.14);
  color: white;
}

/* Shared themed interaction for card surfaces across the website. */
.feature-card,
.work-card,
.programme-card,
.project-card,
.portfolio-card,
.person-card,
.report-row,
.contact-card,
.social-profile-card,
.social-post,
.story-fact-card,
.story-principles article {
  --card-x: 50%;
  --card-y: 50%;
  --card-intensity: 0.18;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.feature-card:hover,
.feature-card:focus-within,
.work-card:hover,
.work-card:focus-within,
.programme-card:hover,
.programme-card:focus-visible,
.project-card:hover,
.project-card:focus-within,
.portfolio-card:hover,
.portfolio-card:focus-visible,
.person-card:hover,
.person-card:focus-within,
.report-row:hover,
.report-row:focus-within,
.contact-card:hover,
.contact-card:focus-within,
.social-profile-card:hover,
.social-profile-card:focus-within,
.social-post:hover,
.social-post:focus-within,
.story-fact-card:hover,
.story-fact-card:focus-within,
.story-principles article:hover,
.story-principles article:focus-within {
  border-color: rgba(20, 114, 79, 0.48);
  background-color: var(--panel);
  background-image: radial-gradient(
    circle at var(--card-x) var(--card-y),
    rgba(20, 114, 79, var(--card-intensity)),
    transparent 32%
  );
  box-shadow: 0 18px 42px rgba(20, 114, 79, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 580ms ease, transform 580ms ease;
}

.hero .reveal,
.page-hero .reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  50% {
    transform: scale(1.5);
    opacity: 0.64;
  }
}

@keyframes rise {
  from {
    transform: scaleY(0.2);
    transform-origin: bottom;
  }
}

@keyframes markerPulse {
  50% {
    transform: scale(1.28);
  }
}

@keyframes pipelineFlow {
  0% {
    transform: translateX(-100%);
  }

  45%,
  60% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes stepFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  45% {
    transform: translateY(-6px);
  }
}

@keyframes pipelineFlowVertical {
  0% {
    transform: translateY(-100%);
  }

  45%,
  60% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(100%);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .pipeline-flow,
  .pipeline-step {
    animation: none !important;
  }
}

@media (max-width: 1060px) {
  .site-nav {
    gap: 14px;
    font-size: 0.88rem;
  }

  .hero {
    grid-template-columns: 20px minmax(0, 1fr) 20px;
    padding: 70px 0;
  }

  .hero-content,
  .signal-panel {
    grid-column: 2;
  }

  .signal-panel {
    max-width: 680px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .nav-group {
    padding: 0;
  }

  .submenu {
    position: static;
    display: grid;
    margin: 4px 0 8px 14px;
    padding: 0 0 0 12px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .intro,
  .split,
  .contact-layout,
  .careers-layout,
	  .programme-grid,
	  .operations-grid,
	  .about-footprint,
	  .about-map-grid,
	  .social-feed-layout,
	  .newsletter-section {
	    grid-template-columns: 1fr;
	  }

  .capability-grid,
  .value-grid,
  .resource-grid,
	  .work-grid,
	  .work-grid.large,
	  .timeline,
	  .evidence-pipeline,
	  .project-grid,
	  .story-grid,
	  .gallery-grid {
	    grid-template-columns: 1fr;
	  }

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

  .person-card {
    grid-template-columns: 1fr;
  }

  .person-photo {
    width: 88px;
    height: 88px;
    font-size: 1.45rem;
  }

.person-card .linkedin-link {
  grid-column: 2;
}

.team-careers-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 5vw, 46px);
  border: 1px solid rgba(15, 138, 138, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(233, 245, 238, 0.92)),
    var(--panel);
  box-shadow: 0 12px 34px rgba(8, 44, 34, 0.06);
}

.team-careers-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.team-careers-cta p:not(.eyebrow) {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
}

  .report-row,
  .report-controls,
  .work-controls,
  .modal-facts {
    grid-template-columns: 1fr;
  }

  .work-controls {
    position: static;
  }

  .project-list {
    grid-template-columns: 1fr;
  }

  .work-library-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-hero,
  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-hero {
    min-height: auto;
  }

  .story-cover {
    width: min(620px, 100%);
  }

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

  .story-impact div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .story-impact div:nth-child(even) {
    border-right: 0;
  }

  .story-impact div:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .story-sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

	  .cta-band,
	  .cta-inner,
	  .section-heading,
	  .about-team-link,
	  .team-careers-cta,
	  .site-footer {
	    align-items: flex-start;
	    flex-direction: column;
	  }

  .site-footer nav {
    width: 100%;
    gap: 12px 18px;
  }

  .evidence-pipeline {
    gap: 14px;
    padding: 16px 0 0 34px;
  }

  .pipeline-track {
    top: 42px;
    bottom: 120px;
    left: 34px;
    right: auto;
    width: 4px;
    height: auto;
  }

  .pipeline-track::after {
    top: auto;
    right: 50%;
    bottom: -1px;
    transform: translateX(50%) rotate(135deg);
  }

  .pipeline-flow {
    transform: translateY(-100%);
    animation-name: pipelineFlowVertical;
  }

  .pipeline-step {
    justify-items: start;
    min-height: auto;
    padding: 22px 22px 22px 58px;
    text-align: left;
  }

  .pipeline-step::after {
    top: auto;
    right: auto;
    bottom: -17px;
    left: 27px;
    transform: rotate(135deg);
  }

  .step-number {
    top: 22px;
    left: -22px;
  }

  .step-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
  }

  .brand img {
    width: 150px;
  }

  .hero {
    min-height: auto;
    padding: 52px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.65rem;
  }

  .hero-actions,
  .signal-panel dl {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .story-hero {
    padding-top: 48px;
  }

  .story-hero h1 {
    font-size: 3.15rem;
  }

  .story-back {
    margin-bottom: 28px;
  }

  .story-impact,
  .story-sidebar,
  .story-principles {
    grid-template-columns: 1fr;
  }

  .story-impact div,
  .story-impact div:nth-child(even),
  .story-impact div:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .story-impact div:last-child {
    border-bottom: 0;
  }

  .story-article-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
.legal-hero { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.legal-updated { margin-top: 1rem; font-size: .9rem; opacity: .75; }
.legal-content { display: grid; grid-template-columns: minmax(190px, 240px) minmax(0, 820px); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.legal-summary { position: sticky; top: 7rem; display: grid; gap: .55rem; padding: 1.25rem; border: 1px solid rgba(35, 106, 67, .2); border-radius: 1rem; background: #f4f8f3; }
.legal-summary strong { margin-bottom: .3rem; color: var(--ink); }
.legal-summary a { color: var(--green); text-decoration: none; }
.legal-copy { min-width: 0; }
.data-privacy-content {
  display: block;
}
.data-privacy-content .legal-copy {
  width: min(100%, 980px);
  margin-inline: auto;
}
.data-privacy-content .legal-copy > section {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(21, 51, 37, .12);
}
.data-privacy-content .legal-copy > section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.legal-copy section { scroll-margin-top: 7rem; margin-bottom: 2.75rem; }
.legal-copy h2 { margin: 0 0 .8rem; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.legal-copy h3 { margin-top: 0; }
.legal-copy p, .legal-copy li { line-height: 1.75; }
.legal-copy ul { padding-left: 1.25rem; }
.legal-table-wrap { overflow-x: auto; margin: 1.25rem 0; border: 1px solid rgba(21, 51, 37, .14); border-radius: 1rem; }
.legal-copy table { width: 100%; min-width: 620px; border-collapse: collapse; }
.legal-copy th, .legal-copy td { padding: .9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(21, 51, 37, .12); }
.legal-copy th { background: #edf5eb; color: var(--ink); }
.privacy-scenarios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.privacy-scenarios article { padding: 1.25rem; border: 1px solid rgba(35, 106, 67, .2); border-radius: 1rem; background: #f8fbf7; }
.privacy-scenarios p { margin-bottom: 0; }
.privacy-checklist li { margin-bottom: .5rem; }
.consent-field { grid-column: 1 / -1; display: flex !important; flex-direction: row !important; align-items: flex-start; gap: .65rem; font-size: .82rem; line-height: 1.5; }
.consent-field input { width: 1rem !important; min-width: 1rem; height: 1rem; margin-top: .15rem; accent-color: var(--green); }
.consent-field a, .collection-notice a { color: inherit; font-weight: 700; }
.collection-notice { margin: 0; font-size: .84rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 760px) {
  .legal-content { grid-template-columns: 1fr; }
  .legal-summary { position: static; }
  .privacy-scenarios { grid-template-columns: 1fr; }
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.error-shell {
  width: min(100% - 40px, 760px);
  padding: clamp(2rem, 7vw, 5rem);
  border: 1px solid rgba(35, 106, 67, .18);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow);
}

.error-brand { display: inline-block; margin-bottom: 3rem; }
.error-brand img { width: min(220px, 65vw); height: auto; filter: brightness(0) saturate(100%) invert(13%) sepia(27%) saturate(931%) hue-rotate(105deg) brightness(95%) contrast(92%); }
.error-shell h1 { margin: .5rem 0 1rem; font-size: clamp(2.4rem, 7vw, 5rem); line-height: 1; }
.error-shell > p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: 1.05rem; }
