:root {
  --olive-dark: #565b40;
  --olive: #75734f;
  --stone: #e7e6df;
  --stone-light: #f4f3ee;
  --ink: #2b2d20;
  --white: #ffffff;
  --glow: #8fe3e8;
  --muted: #4a4c3c;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, serif;

  --radius: 12px;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 8px 24px rgb(43 45 32 / 0.08);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--stone-light);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
main:has(.section-fill) { display: flex; flex-direction: column; }
.section-fill { flex: 1; display: grid; align-content: center; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  text-wrap: balance;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

p { margin: 0 0 1rem; }

a { color: inherit; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

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

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
}
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: var(--olive-dark);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--ink); transform: translateY(-1px); }

.btn-light { background: var(--white); color: var(--olive-dark); }
.btn-light:hover { background: var(--stone); color: var(--ink); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--olive);
  border-bottom: 6px solid var(--olive-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand img { width: clamp(220px, 30vw, 340px); }

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.site-nav a:hover { background: rgb(255 255 255 / 0.15); }
.site-nav a[aria-current="page"] { background: var(--olive-dark); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 22px; height: 2px;
  margin-inline: auto;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: clamp(360px, 62vh, 620px);
  color: var(--white);
  isolation: isolate;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(20 22 14 / 0.75) 0%, rgb(20 22 14 / 0.25) 60%, transparent 100%);
}
.hero-content {
  align-self: center;
  padding-block: 4rem;
}
.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  text-shadow: 0 2px 20px rgb(0 0 0 / 0.35);
}
.hero .btn { margin-top: 1rem; }

.eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Sections */
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section-light { background: var(--stone); }

.section-heading {
  margin-bottom: 2.5rem;
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--olive-dark);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgb(43 45 32 / 0.16); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
}
.card-title { font-size: 1.4rem; color: var(--olive-dark); }
.card-body p { flex: 1; font-size: 0.95rem; color: var(--muted); }

/* Split sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-reverse .split-media { order: 2; }

.split-text {
  padding: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
}
.split-dark { background: var(--olive-dark); }
.split-olive { background: var(--olive); }
.split-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.split-text p { max-width: 60ch; }
.split-text .btn { margin-top: 0.5rem; }
.split-olive .btn-light { color: var(--olive-dark); }

.quote {
  margin: 2.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.25);
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-style: italic;
  line-height: 1.5;
}
.quote blockquote p::before { content: "“"; }
.quote blockquote p::after { content: "”"; }
.quote figcaption { font-weight: 600; }
.quote figcaption span { display: block; font-weight: 400; opacity: 0.8; }
.quote figcaption img { width: 140px; }

/* Press */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.press-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .press-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .press-grid-four { grid-template-columns: 1fr; } }

.press-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--radius);
  border-top: 4px solid var(--olive);
  background: var(--white);
  box-shadow: var(--shadow);
}
.press-card img {
  width: auto;
  max-width: 150px;
  height: 40px;
  object-fit: contain;
  object-position: left;
  margin-bottom: 1.25rem;
}
.press-card h3 { font-size: 1.2rem; color: var(--olive-dark); }
.press-card p { flex: 1; font-size: 0.95rem; font-style: italic; color: var(--muted); }
.press-link {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--olive-dark);
  border-bottom: 2px solid var(--olive);
  padding-bottom: 2px;
}
.press-link::after { content: " →"; }
.press-link:hover { color: var(--ink); border-color: var(--ink); }

/* Banner */
.banner img { width: 100%; height: clamp(180px, 30vw, 420px); object-fit: cover; }

/* Footer */
.site-footer {
  padding-block: 3rem 2rem;
  background: var(--olive);
  border-top: 6px solid var(--olive-dark);
  color: var(--white);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-logo { width: min(340px, 80vw); }
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Inner pages */
.page-hero {
  position: relative;
  display: grid;
  min-height: clamp(260px, 42vh, 440px);
  color: var(--white);
  isolation: isolate;
}
.page-hero .hero-img { object-position: center; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgb(20 22 14 / 0.85) 0%, rgb(20 22 14 / 0.55) 45%, rgb(20 22 14 / 0.15) 100%);
}
.page-hero .hero-content { align-self: end; padding-block: 2.5rem; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); max-width: 20ch; }
.page-hero p { max-width: 60ch; margin: 0; opacity: 0.9; }

.section-white { background: var(--white); }
.section-dark { background: var(--olive-dark); color: var(--white); }
.section-olive { background: var(--olive); color: var(--white); }
.section-dark .section-heading,
.section-olive .section-heading { color: var(--white); }

.section-intro {
  max-width: 65ch;
  margin: -1.5rem auto 2.5rem;
  text-align: center;
}

.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--olive-dark); }
.prose h3 { font-size: 1.3rem; color: var(--olive-dark); margin-top: 2rem; }
.section-dark .prose h2, .section-dark .prose h3,
.section-olive .prose h2, .section-olive .prose h3 { color: var(--white); }
.prose a { text-underline-offset: 3px; }
.prose.is-centered { margin-inline: auto; }
.prose.is-centered.text-center { text-align: center; }

.kicker {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive-dark);
}
.prose p + .kicker { margin-top: 2rem; }
.prose .kicker + h2,
.prose .kicker + h3 { margin-top: 0; }
.section-dark .kicker,
.section-olive .kicker { color: var(--stone); opacity: 0.85; }

/* Text beside an image */
.media-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.media-row + .media-row { margin-top: clamp(3rem, 7vw, 5rem); }
.media-row.is-reversed > :first-child { order: 2; }
.media-row.is-narrow-media { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.media-row.is-narrow-media.is-reversed { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.media-row.is-pinned { align-items: start; }
.media-row.is-pinned > img { position: sticky; top: 108px; width: auto; max-height: calc(100vh - 140px); margin-inline: auto; }
.media-row img,
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 1.5rem;
}
.feature {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.section-white .feature { background: var(--stone-light); box-shadow: none; }
.feature-media {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 4px;
  aspect-ratio: 16 / 10;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: 1.5rem 1.75rem 1.75rem; }
.feature-body h3 { font-size: 1.4rem; color: var(--olive-dark); }
.feature-body p:last-child { margin-bottom: 0; }
.feature-body .btn { margin-top: 0.5rem; }

/* Label rows */
.label-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid rgb(43 45 32 / 0.15);
}
.label-row h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--olive-dark); }

/* Profile */
.profile-head {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.25);
}
.profile-head img {
  flex: none;
  width: clamp(88px, 12vw, 128px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 40%;
}
.profile-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.profile-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding-top: 2rem;
}
.profile-body .prose { max-width: none; }

/* Image galleries */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 1rem;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery:not(.gallery-stack) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-tall img { aspect-ratio: 3 / 4; }
.gallery-wide img { aspect-ratio: 3 / 2; }
.gallery:not(.gallery-stack) > img:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.gallery-stack { grid-template-columns: 1fr; }

/* Topic cards */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 1.5rem;
}
.topic {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.topic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.topic-body { padding: 1.25rem 1.5rem 1.5rem; }
.topic h3 { font-size: 1.25rem; color: var(--olive-dark); }
.topic p { font-size: 0.95rem; color: var(--muted); }
.topic p:last-child { margin-bottom: 0; }

/* Life cycle steps */
.steps {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 1.25rem 1.5rem 1.25rem 4.25rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.25rem; top: 1.25rem;
  display: grid;
  place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--olive-dark);
  color: var(--white);
  font-weight: 600;
}
.steps h3 { margin-bottom: 0.5rem; font-size: 1.2rem; color: var(--olive-dark); }
.steps p { font-size: 0.95rem; }
.steps p:last-child { margin-bottom: 0; }

/* Research papers */
.paper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 1.5rem;
}
.paper {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.paper img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: var(--stone); }
.paper-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem 1.5rem 1.5rem; }
.paper h3 { font-size: 1.1rem; color: var(--olive-dark); }
.paper p { flex: 1; font-size: 0.875rem; color: var(--muted); }
.paper .press-link { margin-top: 0.5rem; }

/* Sources */
.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem clamp(1.5rem, 4vw, 3rem);
}
.source {
  display: flex;
  flex-direction: column;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.35);
}
.source h3 { font-size: 1.3rem; }
.source p { flex: 1; font-size: 0.95rem; }
.source blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
}
.source .press-link { color: var(--white); border-color: rgb(255 255 255 / 0.5); }
.source .press-link:hover { color: var(--stone); border-color: var(--white); }

.profile-list { margin: 0; padding-left: 1.1rem; }
.profile-list li { margin-bottom: 0.35rem; }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1.5rem clamp(1.5rem, 4vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pillars li {
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.35);
}
.pillars strong {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
}

.big-quote {
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
}
.big-quote blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-style: italic;
  line-height: 1.4;
}
.big-quote figcaption { font-weight: 600; }
.big-quote figcaption span { display: block; font-weight: 400; opacity: 0.8; }

/* Responsive video */
.video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.video iframe { width: 100%; height: 100%; border: 0; }

.partner-logo { width: min(320px, 100%); margin: 0 auto 1.5rem; }
.section-olive .partner-logo,
.section-dark .partner-logo { filter: brightness(0) invert(1); }
.quote-portrait { max-width: 280px; margin: 0 auto 1.5rem; }

/* Responsive */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding-block: 0.75rem; }
  .site-nav ul { flex-wrap: wrap; }

  .js .header-inner { flex-wrap: nowrap; padding-block: 0; }
  .js .nav-toggle { display: block; }
  .js .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    background: var(--olive);
    border-bottom: 6px solid var(--olive-dark);
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; padding: 0.5rem 1.25rem 1rem; }
  .js .site-nav a { padding: 0.85rem 1rem; }

  .hero::after { background: linear-gradient(0deg, rgb(20 22 14 / 0.8) 0%, rgb(20 22 14 / 0.45) 100%); }
  .hero-content { align-self: end; padding-block: 3rem 2.5rem; }

  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-media img { aspect-ratio: 16 / 10; }

  .media-row,
  .media-row.is-narrow-media,
  .media-row.is-narrow-media.is-reversed { grid-template-columns: minmax(0, 1fr); }
  .media-row.is-reversed > :first-child { order: 0; }
  .media-row.is-narrow-media > img { max-width: min(420px, 100%); margin-inline: auto; }
  .media-row.is-pinned > img { position: static; order: 1; }
  .label-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .profile-body { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .paper img { aspect-ratio: 16 / 10; }
  .gallery { gap: 0.75rem; }
}

@media (max-width: 480px) {
  .steps li { padding: 1.25rem; }
  .steps li::before { position: static; margin-bottom: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header { position: static; }
  .skip-link, .nav-toggle, .banner, .video, .hero::after, .page-hero::after { display: none; }
  .hero, .page-hero { min-height: 0; color: var(--ink); }
  .hero-img { display: none; }
  .section, .split-text, .site-footer { padding-block: 1.5rem; background: none !important; color: var(--ink) !important; }
  .card, .topic, .paper, .press-card, .steps li { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; word-break: break-all; }
}
