/* ==========================================================================
   NZFHRC — Field Atlas
   A design system for a One Health research institution.
   ========================================================================== */

/* ---------------------------------------------------------------- FONTS */
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-300-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------- TOKENS */
:root {
  /* canvas */
  --paper: #f2ecdf;
  --paper-2: #e9e1cf;
  --paper-3: #ddd3bd;
  --forest: #0b2a21;
  --forest-2: #0f352a;
  --forest-3: #071e18;
  --ink: #151a16;
  --ink-soft: #3d463e;
  --sage: #b9c5b2;
  --sage-2: #d3dbcd;
  --mineral: #46544a;
  --amber: #c98a3c;
  --amber-bright: #e0a75b;
  --amber-ink: #754a16;
  --coral: #b9512f;

  /* lines */
  --line: rgba(21, 26, 22, 0.15);
  --line-soft: rgba(21, 26, 22, 0.08);
  --line-strong: rgba(21, 26, 22, 0.3);
  --line-light: rgba(242, 236, 223, 0.16);
  --line-light-soft: rgba(242, 236, 223, 0.08);

  /* type */
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --step--1: clamp(0.7rem, 0.67rem + 0.1vw, 0.78rem);
  --step-0: clamp(0.98rem, 0.94rem + 0.18vw, 1.12rem);
  --step-1: clamp(1.12rem, 1.03rem + 0.36vw, 1.36rem);
  --step-2: clamp(1.45rem, 1.24rem + 0.8vw, 1.95rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.6vw, 2.9rem);
  --display-1: clamp(3.05rem, 1.9rem + 5.4vw, 8.2rem);
  --display-2: clamp(2.55rem, 1.7rem + 4.3vw, 6.2rem);
  --display-3: clamp(2rem, 1.4rem + 3vw, 4.2rem);

  /* space */
  --gutter: clamp(18px, 4.2vw, 72px);
  --section-y: clamp(84px, 10vw, 168px);
  --grid-gap: clamp(16px, 2vw, 32px);

  /* misc */
  --radius: 2px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 92px;
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

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

img { height: auto; }

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

button { cursor: pointer; background: none; border: 0; padding: 0; }

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

ul, ol { list-style: none; padding: 0; }

address { font-style: normal; }

h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }

p { text-wrap: pretty; }

::selection { background: var(--amber); color: var(--forest-3); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--forest);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

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

/* ---------------------------------------------------------------- PRIMITIVES */
.container {
  width: min(calc(100% - var(--gutter) * 2), 1560px);
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 0.58rem + 0.12vw, 0.72rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.dim { opacity: 0.55; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--display-2);
  line-height: 0.94;
  letter-spacing: -0.022em;
}
.display em {
  font-style: italic;
  letter-spacing: -0.01em;
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section-head {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 5.5vw, 78px);
}
.section-head--light { border-bottom-color: var(--line-light); }

.section-index {
  display: flex;
  align-items: baseline;
  gap: 14px;
  white-space: nowrap;
}
.section-index .mono:first-child { color: var(--amber-ink); }
.section-head--light .section-index .mono:first-child { color: var(--amber); }

.section-rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.section-head--light .section-rule { background: var(--line-light); }

.section-note {
  color: var(--mineral);
  white-space: nowrap;
}
.section-head--light .section-note { color: var(--sage); }

/* ---------------------------------------------------------------- BUTTONS */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--amber);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.btn:hover::before,
.btn:focus-visible::before { transform: translateY(0); }
.btn:hover,
.btn:focus-visible {
  color: var(--forest-3);
  border-color: var(--amber);
}
.btn .arrow {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.45s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn--solid {
  --btn-bg: var(--forest);
  --btn-fg: var(--paper);
  --btn-bd: var(--forest);
}
.btn--solid:hover,
.btn--solid:focus-visible { color: var(--forest-3); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}

.btn--accent {
  --btn-bg: var(--amber);
  --btn-fg: var(--forest-3);
  --btn-bd: var(--amber);
}
.btn--accent::before { background: var(--paper); }

.btn--paper {
  --btn-bg: var(--paper);
  --btn-fg: var(--forest-3);
  --btn-bd: var(--paper);
}
.btn--paper::before { background: var(--amber); }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: rgba(242, 236, 223, 0.4);
}
.btn--outline-light::before { background: var(--paper); }

.btn--sm {
  min-height: 42px;
  padding: 11px 18px;
  font-size: 0.76rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: border-color 0.3s, color 0.3s;
}
.text-link .arrow { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.text-link:hover { border-color: var(--amber); color: var(--amber-ink); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------------------------------------------------------------- HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(242, 236, 223, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(calc(100% - var(--gutter) * 2), 1560px);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: height 0.45s var(--ease);
}
.site-header.is-scrolled .header-inner { height: 68px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--ink);
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  transition: transform 0.8s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(120deg); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mineral);
  margin-top: 5px;
}

.nav-desktop { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 34px);
}
.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--amber-ink); }
.nav-link.is-active::after { background: var(--amber); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px;
}
.menu-toggle-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.menu-toggle-bars i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  overflow: hidden;
}
.header-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--amber);
  transition: width 0.1s linear;
}

/* ---------------------------------------------------------------- MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--forest-3);
  color: var(--paper);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px var(--gutter) 32px;
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-light);
}
.mobile-menu-head .mono { color: var(--sage); }
.mobile-menu-close {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--paper);
  transition: background-color 0.3s, color 0.3s;
}
.mobile-menu-close:hover { background: var(--paper); color: var(--forest-3); }
.mobile-menu-close svg { width: 18px; height: 18px; }

.mobile-nav-list { margin-top: clamp(24px, 5vh, 48px); }
.mobile-nav-list li { border-bottom: 1px solid var(--line-light); }
.mobile-nav-list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: clamp(14px, 2.4vh, 22px) 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s;
}
.mobile-menu.is-open .mobile-nav-list a { opacity: 1; transform: none; }
.mobile-nav-list a:hover { color: var(--amber); }
.mobile-nav-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--amber);
  flex: none;
}
.mobile-menu-foot {
  margin-top: auto;
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.mobile-menu-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--sage);
}
.mobile-menu-meta a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- HERO */
.hero {
  position: relative;
  padding-top: clamp(116px, 13vh, 156px);
  padding-bottom: 0;
  overflow: clip;
}
.hero-contours {
  position: absolute;
  inset: 0;
  color: var(--forest);
  opacity: 0.075;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.35) 55%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.35) 55%, transparent 88%);
}
.hero-contours svg { width: 100%; height: 100%; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6.1fr) minmax(0, 5.9fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: end;
}
.hero-copy { padding-bottom: clamp(24px, 4vh, 52px); }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(24px, 3.4vh, 38px);
}
.hero-eyebrow .mono { color: var(--ink-soft); }
.hero-eyebrow .dim { color: var(--mineral); }
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(201, 138, 60, 0.16);
  animation: pulseDot 3.2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--display-1);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-left: -0.03em;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}
.hero-title .line > span {
  display: block;
  transform: translateY(112%);
  animation: lineUp 1.15s var(--ease) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: 0.12s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.22s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.32s; }
.hero-title em { font-style: italic; }

.hero-lede {
  max-width: 45ch;
  margin-top: clamp(24px, 3.2vh, 38px);
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-soft);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.6s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3.6vh, 40px);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.72s forwards;
}

.hero-meta {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(36px, 5vh, 60px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.84s forwards;
}
.hero-meta dt { color: var(--mineral); margin-bottom: 6px; }
.hero-meta dd { color: var(--ink); font-size: 0.75rem; letter-spacing: 0.1em; }

.hero-figure { position: relative; margin: 0; }
.hero-image-wrap {
  position: relative;
  height: clamp(480px, 68vh, 760px);
  overflow: hidden;
  background: var(--forest-2);
  clip-path: inset(0 0 100% 0);
  animation: imageReveal 1.5s var(--ease) 0.18s forwards;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  transform: scale(1.12);
  animation: imageSettle 1.8s var(--ease) 0.18s forwards;
}
.hero-image-grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7, 30, 24, 0.62) 0%, rgba(7, 30, 24, 0.08) 42%, transparent 68%),
    linear-gradient(115deg, rgba(201, 138, 60, 0.14), transparent 48%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-hud { position: absolute; inset: 14px; pointer-events: none; }
.hud-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(242, 236, 223, 0.6);
  border-style: solid;
  border-width: 0;
}
.hud-corner--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hud-corner--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hud-corner--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud-corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hud-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 167, 91, 0.75), transparent);
  animation: scan 8s linear infinite;
  opacity: 0.7;
}
.hero-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 12px;
  background: rgba(7, 30, 24, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--paper);
  border-left: 2px solid var(--amber);
}
.hero-tag .mono { font-size: 0.75rem; letter-spacing: 0.13em; }
.hero-tag .mono:last-child { color: var(--sage-2); }
.hero-coord {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 14px;
  color: var(--paper);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.hero-caption {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  color: var(--mineral);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(28px, 4vh, 46px);
  padding-block: 18px 26px;
  border-top: 1px solid var(--line);
}
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; color: var(--ink-soft); }
.scroll-cue .mono { font-size: 0.75rem; }
.scroll-cue-line {
  position: relative;
  display: block;
  width: 42px;
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}
.scroll-cue-line i {
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform: translateX(-100%);
  animation: cue 2.6s var(--ease-io) infinite;
}
.hero-domains { display: flex; gap: clamp(18px, 3vw, 42px); }
.hero-domains li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-domains .mono { font-size: 0.75rem; color: var(--amber-ink); }

/* ---------------------------------------------------------------- INTRO */
.intro { background: var(--paper); }
.intro-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.intro-statement { grid-column: 1 / span 7; }
.intro-body { grid-column: 8 / span 5; padding-top: 0.6rem; }
.intro-annotation {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--mineral);
}
.intro-annotation::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--amber);
}

.intro-functions {
  margin-top: clamp(44px, 7vw, 108px);
  border-top: 1px solid var(--line-strong);
  max-width: 30rem;
}
.intro-functions li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.intro-functions .mono { color: var(--amber-ink); font-size: 0.75rem; }
.intro-body p { color: var(--ink-soft); max-width: 54ch; }
.intro-body p + p { margin-top: 16px; }
.intro-body .lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink); margin-bottom: 20px; }

.founder {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.founder img {
  width: 88px;
  height: 106px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) sepia(0.12);
  border: 1px solid var(--line);
}
.founder figcaption { display: flex; flex-direction: column; gap: 3px; }
.founder .mono { color: var(--amber-ink); font-size: 0.75rem; }
.founder strong { font-family: var(--font-display); font-size: 1.28rem; font-weight: 400; line-height: 1.15; }
.founder-role { font-size: 0.72rem; color: var(--ink-soft); }
.founder-note { font-size: 0.72rem; line-height: 1.5; color: var(--mineral); margin-top: 4px; }

.intro-figure { margin-top: clamp(52px, 7vw, 100px); }
.intro-image-wrap { position: relative; overflow: hidden; background: var(--paper-3); }
.intro-image-wrap img {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.intro-figure:hover .intro-image-wrap img { transform: scale(1.025); }
.intro-figure-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  background: rgba(7, 30, 24, 0.72);
  color: var(--paper);
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.figure-caption {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--mineral);
}
.figure-caption .mono { color: var(--ink-soft); font-size: 0.75rem; }
.caption-credit { color: var(--mineral); }

.intro-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(48px, 6vw, 84px);
  border-top: 1px solid var(--line);
}
.intro-facts li {
  padding: 24px 28px 0 0;
  border-right: 1px solid var(--line);
}
.intro-facts li + li { padding-left: 28px; }
.intro-facts li:last-child { border-right: 0; }
.fact-label { display: block; color: var(--mineral); margin-bottom: 10px; }
.fact-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
}
.fact-note { display: block; font-size: 0.78rem; line-height: 1.5; color: var(--ink-soft); max-width: 32ch; }

/* ---------------------------------------------------------------- ONE HEALTH */
.one-health {
  background: var(--forest);
  color: var(--paper);
  overflow: hidden;
}
.one-health::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 46%, rgba(201, 138, 60, 0.09), transparent 70%),
    radial-gradient(ellipse 40% 30% at 85% 12%, rgba(169, 181, 164, 0.06), transparent 70%);
  pointer-events: none;
}
.one-health .container { position: relative; }
.oh-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: end;
}
.oh-head .display { grid-column: 1 / span 7; }
.oh-head .display em { color: var(--amber-bright); }
.oh-intro { grid-column: 9 / span 4; }
.oh-intro p { color: var(--sage-2); font-size: 0.95rem; line-height: 1.65; max-width: 40ch; }
.oh-hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--sage);
  font-size: 0.75rem;
}
.hint-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulseDot 2.6s ease-in-out infinite;
}

.oh-stage {
  position: relative;
  width: min(100%, 920px);
  margin: clamp(36px, 5vw, 60px) auto 0;
  aspect-ratio: 1000 / 820;
}
.oh-lines { position: absolute; inset: 0; color: var(--paper); }
.oh-lines svg { width: 100%; height: 100%; overflow: visible; }
.oh-orbit {
  transform-origin: 500px 410px;
  animation: orbitSpin 160s linear infinite;
}
.oh-orbit--inner { animation-direction: reverse; animation-duration: 110s; }
.oh-ticks {
  transform-origin: 500px 410px;
  animation: orbitSpin 240s linear infinite;
}
.oh-ticks line { stroke: rgba(242, 236, 223, 0.34); stroke-width: 1; }
.oh-ticks line.is-major { stroke: rgba(242, 236, 223, 0.6); }
.oh-connector {
  transition: stroke 0.5s, stroke-width 0.5s, opacity 0.5s, stroke-dasharray 0.5s;
}
.oh-stage[data-active="human"] .oh-connector[data-line="human"],
.oh-stage[data-active="animal"] .oh-connector[data-line="animal"],
.oh-stage[data-active="environment"] .oh-connector[data-line="environment"] {
  stroke: var(--amber);
  stroke-width: 1.6;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 5px rgba(201, 138, 60, 0.5));
}
.oh-fig {
  position: absolute;
  left: 0;
  bottom: 0;
  color: var(--sage);
  font-size: 0.75rem;
}

.oh-node {
  position: absolute;
  width: 17.5%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.oh-node--human { left: 50%; top: 13.41%; }
.oh-node--animal { left: 76%; top: 68.29%; }
.oh-node--environment { left: 24%; top: 68.29%; }

.oh-node-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: var(--paper);
  transition: opacity 0.5s var(--ease);
}
.oh-node-img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--forest-2);
}
.oh-node-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.72) sepia(0.1) brightness(0.82) contrast(1.05);
  transform: scale(1.02);
  transition: filter 0.7s var(--ease), transform 0.9s var(--ease);
}
.oh-node-ring {
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(242, 236, 223, 0.28);
  border-radius: 50%;
  pointer-events: none;
  transition: border-color 0.5s, box-shadow 0.5s;
}
.oh-node-ring::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(242, 236, 223, 0.16);
  border-radius: 50%;
  animation: orbitSpin 40s linear infinite;
}
.oh-node-label {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.oh-node--human .oh-node-label {
  top: auto;
  bottom: calc(100% + 16px);
}
.oh-node-label .mono { font-size: 0.75rem; color: var(--sage); }

.oh-node-btn:hover .oh-node-img img { filter: grayscale(0.15) sepia(0.05) brightness(0.95); transform: scale(1.06); }
.oh-node-btn:hover .oh-node-ring { border-color: rgba(201, 138, 60, 0.7); }

.oh-node.is-active .oh-node-img img { filter: none; transform: scale(1.03); }
.oh-node.is-active .oh-node-ring {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(201, 138, 60, 0.25), 0 0 42px rgba(201, 138, 60, 0.2);
}
.oh-node.is-active .oh-node-label { color: var(--amber-bright); }
.oh-node.is-dim .oh-node-img { opacity: 0.5; }
.oh-node.is-dim .oh-node-label { color: var(--sage); }

.oh-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 32%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(242, 236, 223, 0.22);
  background: rgba(7, 30, 24, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  z-index: 1;
}
.oh-core::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(242, 236, 223, 0.12);
  border-radius: 50%;
}
.oh-core-kicker { color: var(--amber); font-size: 0.75rem; }
.oh-core-word {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
  line-height: 1;
  margin: 8px 0 10px;
}
.oh-core-copy {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--sage-2);
  max-width: 30ch;
  transition: opacity 0.3s;
}
.oh-core-meta { margin-top: 12px; color: var(--sage); font-size: 0.75rem; }

.oh-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-light);
}
.oh-foot-item { padding-top: 20px; }
.oh-foot-item .mono { color: var(--amber); }
.oh-foot-item p { margin-top: 8px; font-size: 0.85rem; color: var(--sage-2); max-width: 34ch; }
.oh-foot-item strong { color: var(--paper); font-weight: 600; }

/* ---------------------------------------------------------------- RESEARCH */
.research { background: var(--paper); }
.research-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.research-head .display { grid-column: 1 / span 8; }
.research-lede { grid-column: 9 / span 4; color: var(--ink-soft); font-size: 0.95rem; max-width: 38ch; }

.research-list {
  position: relative;
  border-top: 1px solid var(--line-strong);
}
.research-item { border-bottom: 1px solid var(--line); }
.research-trigger {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto 34px;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  width: 100%;
  padding: clamp(18px, 2.4vw, 28px) 0;
  text-align: left;
  color: var(--ink);
}
.research-num { color: var(--amber-ink); font-size: 0.75rem; }
.research-name {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.9vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.015em;
  transition: transform 0.5s var(--ease), color 0.3s;
}
.research-trigger:hover .research-name { transform: translateX(8px); color: var(--amber-ink); }
.research-tag { color: var(--mineral); font-size: 0.75rem; text-align: right; }
.research-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.5s var(--ease), background-color 0.4s, border-color 0.4s, color 0.4s;
}
.research-icon svg { width: 15px; height: 15px; }
.research-item.is-open .research-icon {
  transform: rotate(45deg);
  background: var(--amber);
  border-color: var(--amber);
  color: var(--forest-3);
}

.research-panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.55s var(--ease);
}
.js .research-panel {
  grid-template-rows: 0fr;
}
.js .research-item.is-open .research-panel { grid-template-rows: 1fr; }
.research-panel-inner {
  overflow: hidden;
  min-height: 0;
}
.js .research-panel-inner { visibility: hidden; transition: visibility 0.55s; }
.js .research-item.is-open .research-panel-inner { visibility: visible; }
.research-panel-inner > p {
  max-width: 64ch;
  margin-left: calc(54px + clamp(14px, 2vw, 30px));
  padding-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: calc(54px + clamp(14px, 2vw, 30px));
  padding-bottom: 26px;
  margin-top: 14px;
}
.tag-list li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
}

.research-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 220px;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.94);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  border: 1px solid rgba(242, 236, 223, 0.5);
  box-shadow: 0 20px 60px rgba(7, 30, 24, 0.22);
  overflow: hidden;
  background: var(--forest-2);
  will-change: transform;
}
.research-preview.is-visible { opacity: 1; }
.research-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.35s var(--ease), transform 0.8s var(--ease);
}
.research-preview img.is-active { opacity: 1; transform: scale(1); }

.research-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
}
.research-foot p { color: var(--mineral); font-size: 0.75rem; max-width: 52ch; }

/* ---------------------------------------------------------------- NUMBERS */
.numbers {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
  padding-block: clamp(46px, 6vw, 72px);
}
.numbers-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--mineral);
}
.numbers-head .mono:first-child { color: var(--amber-ink); }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.numbers-grid li {
  padding: 26px 26px 0 0;
  border-right: 1px solid var(--line);
}
.numbers-grid li + li { padding-left: 26px; }
.numbers-grid li:last-child { border-right: 0; padding-right: 0; }
.number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.6vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.number-label {
  display: block;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}
.number-note {
  display: block;
  margin-top: 8px;
  color: var(--mineral);
  font-size: 0.75rem;
  line-height: 1.55;
  max-width: 30ch;
}

/* ---------------------------------------------------------------- FIELDWORK */
.fieldwork {
  background: var(--forest-2);
  color: var(--paper);
  overflow: clip;
}
.fieldwork .section-head { border-bottom-color: var(--line-light); }
.fieldwork .section-index .mono:first-child { color: var(--amber); }
.fieldwork .section-note { color: var(--sage); }

.field-layout {
  display: grid;
  grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: stretch;
}
.field-visual { align-self: stretch; }
.field-sticky { position: sticky; top: 104px; }
.field-sticky .display { color: var(--paper); }
.field-sticky .display em { color: var(--amber-bright); }
.field-intro { margin-top: 18px; max-width: 36ch; color: var(--sage-2); font-size: 0.92rem; }

.field-figure {
  position: relative;
  margin-top: 32px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--forest-3);
  border: 1px solid var(--line-light);
}
.field-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.field-img.is-active { opacity: 1; }
.field-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease);
  filter: saturate(0.9) contrast(1.03);
}
.field-img.is-active img { transform: scale(1); }
.field-counter {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  background: rgba(7, 30, 24, 0.72);
  color: var(--paper);
  font-size: 0.75rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.field-counter .dim { color: var(--sage); }
.field-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(242, 236, 223, 0.16);
}
.field-progress span {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--amber);
  transition: width 0.6s var(--ease);
}
.field-caption { margin-top: 10px; color: var(--sage); font-size: 0.75rem; }

.field-records { border-top: 1px solid var(--line-light); }
.field-record-figure { display: none; }
.field-record {
  min-height: 64vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line-light);
  opacity: 0.86;
  transition: opacity 0.6s var(--ease);
}
.field-record.is-active { opacity: 1; }
.field-record-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--sage);
  margin-bottom: 16px;
}
.field-record-index { color: var(--amber-bright); }
.field-record h3 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 16ch;
}
.field-record-place { margin-top: 12px; color: var(--amber-bright); font-size: 0.75rem; }
.field-record > p:not(.field-record-place) {
  margin-top: 18px;
  max-width: 52ch;
  color: var(--sage-2);
  font-size: 0.92rem;
}
.field-record-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}
.field-record-meta dt { color: var(--sage); margin-bottom: 4px; font-size: 0.75rem; }
.field-record-meta dd { font-size: 0.76rem; color: var(--paper); }

/* ---------------------------------------------------------------- PROGRAMMES */
.programmes { background: var(--paper); }
.programmes-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.programmes-head .display { grid-column: 1 / span 8; }
.programmes-head p { grid-column: 9 / span 4; color: var(--ink-soft); font-size: 0.95rem; max-width: 38ch; }

.programme {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(40px, 5.5vw, 76px);
  border-top: 1px solid var(--line);
  align-items: center;
}
.programme--a { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.programme--b { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.programme--c {
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  background: var(--forest);
  color: var(--paper);
  border-top: 0;
  margin-top: clamp(30px, 4vw, 48px);
  padding: clamp(32px, 4.5vw, 64px);
  align-items: start;
}
.programme-index { display: block; color: var(--amber-ink); margin-bottom: 16px; }
.programme--c .programme-index { color: var(--amber); }
.programme-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.018em;
  max-width: 20ch;
}
.programme-lede { margin-top: 18px; font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 52ch; }
.programme--c .programme-lede { color: var(--sage-2); }
.programme-copy > p:not(.programme-lede):not(.programme-source) {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 58ch;
}
.programme-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.programme-meta dt { color: var(--mineral); margin-bottom: 4px; font-size: 0.75rem; }
.programme-meta dd { font-size: 0.78rem; font-weight: 600; }

.programme-figure { margin: 0; }
.programme-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
  filter: saturate(0.9);
}
.programme-figure { overflow: hidden; }
.programme-figure:hover img { transform: scale(1.03); }
.programme-figure figcaption { margin-top: 9px; color: var(--mineral); font-size: 0.75rem; }

.surveillance-list { margin-top: 24px; border-top: 1px solid var(--line-light); }
.surveillance-list li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
}
.surveillance-list li > span:nth-child(2) {
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.surveillance-list .mono { color: var(--sage); font-size: 0.75rem; }
.surveillance-status { display: inline-flex; align-items: center; gap: 6px; color: var(--paper); }
.surveillance-status i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(201, 138, 60, 0.16);
}
.programme-source { margin-top: 16px; color: var(--sage); font-size: 0.75rem; max-width: 44ch; }

.programme-aside { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.aside-seal { width: min(220px, 70%); color: var(--paper); }
.aside-seal svg { width: 100%; height: auto; animation: orbitSpin 90s linear infinite; }
.seal-text {
  font-family: var(--font-mono);
  font-size: 7.4px;
  letter-spacing: 0.16em;
  fill: currentColor;
  text-transform: uppercase;
}
.programme-aside p { color: var(--sage); font-size: 0.75rem; text-align: center; line-height: 1.8; }

/* ---------------------------------------------------------------- PUBLICATIONS */
.publications { background: var(--paper-2); padding-bottom: calc(var(--section-y) * 0.72); }
.pub-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.pub-head .display { grid-column: 1 / span 7; }
.pub-head p { grid-column: 9 / span 4; color: var(--ink-soft); font-size: 0.95rem; max-width: 38ch; }

.pub-feature {
  display: grid;
  grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: center;
  padding-block: clamp(28px, 3.5vw, 44px);
  border-block: 1px solid var(--line);
}
.pub-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 380px;
  background: var(--forest);
  color: var(--paper);
  padding: clamp(18px, 2.2vw, 26px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(7, 30, 24, 0.16);
}
.pub-cover::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(242, 236, 223, 0.18);
  pointer-events: none;
}
.pub-cover::after {
  content: "";
  position: absolute;
  right: -30%;
  top: 22%;
  width: 96%;
  aspect-ratio: 1;
  border: 1px solid rgba(201, 138, 60, 0.3);
  border-radius: 50%;
}
.cover-top, .cover-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cover-top .mono, .cover-bottom .mono { font-size: 0.75rem; letter-spacing: 0.12em; }
.cover-top .mono:last-child { color: var(--sage); }
.cover-bottom .mono:last-child { color: var(--sage); }
.cover-mid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.cover-mark {
  font-family: var(--font-display);
  font-size: clamp(6rem, 12vw, 10rem);
  line-height: 0.72;
  color: var(--amber-bright);
  font-style: italic;
}
.cover-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  color: var(--sage);
}
.pub-feature-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1;
  margin-top: 12px;
}
.pub-feature-copy p { margin-top: 16px; max-width: 56ch; color: var(--ink-soft); font-size: 0.94rem; }
.pub-kicker { color: var(--amber-ink); }
.pub-feature-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.pub-format { color: var(--mineral); font-size: 0.75rem; }

.pub-library { margin-top: clamp(40px, 5vw, 64px); }
.pub-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line-strong);
}
.pub-tabs { display: flex; flex-wrap: wrap; gap: 2px; }
.pub-tab {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 13px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mineral);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.3s, border-color 0.3s;
}
.pub-tab .mono { font-size: 0.75rem; color: var(--mineral); }
.pub-tab:hover { color: var(--ink); }
.pub-tab.is-active { color: var(--ink); border-bottom-color: var(--amber); }
.pub-tab.is-active .mono { color: var(--amber-ink); }
.pub-count { color: var(--mineral); padding-bottom: 14px; font-size: 0.75rem; white-space: nowrap; }

.pub-list { border-bottom: 1px solid var(--line); }
.pub-row {
  display: grid;
  grid-template-columns: 64px 132px minmax(0, 1fr) 190px 36px;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  padding: 18px 8px 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s, padding-left 0.4s var(--ease);
  animation: rowIn 0.45s var(--ease) both;
}
.pub-row:last-child { border-bottom: 0; }
.pub-row:hover { background: rgba(21, 26, 22, 0.035); padding-left: 10px; }
.pub-year { color: var(--amber-ink); font-size: 0.75rem; }
.pub-type { color: var(--mineral); font-size: 0.75rem; }
.pub-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.55vw, 1.4rem);
  line-height: 1.2;
}
.pub-meta { color: var(--mineral); font-size: 0.75rem; }
.pub-action {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.pub-action svg { width: 15px; height: 15px; }
.pub-action:hover { background: var(--amber); border-color: var(--amber); color: var(--forest-3); transform: rotate(45deg); }
.pub-note { margin-top: 16px; color: var(--mineral); font-size: 0.75rem; max-width: 72ch; }

/* ---------------------------------------------------------------- NEWS */
.news { background: var(--paper); padding-top: calc(var(--section-y) * 0.78); padding-bottom: calc(var(--section-y) * 0.62); }
.news-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.news-head .display { grid-column: 1 / span 7; }
.news-head p { grid-column: 9 / span 4; color: var(--ink-soft); font-size: 0.95rem; max-width: 38ch; }

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}
.news-feature-link { display: block; }
.news-feature-figure { position: relative; overflow: hidden; background: var(--paper-3); }
.news-feature-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.news-feature-link:hover .news-feature-figure img { transform: scale(1.035); }
.news-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  background: var(--paper);
  color: var(--forest-3);
  font-size: 0.75rem;
}
.news-feature-body { padding-top: 20px; }
.news-date { color: var(--amber-ink); font-size: 0.75rem; }
.news-feature-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.03;
  margin-top: 10px;
  max-width: 22ch;
}
.news-feature-body p { margin-top: 12px; color: var(--ink-soft); font-size: 0.9rem; max-width: 56ch; }
.news-feature-body .text-link { margin-top: 18px; }

.news-list { border-top: 1px solid var(--line-strong); }
.news-item { border-bottom: 1px solid var(--line); }
.news-item a {
  display: grid;
  grid-template-columns: 84px 92px minmax(0, 1fr) 24px;
  align-items: start;
  gap: 14px;
  padding: 18px 0;
  transition: padding-left 0.4s var(--ease), background-color 0.3s;
}
.news-item a:hover { padding-left: 8px; background: rgba(21, 26, 22, 0.03); }
.news-item-date { color: var(--mineral); font-size: 0.75rem; }
.news-item-cat { color: var(--amber-ink); font-size: 0.75rem; }
.news-item h3 {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.6vw, 1.4rem);
  line-height: 1.16;
}
.news-item-arrow { color: var(--mineral); transition: transform 0.4s var(--ease), color 0.3s; }
.news-item-arrow svg { width: 16px; height: 16px; }
.news-item a:hover .news-item-arrow { transform: translate(3px, -3px); color: var(--amber-ink); }
.news-archive-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--mineral);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  max-width: 42ch;
}
.news-archive-note .text-link { display: inline-flex; margin-top: 10px; font-size: 0.72rem; letter-spacing: 0.02em; color: var(--forest-3); }

/* ---------------------------------------------------------------- COLLABORATION */
.collaborate { background: var(--paper); padding-top: calc(var(--section-y) * 0.68); padding-bottom: calc(var(--section-y) * 0.75); }
.collab-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: end;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.collab-head .display { grid-column: 1 / span 7; }
.collab-head p { grid-column: 9 / span 4; color: var(--ink-soft); font-size: 0.95rem; max-width: 40ch; }

.partner-marquee {
  border-block: 1px solid var(--line);
  padding-block: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee-track--reverse { animation-direction: reverse; animation-duration: 56s; }
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-track i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}
.partner-marquee:hover .marquee-track { animation-play-state: paused; }

.collab-grid {
  display: grid;
  grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.8fr);
  gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(40px, 5vw, 64px);
  align-items: start;
}
.partner-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.partner-group:first-child { border-top: 1px solid var(--line); }
.partner-group h3 { color: var(--amber-ink); margin-bottom: 8px; font-size: 0.75rem; }
.partner-group p { font-size: 0.86rem; color: var(--ink-soft); max-width: 60ch; line-height: 1.7; }

.collab-invite {
  background: var(--forest);
  color: var(--paper);
  padding: clamp(26px, 3.4vw, 44px);
}
.collab-invite > .mono { color: var(--amber); }
.collab-invite h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
  line-height: 1;
  margin: 14px 0 24px;
}
.accordion { border-top: 1px solid var(--line-light); }
.accordion-item { border-bottom: 1px solid var(--line-light); }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 0;
  color: var(--paper);
  text-align: left;
  font-size: 0.88rem;
  font-weight: 500;
}
.accordion-icon {
  position: relative;
  width: 16px; height: 16px;
  flex: none;
}
.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: var(--amber);
  transition: transform 0.4s var(--ease);
}
.accordion-icon::after { transform: rotate(90deg); }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: rotate(0deg); }
.accordion-panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.js .accordion-panel { grid-template-rows: 0fr; }
.js .accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel > div { overflow: hidden; min-height: 0; }
.accordion-panel p {
  padding-bottom: 18px;
  color: var(--sage-2);
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 46ch;
}
.collab-invite .btn { margin-top: 24px; }

/* ---------------------------------------------------------------- CLOSING */
.closing {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest-3);
  color: var(--paper);
  padding-block: clamp(90px, 12vw, 160px);
}
.closing-bg { position: absolute; inset: 0; }
.closing-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  opacity: 0.32;
  filter: grayscale(0.35) contrast(1.05) saturate(0.8);
}
.closing-grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 30, 24, 0.96) 0%, rgba(7, 30, 24, 0.78) 44%, rgba(7, 30, 24, 0.3) 100%),
    linear-gradient(to top, rgba(7, 30, 24, 0.92), transparent 45%);
}
.closing-contours {
  position: absolute;
  inset: 0;
  color: var(--sage);
  opacity: 0.12;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.closing-contours svg { width: 100%; height: 100%; }

.closing-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.closing-kicker { color: var(--amber); }
.closing-copy .display {
  font-size: clamp(2.8rem, 6.2vw, 6.4rem);
  line-height: 0.96;
  margin-top: 18px;
}
.closing-copy .display em { color: var(--amber-bright); }
.closing-copy p { margin-top: 22px; color: var(--sage-2); max-width: 46ch; font-size: 0.95rem; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.closing-seal {
  position: relative;
  justify-self: end;
  width: clamp(170px, 18vw, 250px);
  aspect-ratio: 1;
  color: var(--paper);
  display: grid;
  place-items: center;
  transition: color 0.4s;
}
.closing-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: orbitSpin 70s linear infinite; }
.closing-seal:hover { color: var(--amber-bright); }
.seal-label {
  position: relative;
  z-index: 1;
  width: 58%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: rgba(7, 30, 24, 0.72);
  border: 1px solid var(--line-light);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  line-height: 1.6;
  transition: background-color 0.4s, border-color 0.4s;
}
.closing-seal:hover .seal-label { background: var(--amber); color: var(--forest-3); border-color: var(--amber); }

/* ---------------------------------------------------------------- FOOTER */
.site-footer {
  background: var(--forest-3);
  color: var(--paper);
  padding-top: clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr);
  gap: clamp(36px, 5vw, 80px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.brand--footer { color: var(--paper); }
.brand--footer .brand-mark { width: 38px; height: 38px; }
.footer-desc {
  margin-top: 20px;
  max-width: 38ch;
  color: var(--sage);
  font-size: 0.86rem;
  line-height: 1.7;
}
.footer-address {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--sage-2);
}
.footer-address .mono { color: var(--sage); margin-top: 8px; font-size: 0.75rem; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
  font-size: 0.82rem;
}
.footer-contact a { color: var(--paper); text-decoration: underline; text-decoration-color: rgba(242,236,223,.3); text-underline-offset: 3px; transition: text-decoration-color 0.3s; }
.footer-contact a:hover { text-decoration-color: var(--amber); }
.footer-contact .mono { color: var(--sage); font-size: 0.75rem; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
}
.footer-col h2 { color: var(--amber); font-size: 0.75rem; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  font-size: 0.8rem;
  color: var(--sage);
  transition: color 0.3s, padding-left 0.3s;
}
.footer-col a:hover { color: var(--paper); padding-left: 4px; }

.footer-identifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-block: 18px;
  border-block: 1px solid var(--line-light);
  color: var(--sage);
}
.footer-identifiers .mono { font-size: 0.75rem; }

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 17vw, 15.5rem);
  line-height: 0.74;
  letter-spacing: -0.03em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 236, 223, 0.16);
  margin-top: clamp(34px, 5vw, 64px);
  margin-bottom: 0;
  user-select: none;
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid var(--line-light);
  color: var(--sage);
}
.footer-bottom .mono { font-size: 0.75rem; line-height: 1.7; }
.footer-note { max-width: 60ch; }
.footer-note a { text-decoration: underline; text-underline-offset: 3px; }
.footer-note a:hover { color: var(--paper); }
.back-to-top { white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; transition: color 0.3s; }
.back-to-top:hover { color: var(--paper); }

/* ---------------------------------------------------------------- NOTICES */
.placeholder-notice {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  transform: translate(-50%, 20px);
  padding: 12px 18px;
  max-width: calc(100vw - 36px);
  background: var(--forest-3);
  color: var(--paper);
  border-left: 2px solid var(--amber);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
  box-shadow: 0 18px 40px rgba(7, 30, 24, 0.28);
}
.placeholder-notice.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- MOTION */
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes imageReveal { to { clip-path: inset(0 0 0 0); } }
@keyframes imageSettle { to { transform: scale(1); } }
@keyframes scan {
  0% { top: 12%; opacity: 0; }
  12% { opacity: 0.7; }
  88% { opacity: 0.7; }
  100% { top: 88%; opacity: 0; }
}
@keyframes cue {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rowIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.is-inview { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- RESPONSIVE */
@media (max-width: 1240px) {
  .nav-list { gap: 18px; }
  .nav-link { font-size: 0.76rem; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr); }
}

@media (max-width: 1100px) {
  .hero-meta { flex-direction: column; gap: 16px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .header-cta { display: inline-flex; }
  .nav-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { height: 76px; }
  .hero { padding-top: 108px; }
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
  .intro-statement { grid-column: 1 / span 6; }
  .intro-body { grid-column: 7 / span 6; }
  .oh-head .display { grid-column: 1 / span 8; }
  .oh-intro { grid-column: 9 / span 4; }
  .research-head .display, .programmes-head .display, .pub-head .display, .news-head .display, .collab-head .display { grid-column: 1 / span 7; }
  .research-lede, .programmes-head p, .pub-head p, .news-head p, .collab-head p { grid-column: 8 / span 5; }
  .field-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .programme--a { grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr); }
  .programme--b { grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); }
  .news-item a { grid-template-columns: 74px 80px minmax(0, 1fr) 20px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { padding-bottom: 0; }
  .hero-figure { order: 2; }
  .hero-image-wrap { height: clamp(420px, 56vh, 620px); }
  .hero-title { font-size: clamp(3.2rem, 10vw, 5.4rem); }
  .hero-lede { max-width: 52ch; }
  .hero-meta { gap: 30px; }
  .hero-foot { margin-top: 28px; }

  .intro-statement, .intro-body { grid-column: 1 / -1; }
  .intro-body { margin-top: 26px; }
  .founder { max-width: 460px; }
  .intro-facts { grid-template-columns: 1fr; }
  .intro-facts li { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .intro-facts li + li { padding-left: 0; }
  .intro-facts li:last-child { border-bottom: 0; }

  .oh-head { display: block; }
  .oh-intro { margin-top: 22px; }
  .oh-intro p { max-width: 56ch; }
  .oh-stage {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 36px;
    border-top: 1px solid var(--line-light);
  }
  .oh-lines { display: none; }
  .oh-fig { display: none; }
  .oh-core {
    position: relative;
    left: auto; top: auto;
    transform: none;
    order: -1;
    width: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--line-light);
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    align-items: flex-start;
    text-align: left;
    padding: 24px 0;
  }
  .oh-core::before { display: none; }
  .oh-core-word { font-size: 2.2rem; }
  .oh-core-copy { font-size: 0.82rem; max-width: 56ch; }
  .oh-node {
    position: relative;
    left: auto; top: auto;
    transform: none;
    width: 100%;
    aspect-ratio: auto;
    border-bottom: 1px solid var(--line-light);
  }
  .oh-node-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
    height: auto;
    padding: 14px 0;
  }
  .oh-node-img { width: 64px; height: 64px; flex: none; }
  .oh-node-ring {
    inset: auto;
    left: -5px;
    top: 50%;
    width: 74px;
    height: 74px;
    margin-top: -37px;
  }
  .oh-node-ring::after { display: none; }
  .oh-node-label,
  .oh-node--human .oh-node-label {
    position: static;
    transform: none;
    white-space: normal;
    font-size: 0.95rem;
  }
  .oh-node.is-dim { opacity: 1; }
  .oh-node.is-active .oh-node-label { color: var(--amber-bright); }
  .oh-foot { grid-template-columns: 1fr; gap: 0; }
  .oh-foot-item { padding: 16px 0; border-bottom: 1px solid var(--line-light); }

  .research-head, .programmes-head, .pub-head, .news-head, .collab-head { display: block; }
  .research-lede, .programmes-head p, .pub-head p, .news-head p, .collab-head p { margin-top: 18px; }
  .research-trigger { grid-template-columns: 34px minmax(0, 1fr) 30px; }
  .research-tag { display: none; }
  .research-panel-inner > p, .tag-list { margin-left: 0; }
  .research-preview { display: none; }

  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .numbers-grid li { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
  .numbers-grid li:nth-child(2) { border-right: 0; }
  .numbers-grid li:nth-child(3), .numbers-grid li:nth-child(4) { border-bottom: 0; }
  .numbers-grid li:nth-child(3) { padding-left: 0; }

  .field-layout { display: block; }
  .field-visual { display: none; }
  .field-records { border-top: 0; }
  .field-record { min-height: auto; padding: 44px 0; opacity: 1; }
  .field-record.is-active { opacity: 1; }
  .field-record-figure {
    display: block;
    margin: 0 0 26px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--line-light);
    background: var(--forest-3);
  }
  .field-record-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.03);
  }
  .field-record h3 { max-width: 20ch; }

  .programme, .programme--a, .programme--b, .programme--c { grid-template-columns: 1fr; }
  .programme--b .programme-figure { order: 2; }
  .programme--c { padding: 28px; }
  .programme-aside { flex-direction: row; align-items: center; justify-content: flex-start; gap: 24px; margin-top: 24px; }
  .aside-seal { width: 120px; }
  .programme-aside p { text-align: left; }

  .pub-feature { grid-template-columns: 1fr; }
  .pub-cover { max-width: 300px; }
  .pub-row { grid-template-columns: 54px 1fr 34px; gap: 14px; }
  .pub-type, .pub-meta { display: none; }
  .pub-title { font-size: 1.15rem; }

  .news-layout { grid-template-columns: 1fr; }
  .news-list { margin-top: 36px; }

  .collab-grid { grid-template-columns: 1fr; }
  .closing-inner { grid-template-columns: 1fr; }
  .closing-seal { justify-self: start; margin-top: 20px; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; --header-h: 68px; }
  .header-inner { height: 68px; }
  .header-cta { display: none; }
  .brand-sub { display: none; }
  .brand-name { font-size: 0.95rem; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { padding-top: 96px; }
  .hero-eyebrow { flex-wrap: wrap; gap: 8px 12px; }
  .hero-title { font-size: clamp(2.85rem, 12.2vw, 4rem); line-height: 0.92; }
  .hero-lede { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .hero-meta { flex-direction: column; gap: 14px; }
  .hero-image-wrap { height: 64vw; min-height: 300px; }
  .hero-tag .mono:last-child { font-size: 0.75rem; letter-spacing: 0.1em; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-domains { gap: 16px; flex-wrap: wrap; }

  .section-head { flex-wrap: wrap; gap: 10px 16px; }
  .section-rule { display: none; }
  .section-note { margin-left: auto; }

  .intro-figure-label { left: 10px; bottom: 10px; }
  .figure-caption { grid-template-columns: 1fr; gap: 6px; }
  .caption-credit { display: none; }
  .founder { grid-template-columns: 70px 1fr; }
  .founder img { width: 70px; height: 84px; }

  .research-trigger { grid-template-columns: 28px minmax(0, 1fr) 30px; gap: 12px; padding: 18px 0; }
  .research-name { font-size: 1.5rem; }
  .research-icon { width: 28px; height: 28px; }
  .research-foot { flex-direction: column; align-items: flex-start; }

  .numbers-head { flex-direction: column; gap: 6px; }
  .numbers-grid { grid-template-columns: 1fr; }
  .numbers-grid li, .numbers-grid li + li, .numbers-grid li:nth-child(3) {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .numbers-grid li:last-child { border-bottom: 0; }

  .field-record-meta { grid-template-columns: 1fr; gap: 12px; }
  .field-record h3 { font-size: 1.8rem; }

  .programme-meta { grid-template-columns: 1fr; gap: 12px; }
  .programme-copy h3 { font-size: 1.9rem; }

  .pub-toolbar { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pub-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 0; }
  .pub-tab { justify-content: space-between; padding: 12px 10px; white-space: nowrap; border-bottom: 1px solid var(--line); }
  .pub-tab.is-active { border-bottom-color: var(--amber); }
  .pub-count { padding-bottom: 10px; }
  .pub-row { grid-template-columns: 46px 1fr 32px; }
  .pub-title { font-size: 1.02rem; }

  .news-item a { grid-template-columns: 1fr 20px; gap: 6px 10px; }
  .news-item-date { grid-column: 1; }
  .news-item-cat { grid-column: 1; grid-row: 2; }
  .news-item h3 { grid-column: 1; grid-row: 3; }
  .news-item-arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; }

  .partner-marquee { display: none; }
  .collab-grid { margin-top: 32px; }
  .collab-invite { padding: 24px 18px; }

  .closing { min-height: 0; }
  .closing-copy .display { font-size: clamp(2.5rem, 10.4vw, 3.4rem); }
  .closing-actions { flex-direction: column; align-items: stretch; }
  .closing-actions .btn { justify-content: space-between; }
  .closing-seal { width: 150px; }

  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .footer-identifiers { gap: 8px 18px; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 2.65rem; }
  .oh-core-word { font-size: 1.9rem; }
  .footer-nav { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- A11Y / PRINT */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .hero-lede, .hero-actions, .hero-meta { opacity: 1; }
  .hero-image-wrap { clip-path: inset(0); }
  .hero-image { transform: none; }
  .field-record { opacity: 1; }
  .oh-orbit, .oh-node-btn .oh-node-ring::after, .aside-seal svg, .closing-seal svg { animation: none; }
  .marquee-track { animation: none; }
}

@media (prefers-contrast: more) {
  :root { --ink-soft: #232a24; --mineral: #4c574d; --line: rgba(21,26,22,.3); }
}

@media print {
  .site-header, .mobile-menu, .hero-contours, .closing-bg, .closing-contours, .research-preview, .partner-marquee { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 24px; }
  a { text-decoration: underline; }
}

/* ==========================================================================
   INNER PAGES — shared editorial system
   ========================================================================== */

.page-main { padding-top: var(--header-h); }

/* section rail */
.page-rail {
  position: relative;
  z-index: 4;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-rail-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-rail-inner::-webkit-scrollbar { display: none; }
.page-rail-label { color: var(--mineral); white-space: nowrap; flex: none; }
.page-rail ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  margin-left: auto;
}
.page-rail a {
  display: inline-block;
  padding: 3px 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}
.page-rail a:hover { color: var(--forest); border-bottom-color: var(--line-strong); }
.page-rail a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--amber); }

/* page hero */
.page-hero {
  position: relative;
  overflow: clip;
  padding: clamp(46px, 6.5vw, 92px) 0 clamp(36px, 5vw, 66px);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--grid-gap);
  align-items: end;
}
.page-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--amber-ink);
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
.page-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 1.5rem + 4.6vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  max-width: 15ch;
}
.page-hero h1 em { font-style: italic; }
.page-hero-side { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.page-hero-side > p { color: var(--ink-soft); font-size: clamp(0.98rem, 0.94rem + 0.18vw, 1.12rem); max-width: 42ch; }
.page-hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
  margin-top: 26px;
}
.page-hero-meta dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mineral);
  margin-bottom: 5px;
}
.page-hero-meta dd { font-size: 0.92rem; line-height: 1.45; }

/* hero image band variant */
.page-hero--figure { padding-bottom: 0; }
.page-hero-figure { margin-top: clamp(30px, 4vw, 52px); position: relative; }
.page-hero-figure img { width: 100%; height: clamp(240px, 34vw, 440px); object-fit: cover; }
.page-hero-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  color: var(--mineral);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* editorial split */
.page-section { padding: clamp(46px, 6vw, 88px) 0; border-top: 1px solid var(--line); }
.page-section--tint { background: var(--paper-2); border-top-color: transparent; }
.page-section--dark { background: var(--forest-2); color: var(--paper); border-top-color: transparent; }
.page-section--dark .section-rule { background: var(--line-light); }
.page-section--dark .section-index .mono:first-child { color: var(--amber); }
.page-section--dark .section-note { color: var(--sage); }
.page-section > .container > .section-head { margin-bottom: clamp(26px, 3.6vw, 44px); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--grid-gap);
  align-items: start;
}
.split h2, .page-block-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.6rem);
  line-height: 0.99;
  letter-spacing: -0.015em;
  max-width: 16ch;
}
.split h2 em, .page-block-title em { font-style: italic; }
.prose { max-width: 64ch; }
.prose p { color: var(--ink-soft); }
.prose p + p { margin-top: 14px; }
.prose h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.95rem);
  line-height: 1.05;
  margin: 30px 0 10px;
}
.prose ul { margin-top: 12px; display: grid; gap: 9px; }
.prose li { position: relative; padding-left: 18px; color: var(--ink-soft); }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 1px; background: var(--amber-ink); }
.prose a:not(.btn) { color: var(--forest); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.prose a:not(.btn):hover { color: var(--amber-ink); }
.page-section--dark .prose p, .page-section--dark .prose li { color: var(--sage-2); }
.page-section--dark .prose a:not(.btn) { color: var(--paper); }

/* key-fact strip */
.key-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  margin-top: clamp(30px, 4vw, 48px);
}
.key-facts li { padding: 20px 24px 0 0; border-right: 1px solid var(--line); }
.key-facts li + li { padding-left: 24px; }
.key-facts li:last-child { border-right: 0; }
.key-facts .k-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mineral);
  margin-bottom: 8px;
}
.key-facts .k-value { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1; }
.key-facts .k-note { display: block; margin-top: 6px; color: var(--mineral); font-size: 0.8rem; }

/* numbered record rows */
.record-list { border-top: 1px solid var(--line-strong); }
.record-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) minmax(160px, 0.52fr);
  gap: clamp(16px, 2.4vw, 34px);
  padding: clamp(20px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.record-row .r-index { color: var(--amber-ink); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; padding-top: 6px; }
.record-row h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); line-height: 1.04; }
.record-row h3 + p { margin-top: 8px; color: var(--ink-soft); max-width: 58ch; font-size: 0.95rem; }
.record-row .r-meta { font-family: var(--font-mono); font-size: 0.75rem; line-height: 1.7; color: var(--mineral); }
.record-row .r-meta strong { display: block; color: var(--ink-soft); font-weight: 500; letter-spacing: 0.02em; }
.record-row .r-meta span + span { display: block; margin-top: 8px; }
.record-tag {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-ink);
}

/* timeline */
.timeline { border-top: 1px solid var(--line-strong); }
.timeline-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(20px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}
.timeline-year { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--amber-ink); padding-top: 5px; }
.timeline-item h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 1.2rem + 1vw, 2.1rem); line-height: 1.02; }
.timeline-item p { margin-top: 8px; color: var(--ink-soft); max-width: 62ch; font-size: 0.95rem; }
.timeline-item .timeline-meta { margin-top: 10px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--mineral); }

/* event rows */
.event-list { border-top: 1px solid var(--line-strong); }
.event-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: clamp(16px, 2.6vw, 38px);
  align-items: start;
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--line);
}
.event-date { font-family: var(--font-mono); font-size: 0.75rem; line-height: 1.6; letter-spacing: 0.06em; color: var(--amber-ink); }
.event-date strong { display: block; font-size: 1.5rem; font-weight: 400; line-height: 1; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 4px; }
.event-row h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.8rem); line-height: 1.06; }
.event-row p { margin-top: 6px; color: var(--ink-soft); font-size: 0.95rem; max-width: 60ch; }
.event-row .event-type { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mineral); white-space: nowrap; padding-top: 5px; }
.event-empty {
  border: 1px solid var(--line-strong);
  padding: clamp(24px, 3.4vw, 40px);
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.event-empty p { color: var(--ink-soft); max-width: 52ch; }

/* gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
}
.gallery-item { position: relative; overflow: hidden; background: var(--paper-3); margin: 0; }
.gallery-item--4 { grid-column: span 4; }
.gallery-item--6 { grid-column: span 6; }
.gallery-item--8 { grid-column: span 8; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.9s var(--ease), filter 0.6s; }
.gallery-item--8 img { aspect-ratio: 16 / 10; }
.gallery-item button {
  display: block;
  width: 100%;
  text-align: left;
  cursor: zoom-in;
}
.gallery-item button:focus-visible { outline-offset: 4px; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--mineral);
}
.gallery-item figcaption span:last-child { text-align: right; white-space: nowrap; }

/* lightbox */
.lightbox {
  width: fit-content;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  background: var(--forest-3);
  color: var(--paper);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(7, 24, 19, 0.88); }
.lightbox-inner { position: relative; display: grid; grid-template-columns: auto 280px; }
.lightbox img { width: auto; max-width: calc(100vw - 352px); height: min(78vh, 720px); object-fit: contain; background: var(--forest-3); }
.lightbox-copy { padding: 26px 24px; border-left: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 12px; }
.lightbox-copy h2 { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.05; }
.lightbox-copy p { color: var(--sage-2); font-size: 0.9rem; }
.lightbox-copy .mono { color: var(--sage); }
.lightbox-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(7, 30, 24, 0.72);
  color: var(--paper);
  z-index: 2;
}
.lightbox-close svg { width: 18px; height: 18px; }

/* partners */
.partner-group {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(22px, 2.8vw, 32px) 0;
  border-top: 1px solid var(--line);
}
.partner-group h3 { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mineral); padding-top: 4px; }
.partner-list { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.partner-list li { position: relative; padding-left: 16px; font-size: 0.98rem; line-height: 1.5; }
.partner-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 1px; background: var(--amber); }
.partner-list li span { display: block; font-family: var(--font-mono); font-size: 0.75rem; color: var(--mineral); margin-top: 2px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-details { display: grid; gap: 26px; }
.contact-details h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.02; }
.contact-details address { font-style: normal; line-height: 1.7; color: var(--ink-soft); }
.contact-details address strong { display: block; color: var(--ink); font-weight: 500; }
.contact-lines { display: grid; gap: 8px; }
.contact-lines a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.contact-lines a:hover { text-decoration-color: var(--amber); }
.contact-form {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  padding: clamp(22px, 3vw, 38px);
}
.contact-form h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.2rem); line-height: 1.02; margin-bottom: 6px; }
.contact-form > p { color: var(--mineral); font-size: 0.9rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-field label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.form-field label .req { color: var(--amber-ink); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 11px 12px;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: var(--ink-soft); }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.form-note { margin-top: 12px; color: var(--mineral); font-size: 0.8rem; line-height: 1.6; }
.contact-form .btn { margin-top: 6px; }

/* map plate */
.map-plate {
  position: relative;
  margin-top: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  overflow: hidden;
}
.map-plate svg { display: block; width: 100%; height: clamp(240px, 30vw, 360px); color: var(--ink-soft); opacity: 0.5; }
.map-pin {
  position: absolute;
  left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.map-pin .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 6px rgba(201,138,60,.18); }
.map-pin .mono { background: var(--paper); padding: 6px 9px; color: var(--ink); }
.map-plate-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 16px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--mineral); }

/* page CTA */
.page-cta { background: var(--forest-2); color: var(--paper); padding: clamp(48px, 6vw, 84px) 0; }
.page-cta-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: clamp(24px, 4vw, 64px); flex-wrap: wrap; }
.page-cta h2 { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 2.4vw, 3.6rem); line-height: 0.98; max-width: 18ch; }
.page-cta h2 em { font-style: italic; color: var(--amber-bright); }
.page-cta p { color: var(--sage-2); margin-top: 12px; max-width: 48ch; }
.page-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* active nav for inner pages */
.nav-link.is-active { color: var(--forest); }
.nav-link.is-active::after { transform: scaleX(1); }

/* mobile menu secondary */
.mobile-nav-secondary { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding-top: 18px; border-top: 1px solid var(--line-light); }
.mobile-nav-secondary a { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage-2); }
.mobile-nav-secondary a:hover { color: var(--amber-bright); }

@media (max-width: 1024px) {
  .page-hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
  .key-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .key-facts li:nth-child(2) { border-right: 0; }
  .key-facts li:nth-child(3), .key-facts li:nth-child(4) { padding-top: 20px; border-top: 1px solid var(--line); }
  .record-row { grid-template-columns: 54px minmax(0, 1fr) minmax(150px, 0.46fr); }
}

@media (max-width: 900px) {
  .page-rail-inner { padding: 11px 0; }
  .page-rail-label { display: none; }
  .page-rail ul { margin-left: 0; }
  .page-hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .page-hero h1 { max-width: 18ch; }
  .page-hero-side { margin-top: 26px; }
  .key-facts { grid-template-columns: 1fr 1fr; }
  .record-row { grid-template-columns: 46px minmax(0, 1fr); }
  .record-row .r-meta { grid-column: 2; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .timeline-year { padding-top: 0; }
  .event-row { grid-template-columns: 96px minmax(0, 1fr); }
  .event-row .event-type { grid-column: 2; padding-top: 0; }
  .gallery-item--4 { grid-column: span 6; }
  .gallery-item--8 { grid-column: span 12; }
  .gallery-item--6 { grid-column: span 6; }
  .partner-group { grid-template-columns: 1fr; gap: 10px; }
  .lightbox { width: calc(100vw - 32px); }
  .lightbox-inner { grid-template-columns: 1fr; }
  .lightbox img { width: 100%; max-width: none; height: auto; max-height: 64vh; }
  .lightbox-copy { border-left: 0; border-top: 1px solid var(--line-light); padding: 18px; }
  .page-cta-inner { align-items: flex-start; }
}

@media (max-width: 620px) {
  .page-rail ul { gap: 16px; }
  .page-rail a { font-size: 0.72rem; }
  .page-hero-meta { grid-template-columns: 1fr; gap: 14px; }
  .key-facts { grid-template-columns: 1fr; }
  .key-facts li, .key-facts li + li, .key-facts li:nth-child(3), .key-facts li:nth-child(4) { padding: 18px 0; border-right: 0; border-top: 1px solid var(--line); }
  .key-facts li:first-child { border-top: 0; }
  .record-row { grid-template-columns: 1fr; gap: 8px; }
  .record-row .r-meta { grid-column: 1; margin-top: 6px; }
  .event-row { grid-template-columns: 1fr; gap: 10px; }
  .event-row .event-type { grid-column: 1; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--4, .gallery-item--6, .gallery-item--8 { grid-column: 1 / -1; }
  .gallery-item img, .gallery-item--8 img { aspect-ratio: 4 / 3; }
  .gallery-item figcaption { font-size: 0.72rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px 18px; }
  .page-cta-actions { width: 100%; flex-direction: column; }
  .page-cta-actions .btn { width: 100%; justify-content: space-between; }
  .mobile-nav-secondary { grid-template-columns: 1fr 1fr; }
}

/* profile + misc inner-page components */
.profile { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.profile-figure { margin: 0; }
.profile-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; filter: grayscale(0.25) contrast(1.02); }
.profile-figure figcaption { margin-top: 8px; font-family: var(--font-mono); font-size: 0.75rem; line-height: 1.5; color: var(--mineral); }
.profile-body h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 1.5rem + 1.4vw, 2.6rem); line-height: 1.02; }
.profile-body .profile-role { margin-top: 6px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-ink); }
.profile-body p { margin-top: 14px; color: var(--ink-soft); max-width: 58ch; }
.link-row { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 30px; }

/* award / quote plate */
.plate {
  border: 1px solid var(--line-strong);
  padding: clamp(24px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.plate h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.05; }
.plate p { margin-top: 8px; color: var(--ink-soft); max-width: 56ch; }
.plate .plate-mark { width: 92px; height: 92px; color: var(--amber-ink); }
.page-section--dark .plate { border-color: var(--line-light); }
.page-section--dark .plate p { color: var(--sage-2); }

/* gallery filters */
.gallery-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.gallery-filter {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mineral);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.gallery-filter:hover { color: var(--ink); }
.gallery-filter.is-active { color: var(--ink); border-bottom-color: var(--amber); }
.gallery-count { font-family: var(--font-mono); font-size: 0.75rem; color: var(--mineral); letter-spacing: 0.04em; }
.gallery-item[hidden] { display: none; }

@media (max-width: 900px) {
  .profile { grid-template-columns: 200px minmax(0, 1fr); }
  .plate { grid-template-columns: 1fr; }
  .plate .plate-mark { width: 64px; height: 64px; }
}
@media (max-width: 620px) {
  .profile { grid-template-columns: 1fr; }
  .profile-figure { max-width: 220px; }
}

/* archive groups (news page) */
.archive-group { margin-top: clamp(28px, 4vw, 44px); }
.archive-group:first-of-type { margin-top: 0; }
.archive-year {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--amber-ink);
}
.archive-year::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.news-archive .news-item a { grid-template-columns: 104px 112px minmax(0, 1fr) 24px; }
.page-section--dark .page-kicker, .page-cta .page-kicker { color: var(--amber-bright); }
a.record-row { transition: background-color 0.3s, padding-left 0.4s var(--ease); }
a.record-row:hover { background: rgba(21, 26, 22, 0.03); padding-left: 8px; }
.page-section--tint a.record-row:hover { background: rgba(21, 26, 22, 0.04); }

@media (max-width: 900px) {
  .news-archive .news-item a { grid-template-columns: 84px 96px minmax(0, 1fr) 20px; }
}
@media (max-width: 620px) {
  .news-archive .news-item a { grid-template-columns: 1fr 20px; }
}

/* One Health circular focus ring */
.oh-node-btn:focus-visible { outline: none; }
.oh-node-btn:focus-visible .oh-node-ring {
  border-color: var(--amber-bright);
  box-shadow: 0 0 0 3px rgba(224, 167, 91, 0.55), 0 0 36px rgba(224, 167, 91, 0.28);
}
html.lightbox-open { overflow: hidden; }
a.record-row { grid-template-columns: 66px minmax(0, 1fr) minmax(140px, 0.42fr); }
@media (max-width: 900px) { a.record-row { grid-template-columns: 46px minmax(0, 1fr); } }
@media (max-width: 620px) { a.record-row { grid-template-columns: 1fr; } }

/* gallery rhythm */
.gallery-grid { align-items: start; }

/* mobile rail: edge fade + hint */
@media (max-width: 900px) {
  .page-rail { position: relative; }
  .page-rail::before,
  .page-rail::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 44px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s;
  }
  .page-rail::before { left: 0; background: linear-gradient(to right, var(--paper), rgba(244,239,227,0)); }
  .page-rail::after { right: 0; background: linear-gradient(to left, var(--paper), rgba(244,239,227,0)); }
  .page-rail.can-left::before, .page-rail.can-right::after { opacity: 1; }
}

/* map legibility */
.map-plate svg { opacity: 0.82; }

/* select chevron */
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23556258' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 36px;
}

/* lightbox centring (reset removes UA margin) */
.lightbox { margin: auto; }
.lightbox img { display: block; }

/* equal-height gallery rows */
.gallery-item img { height: auto; aspect-ratio: 4 / 3; }
.gallery-item--8 img { aspect-ratio: 16 / 10; }
.gallery-item--8 + .gallery-item img { aspect-ratio: 4 / 5; }
@media (max-width: 900px) {
  .gallery-item--8 + .gallery-item img { aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) {
  .page-rail::before, .page-rail::after { z-index: 3; }
}

/* contact institutional seal */
.contact-seal { width: 96px; height: auto; display: block; }
@media (max-width: 620px) { .contact-seal { width: 80px; } }

/* single-result filter: centre the plate */
@media (min-width: 901px) {
  .gallery-grid.is-single .gallery-item { grid-column: 3 / span 8; }
}

/* keep section heads uncluttered on narrow screens */
@media (max-width: 620px) {
  .section-head .section-note { display: none; }
}

.contact-note { color: var(--mineral); font-size: 0.9rem; line-height: 1.7; max-width: 44ch; }

/* publications feature: keep cover and copy in dialogue on tablets */
@media (min-width: 701px) and (max-width: 900px) {
  .pub-feature { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
  .pub-cover { max-width: 260px; }
}
@media (max-width: 700px) {
  .pub-cover { width: 100%; max-width: 360px; margin-inline: auto; }
}
