:root {
--bg: #faf9f7;
--surface: #ffffff;
--border: #e8e4dc;
--text: #1a1814;
--muted: #6b6560;
--accent: #2a5298;
--accent-light: #eef2fa;
--accent2: #c4501a;
--sidebar-w: 280px;
--radius: 6px;
--shadow: 0 2px 12px rgba(0,0,0,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
font-family: 'DM Sans', sans-serif;
background: var(--bg);
color: var(--text);
min-height: 100vh;
font-size: 15px;
line-height: 1.7;
}

/* ---- NAV ---- */
nav {
position: sticky; top: 0; z-index: 100;
background: var(--surface);
border-bottom: 1px solid var(--border);
display: flex; align-items: center; justify-content: space-between;
padding: 0 2rem;
height: 56px;
box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}
.nav-brand {
font-family: 'Lora', serif;
font-weight: 600;
font-size: 1.05rem;
color: var(--accent);
text-decoration: none;
letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 0.25rem; }
.nav-links button {
background: none; border: none; cursor: pointer;
font-family: 'DM Sans', sans-serif;
font-size: 0.875rem; font-weight: 500;
color: var(--muted);
padding: 0.4rem 0.75rem;
border-radius: var(--radius);
transition: all 0.15s;
}
.nav-links button:hover { background: var(--accent-light); color: var(--accent); }
.nav-links button.active { background: var(--accent-light); color: var(--accent); }

/* ---- LAYOUT ---- */
.container {
max-width: 1080px;
margin: 0 auto;
padding: 2.5rem 2rem;
display: flex;
gap: 2.5rem;
align-items: flex-start;
}

/* ---- SIDEBAR ---- */
.sidebar {
width: var(--sidebar-w);
flex-shrink: 0;
position: sticky;
top: 76px;
}
.profile-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 10px;
padding: 1.5rem;
text-align: center;
box-shadow: var(--shadow);
}
.profile-avatar {
width: 200px; height: 200px;
border-radius: 50%;
object-fit: cover;
border: 3px solid var(--border);
margin-bottom: 1rem;
background: linear-gradient(135deg, #c8d8f0, #e8d8c0);
display: flex; align-items: center; justify-content: center;
font-size: 3rem;
overflow: hidden;
margin-left: auto; margin-right: auto;
}
.profile-avatar svg { width: 80px; height: 80px; opacity: 0.5; }
.profile-name {
font-family: 'Lora', serif;
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 0.4rem;
color: var(--text);
}
.profile-title {
font-size: 0.8rem;
color: var(--muted);
line-height: 1.5;
margin-bottom: 1.2rem;
}
.profile-links { display: flex; flex-direction: column; gap: 0.4rem; }
.profile-link {
display: flex; align-items: center; gap: 0.5rem;
font-size: 0.82rem;
color: var(--accent);
text-decoration: none;
padding: 0.35rem 0.6rem;
border-radius: var(--radius);
transition: background 0.15s;
font-weight: 500;
}
.profile-link:hover { background: var(--accent-light); }
.profile-link .icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ---- MAIN ---- */
.main { flex: 1; min-width: 0; }

.page { display: none; }
.page.active { display: block; }

/* ---- HOME ---- */
.page-title {
font-family: 'Lora', serif;
font-size: 1.9rem;
font-weight: 600;
color: var(--text);
margin-bottom: 1.2rem;
letter-spacing: -0.02em;
}
.bio-block {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 10px;
padding: 1.5rem 1.75rem;
margin-bottom: 1.5rem;
box-shadow: var(--shadow);
font-size: 0.93rem;
}
.bio-block p { margin-bottom: 0.8rem; }
.bio-block p:last-child { margin-bottom: 0; }
.bio-block a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-light); }
.bio-block a:hover { border-color: var(--accent); }

.research-areas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 0.8rem 0 0.8rem; }
.tag {
background: var(--accent-light);
color: var(--accent);
font-size: 0.78rem;
font-weight: 500;
padding: 0.25rem 0.65rem;
border-radius: 20px;
font-family: 'DM Mono', monospace;
}

.prospective {
background: #fff8f5;
border: 1px solid #f0d0c0;
border-left: 3px solid var(--accent2);
border-radius: var(--radius);
padding: 1rem 1.25rem;
font-size: 0.88rem;
margin-bottom: 1.5rem;
color: #4a2010;
}
.prospective strong { color: var(--accent2); }
.prospective a { color: var(--accent); }

/* ---- NEWS ---- */
.section-label {
font-family: 'DM Mono', monospace;
font-size: 0.72rem;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--muted);
margin-bottom: 0.8rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--border);
}
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
display: flex;
gap: 1rem;
padding: 0.7rem 0;
border-bottom: 1px solid var(--border);
font-size: 0.87rem;
align-items: flex-start;
}
.news-item:last-child { border-bottom: none; }
.news-date {
font-family: 'DM Mono', monospace;
font-size: 0.75rem;
color: var(--muted);
white-space: nowrap;
margin-top: 2px;
min-width: 52px;
}
.news-text { line-height: 1.55; }
.news-text a { color: var(--accent); text-decoration: none; }
.news-text a:hover { text-decoration: underline; }
.badge {
display: inline-block;
font-size: 0.68rem;
font-weight: 600;
font-family: 'DM Mono', monospace;
padding: 0.1rem 0.4rem;
border-radius: 3px;
vertical-align: middle;
margin-right: 0.2rem;
}
.badge-cvpr { background: #e8f4e8; color: #1a6b1a; }
.badge-iclr { background: #fef3e2; color: #7a4f00; }
.badge-icra { background: #e8eef8; color: #1a3a7a; }
.badge-iccv { background: #f3e8f8; color: #5a1a7a; }
.badge-neurips { background: #ffe8e8; color: #7a1a1a; }
.badge-aaai { background: #e8f8f3; color: #1a5a4a; }
.badge-new { background: var(--accent); color: white; }

/* ---- PUBLICATIONS ---- */
.pub-year-group { margin-bottom: 2rem; }
.pub-year {
font-family: 'Lora', serif;
font-size: 1.3rem;
font-weight: 600;
color: var(--accent);
margin-bottom: 1rem;
padding-bottom: 0.4rem;
border-bottom: 2px solid var(--accent-light);
}
.pub-list { display: flex; flex-direction: column; gap: 1rem; }
.pub-item {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
padding: 1rem 1.25rem;
display: flex;
gap: 1rem;
transition: box-shadow 0.2s, border-color 0.2s;
box-shadow: var(--shadow);
}
.pub-item:hover { border-color: #c0cce8; box-shadow: 0 4px 16px rgba(42,82,152,0.1); }
.pub-thumb {
width: 80px; height: 65px;
border-radius: 4px;
flex-shrink: 0;
background: linear-gradient(135deg, var(--accent-light), #e8f0fe);
display: flex; align-items: center; justify-content: center;
font-size: 1.6rem;
border: 1px solid var(--border);
overflow: hidden;
}
.pub-info { flex: 1; min-width: 0; }
.pub-title {
font-weight: 600;
font-size: 0.88rem;
color: var(--text);
margin-bottom: 0.3rem;
line-height: 1.4;
}
.pub-authors {
font-size: 0.8rem;
color: var(--muted);
margin-bottom: 0.35rem;
}
.pub-venue {
font-size: 0.78rem;
font-family: 'DM Mono', monospace;
color: var(--accent);
font-weight: 500;
margin-bottom: 0.4rem;
}
.pub-links { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.pub-link {
font-size: 0.72rem;
font-weight: 600;
padding: 0.15rem 0.5rem;
border-radius: 3px;
text-decoration: none;
border: 1px solid var(--border);
color: var(--muted);
transition: all 0.15s;
font-family: 'DM Mono', monospace;
}
.pub-link:hover { background: var(--accent); color: white; border-color: var(--accent); }

/* ---- RESEARCH ---- */
.research-grid { display: flex; flex-direction: column; gap: 1.5rem; }
.research-item {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 10px;
overflow: hidden;
display: flex;
gap: 0;
box-shadow: var(--shadow);
transition: box-shadow 0.2s;
}
.research-item:hover { box-shadow: 0 6px 24px rgba(42,82,152,0.1); }
.research-visual {
width: 160px;
flex-shrink: 0;
background: linear-gradient(135deg, var(--accent-light), #dce8ff);
display: flex; align-items: center; justify-content: center;
font-size: 3.5rem;
border-right: 1px solid var(--border);
}
.research-content { padding: 1.25rem 1.5rem; flex: 1; }
.research-title {
font-family: 'Lora', serif;
font-size: 1.05rem;
font-weight: 600;
margin-bottom: 0.6rem;
color: var(--text);
}
.research-desc { font-size: 0.87rem; color: var(--muted); margin-bottom: 0.75rem; line-height: 1.6; }
.research-papers { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.conf-tag {
font-size: 0.7rem;
font-family: 'DM Mono', monospace;
background: var(--bg);
border: 1px solid var(--border);
color: var(--muted);
padding: 0.1rem 0.35rem;
border-radius: 3px;
}

/* ---- POSITIONS ---- */
.positions-intro {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 10px;
padding: 1.5rem;
margin-bottom: 1.5rem;
font-size: 0.9rem;
box-shadow: var(--shadow);
}
.position-card {
background: var(--surface);
border: 1px solid var(--border);
border-left: 3px solid var(--accent);
border-radius: var(--radius);
padding: 1.2rem 1.5rem;
margin-bottom: 1rem;
box-shadow: var(--shadow);
}
.position-card h3 {
font-size: 0.95rem;
font-weight: 600;
margin-bottom: 0.4rem;
color: var(--text);
}
.position-card p { font-size: 0.87rem; color: var(--muted); margin-bottom: 0.6rem; }
.btn {
display: inline-block;
background: var(--accent);
color: white;
padding: 0.4rem 1rem;
border-radius: var(--radius);
font-size: 0.82rem;
font-weight: 600;
text-decoration: none;
transition: opacity 0.15s;
}
.btn:hover { opacity: 0.85; }

/* ---- STUDENTS ---- */
.students-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1rem;
margin-bottom: 2rem;
}
.student-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
padding: 1rem;
text-align: center;
box-shadow: var(--shadow);
transition: box-shadow 0.2s;
}
.student-card:hover { box-shadow: 0 4px 16px rgba(42,82,152,0.1); }
.student-avatar {
width: 60px; height: 60px;
border-radius: 50%;
background: linear-gradient(135deg, var(--accent-light), #dce8ff);
display: flex; align-items: center; justify-content: center;
font-size: 1.5rem;
margin: 0 auto 0.6rem;
border: 2px solid var(--border);
}
.student-name { font-weight: 600; font-size: 0.85rem; margin-bottom: 0.2rem; }
.student-topic { font-size: 0.75rem; color: var(--muted); }
.student-year {
font-size: 0.7rem;
font-family: 'DM Mono', monospace;
color: var(--accent);
margin-top: 0.3rem;
}

/* ---- FOOTER ---- */
footer {
text-align: center;
padding: 2rem;
font-size: 0.78rem;
color: var(--muted);
border-top: 1px solid var(--border);
margin-top: 3rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 720px) {
.container { flex-direction: column; padding: 1.5rem 1rem; }
.sidebar { width: 100%; position: static; }
.profile-card { text-align: left; display: flex; gap: 1rem; align-items: flex-start; }
.profile-avatar { width: 80px; height: 80px; font-size: 2rem; flex-shrink: 0; }
.profile-links { flex-direction: row; flex-wrap: wrap; }
.nav-brand span { display: none; }
.research-item { flex-direction: column; }
.research-visual { width: 100%; height: 80px; border-right: none; border-bottom: 1px solid var(--border); }
}