/* Original design for Taejun Yoon. System fonts; no external font assets. */
:root {
  color-scheme: dark;
  --background: #09090b;
  --surface: #111114;
  --text: #eeeef0;
  --secondary: #aaaab3;
  --muted: #858590;
  --line: #252529;
  --accent: #a5baff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--background); color: var(--text); font-size: 16px; line-height: 1.7; }
::selection { color: #fff; background: #354777; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; transition: color 160ms ease; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; border-radius: 3px; }
p, h1, h2, h3, h4, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; color: var(--text); }
.nowrap { white-space: nowrap; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 16px; padding: 9px 16px; background: var(--text); color: var(--background); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(9 9 11 / 94%); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.header-inner, .page { width: min(1060px, calc(100% - 96px)); margin-inline: auto; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 24px; line-height: 1; font-weight: 650; letter-spacing: -1.5px; }
.wordmark span { color: var(--accent); }
nav { display: flex; gap: 32px; }
nav a { font-size: 13px; font-weight: 500; color: var(--secondary); padding-block: 10px; }
nav a:hover { color: var(--text); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 218px; align-items: center; gap: 70px; padding: 100px 0 96px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--secondary); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 21px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1 { font-size: clamp(44px, 6.2vw, 76px); font-weight: 600; letter-spacing: -.045em; line-height: 1.1; }
.name-dot { color: var(--accent); }
.korean-name { color: var(--muted); font-size: 17px; letter-spacing: .05em; margin-top: 11px; }
.hero-description { margin-top: 27px; font-size: 25px; line-height: 1.4; letter-spacing: -.025em; color: var(--secondary); }
.contact-links { margin-top: 31px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; }
.contact-link { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 500; }
.contact-link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; }
.arrow { color: var(--muted); }
.portrait { align-self: center; margin-top: 12px; }
.portrait img { display: block; width: 218px; height: 274px; object-fit: cover; border-radius: 16px; border: 1px solid #ffffff1a; }
.portrait figcaption { margin-top: 15px; text-align: center; font-size: 10px; letter-spacing: .015em; color: var(--muted); }

.section-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 36px; padding-block: 46px 48px; border-top: 1px solid var(--line); }
.section-label { display: flex; gap: 13px; align-items: baseline; padding-top: 3px; }
.section-number { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.section-label h2 { font-size: 14px; line-height: 1.6; font-weight: 550; letter-spacing: -.015em; }
.section-content { min-width: 0; }
.about-copy { font-size: 17px; line-height: 1.85; color: var(--secondary); letter-spacing: -.013em; }
.about-copy p + p { margin-top: 16px; }
.about-copy a { color: var(--text); text-decoration: underline; text-decoration-color: #55555f; text-decoration-thickness: 1px; }
.about-copy a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.interests { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.interests li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: #bebec7; font-size: 11px; letter-spacing: .005em; }

.publication-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; font-size: 11px; color: var(--muted); margin-bottom: 16px; }
.venue { padding: 3px 9px; border: 1px solid #a5baff38; border-radius: 5px; background: #a5baff09; color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: .035em; }
.publication h3 { font-size: 23px; font-weight: 500; line-height: 1.48; letter-spacing: -.028em; text-wrap: pretty; }
.paper-track { font-size: .72em; color: var(--secondary); font-weight: 400; letter-spacing: -.01em; }
.authors { margin-top: 20px; font-size: 13px; line-height: 1.9; color: var(--secondary); }
.authors strong:first-child { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #858590; }

.subheading { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); margin-bottom: 18px; }
.history-group + .history-group { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.history-entry, .teaching-entry { display: flex; justify-content: space-between; gap: 24px; }
.history-entry h4, .teaching-entry h3 { font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: -.02em; }
.history-entry > div > p { font-size: 13px; color: var(--secondary); margin-top: 5px; }
.history-entry > div > .detail { margin-top: 10px; font-size: 12px; color: var(--muted); }
.gpa { color: var(--secondary); margin-left: 5px; }
.date { font-size: 11px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; padding-top: 3px; }
.detail { font-size: 12px; color: var(--muted); }
.teaching-entry + .teaching-entry { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.course-code { font-size: 10px; letter-spacing: .075em; color: var(--muted); margin-bottom: 5px; }
.teaching-entry .detail { margin-top: 6px; }
.teaching-entry .date { padding-top: 22px; }
.languages-row { padding-block: 34px; }
.languages { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 44px; }
.languages li { display: flex; gap: 13px; align-items: baseline; font-size: 13px; }
.site-footer { padding: 32px 0 38px; margin-top: 34px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; font-size: 11px; color: var(--muted); }
.footer-name { font-size: 13px; color: var(--secondary); font-weight: 500; margin-bottom: 3px; }
.footer-end { text-align: right; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.footer-end a span { margin-left: 8px; }

@media (max-width: 960px) {
  .header-inner, .page { width: calc(100% - 64px); }
  .hero { gap: 36px; grid-template-columns: minmax(0, 1fr) 185px; padding-block: 76px; }
  .portrait img { width: 185px; height: 237px; }
  .portrait figcaption { font-size: 9px; }
  .section-row { grid-template-columns: 140px minmax(0, 1fr); gap: 28px; }
  .history-entry { flex-direction: column; gap: 8px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 90px; }
  .header-inner, .page { width: calc(100% - 40px); }
  .header-inner { min-height: 65px; gap: 16px; }
  .wordmark { font-size: 21px; }
  nav { gap: 15px; }
  nav a { font-size: 10px; }
  .hero { grid-template-columns: minmax(0, 1fr) 96px; gap: 18px; padding: 58px 0 48px; align-items: start; }
  .eyebrow { font-size: 9px; letter-spacing: .04em; gap: 6px; margin-bottom: 17px; }
  .status-dot { width: 4px; height: 4px; }
  h1 { font-size: clamp(32px, 7.8vw, 48px); letter-spacing: -.06em; white-space: nowrap; }
  .korean-name { font-size: 13px; margin-top: 8px; }
  .hero-description { margin-top: 23px; font-size: 19px; }
  .portrait { margin-top: 1px; }
  .portrait img { width: 96px; height: 124px; border-radius: 10px; }
  .portrait figcaption { display: none; }
  .contact-links { gap: 12px 18px; margin-top: 25px; }
  .contact-link { font-size: 11px; gap: 5px; }
  .contact-link svg { width: 13px; height: 13px; }
  .section-row { grid-template-columns: 1fr; gap: 22px; padding-block: 31px 35px; }
  .section-label { gap: 10px; padding: 0; }
  .section-label h2 { font-size: 13px; }
  .section-number { font-size: 9px; }
  .about-copy { font-size: 15px; line-height: 1.8; }
  .interests { gap: 7px; margin-top: 21px; }
  .interests li { font-size: 10px; padding: 4px 9px; }
  .publication h3 { font-size: 20px; }
  .publication-meta { font-size: 10px; gap: 10px; }
  .authors { font-size: 12px; }
  .history-entry h4, .teaching-entry h3 { font-size: 15px; }
  .history-entry > div > p { font-size: 12px; }
  .languages { gap: 12px 32px; }
  .site-footer { margin-top: 14px; padding-block: 27px; font-size: 10px; }
  .site-footer a { overflow-wrap: anywhere; }
}
@media (max-width: 360px) {
  nav { gap: 10px; }
  nav a { font-size: 9px; }
  .hero { grid-template-columns: minmax(0, 1fr) 76px; gap: 13px; }
  h1 { font-size: 30px; }
  .portrait img { width: 76px; height: 98px; }
  .eyebrow { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a { transition: none; }
}
@media print {
  :root { color-scheme: light; --background: #fff; --surface: #fff; --text: #111; --secondary: #333; --muted: #555; --line: #ccc; --accent: #253a6b; }
  body { font-size: 11px; }
  .site-header, .skip-link, .footer-end a { display: none; }
  .page { width: 100%; }
  .hero { padding: 10px 0 25px; grid-template-columns: minmax(0, 1fr) 100px; }
  h1 { font-size: 36px; }
  .hero-description { font-size: 17px; margin-top: 12px; }
  .portrait img { width: 100px; height: 129px; }
  .portrait figcaption { display: none; }
  .section-row { grid-template-columns: 120px minmax(0, 1fr); padding-block: 22px; gap: 24px; }
  .about-copy { font-size: 12px; }
  .publication h3 { font-size: 17px; }
  .publication, .history-group, .teaching-entry { break-inside: avoid; }
  .interests li { color: #333; }
  .site-footer { margin-top: 10px; }
}
