﻿:root {
  --paper: #fbfbfa;
  --surface: #ffffff;
  --surface-muted: #f3f7f0;
  --ink: #465d6c;
  --ink-strong: #000000;
  --ink-soft: #787d7e;
  --line: #e7e6e6;
  --aqua: #a6cfcf;
  --green: #6c974e;
  --green-soft: #b8d5a5;
  --orange: #ec9822;
  --orange-soft: #e5b58a;
  --yellow: #f5df8e;
  --rose: #d57a68;
  --plum: #975696;
  --violet: #8268a9;
  --lavender: #a997c4;
  --sky: #bdd7ee;
  --blue: #5b8ecd;
  --shadow: 0 18px 45px rgba(70, 93, 108, .09);
  --radius: 8px;
  --button-radius: 999px;
  --header-height: 58px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

main p {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

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

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

.nowrap {
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  /* Navigation and its dropdowns sit above sticky filters and mobile drawers. */
  z-index: 100;
  height: var(--header-height);
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 250, .94);
  backdrop-filter: blur(16px);
}

.nav,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--header-height) - 1px);
  min-height: calc(var(--header-height) - 1px);
  padding: 0;
  gap: clamp(28px, 3.5vw, 52px);
}

.brand {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  min-width: 0;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
}

.brand span {
  max-width: none;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 54px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
  transform-origin: center;
  transition: transform .22s ease, filter .22s ease;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  filter: drop-shadow(0 5px 10px rgba(70, 93, 108, .14));
  transform: scale(1.12);
}

.nav-links {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  min-height: 100%;
  gap: 4px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1;
}

.nav-links > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color .15s ease, text-decoration-color .15s ease;
}

.nav-item {
  position: relative;
}
.nav-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .16s ease;
}

.nav-item:hover > .nav-trigger::after,
.nav-item:focus-within > .nav-trigger::after,
.nav-item.is-open > .nav-trigger::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.has-dropdown::after {
  content: "";
  position: absolute;
  right: 0;
  top: 100%;
  left: 0;
  height: 8px;
}

.nav-links > a:hover,
.nav-links > a:focus,
.nav-trigger:hover,
.nav-trigger:focus,
.nav-item:hover > .nav-trigger,
.nav-item:focus-within > .nav-trigger,
.nav-item.is-open > .nav-trigger {
  color: var(--ink);
  text-decoration-color: var(--ink-soft);
}

.nav-links > a[aria-current="page"],
.nav-item > .nav-trigger[aria-current="page"],
.nav-item.is-current-section > .nav-trigger {
  color: var(--ink);
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
}

.nav-links > a:focus-visible,
.nav-trigger:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 10px;
}

.nav-item.has-dropdown.is-get-involved > .dropdown-menu,
.nav-item.has-dropdown.is-internal-nav > .dropdown-menu { left: auto; right: 0; }

.dropdown-menu a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--ink);
  line-height: 1.2;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus,
.dropdown-menu a[aria-current="page"] {
  background: rgba(184, 213, 165, .34);
  color: var(--ink);
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu,
.nav-item.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-item.is-dismissed .dropdown-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero {
  display: flex;
  min-height: 0;
  padding: 0;
}

.hero-standard-banner .hero-inner {
  --home-hero-cage-left: clamp(48px, 9vw, 120px);
  --home-hero-body-width: clamp(560px, 43vw, 654px);
  --home-hero-brand-text-width: clamp(420px, 28vw, 560px);
  --home-hero-logo-width: clamp(108px, 10vw, 132px);
  --home-hero-brand-gap: clamp(32px, 5.3vw, 70px);
  --home-hero-lockup-width: calc(var(--home-hero-logo-width) + var(--home-hero-brand-gap) + var(--home-hero-brand-text-width));
  --home-hero-cage-width: max(var(--home-hero-body-width), var(--home-hero-lockup-width));
  /* Keep the lower text rail and the image fade on the annotated grid. */
  --home-hero-fade-start: calc(var(--home-hero-cage-left) + var(--home-hero-body-width) + 12px);
  --home-hero-fade-mid: calc(var(--home-hero-fade-start) + clamp(120px, 8vw, 150px));
  --home-hero-fade-end: calc(var(--home-hero-fade-start) + clamp(240px, 14.75vw, 270px));
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 31.25vw, 500px);
  width: 100%;
  margin: 0 auto;
  background: var(--paper);
}

.hero-standard-banner .hero-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(251, 251, 250, .98) 0, rgba(251, 251, 250, .98) var(--home-hero-fade-start), rgba(251, 251, 250, .5) var(--home-hero-fade-mid), rgba(251, 251, 250, 0) var(--home-hero-fade-end), rgba(251, 251, 250, 0) 100%);
  pointer-events: none;
}

.hero-standard-banner .hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: inherit;
  width: min(100%, calc(var(--home-hero-cage-left) + var(--home-hero-cage-width)));
  max-width: none;
  padding: clamp(34px, 5vw, 58px) 0 clamp(34px, 5vw, 58px) var(--home-hero-cage-left);
  box-sizing: border-box;
}

.hero-standard-banner .hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  left: calc(var(--home-hero-cage-left) - clamp(42px, 5vw, 76px));
  width: calc(var(--home-hero-cage-width) + clamp(84px, 8vw, 140px));
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(251, 251, 250, .78) 0%, rgba(251, 251, 250, .48) 42%, rgba(251, 251, 250, 0) 76%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-standard-banner .hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  background: var(--paper);
}

.hero-standard-banner .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(251, 251, 250, .08) 0%, rgba(244, 239, 225, .04) 42%, rgba(226, 233, 231, .02) 100%);
  pointer-events: none;
}

.hero-collage-track {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
  animation: hero-collage-pan 86s linear infinite;
}

.hero-collage-track img {
  display: block;
  width: auto;
  height: 100%;
  flex: 0 0 auto;
  max-width: none;
}

@keyframes hero-collage-pan {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.333333%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links > a,
  .nav-trigger,
  .nav-trigger::after {
    transition: none;
  }

  .hero-collage-track {
    animation: none;
  }
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 18px;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 6vw, 78px);
}

.hero-standard-banner h1 {
  max-width: 680px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
}

.home-hero-cage {
  display: grid;
  grid-template-columns: var(--home-hero-logo-width) var(--home-hero-brand-text-width);
  align-items: start;
  gap: var(--home-hero-brand-gap);
  width: var(--home-hero-lockup-width);
  max-width: 100%;
}

.home-hero-body {
  width: var(--home-hero-body-width);
  max-width: 100%;
  margin-top: clamp(24px, calc(8vh - 28px), 44px);
}

.home-hero-logo {
  display: block;
  width: var(--home-hero-logo-width);
  height: auto;
  flex: 0 0 auto;
}

.home-hero-brand-text {
  min-width: 0;
  width: var(--home-hero-brand-text-width);
}

.home-hero-brand-text h1 {
  display: block;
  width: var(--home-hero-brand-text-width);
  margin-bottom: 6px;
  color: var(--ink);
  font-size: clamp(90px, 11.5vw, 152px);
  line-height: .88;
}

.home-hero-brand-text p {
  width: var(--home-hero-brand-text-width);
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(17px, 2.05vw, 27px);
  font-weight: 800;
  line-height: 1.16;
  text-align: left;
  text-align-last: left;
  hyphens: none;
}

.hero-standard-banner h2 {
  width: var(--home-hero-body-width);
  max-width: none;
  color: var(--ink);
  font-size: clamp(34px, 4.4vw, 64px);
  letter-spacing: 0;
  text-align: left;
  text-align-last: left;
  hyphens: none;
}

h2 {
  font-size: clamp(34px, 4vw, 56px);
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-standard-banner .lead {
  width: var(--home-hero-body-width);
  max-width: none;
  color: var(--ink);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.5;
  text-align: justify;
  text-align-last: left;
  hyphens: none;
}

.home-hero-mobile-break {
  display: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--ink);
  border-radius: var(--button-radius);
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--aqua);
}

.button.primary:hover,
.button.primary:focus-visible,
.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  outline: none;
}

.button.ghost {
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
}

.section {
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.section-muted {
  background: var(--surface-muted);
}

@media (min-width: 921px) {
  #home > .hero {
    min-height: calc(100vh - var(--header-height));
    scroll-margin-top: var(--header-height);
  }

  #home > .hero.hero-standard-banner .hero-inner {
    min-height: calc(100vh - var(--header-height));
  }

  #home > .hero.hero-standard-banner .hero-copy {
    display: grid;
    grid-template-rows: auto auto;
    min-height: calc(100vh - var(--header-height));
    align-content: space-between;
    row-gap: 48px;
    padding-block: 20px;
  }

  #home > .hero.hero-standard-banner .home-hero-body {
    margin-top: 0;
  }
}
.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

#board .section-heading,
#partners .section-heading,
#team .section-heading {
  max-width: none;
}

.section-heading p,
.methodology-band p,
.country-panel p,
.project-card p,
.publication-card p,
.contact-layout p {
  color: var(--ink-soft);
}

.section-heading .section-lede {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.48;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  max-width: none;
  align-items: end;
}

#home .section-heading,
#board .section-heading,
#partners .section-heading,
#team .section-heading,
.service-main-copy,
.service-use-cases .section-heading,
.method-reference-heading,
.featured-work-heading {
  --section-icon-size: clamp(30px, 3.6vw, 50px);
  margin-left: calc((var(--section-icon-size) + 12px) * -1);
  padding-left: calc(var(--section-icon-size) + 12px);
  position: relative;
}

#home .section-heading h2,
.about-section .about-markdown > h2,
#board .section-heading h2,
#partners .section-heading h2,
#team .section-heading h2,
.service-main-copy > h2,
.service-use-cases .section-heading h2,
.method-reference-heading h2,
.featured-work-heading h2 {
  position: relative;
}

.about-section .about-markdown > h2 {
  --section-icon-size: clamp(30px, 3.6vw, 50px);
}

#home .section-heading h2::before,
#home .section-heading h2::after,
.about-section .about-markdown > h2::before,
.about-section .about-markdown > h2::after,
#board .section-heading h2::before,
#board .section-heading h2::after,
#partners .section-heading h2::before,
#team .section-heading h2::before,
#partners .section-heading h2::after,
#team .section-heading h2::after,
.service-main-copy > h2::before,
.service-main-copy > h2::after,
.service-use-cases .section-heading h2::before,
.service-use-cases .section-heading h2::after,
.method-reference-heading h2::before,
.method-reference-heading h2::after,
.featured-work-heading h2::before,
.featured-work-heading h2::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc((var(--section-icon-size) + 12px) * -1);
  width: var(--section-icon-size);
  height: var(--section-icon-size);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
  transition: opacity 180ms ease;
}

#home .section-heading h2::before,
.about-section .about-markdown > h2::before,
#board .section-heading h2::before,
#partners .section-heading h2::before,
#team .section-heading h2::before,
.service-main-copy > h2::before,
.service-use-cases .section-heading h2::before,
.method-reference-heading h2::before,
.featured-work-heading h2::before {
  background-image: url("../img/favicons/seed-favicon-title-blue.svg");
  opacity: 1;
}

#home .section-heading h2::after,
.about-section .about-markdown > h2::after,
#board .section-heading h2::after,
#partners .section-heading h2::after,
#team .section-heading h2::after,
.service-main-copy > h2::after,
.service-use-cases .section-heading h2::after,
.method-reference-heading h2::after,
.featured-work-heading h2::after {
  background-image: url("../img/favicons/seed-favicon-colour.svg");
  opacity: 0;
}

#home .section-heading h2:hover::before,
.about-section .about-markdown > h2:hover::before,
#board .section-heading h2:hover::before,
#partners .section-heading h2:hover::before,
#team .section-heading h2:hover::before,
.service-main-copy > h2:hover::before,
.service-use-cases .section-heading h2:hover::before,
.method-reference-heading h2:hover::before,
.featured-work-heading h2:hover::before {
  opacity: 0;
}

#home .section-heading h2:hover::after,
.about-section .about-markdown > h2:hover::after,
#board .section-heading h2:hover::after,
#partners .section-heading h2:hover::after,
#team .section-heading h2:hover::after,
.service-main-copy > h2:hover::after,
.service-use-cases .section-heading h2:hover::after,
.method-reference-heading h2:hover::after,
.featured-work-heading h2:hover::after {
  opacity: 1;
}

#home .home-wide-heading {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(360px, 1fr);
  align-items: end;
  gap: clamp(36px, 6vw, 86px);
}

#home #service-lines .home-wide-heading {
  grid-template-columns: minmax(0, 1fr);
}

#home .home-wide-heading .section-lede {
  max-width: none;
  text-align: justify;
  text-align-last: left;
  hyphens: none;
}

.home-map-stats {
  align-self: center;
  display: flex;
  align-items: flex-end;
  justify-content: space-evenly;
  gap: 30px;
  width: 100%;
  min-width: 360px;
  padding-bottom: 3px;
}

.home-map-stat {
  display: grid;
  gap: 2px;
  min-width: 92px;
  text-align: center;
}

.home-map-stat strong {
  color: var(--green);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 60px;
  line-height: 1;
}

.home-map-stat span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading.compact {
  margin-top: 34px;
  margin-bottom: 18px;
}
.principle-grid,
.theme-grid,
.card-grid,
.publication-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.principle-grid article,
.theme-card,
.project-card,
.publication-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(70, 93, 108, .06);
}

.principle-grid span,
.meta,
.card-label {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.theme-card {
  min-height: 175px;
  border-top: 5px solid var(--green);
}

.theme-card:nth-child(2n) {
  border-top-color: var(--orange);
}

.theme-card:nth-child(3n) {
  border-top-color: var(--aqua);
}

.theme-card:nth-child(4n) {
  border-top-color: var(--plum);
}

.theme-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.methodology-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 24px;
  margin-top: 24px;
  padding: 26px;
  border-left: 6px solid var(--orange);
  background: var(--surface);
}

.project-card,
.publication-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(166, 207, 207, .2);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

button.tag {
  border: 1px solid transparent;
  font-family: inherit;
}

a.tag {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.tag.project-filter-pill {
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.tag.project-filter-pill-service {
  border-color: rgba(166, 207, 207, .42);
  background: rgba(166, 207, 207, .24);
}

/* Service line specific colors */
.tag.pill-service-cohesion-surveys-and-the-score {
  border-color: rgba(166, 207, 207, .42);
  background: rgba(166, 207, 207, .24);
}

.tag.pill-service-cohesion-surveys-and-the-score:hover,
.tag.pill-service-cohesion-surveys-and-the-score:focus {
  border-color: rgb(166, 207, 207);
  background: rgba(166, 207, 207, .38);
}

.tag.pill-service-impact-assessment-and-rcts {
  border-color: rgba(230, 159, 0, .28);
  background: rgba(230, 159, 0, .14);
}

.tag.pill-service-impact-assessment-and-rcts:hover,
.tag.pill-service-impact-assessment-and-rcts:focus {
  border-color: rgb(230, 159, 0);
  background: rgba(230, 159, 0, .22);
}

.tag.pill-service-ai-innovations-for-peace-and-development {
  border-color: rgba(220, 53, 69, .42);
  background: rgba(220, 53, 69, .24);
}

.tag.pill-service-ai-innovations-for-peace-and-development:hover,
.tag.pill-service-ai-innovations-for-peace-and-development:focus {
  border-color: rgb(220, 53, 69);
  background: rgba(220, 53, 69, .38);
}

.tag.project-filter-pill-country {
  border-color: rgba(236, 152, 34, .28);
  background: rgba(236, 152, 34, .14);
}

.tag.project-filter-pill:hover,
.tag.project-filter-pill:focus {
  color: var(--ink);
  outline: none;
  transform: translateY(-1px);
}

.tag.project-filter-pill-service:hover,
.tag.project-filter-pill-service:focus {
  border-color: var(--aqua);
  background: rgba(166, 207, 207, .38);
}

.tag.project-filter-pill-country:hover,
.tag.project-filter-pill-country:focus {
  border-color: var(--orange);
  background: rgba(242, 145, 24, .22);
}

.project-output-pill {
  border: 1px solid rgba(70, 93, 108, .16);
  background: rgba(70, 93, 108, .08);
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.project-output-pill:hover,
.project-output-pill:focus {
  border-color: rgba(70, 93, 108, .3);
  background: rgba(70, 93, 108, .13);
  outline: none;
  transform: translateY(-1px);
}

.project-output-pill.is-unresolved {
  border-color: rgba(139, 75, 43, .22);
  background: #f4e8df;
  color: #8b4b2b;
  cursor: default;
}

.project-related-project-pill,
.tag.map-service-pill.pill-service-intervention-design-and-prod {
  border: 1px solid rgba(108, 151, 78, .26);
  background: rgba(184, 213, 165, .24);
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.project-related-project-pill:hover,
.project-related-project-pill:focus,
.tag.map-service-pill.pill-service-intervention-design-and-prod:hover,
.tag.map-service-pill.pill-service-intervention-design-and-prod:focus {
  border-color: var(--green);
  background: rgba(184, 213, 165, .42);
  outline: none;
  transform: translateY(-1px);
}

.project-related-project-pill-suggested {
  border-style: dashed;
}

.project-related-project-pill.is-unresolved {
  border-color: rgba(139, 75, 43, .22);
  background: #f4e8df;
  color: #8b4b2b;
  cursor: default;
}

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .8fr);
  gap: 18px;
  align-items: start;
}
.workbench-map {
  grid-template-columns: minmax(0, 1fr);
}

.workbench-map.has-country-panel {
  grid-template-columns: minmax(0, 1.95fr) minmax(300px, .55fr);
}

.map-board,
.country-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.map-board {
  position: relative;
  align-self: start;
  padding: 12px;
}

.country-map {
  overflow: visible;
  border-radius: 6px;
  background: #fff;
}
.interactive-country-map {
  height: clamp(430px, 44vw, 560px);
  min-height: 400px;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f8f6;
}

.interactive-country-map canvas,
.interactive-country-map svg {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
}
.map-frame {
  position: relative;
}


.svg-map-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f8f6;
}

.svg-map-loader {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.svg-equal-earth-map {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  opacity: 0;
  transform: scale(.985);
  transform-origin: center;
  transition: opacity .42s ease, transform .42s ease;
}

.svg-equal-earth-map:active {
  cursor: grabbing;
}

.svg-equal-earth-map.is-dragging {
  cursor: grabbing;
}

.svg-map-stage.is-loaded .svg-equal-earth-map {
  opacity: 1;
  transform: scale(1);
}

.svg-equal-earth-map .water {
  fill: #f7f8f6;
}

.svg-equal-earth-map .country path,
.svg-equal-earth-map .country circle {
  fill: #d6d8d4;
  stroke: #d6d8d4;
  stroke-width: .65;
  stroke-opacity: 1;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  transition: fill .16s ease, stroke .16s ease;
}

.svg-equal-earth-map .country circle {
  display: none;
}

.svg-equal-earth-map .svg-map-country.is-project {
  fill: #dfe8d8;
  stroke: #dfe8d8;
  cursor: pointer;
}

.svg-equal-earth-map .country circle.svg-map-country.is-project {
  display: block;
}

.svg-country-outline {
  display: block;
  fill: none;
  stroke: #6f8e57;
  stroke-width: 1.05;
  stroke-linejoin: round;
  stroke-linecap: round;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
  transition: stroke .16s ease;
}

.svg-equal-earth-map .svg-map-country.is-project:hover,
.svg-equal-earth-map .svg-map-country.is-project:focus-visible,
.svg-equal-earth-map .svg-map-country.is-hovered {
  fill: #6f8e57;
  stroke: #6f8e57;
  outline: none;
}

.svg-equal-earth-map .svg-map-country.is-active {
  fill: #6f8e57;
  stroke: #6f8e57;
}

.svg-country-outline.is-hovered,
.svg-country-outline.is-active {
  stroke: #6f8e57;
  stroke-width: 1.15;
}

.svg-project-dot {
  display: block;
  fill: var(--orange);
  stroke: #fff;
  stroke-width: 2;
  cursor: pointer;
  transition: fill .16s ease;
  vector-effect: non-scaling-stroke;
}

.svg-project-dot:hover,
.svg-project-dot:focus-visible,
.svg-project-dot.is-hovered {
  fill: var(--orange);
  outline: none;
}

.svg-project-dot.is-active {
  fill: var(--orange);
}

.svg-equal-earth-map [data-country]:focus,
.svg-equal-earth-map [data-country]:focus-visible {
  outline: none;
}

.svg-map-tooltip {
  position: absolute;
  z-index: 7;
  max-width: 220px;
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(70, 93, 108, .94);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

.svg-map-controls {
  position: absolute;
  right: 14px;
  bottom: 44px;
  z-index: 6;
  display: grid;
  gap: 8px;
  user-select: none;
}

.svg-map-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.svg-map-control span {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
  pointer-events: none;
}

.svg-map-control span::before,
.svg-map-control span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.svg-map-control-plus span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.svg-map-control:hover,
.svg-map-control:focus-visible {
  border-color: #f2b15f;
  background: #f2b15f;
  outline: none;
}

.svg-map-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f8f6;
}

.svg-map-fallback-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .72;
}

.map-hotspots {
  position: absolute;
  inset: 0;
}

.svg-fallback-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}

.svg-fallback-dot.is-active,
.svg-fallback-dot:hover,
.svg-fallback-dot:focus {
  background: var(--green);
  border-color: #fff;
  z-index: 2;
}
.country-panel {
  overflow: visible;
  padding: 16px;
}
.map-overlay-panel {
  position: absolute;
  top: 12px;
  left: 12px;
  bottom: 12px;
  z-index: 14;
  display: flex;
  flex-direction: column;
  width: min(396px, calc(100% - 24px));
  overflow: hidden;
  padding: 18px 18px 16px;
  pointer-events: auto;
}

.map-overlay-panel[hidden] {
  display: none;
}

.map-overlay-panel.is-open {
  display: flex;
}

.country-panel-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.country-panel ul {
  margin-bottom: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.country-panel h3 {
  margin: 0;
  font-size: 21px;
}

.country-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.country-panel p {
  margin-bottom: 10px;
  line-height: 1.42;
}

.country-panel .tag-row {
  margin-top: 6px;
}

.country-panel .tag-row + p {
  margin-top: 18px;
}

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

.country-pill-grid-single {
  grid-template-columns: 1fr;
}

.country-pill-group p,
.country-project-group p {
  margin-bottom: 6px;
}

.country-pill-group .tag-row,
.country-project-group .tag-row {
  gap: 6px;
  margin-top: 0;
}

.country-project-group {
  margin-top: 18px;
}

.map-project-pill-row {
  margin-bottom: 14px;
}

.map-project-pill,
.map-service-pill,
.map-theme-pill,
.map-more-pill {
  max-width: 100%;
  white-space: normal;
  line-height: 1.25;
}

.map-more-pill {
  white-space: nowrap;
}

.map-project-pill {
  border: 1px solid rgba(70, 93, 108, .24);
  background: rgba(70, 93, 108, .08);
  color: var(--ink);
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.map-project-pill:hover,
.map-project-pill:focus {
  border-color: rgba(70, 93, 108, .44);
  background: rgba(70, 93, 108, .14);
  color: var(--ink);
  outline: none;
  transform: translateY(-1px);
}

.country-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.country-stat-grid-single {
  grid-template-columns: 1fr;
}

.country-stat {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.country-stat-inline {
  min-width: 76px;
  padding: 7px 9px;
  text-align: right;
}

.country-stat strong {
  display: block;
  color: var(--green);
  font-size: 21px;
  line-height: 1;
}

.country-stat-inline strong {
  font-size: 18px;
}

.country-stat-inline span {
  display: block;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
}

.data-section {
  background: var(--orange);
  color: #fff;
}

.data-hub-copy {
  width: fit-content;
  max-width: 100%;
}

.data-hub-copy h2 {
  margin-bottom: 8px;
  color: #fff;
}

.data-section .eyebrow,
.data-section p {
  color: rgba(255, 255, 255, .76);
}

.data-hub-copy p {
  max-width: 100%;
  margin-bottom: 0;
  font-size: clamp(17px, 2.05vw, 24px);
  font-weight: 800;
  line-height: 1.18;
  text-align: left;
  white-space: nowrap;
}

.data-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.data-hub-button {
  flex: 0 0 258px;
  width: 258px;
  max-width: 100%;
  min-height: 58px;
  padding: 15px 18px;
  border-color: #fff;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 28px rgba(70, 93, 108, .16);
  text-align: center;
  white-space: nowrap;
}

.data-hub-button:hover,
.data-hub-button:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  outline: none;
}

.filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) minmax(180px, .8fr) minmax(180px, .8fr);
  gap: 14px;
  margin-bottom: 22px;
}

.filters label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.filters input,
.filters select {
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--surface);
  color: var(--ink);
}

.publication-hero {
  padding: 64px 0 46px;
  background: var(--surface-muted);
}

.page-hero {
  padding: 72px 0 56px;
  background: var(--surface-muted);
}

.page-hero-image {
  position: relative;
  overflow: hidden;
  --page-hero-image-start: 50%;
  --page-hero-fade-end: 57.5%;
  --page-hero-image-wash: rgba(255, 255, 255, 0);
  background-color: var(--surface-muted);
  isolation: isolate;
}

.page-hero-image::before,
.page-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero-image::before {
  left: var(--page-hero-image-start);
  z-index: 0;
  background-image:
    linear-gradient(var(--page-hero-image-wash), var(--page-hero-image-wash)),
    var(--page-hero-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.page-hero-image::after {
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(243, 247, 240, 1) 0,
    rgba(243, 247, 240, 1) var(--page-hero-image-start),
    rgba(243, 247, 240, .86) calc(var(--page-hero-image-start) + 1.875%),
    rgba(243, 247, 240, .52) calc(var(--page-hero-image-start) + 3.75%),
    rgba(243, 247, 240, 0) var(--page-hero-fade-end),
    rgba(243, 247, 240, 0) 100%
  );
}

.page-hero-image .section-inner {
  position: relative;
  z-index: 2;
}

.page-hero-about {
  --page-hero-image: url("../img/page-heroes/about-seed.jpg?v=20260812-crop-panel");
  --page-hero-image-wash: rgba(108, 151, 78, .14);
}

.page-hero-about::before {
  background-position: 46% center;
  background-size: cover;
}

.page-hero-updates {
  --page-hero-image: url("../img/page-heroes/updates-bih-social-cohesion.jpeg?v=5f55b89de759");
  --page-hero-image-wash: rgba(108, 151, 78, .14);
}

.page-hero-service-score {
  --page-hero-image: url("../img/page-heroes/service-cohesion-surveys-score.jpg?v=20260812");
  --page-hero-image-wash: rgba(108, 151, 78, .18);
}

.page-hero-service-impact {
  --page-hero-image: url("../img/page-heroes/service-impact-assessment-rcts.jpg?v=20260812");
  --page-hero-image-wash: rgba(236, 152, 34, .16);
}

.page-hero-service-intervention {
  --page-hero-image: url("../img/page-heroes/service-intervention-design-prod.jpg?v=20260812");
  --page-hero-image-wash: rgba(151, 86, 150, .15);
}

.page-hero-service-ai {
  --page-hero-image: url("../img/page-heroes/service-ai-innovations.jpg?v=20260812");
  --page-hero-image-wash: rgba(213, 122, 104, .16);
}

.page-hero-4d {
  --page-hero-image: url("../img/page-heroes/our-4d-approach-20260816.jpg");
  --page-hero-image-wash: rgba(91, 142, 205, .16);
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(40px, 5vw, 68px);
}

.page-hero .lead {
  max-width: 780px;
}

.page-hero .lead,
.publication-hero .lead,
.projects-hero .lead,
.contact-page-hero .lead {
  text-align: left;
  text-align-last: left;
  text-justify: auto;
  hyphens: none;
}

.service-line-hero h1 {
  max-width: 760px;
}

.page-hero.page-hero-image h1,
.page-hero.page-hero-image .lead {
  max-width: min(590px, calc(50vw - 72px));
}

.service-line-hero.page-hero-image h1 {
  max-width: min(650px, calc(50vw - 72px));
}

.service-line-hero.page-hero-image .hero-actions {
  max-width: min(680px, calc(50vw - 72px));
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 44px;
  align-items: start;
}

.service-main-copy {
  max-width: 780px;
}

.service-main-copy h2 {
  max-width: 760px;
  font-size: clamp(30px, 3vw, 42px);
}

.service-use-cases .section-heading h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.service-section-subtitle {
  max-width: 780px;
  margin: -4px 0 18px;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  text-align-last: left;
  hyphens: none;
}

.service-section-subtitle--selective {
  font-weight: 400;
}

.service-section-subtitle--selective strong {
  font-weight: 700;
}

.service-use-cases .service-section-subtitle {
  margin-bottom: 0;
}

.service-list,
.service-side-panel ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.service-focus-block {
  margin-top: 28px;
}

.service-focus-title {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 21px;
}

.service-focus-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-focus-item {
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(108, 151, 78, .28);
  border-radius: var(--radius);
  background: rgba(236, 246, 229, .64);
}

.service-focus-item h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
}

.service-focus-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.45;
  text-align: left;
  text-align-last: left;
  hyphens: none;
}

.service-side-panel {
  padding: 24px;
  border-left: 5px solid var(--orange);
  background: var(--surface-muted);
}

.service-side-panel h2 {
  font-size: 28px;
}

.service-method-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.method-reference-heading {
  --section-icon-size: clamp(30px, 3.6vw, 50px);
  max-width: 840px;
  margin-bottom: 24px;
  margin-left: calc((var(--section-icon-size) + 12px) * -1);
  padding-left: calc(var(--section-icon-size) + 12px);
  position: relative;
}

.method-reference-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 3vw, 42px);
  position: relative;
}

.method-reference-heading p {
  max-width: 820px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  text-align: justify;
}

.method-reference-list {
  display: grid;
  gap: 0;
}

.method-reference-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 38px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.method-reference-item:last-child {
  border-bottom: 1px solid var(--line);
}

.method-reference-copy {
  max-width: 760px;
}

.method-reference-copy .card-label {
  margin-bottom: 10px;
}

.method-reference-copy h3 {
  max-width: 720px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.16;
}

.method-reference-copy p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
  text-align: justify;
  text-align-last: left;
  hyphens: none;
}

.method-reference-meta {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.method-reference-publication {
  justify-self: end;
  width: min(100%, 280px);
}

.method-reference-publication .featured-publication-card {
  width: 100%;
}

.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-feature {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-feature p {
  color: var(--ink-soft);
}

.service-featured-work-section {
  background: var(--surface);
}

.service-featured-work-section,
.service-method-section {
  border-top: 1px solid var(--line);
}

.featured-work-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

.featured-work-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3vw, 42px);
}

.featured-platform-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  margin-bottom: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.featured-platform-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.featured-platform-logo {
  flex: 0 0 auto;
  width: clamp(44px, 5vw, 60px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.featured-platform-copy {
  min-width: 0;
}

.featured-platform-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", "Roboto", Arial, sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.featured-platform-copy p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
}

.featured-platform-link {
  gap: 10px;
  flex-shrink: 0;
}

.button.featured-platform-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.featured-work-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: fit-content;
  max-width: min(760px, 100%);
  gap: 12px;
  margin: 18px 0 16px;
}

.featured-work-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 0 18px;
  border: 1px solid rgba(70, 93, 108, .18);
  border-radius: var(--button-radius);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 8px 20px rgba(70, 93, 108, .05);
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.featured-work-tab:hover,
.featured-work-tab:focus {
  border-color: rgba(108, 151, 78, .36);
  background: rgba(184, 213, 165, .22);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(70, 93, 108, .08);
}

.featured-work-tab:focus {
  outline: 2px solid rgba(236, 152, 34, .72);
  outline-offset: 2px;
}

.featured-work-tab.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 28px rgba(108, 151, 78, .22);
}

.four-d-hero {
  background-color: var(--surface-muted);
  background-image: none;
}

.four-d-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

.four-d-copy {
  max-width: 900px;
}

.four-d-copy.method-reference-heading {
  max-width: none;
  margin-bottom: 0;
}

.four-d-copy.method-reference-heading p {
  max-width: none;
}

.four-d-map-heading,
.four-d-method-heading {
  max-width: none;
}

.four-d-method-heading {
  margin-bottom: 30px;
}

.four-d-map-heading {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.four-d-map-heading p,
.four-d-method-heading p {
  max-width: none;
}

.four-d-map {
  display: grid;
  gap: 18px;
}

.four-d-stages-section .four-d-map {
  grid-template-columns: minmax(0, .85fr) minmax(560px, 1.15fr);
  column-gap: 48px;
  row-gap: 30px;
  align-items: start;
}

.four-d-stages-section .four-d-carousel {
  grid-column: 1 / -1;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

.four-d-stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.four-d-stage {
  min-height: 170px;
  padding: 18px 14px;
  border: 1px solid rgba(70, 93, 108, .14);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 32px rgba(70, 93, 108, .08);
}

.four-d-stage span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 999px;
  background: rgba(236, 152, 34, .16);
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 900;
}

.four-d-stage h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
}

.four-d-stage p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.38;
  text-align: left;
  text-align-last: left;
  hyphens: none;
}

.four-d-service-matrix {
  display: grid;
  gap: 8px;
}

.four-d-service-matrix a {
  display: grid;
  grid-template-columns: minmax(190px, 1.3fr) repeat(4, minmax(74px, 1fr));
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(70, 93, 108, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(70, 93, 108, .06);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.four-d-service-matrix a:hover,
.four-d-service-matrix a:focus {
  border-color: rgba(108, 151, 78, .36);
  box-shadow: 0 16px 32px rgba(70, 93, 108, .1);
  transform: translateY(-1px);
}

.four-d-service-matrix strong {
  font-size: 14px;
  line-height: 1.2;
}

.four-d-service-matrix span {
  min-height: 28px;
  padding: 7px 8px;
  border-radius: 999px;
  background: rgba(224, 240, 241, .72);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.four-d-service-matrix span:empty {
  background: rgba(70, 93, 108, .06);
}

.four-d-service-matrix .is-strong {
  background: var(--green);
  color: #fff;
}

.four-d-stage-details {
  /* Align the row with the heading leaf, with equal margins and safe screen gutters. */
  --four-d-outer-margin: max(16px, calc((100vw - 1180px) / 2 - clamp(30px, 3.6vw, 50px) - 12px));
  width: calc(100vw - 2 * var(--four-d-outer-margin));
  margin-inline: calc((100% - 100vw) / 2 + var(--four-d-outer-margin));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

/* Interlock the 24px chevrons, leaving 12px between their sloping edges. */
@media (min-width: 1101px) {
  .four-d-stage-details {
    display: flex;
  }

  /* Middle boxes need 24px more shell width for their second angled edge. */
  .four-d-stage-details > .four-d-stage-copy {
    flex: 0 0 calc((100% + 84px) / 4);
    min-width: 0;
  }

  .four-d-stage-details > .four-d-stage-copy:first-child,
  .four-d-stage-details > .four-d-stage-copy:last-child {
    flex-basis: calc((100% - 12px) / 4);
  }

  .four-d-stage-details > .four-d-stage-copy + .four-d-stage-copy {
    margin-left: -12px;
  }
}

@media (max-width: 1100px) {
  .four-d-stage-details {
    gap: 12px;
  }
}

.four-d-stage-copy {
  --stage-text-inset: 22px;
  --stage-chevron-depth: 24px;
  position: relative;
  padding: 22px var(--stage-text-inset);
  border-radius: var(--radius);
  background: rgba(236, 152, 34, .16);
}

.four-d-stage-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--orange);
  clip-path: polygon(0 0, 4px 0, 4px 100%, 0 100%);
  pointer-events: none;
}

.four-d-stage-copy:nth-child(n + 2)::before {
  clip-path: polygon(0 0, 5px 0, 29px 50%, 5px 100%, 0 100%, 24px 50%);
}

/* Measure the shared text inset from the innermost chevron edges. */
.four-d-stage-copy:nth-child(n + 2) {
  padding-left: calc(var(--stage-text-inset) + var(--stage-chevron-depth));
}

.four-d-stage-copy:nth-child(-n + 3) {
  padding-right: calc(var(--stage-text-inset) + var(--stage-chevron-depth));
}

.four-d-stage-copy > * {
  position: relative;
  z-index: 1;
}

.four-d-stage-copy:first-child {
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%);
}

.four-d-stage-copy:nth-child(2),
.four-d-stage-copy:nth-child(3) {
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%, 24px 50%);
}

.four-d-stage-copy:last-child {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 24px 50%);
}

.four-d-stage-copy h2 {
  margin-bottom: 10px;
  font-size: 25px;
}

.four-d-stage-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.5;
  text-align: justify;
  text-align-last: left;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 8 3 3;
  hyphenate-limit-lines: 2;
  hyphenate-limit-last: always;
}

.four-d-stage-copy p a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.four-d-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.four-d-method-track {
  display: flex;
  grid-template-columns: none;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.four-d-method-track::-webkit-scrollbar {
  display: none;
}

.four-d-method-track.has-previous {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38px, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 38px, #000 100%);
}

.four-d-method-track.has-next {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 38px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 38px), transparent 100%);
}

.four-d-method-track.has-previous.has-next {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38px, #000 calc(100% - 38px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 38px, #000 calc(100% - 38px), transparent 100%);
}

.four-d-method-track .four-d-method-card,
.four-d-method-discover-card {
  flex: 0 0 clamp(204px, 20vw, 254px);
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
}

.four-d-method-discover-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(70, 93, 108, .07);
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.four-d-method-discover-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.four-d-method-discover-card strong {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.08;
}

.four-d-method-discover-card:hover,
.four-d-method-discover-card:focus-visible {
  border-color: var(--green);
  box-shadow: 0 16px 34px rgba(70, 93, 108, .12);
  outline: none;
  transform: translateY(-2px);
}

.four-d-carousel {
  width: 100%;
  margin: 0 auto;
}

.four-d-panels-section > .section-inner {
  width: 100%;
  max-width: none;
}

.four-d-panels-heading {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto 24px;
}

.four-d-panels {
  width: 100%;
  min-width: 0;
  display: block;
}

.four-d-panel {
  height: 450px;
}

.four-d-panel-card {
  display: block;
  height: 450px;
  padding: 0;
  border: 1px solid rgba(70, 93, 108, .14);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 32px rgba(70, 93, 108, .08);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.four-d-panel-card.page-hero-image::after {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0,
    rgba(255, 255, 255, 1) var(--page-hero-image-start),
    rgba(255, 255, 255, .86) calc(var(--page-hero-image-start) + 1.875%),
    rgba(255, 255, 255, .52) calc(var(--page-hero-image-start) + 3.75%),
    rgba(255, 255, 255, 0) var(--page-hero-fade-end),
    rgba(255, 255, 255, 0) 100%
  );
}

.four-d-panel-card.page-hero {
  padding: 48px 0 37px;
}

.four-d-panel-card.page-hero h2,
.four-d-panel-card.page-hero > .section-inner > p:not(.eyebrow),
.four-d-panel-card.page-hero .hero-actions {
  max-width: min(590px, calc(50vw - 72px));
}

.four-d-panel-card.page-hero > .section-inner > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  text-align-last: left;
  hyphens: none;
}

.four-d-panel-page {
  max-width: 720px;
}

.four-d-panel-page h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(64px, 9vw, 110px);
  font-weight: 900;
  line-height: .9;
}

.four-d-panel-page .eyebrow {
  margin-bottom: 24px;
}

.four-d-panel-page .eyebrow,
.four-d-panel-page h3 {
  text-align: left;
}

.four-d-panel-card span {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1;
}

.four-d-panel-card:hover,
.four-d-panel-card:focus-within {
  border-color: rgba(108, 151, 78, .42);
  box-shadow: 0 20px 36px rgba(70, 93, 108, .12);
  transform: translateY(-2px);
}

.four-d-carousel-stage {
  position: relative;
}

.four-d-carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.four-d-carousel-button {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-50%);
}

.four-d-carousel-button::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border: solid currentColor;
  border-width: 0 3px 3px 0;
  pointer-events: none;
}

.four-d-carousel-button[data-four-d-carousel-prev]::before {
  transform: translateX(2px) rotate(135deg);
}

.four-d-carousel-button[data-four-d-carousel-next]::before {
  transform: translateX(-2px) rotate(-45deg);
}

.four-d-carousel-button[data-four-d-carousel-prev] {
  left: 32px;
}

.four-d-carousel-button[data-four-d-carousel-next] {
  right: 32px;
}

.four-d-carousel-button:hover,
.four-d-carousel-button:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

.four-d-carousel-status {
  min-width: 42px;
  color: var(--ink-soft);
  font-size: 16px;
  text-align: center;
}

.four-d-method-card {
  min-width: 0;
}

.featured-work-list {
  display: grid;
}

.featured-work-item {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.featured-work-panels .featured-work-item:first-child {
  border-top: 0;
}

.featured-work-item[hidden] {
  display: none;
}

.featured-work-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(70, 93, 108, .06);
}

.featured-work-card .project-card-content h3 {
  display: -webkit-box;
  min-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.2;
  overflow-wrap: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.featured-work-card .project-card-content p,
.featured-work-card .tool-card-body p {
  display: -webkit-box;
  min-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--ink-soft);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.featured-tool-card {
  --tool-light: #d8e6fc;
  --tool-accent: #3478e5;
  background: linear-gradient(180deg, rgba(242, 247, 247, .95), #fff);
}

.featured-tool-card[data-tool="nuru"] {
  --tool-light: #e5dcf8;
  --tool-accent: #7857d9;
}

.featured-tool-card[data-tool="aldor"] {
  --tool-light: #cfece5;
  --tool-accent: #17877f;
}

.tool-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 164px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at top right, var(--tool-light), transparent 85%), var(--surface);
  box-shadow: inset 0 4px 0 var(--tool-accent);
}

.tool-card-logo {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.tool-card-wordmark {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", "Roboto", Arial, sans-serif;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.tool-card-body {
  display: grid;
  align-content: start;
  min-height: 240px;
  gap: 12px;
  padding: 22px;
}

.tool-card-tagline {
  font-weight: 700;
}

.featured-work-copy {
  max-width: 720px;
  padding-top: 4px;
}

.featured-work-copy h3 {
  max-width: 720px;
  font-size: clamp(28px, 3vw, 42px);
}

.featured-work-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 18px;
}

.featured-work-bullets {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.featured-work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.about-block {
  max-width: 900px;
}

.about-block h2 {
  max-width: none;
}

.about-markdown {
  display: grid;
  gap: 16px;
}

.about-markdown h2,
.about-markdown h3,
.about-markdown p {
  margin: 0;
}

.about-markdown h3 {
  margin-top: 8px;
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}

.about-markdown p {
  max-width: 900px;
  color: var(--ink-soft);
}

.about-markdown p,
.about-section:is(#team, #board, #partners) .section-heading p {
  font-size: 18px;
}

.about-markdown a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.section-subtitle {
  max-width: 720px;
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px 20px;
  margin-top: 34px;
}

/* Blend white image backgrounds into the page without modifying source artwork. */
.partner-logo {
  mix-blend-mode: multiply;
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 10px 14px;
  border-radius: 8px;
  overflow: visible;
}

.partner-logo:hover,
.partner-logo:focus-within {
  z-index: 20;
}

.partner-logo img {
  --partner-logo-scale: 1;
  --partner-logo-hover-scale: 1.35;
  display: block;
  max-width: 152px;
  max-height: 56px;
  object-fit: contain;
  filter: grayscale(50%);
  opacity: 1;
  transform: scale(var(--partner-logo-scale));
  transform-origin: center;
  transition: transform .2s ease, filter .2s ease;
}

.partner-logo:hover img,
.partner-logo:focus-within img {
  filter: none;
  opacity: 1;
  transform: scale(var(--partner-logo-hover-scale));
}

.partner-logo--tall {
  min-height: 110px;
}

.partner-logo--tall img {
  max-height: 96px;
}

.partner-logo--wide img {
  max-width: 190px;
  max-height: 68px;
}

.partner-logo--compact img {
  max-width: 162px;
  max-height: 58px;
}

.partner-logo--scale-140 img {
  --partner-logo-scale: 1.4;
  --partner-logo-hover-scale: 1.89;
}

.partner-logo--scale-115 img {
  --partner-logo-scale: 1.15;
  --partner-logo-hover-scale: 1.5525;
}

.partner-logo--scale-170 img {
  --partner-logo-scale: 1.7;
  --partner-logo-hover-scale: 2.295;
}

.partner-logo--scale-150 img {
  --partner-logo-scale: 1.5;
  --partner-logo-hover-scale: 2.025;
}

.partner-logo--scale-130 img {
  --partner-logo-scale: 1.3;
  --partner-logo-hover-scale: 1.755;
}

.partner-logo--scale-95 img {
  --partner-logo-scale: .95;
  --partner-logo-hover-scale: 1.2825;
}

.partner-logo--scale-90 img {
  --partner-logo-scale: .9;
  --partner-logo-hover-scale: 1.215;
}

.partner-logo--cyprus-institute img {
  max-width: 210px;
  max-height: 84px;
}

.partner-logo--lockup .partner-logo__lockup-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  filter: grayscale(50%);
  transform-origin: center;
  transition: transform .2s ease, filter .2s ease;
}

.partner-logo--lockup img {
  max-width: 38px;
  max-height: 56px;
}

.partner-logo--lockup:hover .partner-logo__lockup-content,
.partner-logo--lockup:focus-within .partner-logo__lockup-content {
  filter: none;
  transform: scale(1.35);
}

.publication-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 34px;
  align-items: center;
}

.publication-hero h1 {
  max-width: 860px;
  font-size: clamp(40px, 5vw, 68px);
}

.publication-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 34px;
}

.hero-publication-panel {
  display: flex;
  justify-content: center;
}

.publication-stats div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  text-align: center;
}

.publication-stats strong {
  display: block;
  color: var(--green);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 48px;
  line-height: 1;
}

.publication-stats span,
.library-status {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.publication-featured-strip {
  padding: 22px 0 24px;
  background: linear-gradient(90deg, rgba(236, 152, 34, .16), rgba(236, 152, 34, .08));
  color: var(--ink);
}

.publication-filter-section,
.project-filter-section {
  padding-top: 0;
}

.publication-featured-inner {
  display: grid;
  grid-template-columns: minmax(170px, .26fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.publication-featured-inner h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.1;
  text-align: right;
}

.publication-featured-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.publication-featured-carousel.is-static {
  grid-template-columns: minmax(0, 1fr);
}

.publication-featured-carousel.is-static .featured-carousel-button {
  display: none;
}

.publication-featured-carousel.is-static .featured-publication-covers.publication-grid {
  -webkit-mask-image: none;
  mask-image: none;
}

.featured-carousel-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(70, 93, 108, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(70, 93, 108, .1);
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, opacity .16s ease;
  user-select: none;
}

.featured-carousel-button::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border: solid currentColor;
  border-width: 0 3px 3px 0;
  pointer-events: none;
}

.featured-carousel-button[data-featured-scroll="prev"]::before,
.featured-carousel-button[data-method-scroll="prev"]::before {
  transform: translateX(2px) rotate(135deg);
}

.featured-carousel-button[data-featured-scroll="next"]::before,
.featured-carousel-button[data-method-scroll="next"]::before {
  transform: translateX(-2px) rotate(-45deg);
}

.featured-carousel-button:hover,
.featured-carousel-button:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  outline: none;
}

.featured-carousel-button:disabled {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  opacity: .1;
  cursor: default;
  pointer-events: none;
}

.featured-publication-covers.publication-grid {
  display: flex;
  grid-template-columns: none;
  justify-content: start;
  gap: 18px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.featured-publication-covers.has-previous {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38px, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 38px, #000 100%);
}

.featured-publication-covers.has-next {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 38px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 38px), transparent 100%);
}

.featured-publication-covers.has-previous.has-next {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38px, #000 calc(100% - 38px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 38px, #000 calc(100% - 38px), transparent 100%);
}

.featured-publication-covers.publication-grid::-webkit-scrollbar {
  display: none;
}

.featured-publication-covers .home-publication-card {
  flex: 0 0 clamp(124px, 15vw, 158px);
  width: auto;
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
}

.homepage-featured-carousel .featured-publication-covers .home-publication-card {
  flex-basis: clamp(204px, 20vw, 254px);
}

.homepage-featured-carousel .cover-fallback img {
  width: 92px;
  height: 62px;
}

.featured-publication-covers .home-publication-card.is-placeholder .publication-cover {
  border: 1px dashed rgba(70, 93, 108, .26);
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(236, 152, 34, .14));
}

.featured-publication-covers .home-publication-card.is-placeholder .home-publication-overlay {
  background: rgba(70, 93, 108, .78);
}

.featured-publication-covers .home-publication-overlay {
  gap: 7px;
  padding: 12px;
}

.featured-publication-covers .home-publication-overlay h3 {
  font-size: 15px;
  line-height: 1.12;
}

.featured-publication-covers .home-publication-overlay .tag-row {
  display: none;
}

.featured-publication-covers .home-publication-read {
  min-height: 28px;
  padding: 6px 8px;
  font-size: 11px;
}

.updates-hero {
  overflow: hidden;
}

.updates-hero-inner {
  display: block;
}

.updates-hero-copy {
  min-width: 0;
  max-width: 780px;
}

.updates-hero-newsletter {
  display: grid;
  grid-template-columns: minmax(92px, 136px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 32px rgba(70, 93, 108, .08);
}

.updates-hero-cover-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 22px rgba(70, 93, 108, .14);
}

.updates-hero-cover-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.updates-hero-newsletter-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
}

.updates-hero-newsletter-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.06;
}

.updates-hero-newsletter-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.42;
}

.newsletter-latest-button {
  align-self: flex-start;
  min-height: 38px;
  margin-top: 2px;
  padding: 8px 13px;
  font-size: 13px;
}

.updates-latest-newsletter-band {
  padding: 36px 0;
  border-top: 1px solid rgba(236, 152, 34, .18);
  border-bottom: 1px solid rgba(236, 152, 34, .18);
  background: linear-gradient(90deg, rgba(236, 152, 34, .16), rgba(236, 152, 34, .08));
}

.updates-latest-newsletter {
  grid-template-columns: minmax(172px, 204px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.updates-latest-newsletter .updates-hero-newsletter-copy {
  max-width: 760px;
  gap: 12px;
  padding-left: 24px;
  border-left: 3px solid var(--orange);
}

.updates-latest-newsletter .updates-hero-newsletter-copy h2 {
  font-size: 38px;
}

.updates-latest-newsletter .updates-hero-newsletter-copy p {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.5;
}

.updates-latest-newsletter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.updates-latest-newsletter .updates-hero-cover-link {
  border: 1px solid rgba(70, 93, 108, .14);
  box-shadow: 0 18px 38px rgba(70, 93, 108, .2);
}

.updates-newsletter-strip {
  padding: 18px 0 20px;
  border-top: 1px solid rgba(108, 151, 78, .16);
  border-bottom: 1px solid rgba(108, 151, 78, .16);
  background: rgba(108, 151, 78, .1);
}

.updates-newsletter-inner {
  display: block;
}

.newsletter-archive-panel {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.newsletter-archive-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.newsletter-archive-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
}

.newsletter-carousel-track .newsletter-carousel-card {
  position: relative;
  display: block;
  flex: 0 0 clamp(118px, 12vw, 150px);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(70, 93, 108, .16);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(70, 93, 108, .1);
  scroll-snap-align: start;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.newsletter-carousel-card:hover,
.newsletter-carousel-card:focus-visible {
  border-color: rgba(236, 152, 34, .6);
  box-shadow: 0 16px 30px rgba(70, 93, 108, .14);
  outline: none;
  transform: translateY(-2px);
}

.newsletter-cover-thumb,
.newsletter-cover-thumb img {
  display: block;
  width: 100%;
  height: 100%;
}

.newsletter-cover-thumb img {
  object-fit: cover;
}

.newsletter-card-overlay {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 6px;
  padding: 12px;
  border-top: 1px solid rgba(70, 93, 108, .12);
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease;
}

.newsletter-carousel-card:hover .newsletter-card-overlay,
.newsletter-carousel-card:focus-visible .newsletter-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.newsletter-card-date {
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.newsletter-carousel-card strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.12;
}

.newsletter-carousel-card .home-publication-read {
  justify-self: start;
  min-height: 26px;
  padding: 5px 8px;
  background: rgba(70, 93, 108, .08);
  color: var(--ink);
  font-size: 11px;
}

@media (hover: none) {
  .newsletter-card-overlay {
    opacity: 1;
    transform: none;
  }
}

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

.home-updates-section {
  padding: 44px 0 46px;
}

.home-updates-section .section-heading {
  margin-bottom: 18px;
}

.updates-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.update-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(70, 93, 108, .07);
}

.update-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.08;
}

.update-card p {
  margin: 0;
  color: var(--ink-soft);
}

.update-card .read-more {
  appearance: none;
  display: inline-flex;
  box-sizing: border-box;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 900;
  color: var(--green);
  cursor: pointer;
  margin-top: auto;
  padding: 2px 6px;
  border: 0;
  border-radius: 0;
  background: #efefef;
  line-height: inherit;
  text-align: center;
}

.update-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.update-card-meta span {
  color: var(--green);
}

.update-news-card {
  min-height: 0;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-top: 0;
}

.update-news-image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-muted);
}

.update-news-image-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .18s ease, transform .18s ease;
}

.update-news-card:hover .update-news-image-link img,
.update-news-card:focus-within .update-news-image-link img {
  filter: saturate(.82) contrast(.98);
  transform: scale(1.025);
}

.newsletter-update-link:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -3px;
}

.newsletter-update-link .update-news-image-link img {
  object-position: center top;
}

.update-news-content {
  display: flex;
  min-height: 218px;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.update-news-content h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.12;
}

.update-news-content p {
  text-align: left;
  text-align-last: left;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  font-size: 16px;
  line-height: 1.45;
}

.update-toggle {
  border: 0;
  cursor: pointer;
}

.update-toggle[hidden],
.update-close[hidden] {
  display: none;
}

.update-close {
  align-self: flex-start;
  min-height: 38px;
  margin-top: auto;
  padding: 8px 14px;
  border: 1px solid rgba(70, 93, 108, .22);
  border-radius: var(--button-radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.update-close:hover,
.update-close:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  outline: none;
}

.update-news-more {
  display: grid;
  gap: 10px;
}

.update-news-more[hidden] {
  display: none;
}

.update-news-card.is-expanded .update-news-content p {
  -webkit-line-clamp: unset;
}

.home-updates-track,
.updates-latest-track {
  display: flex;
  grid-template-columns: none;
  gap: 20px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-updates-track::-webkit-scrollbar,
.updates-latest-track::-webkit-scrollbar {
  display: none;
}

.home-updates-track.has-previous,
.updates-latest-track.has-previous {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38px, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 38px, #000 100%);
}

.home-updates-track.has-next,
.updates-latest-track.has-next {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 38px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 38px), transparent 100%);
}

.home-updates-track.has-previous.has-next,
.updates-latest-track.has-previous.has-next {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38px, #000 calc(100% - 38px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 38px, #000 calc(100% - 38px), transparent 100%);
}

.home-updates-track .update-news-card,
.updates-latest-track .update-news-card {
  flex: 0 0 clamp(250px, 24vw, 310px);
  scroll-snap-align: start;
}

.home-updates-track .update-news-content,
.updates-latest-track .update-news-content {
  min-height: 184px;
  gap: 8px;
  padding: 16px;
}

.home-updates-track .update-news-content h3,
.updates-latest-track .update-news-content h3 {
  font-size: clamp(18px, 1.45vw, 21px);
}

.home-updates-track .update-news-content p,
.updates-latest-track .update-news-content p {
  -webkit-line-clamp: 3;
  font-size: 15px;
  line-height: 1.42;
}

.publication-featured-carousel.has-expanded-update {
  grid-template-columns: minmax(0, 1fr);
}

.publication-featured-carousel.has-expanded-update > .featured-carousel-button {
  display: none;
}

.home-updates-track.has-expanded-update,
.updates-latest-track.has-expanded-update {
  display: block;
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.home-updates-track.has-expanded-update .update-news-card:not(.is-expanded),
.updates-latest-track.has-expanded-update .update-news-card:not(.is-expanded) {
  display: none;
}

.home-updates-track.has-expanded-update .update-news-card.is-expanded,
.updates-latest-track.has-expanded-update .update-news-card.is-expanded {
  display: grid;
  grid-template-columns: minmax(240px, .52fr) minmax(0, .9fr);
  width: min(100%, 1040px);
  margin-inline: auto;
  min-height: 0;
  scroll-snap-align: none;
}

.updates-feed[data-harmonize-expanded-updates].has-expanded-update .update-news-card.is-expanded {
  height: var(--expanded-update-height, auto);
}

.updates-feed[data-harmonize-expanded-updates].has-expanded-update .update-news-card.is-expanded .update-news-content {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.home-updates-track.has-expanded-update .update-news-card.is-expanded .update-news-image-link,
.updates-latest-track.has-expanded-update .update-news-card.is-expanded .update-news-image-link {
  min-height: 100%;
  aspect-ratio: auto;
}

.home-updates-track.has-expanded-update .update-news-card.is-expanded .update-news-content,
.updates-latest-track.has-expanded-update .update-news-card.is-expanded .update-news-content {
  min-height: 0;
  gap: 12px;
  padding: 22px;
}

.home-updates-track.has-expanded-update .update-news-card.is-expanded .update-news-content h3,
.updates-latest-track.has-expanded-update .update-news-card.is-expanded .update-news-content h3 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.home-updates-track.has-expanded-update .update-news-card.is-expanded .update-news-content p,
.updates-latest-track.has-expanded-update .update-news-card.is-expanded .update-news-content p {
  -webkit-line-clamp: unset;
  font-size: 16px;
  line-height: 1.48;
}

.publication-toolbar {
  position: sticky;
  top: var(--header-height);
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) repeat(6, minmax(112px, .72fr));
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 251, 250, .96);
  box-shadow: 0 12px 32px rgba(70, 93, 108, .08);
  backdrop-filter: blur(14px);
  isolation: isolate;
}

.filter-panel-footer {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  justify-items: start;
  padding-top: 2px;
}

.filter-panel-footer .library-status,
.filter-panel-footer .project-library-status {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.filter-panel-footer .project-pagination {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
}

.filter-panel-footer .text-button {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.publication-toolbar label,
.publication-toolbar .filter-field {
  display: grid;
  gap: 0;
  position: relative;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.publication-toolbar > label > span,
.publication-toolbar > .filter-field > span,
.projects-toolbar > label > span,
.projects-toolbar > .filter-field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.publication-toolbar input,
.publication-toolbar select,
.projects-toolbar input,
.projects-toolbar select,
.multi-select-trigger {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--surface);
  color: var(--ink);
}

.multi-select {
  position: relative;
  min-width: 0;
}

.multi-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: left;
}

.multi-select-trigger span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.multi-select-trigger::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .16s ease;
}

.multi-select.is-open .multi-select-trigger::after {
  transform: translateY(2px) rotate(225deg);
}

.multi-select.has-selection .multi-select-trigger {
  border-color: color-mix(in srgb, var(--green) 55%, var(--line));
  background: rgba(184, 213, 165, .22);
}

.multi-select-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 80;
  display: none;
  width: max(100%, min(280px, calc(100vw - 40px)));
  max-height: min(320px, 52vh);
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(70, 93, 108, .16);
}

.filter-field:nth-last-child(-n+3) .multi-select-panel {
  right: 0;
  left: auto;
}

.multi-select.is-open .multi-select-panel {
  display: grid;
  gap: 3px;
}

.multi-select-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
  padding: 8px;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.multi-select-option > span {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  color: var(--ink);
  white-space: normal;
}

.multi-select-option:hover,
.multi-select-option:focus-within {
  background: rgba(184, 213, 165, .22);
}

.multi-select-option input {
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  accent-color: var(--green);
}

.library-status {
  margin: 0;
}

.text-button {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
}

.text-button:hover,
.text-button:focus {
  border-color: var(--green);
  background: rgba(184, 213, 165, .28);
}

.publication-library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.library-card {
  min-width: 0;
}

.cover-link {
  display: block;
}

.publication-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #f8faf7, #dbe9d0);
  box-shadow: var(--shadow);
}

.publication-cover.cover-gender {
  background: linear-gradient(145deg, #fbf8fa, #e6d7ec);
}

.publication-cover.cover-urban {
  background: linear-gradient(145deg, #f7fbfb, #cde6e4);
}

.publication-cover.cover-governance {
  background: linear-gradient(145deg, #fbfaf4, #f2d7a5);
}

.publication-cover.cover-youth {
  background: linear-gradient(145deg, #f6fbff, #c9dff4);
}

.pdf-cover,
.cover-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pdf-cover {
  z-index: 1;
  border: 0;
  pointer-events: none;
}

.cover-fallback {
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.cover-fallback img {
  width: 72px;
  height: 48px;
  object-fit: contain;
  padding: 5px;
  border-radius: 6px;
  background: #fff;
}

.cover-fallback span {
  margin-top: auto;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cover-fallback strong {
  display: block;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.14;
}

.publication-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: 18px;
  background: rgba(70, 93, 108, .92);
  color: #fff;
  opacity: 0;
  transition: opacity .18s ease;
}

.publication-cover:hover .publication-hover,
.cover-link:focus .publication-hover {
  opacity: 1;
}

.publication-cover:hover .publication-cover-image,
.cover-link:focus .publication-cover-image {
  filter: grayscale(1) brightness(.68);
  transform: scale(1.015);
}

.publication-hover h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.14;
  overflow-wrap: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.publication-hover .card-label,
.publication-hover-meta span,
.publication-open {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.publication-hover .card-label,
.publication-hover-meta span {
  color: rgba(255, 255, 255, .82);
}

.publication-hover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.publication-hover-meta span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--button-radius);
  background: rgba(255, 255, 255, .1);
}

.publication-open {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: var(--button-radius);
  background: var(--orange);
  color: #fff;
}

.projects-hero {
  padding: 64px 0 46px;
  background: var(--surface-muted);
}

.projects-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 34px;
  align-items: center;
}

.projects-hero h1 {
  max-width: 900px;
  font-size: clamp(40px, 5vw, 68px);
}

.projects-hero-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 34px;
  justify-self: center;
  width: auto;
}

.projects-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  text-align: center;
}

.projects-stat strong {
  display: block;
  color: var(--green);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 48px;
  line-height: 1;
}

.projects-stat span,
.project-library-status {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.projects-toolbar {
  position: sticky;
  top: var(--header-height);
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) repeat(4, minmax(132px, .78fr));
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 251, 250, .96);
  box-shadow: 0 12px 32px rgba(70, 93, 108, .08);
  backdrop-filter: blur(14px);
  isolation: isolate;
}

.projects-toolbar[hidden],
.projects-toolbar.is-hidden-for-detail,
body.has-project-detail-open .projects-toolbar {
  display: none !important;
}

.projects-toolbar label,
.projects-toolbar .filter-field {
  display: grid;
  gap: 0;
  position: relative;
  min-width: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.project-library-status {
  margin: 0;
}

.filter-panel-footer .library-status,
.filter-panel-footer .project-library-status {
  color: color-mix(in srgb, var(--ink-soft) 86%, #fff);
  font-size: 11px;
  line-height: 1.25;
}

.project-library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.project-library-card {
  --project-accent: var(--green);
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(70, 93, 108, .06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.project-library-card::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  content: "";
}

.project-library-card:hover,
.project-library-card:focus-within {
  border-color: color-mix(in srgb, var(--project-accent) 45%, var(--line));
  box-shadow: 0 18px 42px rgba(70, 93, 108, .14);
  transform: translateY(-3px);
}

.project-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 130px;
  padding: 42px 16px 16px;
  color: var(--ink);
  background: linear-gradient(145deg, #f8faf7 0%, #e8f0df 52%, #f6e1bd 100%);
}

.project-year-range {
  position: absolute;
  top: 14px;
  right: 16px;
  max-width: calc(100% - 28px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
  white-space: nowrap;
  box-shadow: none;
}

.project-data-flag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(112px, 40%);
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(70, 93, 108, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .4);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(70, 93, 108, .08);
  backdrop-filter: blur(10px);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.project-data-flag:hover,
.project-data-flag:focus {
  border-color: rgba(70, 93, 108, .36);
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(70, 93, 108, .14);
  outline: none;
  transform: translateY(-1px);
}

.project-data-flag:focus-visible {
  outline: 3px solid rgba(242, 145, 24, .35);
  outline-offset: 2px;
}

.project-country-name {
  max-width: 100%;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.05;
  overflow-wrap: normal;
  hyphens: none;
}

.project-visual.has-data .project-country-name {
  padding-right: 88px;
}

.project-card-content {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  padding: 16px;
}

.project-card-content .card-label {
  margin-bottom: 6px;
}

.project-card-content h2 {
  display: -webkit-box;
  min-height: 60px;
  margin-bottom: 0;
  overflow: hidden;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.project-card-content p {
  display: -webkit-box;
  height: 57px;
  min-height: 0;
  max-height: 57px;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  text-align-last: left;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.project-toggle {
  min-height: 36px;
  margin-top: 2px;
  padding: 7px 10px;
  border: 1px solid var(--green);
  border-radius: var(--button-radius);
  background: var(--surface);
  color: var(--green);
  cursor: pointer;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease, transform .18s ease;
}

.project-toggle:hover,
.project-toggle:focus {
  background: rgba(184, 213, 165, .28);
}

.project-library-card:hover .project-toggle,
.project-library-card:focus-within .project-toggle,
.project-toggle:focus {
  border-color: var(--project-accent);
  color: var(--project-accent);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.project-library-card.is-expanded {
  grid-column: 1 / -1;
}

.project-library-card.is-focused {
  grid-column: 1 / -1;
}

.project-library-card.is-expanded .project-card-content {
  grid-template-rows: auto;
}

.project-library-card.is-expanded .project-card-content h2,
.project-library-card.is-expanded .project-card-content p {
  display: block;
  min-height: 0;
}

.project-details {
  padding: 0 20px 22px;
}

.project-expanded-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 20px 22px;
}

.project-toggle-expanded {
  min-height: 34px;
  padding: 6px 12px;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.project-details > p {
  color: var(--ink-soft);
}

.project-description-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin: 12px 0 16px;
}

.project-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.project-dashboard-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border: 1px solid rgba(242, 145, 24, .42);
  border-radius: var(--button-radius);
  background: var(--orange);
  box-shadow: 0 12px 22px rgba(242, 145, 24, .18);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.project-dashboard-button:hover,
.project-dashboard-button:focus {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 10px 20px rgba(70, 93, 108, .14);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.project-detail-grid div {
  min-width: 0;
}

.country-panel-header h3 {
  min-width: 0;
  overflow-wrap: normal;
}

.country-panel-counts {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.country-panel-counts .country-stat-inline {
  min-width: 65px;
  padding: 6px 7px;
}

.country-panel .map-project-pill:not(.map-more-pill),
.country-panel .map-publication-pill:not(.map-more-pill) {
  display: block;
  flex: 1 1 100%;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  white-space: normal;
  line-height: 1.25;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: normal;
  text-align: left;
  border-radius: 14px;
}

.country-panel .country-project-group {
  margin-top: 10px;
}

.country-panel .map-project-pill-row {
  margin-bottom: 0;
}

.project-detail-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-detail-grid.is-aligned > .project-detail-column {
  display: contents;
}

.project-detail-grid.is-aligned > .project-detail-column:first-child > div {
  grid-column: 1;
}

.project-detail-grid.is-aligned > .project-detail-column:first-child > div:nth-child(1) { grid-row: 1; }
.project-detail-grid.is-aligned > .project-detail-column:first-child > div:nth-child(2) { grid-row: 2; }
.project-detail-grid.is-aligned > .project-detail-column:first-child > div:nth-child(3) { grid-row: 3; }

.project-detail-grid.is-aligned .project-detail-partners {
  grid-column: 2;
  grid-row: 1;
}

.project-detail-grid.is-aligned .project-detail-publications {
  grid-column: 2;
  grid-row: 2;
}

.project-detail-grid .project-detail-wide {
  grid-column: 1 / -1;
}

.project-detail-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.publication-toolbar .sort-field,
.projects-toolbar .sort-field {
  grid-column: 1;
  grid-row: 2;
}

.publication-toolbar .search-field,
.projects-toolbar .search-field {
  grid-column: 1;
  grid-row: 1;
}

.projects-toolbar .sort-field {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.projects-toolbar .data-available-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  cursor: pointer;
}

.projects-toolbar .data-available-filter input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--green);
}

.projects-toolbar .sort-select .multi-select-trigger {
  font-size: 12px;
}

@media (min-width: 861px) {
  .projects-toolbar,
  .publication-toolbar {
    border-color: transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .projects-toolbar::before,
  .publication-toolbar::before {
    content: "";
    position: absolute;
    /* Cover the transparent toolbar border and fractional-pixel sticky seams. */
    inset: -2px 0 0;
    z-index: -1;
    pointer-events: none;
    background: rgb(251, 251, 250);
    box-shadow: 0 0 0 100vmax rgb(251, 251, 250);
    clip-path: inset(0 -100vmax);
  }

  .projects-toolbar::after,
  .publication-toolbar::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 24px;
    pointer-events: none;
    border-image: linear-gradient(rgba(70, 93, 108, .12), transparent) fill 1 / 1px / 0 100vw;
  }
}

.sort-select-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 34px;
  padding: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.sort-select-option:hover,
.sort-select-option:focus,
.sort-select-option.is-active {
  background: rgba(184, 213, 165, .22);
  outline: none;
}

.sort-select-option.is-active {
  color: var(--ink);
}

.project-detail-grid .tag-row {
  margin-top: 0;
}

.project-detail-grid span,
.project-detail-grid li {
  color: var(--ink-soft);
}

.project-partner-list {
  display: grid;
  gap: 4px;
}

.project-detail-grid ul {
  margin: 0;
  padding-left: 18px;
}

.project-detail-grid a {
  color: var(--green);
  font-weight: 800;
}

.project-detail-grid .project-output-pill,
.project-detail-grid a.project-related-project-pill {
  color: var(--ink);
}

.internal-tool-page {
  overflow: hidden;
}

.internal-tool-shell {
  height: calc(100vh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  background: #eef3ef;
}

.internal-tool-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.country-actions {
  flex: 0 0 auto;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.country-back-button {
  cursor: pointer;
  font: inherit;
}

.project-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex-wrap: wrap;
}

.filter-panel-footer .project-pagination {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  position: relative;
  z-index: 2;
}

.filter-panel-footer .text-button {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  position: relative;
  z-index: 2;
}

.project-pagination[hidden] {
  display: none;
}

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

.pagination-button {
  min-width: 34px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.pagination-page {
  min-width: 34px;
  padding-right: 12px;
  padding-left: 12px;
}

.pagination-button:hover,
.pagination-button:focus {
  border-color: var(--green);
  background: rgba(184, 213, 165, .28);
  color: var(--green);
}

.pagination-button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.pagination-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.pagination-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 34px;
  padding: 0 2px;
  color: var(--ink-soft);
  font-weight: 900;
  line-height: 1;
  transform: translateY(-2px);
  user-select: none;
}

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

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.people-grid[hidden] { display: none; }

.person-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  z-index: 201;
  border: 0;
  padding: 0;
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
}

.person-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(28, 40, 48, .55);
}
.person-modal .person-expanded { width: 100%; margin: 0; }


.person-expanded {
  display: grid;
  grid-template-columns: minmax(240px, .52fr) minmax(0, .9fr);
  width: min(100%, 1040px);
  margin-inline: auto;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.person-expanded .person-photo-wrap {
  aspect-ratio: auto;
  min-height: 320px;
}

.person-expanded .person-photo { object-position: center top; }

.person-expanded-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.person-expanded-content h3 { margin: 0; font-size: clamp(24px, 2.4vw, 34px); }
.person-expanded-content p { margin: 0; text-align: justify; text-align-last: left; font-size: 15px; }
.person-expanded-content .button { margin-top: auto; }
.person-expanded-content button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

@media (max-width: 680px) {
  .person-expanded { grid-template-columns: minmax(0, 1fr); }
  .person-expanded .person-photo-wrap { aspect-ratio: 1; min-height: 0; }
  .person-expanded-content { padding: 22px; }
}

.person-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(70, 93, 108, .06);
}

.person-card-collapsible {
  cursor: pointer;
  transition: box-shadow .18s ease, border-color .18s ease;
}

.person-card-collapsible:hover,
.person-card-collapsible:focus-visible,
.person-card-collapsible.is-open {
  border-color: rgba(111, 151, 82, .42);
  box-shadow: 0 14px 34px rgba(70, 93, 108, .11);
  outline: none;
}

.project-publications-toggle {
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.project-detail-grid .project-publications-toggle,
.project-detail-grid .project-publications-toggle:hover,
.project-detail-grid .project-publications-toggle:focus,
.project-detail-grid .project-publications-toggle:active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.project-publications-toggle:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.project-publications-remainder[hidden] {
  display: none;
}

.project-publications-remainder {
  display: contents;
}

.person-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #e7e7e7;
}

.person-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.person-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.person-card-body {
  min-height: 118px;
  padding: 20px 20px 56px;
}

.person-card-body h3 {
  margin-bottom: 6px;
}

.person-card-body strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
}

.person-bio-overlay[hidden] {
  display: none;
}

.person-bio-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px 22px 58px;
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  backdrop-filter: blur(1.5px);
}

.person-bio-overlay p {
  margin: 0;
  overflow: auto;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.42;
  text-align: left;
}

.person-bio-toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(70, 93, 108, .24);
  border-radius: var(--button-radius);
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(70, 93, 108, .08);
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.person-bio-toggle[hidden] {
  display: none;
}

.person-card-collapsible:hover .person-bio-toggle,
.person-card-collapsible:focus-visible .person-bio-toggle {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-soft);
}

.contact-section,
.site-footer {
  background: #465d6c;
  color: #fff;
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, .72);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, .76);
}

.footer-logo {
  display: block;
  width: 118px;
  height: 92px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.service-grid {
  display: grid;
  align-items: stretch;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  --service-card-icon-column: 54px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  min-height: 0;
  padding: 22px 32px 24px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(70, 93, 108, .06);
}

.service-card-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.service-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: var(--orange);
}

.service-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0;
  text-align: left;
  text-align-last: left;
}

.service-card-subheading {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
  text-align: left;
}

.service-card p {
  font-size: calc(1rem + 1px);
  flex: 1 1 auto;
  margin: 0;
  color: var(--ink-soft);
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
}

.service-card .read-more {
  align-self: center;
  justify-content: center;
  min-width: 118px;
  min-height: 36px;
  margin-top: 18px;
  padding: 8px 16px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 18px rgba(236, 152, 34, .18);
  font-size: .92rem;
  line-height: 1;
  text-decoration: none;
}

.read-more {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 18px;
  color: var(--green);
  font-weight: 900;
}

.read-more:hover,
.read-more:focus {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-card .read-more:hover,
.service-card .read-more:focus {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.data-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

#featured-publications:not(.featured-publication-covers).publication-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.publications-preview-section {
  background: linear-gradient(180deg, rgba(236, 152, 34, .13), rgba(236, 152, 34, .07));
}

.publications-preview-section .section-heading.split {
  grid-template-columns: minmax(0, .58fr) minmax(0, 1.42fr);
  align-items: center;
}

.featured-publications-intro {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  justify-self: end;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  max-width: 960px;
}

.featured-publications-intro p {
  flex: 1 1 280px;
  min-width: 0;
  width: auto;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  text-align-last: right;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.featured-publications-intro p span {
  display: inline;
  white-space: normal;
}

.publications-preview-button {
  flex: 0 0 258px;
  width: 258px;
  max-width: 100%;
  min-height: 58px;
  padding: 15px 18px;
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 26px rgba(236, 152, 34, .22);
  text-align: center;
  white-space: nowrap;
}

.publications-preview-button:hover,
.publications-preview-button:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  outline: none;
}

.home-publication-card {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--surface);
}

.home-publication-link {
  display: block;
  height: 100%;
  color: inherit;
}

.home-publication-cover {
  height: 100%;
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
}

.home-publication-cover .pdf-cover,
.publication-cover-image {
  transition: filter .18s ease, transform .18s ease;
}

.publication-cover-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-publication-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px;
  background: rgba(75, 82, 84, .9);
  color: #fff;
  opacity: 0;
  transition: opacity .18s ease;
}

.home-publication-card:hover .home-publication-overlay,
.home-publication-link:focus-visible .home-publication-overlay {
  opacity: 1;
}

.home-publication-card:hover .pdf-cover,
.home-publication-card:hover .publication-cover-image,
.home-publication-link:focus-visible .pdf-cover,
.home-publication-link:focus-visible .publication-cover-image {
  filter: grayscale(1) brightness(.62);
  transform: scale(1.015);
}

.home-publication-overlay .card-label {
  color: rgba(255, 255, 255, .82);
}

.home-publication-overlay h3 {
  margin: 0;
  color: #fff;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.14;
  overflow-wrap: normal;
}

.home-publication-overlay .tag-row {
  gap: 6px;
}

.home-publication-overlay .tag {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.home-publication-read {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: var(--button-radius);
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.home-publication-card h3 {
  overflow-wrap: normal;
}

.footer-brand,
.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand {
  max-width: 460px;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 800;
}

.footer-content {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.footer-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.footer-action-stack {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.footer-actions,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.footer-actions {
  gap: 20px;
}

.footer-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  font-weight: 700;
}

.footer-contact-line a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  text-underline-offset: 4px;
}

.footer-contact-line a:hover,
.footer-contact-line a:focus-visible {
  color: #fff;
  text-decoration: underline;
  outline: none;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  font-weight: 700;
}

.footer-policy-links a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  text-underline-offset: 4px;
}

.footer-policy-links a:hover,
.footer-policy-links a:focus-visible {
  color: #fff;
  text-decoration: underline;
  outline: none;
}


.footer-text-link,
.footer-newsletter-link {
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-underline-offset: 4px;
}

.footer-text-link:hover,
.footer-text-link:focus-visible,
.footer-newsletter-link:hover,
.footer-newsletter-link:focus-visible {
  color: #fff;
  text-decoration: underline;
  outline: none;
}

.footer-button {
  min-height: 38px;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.footer-button:hover,
.footer-button:focus-visible {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: min(520px, 100%);
  max-width: 520px;
}

.footer-newsletter label {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.footer-newsletter-row {
  display: flex;
  flex: 1 1 250px;
  min-width: 240px;
  gap: 8px;
}

.footer-newsletter input {
  flex: 1 1 190px;
  min-width: 0;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--button-radius);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, .68);
}

.footer-newsletter input:focus {
  outline: 2px solid rgba(236, 152, 34, .55);
  outline-offset: 2px;
  border-color: var(--orange);
}
.footer-social-label {
  align-self: center;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 800;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.social-button svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.social-button:hover,
.social-button:focus-visible {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.footer-links a:hover,
.footer-links a:focus {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}


@media (max-width: 1040px) {
  .brand span {
    max-width: 220px;
    font-size: 13px;
  }
}

@media (max-width: 860px) {
  .brand span {
    display: none;
  }
}
@media (max-width: 920px) {
  .section-heading.split,
  #home .home-wide-heading,
  .methodology-band,
  .workbench,
  .data-hub,
  .contact-layout,
  .service-detail-layout,
  .four-d-layout,
  .four-d-stages-section .four-d-map,
  .featured-work-item,
  .method-reference-item,
  .publication-hero-inner,
  .projects-hero-inner {
    grid-template-columns: 1fr;
  }

  .home-map-stats {
    justify-content: flex-start;
    min-width: 0;
  }

  .home-map-stat {
    text-align: left;
  }

  .hero-standard-banner .hero-inner {
    --home-hero-cage-left: 32px;
    --home-hero-body-width: clamp(400px, 54vw, 520px);
    --home-hero-brand-text-width: clamp(300px, 42vw, 480px);
    --home-hero-logo-width: 92px;
    --home-hero-brand-gap: 24px;
    --home-hero-lockup-width: calc(var(--home-hero-logo-width) + var(--home-hero-brand-gap) + var(--home-hero-brand-text-width));
    --home-hero-cage-width: max(var(--home-hero-body-width), var(--home-hero-lockup-width));
    min-height: clamp(390px, 52vh, 470px);
  }

  .principle-grid,
  .theme-grid,
  .service-grid,
  .card-grid,
  .publication-grid,
  #featured-publications.publication-grid,
  .publication-library-grid,
  .project-library-grid,
  .people-grid,
  .partner-logo-grid,
  .service-feature-grid,
  .service-focus-list,
  .four-d-stage-grid,
  .four-d-stage-details,
  .four-d-method-grid,
  .four-d-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters,
  .publication-toolbar,
  .projects-toolbar {
    grid-template-columns: 1fr;
  }

  .publication-toolbar,
  .projects-toolbar {
    position: static;
  }

  .filter-panel-footer {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .publication-toolbar .search-field,
  .publication-toolbar .sort-field,
  .projects-toolbar .search-field,
  .projects-toolbar .sort-field {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .filter-panel-footer .project-pagination {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .filter-panel-footer .text-button {
    grid-column: 2;
  }

  .publication-featured-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .publication-featured-inner h2 {
    text-align: right;
  }

  .publication-featured-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 10px;
  }

  .updates-hero-inner {
    grid-template-columns: 1fr;
  }

  .featured-carousel-button {
    width: 38px;
    height: 38px;
  }

  .featured-publication-covers .home-publication-card {
    flex-basis: clamp(112px, 22vw, 150px);
  }

  .homepage-featured-carousel .featured-publication-covers .home-publication-card {
    flex-basis: clamp(164px, 34vw, 214px);
  }

  .four-d-method-track .four-d-method-card,
  .four-d-method-discover-card {
    flex-basis: clamp(164px, 34vw, 214px);
  }

  .project-library-card.is-expanded {
    grid-column: 1 / -1;
  }

  .featured-work-copy {
    max-width: none;
  }

  .method-reference-publication {
    justify-self: start;
    width: min(100%, 280px);
  }

  .four-d-service-matrix a {
    grid-template-columns: minmax(0, 1fr) repeat(4, minmax(60px, .75fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    height: auto;
    min-height: 0;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    height: auto;
    min-height: 0;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .nav-item {
    width: 100%;
  }

  .nav-links > a,
  .nav-trigger {
    min-height: 34px;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 100%;
    margin: 2px 0 6px;
    box-shadow: none;
    transform: none;
  }

  .dropdown-menu::before {
    display: none;
  }

  .nav-item:hover .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-item.is-open .dropdown-menu {
    display: grid;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .hero {
    padding-top: 0;
  }

  .hero-standard-banner .hero-inner {
    --home-hero-cage-left: 24px;
    --home-hero-body-width: calc(100vw - 48px);
    --home-hero-brand-text-width: calc(100vw - 48px);
    --home-hero-logo-width: clamp(70px, 21vw, 96px);
    --home-hero-brand-gap: 14px;
    --home-hero-lockup-width: var(--home-hero-body-width);
    --home-hero-cage-width: var(--home-hero-body-width);
    --home-hero-fade-start: 68%;
    --home-hero-fade-mid: 78%;
    --home-hero-fade-end: 92%;
    min-height: 360px;
  }

  .hero-collage-track {
    animation: none;
    transform: translateX(-8%);
  }

  .hero-standard-banner .hero-copy {
    max-width: 100%;
    width: 100%;
    padding: 28px 0 28px var(--home-hero-cage-left);
  }

  .home-hero-cage {
    grid-template-columns: 1fr;
    width: var(--home-hero-body-width);
    gap: 16px;
  }

  .home-hero-body,
  .home-hero-brand-text,
  .home-hero-brand-text h1,
  .home-hero-brand-text p,
  .hero-standard-banner h2,
  .hero-standard-banner .lead {
    width: 100%;
    max-width: calc(100vw - 48px);
    box-sizing: border-box;
    min-width: 0;
  }

  .home-hero-body {
    margin-top: 34px;
  }

  .hero-standard-banner h2 {
    margin-top: 0;
    max-width: 100%;
    overflow-wrap: normal;
    text-align: left;
    text-align-last: left;
  }

  .hero-standard-banner .lead {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: normal;
    text-align: left;
    text-align-last: left;
  }

  .home-hero-mobile-break {
    display: inline;
  }

  .service-focus-list,
  .four-d-stage-grid,
  .four-d-stage-details,
  .four-d-method-grid,
  .four-d-panels {
    grid-template-columns: 1fr;
  }

  .four-d-service-matrix a {
    grid-template-columns: 1fr 1fr;
  }

  .four-d-service-matrix strong {
    grid-column: 1 / -1;
  }

  .hero-standard-banner h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .home-hero-logo {
    width: var(--home-hero-logo-width);
  }

  .page-hero-image::after {
    background: linear-gradient(
      90deg,
      rgba(243, 247, 240, 1) 0,
      rgba(243, 247, 240, 1) var(--page-hero-image-start),
      rgba(243, 247, 240, .86) calc(var(--page-hero-image-start) + 1.875%),
      rgba(243, 247, 240, .52) calc(var(--page-hero-image-start) + 3.75%),
      rgba(243, 247, 240, 0) var(--page-hero-fade-end),
      rgba(243, 247, 240, 0) 100%
    );
  }

  .page-hero-image::before {
    background-position: center right;
    background-size: cover;
  }

  .page-hero.page-hero-image h1,
  .page-hero.page-hero-image .lead,
  .service-line-hero.page-hero-image .hero-actions,
  .four-d-panel-card.page-hero h2,
  .four-d-panel-card.page-hero > .section-inner > p:not(.eyebrow),
  .four-d-panel-card.page-hero .hero-actions {
    max-width: 100%;
  }

  #home .section-heading,
  #board .section-heading,
  #partners .section-heading,
  #team .section-heading,
  .service-main-copy,
  .service-use-cases .section-heading,
  .method-reference-heading,
  .featured-work-heading {
    --section-icon-size: clamp(30px, 8vw, 40px);
    margin-left: 0;
    padding-left: calc(var(--section-icon-size) + 10px);
  }

  .about-section .about-markdown > h2 {
    --section-icon-size: clamp(30px, 8vw, 40px);
    padding-left: calc(var(--section-icon-size) + 10px);
  }

  #home .section-heading h2::before,
  #home .section-heading h2::after,
  .about-section .about-markdown > h2::before,
  .about-section .about-markdown > h2::after,
  #board .section-heading h2::before,
  #board .section-heading h2::after,
  #partners .section-heading h2::before,
  #team .section-heading h2::before,
  #partners .section-heading h2::after,
  #team .section-heading h2::after,
  .service-main-copy > h2::before,
  .service-main-copy > h2::after,
  .service-use-cases .section-heading h2::before,
  .service-use-cases .section-heading h2::after,
  .method-reference-heading h2::before,
  .method-reference-heading h2::after,
  .featured-work-heading h2::before,
  .featured-work-heading h2::after {
    left: calc((var(--section-icon-size) + 10px) * -1);
    width: var(--section-icon-size);
    height: var(--section-icon-size);
    background-size: contain;
  }

  .home-hero-brand-text h1 {
    font-size: clamp(46px, 16vw, 70px);
  }

  .home-hero-brand-text p {
    font-size: clamp(15px, 4.5vw, 18px);
  }

  .principle-grid,
  .theme-grid,
  .card-grid,
  .publication-grid,
  .publication-library-grid,
  .project-library-grid,
  .people-grid,
  .partner-logo-grid,
  .service-feature-grid {
    grid-template-columns: 1fr;
  }

  .publication-stats,
  .projects-hero-panel,
  .project-detail-grid {
    grid-template-columns: 1fr;
  }

  .project-detail-grid.is-aligned > .project-detail-column {
    display: flex;
  }

  .filter-panel-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .filter-panel-footer .library-status,
  .filter-panel-footer .project-library-status,
  .filter-panel-footer .project-pagination,
  .filter-panel-footer .text-button {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .project-library-card.is-expanded {
    grid-column: 1 / -1;
  }

  .country-stat-grid {
    grid-template-columns: 1fr;
  }

  .featured-work-tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
  }

  .featured-work-tab {
    justify-content: flex-start;
    text-align: left;
  }

  .service-grid,
  #featured-publications.publication-grid {
    grid-template-columns: 1fr;
  }

  .publication-featured-carousel {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
  }

  .updates-hero-newsletter {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .updates-hero-newsletter-copy h2 {
    font-size: 21px;
  }

  .updates-hero-newsletter-copy p {
    font-size: 13px;
  }

  .updates-latest-newsletter-band {
    padding: 28px 0;
  }

  .updates-latest-newsletter {
    grid-template-columns: minmax(98px, 118px) minmax(0, 1fr);
    gap: 16px;
    padding: 0;
  }

  .updates-latest-newsletter .updates-hero-newsletter-copy {
    gap: 9px;
    padding-left: 14px;
    border-left-width: 2px;
  }

  .updates-latest-newsletter .updates-hero-newsletter-copy h2 {
    font-size: 23px;
  }

  .updates-latest-newsletter .updates-hero-newsletter-copy p {
    font-size: 13px;
  }

  .featured-carousel-button {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .featured-publication-covers .home-publication-card {
    flex-basis: min(42vw, 148px);
  }

  .homepage-featured-carousel .featured-publication-covers .home-publication-card {
    flex-basis: min(68vw, 218px);
  }

  .four-d-method-track .four-d-method-card,
  .four-d-method-discover-card {
    flex-basis: min(68vw, 218px);
  }

  .newsletter-carousel-track .newsletter-carousel-card {
    flex-basis: min(42vw, 142px);
  }

  .home-updates-track .update-news-card,
  .updates-latest-track .update-news-card {
    flex-basis: min(76vw, 300px);
  }

  .home-updates-track.has-expanded-update .update-news-card.is-expanded,
  .updates-latest-track.has-expanded-update .update-news-card.is-expanded {
    grid-template-columns: 1fr;
  }

  .home-updates-track.has-expanded-update .update-news-card.is-expanded .update-news-image-link,
  .updates-latest-track.has-expanded-update .update-news-card.is-expanded .update-news-image-link {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .service-card h3,
  .service-card p {
    min-height: 0;
  }

  .data-actions,
  .footer-action-stack,
  .footer-actions,
  .footer-contact-line,
  .footer-policy-links,
  .footer-social,
  .footer-topline {
    justify-content: flex-start;
    justify-items: start;
  }

  .data-hub-copy p {
    white-space: normal;
  }

  .featured-publications-intro {
    justify-self: start;
    justify-content: flex-start;
    flex-wrap: wrap;
    max-width: none;
  }

  .featured-publications-intro p {
    flex-basis: auto;
    width: auto;
    max-width: 100%;
    text-align: left;
    text-align-last: left;
  }

  .featured-publications-intro p span {
    white-space: normal;
  }

  .footer-content,
  .footer-newsletter {
    justify-content: flex-start;
    justify-items: start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .map-overlay-panel {
    top: 12px;
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}
@media (max-width: 640px) {
  .footer-newsletter,
  .footer-newsletter-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-page-hero {
  background: linear-gradient(135deg, var(--surface-muted), #fff 68%);
}

.contact-page-hero h1 {
  color: var(--ink);
}

.contact-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-route-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(70, 93, 108, .06);
}

.contact-route-card:hover,
.contact-route-card:focus-visible {
  border-color: rgba(236, 152, 34, .5);
  box-shadow: 0 14px 34px rgba(70, 93, 108, .1);
  outline: none;
}

.contact-route-kicker {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-route-card strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}

.contact-route-card span:last-child {
  color: var(--ink-soft);
}



.contact-form-shell {
  width: min(920px, calc(100% - 32px));
}

.contact-form-shell .contact-form {
  width: 100%;
}

.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form-header {
  max-width: 720px;
  margin-bottom: 24px;
}

.contact-form-header h2 {
  font-size: clamp(24px, 3vw, 46px);
}

.contact-form-header p {
  color: var(--ink-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.form-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.form-field span {
  font-size: 14px;
}

.form-field input,
.form-field select,
.form-field textarea,
.newsletter-inline-form input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--surface);
  color: var(--ink);
}

.form-field textarea {
  min-height: 150px;
  border-radius: 20px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.newsletter-inline-form input:focus {
  border-color: var(--orange);
  outline: 2px solid rgba(236, 152, 34, .32);
  outline-offset: 2px;
}

.form-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(108, 151, 78, .28);
  border-radius: var(--radius);
  background: rgba(184, 213, 165, .18);
  color: var(--ink);
  font-weight: 700;
}

.form-status a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.consent-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--orange);
}

.contact-public-details {
  border-top: 0;
  background: var(--surface);
}

.contact-details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-details-copy {
  min-width: 0;
  max-width: 780px;
}

.contact-direct-shell {
  display: grid;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
}

.contact-direct-shell > h2 {
  margin: 0;
}

.contact-details-card {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
  align-self: stretch;
}

.contact-details-card a,
.contact-details-card .contact-phone {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(236, 248, 246, .72);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.contact-details-card a:hover,
.contact-details-card a:focus-visible {
  border-color: rgba(236, 152, 34, .55);
  background: rgba(255, 244, 222, .86);
  outline: none;
  transform: translateY(-1px);
}

.contact-details-card strong {
  color: var(--green);
  font-size: 13px;
  text-transform: uppercase;
}

.contact-details-card span {
  font-weight: 900;
}

.integrity-notice {
  display: grid;
  gap: 16px;
  width: 100%;
  padding-top: 0;
}

.integrity-notice p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.5;
}

.integrity-notice a {
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-side-panel {
  position: sticky;
  top: 104px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.contact-side-panel .eyebrow,
.contact-side-panel p {
  color: rgba(255, 255, 255, .74);
}

.contact-side-panel h2 {
  color: #fff;
  font-size: 30px;
}

.contact-email {
  display: inline-flex;
  margin: 8px 0 22px;
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-side-list {
  display: grid;
  gap: 10px;
}

.contact-side-list a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
}

.contact-side-list a:hover,
.contact-side-list a:focus-visible {
  border-color: var(--orange);
  background: rgba(236, 152, 34, .2);
  outline: none;
}

.contact-side-list strong {
  color: #fff;
}

.contact-side-list span {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.contact-newsletter-band {
  border-top: 0;
  background: var(--orange);
  color: #fff;
}

.contact-newsletter-band .eyebrow,
.contact-newsletter-band p,
.contact-newsletter-band h2 {
  color: #fff;
}

.contact-newsletter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 28px;
  align-items: center;
}

.newsletter-inline-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.newsletter-inline-form input {
  border-color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .94);
}

.newsletter-inline-form .button.secondary {
  flex: 0 0 auto;
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.newsletter-inline-form .button.secondary:hover,
.newsletter-inline-form .button.secondary:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.opportunity-alerts-band {
  padding: 28px 0;
  border-top: 1px solid rgba(108, 151, 78, .16);
  border-bottom: 1px solid rgba(108, 151, 78, .16);
  background: rgba(108, 151, 78, .1);
  color: var(--ink);
}

.opportunity-alerts-band .contact-newsletter-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
  gap: 18px;
}

.opportunity-alerts-band .eyebrow {
  color: var(--green);
}

.opportunity-alerts-band p,
.opportunity-alerts-band h2 {
  color: var(--ink);
}

.opportunity-alerts-band h2 {
  margin-bottom: 6px;
  font-size: clamp(24px, 2.4vw, 32px);
}

.opportunity-alerts-band .newsletter-inline-form input {
  border-color: rgba(108, 151, 78, .3);
  background: rgba(255, 255, 255, .92);
}

.opportunity-alerts-band .newsletter-inline-form .button.secondary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.opportunity-alerts-band .newsletter-inline-form .button.secondary:hover,
.opportunity-alerts-band .newsletter-inline-form .button.secondary:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}


@media (max-width: 920px) {
  .contact-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-intake-layout,
  .contact-details-layout,
  .contact-newsletter-layout {
    grid-template-columns: 1fr;
  }

  .contact-side-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .contact-route-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-inline-form {
    flex-direction: column;
    align-items: stretch;
  }
}
.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.opportunity-card,
.opportunity-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(70, 93, 108, .06);
}

.opportunity-card p,
.opportunity-panel p {
  color: var(--ink-soft);
}

.opportunity-current-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.opportunity-card-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.opportunity-card-grid.has-expanded-opportunity {
  grid-template-columns: minmax(0, 1fr);
}

.opportunities-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.opportunities-layout > .site-header,
.opportunities-layout > .site-footer {
  flex-shrink: 0;
}

.opportunities-layout > main {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.opportunities-page { flex: 1; }
.opportunities-page .lead { max-width: none; }
.opportunities-page .opportunity-card-grid { margin-top: 32px; }
.opportunity-active-card > h2 { font-size: 22px; }

.opportunity-empty {
  display: grid;
  gap: 6px;
}

.opportunity-empty p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.45;
}

.opportunity-empty strong {
  color: var(--ink);
  font-weight: 900;
}

.opportunity-panel {
  border-top-color: var(--green);
}
.opportunity-active-card {
  display: grid;
  width: 100%;
  max-width: none;
  height: 100%;
  gap: 16px;
}

.opportunity-active-card[hidden],
.opportunity-card-grid.has-expanded-opportunity .opportunity-active-card:not(.is-expanded) {
  display: none;
}

.opportunity-active-card.is-expanded {
  max-width: none;
  grid-column: 1 / -1;
}

.opportunity-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.opportunity-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(184, 213, 165, .34);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.opportunity-meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.opportunity-meta-list div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.opportunity-meta-list dt {
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.opportunity-meta-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.opportunity-summary-list {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.opportunity-active-card .button {
  justify-self: start;
}
.opportunity-details {
  display: grid;
  gap: 14px;
  align-self: end;
  margin-top: auto;
}

.opportunity-details[open] {
  align-self: stretch;
}

.opportunity-details summary {
  order: 2;
  width: max-content;
  list-style: none;
  cursor: pointer;
}

.opportunity-details summary::-webkit-details-marker {
  display: none;
}

.opportunity-expanded-content {
  order: 1;
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.opportunity-expanded-content :is(h3, h4) {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
}

.opportunity-expanded-content p,
.opportunity-expanded-content ul {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.opportunity-expanded-content ul {
  padding-left: 20px;
}

.opportunity-attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.opportunity-attachment-button {
  min-height: 38px;
  padding: 8px 13px;
  border-color: rgba(70, 93, 108, .22);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
}

.email-text {
  color: var(--ink);
  font-weight: 900;
}

.site-gate-locked {
  overflow: hidden !important;
}

.site-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #fff;
}

.site-gate-panel {
  width: min(100%, 420px);
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: none;
  text-align: center;
}

.site-gate-panel h1 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 500;
  line-height: 1.08;
}

.site-gate-form {
  display: grid;
  gap: 10px;
}

.site-gate-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.site-gate-input-row input {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #b8c0c5;
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
}

.site-gate-input-row button {
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-gate-input-row button:hover,
.site-gate-input-row button:focus-visible {
  border-color: var(--green);
  background: var(--green);
}

.site-gate-error {
  margin: 2px 0 0;
  color: #a33a2f;
  font-weight: 700;
  text-align: left;
}

.mobile-nav-toggle,
.mobile-filter-toggle,
.mobile-filter-close {
  display: none;
}

.mobile-nav-toggle {
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(70, 93, 108, .18);
  border-radius: var(--button-radius);
  background: var(--surface);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.mobile-nav-toggle-lines,
.mobile-nav-toggle-lines::before,
.mobile-nav-toggle-lines::after {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform .18s ease, opacity .18s ease;
}

.mobile-nav-toggle-lines {
  position: relative;
}

.mobile-nav-toggle-lines::before,
.mobile-nav-toggle-lines::after {
  position: absolute;
  left: 0;
}

.mobile-nav-toggle-lines::before {
  top: -6px;
}

.mobile-nav-toggle-lines::after {
  top: 6px;
}

.nav.is-mobile-nav-open .mobile-nav-toggle-lines {
  background: transparent;
}

.nav.is-mobile-nav-open .mobile-nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav.is-mobile-nav-open .mobile-nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (hover: none), (pointer: coarse) {
  .project-toggle {
    border-color: var(--project-accent);
    color: var(--project-accent);
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .project-library-card:hover {
    transform: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    height: auto;
    min-height: var(--header-height);
  }

  .nav {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    height: auto;
    min-height: calc(var(--header-height) - 1px);
    padding: 0;
    gap: 0 12px;
  }

  .brand {
    flex: 1 1 min(72%, 460px);
    min-height: calc(var(--header-height) - 1px);
  }

  .brand span {
    white-space: normal;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav-links {
    display: none;
    flex: 1 0 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    max-height: calc(100vh - var(--header-height));
    overflow: auto;
    padding: 10px 0 14px;
    border-top: 1px solid var(--line);
  }

  .nav.is-mobile-nav-open .nav-links {
    display: grid;
  }

  .nav-links > a,
  .nav-trigger {
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    text-align: left;
  }

  .nav-item {
    width: auto;
  }

  .nav-item.has-dropdown {
    display: grid;
    grid-column: 1 / -1;
  }

  .nav-item.is-internal-nav {
    display: none !important;
  }

  .has-dropdown::after,
  .dropdown-menu::before {
    display: none;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    margin: 6px 0 0;
    padding: 6px;
    border-color: rgba(70, 93, 108, .12);
    background: rgba(255, 255, 255, .86);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-item:hover .dropdown-menu {
    display: none;
  }

  .nav-item.is-open .dropdown-menu,
  .nav-item:focus-within.is-open .dropdown-menu {
    display: grid;
  }

  .dropdown-menu a {
    min-height: 40px;
  }

  .mobile-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 0 12px;
  }

  body.has-project-detail-open .mobile-filter-toggle {
    display: none;
  }

  body.has-mobile-filter-open {
    overflow: hidden;
  }

  .publication-toolbar.mobile-filter-drawer,
  .projects-toolbar.mobile-filter-drawer {
    position: fixed;
    z-index: 90;
    top: calc(var(--header-height) + 10px);
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: none;
    grid-template-columns: 1fr;
    align-content: start;
    overflow: auto;
    margin: 0;
    padding: 14px;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(70, 93, 108, .24);
  }

  .publication-toolbar.mobile-filter-drawer.is-mobile-open,
  .projects-toolbar.mobile-filter-drawer.is-mobile-open {
    display: grid;
  }

  .projects-toolbar.mobile-filter-drawer[hidden],
  .projects-toolbar.mobile-filter-drawer.is-hidden-for-detail {
    display: none !important;
  }

  .mobile-filter-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
  }

  .project-library-grid,
  .publication-library-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-visual {
    min-height: 112px;
    padding: 36px 14px 14px;
  }

  .project-country-name {
    font-size: 21px;
  }

  .project-card-content {
    gap: 8px;
    padding: 14px;
  }

  .project-card-content h2 {
    min-height: 0;
    font-size: 16px;
  }

  .project-card-content p {
    height: 50px;
    max-height: 50px;
    font-size: 13px;
  }

  .project-details {
    padding: 0 14px 18px;
  }

  .project-expanded-actions {
    padding: 0 14px 18px;
  }

  .publication-cover {
    min-height: 0;
  }

  .interactive-country-map {
    height: min(78vh, 430px);
    min-height: 340px;
  }

  .svg-equal-earth-map {
    touch-action: none;
  }

  .map-overlay-panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: min(76%, 430px);
    padding: 14px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 14px 14px 0 0;
  }

  .country-panel-header {
    align-items: center;
  }

  .country-panel h3 {
    font-size: 19px;
  }

  .country-pill-grid {
    gap: 10px;
  }

  .country-panel .tag {
    font-size: 11px;
  }

  #home .section-heading,
  #board .section-heading,
  #partners .section-heading,
  #team .section-heading,
  .service-main-copy,
  .service-use-cases .section-heading,
  .method-reference-heading,
  .featured-work-heading {
    margin-left: 0;
    padding-left: 0;
  }

  #home .section-heading h2,
  .about-section .about-markdown > h2,
  #board .section-heading h2,
  #partners .section-heading h2,
  #team .section-heading h2,
  .service-main-copy > h2,
  .service-use-cases .section-heading h2,
  .method-reference-heading h2,
  .featured-work-heading h2 {
    --section-icon-size: clamp(28px, 8vw, 38px);
    padding-left: calc(var(--section-icon-size) + 10px);
  }

  #home .section-heading h2::before,
  #home .section-heading h2::after,
  .about-section .about-markdown > h2::before,
  .about-section .about-markdown > h2::after,
  #board .section-heading h2::before,
  #board .section-heading h2::after,
  #partners .section-heading h2::before,
  #team .section-heading h2::before,
  #partners .section-heading h2::after,
  #team .section-heading h2::after,
  .service-main-copy > h2::before,
  .service-main-copy > h2::after,
  .service-use-cases .section-heading h2::before,
  .service-use-cases .section-heading h2::after,
  .method-reference-heading h2::before,
  .method-reference-heading h2::after,
  .featured-work-heading h2::before,
  .featured-work-heading h2::after {
    left: 0;
  }

  .partner-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .partner-logo {
    min-height: 56px;
    padding: 8px;
  }

  .partner-logo img {
    max-width: 118px;
    max-height: 42px;
  }
}

@media (min-width: 560px) and (max-width: 860px) {
  .project-library-grid,
  .publication-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .nav-links {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 48px;
  }

  .brand span {
    font-size: 11px;
  }

  .country-pill-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 920px) {
  .opportunity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .opportunity-current-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .opportunity-grid {
    grid-template-columns: 1fr;
  }

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

  .opportunity-active-card {
    max-width: none;
  }
}

/* Compact discovery controls without reducing label text size. */
:is(.projects-toolbar, .publication-toolbar) {
  row-gap: 8px;
  padding-block: 8px;
}

.opportunity-empty[hidden],
.opportunity-card-grid[hidden] { display: none; }

:is(.projects-toolbar, .publication-toolbar) :is(input[type="search"], select, .multi-select-trigger) {
  min-height: 32px;
  padding-block: 4px;
}

:is(.projects-toolbar, .publication-toolbar) .text-button {
  min-height: 29px;
  padding-block: 4px;
}

:is(.projects-toolbar, .publication-toolbar) .pagination-button {
  min-height: 28px;
  padding-block: 3px;
}

:is(.projects-toolbar, .publication-toolbar) .filter-panel-footer {
  padding-top: 0;
}

@media (min-width: 921px) {
  .filter-panel-footer .project-pagination {
    position: absolute;
    grid-area: auto;
    left: 50%;
    bottom: 9px;
    transform: translateX(-50%);
  }
}

/* Form delivery and spam-check feedback. */
.form-status:empty { display: none; }
.form-status[data-state="error"] { border-color: #9b2929; background: #fff4f4; color: #702020; }
.form-challenge { margin-block: 12px; min-width: 0; }
.form-challenge:empty { display: none; }
.newsletter-inline-form { flex-wrap: wrap; }
.newsletter-inline-form input { flex: 1 1 220px; min-width: 0; }
.newsletter-inline-form .form-challenge,
.newsletter-inline-form .form-status,
.newsletter-inline-form noscript { flex-basis: 100%; order: 2; }
.contact-form button:disabled,
.newsletter-inline-form button:disabled { cursor: wait; opacity: .65; }


/* Reflow shared heading and footer groups before their content collides. */
.section-heading > *,
.footer-inner > *,
.footer-brand > span,
.footer-content,
.footer-action-stack { min-width: 0; }

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 32px;
}
.footer-logo { flex-shrink: 0; }
.footer-brand span { flex: 1; }

@media (max-width: 1100px) {
  .publications-preview-section .section-heading.split { grid-template-columns: minmax(0, 1fr); }
  .featured-publications-intro { width: 100%; justify-self: stretch; justify-content: flex-start; }
  .featured-publications-intro p { text-align: left; text-align-last: left; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-content, .footer-action-stack { justify-items: start; }
  .footer-topline, .footer-actions, .footer-contact-line, .footer-policy-links, .footer-social { justify-content: flex-start; }
}

/* Constrain grid tracks and allow complete words to reflow at intermediate widths. */
.brand span { white-space: normal; }
.data-hub-copy p { white-space: normal; }
@media (max-width: 1040px) and (min-width: 861px) {
  .brand span { display: none; }
  .publication-toolbar { grid-template-columns: minmax(150px, 1.15fr) repeat(6, minmax(0, .72fr)); }
  .publication-toolbar > * { min-width: 0; }
  .publication-toolbar .multi-select-trigger { padding-inline: 6px; }
}
@media (max-width: 920px) {
  .four-d-stages-section .four-d-map { grid-template-columns: minmax(0, 1fr); }
  .four-d-map > * { min-width: 0; }
}
@media (max-width: 480px) {
  .publications-preview-section .section-heading h2 { font-size: clamp(28px, 8vw, 36px); }
}


@media (max-width: 860px) {
  .brand { flex: 1 1 0; }
  .home-map-stats { flex-wrap: wrap; gap: 18px; }
}
@media (max-width: 680px) {
  .about-markdown p, .service-main-copy p { text-align: left; }
}

/* Expanded content must scroll, rather than shrink paragraphs out of view. */
.update-news-card.is-expanded .update-news-content > * { flex-shrink: 0; }
.update-news-card.is-expanded .update-news-content p { display: block; overflow: visible; }
@media (max-width: 1100px) and (min-width: 681px) {
  .four-d-stage-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .project-details > p, .integrity-notice p, .opportunity-empty p { text-align: left; }
}

@media (max-width: 680px) {
  /* Put controls below narrow carousels so they do not consume card width. */
  .publication-featured-carousel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .publication-featured-carousel > :not(.featured-carousel-button) { grid-column: 1 / -1; grid-row: 1; }
  .publication-featured-carousel > .featured-carousel-button { grid-row: 2; justify-self: start; }
  .publication-featured-carousel > .featured-carousel-button:last-child { justify-self: end; }
  .home-updates-track .update-news-card,
  .updates-latest-track .update-news-card { flex-basis: min(100%, 300px); }
  .home-updates-track, .updates-latest-track,
  .featured-publication-covers, .four-d-method-track { mask-image: none !important; -webkit-mask-image: none !important; }
  .four-d-carousel-stage { padding-bottom: 54px; }
  .four-d-carousel-button { top: auto; bottom: 0; transform: none; }
  .four-d-panel, .four-d-panel-card { height: auto; min-height: 450px; }
  .four-d-map-heading p { text-align: left; }
}

@media (max-width: 680px) {
  /* A horizontal flex basis must not become a 220px-tall mobile input. */
  .newsletter-inline-form input { flex: 0 1 auto; }
  .newsletter-inline-form .form-challenge,
  .newsletter-inline-form .form-status,
  .newsletter-inline-form noscript { flex-basis: auto; }
}

/* Keep the main page heroes compact, with spare space below the text. */
main > :is(.page-hero-about, .four-d-hero, .projects-hero, .publication-hero) {
  box-sizing: border-box;
  min-height: 340px;
  padding-bottom: 16px;
}

@media (max-width: 680px) {
  main > :is(.page-hero-about, .four-d-hero, .projects-hero, .publication-hero) {
    min-height: 400px;
  }
}
@media (max-width: 360px) {
  main > :is(.page-hero-about, .four-d-hero, .projects-hero, .publication-hero) {
    min-height: 460px;
  }
}

/* Reserve two title lines so collapsed update previews share a baseline. */
.update-news-card:not(.is-expanded) .update-news-content h3 {
  min-height: 2.24em;
}
.update-news-card[data-update-card]:not(.is-expanded) {
  cursor: pointer;
}

/* Share intentional full-screen hero title breaks with the service carousel. */
@media (min-width: 1101px) {
  .service-hero-title-tail { display: block; }
}

/* Size the service carousel to its longest panel and align all calls to action. */
[data-four-d-carousel] .four-d-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

[data-four-d-carousel] .four-d-panel {
  grid-area: 1 / 1;
  height: auto;
  min-width: 0;
}

[data-four-d-carousel] .four-d-panel[hidden] {
  display: block;
  visibility: hidden;
  pointer-events: none;
}

[data-four-d-carousel] .four-d-panel-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 450px;
}

[data-four-d-carousel] .four-d-panel-card > .section-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
}

[data-four-d-carousel] .four-d-panel-card .hero-actions {
  margin-top: auto;
  padding-top: 24px;
}

/* Keep Method Foundations close to the service carousel. */
.four-d-stages-section.section { padding-bottom: 32px; }
.four-d-method-section.section { padding-top: 32px; }

/* Show complete report covers in SCORE featured work without zoom cropping. */
body[data-service-line-id="intervention-design-prod"] .featured-work-card-wrap .publication-cover-image,
body[data-service-line-id="cohesion-surveys-score"] .featured-work-card-wrap .publication-cover-image {
  object-fit: contain;
  background: #fff;
  transform: none;
}

/* Let all five SCORE tabs use the available desktop content width. */
body[data-service-line-id="cohesion-surveys-score"] .featured-work-tabs {
  max-width: 100%;
}

/* Share panel height so featured-work actions stay fixed when switching tabs. */
.service-featured-work-section .featured-work-panels {
  grid-template-columns: minmax(0, 1fr);
}

.service-featured-work-section .featured-work-panels > .featured-work-item {
  grid-area: 1 / 1;
  min-width: 0;
  border-top: 0;
}

.service-featured-work-section .featured-work-item[hidden] {
  display: grid;
  visibility: hidden;
  pointer-events: none;
}

.service-featured-work-section .featured-work-copy {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
}

.service-featured-work-section .featured-work-actions {
  margin-top: auto;
  padding-top: 26px;
}

/* Match intervention report-cover bottoms to the shared action-row baseline. */
@media (min-width: 921px) {
  body[data-service-line-id="intervention-design-prod"] .featured-work-card-wrap {
    align-self: end;
  }
  body[data-service-line-id="intervention-design-prod"] .featured-work-actions {
    align-items: flex-end;
  }
}

/* Match publication-cover proportions only inside service featured work. */
.service-featured-work-section .featured-work-card-wrap .featured-project-card {
  aspect-ratio: 3 / 4;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.service-featured-work-section .featured-project-card .project-visual {
  min-height: 0;
}

.project-library-card:not(.is-expanded) { cursor: pointer; }

.multi-select-option[hidden], .multi-select-empty[hidden] { display: none; }
.multi-select-panel .multi-select-search {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
}
.multi-select-empty { margin: 8px; font-size: 14px; color: var(--ink-soft); }

/* Match AI cards to other featured-card proportions. */
.service-featured-work-section .featured-tool-card {
  aspect-ratio: 3 / 4;
  display: grid;
  grid-template-rows: minmax(164px, 1fr) auto;
}

@media (min-width: 921px) {
  body[data-service-line-id="ai-innovations"] .featured-work-card-wrap {
    align-self: start;
  }
}

body[data-service-line-id="ai-innovations"] .featured-work-copy {
  padding-top: 0;
}

body[data-service-line-id="ai-innovations"] .featured-work-copy > p {
  margin-bottom: 0;
}

body[data-service-line-id="ai-innovations"] .featured-work-bullets {
  margin-top: 12px;
}

/* Keep the phone hero compact, with natural wrapping for enlarged text. */
@media (max-width: 680px) {
  .hero-standard-banner .hero-copy {
    padding-block: 20px;
    padding-right: var(--home-hero-cage-left);
  }

  .home-hero-cage {
    gap: 10px;
  }

  .home-hero-body {
    margin-top: 22px;
  }

  .hero-standard-banner .home-hero-body h2 {
    font-size: clamp(1.625rem, 7.2vw, 2.375rem);
    line-height: 1.08;
    margin-bottom: 14px;
  }

  .home-hero-heading-line {
    display: block;
  }

  .hero-standard-banner .lead {
    line-height: 1.4;
    margin-bottom: 0;
  }
}

/* Use a visible standalone gradient without the photo collage on phones. */
@media (max-width: 680px) {
  #home .hero-standard-banner .hero-collage-track {
    display: none;
  }
}

@media (max-width: 680px) {
  #home .hero-standard-banner .hero-inner::after {
    background: linear-gradient(115deg, #fbfbfa 0%, #f2f3e8 38%, #dce8df 72%, #9fbfca 100%);
  }

  #home .hero-standard-banner .hero-copy::before {
    display: none;
  }

  #home .hero-standard-banner .lead {
    text-align: justify;
    text-align-last: left;
  }
}
