:root {
  color-scheme: light;
  --ink: #131e30;
  --navy: #0b152a;
  --navy-deep: #091223;
  --mint: #84ebd5;
  --teal: #126957;
  --paper: #f6f5ef;
  --white: #fffefa;
  --muted: #4f5d66;
  --stroke: #d9ded7;
  --display: Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid #168873; outline-offset: 5px; }
.hero :focus-visible, .site-header :focus-visible, .contact :focus-visible, footer :focus-visible { outline-color: var(--mint); }
:target { scroll-margin-top: 100px; }
.wrap { width: min(1180px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 10px 16px; background: var(--mint); color: var(--navy); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 3; background: var(--navy-deep); color: #f3f6f7; border-bottom: 1px solid #ffffff1c; }
.header-inner { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 12px; text-decoration: none; }
.brand strong, .brand small { display: block; line-height: 1.15; }
.brand strong { font: bold 23px/1.12 var(--display); letter-spacing: -.45px; }
.brand small { margin-top: 6px; font-size: 8px; font-weight: 650; letter-spacing: .17em; color: #b1c1ce; }
nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
nav a { font-size: 14px; font-weight: 550; text-decoration: none; color: #d1dae4; }
nav a:hover, footer a:hover { color: var(--mint); }
.nav-contact { padding: 8px 13px; border: 1px solid #45616a; border-radius: 5px; color: var(--mint); }
.nav-contact span { margin-left: 5px; }
.menu-toggle { display: none; color: var(--mint); background: transparent; border: 1px solid #45616a; border-radius: 5px; padding: 6px 11px; cursor: pointer; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #f3f5f6; }
.hero-art { position: absolute; z-index: -1; inset: 0; }
.hero-art::before { position: absolute; content: ""; inset: 0 0 0 38%; background: linear-gradient(90deg, var(--navy), transparent 36%), linear-gradient(0deg, var(--navy), transparent 18%, transparent 84%, var(--navy)), url("assets/network.jpg") center 52%/cover; }
.hero-inner { position: relative; min-height: 610px; padding-block: 82px 94px; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--teal); font-size: 11px; line-height: 1.4; font-weight: 750; letter-spacing: .17em; }
.eyebrow span { width: 23px; height: 1px; background: currentColor; }
.hero .eyebrow, .contact .eyebrow { color: var(--mint); }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; }
h1 { margin-top: 24px; font-size: clamp(66px, 7.1vw, 108px); line-height: .94; }
h1 em { color: var(--mint); font-weight: inherit; }
.hero-summary { max-width: 444px; margin-top: 26px; color: #d1dce8; font-size: 17px; line-height: 1.6; }
.hero-actions, .link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-actions { margin-top: 29px; }
.button { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; gap: 15px; border: 1px solid transparent; border-radius: 5px; padding: 8px 16px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color .18s, border-color .18s; }
.primary { background: var(--mint); color: #0c2c2c; }
.primary:hover { background: #b1f4e5; }
.secondary { border-color: #536776; color: #e9eff4; background: #0b152aaf; }
.secondary:hover { border-color: var(--mint); }

.section { padding-block: 78px 88px; }
.section h2 { margin-top: 10px; font-size: clamp(44px, 5.3vw, 71px); line-height: 1.04; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 26px; }
.section-heading > p { max-width: 385px; margin-bottom: 3px; color: var(--muted); }
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; margin-top: 32px; }
.research-card, .software-card { display: flex; flex-direction: column; align-items: flex-start; padding: 25px; border: 1px solid var(--stroke); border-radius: 9px; background: var(--white); }
.research-icon { display: grid; place-items: center; width: 51px; height: 51px; margin-bottom: 21px; border-radius: 8px; background: #e0f1ea; color: var(--teal); }
.research-icon svg { width: 29px; height: 29px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.research-icon circle { fill: #e0f1ea; }
.research-card h3, .software-card h3, .profile h3 { font: 400 28px/1.15 var(--display); letter-spacing: -.03em; }
.research-card p, .software-card p { margin: 9px 0 20px; color: var(--muted); font-size: 15px; }
.text-link { display: inline-flex; align-items: baseline; gap: 7px; width: fit-content; color: var(--teal); font-size: 14px; font-weight: 720; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.research-card .text-link, .software-card .text-link { margin-top: auto; }

.people, .software { background: #eaf0eb; }
.profile { display: grid; grid-template-columns: 148px minmax(0, 1fr); align-items: center; gap: 29px; margin-top: 27px; padding: 25px; background: var(--white); border: 1px solid var(--stroke); border-radius: 9px; max-width: 800px; }
.profile h3 { font-size: 34px; }
.profile p { color: var(--muted); }
.profile .profile-role { color: var(--teal); font-weight: 650; margin: 5px 0; }
.link-row { margin-top: 13px; }

.paper-list, .news-list { margin-top: 23px; border-top: 1px solid var(--stroke); }
.paper { display: grid; grid-template-columns: 64px minmax(0, 1fr) 42px; gap: 17px; align-items: start; padding: 22px 4px; border-bottom: 1px solid var(--stroke); }
.paper:target { background: #e6f0e8; }
.paper time, .venue, .news-list time { font-size: 13px; font-weight: 720; color: var(--teal); }
.paper h3, .news-list h3 { margin: 3px 0 5px; font: 400 24px/1.22 var(--display); letter-spacing: -.02em; }
.paper p:not(.venue), .news-list p { color: var(--muted); font-size: 14px; }
.paper-link { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #bdcdc3; border-radius: 50%; text-decoration: none; color: var(--teal); }
.paper-link:hover { background: #deeee3; }
.software-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 21px; margin-top: 27px; }
.news-list article { display: grid; grid-template-columns: 135px minmax(0, 1fr); gap: 15px; padding-block: 20px; border-bottom: 1px solid var(--stroke); }
.news-list time { margin-top: 7px; }
.news-list h3 a { text-decoration: none; }
.news-list h3 a:hover { text-decoration: underline; }
.news-list h3 span { color: var(--teal); font: 15px var(--body); }

.contact { background: var(--navy); color: #f3f5f6; }
.contact-inner { display: flex; align-items: end; justify-content: space-between; gap: 38px; }
.contact p:not(.eyebrow) { max-width: 440px; color: #d1dce8; margin: 15px 0 23px; }
.contact address { color: #d1dce8; border-left: 1px solid #476073; padding-left: 25px; font-style: normal; padding-right: 55px; }
footer { background: var(--navy-deep); color: #f3f5f6; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 91px; }
.footer-inner > a:last-child { font-size: 13px; text-decoration: none; }

@media (min-width: 1500px) {
  .hero-art::before { inset-inline: 39% max(0px, calc((100vw - 1590px) / 2)); mask-image: linear-gradient(90deg, #000 91%, transparent); }
}
@media (max-width: 950px) {
  .wrap { width: calc(100% - 64px); }
  .hero-inner { min-height: 565px; padding-block: 76px 82px; }
  .hero-art::before { inset-inline-start: 34%; }
  .research-card { padding: 20px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 42px); }
  .header-inner { min-height: 68px; flex-wrap: wrap; gap: 12px; }
  nav { width: 100%; flex-wrap: wrap; gap: 8px 20px; padding-bottom: 14px; }
  .menu-toggle { display: inline-block; }
  nav.has-toggle { display: none; }
  nav.has-toggle.is-open { display: flex; }
  .hero-inner { min-height: 540px; padding-block: 70px 74px; }
  .hero-art::before { inset-inline-start: 22%; opacity: .64; background-position: center, center, 53% 52%; }
  h1 { font-size: clamp(61px, 10.7vw, 78px); }
  .section { padding-block: 60px 66px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .research-grid { grid-template-columns: 1fr; gap: 13px; margin-top: 24px; }
  .research-icon { margin-bottom: 14px; }
  .contact address { padding-right: 0; }
}
@media (max-width: 480px) {
  .hero-inner { min-height: 0; padding-block: 63px 69px; }
  .hero-art::before { inset-inline-start: 10%; opacity: .46; }
  h1 { font-size: clamp(42px, 13vw, 61px); }
  .hero-summary { font-size: 16px; }
  .hero-actions { gap: 9px; }
  .button { padding-inline: 12px; gap: 8px; font-size: 13px; }
  .profile { grid-template-columns: 1fr; gap: 14px; padding: 19px; }
  .paper { grid-template-columns: minmax(0, 1fr) 38px; gap: 5px 12px; }
  .paper time { grid-column: 1 / -1; }
  .paper h3, .news-list h3 { font-size: 21px; }
  .paper-link { width: 38px; height: 38px; }
  .software-grid { grid-template-columns: 1fr; gap: 13px; }
  .news-list article { grid-template-columns: 1fr; gap: 3px; }
  .contact-inner { align-items: start; flex-direction: column; gap: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.header-inner nav { gap: clamp(12px, 2vw, 27px); }
nav [aria-current="page"] { color: var(--mint); text-decoration: underline; text-decoration-thickness: 1px; }
.university-mark { margin-inline-start: auto; margin-inline-end: 16px; }
.university-mark img { display: block; width: clamp(115px, 13vw, 150px); height: auto; }
.profile-photo { display: block; width: 100%; height: auto; border-radius: 7px; }
.profile { max-width: 935px; grid-template-columns: minmax(130px, 165px) minmax(0, 1fr); }
.profile-history { margin-top: 6px; }
#publications .paper { grid-template-columns: 80px minmax(0, 1fr) 42px; }
.paper h3 a { text-decoration: none; }
.paper h3 a:hover { color: var(--teal); text-decoration: underline; }
.paper .authors { overflow-wrap: anywhere; }
.publication-note { display: block; color: var(--muted); font-size: 13px; margin-top: 5px; }
.undated { color: var(--muted); }

.page-intro { background: radial-gradient(ellipse at 83% 0%, #16394a, var(--navy) 43%); color: #f3f5f6; padding: 44px 0 66px; }
.page-intro .eyebrow { margin-top: 31px; color: var(--mint); }
.page-intro h1 { max-width: 1100px; margin-top: 13px; font-size: clamp(48px, 7vw, 88px); }
.page-intro .hero-summary { max-width: 620px; margin-top: 16px; }
.back-link { color: #d6e2e9; text-decoration: none; font-size: 14px; }
.back-link:hover { color: var(--mint); text-decoration: underline; }
.back-link span { padding-right: 7px; }

.directory h2, .publication-group h2 { font-size: clamp(35px, 4.2vw, 54px); }
.directory .directory-heading { margin-top: 51px; }
.directory .member-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin-top: 24px; }
.member-card { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: start; gap: 15px; padding: 17px; border-radius: 9px; border: 1px solid var(--stroke); background: var(--white); }
.member-portrait { width: 80px; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 6px; }
.member-initials { display: grid; place-items: center; background: #dfede8; color: var(--teal); font: 25px var(--display); }
.member-info h3, .alumni-subheading { font: 400 22px/1.14 var(--display); letter-spacing: -.015em; overflow-wrap: anywhere; }
.member-info p { font-size: 14px; color: var(--muted); margin-top: 5px; }
.member-info .member-role { color: var(--teal); font-weight: 680; }
.member-info .text-link { margin-top: 7px; }
.alumni-subheading { margin-top: 36px; }
.alumni-list { padding: 0; margin: 14px 0 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px 19px; }
.alumni-list li { color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--stroke); }
.tool-card h2 { font-size: 36px; }
.tool-card .venue { color: var(--teal); margin: 0; }
.tool-card p { margin-bottom: 9px; }
.software > .software-grid { margin-top: 0; }

.catalog-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .4fr); gap: 9px 16px; max-width: 820px; }
.catalog-controls label { display: block; font-size: 14px; color: var(--ink); font-weight: 680; margin-bottom: 5px; }
.catalog-controls input, .catalog-controls select { min-height: 46px; width: 100%; color: var(--ink); border: 1px solid #b9c8c1; border-radius: 6px; background: var(--white); padding: 9px 13px; font: inherit; }
.catalog-count { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.catalog-links { display: flex; flex-wrap: wrap; gap: 7px 13px; margin: 19px 0 34px; }
.catalog-links a { color: var(--teal); border: 1px solid #bbcec2; font-size: 13px; padding: 6px 11px; text-decoration: none; border-radius: 20px; font-weight: 650; }
.catalog-links a:hover { background: #e0f1ea; }
.publication-group + .publication-group { margin-top: 59px; }
.publication-group h2 { margin-top: 0; }
.empty-result { padding-block: 25px; color: var(--muted); }

.teaching { background: #eaf0eb; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; gap: 12px; margin: 25px 0 0; padding: 0; }
.course-grid li { display: flex; flex-direction: column; gap: 5px; background: var(--white); border: 1px solid var(--stroke); border-radius: 7px; padding: 16px; }
.course-grid span, .grant-years { color: var(--teal); font-size: 13px; font-weight: 700; }
.course-grid strong { font: 400 22px/1.2 var(--display); }
.grant-group { margin-top: 17px; border: 1px solid var(--stroke); border-radius: 7px; background: var(--white); padding: 0 19px; }
.grant-group summary { cursor: pointer; color: var(--teal); padding: 13px 0; }
.grant-group summary h3 { display: inline; font: 700 16px/1.4 var(--body); }
.grant-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 13px; border-top: 1px solid var(--stroke); padding: 14px 0; }
.grant-row h4 { margin: 2px 0; font: 400 22px/1.2 var(--display); }
.grant-row h4 a:hover { color: var(--teal); }
.grant-meta { color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  nav a { font-size: 13px; }
  .directory .member-grid, .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .header-inner { min-height: 68px; flex-wrap: wrap; gap: 12px; }
  nav { width: 100%; flex-wrap: wrap; gap: 8px 20px; padding-bottom: 14px; }
  .menu-toggle { display: inline-block; }
  nav.has-toggle { display: none; }
  nav.has-toggle.is-open { display: flex; }
}
@media (max-width: 590px) {
  .catalog-controls, .directory .member-grid, .course-grid { grid-template-columns: 1fr; }
  .alumni-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { min-height: 120px; flex-wrap: wrap; padding-block: 15px; }
  .university-mark { margin-inline-end: 0; }
}
@media (max-width: 480px) {
  #publications .paper { grid-template-columns: minmax(0, 1fr) 38px; }
  .page-intro { padding-block: 34px 51px; }
  .profile { grid-template-columns: 1fr; }
  .profile-photo { max-width: 150px; }
  .grant-row { grid-template-columns: 1fr; gap: 4px; }
}

.paper-details, .grant-row > div { min-width: 0; overflow-wrap: anywhere; }
.page-intro h1, .publication-group h2, .tool-card h2 { overflow-wrap: anywhere; }
