:root { color-scheme: dark; --bg:#09090b; --card:#111113; --text:#f4f4f5; --muted:#a1a1aa; --line:#27272a; --accent:#5dcac4; --hover:#18181b; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif; -webkit-font-smoothing:antialiased; }
:root[data-theme="light"] { color-scheme:light; --bg:#fafafa; --card:#fff; --text:#18181b; --muted:#606069; --line:#e4e4e7; --accent:#087e79; --hover:#f4f4f5; }
* { box-sizing:border-box; }
[hidden] { display:none!important; }
html { scroll-behavior:smooth; scroll-padding-top:28px; }
body { margin:0; background:var(--bg); color:var(--text); font-size:15px; line-height:1.7; }
a { color:inherit; text-decoration:none; }
a:hover { color:var(--accent); }
button { font:inherit; color:inherit; cursor:pointer; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:2px solid var(--accent); outline-offset:5px; border-radius:3px; }
img,svg { display:block; max-width:100%; }
svg.icon { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex:none; }
h1,h2,h3,p { margin:0; }
.wrap { width:calc(100% - 64px); max-width:960px; margin-inline:auto; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.skip-link { position:absolute; top:-60px; left:20px; background:var(--card); color:var(--text); padding:10px 16px; border:1px solid var(--line); z-index:10; }
.skip-link:focus { top:10px; }
.site-header { border-bottom:1px solid var(--line); }
.header-inner { min-height:76px; display:flex; justify-content:space-between; align-items:center; gap:20px; }
.wordmark { font-size:20px; font-weight:600; letter-spacing:-.5px; color:var(--accent); }
nav { display:flex; gap:28px; align-items:center; }
nav a { color:var(--muted); font-size:13px; }
.theme-toggle { display:grid; place-items:center; border:0; width:36px; height:36px; background:transparent; border-radius:6px; color:var(--muted); }
.theme-toggle:hover { background:var(--hover); color:var(--text); }
.theme-toggle .moon-icon,[data-theme="light"] .theme-toggle .sun-icon { display:none; }
[data-theme="light"] .theme-toggle .moon-icon { display:block; }
.profile-card { margin-top:40px; padding:32px; background:var(--card); border:1px solid var(--line); border-radius:9px; }
.profile-heading { display:flex; gap:24px; align-items:center; }
.portrait { width:84px; height:84px; border-radius:50%; border:2px solid var(--accent); }
h1 { font-size:32px; font-weight:600; letter-spacing:-1px; line-height:1.2; margin-bottom:6px; }
.location { display:flex; align-items:center; gap:5px; color:var(--muted); font-size:13px; margin-top:3px; }
.location svg { width:14px; height:14px; }
.profile-intro { margin-top:24px; color:var(--muted); font-size:15px; line-height:1.85; max-width:805px; }
.profile-intro p + p { margin-top:14px; }
.profile-intro a { color:var(--accent); }
.profile-intro a:hover { text-decoration:underline; text-underline-offset:3px; }
.profile-links { display:flex; flex-wrap:wrap; gap:26px; margin-top:23px; }
.profile-links a { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:12px; }
.profile-links a:hover { color:var(--accent); }
.profile-links svg { width:16px; height:16px; }
.section { margin-top:45px; }
h2 { font-size:22px; font-weight:600; letter-spacing:-.5px; line-height:1.3; margin-bottom:20px; }
.work-list { margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }
.work-item { padding:22px 0; border-bottom:1px solid var(--line); }
.work-item h3 { font-size:18px; font-weight:600; letter-spacing:-.3px; line-height:1.4; }
.work-description { font-size:14px; color:var(--muted); margin-top:9px; line-height:1.8; }
.work-link { display:inline-flex; align-items:center; gap:6px; margin-top:9px; font-size:13px; color:var(--accent); }
.work-link:hover { text-decoration:underline; text-underline-offset:3px; }
.work-link svg { width:14px; height:14px; }
.research-list { border-top:1px solid var(--line); }
.research-link { display:grid; grid-template-columns:44px 1fr 16px; gap:14px; align-items:center; padding:16px 0; border-bottom:1px solid var(--line); }
.research-year { color:var(--muted); font-size:12px; align-self:start; padding-top:1px; }
.research-link h3 { font-size:14px; font-weight:500; line-height:1.6; }
.research-authors { color:var(--muted); font-size:12px; margin-top:4px; }
.research-venue { color:var(--muted); font-size:12px; margin-top:2px; }
.research-link > svg { width:15px; height:15px; color:var(--muted); }
.site-footer { margin-top:40px; display:flex; justify-content:space-between; gap:20px; border-top:1px solid var(--line); padding-block:22px; color:var(--muted); font-size:12px; }
@media(max-width:700px) { .wrap { width:calc(100% - 40px); }.header-inner { min-height:68px; }nav { gap:18px; }nav a { font-size:12px; }.profile-card { margin-top:28px; padding:25px; }.profile-heading { gap:18px; }.portrait { width:72px; height:72px; }h1 { font-size:28px; }.profile-intro { font-size:14px; }.profile-links { gap:20px; }.work-description { font-size:13px; } }
@media(max-width:520px) { .wrap { width:calc(100% - 32px); }.header-inner { gap:14px; }nav { gap:18px; }.theme-toggle { width:32px; height:36px; }.wordmark { font-size:19px; }.profile-card { padding:23px; margin-top:24px; }.profile-heading { align-items:flex-start; gap:15px; }.portrait { width:60px; height:60px; }h1 { font-size:27px; margin-top:-3px; margin-bottom:4px; }.location { font-size:11px; margin-top:5px; }.profile-intro { margin-top:20px; font-size:14px; line-height:1.8; }.profile-links { gap:15px 21px; margin-top:20px; }.profile-links a { font-size:12px; }.section { margin-top:34px; }h2 { font-size:21px; margin-bottom:16px; }.work-description { font-size:14px; margin-top:9px; }.research-link { grid-template-columns:32px 1fr 14px; gap:10px; }.research-year { font-size:11px; }.research-link h3 { font-size:13px; }.research-venue { font-size:11px; }.site-footer { font-size:11px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }* { transition:none!important; } }
@media print { .site-header,.profile-links,.site-footer { display:none; }:root { --bg:#fff; --card:#fff; --text:#111; --muted:#444; --line:#ccc; --accent:#087e79; }.wrap { width:100%; }.profile-card { margin-top:0; }.section { margin-top:25px; }.work-item,.research-link { break-inside:avoid; } }
