:root { color-scheme: light; --bg:#fff; --text:#252a32; --muted:#626b78; --accent:#205f88; --line:#dfe4e9; --surface:#f4f7f9; }
@media(prefers-color-scheme:dark) { :root:not([data-theme="light"]) { color-scheme:dark; --bg:#14181d; --text:#e7ebef; --muted:#a7b0bd; --accent:#91c8ec; --line:#343d48; --surface:#1c232c; } }
:root[data-theme="dark"] { color-scheme:dark; --bg:#14181d; --text:#e7ebef; --muted:#a7b0bd; --accent:#91c8ec; --line:#343d48; --surface:#1c232c; }
* { box-sizing:border-box; }
html { scroll-padding-top:2rem; }
body { margin:0; background:var(--bg); color:var(--text); font: 16px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-text-size-adjust:100%; }
a { color:var(--accent); text-decoration:none; text-underline-offset:4px; }
a:hover { text-decoration:underline; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:2px solid var(--accent); outline-offset:5px; }
.shell { max-width:1160px; padding:72px 40px 40px; margin:auto; display:grid; grid-template-columns:240px minmax(0,1fr); gap:76px; }
.profile { align-self:start; position:sticky; top:40px; }
.portrait { width:144px; height:144px; object-fit:cover; border-radius:50%; display:block; margin-bottom:24px; }
h1 { font-size:1.7rem; letter-spacing:-.05em; line-height:1.2; margin:0 0 12px; }
p { margin:0 0 20px; }
.position { line-height:1.7; margin-bottom:18px; }
.profile-note { color:var(--muted); font-size:.9rem; }
.profile-links { display:flex; flex-wrap:wrap; gap:2px 16px; font-size:.9rem; }
.profile-links a { min-height:40px; display:inline-flex; align-items:center; }
.profile-links .cv-link { flex-basis:100%; font-weight:650; }
nav { border-top:1px solid var(--line); margin-top:22px; padding-top:18px; display:flex; flex-direction:column; }
nav a { color:var(--muted); font-size:.9rem; padding:5px 0; }
.theme-control { margin-top:25px; display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; font-size:.875rem; color:var(--muted); }
.theme-control[hidden], .theme-reset[hidden] { display:none; }
.theme-toggle { display:inline-flex; align-items:center; gap:10px; padding:4px 0; min-height:44px; border:0; background:none; color:var(--text); font:inherit; cursor:pointer; }
.theme-track { position:relative; display:inline-block; width:58px; height:30px; background:var(--surface); border:1px solid var(--line); border-radius:20px; }
.theme-thumb { position:absolute; left:3px; top:3px; width:22px; height:22px; border-radius:50%; background:var(--accent); transition:transform .18s ease; }
.theme-toggle[aria-checked="true"] .theme-thumb { transform:translateX(28px); }
.theme-sun, .theme-moon { position:absolute; top:0; width:28px; line-height:28px; text-align:center; font-size:18px; }
.theme-sun { left:0; } .theme-moon { right:0; }
.theme-toggle[aria-checked="false"] .theme-sun { color:var(--bg); }
.theme-toggle[aria-checked="true"] .theme-moon { color:var(--bg); }
.theme-reset { min-height:44px; padding:4px 0; background:none; border:0; color:var(--accent); font:inherit; cursor:pointer; text-decoration:underline; text-underline-offset:4px; }
.eyebrow { text-transform:uppercase; letter-spacing:.14em; font-size:.8rem; font-weight:650; color:var(--accent); margin-bottom:14px; }
.intro-title { font-size:1.85rem; letter-spacing:-.035em; line-height:1.25; margin:0 0 25px; max-width:none; font-weight:650; }
.research-topics { color:var(--muted); font-size:.9rem; margin-bottom:0; }
section { margin-bottom:52px; }
h2 { font-size:1.4rem; line-height:1.35; letter-spacing:-.025em; margin:0 0 22px; }
.section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; border-bottom:1px solid var(--line); margin-bottom:8px; }
.section-heading h2 { margin-bottom:15px; }
.section-heading span { font-size:.875rem; color:var(--muted); }
.publication { padding:25px 0; border-bottom:1px solid var(--line); }
.publication-content { min-width:0; }
.publication.with-image { display:grid; grid-template-columns:150px minmax(0,1fr); gap:24px; }
.publication img { width:150px; height:105px; object-fit:contain; background:#fff; border:1px solid var(--line); border-radius:5px; }
.venue { font-size:.85rem; color:var(--accent); font-weight:650; margin-bottom:7px; }
h3 { font-size:1.04rem; line-height:1.45; margin:0 0 8px; font-weight:650; }
.authors { font-size:.875rem; line-height:1.65; color:var(--muted); margin-bottom:10px; }
.authors strong { color:var(--text); font-weight:750; }
.summary { font-size:.95rem; margin-bottom:8px; }
.paper-links { display:flex; flex-wrap:wrap; gap:16px; }
.paper-links a { display:inline-flex; align-items:center; min-height:36px; font-size:.875rem; font-weight:600; }
.news-list { list-style:none; padding:0; margin:0 0 30px; }
.news-list li { display:grid; grid-template-columns:85px 1fr; gap:16px; margin-bottom:14px; }
.news-list time { font-size:.875rem; color:var(--muted); padding-top:2px; }
.press-lead { color:var(--muted); font-size:.95rem; }
.press-list { padding-left:20px; font-size:.925rem; }
.press-list li { padding:5px 0; }
.press-list small { display:block; color:var(--muted); font-size:.875rem; }
details { margin-top:18px; }
summary { cursor:pointer; color:var(--accent); padding:10px 0; }
.site-footer { max-width:1160px; margin:auto; padding:20px 40px 36px; border-top:1px solid var(--line); font-size:.875rem; color:var(--muted); display:flex; justify-content:space-between; gap:20px; }
.skip-link { position:absolute; top:-100px; left:16px; padding:10px; background:var(--bg); z-index:10; }
.skip-link:focus { top:10px; }
@media(max-width:900px) { .shell { gap:40px; padding:40px 28px; grid-template-columns:200px minmax(0,1fr); } .publication.with-image { grid-template-columns:clamp(80px,12vw,120px) minmax(0,1fr); gap:16px; } .publication img { width:100%; height:auto; aspect-ratio:10 / 7; display:block; } }
@media(max-width:680px) { .shell { display:block; padding:30px 22px; } .profile { position:static; padding-bottom:30px; margin-bottom:32px; border-bottom:1px solid var(--line); } .portrait { width:100px; height:100px; margin-bottom:18px; } .profile-note { margin-bottom:12px; } .profile-links .cv-link { flex-basis:auto; } nav { flex-direction:row; flex-wrap:wrap; gap:6px 22px; margin-top:15px; padding-top:12px; } nav a { min-height:44px; display:flex; align-items:center; } .theme-control { margin-top:12px; display:flex; align-items:center; gap:14px; } .theme-control[hidden] { display:none; } .theme-control label { margin:0; } .intro-title { font-size:clamp(1.1rem,4.5vw,1.85rem); } .section-heading { flex-wrap:wrap; gap:0 12px; } .section-heading span { padding-bottom:14px; } section { margin-bottom:40px; } .site-footer { margin:0 22px; padding:20px 0; flex-direction:column; gap:6px; } .news-list li { grid-template-columns:1fr; gap:0; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }

.other-projects-heading { margin-top:40px; }

@media(max-width:680px) {
  .profile { display:grid; grid-template-columns:80px minmax(0,1fr); column-gap:18px; row-gap:8px; }
  .profile > a:first-child { grid-column:1; grid-row:1 / 3; }
  .portrait { width:80px; height:80px; margin:0; }
  .profile h1 { grid-column:2; margin:0; align-self:end; font-size:1.5rem; }
  .profile .position { grid-column:2; margin:0; }
  .profile-note, .profile-links, .profile nav, .profile .theme-control { grid-column:1 / -1; }
  .profile-note { margin:8px 0 0; }
  .publication.with-image { grid-template-columns:clamp(76px,23vw,130px) minmax(0,1fr); gap:14px; align-items:start; }
  .publication h3 { font-size:1rem; overflow-wrap:anywhere; }
  .publication .venue { overflow-wrap:anywhere; }
  .paper-links { gap:4px 12px; }
  .paper-links a { min-height:44px; }
}

.ongoing-topics { list-style:none; padding:0; margin:0; }
.ongoing-topics li { padding:14px 0; border-bottom:1px solid var(--line); font-weight:600; }
