:root {
  color-scheme: light;
  --ink: #122f32;
  --body: #314e50;
  --accent: #176b69;
  --line: #d7e1df;
  --wash: #f0f6f4;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.62; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: #0b4c49; }
:focus-visible { outline: 3px solid #3d8894; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: pretty; }
p { color: var(--body); }
p + p { margin-top: .8em; }
.wrap { width: min(1290px, 90%); margin-inline: auto; }
.skip { position: absolute; left: 0; top: -100px; z-index: 10; background: white; padding: 8px; }
.skip:focus { top: 0; }
.top { border-top: 4px solid var(--ink); border-bottom: 1px solid var(--line); background: white; }
.top .wrap { min-height: 84px; display: flex; gap: 36px; align-items: center; justify-content: space-between; }
.brand { text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 16px; line-height: 1.2; white-space: nowrap; }
.brand strong { font: bold 29px/.93 var(--serif); letter-spacing: -.055em; }
.brand span { border-left: 1px solid #b6c7c5; padding-left: 15px; font-size: 14px; font-weight: 500; }
.primary { display: flex; gap: clamp(12px, 1.65vw, 27px); align-items: center; }
.primary a { font-size: 14px; text-decoration: none; color: var(--ink); white-space: nowrap; line-height: 2; border-bottom: 2px solid transparent; }
.primary a:hover, .primary a[aria-current] { border-color: var(--accent); }
.primary .portal-link { padding: 3px 14px; border: 1px solid #96b3ae; border-radius: 20px; }
.primary .portal-link[aria-current], .primary .portal-link:hover { background: var(--wash); border-color: var(--accent); }
.toggle { display: none; background: white; color: var(--ink); border: 1px solid #aac0bd; padding: 7px 14px; border-radius: 4px; font: inherit; font-size: 15px; }
.kicker { font-size: 14px; color: var(--accent); letter-spacing: .11em; font-weight: 650; text-transform: uppercase; }
.home-hero { display: grid; grid-template-columns: 1fr 1.07fr; gap: clamp(32px,5vw,92px); align-items: center; padding-block: clamp(48px,6vw,96px); }
.home-hero h1 { font-size: clamp(52px,5.7vw,91px); line-height: 1.04; letter-spacing: -.052em; margin: 16px 0 24px; }
.home-hero p { max-width: 49ch; font-size: 19px; }
.button { display: inline-flex; margin-top: 23px; padding: 10px 19px; background: var(--ink); color: white; border-radius: 3px; font-size: 15px; font-weight: 600; text-decoration: none; }
.button:hover { color: white; background: #24605c; }
.image-mat { display: grid; place-items: center; background: var(--wash); padding: clamp(12px,2vw,28px); overflow: hidden; }
.image-mat img { max-height: 450px; width: 100%; object-fit: contain; }
figcaption { color: #506968; font-size: 14px; margin-top: 9px; }
.home-directions { background: var(--wash); padding-block: clamp(34px, 4vw, 60px); }
.home-directions h2 { font-size: clamp(32px, 3vw, 44px); line-height: 1.15; margin-bottom: 26px; }
.direction-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.direction-pair img { width: 100%; height: auto; }
.direction-pair figcaption { margin-top: 19px; }
.direction-pair h3 { color: var(--ink); font-size: clamp(25px, 2.35vw, 36px); line-height: 1.18; letter-spacing: -.025em; }
.direction-pair p { font-size: 17px; margin-top: 10px; max-width: 58ch; }
.intro { padding-block: clamp(40px,5vw,70px) 32px; }
.intro h1 { font-size: clamp(48px,6vw,85px); line-height: 1.08; letter-spacing: -.05em; }
.intro p { max-width: 64ch; margin-top: 15px; font-size: 19px; }
.topic { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(30px,5vw,100px); align-items: center; padding-block: clamp(38px,4.3vw,70px); border-top: 1px solid var(--line); scroll-margin-top: 18px; }
.topic h2 { margin: 8px 0 18px; font-size: clamp(31px,3.2vw,51px); letter-spacing: -.045em; line-height: 1.12; }
.topic p { max-width: 61ch; }
.topic .reading { font-size: 15px; margin-top: 17px; }
.topic .image-mat { min-height: 250px; }
.theme-copy { min-width: 0; }
.theme-copy h3 { margin: 21px 0 8px; font: 600 15px/1.4 "Segoe UI", Arial, sans-serif; }
.theme-papers { margin: 0; padding: 0; list-style: none; }
.theme-papers li { padding: 7px 0; font-size: 15px; line-height: 1.42; }
.theme-papers a { text-decoration-color: #94b1ac; }
.citation-meta { display: block; font-size: 13px; color: #4c6664; margin-top: 3px; }
.more-papers { margin-top: 12px; }
.more-papers summary { width: fit-content; cursor: pointer; color: var(--accent); font-size: 15px; }
.more-papers[open] summary { margin-bottom: 5px; }
.all-papers { padding: 0 0 48px; }
.content { max-width: 990px; padding-block: 5px 64px; }
.content h2 { font-size: 31px; line-height: 1.23; margin: 24px 0 12px; }
.content h3 { font-size: 24px; line-height: 1.28; margin: 8px 0; }
.content article { border-top: 1px solid var(--line); padding: 20px 0; }
.content time { font-size: 14px; color: var(--accent); }
.content ul { padding-left: 1.4em; }
.content li { margin-bottom: 10px; }
.content article img { max-width: min(180px,100%); max-height: 220px; object-fit: contain; }
.content .pi-profile { display: flex; gap: clamp(18px, 4vw, 52px); align-items: flex-start; padding: 30px 0; }
.pi-profile img { width: min(30%,180px); height: auto; }
.pi-profile h2, .news .entry h2, .publications .entry h2 { margin-top: 6px; }
.publications .entry h2 a { color: var(--ink); text-decoration-thickness: 1px; text-decoration-color: #b6c9c7; }
.publications .entry > p:first-child { font-size: 14px; color: var(--accent); }
.resource { background: var(--wash); padding: 25px 30px; max-width: 650px; }
.resource h2 { margin-top: 0; }
.methods-panel { background: #eaf3f2; padding: clamp(24px,3vw,42px); border-left: 3px solid #437c79; }
.methods-panel dl { margin: 0; }
.methods-panel dl > div { padding: 11px 0; }
.methods-panel dl > div + div { border-top: 1px solid #bad0cc; }
.methods-panel dt { font-size: 14px; color: var(--accent); }
.methods-panel dd { margin: 0; font: 23px/1.45 var(--serif); }
footer { border-top: 1px solid var(--line); padding-block: 30px; }
footer .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
footer strong { font: 22px var(--serif); }
footer p, footer a { font-size: 14px; }
@media(max-width: 960px) {
  .top .wrap { flex-wrap: wrap; gap: 0; min-height: 72px; }
  .toggle { display: inline-block; }
  .primary { width: 100%; flex-wrap: wrap; padding: 6px 0 15px; gap: 10px 22px; }
  .js .primary:not(.open) { display: none; }
}
@media(max-width: 680px) {
  .content .pi-profile { flex-direction: column; }
  .home-hero,.topic { grid-template-columns: 1fr; gap: 22px; }
  .home-hero { padding-block: 35px; }
  .topic figure { order: 2; }
  .direction-pair { grid-template-columns: 1fr; gap: 32px; }
  .topic .image-mat { min-height: auto; }
  .home-hero h1 { font-size: clamp(46px,11vw,67px); }
  .brand { gap: 10px; }
  .brand span { padding-left: 10px; }
  footer .wrap { align-items: flex-start; flex-direction: column; gap: 6px; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
