@font-face { font-family: 'Source Sans 3'; src: url('assets/fonts/source-sans-regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('assets/fonts/source-sans-semibold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('assets/fonts/source-sans-bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('assets/fonts/lora-medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
:root {
  color-scheme: light;
  --ink: #000;
  --text: #000;
  --secondary: #000;
  --accent: #000;
  --line: #e5e5e5;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #fff; font-family: var(--sans); font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
::selection { background: #e9e9e9; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
p, h1, h2, h3, h4 { margin: 0; }
strong { font-weight: 600; color: var(--ink); }
.page { max-width: 938px; padding: 64px 28px 32px; margin: 0 auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.profile-header { display: grid; grid-template-columns: minmax(0, 1fr) 156px; column-gap: 42px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.profile-role { font-size: 16px; font-weight: 600; letter-spacing: .025em; color: var(--accent); margin-bottom: 10px; }
h1 { font-family: var(--serif); font-size: 48px; line-height: 1.22; font-weight: 500; letter-spacing: -1.7px; color: var(--ink); }
.affiliation { margin-top: 13px; font-size: 19px; font-weight: 600; color: var(--ink); }
.lab-name { font-size: 16px; color: var(--secondary); margin-top: 2px; }
.portrait { width: 156px; height: 174px; overflow: hidden; border-radius: 13px; background: #eff3f6; box-shadow: 0 0 0 1px #102f4610; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 46% 57%; transform: scale(1.9); }
.profile-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 23px; margin-top: 26px; font-size: 16px; }
.profile-links a { display: inline-flex; gap: 7px; align-items: center; text-decoration: none; font-weight: 600; }
.profile-links a:hover { text-decoration: underline; }
.profile-links .icon { width: 17px; height: 17px; }
.profile-links .cv-link { margin-left: auto; }
section { margin-top: 42px; scroll-margin-top: 28px; }
section:first-child { margin-top: 0; }
h2 { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.4; letter-spacing: -.6px; color: var(--ink); margin-bottom: 17px; }
h2 > .icon { width: 21px; height: 21px; color: var(--accent); stroke-width: 1.6; }
#about-content p { line-height: 1.8; }
#about-content p + p { margin-top: 14px; }
.interest-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px 6px; }
.interest-list li { color: var(--ink); background: #f6f6f6; border: 1px solid #e8e8e8; padding: 1px 7px; border-radius: 4px; font-size: 16px; line-height: 1.5; font-weight: 600; }
h3 { font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.education-entry { position: relative; padding-left: 20px; border-left: 2px solid #e5e5e5; }
.education-entry + .education-entry { margin-top: 24px; }
.education-entry h3 { font-size: 19px; margin-bottom: 2px; }
.education-entry > p { font-size: 17px; }
.education-entry .detail { color: var(--secondary); font-size: 16px; line-height: 1.65; margin-top: 3px; }
.inline-date { font-size: 16px; color: var(--secondary); }
.publication-note { display: flex; flex-wrap: wrap; gap: 0 10px; color: var(--secondary); font-size: 16px; margin-top: -7px; margin-bottom: 25px; }
#publication-summary { font-weight: 600; color: var(--accent); }
.note-dot { color: var(--ink); }
.publication { margin-bottom: 27px; }
.pub-title { font-size: 17.5px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.pub-title a { color: inherit; text-decoration: none; }
.pub-title a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; }
.pub-authors { color: var(--secondary); font-size: 16px; line-height: 1.6; margin-top: 5px; }
.pub-authors strong { color: var(--ink); font-weight: 700; }
.pub-venue { color: var(--ink); font-size: 16px; line-height: 1.6; margin-top: 4px; }
.pub-venue .pub-venue-short { color: #164f86; font-weight: 700; }
.pub-details { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 10px; margin-top: 5px; font-size: 16px; line-height: 1.6; }
.pub-rate { color: var(--secondary); }
.pub-distinction { color: #8b1e26; background: #fff2f1; border: 1px solid #e8caca; border-radius: 4px; padding: 0 5px; line-height: 1.4; font-weight: 700; }
.pub-rate--oral { color: #8b1e26; font-weight: 600; }
.pub-venue-full { font-style: italic; }
.pub-year { font-weight: 600; white-space: nowrap; }
.pub-extra { font-size: 16px; color: var(--secondary); margin-top: 4px; }
.paper-link { display: inline-flex; gap: 5px; align-items: center; font-size: 16px; font-weight: 600; text-decoration: none; }
.paper-link:hover { text-decoration: underline; }
.paper-link .icon { width: 14px; height: 14px; }
.honors-list { list-style: none; padding: 0; margin: 0; color: var(--secondary); font-size: 16px; line-height: 1.7; }
.honors-list li { position: relative; padding-left: 19px; margin-bottom: 19px; }
.honors-list li::before { position: absolute; left: 0; top: 11px; content: ''; width: 5px; height: 5px; border-radius: 50%; background: #000; }
.honors-list strong { font-size: 17px; font-weight: 600; color: var(--ink); }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 50px; padding-top: 23px; border-top: 1px solid var(--line); color: var(--secondary); font-size: 16px; }
footer a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.skip-link { position: fixed; top: -70px; left: 20px; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 10; }
.skip-link:focus { top: 10px; }
[hidden] { display: none !important; }
@media (max-width: 650px) {
  .page { padding: 36px 22px 26px; }
  .profile-header { grid-template-columns: minmax(0, 1fr) 108px; gap: 0 22px; margin-bottom: 32px; padding-bottom: 26px; }
  .profile-role { font-size: 16px; line-height: 1.5; margin-bottom: 9px; }
  h1 { font-size: 36px; letter-spacing: -1.2px; }
  .affiliation { font-size: 17px; line-height: 1.5; margin-top: 10px; }
  .lab-name { font-size: 16px; line-height: 1.5; margin-top: 5px; }
  .portrait { width: 108px; height: 130px; align-self: start; margin-top: 5px; border-radius: 10px; }
  .profile-links { gap: 11px 19px; margin-top: 22px; }
  .profile-links .cv-link { margin-left: 0; }
  section { margin-top: 34px; }
  h2 { font-size: 26px; gap: 10px; margin-bottom: 15px; }
  .interest-list { gap: 5px 6px; }
  .interest-list li { padding: 1px 7px; }
  .education-entry { padding-left: 15px; }
  .education-entry h3 { font-size: 18px; }
  .publication { margin-bottom: 25px; }
  .pub-title { font-size: 17px; }
  .pub-details { gap: 3px 10px; }
}
@media (max-width: 390px) {
  .profile-header { column-gap: 16px; grid-template-columns: minmax(0, 1fr) 90px; }
  .portrait { width: 90px; height: 112px; }
  h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .page { max-width: none; padding: 0; }
  body { font-size: 12pt; }
  h1 { font-size: 28pt; }
  h2 { font-size: 20pt; break-after: avoid; }
  section { margin-top: 24px; }
  .profile-header { margin-bottom: 28px; }
  .publication, .education-entry, .honors-list li { break-inside: avoid; }
  .pub-title { font-size: 12pt; }
  .pub-authors, .pub-venue, .pub-details, .pub-extra, .honors-list { font-size: 11pt; }
  .skip-link { display: none; }
  @page { margin: 18mm; }
}

.gpa-score { color: #000; font-weight: 700; }
.education-entry .academic-highlight { color: #8b1e26; font-weight: 700; }

.name-variants { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 9px; font-size: 17px; color: #000; }
.native-name { font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; font-size: 16px; }
.name-variants + .affiliation { margin-top: 12px; }
.content-message { max-width: 938px; margin: 56px auto; padding: 0 28px; font-size: 17px; }
.content-message button { margin: 16px 20px 0 0; padding: 6px 16px; border: 1px solid #000; border-radius: 4px; background: #fff; color: #000; font: inherit; cursor: pointer; }
.content-message button:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
.honors-list strong { color: #000; }

.profile-header.no-portrait { grid-template-columns: minmax(0, 1fr); }
