:root {
  --bg: #fbfbfa;
  --card: #ffffff;
  --text: #1f2328;
  --muted: #646b73;
  --accent: #2557d6;
  --accent-soft: #eef3ff;
  --border: #e7e8ea;
  --hire-bg: #fff8ec;
  --hire-border: #f2b544;
  --radius: 12px;
  --maxw: 920px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 "Inter", -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: #f2f3f5; padding: 1px 6px; border-radius: 5px; font-size: .88em; }

/* nav */
.topnav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251,251,250,.85); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; }
.brand { font-weight: 700; color: var(--text); }
.nav-links a { color: var(--muted); margin-left: 22px; font-size: .94rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 40px; }

/* hero */
.hero { padding: 56px 0 28px; border-bottom: 1px solid var(--border); }
.hero h1 { font-family: "Source Serif 4", Georgia, serif; font-size: 2.6rem; line-height: 1.15; margin: 0 0 10px; letter-spacing: -.01em; }
.hero h1 .zh { font-family: "Noto Serif SC", "Songti SC", serif; font-weight: 600; color: var(--muted); margin-left: 12px; font-size: .78em; }
.role { font-size: 1.2rem; font-weight: 600; margin: 0; }
.org { color: var(--muted); margin: 2px 0 18px; }
.contact { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--card); color: var(--text); font-size: .9rem; font-weight: 500;
  transition: border-color .15s, color .15s, background .15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; background: var(--accent-soft); }
.chip svg { width: 16px; height: 16px; fill: currentColor; }

/* sections */
section { padding-top: 34px; }
h2 { font-family: "Source Serif 4", Georgia, serif; font-size: 1.55rem; margin: 0 0 14px; }
.muted { color: var(--muted); font-size: .92rem; }

/* hiring */
.hire {
  background: var(--hire-bg); border: 1px solid #f6dcaa; border-left: 5px solid var(--hire-border);
  border-radius: var(--radius); padding: 20px 24px;
}
.hire h3 { margin: 0 0 6px; font-size: 1.15rem; }
.hire ul { margin: 10px 0; padding-left: 20px; }
.hire li { margin: 4px 0; }
.hire p { margin: 6px 0; }

/* interests */
.interests { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.interests li { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.interests b { display: block; margin-bottom: 2px; }
.interests span { color: var(--muted); font-size: .92rem; }

/* news */
.news { list-style: none; padding: 0; margin: 0; }
.news li { display: flex; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.news li:last-child { border-bottom: none; }
.news .date { flex: 0 0 82px; color: var(--muted); font-weight: 600; font-size: .92rem; padding-top: 1px; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.filters button {
  font: inherit; font-size: .86rem; font-weight: 500; cursor: pointer;
  padding: 5px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--muted);
}
.filters button.active, .filters button:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* publications */
.paper {
  display: grid; grid-template-columns: 220px 1fr; gap: 22px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; margin-bottom: 14px; transition: box-shadow .15s, transform .15s;
}
.paper:hover { box-shadow: 0 6px 20px rgba(0,0,0,.06); transform: translateY(-1px); }
.pimg {
  position: relative; width: 220px; height: 132px; border-radius: 8px; overflow: hidden;
  background: #f4f5f7; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border);
}
.pimg img { width: 100%; height: 100%; object-fit: contain; }
.badge {
  position: absolute; top: 8px; left: 8px; background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; letter-spacing: .02em;
}
.ptitle { font-weight: 600; font-size: 1.04rem; line-height: 1.4; margin-bottom: 4px; color: var(--text); }
.pauthors { font-size: .9rem; color: var(--muted); }
.pauthors b { color: var(--text); }
.pvenue { font-size: .9rem; font-style: italic; margin: 3px 0 8px; }
.plinks a {
  display: inline-block; font-size: .8rem; font-weight: 600; margin-right: 6px;
  padding: 2px 10px; border-radius: 6px; border: 1px solid var(--border); color: var(--text);
}
.plinks a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.tag { display: inline-block; font-size: .74rem; color: var(--accent); background: var(--accent-soft); padding: 1px 8px; border-radius: 999px; margin-left: 4px; font-style: normal; font-weight: 500; }
.more-authors { cursor: pointer; color: var(--accent); }

footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 26px 0 40px; border-top: 1px solid var(--border); max-width: var(--maxw); margin: 0 auto; }

/* mobile */
@media (max-width: 680px) {
  .nav-links { display: none; }
  .hero { padding-top: 34px; }
  .hero h1 { font-size: 2rem; }
  .hero h1 .zh { display: block; margin: 4px 0 0; }
  .interests { grid-template-columns: 1fr; }
  .paper { grid-template-columns: 1fr; }
  .pimg { width: 100%; height: 180px; }
  .news li { flex-direction: column; gap: 0; }
}
