*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #1a1a1a;
  background: #fff;
  margin: 0;
  padding: 0;
}

a {
  color: #2563a8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Navigation ── */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 780px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid #ebebeb;
}

.nav-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.nav-name:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  color: #555;
  font-weight: 400;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: #1a1a1a;
  text-decoration: none;
}

/* ── Main content ── */

main {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}

section {
  margin-bottom: 3rem;
}

/* ── Intro ── */

.intro {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.intro-photo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.intro-text h1 {
  font-size: 1.85rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
  line-height: 1.2;
}

.position {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 1.1rem;
}

.intro-text p {
  color: #333;
  margin: 0 0 0.85rem;
  font-size: 0.97rem;
}

.contact-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.contact-links a {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.3rem 0.85rem;
  border: 1.5px solid #2563a8;
  border-radius: 5px;
  color: #2563a8;
  transition: background 0.15s, color 0.15s;
}

.contact-links a:hover {
  background: #2563a8;
  color: #fff;
  text-decoration: none;
}

/* ── Section headings ── */

h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ebebeb;
}

section p {
  color: #333;
  font-size: 0.97rem;
  margin: 0 0 0.85rem;
}

section ul {
  padding-left: 1.2rem;
  color: #333;
  font-size: 0.97rem;
}

section ul li {
  margin-bottom: 0.45rem;
}

/* ── News list ── */

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  display: flex;
  gap: 1.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #f2f2f2;
  font-size: 0.95rem;
  color: #333;
  align-items: baseline;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-date {
  flex-shrink: 0;
  width: 2.8rem;
  font-weight: 500;
  color: #999;
  font-size: 0.88rem;
}

/* ── Publications page ── */

.paper-year-group {
  margin-bottom: 2.25rem;
}

.paper-year {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #ebebeb;
}

.paper-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.paper-entry {}

.paper-title {
  font-size: 0.97rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.45;
  margin-bottom: 0.2rem;
}

.paper-authors {
  font-size: 0.875rem;
  color: #777;
  margin-bottom: 0.2rem;
  line-height: 1.5;
}

.paper-authors strong {
  color: #1a1a1a;
  font-weight: 600;
}

.paper-meta {
  font-size: 0.875rem;
  color: #999;
}

.paper-meta em {
  color: #555;
  font-style: italic;
}

.paper-links a {
  font-size: 0.83rem;
  color: #2563a8;
  margin-left: 0.4rem;
}

.paper-links a:hover {
  text-decoration: underline;
}

.paper-award {
  font-size: 0.8rem;
  font-weight: 500;
  color: #92610a;
  background: #fdf3dc;
  border: 1px solid #f0d890;
  border-radius: 4px;
  display: inline-block;
  padding: 0.15rem 0.55rem;
  margin-top: 0.4rem;
}

/* ── Footer ── */

footer {
  border-top: 1px solid #ebebeb;
  padding: 1.5rem 2rem;
  max-width: 780px;
  margin: 0 auto;
}

footer p {
  margin: 0;
  font-size: 0.85rem;
  color: #999;
}

footer a {
  color: #999;
}

footer a:hover {
  color: #555;
}

/* ── Projects page ── */

.project-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-item {
  padding-bottom: 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.project-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.project-role {
  font-size: 0.85rem;
  color: #888;
  font-weight: 400;
}

.project-item p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
}

.project-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.project-links a {
  font-size: 0.83rem;
  font-weight: 500;
  color: #2563a8;
  padding: 0.2rem 0.65rem;
  border: 1px solid #c7d9f0;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

.project-links a:hover {
  background: #2563a8;
  color: #fff;
  text-decoration: none;
}

/* ── Responsive ── */

@media (max-width: 620px) {
  nav {
    padding: 1rem 1.25rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  main {
    padding: 2rem 1.25rem;
  }

  .intro {
    flex-direction: column;
    gap: 1.25rem;
  }

  .intro-photo img {
    width: 110px;
    height: 110px;
  }


}
