* { box-sizing: border-box; }
:root { --paper: #fbfaf7; --ink: #201e1d; --red: #a83220; --line: #d8d4ce; --quiet: #59544f; --serif: "Baskervville", "Iowan Old Style", Georgia, serif; --sans: "Inter", system-ui, sans-serif; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 var(--sans); }
.container { width: min(1160px, 89%); margin-inline: auto; }
a { color: var(--red); text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #4874a4; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 2; top: -5rem; left: 1rem; background: white; padding: .6rem; }
.skip-link:focus { top: 1rem; }
.mast, nav, .actions, .footer-inner, .social { display: flex; align-items: center; gap: 1.5rem; }
.mast, .footer-inner { justify-content: space-between; }
.mast { padding-block: 1.2rem; border-bottom: 1px solid var(--ink); }
.signature { font: bold 1.65rem var(--serif); letter-spacing: -.055em; }
.signature span, h1 span { color: var(--red); }
.mast a { text-decoration: none; color: var(--ink); }
nav a:hover { text-decoration: underline; }
nav, .actions, .social { flex-wrap: wrap; }
.hero { display: grid; align-items: center; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 5.5vw, 5.5rem); }
.eyebrow, .date, .software-meta, .awards span, sup { font: .88rem/1.45 "IBM Plex Mono", ui-monospace, monospace; }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .09em; color: var(--red); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(4.7rem, 9vw, 8.8rem); line-height: .82; letter-spacing: -.075em; margin: .25em 0 .26em; }
h1 em { font-weight: 400; }
.bio { max-width: 49ch; font-size: clamp(1.05rem, 1.45vw, 1.22rem); }
.actions { margin-top: 1.5rem; gap: 1.25rem; font-weight: 550; }
.button { background: var(--ink); color: white; text-decoration: none; padding: .65rem 1.1rem; }
.button:hover { background: var(--red); }
.portrait { max-width: 26rem; width: 100%; justify-self: end; border-bottom: .45rem solid var(--red); }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: 30% center; }
h2 { font-size: clamp(2.45rem, 4.5vw, 4.4rem); letter-spacing: -.06em; line-height: 1; margin: 0; }
h3 { line-height: 1.16; font-size: clamp(1.55rem, 2.2vw, 2.1rem); letter-spacing: -.035em; margin: 0; }
.research { padding-block: clamp(3rem, 5vw, 5rem); background: #242321; color: #fffaf2; }
.directions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5%; margin-top: 2rem; }
.directions article { display: flex; flex-direction: column; border-top: 1px solid #77736d; padding-top: 1.5rem; }
.directions article p { color: #ded8d1; }
.directions article div { margin-top: auto; }
.directions a { color: #ffc7aa; }
.section { padding-block: clamp(3rem, 5vw, 5rem); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 5%; }
sup { vertical-align: top; color: var(--red); }
.publication, .timeline article, .awards li { border-top: 1px solid var(--line); padding-block: 1.45rem; }
.publication:first-child, .timeline article:first-child, .awards li:first-child { border-top: 0; padding-top: 0; }
.publication h3 a { color: inherit; text-decoration: none; }
.publication h3 a:hover { color: var(--red); text-decoration: underline; }
.publication p, .timeline p { margin: .45rem 0 0; }
.venue, .date, .software-meta, .awards span, .timeline p { color: var(--quiet); }
.paper-links { font-weight: 550; }
.software-item { border-left: 4px solid var(--red); padding-inline-start: 1.5rem; }
.software-item h3 { font-size: 2.6rem; }
.software-item p:last-child { margin-bottom: 0; }
.timeline article, .awards li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; }
.awards { margin: 0; list-style: none; padding: 0; }
footer { background: var(--ink); color: white; padding-block: 1.2rem; }
footer a { color: #fff6ef; }
@media (max-width: 760px) {
 .hero { grid-template-columns: 1fr .8fr; gap: 1rem; }
 .directions, .section { grid-template-columns: 1fr; gap: 1.8rem; }
 .research h3 { max-width: 32ch; }
 .directions article p { max-width: 66ch; }
}
@media (max-width: 580px) {
 .mast, .footer-inner { align-items: flex-start; flex-direction: column; gap: .75rem; }
 nav { column-gap: 1rem; row-gap: .4rem; }
 .hero { grid-template-columns: 1fr; gap: 2rem; }
 .portrait { width: min(100%, 22rem); justify-self: center; }
 .timeline article, .awards li { grid-template-columns: 1fr; gap: .4rem; }
}
