:root {
  --text: #202124;
  --muted: #6b7280;
  --line: #e5e7eb;
  --link: #2563a6;
  --bg: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 36px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 42px;
  align-items: start;
  margin-bottom: 62px;
}

.profile-wrap {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  overflow: hidden;
}

.profile {
  width: 210px;
  height: 210px;
  object-fit: cover;
  object-position: 50% 27%;
  border-radius: 50%;
  display: block;
  transform: scale(1.15);
}

h1 {
  margin: 0 0 4px;
  font-size: 2.1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.korean-name {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--muted);
}

.role {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.02rem;
}

.intro p {
  margin: 0 0 14px;
}

/* Links */

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  font-size: 0.95rem;
}

/* Sections */

section {
  margin: 0 0 54px;
}

h2 {
  margin: 0 0 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 700;
}

/* Research Interests */

.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.interest-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.94rem;
}

/* Publications */

.publication {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 2px 0 28px;
}

.publication + .publication {
  border-top: 1px solid #f0f1f2;
  padding-top: 28px;
}

.pub-year {
  color: var(--muted);
  font-size: 0.93rem;
  padding-top: 3px;
}

.pub-content h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 650;
}

.authors {
  margin: 0 0 5px;
  font-size: 0.95rem;
}

.authors .me {
  color: var(--link);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.venue {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-style: italic;
}

/* Projects */

.project {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 2px 0 28px;
  align-items: start;
}

.project + .project {
  border-top: 1px solid #f0f1f2;
  padding-top: 28px;
}

.project-period {
  color: var(--muted);
  font-size: 0.93rem;
  padding-top: 3px;
  white-space: nowrap;
}

.project-content h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 650;
}

.project-title {
  color: var(--link);
}

.project-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Misc */

.muted {
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.86rem;
}

/* Mobile */

@media (max-width: 700px) {
  .container {
    width: min(100% - 30px, 900px);
    padding-top: 38px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }

  .profile-wrap {
    width: 165px;
    height: 165px;
  }

  .profile {
    width: 165px;
    height: 165px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .korean-name {
    display: block;
    margin-top: 5px;
    font-size: 1.08rem;
  }

  .publication {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .pub-year {
    margin-bottom: 6px;
  }

  .project {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .project-period {
    margin-bottom: 6px;
  }
}
