:root { --ink: #252c2a; --muted: #606b64; --accent: #286557; --rule: #dcded5; }
html { scroll-padding-top: 2rem; }
body { -webkit-font-smoothing: antialiased; }
a { text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: #173e35; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ad692d; outline-offset: 5px; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 10000; background: #fff; padding: .65rem 1rem; }
.skip-link:focus { top: 1rem; }
.navbar { padding: 1.05rem 0; border-bottom: 1px solid var(--rule); }
.navbar > .container-fluid { max-width: 1120px; padding-inline: 28px; }
.navbar-brand { font-family: Georgia, serif; font-size: 1.36rem; letter-spacing: -.035em; }
.navbar-nav { gap: .65rem; }
.navbar-nav .nav-link { font-size: .86rem; padding-inline: .6rem !important; }
.navbar-nav .nav-link.active { text-decoration: underline; text-underline-offset: .5em; }
#quarto-content { max-width: 1120px; margin-inline: auto; }
.page-columns { grid-template-columns: [screen-start] 1.5rem [body-start-outset body-start] minmax(0, 1fr) [body-end body-end-outset] 1.5rem [screen-end] !important; }
main.content { padding-top: 3.3rem; padding-bottom: 3rem; }
#title-block-header { margin-bottom: 2.5rem; }
h1.title { font-size: clamp(2.5rem, 5vw, 3.7rem); letter-spacing: -.045em; line-height: 1.1; }
h2 { font-size: 1.9rem; letter-spacing: -.025em; border-bottom: 0; margin-top: 2.6rem; padding-bottom: 0; }
h3 { font-size: 1.38rem; line-height: 1.35; }
.subtitle, .deck { max-width: 720px; color: var(--muted); font-size: 1.12rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 260px; column-gap: 5rem; align-items: center; padding: .5rem 0 3.3rem; }
.eyebrow { font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.15rem; }
.hero h1 { font-size: clamp(3.7rem, 7vw, 5.2rem); line-height: 1.02; font-weight: 400; letter-spacing: -.055em; margin: 0 0 .75rem; }
.affiliation { color: var(--muted); font-size: .9rem; margin-bottom: 1.7rem; }
.bio { font-size: 1.15rem; line-height: 1.65; max-width: 660px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.55rem; font-size: .86rem; }
.portrait { margin: 0; }
.portrait img { width: 260px; height: 328px; object-fit: cover; object-position: center 35%; border-radius: 2px; display: block; }
.portrait figcaption { color: var(--muted); font-size: .72rem; margin-top: .75rem; text-align: left; }
.section-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; border-top: 1px solid var(--rule); padding-top: 1.65rem; margin-top: .75rem; }
.section-top h2 { margin: 0; }
.section-top a { font-size: .8rem; }
.research-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2.3rem; margin: 2rem 0 3.5rem; }
.research-grid h3 { margin-top: .65rem; font-size: 1.28rem; }
.research-grid p { font-size: .9rem; color: var(--muted); }
.number { color: var(--accent); font-size: .7rem; letter-spacing: .12em; }
.paper { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 1.1rem; padding: 1.75rem 0; border-bottom: 1px solid var(--rule); }
.paper h3 { margin: 0 0 .55rem; font-size: 1.35rem; }
.paper h3 a { color: var(--ink); text-decoration: none; }
.paper h3 a:hover { color: var(--accent); text-decoration: underline; }
.paper p { margin: .4rem 0; font-size: .9rem; }
.paper .authors { font-size: .82rem; color: var(--muted); }
.paper .paper-meta { font-size: .72rem; color: var(--muted); padding-top: .15rem; }
.paper .paper-links { display: flex; gap: 1.2rem; font-size: .77rem; margin-top: .65rem; }
.research-section { max-width: 820px; padding: .2rem 0 1.3rem; border-bottom: 1px solid var(--rule); }
.research-section p { color: #465049; }
.note { border-left: 2px solid var(--accent); padding: .3rem 0 .3rem 1.3rem; margin: 2rem 0; max-width: 760px; color: var(--muted); font-size: .9rem; }
.button-link { display: inline-block; background: var(--accent); color: #fff; padding: .65rem 1.2rem; border-radius: 2px; text-decoration: none; font-size: .88rem; }
.button-link:hover { color: #fff; background: #173e35; }
.contact-email { font-family: Georgia, serif; font-size: clamp(1.3rem, 4vw, 2rem); overflow-wrap: anywhere; }
.contact-details { margin-top: 2.6rem; border-top: 1px solid var(--rule); padding-top: 1.6rem; color: var(--muted); }
.nav-footer { max-width: 1064px; margin: 0 auto; padding: 1.6rem 0; border-top: 1px solid var(--rule); font-size: .75rem; color: var(--muted); }
.nav-footer a { color: var(--muted); }
@media (max-width: 767px) {
 main.content { padding-top: 2.1rem; }
 .hero { grid-template-columns: minmax(0,1fr) 170px; gap: 1.5rem; align-items: start; }
 .portrait img { width: 170px; height: 224px; }
 .hero h1 { font-size: 3.5rem; }
 .bio { font-size: 1.02rem; }
 .research-grid { gap: 1.3rem; }
 .navbar-nav { padding-top: 1rem; gap: .2rem; }
}
@media (max-width: 560px) {
 .hero { display: flex; flex-direction: column; padding-bottom: 2.2rem; }
 .portrait { display: flex; gap: 1rem; align-items: end; }
 .portrait img { width: 130px; height: 162px; }
 .portrait figcaption { max-width: 135px; }
 .research-grid { grid-template-columns: 1fr; gap: .9rem; margin-bottom: 2.5rem; }
 .research-grid h3 { margin-top: .3rem; }
 .paper { grid-template-columns: 1fr; gap: .45rem; }
 .paper .paper-meta br { display: none; }
 .nav-footer { padding-inline: 1.5rem; }
}
@media print { .navbar, .nav-footer, .skip-link { display:none; } body { background: #fff; } .hero { grid-template-columns: 1fr 180px; } .portrait img { width:180px; height:220px; } }
/* Quarto wraps Markdown link groups in a paragraph. */
.hero-links > p, .paper-links > p { display: flex; flex-wrap: wrap; gap: .5rem 1.35rem; margin: 0; }
.paper-meta { display: flex; flex-direction: column; }
@media (max-width: 560px) { .paper-meta { display: block; } .paper-meta br::after { content: ' · '; } }
.hero-copy, .hero > *, .paper > *, main.content { min-width: 0; }
@media (max-width: 560px) {
 .eyebrow { font-size: .65rem; letter-spacing: .1em; }
 .portrait.figure { display: flex; align-items: center; }
 .paper .paper-meta br { display: block; }
}

/* Publications: one chronological page, with a figure for every entry. */
.publication-key { color: var(--muted); font-size: .82rem; }
.publication-years { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; margin: 1.4rem 0 2.3rem; font-size: .86rem; }
.publication { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 2rem; border-bottom: 1px solid var(--rule); padding: 1.8rem 0; scroll-margin-top: 6rem; }
.publication-figure { margin: 0; min-width: 0; }
.publication-figure > a { display: flex; align-items: center; justify-content: center; height: 158px; background: #fff; border: 1px solid var(--rule); padding: .65rem; border-radius: 3px; }
.publication-figure img { width: 100%; height: 100%; object-fit: contain; margin: 0; }
.publication-figure figcaption { font-size: .64rem; color: var(--muted); margin-top: .45rem; line-height: 1.45; }
.publication-body { min-width: 0; }
.publication-body h3 { margin: 0 0 .6rem; font-size: 1.32rem; }
.publication-body h3 a { text-decoration: none; color: var(--ink); }
.publication-body h3 a:hover { text-decoration: underline; color: var(--accent); }
.publication-authors { font-size: .79rem; line-height: 1.65; color: var(--muted); margin-bottom: .55rem; }
.publication-authors strong { color: var(--ink); font-weight: 600; }
.publication-authors sup, .publication-key sup { color: var(--accent); font-size: .9em; }
.publication-venue { font-size: .84rem; margin: .35rem 0 .7rem; }
.publication-links { display: flex; gap: 1.2rem; font-size: .8rem; }
.cv-date { display: block; font-size: .8rem; color: var(--muted); margin-top: .7rem; }
@media (max-width: 767px) { .publication { grid-template-columns: 155px minmax(0,1fr); gap: 1.2rem; } .publication-figure > a { height: 130px; } }
@media (max-width: 560px) { .publication { grid-template-columns: 1fr; gap: 1rem; } .publication-figure { width: min(100%, 260px); } .publication-figure > a { height: 160px; } }

.publication-badge { display: inline-block; margin-left: .45rem; padding: .06rem .45rem; border: 1px solid #b8cbbf; border-radius: 3px; color: #286557; background: #eef3ed; font-size: .72rem; font-weight: 600; white-space: nowrap; }
