:root {
  --ink: #14213d;
  --muted: #556070;
  --paper: #fbfcff;
  --white: #ffffff;
  --blue: #1865d8;
  --blue-dark: #0c3e8e;
  --aqua: #c9f0ed;
  --line: #dce3ef;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }
h1, h2 { font-family: var(--serif); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -.03em; margin-bottom: 2rem; }
h3 { font-size: 1.22rem; margin-bottom: .6rem; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin: 0 auto; }

.hero { min-height: 560px; color: white; background: radial-gradient(circle at 83% 15%, #3ab6b2 0 3%, transparent 3.2%), radial-gradient(circle at 78% 25%, rgba(57,182,178,.5) 0 8%, transparent 8.3%), linear-gradient(123deg, #0a2b62, #1261b5 55%, #0d4c9d); }
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 1.35rem; position: relative; }
.brand { display: flex; gap: .65rem; align-items: center; color: white; font-size: 1.25rem; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand-logo { width: 40px; height: 40px; flex: 0 0 auto; display: block; }
.brand > span > span { color: var(--aqua); }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { color: white; font-size: .92rem; text-decoration: none; }
.nav-links a:hover { color: var(--aqua); }
.menu-toggle { display: none; padding: .45rem .7rem; color: white; background: transparent; border: 1px solid rgba(255,255,255,.6); border-radius: 3px; font: inherit; font-size: .85rem; }
.hero-content { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 4rem; align-items: center; padding: 7.2rem 0 7rem; }
.hero-copy { min-width: 0; }
.hero-logo-panel { width: 100%; max-width: 310px; justify-self: end; padding: 1.15rem; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.75); border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.2); transform: rotate(2deg); }
.hero-logo-panel img { display: block; width: 100%; height: auto; border-radius: 14px; }
.eyebrow, .section-label, .role { margin-bottom: .65rem; text-transform: uppercase; font-size: .74rem; font-weight: 800; letter-spacing: .12em; }
.eyebrow { color: var(--aqua); }
.eyebrow a, a:hover { color: var(--aqua); }
h1 { max-width: 750px; margin-bottom: 1.2rem; font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -.06em; }
.lede { max-width: 680px; margin-bottom: 2rem; font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.55; }
.hero-actions { display: flex; gap: 1.35rem; align-items: center; }
.button { display: inline-block; padding: .75rem 1.15rem; color: var(--ink); background: var(--aqua); border-radius: 3px; font-weight: 800; text-decoration: none; }
.button:hover { color: var(--ink); background: white; }
.text-button { color: white; font-weight: 800; text-decoration: none; }
.text-button:hover { color: var(--aqua); }
.text-button span { margin-left: .25rem; }

.intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; padding: 7rem 0; }
.intro h2 { margin: 0; }
.intro > div > p { max-width: 610px; margin: .55rem 0 0; font-size: 1.2rem; }
.intro > div > .intro-note { margin-top: 1.4rem; color: var(--muted); font-size: 1rem; }
.section { padding: 6.5rem 0; }
.band { padding: 6.5rem 0; background: #edf4fc; }
.section-label { color: var(--blue); }
.cards { display: grid; gap: 1.25rem; }
.people-grid { grid-template-columns: repeat(4, 1fr); }
.card, .person-card { background: var(--white); border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 8px 24px rgba(20, 33, 61, .04); }
.card { padding: 1.65rem; }
.card p:last-child, .person-card p:last-child { margin-bottom: 0; color: var(--muted); }
.featured { border-top: 4px solid var(--blue); }
.role { color: var(--blue); }
.card h3 a, .person-card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover, .person-card h3 a:hover { color: var(--blue); }
.person-card { overflow: hidden; }
.portrait { width: 90%; aspect-ratio: 1.12 / 1; overflow: hidden; background: #d9e7f5; }
.portrait img { width: 90%; height: 90%; object-fit: cover; object-position: center top; display: block; filter: saturate(.92); }
.portrait-placeholder { display: grid; place-items: center; background: linear-gradient(145deg, #0c3e8e, #2fa5ad); color: white; font-family: var(--serif); font-size: 3.25rem; font-weight: 700; letter-spacing: -.08em; }
.person-content { padding: 1.4rem 1.45rem 1.55rem; }
.photo-note { margin: 1.35rem 0 0; color: var(--muted); font-size: .84rem; }

.research-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 4rem; }
.research-grid article { position: relative; padding: 1.6rem 0 1.6rem 3.5rem; border-top: 1px solid var(--line); }
.research-grid article:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.research-grid span { position: absolute; left: 0; top: 1.75rem; color: var(--blue); font-weight: 800; font-size: .8rem; }
.research-grid p { color: var(--muted); margin-bottom: 0; }
.project-grid { grid-template-columns: repeat(2, 1fr); }
.project-card { min-height: 220px; display: flex; flex-direction: column; }
.project-card h3 { font-family: var(--serif); font-size: 2rem; }
.arrow-link { margin-top: auto; font-weight: 800; text-decoration: none; }
.arrow-link span { padding-left: .25rem; font-size: 1.25rem; }
.publication-note { margin: -1rem 0 2rem; color: var(--muted); }
code { padding: .1rem .35rem; background: #edf1f7; font-size: .9em; }
.bibliography { max-width: 900px; }
.bibliography ol { margin: 0; padding-left: 1.5rem; }
.bibliography li { padding: 1rem 0 .95rem .35rem; border-top: 1px solid var(--line); }
.bibliography li:last-child { border-bottom: 1px solid var(--line); }
.publication-authors { color: var(--ink); }
.publication-venue, .publication-status { color: var(--muted); }
.publication-error { padding: 1rem; border-left: 4px solid #b42318; background: #fff2f0; color: #7a271a; }
footer { padding: 2.5rem 0; color: #dce8f7; background: var(--ink); font-size: .9rem; }
.footer-content { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.footer-content p { margin: 0; }
.footer-content a { color: var(--aqua); }

@media (max-width: 760px) {
  .nav { padding-top: 1rem; align-items: center; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; z-index: 2; top: 4.4rem; right: 0; width: min(270px, 100%); padding: .6rem; flex-direction: column; gap: 0; background: #0c3e8e; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 14px 25px rgba(0,0,0,.18); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: .7rem .85rem; }
  .hero { min-height: 500px; }
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; padding: 6rem 0 5rem; }
  .hero-logo-panel { width: min(250px, 75vw); justify-self: start; transform: none; }
  .intro, .people-grid, .research-grid, .project-grid { grid-template-columns: 1fr; }
  .intro { gap: 1.25rem; padding: 4.5rem 0; }
  .band, .section { padding: 4.5rem 0; }
  .research-grid article:nth-last-child(-n+2) { border-bottom: 0; }
  .research-grid article:last-child { border-bottom: 1px solid var(--line); }
  .footer-content { align-items: start; flex-direction: column; gap: 1rem; }
}
@media (max-width: 440px) {
  .wrap { width: min(100% - 2rem, 1120px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
}