:root { color-scheme:light; font-family:'Segoe UI Variable','Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,sans-serif; color:#242424; background:#f5f5f5; font-synthesis:none; --brand:#0f6cbd; --brand-hover:#115ea3; --secondary:#616161; --stroke:#e0e0e0; --surface:#fff; --radius:8px; }
* { box-sizing:border-box; }
body { margin:0; font-size:16px; line-height:1.6; }
h1,h2,h3,p,figure,dl,dd { margin:0; }
h1,h2,h3 { font-weight:600; }
a { color:var(--brand); text-underline-offset:3px; }
a:hover { color:var(--brand-hover); }
a,button { -webkit-tap-highlight-color:transparent; }
a:focus-visible,button:focus-visible { outline:2px solid #242424; outline-offset:3px; }
.skip { position:fixed; z-index:10; top:-100px; left:20px; background:white; padding:12px; }
.skip:focus { top:12px; }
.app-header { height:76px; display:flex; align-items:center; justify-content:space-between; padding:0 48px; border-bottom:1px solid #dedede; background:linear-gradient(115deg,#fff 0%,#f7f9fc 100%); }
.brand { text-decoration:none; color:#242424; font-size:20px; font-weight:600; }
.header-affiliation { color:#616161; font-size:13px; }
.header-affiliation span { margin:0 12px; color:#bdbdbd; }
.site-layout { display:grid; grid-template-columns:210px minmax(0,1fr); gap:36px; max-width:1440px; margin:auto; padding:36px 40px 0; }
.sidebar { position:sticky; top:28px; align-self:start; padding-top:12px; }
.sidebar nav { display:flex; flex-direction:column; gap:10px; }
.sidebar nav a { position:relative; display:flex; align-items:center; padding:12px 18px; min-height:48px; border-radius:4px; text-decoration:none; color:#424242; font-size:15px; transition:background 120ms; }
.sidebar nav a:hover { background:#ebebeb; }
.sidebar nav a[aria-current] { background:#e8f1fa; color:#0f548c; font-weight:600; }
.sidebar nav a[aria-current]::before { content:''; position:absolute; left:0; top:13px; bottom:13px; width:3px; border-radius:2px; background:var(--brand); }
.sidebar-contact { margin-top:44px; padding:0 18px; font-size:12px; color:var(--secondary); }
.sidebar-contact>span { display:block; font-weight:600; color:#424242; margin-bottom:8px; }
.sidebar-contact a { display:block; overflow-wrap:anywhere; font-size:13px; text-decoration:none; }
.sidebar-contact p { margin-top:5px; }
.page-column { min-width:0; }
.page { background:var(--surface); border:1px solid #e5e5e5; box-shadow:0 2px 5px #00000005,0 0 2px #0000000a; border-radius:8px; padding:40px 44px 48px; min-height:650px; animation:enter 180ms ease-out; }
.page-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:30px; }
h1 { font-size:32px; line-height:40px; letter-spacing:-.65px; }
.page-description { font-size:14px; line-height:22px; margin-top:8px; color:var(--secondary); }
.heading-meta { font-size:12px; color:var(--secondary); white-space:nowrap; }
h2 { font-size:24px; line-height:32px; letter-spacing:-.3px; }
h3 { font-size:18px; line-height:25px; }
.button { display:inline-flex; justify-content:center; align-items:center; text-decoration:none; color:#242424; font-size:14px; font-weight:600; line-height:20px; min-height:36px; padding:7px 15px; border:1px solid #d1d1d1; border-bottom-color:#bdbdbd; border-radius:4px; background:#fff; white-space:nowrap; transition:background 120ms,border-color 120ms; }
.button:hover { background:#f5f5f5; color:#242424; border-color:#bdbdbd; }
.button:active { background:#e0e0e0; }
.button.primary { background:var(--brand); border-color:var(--brand); border-bottom-color:#0f548c; color:#fff; }
.button.primary:hover { background:var(--brand-hover); }
.home-page { padding-top:48px; }
.profile-intro { display:grid; grid-template-columns:minmax(0,1fr) 152px; gap:40px; align-items:center; padding-bottom:36px; border-bottom:1px solid #ebebeb; }
.kicker { color:var(--brand); font-size:13px; font-weight:600; margin-bottom:12px; }
.profile-intro h1 { font-size:48px; line-height:58px; font-weight:600; letter-spacing:-1.5px; }
.role { margin-top:12px; font-size:20px; line-height:28px; font-weight:400; }
.affiliation { margin-top:4px; font-size:14px; color:var(--secondary); }
.actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.portrait { width:152px; height:152px; border-radius:50%; object-fit:contain; border:0; background:transparent; }
.about-section { padding:32px 0; }
.about-section h2 { margin-bottom:12px; }
.about-section p { font-size:16px; line-height:28px; max-width:80ch; }
.home-details { display:grid; grid-template-columns:1.1fr 1fr; gap:40px; padding-top:28px; border-top:1px solid #ebebeb; }
.home-details h2 { font-size:18px; line-height:24px; margin-bottom:16px; letter-spacing:0; }
.research-list { padding-left:18px; margin:0 0 18px; font-size:15px; line-height:26px; }
.inline-link { font-size:14px; font-weight:600; text-decoration:none; }
.home-affiliation { border-left:1px solid #ebebeb; padding-left:32px; }
.home-affiliation p { font-size:14px; line-height:24px; }
.home-affiliation .affiliation-name { font-weight:600; }
.secondary { color:var(--secondary); }
.teaching-year { display:grid; grid-template-columns:108px minmax(0,1fr); gap:24px; margin-bottom:24px; }
.teaching-year>h2 { font-size:16px; line-height:24px; color:#0f548c; padding-top:19px; letter-spacing:0; }
.course-list { border-top:1px solid var(--stroke); }
.course { display:flex; justify-content:space-between; gap:18px; padding:8px 0; border-bottom:1px solid #ebebeb; }
.course-meta { display:flex; flex-direction:column; align-items:flex-end; flex-shrink:0; font-size:13px; color:var(--secondary); }
.course-meta strong { color:#424242; font-size:14px; font-weight:600; }
.school { margin-top:8px; font-size:14px; color:var(--secondary); }
.institution { display:inline-flex; align-items:center; gap:10px; line-height:20px; }
.institution img { display:block; width:44px; height:32px; object-fit:contain; flex-shrink:0; }
.papers { border-top:1px solid var(--stroke); }
.paper { display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:start; gap:16px; padding:20px 0; border-bottom:1px solid #ebebeb; }
.paper-year { font-size:13px; font-weight:600; color:var(--secondary); padding-top:2px; }
.paper h2 { font-size:18px; line-height:25px; letter-spacing:0; }
.paper-authors { font-size:14px; line-height:20px; margin-top:5px; color:#424242; }
.paper-venue { font-size:13px; line-height:19px; margin-top:3px; color:var(--secondary); }
.award { display:inline-block; margin-top:7px; border-left:2px solid #0f6cbd; padding-left:8px; font-size:12px; line-height:18px; color:#0f548c; }
.paper-action { align-self:center; font-size:13px; padding:5px 10px; min-height:32px; }
.cv-nav { display:flex; flex-wrap:wrap; gap:8px 24px; padding:0 0 20px; margin-bottom:32px; border-bottom:1px solid var(--stroke); }
.cv-nav a { font-size:13px; text-decoration:none; }
.cv-section { margin-bottom:36px; scroll-margin-top:28px; }
.cv-section>h2 { margin-bottom:20px; }
.cv-item { display:grid; grid-template-columns:142px minmax(0,1fr); gap:24px; padding-bottom:22px; }
.cv-item:last-child { padding-bottom:0; }
.date { font-size:12px; line-height:20px; color:var(--secondary); padding-top:3px; }
.cv-item h3 { font-size:16px; line-height:23px; }
.cv-item .school { margin-top:5px; }
.detail { font-size:14px; color:var(--secondary); margin-top:5px; }
.skills { display:grid; grid-template-columns:1fr 1fr; gap:20px 32px; }
.skills dt { font-size:14px; font-weight:600; margin-bottom:5px; }
.skills dd { font-size:14px; color:var(--secondary); }
.demo-note { border-left:3px solid #b4d6fa; padding:8px 12px; background:#f5f9fd; font-size:13px; color:#616161; margin-bottom:28px; }
.album { margin-top:28px; }
.album-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:18px; }
.album-heading h2 { font-size:20px; line-height:28px; }
.album-heading span { font-size:12px; color:var(--secondary); }
.gallery { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.photo { border:1px solid #ebebeb; border-radius:6px; overflow:hidden; }
.photo button { display:block; width:100%; padding:0; border:0; background:#f5f5f5; cursor:pointer; overflow:hidden; }
.photo img { display:block; width:100%; height:260px; object-fit:cover; transition:transform 180ms ease-out; }
.photo button:hover img { transform:scale(1.02); }
.photo figcaption { padding:14px 16px; }
.photo strong { display:block; font-size:16px; font-weight:600; }
.photo figcaption p { margin-top:3px; font-size:14px; color:var(--secondary); }
.photo figcaption .credit { font-size:12px; line-height:18px; margin-top:8px; }
.credit a { color:var(--secondary); }
dialog { color:#242424; font:inherit; border:1px solid #d1d1d1; border-radius:8px; background:white; box-shadow:0 24px 64px #0004; padding:24px; width:min(900px,calc(100vw - 32px)); max-height:90vh; }
dialog::backdrop { background:#0006; }
.dialog-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:18px; }
.dialog-heading h2 { font-size:24px; }
.lightbox-image { display:block; max-width:100%; max-height:60vh; object-fit:contain; margin:auto; border-radius:4px; }
.lightbox-caption { font-size:14px; color:var(--secondary); margin-top:12px; }
.dialog-actions { display:flex; gap:10px; align-items:center; margin-top:20px; }
.dialog-actions>span { margin-right:auto; font-size:13px; color:var(--secondary); }
.image-error,.empty { display:block; padding:32px; font-size:14px; background:#f5f5f5; }
footer { display:flex; justify-content:space-between; gap:20px; padding:20px 4px 28px; font-size:12px; color:#707070; }
@keyframes enter { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }
@media(max-width:1150px) { .site-layout { grid-template-columns:178px minmax(0,1fr); gap:24px; padding:28px 24px 0; } .page { padding:32px; } .app-header { padding:0 28px; } .sidebar-contact { padding-inline:10px; } .profile-intro { gap:24px; grid-template-columns:minmax(0,1fr) 128px; } .portrait { width:128px; height:128px; } .profile-intro h1 { font-size:40px; line-height:50px; } .paper { grid-template-columns:40px minmax(0,1fr); } .paper-action { grid-column:2; justify-self:start; margin-top:-4px; } }
@media(max-width:800px) { .app-header { height:64px; padding:0 24px; } .header-affiliation { display:none; } .site-layout { display:block; padding:0 20px; } .sidebar { position:static; padding:16px 0; } .sidebar nav { flex-direction:row; flex-wrap:wrap; gap:8px 12px; } .sidebar nav a { font-size:14px; padding:10px 14px; min-height:40px; } .sidebar nav a[aria-current]::before { top:auto; bottom:4px; left:14px; right:14px; width:auto; height:3px; } .sidebar-contact { display:none; } .page { min-height:0; } .paper { grid-template-columns:40px minmax(0,1fr) auto; } .paper-action { grid-column:auto; margin:0; } }
@media(max-width:600px) { .site-layout { padding:0 12px; } .sidebar nav { gap:6px 8px; } .page { padding:28px 22px; } h1 { font-size:28px; line-height:36px; } .page-heading { align-items:flex-start; flex-direction:column; gap:14px; margin-bottom:24px; } .heading-meta { display:none; } .profile-intro { grid-template-columns:1fr; gap:24px; } .portrait { grid-row:1; width:104px; height:104px; } .profile-intro h1 { font-size:40px; line-height:48px; } .role { font-size:18px; line-height:26px; } .home-details { grid-template-columns:1fr; gap:28px; } .home-affiliation { border-left:0; border-top:1px solid #ebebeb; padding:24px 0 0; } .teaching-year { grid-template-columns:1fr; gap:10px; } .teaching-year>h2 { padding:0; } .course h3 { font-size:16px; } .paper { grid-template-columns:36px minmax(0,1fr); gap:10px; padding:18px 0; } .paper h2 { font-size:16px; line-height:23px; } .paper-action { grid-column:2; justify-self:start; } .cv-item { grid-template-columns:1fr; gap:5px; } .cv-nav { gap:8px 16px; } .cv-section>h2 { font-size:22px; } .skills,.gallery { grid-template-columns:1fr; } .album-heading { flex-direction:column; gap:4px; } .photo img { height:280px; } .dialog-heading h2 { font-size:20px; } footer { padding-inline:8px; font-size:12px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
@media print { .app-header,.sidebar,footer,.cv-nav,.page-heading>.button { display:none; } .site-layout { display:block; padding:0; } .page { border:0; box-shadow:none; padding:0; animation:none; } body { background:#fff; } .cv-item { break-inside:avoid; } .cv-section { margin-bottom:24px; } }
