/* A white academic portfolio with clear typography and generous research imagery. */
@font-face {
  font-family: Inter;
  src: url('../assets/fonts/inter-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('../assets/fonts/inter-medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('../assets/fonts/inter-semibold.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('../assets/fonts/inter-bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url('../assets/fonts/newsreader-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #fff;
  --ink: #20272d;
  --body: #4e5862;
  --muted: #6c7580;
  --blue: #285e91;
  --line: #e8ebee;
  --soft: #f6f8fa;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: Newsreader, Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
::selection { background: #dfebf6; }
.wrap { width: min(1016px, calc(100% - 96px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  padding: 10px 18px;
  background: white;
  z-index: 20;
}
.skip-link:focus { top: 10px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  border-bottom: 1px solid var(--line);
}
.wordmark { color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -.6px; }
.wordmark:hover { text-decoration: none; }
.wordmark span { color: var(--blue); }
.site-nav { display: flex; gap: 32px; align-items: center; font-size: 12px; font-weight: 500; }
.site-nav a { color: var(--muted); padding-block: 12px; }
.site-nav a:hover { color: var(--ink); }
.nav-external { font-size: 13px; margin-left: 5px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  gap: 72px;
  align-items: start;
  padding: 64px 0 32px;
}
.hero-copy { min-width: 0; }
h1 { margin: 0 0 8px; font: 400 68px/1.07 var(--serif); letter-spacing: -2.5px; }
.name-period { color: var(--blue); }
.role {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 9px;
  margin: 0 0 25px;
  color: #505d68;
  font-size: 13px;
  font-weight: 500;
}
.role > span { color: #b5bdc5; font-weight: 400; }
.bio { margin: 12px 0; color: var(--body); font-size: 15px; line-height: 1.8; }
.bio strong { color: var(--ink); font-weight: 500; }
.bio a { text-decoration: underline; text-decoration-color: #d4e0ec; text-decoration-thickness: 1px; }
.bio a:hover { text-decoration-color: var(--blue); }
.social-links { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; margin-top: 22px; font-size: 12px; font-weight: 500; }
.social-links a { display: inline-flex; flex: none; align-items: center; gap: 5px; min-height: 36px; white-space: nowrap; }
.social-links a > span { color: #8b9dac; }
.social-links svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.portrait-block { margin: 5px 0 0; }
.portrait-frame { background: var(--soft); overflow: hidden; border-radius: 8px; }
.portrait-frame img { display: block; width: 100%; height: auto; aspect-ratio: 1/1.1; object-fit: cover; object-position: 50% 44%; }
.research-note {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 26px;
  align-items: baseline;
  padding: 24px 0 40px;
}
.section-label { margin: 0; color: var(--muted); font: 500 10px/1.5 var(--sans); letter-spacing: 1.25px; text-transform: uppercase; }
.research-note p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.85; }
.research-note strong { color: var(--ink); font-weight: 500; }
.publications { padding: 36px 0 32px; border-top: 1px solid var(--line); }
.section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-bottom: 12px; }
h2 { margin: 0; font: 400 39px/1.15 var(--serif); letter-spacing: -.9px; }
.section-period { color: var(--blue); }
.filter-group { display: flex; gap: 23px; align-self: stretch; }
.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.filter-button[aria-pressed=true] { color: var(--ink); border-bottom-color: var(--blue); }
.filter-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; background: var(--soft); border-radius: 5px; color: var(--muted); font-size: 10px; }
.publication-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 0 0 15px; border-bottom: 1px solid var(--line); }
.publication-description { margin: 0; color: var(--muted); font-size: 11px; }
.toolbar-actions { display: flex; align-items: center; gap: 20px; }
.motion-toggle { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 11px; white-space: nowrap; }
.motion-toggle:hover { color: var(--blue); }
.search-wrap { display: block; position: relative; }
.search-wrap svg { position: absolute; top: 15px; left: 0; width: 14px; height: 14px; stroke: #82909d; fill: none; stroke-width: 1.7; pointer-events: none; }
.search-input { width: 188px; min-height: 44px; padding: 8px 0 8px 24px; border: 0; border-radius: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-input::placeholder { color: #7a8793; }
.paper {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.paper[hidden] { display: none; }
.paper-content { min-width: 0; }
.paper-media { position: relative; align-self: start; margin: 3px 0 0; overflow: hidden; aspect-ratio: 16/10; border: 1px solid #e9edf1; border-radius: 7px; background: var(--soft); }
.paper-media a { display: block; height: 100%; }
.paper-media img, .paper-media video { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Preserve complete robot demonstrations and multi-camera research panels. */
.paper-media.video-media img { position: absolute; inset: 0; }
.paper-media video { position: relative; z-index: 1; }
.paper-media .media-label { display: none; }
/* Method figures retain every panel; the image link opens the full-size diagram. */
.paper-media.figure-media { background: #fff; }
.paper-media.figure-media img { padding: 6px; }
.paper-media.figure-media a { cursor: zoom-in; }
.paper-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 11px; line-height: 1.5; }
.venue { color: var(--blue); font-weight: 600; }
.badge { padding: 2px 7px; border-radius: 4px; background: #eef4f9; color: #376181; font-size: 10px; font-weight: 500; }
.paper h3 { margin: 0 0 10px; font: 600 20px/1.4 var(--sans); letter-spacing: -.5px; text-wrap: pretty; }
.paper h3 a { color: var(--ink); }
.paper h3 a:hover { color: var(--blue); text-decoration: none; }
.authors { margin: 0 0 9px; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.authors strong { color: #37434e; font-weight: 600; }
.paper-summary { margin: 0 0 12px; color: var(--body); font-size: 13px; line-height: 1.75; }
.paper-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 17px; font-size: 12px; font-weight: 500; }
.paper-links a { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; }
.paper-links a > span { font-size: 10px; color: #8b9dac; }
.author-details { margin: 0 0 8px; }
.author-details summary { width: fit-content; color: var(--muted); font-size: 11px; cursor: pointer; }
.author-details .authors { margin: 5px 0 0; }
.author-legend { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.publication-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 0; color: var(--muted); font-size: 11px; }
.empty-results { padding: 50px 0; color: var(--muted); text-align: center; }
.background-section { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: 48px 0 64px; border-top: 1px solid var(--line); }
.background-section h2 { margin-bottom: 28px; font-size: 29px; }
.timeline-item { margin: 0 0 25px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-title { margin: 0 0 5px; font-size: 13px; line-height: 1.6; font-weight: 600; }
.timeline-detail { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.timeline-date { margin: 5px 0 0; color: #77838e; font-size: 11px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.js-only { display: none; }
.js .js-only { display: flex; }
.noscript-note { color: var(--muted); font-size: 12px; }
.js .noscript-note { display: none; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
  .hero { grid-template-columns: minmax(0, 1fr) 210px; gap: 40px; padding-top: 48px; }
  h1 { font-size: 60px; }
  .portrait-block { margin-top: 8px; }
  .paper { grid-template-columns: 248px minmax(0, 1fr); gap: 26px; }
  .paper h3 { font-size: 18px; }
  .research-note { grid-template-columns: 108px minmax(0, 1fr); gap: 22px; }
  .background-section { gap: 40px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { height: 72px; }
  .wordmark { font-size: 16px; }
  .site-nav { gap: 18px; font-size: 11px; }
  .hero { grid-template-columns: minmax(0, 1fr) 104px; gap: 0 24px; padding: 36px 0 18px; }
  .hero-copy { display: contents; }
  .profile-heading { grid-column: 1; grid-row: 1; align-self: center; min-width: 0; }
  h1 { margin-bottom: 9px; font-size: 54px; line-height: 1.04; letter-spacing: -1.8px; }
  .role { display: block; max-width: 250px; margin-bottom: 0; font-size: 12px; line-height: 1.9; }
  .role > span { padding-inline: 4px; }
  .portrait-block { grid-column: 2; grid-row: 1; width: 104px; margin: 0; }
  .portrait-frame { border-radius: 6px; }
  .bio, .social-links { grid-column: 1/-1; }
  .bio { margin: 14px 0 0; font-size: 14px; }
  .profile-heading + .bio { margin-top: 26px; }
  .social-links { gap: 4px 19px; margin-top: 14px; }
  .social-links a { min-height: 44px; }
  .research-note { display: block; padding: 18px 0 30px; }
  .section-label { margin-bottom: 10px; }
  .research-note p { font-size: 13px; }
  .publications { padding-top: 27px; }
  h2 { font-size: 34px; }
  .section-heading { gap: 12px 20px; margin-bottom: 14px; }
  .filter-group { gap: 18px; }
  .filter-button { font-size: 12px; }
  .filter-count { min-width: 20px; height: 20px; font-size: 10px; }
  .publication-toolbar { display: block; padding-bottom: 14px; }
  .toolbar-actions { justify-content: space-between; gap: 16px; margin-top: 5px; }
  .search-wrap { flex: 1; min-width: 0; max-width: 220px; }
  .search-input { width: 100%; min-width: 0; font-size: 16px; }
  .paper { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .paper-media { width: 100%; aspect-ratio: 16/9; margin: 0; }
  .paper h3 { font-size: 19px; line-height: 1.45; }
  .paper-meta { font-size: 12px; }
  .authors { font-size: 13px; }
  .paper-summary { font-size: 13px; }
  .paper-links { gap: 8px 22px; font-size: 12px; }
  .paper-links a { min-height: 40px; }
  .publication-footer { align-items: baseline; font-size: 10px; gap: 15px; }
  .background-section { grid-template-columns: 1fr; gap: 32px; padding: 32px 0 40px; }
  .background-section h2 { margin-bottom: 24px; font-size: 29px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .site-nav { gap: 13px; font-size: 10px; }
  .hero { grid-template-columns: minmax(0, 1fr) 88px; column-gap: 18px; }
  .portrait-block { width: 88px; }
  h1 { font-size: 47px; }
  .role { font-size: 11px; }
  .section-heading { display: block; }
  .filter-group { margin-top: 8px; }
  .search-wrap { max-width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  body { font-size: 11px; }
  .wrap { width: 100%; }
  .site-header, .toolbar-actions, .filter-group, .motion-toggle { display: none !important; }
  .hero { padding: 20px 0; gap: 30px; grid-template-columns: 1fr 140px; }
  .paper { break-inside: avoid; grid-template-columns: 150px 1fr; padding: 15px 0; }
  .paper-media video { display: none; }
  .paper-media.video-media img { position: relative; }
  .paper[hidden] { display: grid; }
  .background-section { padding: 20px 0; }
}
