:root {
  color-scheme: light;
  --ink: #202b38;
  --muted: #637080;
  --accent: #245f9f;
  --line: #e6eaf0;
  --soft: #f5f8fc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", sans-serif; font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.3; font-weight: 650; letter-spacing: -.035em; }
h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 20px; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.15rem; }
p { margin-bottom: 18px; }
strong { font-weight: 600; }
.shell { width: min(100% - 64px, 960px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-name { font-size: 19px; font-weight: 650; letter-spacing: -.04em; color: var(--ink); white-space: nowrap; }
.name-dot { color: var(--accent); }
nav { display: flex; gap: 28px; font-size: 14px; }
nav a { color: var(--muted); padding-block: 10px; }
nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 9px; }
.main-content { min-height: calc(100vh - 190px); padding-top: 72px; padding-bottom: 80px; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 14px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 184px; gap: 68px; align-items: start; }
.hero h1 { margin-bottom: 5px; }
.name-ko { font-size: 19px; font-weight: 400; color: var(--muted); letter-spacing: -.02em; margin-left: 10px; white-space: nowrap; }
.hero-role { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.hero-bio { max-width: 640px; }
.portrait { width: 184px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-top: 8px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 14px; margin-top: 25px; }
.profile-links .cv-link { font-weight: 650; }
.home-section { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 28px; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; }
.section-heading a { font-size: 13px; white-space: nowrap; }
.research-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.research-tags li { padding: 5px 13px; border-radius: 5px; color: #3f5874; background: var(--soft); font-size: 13px; }
.selected-paper { padding-block: 25px; border-top: 1px solid var(--line); }
.selected-paper h3 { font-size: 16px; letter-spacing: -.015em; margin-bottom: 6px; }
.selected-paper h3 a { color: var(--ink); }
.selected-paper > a { font-size: 13px; }
.paper-meta { color: var(--muted); font-size: 13px; margin-bottom: 7px; }
.award-note { color: #77551a; font-size: 13px; margin-bottom: 7px; }
.award-note a { color: inherit; text-decoration: underline; }
.paper-authors { font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.paper-authors u { color: var(--ink); text-decoration-color: #adb9c7; text-underline-offset: 3px; }
.paper-id { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.paper-detail { font-size: 12px; }
.publications .publication-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.publication-filters button { font: inherit; font-size: 12px; line-height: 1.5; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--muted); cursor: pointer; }
.publication-filters button:hover { border-color: var(--accent); color: var(--accent); }
.publication-filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: white; }
.publication-filters button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.publication-filters [data-count] { margin-left: 5px; font-variant-numeric: tabular-nums; }
.filter-status { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.publications .paper-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 12px 0; }
.publications .paper-tags li { padding: 3px 9px; margin: 0; border-radius: 4px; background: var(--soft); color: #3f5874; font-size: 11px; }
.paper-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
[hidden] { display: none !important; }
.page-header { margin-bottom: 34px; }
.page-header h1 { margin: 0; font-size: 2.5rem; }
.page-content h3 { margin-top: 34px; margin-bottom: 16px; }
.page-content ul { padding-left: 20px; }
.page-content li { padding-left: 4px; margin-bottom: 16px; }
.page-content > p:first-child { color: var(--muted); }
.publication-legend { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.publication-list > ul { list-style: none; padding: 0; margin: 0; }
.publication-list > ul > li { padding: 25px 0; margin: 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.publication-list > ul > li > strong:first-child { display: inline-block; font-size: 17px; line-height: 1.55; letter-spacing: -.015em; margin-bottom: 7px; }
.publication-list em { color: var(--muted); }
.publication-list .plain-link { color: inherit; }
.publication-list .award { color: #77551a; }
.publication-list .award em { color: inherit; }
.publication-list u { text-decoration-color: #adb9c7; text-underline-offset: 3px; }
.page-cv .page-content h3 { border-top: 1px solid var(--line); padding-top: 26px; }
.site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; padding-block: 24px; font-size: 12px; color: var(--muted); }
.site-footer a { color: var(--muted); }
.footer-divider { padding-inline: 8px; color: #b4bec9; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 8px 16px; background: white; z-index: 10; }
.skip-link:focus { top: 12px; }
@media (max-width: 680px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 16px; }
  .site-name { font-size: 17px; }
  nav { gap: 16px; font-size: 13px; }
  .main-content { padding-top: 44px; padding-bottom: 52px; }
  .hero { grid-template-columns: minmax(0, 1fr) 100px; gap: 20px; }
  .hero-intro { display: contents; }
  .hero-title { grid-column: 1; }
  .hero .eyebrow { font-size: 10px; }
  .hero h1 { font-size: 2rem; }
  .name-ko { display: block; margin: 7px 0 0; font-size: 16px; }
  .hero-role { font-size: 14px; margin-bottom: 0; }
  .portrait { grid-column: 2; grid-row: 1; width: 100px; margin-top: 6px; }
  .hero-bio { grid-column: 1 / -1; }
  .profile-links { gap: 10px 17px; }
  .home-section { margin-top: 36px; padding-top: 24px; }
  .page-header h1 { font-size: 2rem; }
  .site-footer { flex-wrap: wrap; gap: 4px; }
}
@media (max-width: 380px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 2px; padding-block: 14px; }
  nav { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
