:root {
  --green-950: #102c1d;
  --green-900: #193f2a;
  --green-800: #24563b;
  --green-700: #2f6848;
  --green-100: #dfeade;
  --green-050: #eff5f0;
  --orange-500: #d79735;
  --orange-700: #a56b19;
  --orange-800: #82520e;
  --cream-100: #faecd2;
  --cream-050: #fdf9f1;
  --blue-grey: #c1ced6;
  --ink: #172019;
  --muted: #58645b;
  --line: #d8e1da;
  --paper: #fff;
  --canvas: #f7f9f6;
  --shadow: 0 14px 36px rgb(16 44 29 / 8%);
  --radius-sm: 0.45rem;
  --radius: 0.7rem;
  --radius-lg: 1rem;
  --content: 76rem;
  --measure: 68ch;
  --header-height: 5.5rem;
  --space-section: clamp(3.5rem, 6vw, 5.5rem);
}

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

html {
  color-scheme: light;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 0.985rem + 0.08vw, 1.05rem);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.7em;
  color: var(--green-900);
  font-weight: 760;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.15rem, 4vw, 3.65rem);
}

h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p,
ul,
ol,
figure,
blockquote {
  margin: 0 0 1.25rem;
}

a {
  color: var(--green-800);
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease;
}

a:hover {
  color: var(--orange-800);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--orange-700);
  outline-offset: 4px;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

sup {
  line-height: 0;
}

.shell {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--green-900);
  font-weight: 750;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.eyebrow {
  margin-bottom: 0.65rem;
  color: var(--orange-800);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-shell {
  padding-block: var(--space-section);
}

.section-heading-block {
  max-width: 52rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-heading-block--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-heading-block h2 {
  margin-bottom: 0;
}

.text-link {
  font-weight: 750;
  white-space: nowrap;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.3rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--orange-500);
  color: var(--green-950);
}

.button--primary:hover {
  background: var(--cream-100);
  color: var(--green-950);
}

.button--light {
  border-color: rgb(255 255 255 / 72%);
  color: var(--paper);
}

.button--light:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--green-900);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgb(25 63 42 / 10%);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 4px 20px rgb(16 44 29 / 5%);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
  color: var(--green-900);
  text-decoration: none;
}

.brand:hover {
  color: var(--green-900);
}

.brand__logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand__name strong {
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.brand__name small {
  margin-top: 0.32rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--green-900);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
}

.menu-toggle__icon {
  display: grid;
  width: 1.25rem;
  gap: 0.22rem;
}

.menu-toggle__icon i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: opacity 160ms ease, transform 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child {
  transform: translateY(0.44rem) rotate(45deg);
}

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

.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child {
  transform: translateY(-0.44rem) rotate(-45deg);
}

.site-nav__list,
.submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 0.6vw, 0.75rem);
}

.site-nav__item {
  position: relative;
}

.site-nav__row {
  display: flex;
  align-items: center;
}

.site-nav__row > a {
  position: relative;
  padding: 0.7rem 0.65rem;
  border-radius: 999px;
  color: var(--green-900);
  font-size: clamp(0.68rem, 0.68vw, 0.79rem);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__row > a::after {
  content: none;
}

.site-nav__item:hover .site-nav__row > a,
.site-nav__item.is-active .site-nav__row > a,
.site-nav__row > a:focus-visible {
  background: var(--green-050);
  color: var(--green-900);
}

.submenu-toggle {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--green-700);
  cursor: pointer;
}

.submenu-toggle svg {
  transition: transform 160ms ease;
}

.has-submenu.is-open .submenu-toggle svg {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% - 0.25rem);
  left: 0;
  width: max-content;
  min-width: 14rem;
  max-width: 20rem;
  padding: 0.55rem;
  border-radius: var(--radius);
  background: var(--green-900);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.55rem);
  transition: opacity 150ms ease, transform 150ms ease;
}

.site-nav__item:nth-last-child(-n + 2) > .submenu {
  right: 0;
  left: auto;
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu,
.has-submenu.is-open > .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.submenu a {
  display: block;
  padding: 0.62rem 0.75rem;
  border-radius: 0.45rem;
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.submenu a:hover,
.submenu a[aria-current="page"] {
  background: rgb(255 255 255 / 10%);
  color: var(--cream-100);
}

/* Home */
.home-hero {
  position: relative;
  display: grid;
  min-height: min(40rem, calc(100svh - var(--header-height)));
  align-items: end;
  overflow: hidden;
  background: var(--green-950);
}

.home-hero__image,
.home-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__image {
  object-fit: cover;
  object-position: center 58%;
  animation: hero-reveal 1s ease-out both;
}

.home-hero__shade {
  background:
    linear-gradient(90deg, rgb(10 37 24 / 88%) 0%, rgb(10 37 24 / 58%) 50%, rgb(10 37 24 / 8%) 78%),
    linear-gradient(0deg, rgb(10 37 24 / 72%) 0%, transparent 55%);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 9vw, 6.5rem);
  color: var(--paper);
}

.home-hero__content .eyebrow {
  color: var(--cream-100);
}

.home-hero__content h1 {
  max-width: 12ch;
  margin-bottom: 0.25em;
  color: var(--paper);
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.045em;
}

.home-hero__content > p:not(.eyebrow) {
  max-width: 38rem;
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  line-height: 1.55;
}

@keyframes hero-reveal {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

.home-introduction {
  display: grid;
  grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.55fr);
  align-items: start;
  column-gap: clamp(2.5rem, 6vw, 5.5rem);
}

.home-introduction > .section-heading-block {
  position: static;
}

.home-copy > p {
  max-width: var(--measure);
  margin: 0;
  grid-column: 2;
}

.home-copy > p + p {
  margin-top: 1rem;
}

.home-copy > p:first-child {
  color: #2c3830;
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  line-height: 1.75;
}

.home-copy {
  display: contents;
}

.home-copy > p:first-child {
  margin-top: 0;
}

.home-copy .wp-block-columns {
  display: grid;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green-050);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 5vw, 5rem);
  grid-column: 1 / -1;
}

.home-copy .wp-block-column {
  position: relative;
}

.home-copy .wp-block-column::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1.05rem;
  width: 2px;
  background: var(--green-100);
  content: "";
}

.home-copy .wp-block-column > p {
  position: relative;
  margin-bottom: 0;
  padding: 0.8rem 0 1.15rem;
  font-size: 0.94rem;
  line-height: 1.65;
}

.home-copy .wp-block-column > p::before {
  position: absolute;
  top: 1.25rem;
  left: -1.37rem;
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--green-050);
  border-radius: 50%;
  background: var(--orange-500);
  content: "";
}

.home-copy .wp-block-column:first-child > p:first-child {
  padding-top: 0;
  color: var(--green-900);
  font-size: 1.35rem;
  line-height: 1.3;
}

.home-copy .wp-block-column:first-child > p:first-child::before {
  display: none;
}

.home-pathways {
  background: var(--green-900);
  color: var(--paper);
}

.home-pathways h2,
.home-pathways .eyebrow {
  color: var(--paper);
}

.home-pathways .eyebrow {
  color: var(--cream-100);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.pathway-card {
  position: relative;
  min-height: 17rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 6%);
  color: var(--paper);
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.pathway-card:hover {
  background: rgb(255 255 255 / 11%);
  color: var(--paper);
  transform: translateY(-4px);
}

.pathway-card::after {
  position: absolute;
  right: -4rem;
  bottom: -6rem;
  width: 14rem;
  height: 14rem;
  border: 2.2rem solid rgb(215 151 53 / 14%);
  border-radius: 50%;
  content: "";
}

.pathway-card__number {
  display: block;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  color: var(--cream-100);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.pathway-card h3 {
  color: var(--paper);
}

.pathway-card p {
  max-width: 28ch;
  color: rgb(255 255 255 / 76%);
  font-size: 0.95rem;
}

.pathway-card .text-link {
  color: var(--cream-100);
}

.latest-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.news-preview {
  min-height: 13rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.news-preview__year {
  color: var(--orange-800);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.news-preview p {
  margin-top: 1.4rem;
  color: var(--green-950);
  font-weight: 620;
  line-height: 1.6;
}

.fieldwork-gallery {
  background: var(--canvas);
}

.section-intro {
  max-width: 32rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.fieldwork-gallery__track {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 11rem;
  gap: 1rem;
}

.fieldwork-gallery__item {
  grid-column: span 4;
  grid-row: span 2;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-100);
}

.fieldwork-gallery__item:first-child,
.fieldwork-gallery__item:nth-child(7) {
  grid-column: span 8;
}

.fieldwork-gallery__item:last-child:nth-child(3n + 2) {
  grid-column: 5 / span 4;
}

.fieldwork-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.fieldwork-gallery__item:hover img {
  transform: scale(1.02);
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: clamp(11rem, 18vw, 15rem);
  overflow: hidden;
  background: var(--green-900);
}

.page-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(16 44 29 / 95%) 0%, rgb(16 44 29 / 82%) 52%, rgb(16 44 29 / 42%) 100%);
  content: "";
}

.page-hero__texture {
  position: absolute;
  inset: 0;
  background: url("../images/geology-header.webp") center 56% / cover no-repeat;
  opacity: 0.68;
  transform: scale(1.02);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: clamp(11rem, 18vw, 15rem);
  flex-direction: column;
  justify-content: end;
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
}

.page-hero h1 {
  max-width: 28ch;
  margin: 0;
  color: var(--paper);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.08;
}

.page-hero .page-hero__title--long {
  max-width: 32ch;
  font-size: clamp(1.9rem, 3vw, 2.85rem);
}

.page-hero .eyebrow {
  color: var(--cream-100);
}

.page-hero__lead {
  max-width: 50rem;
  margin: 1rem 0 0;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
}

/* General content */
.main-content {
  min-height: 45vh;
  background: var(--paper);
}

.article-shell {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.prose-content {
  max-width: 66rem;
  margin-inline: auto;
}

.wp-content {
  overflow-wrap: anywhere;
}

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

.wp-content > :last-child {
  margin-bottom: 0;
}

.wp-content h2,
.wp-content h3,
.wp-content h4,
.wp-content .section-heading {
  margin-top: 1.8em;
}

.wp-content h2:first-child,
.wp-content h3:first-child {
  margin-top: 0;
}

.wp-content ul,
.wp-content ol {
  padding-left: 1.35rem;
}

.wp-content li + li {
  margin-top: 0.5rem;
}

.wp-block-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.wp-block-columns:has(> .wp-block-column:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.wp-block-columns + .wp-block-columns {
  margin-top: 2rem;
}

.wp-block-image,
.wp-block-video,
.wp-block-embed,
.wp-block-gallery {
  margin-block: clamp(1.75rem, 4vw, 3rem);
}

.wp-block-image img,
.wp-content > img,
.wp-content figure img {
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-sm);
}

.wp-block-image.aligncenter img,
.aligncenter {
  margin-inline: auto;
}

figcaption,
.wp-element-caption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.wp-content iframe {
  min-height: min(62vw, 35rem);
  border-radius: var(--radius);
  background: var(--green-050);
}

.page-media .wp-content iframe {
  aspect-ratio: 16 / 9;
  min-height: auto;
  margin-top: 1rem;
}

.page-media .wp-content > p {
  margin-top: 2rem;
  color: var(--green-900);
  font-size: 1.2rem;
  font-weight: 760;
}

.page-partner .article-shell,
.page-partner-publications .article-shell {
  width: min(calc(100% - 3rem), var(--content));
}

.partner-content,
.publication-content {
  max-width: 66rem;
}

.partner-content > p:first-child,
.partner-content > p:nth-child(2),
.partner-content > p:nth-child(3),
.partner-content > p:nth-child(4) {
  color: #34433a;
}

.partner-content .publication-entry,
.publication-content .publication-entry {
  margin: 0;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.65;
}

.partner-content .publication-authors,
.publication-content .publication-authors {
  color: var(--green-900);
  font-weight: 800;
}

.publication-entry strong:not(.publication-authors):not(.publication-year-label),
.publication-card strong:not(.publication-authors):not(.publication-year-label) {
  font-weight: inherit;
}

.publication-year-heading,
.publication-year-label {
  display: block;
  margin: 1.4rem 0 0.45rem;
  color: var(--orange-800);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-partner .wp-block-columns {
  align-items: start;
}

.page-partner .wp-block-column:has(> figure:only-child),
.page-page .wp-block-column:has(> figure:only-child) {
  display: grid;
  min-height: 10rem;
  align-self: start;
  place-items: center;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.empty-route-message {
  font-size: 1.2rem;
}

/* Inner-page content system */
.content-layout {
  min-width: 0;
}

.content-layout--indexed {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.content-index {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  padding-top: 0.2rem;
}

.content-index__desktop > p {
  margin-bottom: 0.8rem;
  color: var(--orange-800);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.content-index__mobile {
  display: none;
}

.content-index ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-index li + li {
  margin-top: 0.15rem;
}

.content-index a {
  display: block;
  padding: 0.38rem 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.35;
}

.content-index a:hover {
  color: var(--green-900);
}

.content-section {
  display: grid;
  grid-template-columns: minmax(10rem, 13rem) minmax(0, 1fr);
  align-items: start;
  gap: 1.25rem clamp(2.5rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.content-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.content-section > h2:first-child {
  position: relative;
  grid-column: 1;
  margin: 0;
  padding-top: 0.15rem;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  letter-spacing: -0.02em;
  overflow-wrap: normal;
  word-break: normal;
}

.content-section > h2:first-child::before {
  display: block;
  width: 2.5rem;
  height: 0.25rem;
  margin-bottom: 1rem;
  border-radius: 99px;
  background: var(--orange-500);
  content: "";
}

.content-section > :not(h2:first-child) {
  grid-column: 2;
}

.content-section > :where(p, ul, ol, h3, h4, h5, h6, blockquote) {
  width: min(100%, var(--measure));
}

.content-section:has(> h2:only-child a) {
  display: block;
  padding-block: clamp(2rem, 4vw, 3rem);
}

.content-section > h2:only-child:has(a) {
  max-width: var(--measure);
  padding: 0;
}

.content-section > h2:only-child:has(a)::before {
  display: none;
}

.content-section > h2:only-child:has(a) > strong:only-child {
  display: block;
}

.content-section > h2:only-child a {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  background: var(--green-050);
  color: var(--green-900) !important;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.content-section > h2:only-child a::after {
  flex: 0 0 auto;
  color: var(--orange-800);
  content: "Browse all →";
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-section > h2:only-child a:hover {
  border-color: #aec2b3;
  background: var(--cream-050);
  transform: translateY(-2px);
}

.content-section--intro {
  display: block;
  max-width: 56rem;
  margin-inline: auto;
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.content-section--intro > p:first-child,
.prose-content > p:first-child:not(.publication-entry) {
  color: #334139;
  font-size: clamp(1.08rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

.wp-content,
.wp-content :where(p, li, a, span, strong, em, cite, h1, h2, h3, h4, h5, h6) {
  font-family: inherit;
}

.wp-content a:not(.button):not(.wp-element-button) {
  color: var(--green-700);
  font-weight: 700;
}

.wp-content a:not(.button):not(.wp-element-button):hover {
  color: var(--orange-800);
}

.wp-content h3 {
  margin: 2.25rem 0 0.8rem;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}

.wp-content h4,
.wp-content h5,
.wp-content h6 {
  margin: 1.75rem 0 0.65rem;
  color: var(--green-900);
  font-size: 1.05rem;
  font-weight: 780;
  line-height: 1.35;
}

.wp-content :where(ul, ol) {
  padding-left: 1.25rem;
}

.wp-content li::marker {
  color: var(--orange-700);
  font-weight: 800;
}

.wp-content hr {
  height: 1px;
  margin-block: 2.5rem;
  border: 0;
  background: var(--line);
}

.wp-content blockquote {
  margin-inline: 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--orange-500);
  background: var(--cream-050);
}

.has-text-align-center {
  text-align: center;
}

.is-vertically-aligned-center {
  align-self: center;
}

.has-small-font-size {
  font-size: 0.92rem;
}

.has-medium-font-size,
.has-normal-font-size {
  font-size: inherit;
}

.row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.row + .row {
  margin-top: 1.5rem;
}

.row > [class*="col-md-"] {
  grid-column: 1 / -1;
}

.row > .col-md-6 {
  grid-column: span 6;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green-050);
}

.alignleft {
  float: left;
  max-width: min(42%, 20rem) !important;
  margin: 0.4rem 1.75rem 1rem 0;
}

.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-block: 2rem;
}

.wp-block-button__link,
.wp-element-button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--green-900);
  color: var(--paper) !important;
  font-size: 0.86rem;
  font-weight: 800;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
  background: var(--orange-700);
  color: var(--paper) !important;
}

.wp-block-file {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  max-width: var(--measure);
  margin-block: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green-050);
}

.wp-block-file object {
  display: none;
}

.wp-block-file > a:first-of-type {
  min-width: 0;
  overflow-wrap: anywhere;
}

.wp-block-file__button {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--green-900);
  color: var(--paper) !important;
  font-size: 0.78rem;
}

.embed-container {
  margin-block: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
}

.embed-container iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
}

/* Institution directories */
.institution-directory {
  display: grid;
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.partner-directory {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.partner-directory .wp-block-column {
  grid-column: span 2;
}

.partner-directory > .wp-block-columns:last-of-type .wp-block-column:first-child {
  grid-column: 2 / span 2;
}

.partner-directory > .wp-block-columns:last-of-type .wp-block-column:last-child {
  grid-column: 4 / span 2;
}

.institution-directory > .wp-block-columns {
  display: contents;
}

.institution-directory .wp-block-column {
  position: relative;
  display: flex;
  min-height: 16.5rem;
  align-self: stretch !important;
  flex-direction: column;
  align-items: stretch;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.institution-directory .wp-block-column:hover {
  border-color: #aec2b3;
  background: var(--green-050);
  transform: translateY(-2px);
}

.institution-directory .wp-block-image,
.institution-directory figure {
  display: grid;
  min-height: 9rem;
  flex: 1;
  place-items: center;
  margin: 0;
}

.institution-directory .wp-block-image img,
.institution-directory figure img {
  width: min(100%, 11rem);
  height: 7.5rem;
  border-radius: 0;
  object-fit: contain;
}

.institution-directory .wp-block-column > p {
  margin: 1rem 0 0;
  text-align: left;
}

.institution-directory .wp-block-column > p a {
  display: block;
  color: var(--green-900);
  font-size: 0.98rem;
  font-weight: 780;
  line-height: 1.4;
}

.institution-directory .wp-block-column > p a::before {
  position: absolute;
  inset: 0;
  content: "";
}

.institution-directory .wp-block-column > p a::after {
  display: block;
  margin-top: 0.7rem;
  color: var(--orange-800);
  content: "View institution →";
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Partner profiles */
.partner-profile {
  max-width: none;
}

.partner-profile .content-section--intro {
  max-width: none;
}

.partner-profile .content-section--intro > .wp-block-columns {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.partner-profile .content-section--intro .wp-block-column:has(> figure:only-child) {
  min-height: clamp(16rem, 28vw, 24rem);
  align-self: stretch;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.partner-profile .content-section--intro .wp-block-column:has(> figure:only-child) > figure {
  width: 100%;
  height: 100%;
  margin: 0;
}

.partner-profile .content-section--intro .wp-block-column:has(> figure:only-child) > figure img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.partner-profile .content-section--intro:has(> figure) {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.partner-profile .content-section--intro:has(> figure) > p {
  margin: 0;
  font-size: clamp(1.08rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

.partner-profile .content-section--intro > figure {
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
}

.partner-profile .content-section--intro > figure img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  max-height: none;
  object-fit: cover;
}

.partner-profile .content-section--publications .publication-entry,
.partner-profile [class*="content-section--publications-related"] .publication-entry,
.publication-content .publication-entry {
  width: 100%;
  max-width: var(--measure);
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.partner-profile .content-section--publications > h2 + p:not(.publication-entry) a,
.partner-profile [class*="content-section--publications-related"] > h2 + p:not(.publication-entry) a {
  display: inline-flex;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: var(--green-900);
  color: var(--paper);
  font-size: 0.82rem;
}

/* Project profiles */
.project-content {
  max-width: 66rem;
}

.project-content .content-section--intro {
  max-width: none;
  padding-bottom: 0;
}

.project-story--transform {
  display: grid;
  grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.6fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}

.project-summary {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  overflow: hidden;
  border-radius: 0;
  background: var(--green-900);
  box-shadow: none;
}

.content-section.project-story--transform > .project-summary {
  grid-column: 1;
}

.content-section.project-story--transform > .project-story__copy {
  grid-column: 2;
}

.project-summary::after {
  position: absolute;
  right: -2.5rem;
  bottom: -3.5rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
  content: "";
}

.project-summary .project-summary__title {
  position: relative;
  z-index: 1;
  margin: 0 0 2rem;
  color: var(--paper);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}

.project-summary .project-summary__title::before {
  display: block;
  width: 2.5rem;
  height: 0.25rem;
  margin-bottom: 1rem;
  border-radius: 99px;
  background: var(--orange-500);
  content: "";
}

.project-facts {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 !important;
  list-style: none;
}

.project-fact {
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
  color: var(--paper);
}

.project-fact + .project-fact {
  margin-top: 1rem !important;
}

.project-fact::before {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--cream-100);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-fact:first-child::before {
  content: "Project period";
}

.project-fact:nth-child(2)::before {
  content: "Project website";
}

.project-fact a {
  color: var(--paper) !important;
  overflow-wrap: anywhere;
}

.project-fact a:hover {
  color: var(--cream-100) !important;
}

.project-story__copy {
  min-width: 0;
}

.project-story__copy > p {
  width: 100%;
  max-width: var(--measure);
}

.project-story__copy > p:first-child {
  color: #334139;
  font-size: clamp(1.08rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

.project-story__copy > p + p {
  margin-top: 1.5rem;
}

.project-story--epos-on {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.content-section.project-story--epos-on > .project-overview {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(12rem, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 0;
  border-radius: 0;
  background: var(--green-050);
  box-shadow: none;
}

.project-overview__mark {
  display: grid;
  min-height: 10rem;
  place-items: center;
  padding: 1.25rem;
  border: 0;
  border-radius: 0;
  background: var(--paper);
}

.project-overview .project-overview__logo {
  margin: 0;
}

.project-overview__logo img {
  width: min(100%, 15rem);
  max-height: 6rem;
  border-radius: 0;
  object-fit: contain;
}

.project-overview__lead {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 720;
  line-height: 1.45;
}

.content-section.project-story--epos-on > .project-story__copy {
  grid-column: 1;
}

.content-section.project-story--epos-on > .project-story__visual {
  grid-column: 2;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.project-story__visual img {
  width: 100%;
  border-radius: 0;
}

/* Editorial feature pages */
.visual-story {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(18rem, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}

.visual-story > .page-feature-visual {
  position: static;
  top: auto;
  grid-column: 1;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.visual-story > .page-feature-visual img {
  display: block;
  width: 100%;
  height: clamp(27rem, 36vw, 32rem);
  border-radius: 0;
  object-fit: cover;
}

.visual-story > .content-section--intro {
  grid-column: 2;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.visual-story--epos-eric .row + .row {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--green-100);
}

.visual-story--epos-eric .alignleft {
  max-width: min(38%, 12rem) !important;
}

.visual-story--slovenia > .content-section--intro > p:first-child {
  margin: 0;
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-story--slovenia .content-section--intro > ul {
  margin-top: 1.5rem;
}

.visual-story--karst .embed-container {
  margin-bottom: 0;
}

.research-story__lead {
  margin-top: 0;
}

.research-story__document {
  margin: 2rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.research-story__document img {
  display: block;
  width: 100%;
  border-radius: 0;
}

.project-content--transform > .page-feature-visual {
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  aspect-ratio: 3 / 2;
  background: transparent;
  box-shadow: none;
}

.project-content--transform > .page-feature-visual img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

/* Programme and infrastructure pages */
.programme-content,
.funded-project-content,
.data-services-content {
  max-width: none;
}

.programme-story {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

.programme-story__summary {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow: hidden;
  border-radius: 0;
  background: var(--green-900);
  box-shadow: none;
}

.programme-story__summary::after {
  position: absolute;
  right: -4rem;
  bottom: -6rem;
  width: 15rem;
  height: 15rem;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgb(255 255 255 / 3%);
  content: "";
}

.programme-story__summary-text {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin: 0;
  color: rgb(255 255 255 / 82%);
  font-size: 0.95rem;
  line-height: 1.7;
}

.programme-story__summary-text > strong:first-child,
.programme-story__summary-text > a:first-child,
.programme-story__summary-text > strong:first-child a {
  color: var(--paper) !important;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.35;
}

.programme-story__body {
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: stretch;
  margin-top: 1.25rem;
  gap: 1.25rem;
}

.programme-story__copy {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 0;
  border-radius: 0;
  background: var(--green-050);
}

.programme-story__copy > p:first-child {
  margin-top: 0;
}

.programme-story__copy > p:last-child {
  margin-bottom: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--green-100);
}

.page-page .wp-block-column.programme-story__visual:has(> figure:only-child) {
  display: flex;
  min-height: 0;
  align-self: stretch;
  padding: 0;
  place-items: initial;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.programme-story__visual figure {
  display: flex;
  width: 100%;
  flex-direction: column;
  margin: 0;
}

.programme-story__visual img {
  display: block;
  width: 100%;
  flex: 1;
  border-radius: 0;
  object-fit: cover;
  object-position: top;
}

.programme-story__visual figcaption {
  margin: 0;
  padding: 0.75rem 0.35rem 0.2rem;
}

.funded-project {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  align-items: stretch;
  gap: 1.25rem;
  margin: 0;
  padding: 0 !important;
}

.funded-project__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 0;
  border-radius: 0;
  background: linear-gradient(145deg, var(--green-050), var(--cream-050));
}

.content-section.funded-project > .funded-project__copy {
  grid-column: 1;
}

.funded-project__copy > * {
  margin: 0;
}

.funded-project__title {
  color: var(--green-900);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.funded-project__facts {
  margin-top: 1.5rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid var(--green-100);
  color: var(--muted);
  font-size: 0.9rem;
}

.funded-project__links {
  margin-top: 1rem !important;
}

.funded-project__links a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--green-900);
  color: var(--paper) !important;
  font-size: 0.78rem;
  font-weight: 800;
}

.funded-project__links a:hover {
  background: var(--orange-700);
}

.funded-project__visual {
  display: grid;
  align-self: stretch;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.content-section.funded-project > .funded-project__visual {
  grid-column: 2;
}

.funded-project__visual img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
}

.data-services-story {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  align-items: stretch;
  gap: 1.25rem;
  margin: 0;
  padding: 0 !important;
}

.data-services-story__copy {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 0;
  border-radius: 0;
  background: linear-gradient(145deg, var(--paper), var(--green-050));
}

.content-section.data-services-story > .data-services-story__copy {
  grid-column: 1;
}

.data-services-story__copy > p:first-child {
  margin-top: 0;
  color: #334139;
  font-size: clamp(1.08rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

.data-services-story__copy > p:last-child {
  margin-bottom: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--green-100);
}

.data-services-story__visual {
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 0;
  border-radius: 0;
  background: var(--green-050);
  box-shadow: none;
}

.content-section.data-services-story > .data-services-story__visual {
  grid-column: 2;
}

.data-services-story__visual img {
  display: block;
  width: min(100%, 31rem);
  border-radius: 0;
}

/* Contact and media */
.contact-content {
  max-width: 64rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.contact-content .content-section--intro {
  max-width: none;
  padding: 0;
}

.contact-card {
  display: grid;
  min-height: 27rem;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.35fr);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  box-shadow: none;
}

.content-section.contact-card {
  align-items: stretch;
  gap: 0;
}

.contact-card__identity {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
  background: var(--green-900);
  color: var(--paper);
}

.content-section.contact-card > .contact-card__identity {
  grid-column: 1;
}

.contact-card__identity::after {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 14rem;
  height: 14rem;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgb(255 255 255 / 3%);
  content: "";
}

.contact-card__brand {
  position: relative;
  z-index: 1;
  margin: 0 0 2.25rem;
  color: var(--cream-100);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card .contact-card__person {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  color: var(--paper);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.contact-card__person a {
  color: var(--paper) !important;
}

.contact-card__person a:hover {
  color: var(--cream-100) !important;
}

.contact-card__role {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgb(255 255 255 / 78%);
  font-size: 1rem;
  font-weight: 680;
  line-height: 1.5;
}

.contact-card__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--green-050);
  font-size: 1.02rem;
}

.content-section.contact-card > .contact-card__details {
  grid-column: 2;
}

.contact-card__details > * {
  margin: 0;
}

.contact-card__organization {
  color: var(--green-900);
  font-size: 1.18rem;
  font-weight: 760;
}

.contact-card__institute {
  margin-top: 0.2rem;
  color: var(--green-800);
  font-weight: 680;
}

.contact-card__methods {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--green-100);
}

.contact-card__social {
  margin-top: 0.35rem;
}

.contact-card__details a {
  color: var(--green-700);
  font-weight: 800;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.media-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.media-card h2 {
  min-height: 3.2rem;
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.45;
}

.media-card figure,
.media-card .wp-block-embed__wrapper {
  margin: 0;
}

.media-card iframe {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 9;
}

/* Milestones */
.milestone-content .content-section--intro > ul,
.milestone-content .content-section--intro > ol,
.milestone-content > ul,
.milestone-content > ol {
  position: relative;
  margin: 2rem 0 0;
  padding: 0 0 0 1.6rem;
  list-style: none;
}

.milestone-content .content-section--intro > ul::before,
.milestone-content .content-section--intro > ol::before,
.milestone-content > ul::before,
.milestone-content > ol::before {
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.25rem;
  width: 2px;
  background: var(--green-100);
  content: "";
}

.milestone-content li {
  position: relative;
  padding: 0 0 1.25rem 0.8rem;
}

.milestone-content li::before {
  position: absolute;
  top: 0.5rem;
  left: -1.67rem;
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 1px var(--orange-500);
  content: "";
}

/* Preserved legacy showcase pages */
.legacy-showcase {
  max-width: none;
}

.legacy-showcase .legacy-intro {
  display: grid;
  max-width: none;
  margin: 0;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green-050);
  grid-template-columns: minmax(13rem, 0.7fr) minmax(0, 1.3fr);
  gap: 0.75rem clamp(2rem, 5vw, 4rem);
}

.legacy-showcase .legacy-intro > * {
  grid-column: 2;
}

.legacy-showcase .legacy-intro > h2 {
  grid-column: 1;
  grid-row: 1 / span 4;
  align-self: start;
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
}

.legacy-showcase .legacy-intro > h2::before {
  display: block;
  width: 2.5rem;
  height: 0.25rem;
  margin-bottom: 1rem;
  border-radius: 99px;
  background: var(--orange-500);
  content: "";
}

.legacy-showcase .legacy-intro :where(h5, .legacy-lead) {
  margin: 0 0 0.5rem;
  color: var(--green-900);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 720;
  line-height: 1.45;
}

.legacy-eyebrow {
  margin: 0 0 0.2rem;
  color: var(--orange-800) !important;
  font-size: 0.74rem !important;
  font-weight: 820 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legacy-showcase .legacy-intro > p:last-child,
.legacy-showcase .legacy-copy-section > p,
.legacy-showcase .legacy-media-section > p,
.legacy-showcase .legacy-cta-section > p {
  margin-bottom: 0;
}

.legacy-showcase :where(.legacy-intro, .legacy-copy-section, .legacy-media-section, .legacy-cta-section) p a,
.legacy-showcase .legacy-card-section > p:last-child a {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  background: var(--green-900);
  color: var(--paper) !important;
  font-size: 0.82rem;
  font-weight: 800;
}

.legacy-showcase :where(.legacy-intro, .legacy-copy-section, .legacy-media-section, .legacy-cta-section) p a:hover,
.legacy-showcase .legacy-card-section > p:last-child a:hover {
  background: var(--orange-700);
}

.legacy-card-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legacy-card {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.legacy-card :where(h3, h4) {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}

.legacy-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.legacy-card--image {
  padding: 0;
  overflow: hidden;
}

.legacy-card--image > :not(figure) {
  margin-inline: 1.2rem;
}

.legacy-card--image > p {
  margin-bottom: 1.25rem;
}

.legacy-card--image figure {
  margin: 0 0 1.1rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--green-050);
}

.legacy-card--image figure img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.legacy-card-grid--services {
  margin-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 5vw, 4.5rem);
  counter-reset: preserved-services;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.legacy-service-card {
  counter-increment: preserved-services;
}

.legacy-service-card::before {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--orange-800);
  content: counter(preserved-services, decimal-leading-zero);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.legacy-image-pair {
  display: grid;
  width: min(100%, 42rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legacy-image-pair figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--green-050);
}

.legacy-image-pair img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.legacy-testimonials {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.wp-content .legacy-testimonial {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-050);
}

.legacy-testimonial > p {
  margin-bottom: 1.4rem;
  color: #354139;
  font-size: 0.9rem;
  line-height: 1.65;
}

.legacy-testimonial footer {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--green-900);
  font-size: 0.8rem;
}

.legacy-testimonial footer img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.legacy-cta-section {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  background: var(--green-050);
}

.legacy-faq-list {
  width: min(100%, var(--measure));
  border-top: 1px solid var(--line);
}

.legacy-faq-item {
  border-bottom: 1px solid var(--line);
}

.legacy-faq-item summary {
  padding: 1rem 2.25rem 1rem 0;
  color: var(--green-900);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.45;
}

.legacy-faq-item > div {
  padding: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.legacy-faq-item > div p {
  margin: 0;
}

/* Archives */
.archive-layout,
.story-layout {
  display: grid;
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.archive-nav,
.story-nav {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  align-self: start;
  padding: 0.2rem 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.archive-nav__title {
  margin-bottom: 0.7rem;
  color: var(--green-900);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-nav ol,
.story-nav ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive-nav a,
.story-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 680;
  text-decoration: none;
}

.archive-nav a:hover,
.story-nav a:hover {
  color: var(--orange-800);
}

.archive-nav a span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.news-year,
.publication-year {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.news-year + .news-year,
.publication-year + .publication-year {
  margin-top: clamp(3.5rem, 6vw, 5rem);
}

.news-year__header,
.publication-year__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.news-year__header h2,
.publication-year__header h2 {
  margin: 0;
}

.news-year__header span,
.publication-year__header span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.news-timeline {
  position: relative;
}

.news-timeline::before {
  position: absolute;
  top: 0.7rem;
  bottom: 0;
  left: 0.3rem;
  width: 2px;
  background: var(--green-100);
  content: "";
}

.news-item {
  position: relative;
  display: grid;
  padding: 0 0 1.5rem 1.75rem;
  grid-template-columns: minmax(0, 1fr);
}

.news-item__marker {
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 2px var(--orange-500);
}

.news-item__content {
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.news-item__content > p:last-child {
  margin-bottom: 0;
}

.news-item__content > p:first-child strong:first-child {
  color: var(--green-900);
}

.news-item__media {
  display: grid;
  margin-top: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
  gap: 0.8rem;
}

.news-item__media figure {
  margin: 0;
}

.news-item__media img {
  width: 100%;
  max-height: 34rem;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.publication-summary {
  padding-top: 2rem;
}

.publication-summary p {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0;
  color: var(--muted);
}

.publication-summary strong {
  color: var(--orange-800);
  font-size: 2.25rem;
  line-height: 1;
}

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

.publication-card {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 150ms ease;
}

.publication-card:hover {
  background: var(--green-050);
}

.publication-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.68;
}

.publication-card .publication-authors {
  color: var(--green-900);
  font-weight: 800;
}

.publication-card em,
.publication-card cite,
.publication-entry em,
.publication-entry cite {
  font-style: italic;
}

.publication-card a,
.publication-entry a {
  overflow-wrap: anywhere;
}

/* Data and sites */
.data-sites-page {
  background: var(--paper);
}

.story-intro {
  padding-top: 2rem;
}

.story-intro__identity {
  display: grid;
  max-width: none;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.25rem;
}

.story-intro__identity img {
  width: 4.5rem;
  border-radius: 50%;
}

.story-intro__identity .eyebrow {
  margin-bottom: 0.25rem;
}

.story-intro__identity p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.story-layout {
  padding-top: 3rem;
  grid-template-columns: 11rem minmax(0, 1fr);
}

.story-nav a {
  justify-content: start;
  line-height: 1.35;
}

.story-content {
  max-width: none;
  overflow-wrap: anywhere;
}

.story-section {
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.story-section + .story-section {
  padding-top: clamp(3.5rem, 6vw, 5rem);
}

.story-section--partner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 2rem;
  gap: 1rem;
}

.story-section + .story-section--partner,
.story-section--partner + .story-section {
  padding-top: 2rem;
}

.story-section--partner > h2 {
  margin: 0;
  font-size: 1.35rem;
}

.story-section--partner > h2::before {
  display: none;
}

.story-partner-link {
  flex: 0 0 auto;
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 800;
}

.story-partner-link:hover {
  color: var(--orange-800);
}

.news-item a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.story-section > h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.story-section > h2::before {
  display: block;
  width: 2.5rem;
  height: 0.25rem;
  margin-bottom: 1rem;
  border-radius: 99px;
  background: var(--orange-500);
  content: "";
}

.story-section > h3 {
  max-width: var(--measure);
  margin: 2.75rem 0 1rem;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.story-section > p,
.story-list {
  max-width: var(--measure);
}

.story-list {
  padding-left: 1.35rem;
}

.story-list li + li {
  margin-top: 0.8rem;
}

.story-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-block: 4rem;
}

.story-separator::before,
.story-separator::after {
  width: min(16vw, 7rem);
  height: 1px;
  background: var(--green-100);
  content: "";
}

.story-separator i {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--orange-500);
  transform: rotate(45deg);
}

.embed-card {
  margin-block: clamp(2rem, 4vw, 3rem);
}

.embed-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green-050);
  box-shadow: none;
}

.embed-frame--map {
  aspect-ratio: 16 / 10;
}

.embed-frame--video {
  aspect-ratio: 16 / 9;
}

.embed-frame--site {
  height: min(70vh, 42rem);
}

.embed-frame iframe {
  width: 100%;
  height: 100%;
}

.embed-card figcaption {
  color: var(--green-800);
  font-size: 0.9rem;
}

.embed-description {
  max-width: var(--measure);
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.embed-fallback {
  margin-top: 0.65rem;
  font-size: 0.82rem;
}

.map-layers {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream-050);
  font-size: 0.82rem;
}

.map-layers summary {
  color: var(--green-900);
  font-weight: 780;
  cursor: pointer;
}

.map-layers ul {
  columns: 2;
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
}

.map-layers .is-muted {
  color: var(--muted);
}

.service-card {
  display: grid;
  margin-block: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: none;
  color: var(--ink);
  text-decoration: none;
  grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.2fr);
}

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

.service-card:hover {
  color: var(--ink);
}

.service-card > img {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  object-fit: cover;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.service-card__body > strong {
  margin-bottom: 1rem;
  color: var(--green-900);
  font-size: 1.7rem;
  line-height: 1.2;
}

.service-card__description {
  margin-bottom: 1.3rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  white-space: pre-line;
}

.story-credits {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.story-credits h2 {
  font-size: 1.45rem;
}

/* Attachments, archive, errors */
.attachment-page,
.error-page {
  padding-block: clamp(3.5rem, 7vw, 7rem);
}

.attachment-page figure {
  max-width: 64rem;
  margin-inline: auto;
  text-align: center;
}

.attachment-page figure img {
  max-height: 75vh;
  margin-inline: auto;
  border-radius: var(--radius);
  object-fit: contain;
}

.file-download {
  display: flex;
  max-width: 46rem;
  align-items: center;
  gap: 1.5rem;
  margin-inline: auto;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green-050);
}

.file-download__icon {
  display: grid;
  width: 5rem;
  height: 6rem;
  place-items: center;
  border-radius: 0.4rem;
  background: var(--green-900);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 850;
}

.archive-card {
  max-width: 50rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green-050);
}

.error-page {
  text-align: center;
}

.error-page p {
  font-size: 1.25rem;
}

/* Footer */
.site-footer {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  background: var(--green-950);
  color: rgb(255 255 255 / 75%);
}

.site-footer__inner {
  display: grid;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  grid-template-columns: minmax(20rem, 1.8fr) repeat(2, minmax(10rem, 0.7fr));
  gap: clamp(2rem, 5vw, 5rem);
}

.site-footer__identity {
  display: flex;
  max-width: 32rem;
  align-items: center;
  gap: 1.25rem;
}

.site-footer__identity img {
  width: 6.5rem;
  height: 6.5rem;
}

.site-footer__identity strong {
  color: var(--paper);
  font-size: 1.35rem;
}

.site-footer__identity p {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.site-footer h2 {
  color: var(--cream-100);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.site-footer a {
  color: var(--paper);
  font-size: 0.9rem;
}

.site-footer__group p {
  margin-bottom: 0.4rem;
}

.site-footer__bottom {
  padding-block: 1.2rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.76rem;
}

.site-footer__bottom p {
  margin: 0;
}

@media (max-width: 73.75rem) {
  :root {
    --header-height: 5.25rem;
  }

  .site-header__inner {
    min-height: var(--header-height);
  }

  .brand__logo {
    width: 3.9rem;
    height: 3.9rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    bottom: auto;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    padding: 1.25rem 1.5rem 3rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    background: var(--paper);
    box-shadow: 0 20px 45px rgb(16 44 29 / 16%);
    clip-path: inset(0 0 0 100%);
    transition: clip-path 200ms ease, visibility 0s linear 200ms;
  }

  .js .site-nav.is-open {
    visibility: visible;
    clip-path: inset(0);
    transition-delay: 0s;
  }

  .no-js .menu-toggle {
    display: none;
  }

  .no-js .site-header__inner {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-block: 0.65rem;
  }

  .no-js .site-nav {
    width: 100%;
  }

  .site-nav__list {
    display: block;
    width: min(100%, 32rem);
    margin-inline: auto;
  }

  .site-nav__item {
    border-bottom: 1px solid var(--line);
  }

  .site-nav__row {
    justify-content: space-between;
  }

  .site-nav__row > a {
    flex: 1;
    padding: 1rem 0;
    font-size: 0.88rem;
    white-space: normal;
  }

  .site-nav__row > a::after {
    right: auto;
    bottom: 0.55rem;
    left: 0;
    width: 2.5rem;
  }

  .submenu-toggle {
    width: 2.5rem;
    height: 2.5rem;
  }

  .submenu {
    position: static;
    display: none;
    right: auto;
    left: auto;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0 0 0.8rem;
    padding: 0.35rem 0.5rem 0.35rem 0.85rem;
    border-left: 2px solid var(--orange-500);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--green-050);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .submenu a {
    color: var(--green-900);
  }

  .submenu a:hover,
  .submenu a[aria-current="page"] {
    background: var(--paper);
    color: var(--orange-800);
  }

  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu {
    display: none;
  }

  .has-submenu.is-open > .submenu,
  .no-js .submenu {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 56rem) {
  .home-introduction {
    display: block;
  }

  .home-introduction > .section-heading-block {
    position: static;
  }

  .pathway-grid,
  .latest-news__grid {
    grid-template-columns: 1fr;
  }

  .fieldwork-gallery__track {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 10rem;
  }

  .fieldwork-gallery__item {
    grid-column: span 3;
  }

  .fieldwork-gallery__item:first-child,
  .fieldwork-gallery__item:nth-child(6),
  .fieldwork-gallery__item:nth-child(7) {
    grid-column: span 6;
  }

  .fieldwork-gallery__item:last-child:nth-child(even) {
    grid-column: span 6;
  }

  .content-layout--indexed {
    display: block;
  }

  .content-index {
    position: static;
    margin-bottom: 2.5rem;
    padding: 0;
    border: 0;
  }

  .content-index__desktop {
    display: none;
  }

  .content-index__mobile {
    display: block;
    overflow: hidden;
    border: 1px solid var(--green-100);
    border-radius: var(--radius);
    background: var(--green-050);
  }

  .content-index__mobile summary {
    display: grid;
    min-height: 3.5rem;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    color: var(--green-900);
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    list-style: none;
    text-transform: uppercase;
  }

  .content-index__mobile summary::-webkit-details-marker {
    display: none;
  }

  .content-index__mobile summary svg {
    transition: transform 160ms ease;
  }

  .content-index__mobile[open] summary svg {
    transform: rotate(180deg);
  }

  .content-index__count {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
  }

  .content-index__mobile ol {
    display: block;
    margin: 0 1rem;
    padding: 0.35rem 0 0.75rem;
    border-top: 1px solid var(--green-100);
  }

  .content-index__mobile li + li {
    margin-top: 0;
    border-top: 1px solid rgb(25 63 42 / 8%);
  }

  .content-index__mobile a {
    display: block;
    width: auto;
    padding: 0.7rem 0.15rem;
    color: var(--green-800);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .content-section > h2:first-child,
  .content-section > :not(h2:first-child) {
    grid-column: 1;
  }

  .project-story--transform,
  .project-story--epos-on {
    grid-template-columns: 1fr;
  }

  .visual-story,
  .funded-project,
  .data-services-story {
    grid-template-columns: 1fr;
  }

  .visual-story > .page-feature-visual,
  .visual-story > .content-section--intro {
    position: static;
    top: auto;
    grid-column: 1;
  }

  .content-section.funded-project > .funded-project__copy,
  .content-section.funded-project > .funded-project__visual,
  .content-section.data-services-story > .data-services-story__copy,
  .content-section.data-services-story > .data-services-story__visual {
    grid-column: 1;
  }

  .visual-story > .page-feature-visual img {
    height: min(58vw, 28rem);
  }

  .programme-story__body {
    grid-template-columns: 1fr;
  }

  .project-summary {
    position: relative;
    top: auto;
  }

  .content-section.project-story--transform > .project-summary,
  .content-section.project-story--transform > .project-story__copy,
  .content-section.project-story--epos-on > .project-story__copy,
  .content-section.project-story--epos-on > .project-story__visual {
    grid-column: 1;
  }

  .legacy-showcase .legacy-intro {
    grid-template-columns: 1fr;
  }

  .legacy-showcase .legacy-intro > *,
  .legacy-showcase .legacy-intro > h2 {
    grid-column: 1;
    grid-row: auto;
  }

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

  .legacy-testimonials {
    grid-template-columns: 1fr;
  }

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

  .partner-directory .wp-block-column,
  .partner-directory > .wp-block-columns:last-of-type .wp-block-column:first-child,
  .partner-directory > .wp-block-columns:last-of-type .wp-block-column:last-child {
    grid-column: auto;
  }

  .pathway-card {
    min-height: 17rem;
  }

  .pathway-card__number {
    margin-bottom: 3rem;
  }

  .archive-layout,
  .story-layout {
    display: block;
  }

  .archive-nav,
  .story-nav {
    position: static;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .archive-nav ol,
  .story-nav ol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr));
    padding: 0;
    overflow: visible;
    columns: auto;
    gap: 0.5rem;
  }

  .archive-nav a,
  .story-nav a {
    width: auto;
    height: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--green-100);
    border-radius: var(--radius-sm);
    background: var(--green-050);
    line-height: 1.35;
  }

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

  .service-card > img {
    min-height: 0;
    aspect-ratio: 16 / 8;
  }

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

  .site-footer__identity {
    grid-column: 1 / -1;
  }
}

@media (max-width: 42rem) {
  .shell {
    width: min(calc(100% - 2rem), var(--content));
  }

  .brand__name small {
    display: none;
  }

  .brand__name strong {
    font-size: 0.9rem;
  }

  .home-hero {
    min-height: 32rem;
  }

  .home-hero__shade {
    background: linear-gradient(0deg, rgb(10 37 24 / 92%) 0%, rgb(10 37 24 / 46%) 85%);
  }

  .home-hero__content {
    padding-block: 3.5rem;
  }

  .home-hero__content h1 {
    font-size: clamp(2.65rem, 13vw, 3.7rem);
  }

  .home-copy .wp-block-columns,
  .wp-block-columns {
    grid-template-columns: 1fr;
  }

  .home-copy .wp-block-columns {
    padding-left: 2.2rem;
  }

  .section-heading-block--row {
    display: block;
  }

  .section-heading-block--row > .text-link {
    display: inline-block;
    margin-top: 1rem;
  }

  .fieldwork-gallery__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 0.65rem;
  }

  .fieldwork-gallery__item {
    grid-column: span 1;
    grid-row: auto;
    aspect-ratio: 1;
  }

  .fieldwork-gallery__item:first-child,
  .fieldwork-gallery__item:nth-child(6),
  .fieldwork-gallery__item:nth-child(7) {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .fieldwork-gallery__item:last-child:nth-child(even) {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }

  .institution-directory,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .legacy-card-grid,
  .legacy-card-grid--services,
  .legacy-image-pair {
    grid-template-columns: 1fr;
  }

  .institution-directory .wp-block-column {
    min-height: 14rem;
  }

  .partner-profile .content-section--intro:has(> figure) {
    grid-template-columns: 1fr;
  }

  .partner-profile .content-section--intro:has(> figure) > figure {
    aspect-ratio: 16 / 9;
  }

  .partner-profile .content-section--intro:has(> figure) > figure img {
    min-height: 0;
  }

  .partner-profile .content-section--intro .wp-block-column:has(> figure:only-child) {
    min-height: 12rem;
    aspect-ratio: 16 / 9;
  }

  .content-section.project-story--epos-on > .project-overview,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .visual-story {
    gap: 1.25rem;
  }

  .visual-story > .page-feature-visual img {
    height: 62vw;
    min-height: 14rem;
    max-height: 22rem;
  }

  .programme-story__summary,
  .programme-story__copy,
  .funded-project__copy,
  .data-services-story__copy,
  .data-services-story__visual {
    padding: 1.5rem;
  }

  .project-content--transform > .page-feature-visual {
    aspect-ratio: 4 / 3;
  }

  .programme-story__body,
  .funded-project,
  .data-services-story {
    gap: 1rem;
  }

  .project-overview {
    gap: 1.5rem;
  }

  .contact-card {
    min-height: 0;
  }

  .content-section.contact-card > .contact-card__identity,
  .content-section.contact-card > .contact-card__details {
    grid-column: 1;
  }

  .contact-card__identity,
  .contact-card__details {
    padding: 2rem;
  }

  .contact-card__brand {
    margin-bottom: 1.5rem;
  }

  .row > .col-md-6 {
    grid-column: 1 / -1;
  }

  .alignleft {
    float: none;
    max-width: 100% !important;
    margin: 1rem auto;
  }

  .wp-block-file {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .page-hero .page-hero__title--long {
    font-size: clamp(1.75rem, 7.6vw, 2.25rem);
  }

  .archive-layout,
  .story-layout {
    padding-block: 2.5rem 4.5rem;
  }

  .story-intro__identity {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 1rem;
  }

  .story-intro__identity img {
    width: 4.5rem;
  }

  .story-intro__identity h2 {
    font-size: 1.55rem;
  }

  .story-nav ol {
    columns: 1;
  }

  .news-item {
    padding-left: 1.5rem;
  }

  .news-item__content {
    padding: 1rem;
  }

  .map-layers ul {
    columns: 1;
  }

  .embed-frame--map {
    aspect-ratio: 4 / 5;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__identity {
    grid-column: auto;
    align-items: flex-start;
  }

  .site-footer__identity img {
    width: 5rem;
    height: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .archive-nav,
  .story-nav,
  .button-row,
  .embed-frame,
  .embed-fallback {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 11pt;
  }

  a {
    color: inherit;
  }

  .page-hero {
    min-height: 0;
    background: none;
  }

  .page-hero__texture,
  .page-hero::after {
    display: none;
  }

  .page-hero__inner {
    min-height: 0;
    padding: 1rem 0;
  }

  .page-hero h1 {
    color: #000;
  }

  .archive-layout,
  .story-layout {
    display: block;
    padding: 1rem 0;
  }
}
.wp-block-embed:has(.local-map) .wp-block-embed__wrapper::before { display:none; }
