/* ---------- base ---------- */
:root {
  --fg: #1f2937;
  --fg-soft: #4b5563;
  --muted: #6b7280;
  --accent: #1f6feb;
  --bg: #ffffff;
  --border: #e5e7eb;
  --card: #f9fafb;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: "Google Sans", "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--fg); }
em { color: var(--fg-soft); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

section { margin-top: 3rem; }
h1 { font-size: 2rem; margin: 0 0 0.4rem; }
h2 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}
h3 { font-size: 1.05rem; margin: 0 0 0.35rem; }
p { margin: 0.5rem 0; }

/* ---------- hero ---------- */
.hero {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 0;
}
.hero-photo img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #e5e7eb;
}
.hero-text { flex: 1; min-width: 0; }
.hangul {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 0.35rem;
}
.tagline {
  color: var(--fg-soft);
  margin: 0.2rem 0 0.4rem;
}
.email {
  color: var(--fg-soft);
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
}
.email i { margin-right: 0.35rem; color: var(--muted); }
.email a { color: var(--fg-soft); }
.email a:hover { color: var(--accent); }
.bio-short { color: var(--fg-soft); margin-bottom: 1rem; }

.links {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.95rem;
}
.links a { color: var(--fg-soft); }
.links a:hover { color: var(--accent); }
.links i { margin-right: 0.25rem; }

/* ---------- news ---------- */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--border);
}
.news-list li:last-child { border-bottom: none; }
.date {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
}

/* ---------- publications ---------- */
.pub {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.pub:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.pub-thumb {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #f3f4f6;
  aspect-ratio: 16 / 9;
}
.pub-thumb img,
.pub-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pub-body p { margin: 0.2rem 0; font-size: 0.95rem; }
.pub-authors { color: var(--fg-soft); }
.pub-venue { color: var(--muted); }
.pub-links a { margin-right: 0.15rem; }

/* ---------- timeline ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  padding: 0.35rem 0;
}
.timeline .date { white-space: nowrap; }

/* ---------- footer ---------- */
footer {
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .container { padding: 2rem 1rem 3rem; }
  .hero { flex-direction: column; text-align: center; gap: 1.25rem; }
  .links { justify-content: center; }
  .pub { grid-template-columns: 1fr; }
  .pub-thumb { max-width: 240px; margin: 0 auto; }
  .news-list li, .timeline li { grid-template-columns: 60px 1fr; }
}
