* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
  max-width: 680px;
  margin: 60px auto;
  padding: 0 20px 80px;
}

/* Header */
.header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 40px;
}

.header img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.header-text h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.header-text .tagline {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* Social links */
.links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.links a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.88rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1px;
  transition: border-color 0.15s;
}

.links a:hover {
  border-color: #1a1a1a;
}

/* Sections */
section {
  margin-bottom: 36px;
}

section h2 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e8e8e8;
}

/* About */
.about p {
  color: #333;
  font-size: 0.96rem;
  line-height: 1.7;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.timeline-entry {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.tl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  flex-shrink: 0;
}

.tl-icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 5px;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tl-icon img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
  border-radius: 6px;
}

.tl-year {
  font-size: 0.75rem;
  color: #aaa;
  text-align: center;
  white-space: nowrap;
}

.tl-body {
  padding-top: 2px;
}

.tl-place {
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 1px;
}

.tl-place a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1px;
}

.tl-place a:hover {
  border-color: #1a1a1a;
}

.tl-role {
  font-size: 0.84rem;
  color: #777;
  margin-bottom: 5px;
}

.tl-role a {
  color: #777;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
}

.tl-role a:hover {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.tl-blurb {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
}

/* Research */
.paper {
  margin-bottom: 24px;
}

.paper h3 {
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.paper .meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 6px;
}

.paper .abstract {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.65;
  margin-bottom: 8px;
}

.paper .paper-links {
  display: flex;
  gap: 12px;
}

.paper .paper-links a {
  font-size: 0.82rem;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1px;
  transition: border-color 0.15s;
}

.paper .paper-links a:hover {
  border-color: #1a1a1a;
}

/* Teaching */
.teaching-item {
  margin-bottom: 18px;
}

.teaching-item .course {
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.teaching-item .role {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 1px;
}

.teaching-item .dates {
  font-size: 0.82rem;
  color: #999;
}

.teaching-item .role a {
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1px;
}

.teaching-item .role a:hover {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

/* Responsive */
@media (max-width: 480px) {
  body {
    margin: 30px auto;
  }

  .header {
    flex-direction: column;
    gap: 16px;
  }

  .header img {
    width: 88px;
    height: 88px;
  }
}
