*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } * { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; } /* theme tokens */ :root { --bg: #fdfdfd; --bg-subtle: #f7f6f4; --bg-card: #ffffff; --bg-header: rgba(253, 253, 253, 0.92); --bg-button: #fdfdfd; --bg-tag: #f4f4f6; --bg-tag-hover: #e2e2e6; --text: #1e1e21; --text-muted: #444552; --text-soft: #28292d; --text-secondary: #6b6b6b; --heading: #464646; --border: #d4d4d8; --border-soft: #e8e8e8; --border-strong: #cfcfd3; --accent: #2c4a8a; --accent-light: #eaf0fb; --accent-dark: #1f3666; --accent-contrast: #fdfdfd; --bg-venue: rgba(54, 84, 110, 0.08); --shadow-sm: 0 1px 3px rgba(0,0,0,0.04); --shadow-md: 0 4px 12px rgba(0,0,0,0.06); --shadow-lg: 0 8px 24px rgba(0,0,0,0.08); --shadow-header: 0 2px 6px rgba(0, 0, 0, 0.06); --radius: 12px; --transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease; } body.dark-mode { --bg: #17181c; --bg-subtle: #1d1e23; --bg-card: #1f2026; --bg-header: rgba(23, 24, 28, 0.92); --bg-button: #1f2026; --bg-tag: #24262c; --bg-tag-hover: #2f3137; --text: #e6e7ea; --text-muted: #b8bac1; --text-soft: #d0d2d7; --text-secondary: #9b9da5; --heading: #d6d7dc; --border: #2c2d33; --border-soft: #23242a; --border-strong: #3a3b42; --accent: #8fb4e6; --accent-light: rgba(143, 180, 230, 0.12); --accent-dark: #b6cdee; --accent-contrast: #17181c; --bg-venue: rgba(143, 180, 230, 0.18); --shadow-sm: 0 1px 3px rgba(0,0,0,0.3); --shadow-md: 0 4px 12px rgba(0,0,0,0.4); --shadow-lg: 0 8px 24px rgba(0,0,0,0.5); --shadow-header: 0 2px 8px rgba(0, 0, 0, 0.45); } html { scroll-behavior: smooth; } body { font-family: 'Inter', sans-serif; background-color: var(--bg); color: var(--text); margin: 0; padding: 0; -webkit-text-size-adjust: 100%; transition: var(--transition); } p { display: block; margin-block-start: 1em; margin-block-end: 1em; color: var(--text); font-family: 'Inter', sans-serif; font-weight: 400; line-height: 1.5; font-size: 14px; } a { color: var(--accent); font-weight: 600; text-decoration: none; font-family: 'Inter', sans-serif; font-size: 14px; letter-spacing: -0.01em; transition: color 0.2s ease; } a:hover { color: var(--accent-dark); } /* ── Navbar ── */ .navbar { position: sticky; top: 0; z-index: 100; background: var(--bg-header); -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--border-soft); padding: 0 48px; display: flex; align-items: center; justify-content: space-between; height: 60px; transition: var(--transition), box-shadow 0.25s ease; } .navbar .site-name { font-family: 'Inter', sans-serif; font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: -0.2px; white-space: nowrap; flex-shrink: 0; } .navbar nav { display: flex; align-items: center; gap: 4px; margin-left: auto; } .navbar nav a { font-size: 14px; font-weight: 600; color: var(--text-secondary); padding: 6px 11px; border-radius: 6px; transition: color 0.2s; position: relative; } .navbar nav a:hover, .navbar nav a.active { color: var(--text); } .navbar nav a.active::after { content: ""; position: absolute; bottom: -1px; left: 11px; right: 11px; height: 2px; background: var(--accent); border-radius: 1px; } .nav-actions { display: flex; align-items: center; margin-left: 12px; } /* dark mode toggle */ .theme-toggle { appearance: none; border: 1px solid var(--border); background: transparent; color: var(--text); width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: var(--transition), transform 0.2s ease; } .theme-toggle:hover { color: var(--accent); border-color: var(--accent); transform: rotate(20deg); } .theme-toggle svg { width: 16px; height: 16px; display: block; } .theme-toggle .icon-sun { display: none; } .theme-toggle .icon-moon { display: block; } body.dark-mode .theme-toggle .icon-sun { display: block; } body.dark-mode .theme-toggle .icon-moon { display: none; } /* ── Page Container ── */ .page-container { max-width: 900px; margin: 0 auto; padding: 48px 48px 60px 48px; } /* ── TOP: 2-col hero (left: image+contact, right: about) ── */ .top-hero { display: grid; grid-template-columns: min(23vw, 210px) 1fr; column-gap: 52px; padding-bottom: 0; margin-bottom: 28px; } .left-col { display: flex; flex-direction: column; align-items: flex-start; padding-top: 3px; } .avatar-frame { width: 100%; overflow: hidden; border-radius: 14px; margin-bottom: 14px; } .avatar-frame img { width: 100%; height: auto; display: block; border-radius: 14px; } .intro-name { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 27.5px; margin: 0 0 10px 0; color: var(--text); line-height: 1.0; } .mobile-only { display: none; } .role-line { display: flex; align-items: baseline; gap: 0; margin: 0 0 14px 0; line-height: 1.4; } .role { font-size: 13.5px; font-weight: 500; color: var(--text-muted); } .role-sep { font-size: 13.5px; color: var(--text-secondary); margin: 0 3px 0 0; } .org { font-size: 13.5px; font-weight: 400; color: var(--text-muted); } .profile-button-wrapper { display: flex; flex-wrap: wrap; column-gap: 8px; row-gap: 5px; justify-content: flex-start; margin-top: 20px; margin-bottom: 0; } .profile-button-wrapper a { text-decoration: none; } .btn-line-break { display: none; flex-basis: 100%; height: 0; } /* plain buttons (main page) */ a .profile-button, a .project-button { font-family: 'Inter', sans-serif; font-size: 13.5px; border: 1px solid var(--border-strong); padding: 5px 10px; border-radius: 3px; color: var(--text); background-color: var(--bg-button); cursor: pointer; transition: var(--transition); } a .profile-button:hover, a .project-button:hover { color: var(--text); background-color: var(--bg-tag); border-color: var(--border-strong); } /* link buttons (index2) */ .pill-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--bg-button); font-size: 13px; font-weight: 500; color: var(--heading); cursor: pointer; transition: var(--transition); } .pill-btn:hover { background: var(--bg-tag); } .pill-btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 5px; background: var(--accent-light); color: var(--accent); font-size: 11px; flex-shrink: 0; } .pill-btn-icon svg { width: 11px; height: 11px; } /* Contact block: in right-col, below about */ .contact-block { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 20px; width: 100%; } .contact-heading { font-weight: 600; color: var(--text); font-size: 14px; letter-spacing: 0.04em; margin: 0 0 8px 0; font-family: 'Roboto', sans-serif; } .contact-list { list-style: none; padding: 0; margin: 0; } .contact-list li { margin: 0 0 2px 0; } .u-email { font-weight: 700; font-size: 13px; color: var(--accent); text-decoration: none; font-family: 'Roboto', sans-serif; } .u-email:hover { color: var(--accent-dark); } .social-icons { margin-top: 12px; display: flex; justify-content: flex-start; gap: 18px; } .social-icons a { color: var(--accent); } .social-icons .icon { font-size: 20px; margin-right: 0; color: var(--accent); transition: var(--transition); } .social-icons a:hover .icon { opacity: 0.7; } /* ── Content ── */ section { margin-bottom: 40px; scroll-margin-top: 76px; } .right-col { min-width: 0; } /* project page style: heading + full-width line */ section h2 { font-family: 'Manrope', sans-serif; font-size: 16.5px; font-weight: 700; margin: 0; padding-bottom: 8px; color: var(--heading); text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid var(--border); } section h2 + * { margin-top: 20px; } .section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; } .section-header h2 { margin-bottom: 0; } /* About / Research */ .about-text p, .research-text { font-size: 14px; line-height: 1.6; color: var(--text); margin: 0; } .about-text p + p { margin-top: 12px; } .about-text a[href="#research-interest"] { color: var(--text); font-weight: inherit; font-size: inherit; text-decoration: none; } .about-text a[href="#research-interest"]:hover { text-decoration: underline; color: var(--text); } .research-content, .research-text { color: var(--text); } .research-text ul { padding-left: 2em; margin-top: 12px; } .research-text li { margin-bottom: 8px; } /* News */ .update-container { display: flex; flex-direction: column; } .update-item-hidden { display: none; } .update-item .update-item-wrapper { display: grid; align-items: top; grid-template-columns: 80px auto; column-gap: 13px; grid-template-rows: 1fr; margin-bottom: 10px; } .update-item-wrapper .update-date { font-weight: 400; color: var(--text); width: fit-content; padding-top: 4px; font-family: 'Inter', sans-serif; font-size: 14px; margin-top: -2px; } .update-item-wrapper .update-title { font-weight: 400; color: var(--text); width: fit-content; text-align: left; font-family: 'Inter', sans-serif; line-height: 1.6; font-size: 14px; } .update-item-wrapper .update-content { color: var(--text); width: fit-content; } .news-see-more-wrapper { margin-top: 10px; } .news-see-more-btn { font-family: 'Inter', sans-serif; font-size: 13px; border: 1px solid var(--border-strong); padding: 5px 12px; border-radius: 3px; color: var(--text); background-color: var(--bg-button); cursor: pointer; transition: var(--transition); } .news-see-more-btn:hover { color: var(--text); background-color: var(--bg-tag); border-color: var(--border-strong); } /* ── Publications ── */ .pub-container { display: flex; flex-direction: column; } .pub-item-wrapper { display: grid; grid-template-columns: 220px auto; grid-template-rows: 1fr; column-gap: 20px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border-soft); } .pub-container .pub-item-wrapper:last-child { border-bottom: none; margin-bottom: 0; } .pub-fig-wrapper { display: block; min-width: 0; } .pubfigure { border-radius: 6px; overflow: hidden; max-width: 215px; width: 100%; margin-top: 5px; } .pub-content-wrapper { min-width: 0; } .pub-content-wrapper p { font-size: 13.5px; } .pub-venue { display: inline-block; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.03em; color: var(--accent); background: var(--bg-venue); padding: 5px 14px; border-radius: 100px; margin-bottom: 10px; } .pub-title p { margin-top: 0; margin-bottom: 0; line-height: 1.4; font-size: 14.5px; padding-left: 2px; } .pub-author p { margin-top: 6px; margin-bottom: 0; line-height: 1.4; color: var(--text-muted); font-size: 14px; padding-left: 2px; } .pub-abstract p { font-size: 13.5px; color: var(--text-soft); margin-top: 10.5px; margin-bottom: 0; line-height: 1.45; padding-left: 2px; } .pub-link a, .pub-cite-and-links a { font-size: 13.5px; margin-top: 0; margin-bottom: 0; line-height: 1.5; } .pub-featured-row { margin-top: 3px; margin-bottom: 2px; padding-left: 2.5px; } .pub-featured-badge { font-size: 12.5px; font-weight: 600; color: #c14c40; text-decoration: none; } /* .pub-featured-badge:hover { text-decoration: none; color: #c0392b; } */ .dark-mode .pub-featured-badge { color: #e74c3c; } /* .dark-mode .pub-featured-badge:hover { color: #ff6b6b; } */ .pub-links-row { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; } .pub-links-row a { display: inline-flex; align-items: center; padding: 4px 11px; font-size: 12.5px; font-weight: 600; color: var(--text-muted); background: var(--bg-subtle); border: 1px solid var(--border-soft); border-radius: 6px; text-decoration: none; transition: var(--transition); } .pub-links-row a:hover { color: var(--text); background: var(--bg-tag); border-color: var(--border); } /* ── Academic services ── */ .aca-container { display: flex; flex-direction: column; gap: 18px; } .aca-columns { padding-left: 0; } .aca-column { width: 100%; } #academic { padding-bottom: 36px; border-bottom: 1px solid var(--border-soft); margin-bottom: 0; } .aca-heading { font-weight: 700; color: var(--heading); font-size: 15px; margin: 0 0 6px 0; } .aca-list { list-style-type: disc; padding-left: 22px; margin: 0; } .aca-list li::marker { font-size: 11px; color: var(--accent); } .aca-list li { font-size: 14px; color: var(--text); line-height: 1.6; } .aca-list a { font-size: 14px; color: var(--accent); line-height: 1.6; } .aca-list a:hover { color: var(--accent-dark); } /* ── Footer ── */ .footer { max-width: 960px; margin: 0 auto; padding: 12px 48px 32px; text-align: center; font-size: 12px; color: var(--text-secondary); border-top: none; } .footer-meta { margin: 0; font-size: 12.5px; color: var(--text-secondary); } .footer-meta-copy { margin: 4px 0 0 0; font-size: 12.5px; color: var(--text-secondary); } /* ── Responsive ── */ /* top-hero: 2-col → 1-col at 760px */ @media (max-width: 760px) { .top-hero { grid-template-columns: 1fr; row-gap: 16px; margin-bottom: 40px; } .left-col { padding-top: 0; align-items: center; } .avatar-frame { width: 185px; margin-bottom: 0; } .mobile-only { display: block; } .right-col .intro-name { text-align: center; } .right-col .mobile-only { text-align: center; } .right-col .role-line { flex-direction: column; align-items: center; gap: 2px; } .role-sep { display: none; } .profile-button-wrapper { justify-content: center; } } @media (max-width: 640px) { .navbar { padding: 0 14px; } .navbar .site-name { font-size: 14px; } .navbar nav { gap: 0; margin-left: auto; } .navbar nav a { padding: 4px 6px; font-size: 12px; font-weight: 500;} .theme-toggle { width: 26px; height: 26px; } .theme-toggle svg { width: 13px; height: 13px; } .page-container { padding: 28px 20px 56px; } .pub-item-wrapper { grid-template-columns: 1fr; row-gap: 12px; } .pubfigure { max-width: 320px; margin: 0 auto; } .pub-venue { font-size: 11px; padding: 4px 10px; } .footer { padding: 24px 20px 32px; } } @media (max-width: 400px) { .navbar { padding: 0 14px; } .navbar nav a { padding: 6px 8px; font-size: 12px; } .page-container { padding: 20px 16px 48px; } } @media screen and (max-width: 650px) { b, strong { font-weight: 600; } } @media (max-width: 450px) { .btn-line-break { display: block; } } @media (max-width: 483px) { .pill-btn { padding: 4px 9px 4px 4px; gap: 6px; font-size: 13px; } .pill-btn-icon { width: 17px; height: 17px; font-size: 11px; } .profile-button-wrapper { column-gap: 7px; row-gap: 4px; } } @media (max-width: 200px) { .profile-button-wrapper { flex-direction: column; align-items: flex-start; } .pill-btn { width: 100%; box-sizing: border-box; } }