:root {
  color-scheme: light;
  --text: #454a4d;
  --link: #224b8d;
  --muted: #70777c;
  --background: #f0eee6;
  --line: #dcd9d0;
  --header-height: 55px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--background); color: var(--text); font: 15px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: rgba(34,75,141,.35); transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
a:hover { color: #142f60; text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; border-radius: 2px; }
.skip-link { position: fixed; top: -80px; left: 15px; z-index: 30; padding: 10px 16px; background: var(--link); color: #fff; }
.skip-link:focus { top: 8px; color: #fff; }
.masthead { position: sticky; top: 0; z-index: 10; min-height: var(--header-height); border-bottom: 1px solid var(--line); background: var(--background); }
.navigation { max-width: 1200px; min-height: var(--header-height); margin: auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.navigation a { text-decoration: none; color: #565c60; white-space: nowrap; }
.site-title { font-weight: 700; padding: 15px 0; }
.navigation-links { display: flex; gap: 22px; align-items: center; min-height: var(--header-height); }
.navigation-links a { font-size: 13px; padding: 15px 0; position: relative; }
.navigation-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--link); transform: scaleX(0); transition: transform .15s ease; }
.navigation-links a:hover::after, .navigation-links a[aria-current="location"]::after { transform: scaleX(1); }
.menu-toggle { display: none; }
.layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; max-width: 1200px; margin: 0 auto; padding: 22px 24px 42px; }
.profile { align-self: start; position: sticky; top: 83px; padding-top: 21px; }
.avatar { display: block; width: 175px; height: 175px; padding: 5px; border: 1px solid var(--line); border-radius: 50%; object-fit: contain; object-position: center; }
.profile h1 { color: #252b30; font-size: 23px; line-height: 1.25; margin: 16px 0 8px; letter-spacing: -.6px; }
.profile p { margin: 0 0 18px; }
.profile .position { line-height: 1.7; margin-bottom: 13px; font-size: 14px; }
.cv-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; margin: 0 0 20px; padding: 8px 14px; border: 1px solid rgba(34,75,141,.55); border-radius: 6px; background: rgba(255,255,255,.3); color: var(--link); font-size: 14px; font-weight: 600; text-decoration: none; }
.cv-button svg { width: 17px; height: 17px; }
.cv-button:hover { color: #fff; background: var(--link); }
.profile-links { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.profile-links li { display: flex; gap: 7px; align-items: baseline; margin: 0 0 11px; }
.profile-links a { color: var(--text); text-decoration: none; }
.profile-links a:hover { color: var(--link); text-decoration: underline; }
.icon { flex: 0 0 16px; width: 16px; height: 16px; font-size: 16px; text-align: center; line-height: 1; align-self: center; }
.linkedin { font: bold 11px Arial,sans-serif; background: #337bab; color: #fff; height: 13px; width: 13px; flex-basis: 13px; margin-right: 3px; border-radius: 1px; }
.orcid { font: bold 10px/16px Arial,sans-serif; border-radius: 50%; background: #6a8c20; color: white; }
.scholar { transform: rotate(-12deg); }
.content { min-width: 0; }
.last-updated { text-align: right; font-size: 11px; letter-spacing: .15px; color: var(--muted); margin: 0 0 18px; }
.research-tagline { position: relative; margin: 3px 0 24px; color: #141413; font: italic 600 clamp(23px, 2.5vw, 32px)/1.35 Georgia, "Times New Roman", serif; }
.tagline-animated { display: none; }
.is-typing .tagline-full { opacity: 0; }
.is-typing .tagline-animated { display: block; position: absolute; inset: 0; }
.is-typing .tagline-animated::after { content: ""; display: inline-block; width: 1.5px; height: .9em; margin-left: 3px; vertical-align: -.06em; background: currentColor; }
section { scroll-margin-top: 0; }
section + section { margin-top: 32px; }
p { margin: 0 0 14px; }
h2 { border-bottom: 1px solid var(--line); color: #252b30; font: 500 24px/1.4 Georgia, "Times New Roman", serif; letter-spacing: -.25px; padding-bottom: 9px; margin: 0 0 15px; }
#about-me p { line-height: 1.75; }
h3 { font-size: 16px; margin: 20px 0 8px; }
ul { padding-left: 29px; margin: 8px 0 16px; }
li { padding-left: 1px; margin-bottom: 8px; }
li ul { margin: 6px 0 13px; padding-left: 23px; }
.publication { margin: 0 0 22px; }
.publication + .publication { border-top: 1px solid rgba(73,78,82,.1); padding-top: 22px; }
.publication-title { margin: 0 0 6px; color: #30383f; line-height: 1.6; }
.publication .venue { display: block; font-size: 13px; font-weight: normal; color: #656c71; margin-top: 4px; }
.authors { margin: 0 0 9px; font-size: 14px; line-height: 1.65; }
.paper-links { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; font-size: 12px; }
.paper-links a { white-space: nowrap; text-decoration: none; padding: 2px 9px; border: 1px solid rgba(34,75,141,.2); border-radius: 4px; background: rgba(255,255,255,.22); }
.paper-links a:hover { border-color: var(--link); background: rgba(34,75,141,.06); }
.news-list .date { font-size: 13px; font-style: normal; font-variant-numeric: tabular-nums; }
.date { font-style: italic; color: #646b70; }
.footer { margin-top: 42px; padding: 18px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer p { margin: 0 0 5px; }
@media (min-width: 1450px) { .layout { padding-top: 22px; } }
@media (max-width: 1150px) {
  .navigation { gap: 28px; }
  .navigation-links { gap: 18px; }
  .navigation-links a { font-size: 13px; }
  .layout { grid-template-columns: 205px minmax(0,1fr); gap: 30px; }
}
@media (max-width: 1100px) {
  .navigation { flex-wrap: wrap; justify-content: space-between; gap: 0; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; background: transparent; border: 1px solid var(--line); border-radius: 5px; padding: 9px; height: 36px; width: 40px; cursor: pointer; }
  .menu-toggle span { height: 2px; width: 20px; background: var(--text); }
  .navigation-links { display: none; width: 100%; min-height: auto; gap: 0; padding: 4px 0 12px; flex-wrap: wrap; }
  .navigation-links.is-open { display: flex; }
  .navigation-links a { font-size: 14px; width: 50%; padding: 8px 12px; }
  .navigation-links a::after { display: none; }
  .navigation-links a[aria-current="location"] { background: rgba(34,75,141,.06); border-radius: 4px; color: var(--link); }
  .layout { grid-template-columns: 190px minmax(0,1fr); gap: 25px; }
  .profile h1 { font-size: 21px; }
  .profile-links { font-size: 13px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 70px; }
  .layout { display: block; padding: 20px 20px 30px; }
  .profile { position: static; padding: 0 0 20px; display: grid; grid-template-columns: 112px minmax(0,1fr); column-gap: 20px; border-bottom: 1px solid var(--line); }
  .avatar { width: 112px; height: 112px; padding: 3px; margin-top: 3px; }
  .profile h1 { margin-top: 4px; font-size: 23px; }
  .profile .affiliation { margin-bottom: 7px; }
  .profile .position { margin-bottom: 0; font-size: 13px; line-height: 1.5; }
  .cv-button { margin: 12px 0 0; font-size: 13px; padding: 7px 12px; }
  .profile-links { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 11px 17px; margin-top: 18px; }
  .profile-links li { margin: 0; gap: 6px; font-size: 13px; }
  .profile-links li:first-child { width: 100%; }
  .last-updated { margin-top: 15px; font-size: 11px; }
  h2 { font-size: 23px; }
  section + section { margin-top: 25px; }
  .publication { margin-bottom: 23px; }
  .paper-links a { padding: 5px 10px; }
  .footer { margin-top: 30px; }
}
@media (max-width: 360px) {
  .profile { grid-template-columns: 88px minmax(0,1fr); column-gap: 16px; }
  .avatar { width: 88px; height: 88px; }
  .profile h1 { font-size: 21px; }
}
@media (max-height: 900px) and (min-width: 701px) { .profile { position: static; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } .is-typing .tagline-full { opacity: 1; } .is-typing .tagline-animated { display: none; } }
@media print {
  .masthead, .skip-link, .footer { display: none; }
  .layout { grid-template-columns: 175px minmax(0,1fr); gap: 20px; padding: 0; }
  .profile { position: static; padding: 0; }
  .avatar { width: 125px; height: 125px; }
  body { font-size: 11px; background: #fff; }
  .research-tagline { font-size: 18px; }
  .is-typing .tagline-full { opacity: 1; }
  .is-typing .tagline-animated { display: none; }
  h2 { font-size: 15px; }
  a { color: inherit; }
  .publication { break-inside: avoid; }
}
