:root {
  --paper: #f3f7fb;
  --surface: #fff;
  --ink: #101b2d;
  --muted: #5d6b7d;
  --faint: #d9e3ed;
  --line: #c6d3df;
  --cobalt: #1758e7;
  --cyan: #00a9c7;
  --cyan-soft: #dff7fb;
  --navy: #0a1730;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Liberation Mono", Menlo, monospace;
  --profile-width: clamp(300px, 28vw, 400px);
  --header-offset: 98px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }
main:focus { outline: none; }
.shell { width: min(1440px, calc(100% - 64px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 10px 14px; border: 2px solid var(--cobalt); background: var(--surface); color: var(--cobalt); font-weight: 700; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: rgba(243,247,251,.94); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: grid; grid-template-columns: minmax(280px,1fr) auto; align-items: center; gap: 32px; }
.identity { display: flex; align-items: center; gap: 18px; width: fit-content; text-decoration: none; }
.identity-mark { position: relative; width: 34px; height: 34px; border: 1px solid var(--cobalt); flex: none; }
.identity-mark::before, .identity-mark::after { content: ""; position: absolute; width: 7px; height: 7px; background: var(--cobalt); }
.identity-mark::before { top: -4px; right: -4px; }
.identity-mark::after { bottom: -4px; left: -4px; background: var(--cyan); }
.identity-name { display: block; font-size: 19px; font-weight: 760; letter-spacing: -.02em; }
.identity-lab { display: block; margin-top: 2px; color: var(--muted); font: 12px/1.35 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.site-header nav ul { display: flex; align-items: center; gap: 28px; padding: 0; margin: 0; list-style: none; }
.site-header nav a { display: inline-block; padding: 10px 0 8px; border-bottom: 2px solid transparent; color: #39485a; font-size: 14px; font-weight: 650; text-decoration: none; }
.site-header nav a:hover { color: var(--cobalt); border-color: var(--cobalt); }

.hero { position: relative; display: grid; grid-template-columns: minmax(0,1fr) var(--profile-width); column-gap: 80px; row-gap: 0; padding: 66px 0 54px; border-bottom: 1px solid var(--line); overflow: hidden; scroll-margin-top: var(--header-offset); }
.hero-copy { position: relative; z-index: 2; grid-column: 1; grid-row: 1; max-width: 930px; }
.eyebrow, .section-label, .pub-year, .card-meta { font-family: var(--mono); font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow, .section-label { font-size: 14px; }
.pub-year, .card-meta { font-size: 12px; }
.hero-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; color: var(--cobalt); font: 700 18px/1.35 var(--mono); letter-spacing: .045em; text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 42px; height: 3px; background: var(--cyan); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--cobalt); }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--cyan); }
h1 { max-width: 920px; margin: 0; font-size: clamp(50px,4.6vw,76px); line-height: 1; letter-spacing: -.05em; font-weight: 760; }
.hero-summary { max-width: 790px; margin: 28px 0 0; color: #3f5064; font-size: 20px; line-height: 1.58; }
.focus-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; list-style: none; }
.focus-list li { padding: 8px 12px 7px; border: 1px solid #b9cddd; background: rgba(255,255,255,.55); color: #34475b; font: 12px/1.25 var(--mono); }
.profile-card { position: relative; z-index: 2; grid-column: 2; grid-row: 1 / span 2; align-self: start; margin-top: 2px; border: 1px solid var(--navy); background: var(--surface); box-shadow: 10px 10px 0 var(--cyan-soft); }
.portrait-wrap { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #e8eef3; }
.portrait-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 31%; filter: saturate(.84) contrast(1.04); }
.portrait-wrap::after { content: ""; position: absolute; right: 14px; bottom: 14px; width: 22px; height: 22px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); }
.profile-meta { padding: 18px 20px 19px; border-top: 1px solid var(--navy); }
.profile-meta strong { display: block; font-size: 20px; letter-spacing: -.02em; }
.profile-meta > span { display: block; margin-top: 5px; color: var(--muted); font: 13px/1.55 var(--mono); }
.profile-meta a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.profile-meta a:hover { color: var(--cobalt); text-decoration-color: var(--cobalt); }
.profile-contact { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.profile-contact a { display: flex; justify-content: space-between; gap: 10px; min-width: 0; padding: 11px 14px; color: #34475b; font: 600 12px/1.35 var(--mono); text-decoration: none; }
.profile-contact a:nth-child(even) { border-right: 1px solid var(--line); }
.profile-contact a:nth-child(n+4) { border-top: 1px solid var(--line); }
.profile-contact .profile-email { grid-column: 1 / -1; padding: 13px 14px; border-bottom: 1px solid var(--line); color: var(--cobalt); }
.profile-contact a:hover { color: var(--cobalt); background: var(--cyan-soft); }
.profile-contact span { color: var(--cobalt); }
.network { position: absolute; z-index: 1; right: 245px; top: 14px; width: 330px; height: 220px; opacity: .58; pointer-events: none; }
.node, .edge { position: absolute; display: block; }
.node { z-index: 2; width: 8px; height: 8px; border: 2px solid var(--cobalt); background: var(--paper); border-radius: 50%; }
.n1 { left: 24px; top: 86px; } .n2 { left: 118px; top: 30px; } .n3 { left: 190px; top: 109px; border-color: var(--cyan); } .n4 { left: 296px; top: 49px; } .n5 { left: 275px; top: 177px; border-color: var(--cyan); }
.edge { z-index: 1; height: 1px; background: #9eb5ca; transform-origin: left center; }
.e1 { width: 111px; left: 29px; top: 89px; transform: rotate(-31deg); } .e2 { width: 105px; left: 123px; top: 35px; transform: rotate(48deg); } .e3 { width: 121px; left: 195px; top: 112px; transform: rotate(-30deg); } .e4 { width: 132px; left: 194px; top: 114px; transform: rotate(31deg); } .e5 { width: 260px; left: 29px; top: 91px; transform: rotate(20deg); }

.news { grid-column: 1; grid-row: 2; width: 100%; padding-top: 42px; scroll-margin-top: var(--header-offset); }
.news .section-label { margin-bottom: 12px; }
.news-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.news-list li { padding: 14px 0 15px; border-bottom: 1px solid var(--line); }
.news-tag { display: block; margin-bottom: 5px; color: var(--cobalt); font-family: var(--mono); font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.news-list p { margin: 0; color: #33455a; font-size: 16px; line-height: 1.52; }
.news-list cite { font-style: normal; font-weight: 650; }
.news-list a { text-decoration: none; } .news-list a:hover { color: var(--cobalt); }

.outputs-section { padding: 88px 0 96px; }
.outputs-heading { margin-bottom: 36px; }
.content-grid { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.38fr); }
.panel { min-width: 0; padding: 0 36px 0 0; scroll-margin-top: var(--header-offset); }
.panel + .panel { padding-left: 34px; border-left: 1px solid var(--line); }
.section-label { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--cobalt); }
.section-label::before { content: ""; width: 6px; height: 6px; background: var(--cyan); }
.project-list, .publication-list { padding: 0; margin: 0; list-style: none; }
.project-list li { padding: 12px 0 13px; border-top: 1px solid var(--faint); }
.project-list li:last-child, .publication-list li:last-child { border-bottom: 1px solid var(--faint); }
.project-list strong { display: block; font-size: 19px; letter-spacing: -.02em; }
.project-list strong a, .publication-list cite a { text-decoration: none; }
.project-list strong a:hover, .publication-list cite a:hover { color: var(--cobalt); }
.project-list li > span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.publication-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 9px 0 11px; border-top: 1px solid var(--faint); }
.pub-year { padding-top: 3px; color: var(--cobalt); letter-spacing: .04em; }
.publication-list cite { display: block; color: #27374a; font-size: 16px; font-style: normal; font-weight: 650; line-height: 1.42; }
.publication-list small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.text-link { display: inline-block; margin-top: 17px; color: var(--cobalt); font: 13px/1.4 var(--mono); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.research-band { padding: 88px 0 76px; color: white; background: var(--navy); scroll-margin-top: var(--header-offset); }
.research-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.78fr); gap: 90px; }
.section-intro h2, .section-heading h2 { margin: 0; font-size: clamp(34px,4vw,58px); line-height: 1.05; letter-spacing: -.045em; }
.research-band .eyebrow { color: #78e5f1; }
.research-copy { padding-top: 42px; color: #c6d1df; font-size: 18px; line-height: 1.6; }
.research-copy p { margin: 0 0 20px; }
.research-band .text-link { color: #78e5f1; }
.research-band a:focus-visible { outline-color: #78e5f1; }
.research-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 66px; padding: 0; border: 1px solid #32425a; list-style: none; }
.metric-grid li { min-height: 160px; padding: 26px; border-right: 1px solid #32425a; }
.metric-grid li:last-child { border-right: 0; }
.metric-grid strong { display: block; color: #78e5f1; font: 42px/1 var(--mono); letter-spacing: -.06em; }
.metric-grid span { display: block; max-width: 210px; margin-top: 19px; color: #b8c6d8; font-size: 15px; line-height: 1.45; }
.detail-section { padding: 88px 0 96px; }
.leadership-section { padding-top: 88px; border-top: 1px solid var(--line); scroll-margin-top: var(--header-offset); }
.leadership-intro { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(300px,.95fr); gap: 90px; align-items: end; }
.leadership-summary { max-width: 560px; margin: 0 0 3px; color: var(--muted); font-size: 18px; line-height: 1.62; }
.section-heading { max-width: 840px; }
.section-heading > p:not(.eyebrow) { max-width: 610px; margin-top: 22px; color: var(--muted); font-size: 18px; }
.funded-projects { margin-top: 54px; }
.grant-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grant-grid article { min-width: 0; padding: 27px 25px 30px; border-right: 1px solid var(--line); }
.grant-grid article:first-child { padding-left: 0; } .grant-grid article:last-child { padding-right: 0; border-right: 0; }
.card-meta { color: var(--cobalt); }
.grant-grid h4 { margin: 18px 0 11px; font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }
.grant-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.grant-grid small { display: block; margin-top: 15px; color: var(--cobalt); font: 12px/1.4 var(--mono); }
.visit-section { margin-top: 54px; }
.visit-section > .section-label { margin-bottom: 16px; }
.visit-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.visit-grid article { min-width: 0; padding: 22px 25px 24px; border-right: 1px solid var(--line); }
.visit-grid article:first-child { padding-left: 0; }
.visit-grid article:last-child { padding-right: 0; border-right: 0; }
.visit-grid strong, .visit-grid article > span, .visit-grid small { display: block; }
.visit-grid strong { margin-top: 12px; font-size: 17px; line-height: 1.4; }
.visit-grid article > span:not(.card-meta) { margin-top: 3px; color: var(--muted); font-size: 14px; }
.visit-grid small { margin-top: 11px; color: var(--muted); font: 12px/1.5 var(--mono); }
.teaching-section { padding: 88px 0 90px; border-block: 1px solid var(--line); background: #eaf1f7; scroll-margin-top: var(--header-offset); }
.teaching-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 92px; }
.course-list { border-top: 1px solid #b7c6d4; }
.course-list article { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 21px 0; border-bottom: 1px solid #b7c6d4; }
.course-list article > span { color: var(--cobalt); font: 12px/1.5 var(--mono); text-transform: uppercase; }
.course-list h3 { margin: 0; font-size: 20px; }
.course-note { color: var(--muted); font-size: .72em; font-weight: 550; white-space: nowrap; }
.course-list p { grid-column: 2; margin: -12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
footer { border-top: 1px solid var(--line); color: var(--muted); font: 11px/1.4 var(--mono); letter-spacing: .03em; }
.footer-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner a { color: var(--cobalt); text-decoration: none; }

@media (max-width: 1100px) {
  :root { --header-offset: 140px; }
  .shell { width: min(100% - 40px,940px); }
  .header-inner { grid-template-columns: 1fr; gap: 9px; padding: 16px 0 13px; }
  .site-header nav ul { gap: 24px; }
  .hero { column-gap: 42px; }
  .network { right: 160px; opacity: .34; }
  .content-grid { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
  .leadership-intro { gap: 48px; }
  .research-layout { gap: 54px; }
  .metric-grid, .grant-grid, .visit-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid li:nth-child(2), .grant-grid article:nth-child(2), .visit-grid article:nth-child(2) { border-right: 0; }
  .metric-grid li:nth-child(-n+2) { border-bottom: 1px solid #32425a; }
  .grant-grid article:nth-child(-n+2), .visit-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grant-grid article:nth-child(3), .visit-grid article:nth-child(3) { padding-left: 0; }
  .teaching-layout { gap: 50px; }
}

@media (max-width: 760px) {
  :root { --header-offset: 20px; }
  .shell { width: min(100% - 28px,620px); }
  .site-header { position: static; }
  .site-header nav ul { flex-wrap: wrap; gap: 2px 18px; }
  .hero { grid-template-columns: 1fr; row-gap: 34px; padding-top: 42px; } h1 { font-size: clamp(41px,12vw,60px); } .hero-summary { font-size: 18px; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .hero-kicker { font-size: 16px; }
  .profile-card { grid-column: 1; grid-row: 2; justify-self: center; width: min(100%,360px); }
  .news { grid-column: 1; grid-row: 3; width: 100%; padding-top: 0; } .network { right: -90px; top: 140px; }
  .content-grid { display: block; } .panel { padding: 0; } .panel + .panel { margin-top: 38px; padding: 38px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .research-band, .detail-section, .outputs-section, .teaching-section { padding-block: 64px; }
  .leadership-intro, .research-layout, .teaching-layout { grid-template-columns: 1fr; gap: 30px; }
  .research-copy { padding-top: 0; }
  .metric-grid, .grant-grid, .visit-grid { grid-template-columns: 1fr; }
  .metric-grid li, .metric-grid li:nth-child(2) { border-right: 0; border-bottom: 1px solid #32425a; }
  .metric-grid li:last-child { border-bottom: 0; }
  .grant-grid article, .grant-grid article:nth-child(3), .visit-grid article, .visit-grid article:nth-child(3) { padding-inline: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .grant-grid article:last-child, .visit-grid article:last-child { border-bottom: 0; }
  .course-list article { grid-template-columns: 1fr; gap: 8px; } .course-list p { grid-column: 1; margin: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
