@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-sans-regular.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-sans-semibold.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/ibm-plex-sans-bold.ttf') format('truetype'); }
:root { --bg: #fff; --ink: #17191c; --muted: #51565c; --line: #ced1d5; --accent: #20252c; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 'IBM Plex Sans', Arial, sans-serif; }
p, h1, h2, h3, h4 { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #222; outline-offset: 5px; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.site-shell { max-width: 1240px; margin: auto; padding: 0 52px; }
.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); gap: 24px; }
.wordmark { font-size: 28px; font-weight: 700; letter-spacing: -1px; }
.wordmark-dot, .name-period { display: none; }
nav { display: flex; gap: 28px; align-items: center; font-size: 16px; font-weight: 600; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-cv { border: 1px solid var(--ink); padding: 4px 16px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 248px; gap: 64px; padding: 56px 0 48px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; margin-bottom: 16px; color: var(--muted); }
.hero h1 { font-size: clamp(44px, 5vw, 62px); font-weight: 700; line-height: 1.1; letter-spacing: -1.8px; margin-bottom: 18px; }
.affiliation { font-size: 19px; margin-bottom: 28px; }
.affiliation span { font-size: 16px; color: var(--muted); }
.research-statement { font-size: 31px; line-height: 1.25; font-weight: 600; letter-spacing: -.5px; margin-bottom: 18px; }
.bio { max-width: 740px; font-size: 18px; line-height: 1.75; color: #34383e; }
.contact-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 16px; margin-top: 24px; }
.contact-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.email-link { background: var(--ink); color: white; padding: 8px 18px; }
.email-link:hover { background: #383d44; text-decoration: none; }
.hero-side { padding-top: 5px; }
.portrait { width: 248px; height: 274px; object-fit: cover; object-position: center 35%; }
.portrait-note { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); padding: 12px 0 16px; }
.research-index { padding-top: 18px; }
.research-index > p { font-size: 12px; letter-spacing: 1px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.research-index a { display: flex; gap: 10px; padding: 6px 0; font-size: 14px; line-height: 1.5; }
.research-index a span { color: var(--muted); font-variant-numeric: tabular-nums; }
.updates { display: grid; grid-template-columns: 90px 1fr; gap: 24px; border-block: 1px solid var(--line); padding: 22px 0; }
.updates h2 { font-size: 16px; font-weight: 600; }
.updates p { display: grid; grid-template-columns: 90px 1fr; gap: 18px; font-size: 16px; }
.updates p + p { margin-top: 9px; }
.updates time { color: var(--muted); font-size: 15px; }
.updates a, .text-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.research-section { padding-top: 52px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2, .about h2 { font-size: 32px; line-height: 1.25; font-weight: 600; letter-spacing: -.6px; }
.section-heading > p { font-size: 14px; color: var(--muted); }
.paper { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 36px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line); }
.paper-visual { min-width: 0; }
.figure-button { display: flex; align-items: center; justify-content: center; position: relative; width: 100%; min-height: 250px; padding: 12px; border: 1px solid var(--line); background: #fff; }
.figure-button:hover { border-color: #20252c; }
.figure-button img { width: 100%; height: auto; max-height: 440px; object-fit: contain; }
.zoom-mark { position: absolute; right: 8px; bottom: 3px; font-size: 18px; }
.paper-meta { font-size: 14px; font-weight: 600; line-height: 1.55; margin-bottom: 10px; color: #3f444c; }
.paper h3 { font-size: 22px; font-weight: 600; line-height: 1.35; letter-spacing: -.25px; margin-bottom: 12px; }
.authors { font-size: 16px; line-height: 1.6; color: var(--muted); }
.authors b, .authors strong { font-weight: 600; color: var(--ink); }
.authors u { text-underline-offset: 3px; }
.paper-description { font-size: 17px; line-height: 1.65; margin: 12px 0; color: #3f444c; }
.paper-award { font-size: 15px; margin-top: 10px; }
.paper-links { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; }
.paper-links a { display: inline-flex; align-items: center; min-height: 40px; border-bottom: 1px solid #92969b; }
.paper-text-only { grid-template-columns: 1fr; }
.paper-text-only .paper-copy { max-width: 900px; }
.background, .community { padding: 52px 0; border-bottom: 1px solid var(--line); }
.background-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-top: 30px; }
.minor-title { font-size: 18px; font-weight: 600; margin-bottom: 22px; }
.timeline-item { margin-bottom: 26px; padding-left: 18px; border-left: 2px solid #b4b8bd; }
.dates { font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.timeline-item h4 { font-size: 18px; line-height: 1.5; font-weight: 600; }
.timeline-item > p:last-child { font-size: 16px; color: var(--muted); }
.awards-title { margin-top: 30px; }
.award { display: grid; grid-template-columns: 48px 1fr; gap: 12px; font-size: 16px; color: var(--muted); margin-bottom: 16px; }
.award strong { color: var(--ink); font-weight: 600; }
.text-link { font-size: 16px; }
.print-link { display: table; margin-top: 14px; }
.teaching-item { padding-bottom: 18px; font-size: 16px; }
.teaching-item h4 { font-size: 17px; font-weight: 600; line-height: 1.5; margin-bottom: 5px; }
.teaching-item .dates { display: block; }
.more-background { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.more-background summary { cursor: pointer; font-size: 17px; font-weight: 600; }
.project-description, .skill-list { font-size: 16px; color: var(--muted); margin-top: 14px; }
.skill-list { padding-left: 18px; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 48px 0; }
.about > div > p:not(.eyebrow) { font-size: 17px; color: var(--muted); margin-bottom: 18px; }
footer { border-top: 2px solid var(--ink); padding: 22px 0 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--muted); }
dialog { width: min(1280px, 96vw); max-height: 94vh; padding: 0; border: 1px solid #555; background: #fff; color: var(--ink); }
dialog::backdrop { background: #000b; }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; border-bottom: 1px solid var(--line); background: #fff; font-size: 16px; position: sticky; top: 0; }
.dialog-bar button { border: 1px solid var(--ink); padding: 5px 12px; background: #fff; min-height: 44px; }
.dialog-image-wrap { padding: 20px; overflow: auto; }
.dialog-image-wrap img { width: auto; max-height: 75vh; margin: auto; }
#figure-caption { padding: 0 20px 20px; text-align: center; font-size: 15px; }
.skip { position: absolute; top: -80px; left: 12px; padding: 10px; background: #111; color: #fff; z-index: 100; }
.skip:focus { top: 10px; }
body.modal-open { overflow: hidden; }
.timeline-item h4, .paper-copy, .project-description { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .site-shell { padding: 0 30px; }
  .hero { grid-template-columns: minmax(0, 1fr) 200px; gap: 32px; }
  .portrait { width: 200px; height: 225px; }
  .paper { gap: 26px; }
  .background-columns, .about { gap: 36px; }
  .section-heading > p { display: none; }
}
@media (max-width: 680px) {
  .site-shell { padding: 0 20px; }
  .site-header { min-height: 78px; gap: 12px; }
  .wordmark { font-size: 25px; }
  nav { gap: 14px; font-size: 14px; }
  .nav-cv { padding: 3px 10px; }
  .hero { display: flex; flex-direction: column; padding: 36px 0; gap: 28px; }
  .hero h1 { font-size: 46px; letter-spacing: -1px; }
  .affiliation { font-size: 18px; }
  .affiliation span { font-size: 15px; }
  .research-statement { font-size: 28px; }
  .bio { font-size: 17px; }
  .hero-side { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px 18px; align-items: start; }
  .portrait { width: 112px; height: 130px; grid-row: 1 / 3; }
  .portrait-note { padding: 0; border: 0; font-size: 14px; }
  .research-index { padding: 0; }
  .research-index > p { display: none; }
  .research-index a { font-size: 13px; gap: 8px; padding: 4px 0; }
  .updates { grid-template-columns: 1fr; gap: 12px; }
  .updates p { grid-template-columns: 74px 1fr; gap: 12px; font-size: 15px; }
  .updates time { font-size: 14px; }
  .section-heading h2, .about h2 { font-size: 28px; }
  .research-section { padding-top: 40px; }
  .paper { grid-template-columns: 1fr; gap: 22px; padding: 28px 0; }
  .figure-button { min-height: 240px; padding: 12px; }
  .figure-button img { max-height: 440px; }
  .paper h3 { font-size: 21px; }
  .paper-description { font-size: 16px; }
  .paper-links a { min-height: 44px; }
  .background, .community { padding: 40px 0; }
  .background-columns, .about { grid-template-columns: 1fr; gap: 28px; }
  .dialog-image-wrap { padding: 12px; }
}
@media (max-width: 360px) {
  .site-shell { padding: 0 16px; }
  nav { gap: 10px; font-size: 13px; }
  .nav-cv { padding: 3px 7px; }
  .hero h1 { font-size: 42px; }
  .hero-side { grid-template-columns: 90px minmax(0, 1fr); gap: 8px 12px; }
  .portrait { width: 90px; height: 112px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-shell { max-width: none; padding: 0; }
  .site-header, .hero-side, dialog, .zoom-mark, .skip { display: none; }
  .hero { display: block; padding: 20px 0; }
  .paper { break-inside: avoid; }
  .paper-links a { min-height: auto; }
  .more-background > div { display: grid; }
}
