:root {
  color-scheme: light;
  --paper: #f8f8f6;
  --ink: #242824;
  --muted: #657069;
  --accent: #236a4d;
  --line: #dedfda;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #8cae9e; outline-offset: 3px; }
button, input { font: inherit; }
.skip-link { position: absolute; top: -100px; left: 10px; padding: 12px; color: white; background: #1e3b2c; z-index: 20; }
.skip-link:focus { top: 10px; }
.page { width: min(1040px, calc(100% - 72px)); margin: 0 auto; }
.profile-layout { display: grid; grid-template-columns: minmax(0,1fr) 238px; column-gap: clamp(28px,5vw,64px); align-items: start; }
.profile { grid-column: 1; grid-row: 1; min-width: 0; padding: 30px 0 0; }
.profile-layout > main { grid-column: 1; grid-row: 2; min-width: 0; }
.profile h1 { font-size: clamp(36px, 5.2vw, 55px); letter-spacing: -1.7px; font-weight: 620; line-height: 1.14; margin: 0 0 26px; }
.about { max-width: 625px; }
.about p { font-size: 17px; line-height: 1.65; margin: 0 0 17px; }
.field-name { font-weight: 610; }
.profile-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.profile-links a { display: inline-block; color: var(--accent); font-size: 17px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding: 2px 1px; line-height: 1.4; }
.profile-links a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.profile-links-separator { color: var(--muted); font-weight: 500; }
.portrait { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin: 30px 0 0; width: 238px; max-width: 100%; height: auto; overflow: visible; border-radius: 4px; background: #e6e1d7; box-shadow: 0 1px 10px rgba(0,0,0,.055); }
.portrait img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; object-position: center; aspect-ratio: auto; }
.bibliography { padding: 30px 0 80px; }

.section-title-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; }
h2 { margin: 0; font-size: 31px; font-weight: 620; letter-spacing: -.75px; line-height: 1.25; }
.publication-count { font-size: 13px; color: var(--muted); }
.tools { margin: 25px 0 25px; display: flex; align-items: center; gap: 18px; }
.tools input { width: min(420px,100%); padding: 10px 13px; border: 1px solid #cdd5cf; border-radius: 4px; background: #fff; color: var(--ink); font-size: 14px; }
.tools input::placeholder { color: #87918b; }
.tools button { background: transparent; color: var(--accent); border: 0; padding: 6px 0; font-size: 13px; cursor: pointer; text-decoration: underline; }
.year-group { display: grid; grid-template-columns: 140px minmax(0,1fr); border-top: 1px solid var(--line); padding: 25px 0 0; gap: 22px; }
.year-group + .year-group { margin-top: 14px; }
.year-group h3 { margin: 0; font-size: 22px; font-weight: 600; color: #3f5d4d; line-height: 1.4; }
.review-year-group h3 { font-size: 20px; white-space: nowrap; }
.publication { padding: 0 0 26px; }
.publication + .publication { padding-top: 24px; border-top: 1px solid #ebebe6; }
.pub-authors { font-size: 14px; line-height: 1.5; margin: 0 0 3px; color: #4f5a53; }
.pub-title { margin: 0 0 5px; font-size: 16px; line-height: 1.45; font-weight: 650; }
.pub-title a { color: var(--ink); text-decoration: none; }
.pub-title a:hover { color: var(--accent); text-decoration: underline; }
.pub-details { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0 0 9px; }
.pub-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.pub-links a { display: inline-flex; align-items: center; padding: 3px 9px; border: 1px solid #cbded0; border-radius: 4px; background: #edf4ee; color: var(--accent); font-size: 12px; font-weight: 650; text-decoration: none; }
.pub-links a:hover { text-decoration: underline; background: #e1eee4; }
.loading-state, .empty-state { padding: 22px 0; font-size: 14px; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding: 27px 0 40px; color: var(--muted); font-size: 12px; }
footer p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 680px) {
 .page { width: min(100% - 40px, 560px); }
 .profile-layout { grid-template-columns: minmax(0,1fr) 125px; column-gap: 18px; }
 .profile { grid-column: 1; grid-row: 1; padding-top: 22px; }
 .profile h1 { font-size: clamp(30px,7vw,41px); letter-spacing: -.8px; margin-bottom: 20px; }
 .about p { font-size: 15px; margin-bottom: 13px; overflow-wrap: anywhere; }
 .portrait { grid-column: 2; grid-row: 1; width: 125px; margin-top: 22px; }
 .profile-layout > main { grid-column: 1 / -1; grid-row: 2; }
 .bibliography { padding-top: 26px; }
 .year-group { display: block; padding-top: 17px; }
 .year-group h3 { margin-bottom: 19px; }
 .publication { padding-bottom: 22px; }
 .publication + .publication { padding-top: 22px; }
}
@media (max-width: 440px) {
 .profile-layout { grid-template-columns: minmax(0,1fr) 114px; column-gap: 14px; }
 .portrait { width: 114px; }
 .profile h1 { margin: 0 0 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Native HTML hiding for the optional client-side search. */
[hidden] { display: none !important; }
