/* Shared, buildless stylesheet. No framework or external font dependencies. */
:root {
  color-scheme: light;
  --ink: #233028;
  --muted: #546054;
  --forest: #233f31;
  --olive: #647041;
  --paper: #f7f7ef;
  --line: #d5dacd;
  --gutter: clamp(20px, 4.5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 120px; scrollbar-gutter: stable; }
body { margin: 0; background: #263c2e; color: var(--ink); font-family: "Segoe UI", Calibri, Arial, sans-serif; font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
/* This layer has no transformed ancestor and stays fixed to the viewport.
   Large viewport units prevent image resizing as mobile browser bars hide. */
.site-background { position: fixed; z-index: 0; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; background: #263c2e url("../assets/img/home2-bg.jpg") center center / cover no-repeat; pointer-events: none; }
.site-background::after { content: ""; position: absolute; inset: 0; background: rgb(14 30 23 / 54%); }
main, .site-footer { position: relative; z-index: 1; }
a { color: var(--forest); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a, button { -webkit-tap-highlight-color: rgb(100 112 65 / 18%); }
:focus-visible { outline: 3px solid #a66b24; outline-offset: 5px; }
main:focus { outline: none; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0 0 .65em; line-height: 1.2; overflow-wrap: break-word; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.025em; }
h1 { font-size: clamp(2.25rem, 4.6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1.25em; }
ul { padding-left: 1.25rem; }
li + li { margin-top: .6rem; }
.wrap { width: min(1180px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.site-header { position: sticky; z-index: 20; top: 0; background: #20392d; color: var(--paper); border-bottom: 1px solid rgb(255 255 255 / 17%); }
.header-inner { min-height: 94px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; color: inherit; text-decoration: none; flex-shrink: 0; padding: 8px 10px; background: transparent; border-radius: 2px; }
.brand-logo { width: clamp(240px, 23vw, 300px); height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0; }
.nav-links a { display: block; padding: 12px 0; color: inherit; font-size: .91rem; text-decoration: none; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-color: #a9b492; }
.nav-links [aria-current="page"] { border-color: #c4cda5; }
.nav-toggle { color: inherit; background: transparent; border: 1px solid #8f9d87; border-radius: 2px; padding: 8px 14px; min-height: 44px; }
.nav-toggle span { margin-left: 8px; }
.hero { color: white; padding: 76px 0 66px; }
.hero h1 { max-width: 980px; }
.hero-subtitle { max-width: 760px; font-size: 1.15rem; line-height: 1.6; color: #f0f2e9; margin-bottom: 0; }
.eyebrow, .section-label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; }
.hero .eyebrow { color: #e1e6cf; margin-bottom: 1.7rem; }
.hero-home { padding-top: clamp(70px, 9vw, 128px); padding-bottom: 46px; }
.hero-home h1 { max-width: 1020px; }
.hero-home .hero-subtitle { max-width: 650px; font-size: 1.05rem; }
.hero-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 35%); font-size: .85rem; letter-spacing: .045em; }
.hero-bottom a { color: white; text-decoration: none; }
.hero-bottom a span { margin-left: 14px; }
.content { padding-bottom: 64px; }
.panel { padding: clamp(26px, 5vw, 66px); background: rgb(250 250 244 / 97%); margin-bottom: 24px; border: 1px solid rgb(255 255 255 / 60%); }
.panel > p, .panel > ul { max-width: 78ch; }
.panel > :last-child { margin-bottom: 0; }
.panel > h2:not(:first-child) { margin-top: 2.3rem; }
.panel > h3 { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--forest); }
.panel > h3 + p { max-width: 78ch; }
.project-fact { margin-bottom: .5rem; }
.project-fact + p:not(.project-fact) { margin-top: 1.25rem; }
.funding-info { border-block: 1px solid var(--line); margin-block: 26px; padding-block: 20px; }
.funding-info h3 { font-size: 1.1rem; margin-bottom: 12px; }
.funding-info p { margin: 0; font-size: 1rem; line-height: 1.65; }
.section-label { color: var(--olive); }
.notice { border-left: 3px solid var(--olive); padding: 15px 20px; background: #ecefe3; font-size: .95rem; }
.field-note { padding: 30px clamp(26px, 5vw, 66px); color: var(--paper); background: rgb(32 57 45 / 92%); margin-bottom: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.field-note p { margin: 0; font-family: Georgia, serif; font-size: 1.45rem; }
.field-note a { color: inherit; font-size: .92rem; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin-top: 36px; }
.team-card { padding: 26px 0; border-top: 1px solid var(--line); min-width: 0; }
.team-card--leader { grid-column: 1 / -1; border-left: 3px solid var(--olive); padding: 22px 24px; background: #ecefe3; }
.team-card p { font-size: .95rem; margin-bottom: .4rem; }
.team-card .role { color: var(--muted); font-size: .95rem; font-weight: 400; line-height: 1.6; margin: .5rem 0; }
.team-card a { overflow-wrap: anywhere; }
.faculty-name { color: var(--muted); margin-bottom: 0; }
.output-card { padding: 24px 0; border-top: 1px solid var(--line); max-width: 78ch; }
.output-card > span { display: inline-block; font-size: .76rem; font-weight: 650; color: var(--olive); margin-bottom: 12px; }
.output-card > div { color: var(--muted); font-size: .9rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 30px; }
.contact-grid a { overflow-wrap: anywhere; }
.project-outputs > .output-group-title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.45rem); font-weight: 400; letter-spacing: -.025em; margin-top: 2.3rem; padding: 0; border: 0; color: var(--ink); }
.output-card h4 { margin: 0 0 .65em; font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.page-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.page-links:has(a:only-child) { justify-content: flex-end; }
.button { display: inline-block; text-decoration: none; padding: 12px 22px; background: var(--paper); border: 1px solid var(--line); font-size: .9rem; }
.button:hover { background: #e9eddf; }
.landscape { margin: 30px 0; }
.landscape img { width: 100%; }
figcaption { color: var(--muted); font-size: .88rem; padding-top: 12px; }
.photo-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 30px 24px; margin-top: 32px; }
.photo-item { margin: 0; min-width: 0; }
.gallery-link { display: block; background: #e7eadf; }
.gallery-link:hover { outline: 1px solid var(--olive); outline-offset: 3px; }
.gallery-link img { width: 100%; height: auto; }
.photo-item figcaption { font-size: 1rem; font-weight: 600; line-height: 1.5; }
html.lightbox-open { overflow: hidden; }
.lightbox { width: min(1200px, calc(100% - 32px)); height: min(900px, calc(100vh - 32px)); height: min(900px, calc(100dvh - 32px)); max-width: none; max-height: none; padding: 18px 22px; border: 1px solid #6d7b68; background: #15281e; color: var(--paper); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; }
.lightbox::backdrop { background: rgb(7 17 12 / 92%); }
.lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lightbox-toolbar p { margin: 0; font-size: .85rem; }
.lightbox button { min-height: 44px; padding: 8px 14px; border: 1px solid #8e9c82; border-radius: 2px; background: transparent; color: inherit; font-size: .9rem; }
.lightbox .lightbox-close { min-width: 44px; padding: 0; font-size: 2rem; line-height: 1; }
.lightbox button:hover { background: #304a39; }
.lightbox-figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; min-height: 0; min-width: 0; margin: 0; gap: 12px; }
.lightbox-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lightbox-figure figcaption { max-width: 80ch; padding: 0; color: var(--paper); text-align: center; line-height: 1.5; }
.lightbox-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lightbox-controls a { color: inherit; font-size: .85rem; text-align: center; }
.topic-links { display: flex; gap: 10px 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; font-size: .9rem; }
.publication { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.publication:first-of-type { margin-top: 30px; }
.publication:last-child { padding-bottom: 0; }
.publication-year { color: var(--olive); font-size: .9rem; padding-top: 2px; font-variant-numeric: tabular-nums; }
.publication h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.4; }
.publication p { font-size: 1rem; max-width: 72ch; }
.publication .publication-authors { color: var(--muted); font-size: .88rem; line-height: 1.7; margin-bottom: .5rem; }
.publication .publication-journal { color: var(--forest); font-size: .88rem; font-style: italic; margin-bottom: 1rem; }
.publication-link { font-weight: 600; font-size: .9rem; }
.publication-link > span[aria-hidden] { margin-left: 6px; }
.publication .doi { color: var(--muted); font-size: .77rem; margin: .5rem 0 0; overflow-wrap: anywhere; }
.site-footer { background: #20392d; color: #ecf0e4; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 44px; padding-bottom: 42px; }
.site-footer a { color: inherit; }
.site-footer p { font-size: .88rem; }
.site-footer .eyebrow { color: #c3cdaa; font-size: .71rem; }
.site-footer .footer-title { font-family: Georgia, serif; font-size: 1.55rem; }
.site-footer h2 { font-family: inherit; font-size: .9rem; font-weight: 600; letter-spacing: 0; margin-bottom: 24px; }
.footer-links { padding: 0; list-style: none; font-size: .88rem; }
.footer-grid > div > a { font-size: .88rem; }
.footer-funding { border-top: 1px solid rgb(255 255 255 / 20%); padding-block: 26px; }
.site-footer .footer-funding h2 { font-size: 1rem; margin-bottom: 12px; }
.site-footer .footer-funding p { max-width: 90ch; margin: 0; font-size: 1rem; line-height: 1.65; color: var(--paper); }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 20%); padding-block: 20px; display: flex; justify-content: space-between; gap: 16px; font-size: .78rem; }
@media (max-width: 1100px) { .photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
  .header-inner { min-height: 76px; gap: 18px; }
  .brand-logo { width: clamp(140px, calc(100vw - 180px), 240px); }
  .main-nav { margin-left: auto; }
  .nav-links { position: absolute; top: 100%; left: 0; width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 20px; background: #20392d; max-height: calc(100dvh - 76px); overflow-y: auto; border-bottom: 1px solid #87947b; }
  .nav-links a { min-height: 46px; }
  .main-nav:has(.nav-toggle[hidden]) .nav-links { position: static; max-height: none; border: 0; padding: 8px 0; }
  .header-inner:has(.nav-toggle[hidden]) { flex-wrap: wrap; }
  .header-inner:has(.nav-toggle[hidden]) .main-nav { width: 100%; }
  .site-header:has(.nav-toggle[hidden]) { position: relative; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  body { font-size: 16px; }
  .hero { padding: 52px 0 42px; }
  .hero-home { padding-top: 64px; }
  .hero h1 { font-size: clamp(2rem, 7vw, 3.2rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-bottom { margin-top: 38px; }
  .panel { margin-bottom: 18px; }
  .field-note { align-items: flex-start; flex-direction: column; margin-bottom: 18px; }
  .team-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .publication { grid-template-columns: 1fr; gap: 10px; padding-block: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer h2 { margin-bottom: 16px; }
}
@media (max-width: 520px) {
  .photo-gallery { grid-template-columns: 1fr; }
  .lightbox { width: calc(100% - 16px); height: calc(100vh - 16px); height: calc(100dvh - 16px); padding: 10px; }
  .lightbox button { padding: 8px; font-size: .8rem; }
  .lightbox-controls { gap: 8px; }
  .lightbox-controls a { font-size: .76rem; }
  .lightbox-figure figcaption { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-background, .nav-toggle, .main-nav, .skip-link, .page-links, .hero-bottom, .topic-links, .lightbox { display: none !important; }
  .site-header { position: static; background: white; color: black; border-bottom: 1px solid #ccc; }
  .hero { color: black; padding: 30px 0; }
  .hero .eyebrow, .hero-subtitle { color: #333; }
  .panel { background: white; border: 0; padding: 20px 0; }
  .site-footer { background: white; color: black; border-top: 1px solid #ccc; }
  .site-footer .footer-funding p { color: black; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .publication, .team-card, figure { break-inside: avoid; }
  a { color: black; }
}
