:root {
  --bg: #0d1117;
  --surface: #141a22;
  --text: #e8edf2;
  --muted: #8c97a5;
  --line: #27303b;
  --accent: #7dd3fc;
  --shell: min(1180px, calc(100vw - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--bg); }
.section-shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(40px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid transparent;
  transition: .25s;
}
.site-header.scrolled { background: rgba(13,17,23,.9); border-color: var(--line); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.brand span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #536170; border-radius: 50%; color: var(--accent); font-size: 10px; }
.nav { display: flex; align-items: center; gap: 25px; color: #aab3be; font-size: 12px; }
.nav a:hover { color: var(--text); }
.nav-contact { padding: 8px 14px; border: 1px solid #44505d; border-radius: 4px; }
.menu-button { display: none; background: none; border: 0; padding: 8px; }

.hero {
  min-height: 760px;
  height: 100svh;
  padding-top: 110px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: center;
  gap: 100px;
}
.overline { margin: 0 0 25px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.hero h1 { margin: 0; font-family: "Noto Sans SC", sans-serif; font-size: clamp(65px, 8vw, 104px); line-height: 1; letter-spacing: -.07em; }
.name-en { margin: 13px 0 36px; color: #667383; font-size: 17px; letter-spacing: .16em; }
.hero-summary { max-width: 700px; margin: 0; color: #b0bac5; font-size: 17px; line-height: 1.9; }
.research-tags { max-width: 760px; margin-top: 30px; display: flex; flex-wrap: wrap; gap: 9px; }
.research-tags span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; color: #aab4bf; background: rgba(20,26,34,.55); font-size: 11px; }
.hero-links { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; color: #96a1ae; font-size: 12px; }
.hero-links a:hover { color: var(--accent); }
.hero-links .primary-link { color: var(--text); }
.portrait { position: relative; width: 100%; max-width: 355px; justify-self: end; }
.portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line); }
.portrait img { position: relative; width: 100%; aspect-ratio: 4/5; display: block; object-fit: cover; filter: saturate(.75); }
.portrait-meta { position: relative; padding: 15px 0 0; display: flex; justify-content: space-between; gap: 20px; color: #687585; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }

.section { padding-block: 110px; display: grid; grid-template-columns: 175px 1fr; gap: 70px; border-top: 1px solid var(--line); scroll-margin-top: 40px; }
.section-label { padding-top: 10px; color: #687483; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.section-content h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); letter-spacing: -.045em; }
.about-content { display: grid; grid-template-columns: .65fr 1.35fr; gap: 75px; }
.about-content p { margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.95; }
.about-content .lead { color: #d1d7de; font-size: 18px; }

.entry-list { margin-top: 60px; border-top: 1px solid var(--line); }
.entry { padding: 38px 0; display: grid; grid-template-columns: 205px 1fr; gap: 35px; border-bottom: 1px solid var(--line); }
.entry-time { padding-top: 5px; color: #768291; font-size: 11px; }
.entry h3 { margin: 0 0 8px; font-size: 21px; }
.entry h3 small { margin-left: 8px; color: #687483; font-size: 11px; font-weight: 400; }
.entry p { margin: 6px 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.entry .entry-role { color: var(--accent); font-size: 13px; }

.project-list { margin-top: 60px; }
.project { padding: 30px 0; display: grid; grid-template-columns: 140px 1fr; gap: 30px; border-top: 1px solid var(--line); }
.project:last-child { border-bottom: 1px solid var(--line); }
.project > span { padding-top: 4px; color: #718091; font-size: 10px; }
.project h3 { margin: 0 0 9px; font-size: 18px; font-weight: 600; }
.project p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.title-row { display: flex; align-items: end; justify-content: space-between; margin-bottom: 55px; }
.title-row > span { color: #697584; font-size: 11px; }
.publication-list { margin: 0; padding: 0; list-style: none; counter-reset: publications; border-top: 1px solid var(--line); }
.publication { counter-increment: publications; padding: 30px 0; display: grid; grid-template-columns: 25px 65px 1fr; gap: 22px; border-bottom: 1px solid var(--line); }
.publication::before { content: counter(publications, decimal-leading-zero); color: #556170; font-size: 9px; padding-top: 5px; }
.pub-year { color: var(--accent); font-size: 11px; padding-top: 3px; }
.publication h3 { margin: 0 0 10px; color: #dce2e8; font-family: "Manrope", sans-serif; font-size: 16px; font-weight: 500; line-height: 1.55; }
.publication p { margin: 0; color: #788493; font-size: 11px; line-height: 1.7; }
.publication p strong { color: #aeb8c3; }
.publication p a { color: var(--accent); }

.honor-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.honor-list li { min-height: 68px; padding: 20px 0; display: flex; align-items: center; border-bottom: 1px solid var(--line); color: #c5ccd4; font-size: 13px; line-height: 1.6; }
.honor-list li::before { content: "—"; width: 48px; flex: 0 0 48px; color: #586574; }

.footer { min-height: 130px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #657181; font-size: 10px; }
.footer div { display: flex; gap: 12px; }
.footer strong { color: #b9c2cc; }
.footer a:hover { color: var(--accent); }

.reveal { opacity: 0; transform: translateY(15px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  :root { --shell: calc(100vw - 48px); }
  .site-header { padding-inline: 24px; }
  .nav { position: fixed; inset: 71px 0 auto; padding: 28px 24px; flex-direction: column; align-items: flex-start; background: rgba(13,17,23,.98); border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: .25s; }
  .nav.open { transform: none; }
  .menu-button { display: flex; flex-direction: column; gap: 6px; }
  .menu-button span { width: 23px; height: 1px; background: #d9dfe5; }
  .hero { height: auto; min-height: 100svh; grid-template-columns: 1fr; gap: 70px; padding-block: 140px 100px; }
  .portrait { justify-self: start; }
  .section { grid-template-columns: 1fr; gap: 35px; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100vw - 32px); }
  .site-header { padding-inline: 16px; }
  .brand { font-size: 0; }
  .hero { padding-top: 120px; gap: 55px; }
  .hero h1 { font-size: 68px; }
  .hero-summary { font-size: 15px; }
  .hero-links { align-items: flex-start; flex-direction: column; gap: 14px; }
  .portrait { max-width: calc(100% - 18px); }
  .section { padding-block: 80px; }
  .section-content h2 { font-size: 36px; }
  .entry { grid-template-columns: 1fr; gap: 15px; }
  .project { grid-template-columns: 1fr; gap: 12px; }
  .publication { grid-template-columns: 20px 44px 1fr; gap: 10px; }
  .publication h3 { font-size: 14px; }
  .footer { padding-block: 35px; flex-direction: column; justify-content: center; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
