/* =========================================================================
   Tianchi Liu — Academic Homepage
   Design: restrained, editorial, premium. Serif display + clean sans body.
   ========================================================================= */

:root {
  --bg:        #fbfaf7;
  --bg-alt:    #f4f2ec;
  --bg-grad:   linear-gradient(168deg, #fcfbf9 0%, #f5f4ef 42%, #eceff3 100%);
  --surface:   #ffffff;
  --ink:       #1b1b1d;
  --ink-soft:  #3a3a3e;
  --muted:     #6c6c72;
  --faint:     #9a9aa0;
  --line:      rgba(20,20,25,.10);
  --line-soft: rgba(20,20,25,.06);
  --accent:    #34597a;   /* calm slate blue */
  --accent-d:  #25425c;
  --accent-t:  rgba(52,89,122,.10);
  --gold:      #a87b35;
  --gold-t:    rgba(168,123,53,.12);
  --shadow:    0 1px 2px rgba(20,20,30,.04), 0 8px 30px rgba(20,20,30,.06);
  --shadow-lg: 0 4px 12px rgba(20,20,30,.08), 0 24px 60px rgba(20,20,30,.12);
  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1080px;
  --serif: "Newsreader", Georgia, "Songti SC", serif;
  --sans:  "Inter", "Noto Sans SC", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;
  --ease:  cubic-bezier(.22,.61,.36,1);
}

html[data-theme="dark"] {
  --bg:        #0e1014;
  --bg-alt:    #141821;
  --bg-grad:   linear-gradient(168deg, #0d1015 0%, #101a27 55%, #0b141e 100%);
  --surface:   #161a22;
  --ink:       #ece9e3;
  --ink-soft:  #cdcbd3;
  --muted:     #9a9aa4;
  --faint:     #6f7079;
  --line:      rgba(235,235,245,.12);
  --line-soft: rgba(235,235,245,.07);
  --accent:    #7fa9cf;
  --accent-d:  #a3c4e2;
  --accent-t:  rgba(127,169,207,.14);
  --gold:      #d8b06b;
  --gold-t:    rgba(216,176,107,.14);
  --shadow:    0 1px 2px rgba(0,0,0,.3), 0 8px 30px rgba(0,0,0,.4);
  --shadow-lg: 0 4px 12px rgba(0,0,0,.4), 0 24px 60px rgba(0,0,0,.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; scroll-snap-type: y proximity; }
.hero, .section { scroll-snap-align: start; scroll-snap-stop: normal; }
body {
  background: var(--bg-grad);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: color .5s var(--ease);
  overflow-x: hidden;
}
html.lang-zh body { font-family: "Noto Sans SC", var(--sans); }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-d); }
b, strong { font-weight: 600; color: var(--ink); }
img { max-width: 100%; display: block; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 200; transition: width .1s linear;
}

/* ========================= NAV ========================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .4s var(--ease);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .4s var(--ease);
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav.scrolled .nav-inner { padding: 11px 28px; }
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-family: var(--serif); font-weight: 600;
  font-size: 15px; letter-spacing: .5px;
}
.brand-name { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .2px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--muted); font-size: .92rem; font-weight: 500; position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.ctrl {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  border-radius: 9px; height: 36px; cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center; transition: all .25s var(--ease);
}
.ctrl:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.lang-toggle { padding: 0 11px; font-size: .8rem; font-weight: 600; gap: 2px; letter-spacing: .3px; }
.lang-sep { opacity: .35; margin: 0 1px; }
html:not(.lang-zh) .lang-zh { opacity: .35; } html:not(.lang-zh) .lang-en { color: var(--accent); }
html.lang-zh .lang-en { opacity: .35; }   html.lang-zh .lang-zh { color: var(--accent); }
.theme-toggle { width: 36px; }
.theme-toggle svg { stroke: currentColor; fill: none; stroke-width: 1.7; }
.ico-moon { display: none; fill: currentColor; stroke: none; }
html[data-theme="dark"] .ico-sun { display: none; }
html[data-theme="dark"] .ico-moon { display: block; }
.menu-toggle { width: 36px; flex-direction: column; gap: 4px; display: none; }
.menu-toggle span { width: 16px; height: 1.6px; background: currentColor; transition: .3s; }

/* ========================= HERO ========================= */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 78% 18%, var(--accent-t), transparent 70%),
    radial-gradient(50% 45% at 12% 88%, var(--accent-t), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0);
  background-size: 26px 26px; opacity: .5; mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}
.hero-inner {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto;
  padding: 120px 28px 80px; display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center;
}
.hero-photo { position: relative; width: 240px; height: 240px; margin: 0 auto; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 5px solid var(--surface); box-shadow: var(--shadow-lg); position: relative; z-index: 1;
}
.hero-photo-ring {
  position: absolute; inset: -12px; border-radius: 50%;
  border: 1.5px dashed var(--accent); opacity: .35; animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-eyebrow {
  font-family: var(--mono); font-size: .76rem; letter-spacing: .5px; color: var(--accent);
  text-transform: uppercase; margin-bottom: 14px;
}
.hero-name { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -.5px; }
.hero-name-sub { display: block; font-size: .42em; color: var(--muted); font-weight: 400; margin-top: 8px; letter-spacing: 2px; }
.hero-roles { list-style: none; margin: 20px 0 18px; display: flex; flex-direction: column; gap: 3px; }
.hero-roles li { color: var(--ink-soft); font-size: 1rem; padding-left: 18px; position: relative; }
.hero-roles li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .55; }
.hero-bio { color: var(--muted); font-size: .98rem; max-width: 56ch; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 11px;
  font-size: .9rem; font-weight: 500; transition: all .25s var(--ease); border: 1px solid transparent;
}
.btn svg { fill: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px var(--accent-t); }
.btn-primary:hover { background: var(--accent-d); color:#fff; transform: translateY(-2px); box-shadow: 0 10px 26px var(--accent-t); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink-soft); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-stats .stat-num { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); line-height: 1.05; }
.hero-stats .stat-num.sm { font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: .2px; color: var(--ink-soft); }
.hero-stats .stat-label { font-size: .78rem; color: var(--muted); margin-top: 6px; letter-spacing: .3px; }
.hero-stats .stat-sub { display: block; font-size: .62rem; color: var(--accent); opacity: .85; margin-top: 2px; font-family: var(--mono); letter-spacing: .3px; }

.scroll-hint { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); width: 30px; height: 50px; border: 2px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 16px; display: grid; place-items: start center; padding-top: 9px; z-index: 1; transition: border-color .25s; }
.scroll-hint:hover { border-color: var(--accent); }
.scroll-hint span { width: 5px; height: 11px; border-radius: 3px; background: var(--accent); animation: scrolldot 1.6s var(--ease) infinite; }
.scroll-hint::after {
  content: ""; position: absolute; bottom: -15px; left: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: translateX(-50%) rotate(45deg); animation: chev 1.6s var(--ease) infinite;
}
@keyframes scrolldot { 0%{opacity:0;transform:translateY(0)} 40%{opacity:1} 80%{opacity:0;transform:translateY(15px)} 100%{opacity:0} }
@keyframes chev { 0%{opacity:0;transform:translateX(-50%) rotate(45deg) translateY(-4px)} 50%{opacity:.85} 100%{opacity:0;transform:translateX(-50%) rotate(45deg) translateY(5px)} }

/* ========================= SECTIONS ========================= */
.section { max-width: var(--maxw); margin: 0 auto; padding: 92px 28px; }
.section.alt { max-width: none; background: color-mix(in srgb, var(--accent) 5%, transparent); }
.section.alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 44px; }
.section-kicker { font-family: var(--mono); font-size: .8rem; color: var(--accent); opacity: .7; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.4px; }
.section-title::after { content: ""; display: block; width: 46px; height: 2px; background: var(--accent); margin-top: 14px; opacity: .5; }
.sub-title { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; margin-bottom: 22px; color: var(--ink); }

/* ---------- NEWS ---------- */
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid; grid-template-columns: 92px 1fr; gap: 24px; align-items: start;
  padding: 18px 0; border-top: 1px solid var(--line-soft); position: relative;
}
.news-item:first-child { border-top: none; }
.news-date { font-family: var(--mono); font-size: .82rem; color: var(--accent); padding-top: 2px; }
.news-body { color: var(--ink-soft); font-size: .98rem; }
.news-tag {
  display: inline-block; font-size: .68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; padding: 2px 8px; border-radius: 6px; margin-right: 8px; vertical-align: 1px;
}
.news-tag.paper  { background: var(--accent-t); color: var(--accent); }
.news-tag.award  { background: var(--gold-t); color: var(--gold); }
.news-tag.career { background: rgba(110,110,120,.12); color: var(--muted); }

/* ---------- RESEARCH ---------- */
.research-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 60px; }
.research-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: all .35s var(--ease); box-shadow: var(--shadow);
}
.research-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.research-card .r-icon { font-size: 1.7rem; margin-bottom: 14px; }
.research-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.18rem; margin-bottom: 10px; }
.research-card p { color: var(--muted); font-size: .92rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }
.timeline { list-style: none; position: relative; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1.5px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 22px; }
.timeline li::before { content: ""; position: absolute; left: -22px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.timeline .t-period { font-family: var(--mono); font-size: .78rem; color: var(--accent); }
.timeline .t-role { font-weight: 600; color: var(--ink); margin-top: 2px; }
.timeline .t-org { color: var(--muted); font-size: .9rem; }

/* ========================= SELECTED (featured) ========================= */
.selected-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: all .4s var(--ease); display: flex; flex-direction: column;
}
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.feat-teaser { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #ffffff; display: flex; align-items: center; justify-content: center; }
.feat-teaser img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .6s var(--ease); }
.feat-card:hover .feat-teaser img { transform: scale(1.03); }
.feat-logo {
  position: absolute; top: 14px; left: 14px; width: 108px; height: 108px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(6px);
  display: grid; place-items: center; box-shadow: var(--shadow); border: 1px solid var(--line-soft); overflow: hidden;
}
.feat-logo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.feat-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.feat-meta-top { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
/* reserved placeholder card */
.feat-reserved { border: 1.5px dashed var(--line); background: transparent; box-shadow: none; display: grid; place-items: center; min-height: 300px; transition: border-color .3s var(--ease); }
.feat-reserved:hover { transform: none; box-shadow: none; border-color: var(--accent); }
.reserved-inner { text-align: center; color: var(--muted); padding: 30px; }
.reserved-plus { font-size: 2.6rem; color: var(--faint); font-weight: 200; line-height: 1; margin-bottom: 14px; }
.reserved-title { font-family: var(--serif); font-size: 1.18rem; color: var(--ink-soft); margin-bottom: 6px; }
.reserved-sub { font-size: .84rem; color: var(--faint); }
.feat-title { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; line-height: 1.3; margin-bottom: 9px; color: var(--ink); }
.feat-authors { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.feat-authors .me { color: var(--ink); font-weight: 600; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 6px; }
.feat-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ========================= TAGS / BADGES ========================= */
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600;
  padding: 4px 12px; border-radius: 8px; line-height: 1.5; white-space: nowrap; letter-spacing: .1px;
}
.badge .rank { font-family: var(--mono); font-size: .68rem; font-weight: 500; opacity: .85; padding-left: 7px; margin-left: 1px; border-left: 1px solid currentColor; letter-spacing: 0; }
/* ordinary venues (everything except the top ones) */
.venue-plain { background: color-mix(in srgb,var(--muted) 12%, transparent); color: var(--ink-soft); border: 1px solid var(--line); }
/* highlighted top venues (NeurIPS / EMNLP / ACL / TIFS / TASLP) — soft blue */
.venue-emph {
  background: linear-gradient(135deg, #c4d8ec 0%, #d6e3f0 100%);
  color: #1f3f5d; border: 1px solid #abc8e2; box-shadow: 0 1px 3px rgba(52,89,122,.10);
}
html[data-theme="dark"] .venue-emph {
  background: linear-gradient(135deg, #2a465e, #34566f);
  color: #d6e6f4; border-color: #466884;
}
.year-chip { font-family: var(--mono); font-size: .74rem; color: var(--faint); }
sup.eq { color: var(--accent); font-weight: 600; font-size: .7em; }
.venue-wrap { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.rank-line { font-family: var(--mono); font-size: .68rem; color: var(--muted); letter-spacing: .2px; padding-left: 1px; }
.cite-chip {
  display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono);
  font-size: .74rem; font-weight: 600; color: var(--muted);
  background: color-mix(in srgb, var(--muted) 10%, transparent);
  border: 1px solid var(--line); padding: 3px 8px; border-radius: 7px;
}
.cite-chip svg { fill: #4285F4; flex: none; }
.tag {
  font-size: .74rem; font-weight: 500; padding: 3px 9px; border-radius: 7px;
  border: 1px solid var(--line); color: var(--muted); background: transparent;
}
.tag.task   { color: var(--gold); background: var(--gold-t); border-color: color-mix(in srgb,var(--gold) 32%, transparent); font-weight: 600; }
.tag.method { color: var(--accent); background: var(--accent-t); border-color: color-mix(in srgb,var(--accent) 24%, transparent); font-weight: 600; }
.tag.oral { color: var(--accent); border-color: color-mix(in srgb,var(--accent) 30%, transparent); font-weight: 600; }
.tag.award { color: var(--gold); border-color: color-mix(in srgb,var(--gold) 40%, transparent); background: var(--gold-t); font-weight: 600; }
.tag.note { font-style: italic; }
.tag.team { background: linear-gradient(90deg, color-mix(in srgb,var(--accent) 14%,transparent), var(--gold-t)); color: var(--ink-soft); border: none; }
.link-pill {
  font-size: .76rem; font-weight: 500; padding: 4px 11px; border-radius: 7px;
  border: 1px solid var(--line); color: var(--ink-soft); background: var(--surface); transition: all .2s;
}
.link-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-t); }
.stars-pill { display:inline-flex; align-items:center; }
.stars-pill img { height: 19px; }

/* ========================= ALL PUBLICATIONS ========================= */
.pub-filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; color: var(--faint); margin-right: 6px; min-width: 64px; }
.filter-btn {
  font-size: .82rem; font-weight: 500; padding: 6px 14px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; transition: all .25s var(--ease);
}
.filter-btn:hover { color: var(--ink); border-color: var(--accent); }
.filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
html[data-theme="dark"] .filter-btn.active { color: #0e1014; }

.pub-list { display: flex; flex-direction: column; }
.pub-cat { margin-bottom: 34px; }
.pub-cat.hidden { display: none; }
.pub-cat-title { font-family: var(--serif); font-weight: 500; font-size: 1.18rem; color: var(--accent); margin-bottom: 4px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.pub-cat-list { display: flex; flex-direction: column; }
.pub-empty { display: none; text-align: center; color: var(--muted); padding: 44px 20px; font-size: .95rem; }
.pub-empty.show { display: block; }
.pub-item {
  display: grid; grid-template-columns: 38px 150px 1fr; gap: 20px; padding: 20px 18px;
  border-radius: var(--radius-sm); transition: background .3s var(--ease); align-items: start;
}
.pub-num {
  font-family: var(--serif); font-size: 1.05rem; color: var(--faint);
  font-variant-numeric: tabular-nums; padding-top: 3px; text-align: right; line-height: 1.3;
}
.pub-item:hover .pub-num { color: var(--accent); }
.pub-item:hover { background: var(--surface); box-shadow: var(--shadow); }
.pub-item.hidden { display: none; }
.pub-venue-col { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; padding-top: 2px; }
.pub-main {}
.pub-title { font-family: var(--serif); font-weight: 500; font-size: 1.06rem; line-height: 1.35; color: var(--ink); margin-bottom: 6px; }
.pub-authors { font-size: .85rem; color: var(--muted); margin-bottom: 11px; }
.pub-authors .me { color: var(--ink); font-weight: 600; border-bottom: 1.5px solid var(--accent); }
.pub-meta { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }

/* ========================= OPEN SOURCE ========================= */
.os-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.os-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 22px; transition: all .3s var(--ease); box-shadow: var(--shadow);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.os-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb,var(--accent) 30%, var(--line)); }
.os-card .os-name { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.os-card .os-desc { font-size: .85rem; color: var(--muted); margin-top: 3px; }
.os-card .os-star img { height: 20px; }

/* ========================= AWARDS / SERVICE ========================= */
.award-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.award-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: .92rem; color: var(--ink-soft); align-items: start; }
.award-list .a-ico { font-size: 1.05rem; }
.service-roles { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.service-roles li { font-size: .92rem; color: var(--ink-soft); padding-left: 16px; position: relative; }
.service-roles li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }
.reviewer-block { padding-top: 18px; border-top: 1px solid var(--line); }
.reviewer-title { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.reviewer-label { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .5px; color: var(--faint); margin: 12px 0 8px; font-weight: 600; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-row .ry { color: var(--faint); font-family: var(--mono); font-size: .92em; margin-left: 5px; }

/* ========================= LIFE ========================= */
.hobby-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.hobby-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 22px; text-align: center; transition: all .35s var(--ease); box-shadow: var(--shadow);
}
.hobby-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.hobby-card .h-ico { font-size: 2.2rem; margin-bottom: 14px; transition: transform .35s var(--ease); display: inline-block; }
.hobby-card:hover .h-ico { transform: scale(1.15) rotate(-6deg); }
.hobby-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; margin-bottom: 8px; }
.hobby-card p { font-size: .86rem; color: var(--muted); }

/* ========================= FOOTER ========================= */
.footer { border-top: 1px solid var(--line); padding: 36px 28px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-name { font-family: var(--serif); color: var(--ink); font-size: 1.05rem; }
.footer-social { display: flex; gap: 22px; }
.footer-social a { font-size: .88rem; color: var(--muted); }
.footer-social a:hover { color: var(--accent); }

/* ========================= REVEAL ANIMATIONS ========================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1){transition-delay:.05s}
.stagger.in > *:nth-child(2){transition-delay:.12s}
.stagger.in > *:nth-child(3){transition-delay:.19s}
.stagger.in > *:nth-child(4){transition-delay:.26s}
.stagger.in > *:nth-child(5){transition-delay:.33s}
.stagger.in > *:nth-child(6){transition-delay:.40s}
.stagger.in > *:nth-child(7){transition-delay:.47s}
.stagger.in > *:nth-child(8){transition-delay:.54s}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; scroll-snap-type: none; }
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; padding-top: 110px; }
  .hero-photo { width: 180px; height: 180px; }
  .hero-roles li { padding-left: 0; } .hero-roles li::before { display: none; }
  .hero-bio { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .research-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .selected-grid, .os-grid { grid-template-columns: 1fr; }
  .hobby-grid { grid-template-columns: repeat(2,1fr); }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 28px 16px; box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
  .menu-toggle { display: inline-flex; }
  .pub-item { grid-template-columns: 1fr; gap: 10px; }
  .pub-num { text-align: left; padding-top: 0; font-size: .95rem; }
  .pub-venue-col { flex-direction: row; flex-wrap: wrap; align-items: center; }
}
