@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/libre-baskerville-regular.ttf") format("truetype");
}
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/libre-baskerville-bold.ttf") format("truetype");
}
:root {
  color-scheme: light;
  --page: #fffefc;
  --ink: #332d29;
  --body: #514a44;
  --muted: #7b7067;
  --accent: #9a3e43;
  --rule: #e8dfd4;
  --intro: #403832;
  --hover: #742b32;
  --surface: #f5efe6;
  --selection: #edd5ce;
  --selection-ink: #56262b;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #1b1918;
  --ink: #f1e8df;
  --body: #d1c6bc;
  --muted: #b2a397;
  --accent: #e6a09a;
  --rule: #3e3530;
  --intro: #dfd3c9;
  --hover: #ffc3b8;
  --surface: #272320;
  --selection: #663b3b;
  --selection-ink: #fff4eb;
}
* { box-sizing: border-box; }
html { background: var(--page); }
body { margin: 0; color: var(--body); font-size: 16px; line-height: 1.8; }
button, input, select, textarea { font: inherit; }
a { color: var(--accent); text-decoration-color: transparent; text-underline-offset: 4px; transition: color .15s, text-decoration-color .15s; }
a:hover { color: var(--hover); text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
::selection { background: var(--selection); color: var(--selection-ink); }
.site-shell { width: min(960px, calc(100% - 64px)); min-height: 100svh; margin-inline: auto; display: flex; flex-direction: column; }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 28px 23px; border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: baseline; gap: 11px; color: var(--ink); font-family: inherit; font-size: 22px; letter-spacing: -.6px; text-decoration: none; white-space: nowrap; }
.wordmark .wordmark-dot { color: var(--accent); }
/* The logo's visible bottom sits on the text baseline; its image stays unchanged. */
.wordmark-logo { position: relative; display: block; flex: 0 0 24px; width: 24px; height: 26px; overflow: hidden; mix-blend-mode: multiply; }
.wordmark-logo img { position: absolute; display: block; width: 50px; height: 50px; max-width: none; left: -13.1px; top: -7.025px; }
[data-theme="dark"] .wordmark-logo { mix-blend-mode: screen; }
[data-theme="dark"] .wordmark-logo img { filter: invert(1); }
nav { display: flex; align-items: center; gap: 30px; }
nav a { position: relative; color: var(--muted); font-size: 14px; text-decoration: none; padding-block: 6px; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }
nav a[aria-current="page"]::after { content: ""; position: absolute; height: 2px; background: var(--accent); left: 0; right: 0; bottom: -24px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 34px; padding: 7px; color: var(--muted); background: transparent; border: 1px solid var(--rule); border-radius: 50%; cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { color: var(--ink); background: var(--surface); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun-icon { display: none; }
[data-theme="dark"] .theme-toggle .moon-icon { display: none; }
[data-theme="dark"] .theme-toggle .sun-icon { display: block; }
main { flex: 1; }
.bio-page { padding-top: 70px; }
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 184px; column-gap: 60px; align-items: start; }
.affiliation-logo { display: inline-flex; margin-bottom: 22px; }
.affiliation-logo img { display: block; width: 180px; height: 60px; object-fit: contain; }
.affiliation-logo .aub-logo-dark { display: none; }
[data-theme="dark"] .affiliation-logo .aub-logo-light { display: none; }
[data-theme="dark"] .affiliation-logo .aub-logo-dark { display: block; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; margin: 0 0 12px; }
.reading-time { white-space: nowrap; }
h1, h2, h3 { color: var(--ink); font-family: inherit; font-weight: 400; }
h1 { margin: 0 0 24px; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.22; letter-spacing: -1.25px; }
h2 { font-size: 23px; line-height: 1.35; letter-spacing: -.35px; margin: 0 0 18px; }
p { margin: 0 0 18px; }
.profile-copy p:last-child { margin-bottom: 0; }
.intro { color: var(--intro); }
.portrait { margin: 7px 0 0; }
.portrait img { display: block; width: 184px; height: 218px; object-fit: cover; object-position: 50% 45%; border-radius: 3px; background: var(--surface); }
.portrait figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; text-align: center; }
.contact-block { margin-top: 26px; }
.profile-links, .direct-links { display: flex; align-items: center; flex-wrap: wrap; column-gap: 27px; row-gap: 8px; }
.profile-links a, .direct-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; font-size: 14px; }
.profile-links a { color: var(--ink); }
.profile-links a:hover { color: var(--accent); }
.direct-links { margin-top: 8px; }
.direct-links a { color: var(--muted); }
.direct-links a:hover { color: var(--accent); }
.icon { width: 18px; height: 18px; flex: 0 0 18px; }
.link-detail { margin-left: 3px; font-size: 10px; letter-spacing: .5px; color: var(--muted); }
.interests { margin-top: 41px; padding-top: 30px; border-top: 1px solid var(--rule); }
.interest-list { list-style: none; display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px 30px; padding: 0; margin: 0; font-size: 15px; }
.interest-list li { position: relative; padding-left: 17px; }
.interest-list li::before { content: ""; position: absolute; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; left: 0; top: 11px; }
.beyond { margin-top: 33px; max-width: 700px; }
.beyond h2 { margin-bottom: 12px; }
.beyond p { font-size: 15px; }
.site-footer { margin-top: 58px; border-top: 1px solid var(--rule); padding-block: 21px 27px; display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 12px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.inner-page { padding-top: 65px; }
.page-heading { margin-bottom: 43px; }
.page-heading h1 { margin-bottom: 15px; }
.page-heading p { color: var(--muted); max-width: 630px; }
.publications-list { list-style: none; padding: 0; margin: 0; }
.publication { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 24px; padding-block: 28px 31px; border-top: 1px solid var(--rule); }
.publication-year { font-size: 13px; color: var(--muted); padding-top: 2px; }
.publication h2 { margin: 0 0 11px; font-size: 23px; line-height: 1.45; letter-spacing: -.25px; }
.publication p { font-size: 14px; line-height: 1.8; margin-bottom: 10px; }
.authors { color: var(--muted); }
.authors strong { color: var(--ink); font-weight: 700; }
.venue { color: var(--accent); }
.publication .paper-summary { margin-top: 13px; max-width: 760px; font-size: 15px; }
.publication .publication-links { display: flex; flex-wrap: wrap; column-gap: 22px; row-gap: 3px; margin: 13px 0 0; }
.publication-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.equal-note { display: block; font-size: 12px; }
.notes-placeholder { max-width: 650px; border-top: 1px solid var(--rule); padding-top: 32px; }
.notes-placeholder h2 { margin-bottom: 9px; }
.notes-placeholder p { color: var(--muted); font-size: 15px; }
.notes-placeholder .note-symbol { width: 30px; height: 30px; margin-bottom: 17px; color: var(--accent); }
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 10; padding: 8px 14px; background: var(--page); border: 1px solid var(--accent); }
.skip-link:focus { top: 12px; }
@media (max-width: 760px) {
  .site-shell { width: calc(100% - 44px); }
  .profile { grid-template-columns: minmax(0, 1fr) 150px; column-gap: 30px; }
  .portrait img { width: 150px; height: 180px; }
  h1 { font-size: 33px; }
  .bio-page, .inner-page { padding-top: 45px; }
  .interest-list { grid-template-columns: 1fr 1fr; font-size: 14px; }
}
@media (max-width: 560px) {
  body { font-size: 15px; line-height: 1.8; }
  .site-shell { width: calc(100% - 40px); }
  .site-header { align-items: flex-start; gap: 12px; flex-direction: column; padding-block: 20px 15px; }
  .wordmark { font-size: 22px; }
  nav { gap: 26px; width: 100%; }
  .theme-toggle { margin-left: auto; }
  nav a { font-size: 14px; padding-block: 6px; min-height: 36px; }
  nav a[aria-current="page"]::after { bottom: -16px; }
  .bio-page, .inner-page { padding-top: 36px; }
  .profile { display: flex; flex-direction: column; gap: 27px; }
  .portrait { order: -1; margin: 0; }
  .portrait img { width: 126px; height: 146px; }
  .portrait figcaption { display: none; }
  .eyebrow { font-size: 10px; letter-spacing: 1.4px; }
  h1 { font-size: 33px; letter-spacing: -.9px; margin-bottom: 20px; }
  h2 { font-size: 22px; }
  .contact-block { margin-top: 23px; }
  .profile-links { gap: 4px 21px; }
  .profile-links a, .direct-links a { font-size: 13px; min-height: 42px; }
  .direct-links { column-gap: 24px; row-gap: 0; margin-top: 3px; }
  .interests { margin-top: 28px; padding-top: 27px; }
  .interest-list { grid-template-columns: 1fr; gap: 10px; font-size: 14px; }
  .beyond { margin-top: 30px; }
  .site-footer { flex-direction: column; gap: 7px; margin-top: 37px; padding-block: 20px; font-size: 11px; }
  .page-heading { margin-bottom: 28px; }
  .publication { grid-template-columns: 1fr; gap: 7px; padding-block: 24px 26px; }
  .publication h2 { font-size: 22px; }
  .publication-year { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

.note-list-entry { border-top: 1px solid var(--rule); padding-top: 30px; max-width: 760px; }
.note-list-entry + .note-list-entry { margin-top: 28px; }
.note-list-entry h2 { font-size: 27px; line-height: 1.5; margin-bottom: 12px; }
.note-list-entry h2 a { color: var(--ink); }
.note-list-entry p:not(.eyebrow) { font-size: 15px; max-width: 700px; }
.read-note { font-size: 14px; display: inline-block; padding-block: 8px; }
.note-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; }
