@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --background: #fff;
  --ink: #3e3f3a;
  --muted: #62645e;
  --link: #325d88;
  --link-hover: #1a3b5a;
  --line: #dfd7ca;
  --subtle: #f8f5f0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--background); color: var(--ink); font: 16px/1.65 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
a { color: var(--link); text-decoration: none; text-underline-offset: 4px; }
a:hover { color: var(--link-hover); text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
button { font: inherit; }
strong { font-weight: 600; }
[hidden] { display: none !important; }
.site-header, main, .site-footer { width: min(1040px, calc(100% - 80px)); margin-inline: auto; }
.site-header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 23px; font-weight: 500; letter-spacing: -.65px; color: var(--ink); }
.wordmark:hover { color: var(--ink); text-decoration: none; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; font-size: 14px; }
.site-header nav a { color: var(--ink); padding-block: 9px; }
.site-header nav a[aria-current="page"] { color: var(--link); text-decoration: underline; text-underline-offset: 7px; }
.profile { padding: 54px 0 38px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
h1 { margin-bottom: 9px; font-size: clamp(32px, 3.5vw, 42px); font-weight: 400; letter-spacing: -1.3px; line-height: 1.2; }
.specialization { font-size: 18px; line-height: 1.5; margin-bottom: 20px; color: var(--muted); }
.profile-summary { max-width: 760px; margin-bottom: 22px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 12px 25px; font-size: 14px; }
.profile-links a { font-weight: 500; }
.profile-links span { margin-left: 3px; }
.section-nav { display: flex; flex-wrap: wrap; gap: 12px 29px; padding: 16px 0; border-block: 1px solid var(--line); font-size: 14px; }
.content-section { padding: 40px 0; border-bottom: 1px solid var(--line); }
h2 { margin-bottom: 22px; font-size: 26px; line-height: 1.3; font-weight: 400; letter-spacing: -.45px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.section-link { flex-shrink: 0; font-size: 13px; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.filters button { background: var(--background); color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 7px 12px; font-size: 12px; line-height: 1.4; cursor: pointer; }
.filters button:hover { color: var(--link); border-color: var(--link); }
.filters button.active { background: var(--link); border-color: var(--link); color: white; }
.paper { display: grid; grid-template-columns: 56px minmax(0, 1fr) 26px; gap: 16px; padding: 23px 0; border-bottom: 1px solid #eeebe5; }
.paper:last-child { border-bottom: 0; padding-bottom: 0; }
.paper-year { color: var(--muted); font-size: 13px; padding-top: 3px; }
.paper h3 { font-size: 18px; font-weight: 500; line-height: 1.45; margin: 0 0 7px; letter-spacing: -.12px; }
.paper h3 a { color: var(--link); }
.paper p { margin: 5px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.paper .venue { color: var(--ink); font-size: 13px; }
.paper-arrow { font-size: 21px; line-height: 1.4; text-align: right; }
.award { display: block; color: var(--ink); font-size: 12px; font-weight: 600; margin-top: 5px; }
.education-summary { max-width: 790px; }
.education-summary h3 { font-size: 16px; font-weight: 500; line-height: 1.4; margin-bottom: 13px; }
.education-summary p { font-size: 14px; line-height: 1.8; margin-bottom: 13px; }
.education-summary p:last-child { margin-bottom: 0; }
.badge-showcase { margin-top: 30px; }
.badge-group + .badge-group { margin-top: 26px; }
.badge-group h3 { margin: 0 0 12px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.badge-grid { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.experience-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.conference-badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.career-badge { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 20px 12px 16px; border: 1px solid #e4e5e3; border-radius: 6px; color: var(--ink); text-align: center; transition: border-color .18s ease, box-shadow .18s ease; }
.career-badge:hover { color: var(--ink); text-decoration: none; border-color: #a8bacb; box-shadow: 0 3px 12px #24374b08; }
.badge-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 64px; margin-bottom: 15px; }
.badge-logo img { display: block; width: auto; height: auto; max-width: min(155px, 90%); max-height: 64px; object-fit: contain; }
.badge-logo .glass-logo { filter: invert(1); }
.badge-name { font-size: 14px; font-weight: 500; line-height: 1.4; }
.badge-detail { margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.badge-honor { margin-top: 9px; padding: 2px 8px; border-radius: 3px; background: #f3f0e7; color: #665536; font-size: 10px; font-weight: 500; }
.writing-entry { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 26px; align-items: center; }
.writing-entry img { display: block; width: 180px; height: 130px; object-fit: contain; background: var(--subtle); padding: 10px; }
.writing-entry .entry-meta { margin-bottom: 7px; color: var(--muted); font-size: 12px; }
.writing-entry h3 { margin-bottom: 8px; font-size: 19px; font-weight: 500; line-height: 1.4; }
.writing-entry h3 span { font-size: 16px; }
.writing-entry p:last-child { margin: 0; color: var(--muted); font-size: 14px; max-width: 650px; }
.update-list { list-style: none; margin: 0; padding: 0; }
.update-list li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 10px 0; }
.update-list li:first-child { padding-top: 0; }
.update-list li:last-child { padding-bottom: 0; }
.update-list time { color: var(--muted); font-size: 13px; line-height: 1.8; }
.update-list p { font-size: 14px; margin: 0; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 30px; padding-block: 25px 35px; font-size: 12px; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer > div { display: flex; gap: 25px; }
.skip { position: absolute; left: 20px; top: -100px; z-index: 10; background: var(--ink); color: white; padding: 10px 15px; }
.skip:focus { top: 12px; }
.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; }

@media (max-width: 760px) {
  .site-header, main, .site-footer { width: calc(100% - 48px); }
  .site-header { min-height: 80px; gap: 24px; }
  .site-header nav { gap: 18px; font-size: 13px; }
  .profile { padding-top: 38px; }
  .specialization { font-size: 16px; }
  .experience-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paper { grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 12px; }
  .paper h3 { font-size: 17px; }
  .writing-entry { grid-template-columns: 140px minmax(0, 1fr); gap: 20px; }
  .writing-entry img { width: 140px; height: 115px; }
}
@media (max-width: 520px) {
  .site-header, main, .site-footer { width: calc(100% - 40px); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 11px; padding: 20px 0 15px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 10px; }
  .site-header nav a { padding-block: 3px; }
  .profile { padding: 32px 0; }
  h1 { font-size: 32px; letter-spacing: -.9px; }
  .specialization { line-height: 1.6; margin-bottom: 16px; }
  .profile-summary { font-size: 15px; }
  .profile-links { gap: 10px 22px; font-size: 13px; }
  .section-nav { justify-content: space-between; gap: 10px; font-size: 12px; }
  .content-section { padding-block: 32px; }
  h2 { font-size: 23px; margin-bottom: 18px; }
  .section-heading { align-items: flex-start; gap: 15px; }
  .section-link { font-size: 12px; margin-top: 7px; }
  #research .section-heading { flex-direction: column; gap: 0; margin-bottom: 18px; }
  #research h2 { margin-bottom: 5px; }
  #research .section-link { margin-top: 0; }
  .filters { gap: 6px; }
  .filters button { font-size: 11px; padding: 7px 9px; }
  .paper { grid-template-columns: minmax(0, 1fr) 20px; gap: 6px 12px; padding-block: 20px; }
  .paper-year { grid-column: 1; padding-top: 0; font-size: 12px; }
  .paper > div { grid-column: 1; grid-row: 2; }
  .paper-arrow { grid-column: 2; grid-row: 2; }
  .paper h3 { font-size: 16px; }
  .paper p, .paper .venue { font-size: 12px; }
  .badge-grid { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .career-badge { padding: 16px 10px 14px; }
  .badge-name { font-size: 13px; }
  .badge-detail { font-size: 11px; }
  .writing-entry { grid-template-columns: 1fr; gap: 18px; }
  .writing-entry img { width: 180px; height: 130px; }
  .writing-entry h3 { font-size: 18px; }
  .update-list li { grid-template-columns: 70px minmax(0, 1fr); gap: 15px; padding-block: 11px; }
  .update-list time { font-size: 12px; }
  .update-list p { font-size: 13px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 9px; padding-block: 22px 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .career-badge { transition: none; } }
@media print {
  .site-header, .section-nav, .filters, .paper-arrow, .site-footer, .skip { display: none; }
  main { width: 100%; }
  .profile { padding-top: 0; }
  .content-section { padding-block: 25px; }
  .paper { break-inside: avoid; grid-template-columns: 56px minmax(0, 1fr); }
  a { color: var(--ink); }
}
