:root {
  --ink: #17243f;
  --ink-deep: #101a2f;
  --institutional-blue: #2f69ae;
  --paper: #f5f1e9;
  --white: #fffdf8;
  --coral: #ed735e;
  --lilac: #b9aed9;
  --blue: #496aa4;
  --muted: #657083;
  --line: rgba(23, 36, 63, .17);
  --max-width: 1240px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
.container { width: min(calc(100% - 3rem), var(--max-width)); margin-inline: auto; }
.section { padding: clamp(5rem, 9vw, 9rem) 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;
}
.skip-link {
  position: fixed; z-index: 1000; top: 1rem; left: 1rem; padding: .7rem 1rem;
  color: var(--ink); background: var(--white); transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

.site-header {
  position: sticky; z-index: 100; top: 0; color: var(--white); background: var(--institutional-blue);
  border-bottom: 1px solid rgba(255,255,255,.16);
  transition: color .25s, background .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  color: var(--ink); background: rgba(245,241,233,.94);
  box-shadow: 0 8px 30px rgba(16,26,47,.07); backdrop-filter: blur(16px);
}
.header-inner { display: flex; min-height: 5rem; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .7rem; font-weight: 720; letter-spacing: -.03em; text-decoration: none; }
.brand > span:last-child > span { color: var(--coral); }
.brand-mark { position: relative; display: inline-flex; width: 27px; height: 24px; align-items: center; gap: 3px; }
.brand-mark i { display: block; width: 7px; border-radius: 8px; background: currentColor; transform: rotate(20deg); }
.brand-mark i:nth-child(1) { height: 14px; }
.brand-mark i:nth-child(2) { height: 24px; background: var(--coral); }
.brand-mark i:nth-child(3) { height: 18px; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); font-size: .78rem; font-weight: 650; letter-spacing: .025em; }
.main-nav a { position: relative; text-decoration: none; }
.main-nav > a:not(.nav-contact)::after {
  position: absolute; right: 0; bottom: -.45rem; left: 0; height: 1px;
  background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform .2s;
}
.main-nav > a:hover::after, .main-nav > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { padding: .6rem .85rem; border: 1px solid currentColor; }
.menu-toggle { display: none; color: inherit; background: none; border: 0; }

.hero {
  position: relative; min-height: min(940px, 100svh); overflow: hidden;
  color: var(--white); background: var(--institutional-blue); isolation: isolate;
}
.hero::before {
  position: absolute; z-index: -1; inset: auto auto -18rem -9rem; width: 34rem; height: 34rem;
  border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: "";
}
.hero-grid { display: grid; min-height: min(940px, 100svh); padding-top: 7rem; padding-bottom: 9rem; grid-template-columns: minmax(0, 1.7fr) minmax(250px, .7fr); align-items: center; gap: 5rem; }
.hero-copy { position: relative; z-index: 2; max-width: 850px; transform: translateY(-3rem); }
.hero-funding-logos {
  display: flex;
  height: 70px;
  margin-bottom: 2.4rem;
  align-items: center;
  gap: 1rem;
}
.hero-funding-logos img {
  width: auto;
  height: 64px;
  object-fit: contain;
}
.hero-funding-logos img:first-child { aspect-ratio: 956 / 259; }
.hero-funding-logos img:nth-of-type(2) { aspect-ratio: 793 / 280; }
.hero-funding-logos img:last-child { aspect-ratio: 939 / 314; }
.hero-funding-logos span {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,.75);
}
.page-hero-funding { height: 44px; margin-bottom: 2.2rem; gap: .75rem; }
.page-hero-funding img { height: 40px; }
.page-hero-funding span { height: 36px; }
.eyebrow {
  margin-bottom: 1.5rem; color: var(--blue); font-size: .7rem; font-weight: 750;
  letter-spacing: .17em; line-height: 1.4; text-transform: uppercase;
}
.eyebrow.light { color: rgba(255,255,255,.65); }
.eyebrow > span { color: var(--coral); }
.hero h1 { margin: 0 0 1.3rem; font-size: clamp(4.6rem, 11vw, 9.5rem); letter-spacing: -.075em; line-height: .82; }
.hero h1 span { color: var(--coral); font-family: var(--serif); font-weight: 400; font-style: italic; }
.hero-subtitle { max-width: 770px; margin-bottom: 2rem; font-family: var(--serif); font-size: clamp(1.25rem, 2.15vw, 2rem); line-height: 1.28; }
.hero-intro { max-width: 580px; margin-bottom: 2.25rem; color: rgba(255,255,255,.7); font-size: .98rem; }
.hero-actions { display: flex; align-items: center; gap: 2rem; }
.button { display: inline-flex; min-height: 3.4rem; padding: .85rem 1.15rem; align-items: center; justify-content: space-between; gap: 2rem; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.button-primary { color: var(--ink); background: var(--coral); transition: transform .2s, background .2s; }
.button-primary:hover { background: #f18470; transform: translateY(-2px); }
.text-link { font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-underline-offset: .4rem; }
.light-link { color: var(--white); }
.hero-note { position: relative; z-index: 2; padding: 1.8rem 0 0 1.6rem; border-top: 1px solid rgba(255,255,255,.3); border-left: 1px solid rgba(255,255,255,.3); align-self: end; margin-bottom: 3rem; transform: translateY(-3rem); }
.hero-note > p { margin-bottom: 2.5rem; font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; }
.hero-note dl { margin: 0; }
.hero-note dl div { padding: .8rem 0; border-top: 1px solid rgba(255,255,255,.13); }
.hero-note dt { color: rgba(255,255,255,.48); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-note dd { margin: .15rem 0 0; font-size: .78rem; }
.hero-pattern { position: absolute; z-index: -1; top: -5rem; right: -5rem; width: min(58vw, 800px); color: rgba(255,255,255,.08); }
.hero-pattern svg { width: 100%; }
.hero-pattern path { fill: none; stroke: currentColor; stroke-width: 1.1; }
.hero-pattern circle { fill: var(--coral); opacity: .7; }
.hero-pattern svg path { stroke-dasharray: 10 9; animation: line-flow 22s linear infinite; }
.hero-pattern svg path:nth-child(2) { animation-direction: reverse; animation-duration: 28s; }
.hero-pattern svg path:nth-child(3) { animation-duration: 34s; }
.hero-pattern circle { transform-box: fill-box; transform-origin: center; animation: point-pulse 4s ease-in-out infinite; }
.hero-pattern circle:nth-of-type(2) { animation-delay: -1.3s; }
.hero-pattern circle:nth-of-type(3) { animation-delay: -2.6s; }
.pattern-word { position: absolute; color: rgba(255,255,255,.06); font-family: var(--serif); font-size: clamp(3rem, 6vw, 6rem); font-style: italic; }
.pattern-word { animation: word-drift 9s ease-in-out infinite alternate; }
.word-one { top: 15%; right: 15%; }
.word-two { top: 44%; right: 32%; animation-delay: -3s; }
.word-three { top: 70%; right: 8%; animation-delay: -6s; }
.hero-wave { position: absolute; z-index: 4; right: 0; bottom: -1px; left: 0; height: clamp(95px, 10vw, 170px); pointer-events: none; }
.hero-wave svg { width: 100%; height: 100%; overflow: visible; }
.wave-fill { fill: var(--paper); }
.wave-line {
  fill: none; stroke: rgba(255,255,255,.38); stroke-width: 1;
  stroke-dasharray: 13 10; animation: line-flow 18s linear infinite reverse;
}
.hero-index { position: absolute; right: 2.3rem; bottom: 2rem; color: rgba(255,255,255,.42); font-size: .62rem; font-weight: 700; letter-spacing: .2em; writing-mode: vertical-rl; }
.hero-index span { color: var(--coral); }

@keyframes line-flow {
  to { stroke-dashoffset: -190; }
}

@keyframes point-pulse {
  0%, 100% { opacity: .55; transform: scale(.75); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes word-drift {
  from { transform: translate3d(0, -5px, 0); }
  to { transform: translate3d(14px, 8px, 0); }
}

.section-heading { margin-bottom: 4rem; }
.section-heading h2, .matters h2, .contacts h2 {
  margin-bottom: 0; font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.7rem); font-weight: 400;
  letter-spacing: -.055em; line-height: .98;
}
#project .split-heading {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(3rem, 6vw, 6rem);
}
#project-title { font-size: clamp(3.25rem, 5.5vw, 4.8rem); }
#project-title > span { white-space: nowrap; }
#project .lead-copy { font-size: clamp(.95rem, 1.2vw, 1.05rem); line-height: 1.6; transform: translateY(2rem); }
.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.lead-copy { max-width: 590px; margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.65; }
.lead-copy p:last-child { margin-bottom: 0; }
.inline-source-link { display: inline-flex; margin: .2rem 0 1.35rem; align-items: center; gap: .45rem; color: var(--coral); font-size: .78rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.inline-source-link:hover, .inline-source-link:focus-visible { color: var(--institutional-blue); transform: translateX(4px); }
.project-facts { display: grid; margin: 1.5rem 0 7rem; border-block: 1px solid var(--line); grid-template-columns: repeat(4, 1fr); }
.project-facts div { padding: 1.5rem 1.4rem; border-right: 1px solid var(--line); }
.project-facts div:first-child { padding-left: 0; }
.project-facts div:last-child { border-right: 0; }
.project-facts span, .project-facts strong { display: block; }
.project-facts span { margin-bottom: .25rem; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.project-facts strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.objectives-panel { color: var(--ink); }
.objectives-header { display: flex; margin-bottom: 1.5rem; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--ink); }
.objectives-header > p:last-child { color: var(--muted); font-size: .8rem; }
.objectives-grid { display: grid; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; counter-reset: objectives; }
.objectives-grid li { min-height: 335px; padding: 1.9rem; color: var(--ink); background: var(--white); transition: transform .2s, box-shadow .2s; }
.objectives-grid li:hover { box-shadow: 0 20px 45px rgba(16,26,47,.08); transform: translateY(-5px); }
.objective-number { display: block; margin-bottom: 5rem; color: var(--coral); font-size: .78rem; font-weight: 750; letter-spacing: .1em; }
.objectives-grid h3 { margin-bottom: 1rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.1; }
.objectives-grid p { margin-bottom: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }

.matters { color: var(--white); background: var(--coral); }
.matters-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.matters .eyebrow { color: rgba(23,36,63,.65); }
.matters h2 { max-width: 650px; font-size: clamp(3rem, 4.8vw, 4.5rem); line-height: 1.08; }
.matters-copy { padding-top: 0; }
.matters-copy > p { max-width: 650px; margin-bottom: 2rem; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.65; }
.principles { display: grid; max-width: 650px; margin-top: 3.2rem; grid-template-columns: repeat(3, 1fr); }
.principle { display: flex; min-height: 88px; padding: 0 1.4rem; flex-direction: column; justify-content: flex-end; gap: .8rem; border-left: 1px solid rgba(255,255,255,.35); }
.principle:first-child { padding-left: 0; border-left: 0; }
.principle svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.principle strong { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

.activities { background: var(--white); }
.activities-list { border-top: 1px solid var(--ink); }
.activity-card { display: grid; padding: 2rem 0; border-bottom: 1px solid var(--line); grid-template-columns: 80px minmax(220px, .8fr) 1.3fr 120px; gap: 1.5rem; align-items: center; transition: padding .2s, background .2s; }
.activity-card:hover { padding-inline: 1rem; background: var(--paper); }
.activity-icon { display: grid; width: 54px; height: 54px; place-items: center; color: var(--blue); border: 1px solid var(--line); border-radius: 50%; }
.activity-icon svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.activity-code { margin-bottom: .2rem; color: var(--coral); font-size: .62rem; font-weight: 750; letter-spacing: .12em; }
.activity-card h3 { margin-bottom: 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.activity-card > p { margin-bottom: 0; color: var(--muted); font-size: .85rem; }
.status { justify-self: end; font-size: .66rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.status i { display: inline-block; width: 7px; height: 7px; margin-right: .35rem; border-radius: 50%; background: currentColor; }
.status-ongoing { color: #42725a; }.status-upcoming { color: #826a27; }.status-completed { color: var(--blue); }
.editor-note { margin: 1rem 0 0; color: var(--muted); font-size: .7rem; }
.editor-note code { color: var(--ink); }

.team { background: var(--paper); }
.team-heading > .lead-copy { padding-bottom: .5rem; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.unit-card { position: relative; min-height: 470px; padding: 2rem; overflow: hidden; border: 1px solid transparent; background: var(--white); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.unit-card::after { position: absolute; right: -6rem; bottom: -7rem; width: 15rem; height: 15rem; border: 1px solid var(--line); border-radius: 50%; content: ""; }
.unit-card:hover, .unit-card:focus-within { z-index: 1; border-color: var(--coral); box-shadow: 0 22px 50px rgba(16,26,47,.13); transform: translateY(-7px); }
.unit-card-hit { position: absolute; z-index: 4; inset: 0; }
.unit-card-hit:focus-visible { outline: 3px solid var(--coral); outline-offset: -7px; }
.unit-lead { color: var(--ink); background: var(--white); }
.unit-card:nth-child(2), .unit-card:nth-child(3) { color: var(--ink); background: var(--white); }
.unit-salerno { background: var(--white); }
.unit-top { display: grid; margin-bottom: 2.5rem; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.4rem; }
.unit-top > span { color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.unit-lead .unit-top > span { color: var(--muted); }
.unit-card:nth-child(3) .unit-top > span { color: var(--muted); }
.unit-logo {
  width: 112px;
  height: 112px;
  padding: 3px;
  flex: 0 0 112px;
  border-radius: 50%;
  background: var(--white);
  object-fit: contain;
}
.unit-card h3 { margin-bottom: 2rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.1; }
.unit-top h3 { margin: 0; font-size: 1.55rem; }
.pi { display: flex; padding: .9rem 0; justify-content: space-between; gap: 1rem; border-block: 1px solid currentColor; font-size: .76rem; }
.pi span { opacity: .6; }.pi strong { font-weight: 700; }
.unit-card ul { display: grid; margin: 1.5rem 0 0; padding: 0; list-style: none; grid-template-columns: repeat(2, 1fr); gap: .45rem 1rem; font-size: .8rem; }
.unit-card li::before { margin-right: .45rem; color: var(--coral); content: "·"; }
.lab-label { position: absolute; right: 2rem; bottom: 1.4rem; margin: 0; color: var(--blue); font-family: var(--serif); font-style: italic; }

.outputs { color: var(--white); background: var(--institutional-blue); }
.outputs .lead-copy { color: rgba(255,255,255,.6); }
.outputs-grid { border-top: 1px solid rgba(255,255,255,.4); }
.outputs-grid article { position: relative; display: grid; padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,.14); grid-template-columns: 80px 1fr auto; gap: 1.5rem; align-items: center; transition: padding .22s ease, background .22s ease; }
.outputs-grid article:hover, .outputs-grid article:focus-within { padding-inline: 1.2rem; background: rgba(255,255,255,.08); }
.output-hit { position: absolute; z-index: 2; inset: 0; }
.output-hit:focus-visible { outline: 3px solid var(--coral); outline-offset: -5px; }
.outputs-grid article > span { color: var(--coral); font-size: .7rem; font-weight: 700; }
.outputs-grid article p { margin-bottom: .25rem; color: var(--lilac); font-size: .63rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.outputs-grid h3 { margin: 0; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.outputs-grid em { color: rgba(255,255,255,.45); font-family: var(--serif); font-size: .85rem; font-weight: 400; }

.news { background: var(--paper); }
.news-heading { display: flex; justify-content: space-between; align-items: end; }
.news-heading > p { color: var(--muted); font-size: .8rem; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.news-card { display: flex; min-height: 350px; padding: 1.6rem; flex-direction: column; border-top: 3px solid var(--coral); background: var(--white); }
.news-card time { margin-bottom: 4rem; color: var(--muted); font-size: .65rem; }
.news-type { margin-bottom: .5rem; color: var(--blue); font-size: .63rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.news-card h3 { margin-bottom: 1rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1.15; }
.news-card > p:not(.news-type) { color: var(--muted); font-size: .8rem; }
.placeholder-link { margin-top: auto; font-size: .68rem; font-weight: 700; text-decoration: underline; text-underline-offset: .25rem; opacity: .52; }

.contacts { color: var(--white); background: var(--blue); }
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 9vw, 9rem); }
.contacts .eyebrow { color: rgba(255,255,255,.58); }
.contact-details { padding-top: 2rem; }
.contact-details > p { max-width: 520px; margin-bottom: 3rem; font-family: var(--serif); font-size: 1.25rem; }
.contact-details dl { margin: 0; }
.contact-details dl div { display: grid; padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.25); grid-template-columns: 150px 1fr; gap: 1rem; }
.contact-details dt { color: rgba(255,255,255,.55); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-details dd { margin: 0; font-size: .85rem; }
.contact-details a { text-underline-offset: .3rem; }
.pending { font-family: var(--serif); font-style: italic; opacity: .65; }

.site-footer { padding: 4rem 0 1.4rem; color: var(--white); background: var(--institutional-blue); }
.footer-top { display: grid; padding-bottom: 3rem; grid-template-columns: .8fr 1.5fr auto; gap: 3rem; align-items: start; }
.footer-brand { font-size: 1.1rem; }
.footer-top > p { max-width: 500px; color: rgba(255,255,255,.55); font-family: var(--serif); }
.back-top { font-size: .7rem; font-weight: 700; text-underline-offset: .35rem; }
.funding { display: grid; padding: 1.4rem 0; border-block: 1px solid rgba(255,255,255,.16); grid-template-columns: .8fr 2fr; gap: 3rem; }
.footer-funding-logos { display: flex; min-width: 0; align-items: center; gap: .55rem; }
.footer-funding-logos img { width: auto; height: 28px; object-fit: contain; }
.footer-funding-logos i { width: 1px; height: 25px; flex: 0 0 auto; background: rgba(255,255,255,.55); }
.funding p { max-width: 720px; margin: 0; color: rgba(255,255,255,.53); font-size: .73rem; }
.footer-bottom { display: flex; padding-top: 1.4rem; justify-content: space-between; gap: 2rem; color: rgba(255,255,255,.4); font-size: .62rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* Detailed research-team page */
.team-page { background: var(--paper); }
.team-page-hero { position: relative; overflow: hidden; padding: clamp(6rem, 10vw, 10rem) 0 clamp(11rem, 14vw, 14rem); color: var(--white); background: var(--institutional-blue); isolation: isolate; }
.team-page-hero > .container { position: relative; z-index: 2; }
.team-page-hero .hero-pattern { top: -8rem; right: -2rem; width: min(65vw, 920px); }
.team-page-hero h1 { max-width: 900px; margin-bottom: 2rem; font-family: var(--serif); font-size: clamp(4rem, 9vw, 8rem); font-weight: 400; letter-spacing: -.06em; line-height: .9; }
.project-page-hero h1 { max-width: none; white-space: nowrap; }
.team-page-hero > .container > p:last-child { max-width: 650px; margin: 0; color: rgba(255,255,255,.76); font-size: 1.1rem; }
.team-jump-nav { border-bottom: 1px solid var(--line); background: var(--white); }
.team-jump-nav .container { display: flex; min-height: 70px; align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.team-jump-nav span { margin-right: auto; color: var(--muted); font-size: .65rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.team-jump-nav a { font-size: .74rem; font-weight: 700; text-underline-offset: .3rem; }
.team-unit-detail { scroll-margin-top: 5rem; }
.team-unit-detail.unit-tint { background: #ede8df; }
.unit-detail-heading { display: grid; margin-bottom: 4rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); grid-template-columns: 140px 1fr; gap: 2rem; align-items: center; }
.unit-detail-heading > img { width: 140px; height: 140px; padding: 3px; border-radius: 50%; background: var(--white); object-fit: contain; }
.unit-detail-heading .eyebrow { margin-bottom: .7rem; }
.unit-detail-heading h2 { max-width: 850px; margin: 0 0 .8rem; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.unit-detail-heading div > p:last-child { margin: 0; color: var(--muted); font-size: .8rem; }
.unit-detail-heading strong { color: var(--ink); }
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 1rem; align-items: stretch; }
.member-card { display: flex; height: 100%; padding: 1rem 1rem 1.5rem; flex-direction: column; background: var(--white); }
.member-photo { position: relative; display: grid; width: 100%; aspect-ratio: 1 / 1; margin-bottom: 1.5rem; overflow: hidden; flex: 0 0 auto; place-content: center; justify-items: center; gap: .5rem; color: rgba(23,36,63,.42); background: #e8e3da; }
.member-photo img { position: absolute; display: block; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: center 20%; }
.member-photo span { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.5rem); }
.member-photo small { font-size: .57rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.member-role { margin-bottom: .45rem; color: var(--coral); font-size: .62rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.member-workgroup { width: fit-content; margin: 0 0 .85rem; padding: .28rem .55rem; color: var(--institutional-blue); border: 1px solid rgba(47,105,174,.22); border-radius: 999px; background: rgba(47,105,174,.07); font-size: .58rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.member-card h3 { margin-bottom: .45rem; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; line-height: 1.15; }
.member-card > p:not(.member-role):not(.member-workgroup) { margin: 0; color: var(--muted); font-size: .78rem; font-style: italic; }
.member-pi { border-top: 3px solid var(--coral); }
.member-profiles { display: flex; margin-top: auto; padding-top: 1.25rem; gap: .55rem; align-items: center; }
.profile-icon { display: grid; width: 38px; height: 38px; place-items: center; color: var(--ink); border: 1px solid var(--line); border-radius: 50%; background: #f7f8fa; text-decoration: none; transition: color .2s, border-color .2s, background .2s, transform .2s; }
.profile-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a.profile-icon:hover { color: var(--white); border-color: var(--institutional-blue); background: var(--institutional-blue); transform: translateY(-2px); }
a.profile-icon-orcid { color: #769b24; border-color: rgba(118,155,36,.45); }
a.profile-icon-orcid:hover { color: #17243f; border-color: #a6ce39; background: #a6ce39; }
.profile-icon.is-disabled { color: var(--muted); opacity: .58; cursor: default; }

/* Detailed research-outputs page */
.outputs-page { background: var(--paper); }
.outputs-page-hero .hero-pattern { top: -8rem; right: -2rem; width: min(65vw, 920px); }
.project-page { background: var(--paper); }
.project-page-hero .hero-pattern { top: -8rem; right: -2rem; width: min(65vw, 920px); }
.project-description-grid { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.project-description-grid aside { position: sticky; top: 7rem; }
.project-description-grid h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4.8vw, 5rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.project-description-copy { padding-top: .35rem; color: var(--ink); font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.8; }
.project-description-copy p { margin-bottom: 1.35rem; }
.project-description-copy p:last-child { margin-bottom: 0; }
.output-detail-section { scroll-margin-top: 5rem; }
.output-detail-section.output-tint { background: #ede8df; }
.output-detail-heading { padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.output-detail-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(1.05rem, 5vw, 5rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.empty-output { display: flex; min-height: 230px; padding: 2rem 0; justify-content: space-between; align-items: center; gap: 2rem; }
.empty-output p { max-width: 520px; margin: 0; color: var(--muted); font-family: var(--serif); font-size: 1.25rem; }
.empty-output span { color: var(--muted); font-family: var(--serif); font-size: .9rem; font-style: italic; }
.publications-list { margin-top: 3rem; border-top: 1px solid var(--ink); }
.publication-entry { position: relative; display: grid; padding: 1.5rem 1rem; border-bottom: 1px solid var(--line); grid-template-columns: 1fr 120px; gap: 1.25rem; align-items: start; transition: padding .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease; }
.publication-entry:hover, .publication-entry:focus-within { z-index: 1; padding-inline: 1.4rem; background: var(--white); box-shadow: 0 15px 35px rgba(16,26,47,.08); transform: translateY(-2px); }
.publication-meta { margin-bottom: .55rem; color: var(--blue); font-size: .62rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.publication-copy h3 { max-width: 900px; margin-bottom: .7rem; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 400; line-height: 1.15; }
.publication-authors { margin-bottom: .65rem; font-size: .82rem; font-weight: 700; }
.publication-source { max-width: 920px; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.publication-description { max-width: 920px; margin: .75rem 0 0; color: var(--muted); font-size: .74rem; line-height: 1.6; }
.publication-link-slot { justify-self: end; margin-top: .2rem; color: var(--coral); font-size: .66rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.publication-link-slot.is-disabled { color: var(--muted); font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0; text-transform: none; }
.publication-hit { position: absolute; z-index: 2; inset: 0; }
.publication-hit:focus-visible { outline: 3px solid var(--coral); outline-offset: -5px; }
.conference-entry { grid-template-columns: 1fr; }
.event-feature { display: grid; margin-top: 1.5rem; overflow: hidden; color: var(--ink); border: 1px solid var(--line); background: var(--white); grid-template-columns: minmax(155px, 190px) 1fr; text-decoration: none; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.event-feature:hover, .event-feature:focus-visible { border-color: var(--coral); box-shadow: 0 24px 55px rgba(16,26,47,.12); transform: translateY(-5px); }
.event-date { display: flex; min-height: 235px; padding: 1.5rem; flex-direction: column; color: var(--white); background: var(--institutional-blue); }
.event-date > span { font-family: var(--serif); font-size: clamp(3.2rem, 5vw, 4.6rem); line-height: .85; }
.event-date strong { margin-top: .65rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.event-date small { margin-top: auto; color: rgba(255,255,255,.7); font-size: .68rem; }
.event-feature-alt .event-date { color: var(--ink); background: #f2c9cf; }
.event-feature-alt .event-date small { color: rgba(23,36,63,.68); }
.event-feature-copy { display: flex; padding: clamp(1.5rem, 2.5vw, 2.25rem); flex-direction: column; align-items: flex-start; }
.event-feature-copy .eyebrow { margin-bottom: .65rem; }
.event-feature-copy h3 { max-width: 920px; margin-bottom: .8rem; font-family: var(--serif); font-size: clamp(1.55rem, 2.4vw, 2.35rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.08; }
.event-feature-copy > p:not(.eyebrow) { max-width: 780px; margin-bottom: 1rem; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.event-cta { margin-top: auto; padding-bottom: .25rem; border-bottom: 1px solid currentColor; font-size: .72rem; font-weight: 750; letter-spacing: .05em; }
.event-cta i { margin-left: 1rem; font-style: normal; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-note { display: none; }
  .hero-pattern { width: 90vw; opacity: .8; }
  .objectives-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-card { grid-template-columns: 65px 1fr 1.2fr; }
  .activity-card .status { grid-column: 2; justify-self: start; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 2rem), var(--max-width)); }
  .section { padding-block: 5rem; }
  .header-inner { min-height: 4.3rem; }
  .menu-toggle { display: grid; z-index: 2; width: 44px; height: 44px; padding: 10px; place-content: center; gap: 7px; cursor: pointer; }
  .menu-toggle span[aria-hidden] { width: 22px; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span[aria-hidden]:first-of-type { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span[aria-hidden]:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: fixed; z-index: 1; top: 0; left: 0; display: flex; width: 100vw; height: 100vh; height: 100dvh;
    min-height: 100vh; min-height: 100dvh; padding: 7rem 2rem 3rem; overflow-y: auto; flex-direction: column;
    align-items: flex-start; gap: .8rem; color: var(--white); background: var(--institutional-blue);
    overscroll-behavior: contain; visibility: hidden; opacity: 0; transform: translateY(-1rem); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav a { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; letter-spacing: -.03em; }
  .main-nav .nav-contact { margin-top: 1rem; padding: .45rem .8rem; font-family: var(--sans); font-size: .75rem; }
  .site-header:has(.main-nav.is-open), .menu-open .site-header {
    color: var(--white); background: var(--institutional-blue);
    box-shadow: none; backdrop-filter: none;
  }
  .hero, .hero-grid { min-height: 780px; }
  .hero-grid { padding-top: 7rem; padding-bottom: 8rem; align-content: center; }
  .hero-copy { transform: translateY(-1.5rem); }
  .hero h1 { max-width: 100%; font-size: clamp(3.4rem, 17vw, 7rem); white-space: nowrap; }
  .hero-funding-logos { height: 44px; margin-bottom: 1.8rem; gap: .55rem; }
  .hero-funding-logos img { height: 36px; }
  .hero-funding-logos span { height: 33px; }
  .hero-subtitle { font-size: 1.25rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .hero-index { display: none; }
  .split-heading, .matters-grid, .contact-panel { grid-template-columns: 1fr; gap: 2.5rem; }
  #project .split-heading { grid-template-columns: 1fr; gap: 2.5rem; }
  #project-title > span { white-space: normal; }
  #project .lead-copy { transform: none; }
  .section-heading { margin-bottom: 3rem; }
  .project-facts { margin-bottom: 5rem; grid-template-columns: repeat(2, 1fr); }
  .project-facts div:nth-child(2) { border-right: 0; }
  .project-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .project-facts div:nth-child(3) { padding-left: 0; }
  .objectives-header { align-items: flex-start; flex-direction: column; gap: 0; }
  .objectives-grid { grid-template-columns: 1fr; }
  .objectives-grid li { min-height: 280px; }
  .objective-number { margin-bottom: 3.5rem; }
  .matters-copy { padding-top: 0; }
  .principle { padding-inline: .8rem; }
  .activity-card { padding-block: 1.5rem; grid-template-columns: 55px 1fr; gap: 1rem; }
  .activity-card > p { grid-column: 2; }
  .activity-card .status { grid-column: 2; }
  .team-grid { grid-template-columns: 1fr; }
  .unit-card { min-height: 450px; padding: 1.5rem; }
  .unit-logo { width: 88px; height: 88px; flex-basis: 88px; }
  .unit-top { grid-template-columns: auto 1fr; gap: 1rem; }
  .unit-top > span { grid-column: 2; }
  .outputs-grid article { grid-template-columns: 45px 1fr; }
  .outputs-grid em { grid-column: 2; }
  .news-heading { align-items: flex-start; flex-direction: column; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { min-height: 310px; }
  .contact-details { padding-top: 0; }
  .footer-top, .funding { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .team-jump-nav .container { padding-block: 1rem; flex-wrap: wrap; }
  .team-jump-nav span { width: 100%; }
  .unit-detail-heading { grid-template-columns: 90px 1fr; gap: 1.2rem; }
  .unit-detail-heading > img { width: 90px; height: 90px; }
  .empty-output { min-height: 180px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .event-feature { grid-template-columns: 1fr; }
  .event-date { min-height: 145px; }
  .event-date small { margin-top: 1.25rem; }
  .project-description-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .project-description-grid aside { position: static; }
}

@media (max-width: 420px) {
  .project-page-hero h1 { white-space: normal; }
  .principles { grid-template-columns: 1fr; gap: 1.2rem; }
  .principle { min-height: 64px; padding: 0 0 1.2rem; border-bottom: 1px solid rgba(255,255,255,.35); border-left: 0; }
  #project-title > span { white-space: normal; }
  .hero-funding-logos { gap: .35rem; }
  .hero-funding-logos img { height: 28px; }
  .hero-funding-logos span { height: 26px; }
  .footer-funding-logos { gap: .4rem; }
  .footer-funding-logos img { height: 24px; }
  .footer-funding-logos i { height: 22px; }
  .hero h1 { font-size: clamp(3.15rem, 16.5vw, 4rem); }
  .hero-subtitle { overflow-wrap: anywhere; }
  .project-facts { grid-template-columns: 1fr; }
  .project-facts div { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .project-facts div:nth-child(3) { padding-left: 0; }
  .unit-card ul { grid-template-columns: 1fr; }
  .pi { align-items: flex-start; flex-direction: column; }
  .contact-details dl div { grid-template-columns: 1fr; gap: .2rem; }
  .member-grid { grid-template-columns: 1fr; }
  .unit-detail-heading { grid-template-columns: 1fr; }
  .unit-detail-heading > img { width: 105px; height: 105px; }
  .publication-entry { grid-template-columns: 1fr; }
  .publication-link-slot { justify-self: start; }
}

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

@media print {
  .site-header, .hero-pattern, .hero-actions, .back-top { display: none; }
  .hero { min-height: 0; padding: 3rem 0; }
  .hero-grid { min-height: 0; padding: 0; }
  .section { padding: 3rem 0; }
}
