/* Self-hosted variable fonts (SIL OFL) — avoids third-party requests to Google Fonts (GDPR). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/Inter-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/Inter-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/SourceSerif4-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/SourceSerif4-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/SourceSerif4-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/SourceSerif4-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fbfaf7;
  --text: #1f1d1a;
  --muted: #6b665e;
  --rule: #e4e0d8;
  --accent: #1d5a7a;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #161513; --text: #e9e6e0; --muted: #a09a90; --rule: #2e2c28; --accent: #7fb6d4; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 var(--serif);
}
.wrap { max-width: 720px; margin: 0 auto; padding: 64px 24px 48px; }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
a:hover { border-bottom-color: currentColor; }

.intro { display: flex; gap: 32px; align-items: center; justify-content: space-between; margin-bottom: 40px; }
h1 { font-size: 2rem; line-height: 1.2; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.role { font: 500 0.95rem/1.5 var(--sans); color: var(--muted); margin: 0 0 16px; }
.links { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 500 0.9rem var(--sans); }
.photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.initials { display: grid; place-items: center; background: var(--rule); color: var(--muted); font: 600 2rem var(--sans); }

section { margin-bottom: 44px; }
h2 {
  font: 600 0.8rem var(--sans); text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin: 0 0 18px; padding-bottom: 8px; border-bottom: 1px solid var(--rule);
}
p { margin: 0 0 14px; }
.lead { color: var(--muted); }

.themes dt { font-weight: 600; margin-top: 14px; }
.themes dd { margin: 2px 0 0; }

.pubs { list-style: none; padding: 0; margin: 0; }
.pubs li { margin-bottom: 18px; }
.pubs span { display: block; }
.pubs .title { font-weight: 600; line-height: 1.4; }
.pubs .authors { font-size: 0.95rem; }
.pubs .venue { font: 0.85rem/1.5 var(--sans); color: var(--muted); }
.note { font-size: 0.95rem; color: var(--muted); }

.cv { list-style: none; padding: 0; margin: 0 0 18px; }
.cv li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 0.97rem; }
.cv time { font: 0.85rem var(--sans); color: var(--muted); white-space: nowrap; padding-top: 3px; }

footer { border-top: 1px solid var(--rule); padding-top: 16px; font: 0.8rem var(--sans); color: var(--muted); }

@media (max-width: 560px) {
  .wrap { padding: 40px 20px 32px; }
  .intro { flex-direction: column-reverse; align-items: flex-start; gap: 20px; }
  .photo { width: 104px; height: 104px; }
  h1 { font-size: 1.65rem; }
}
