:root {
  --text: #24292f;
  --muted: #586069;
  --light: #f6f8fa;
  --line: #d8dee4;
  --link: #1772d0;
  --link-hover: #0b4f91;
  --max-width: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.58;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max-width), calc(100% - 40px));
  min-height: 54px;
  margin: 0 auto;
}

.brand {
  color: #111827;
  font-size: 17px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
  text-transform: lowercase;
}

.nav-links a {
  color: #333333;
}

.page {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 44px auto 56px;
}

.intro {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.profile {
  text-align: center;
}

.avatar {
  display: block;
  width: 210px;
  height: 210px;
  margin: 0 auto 20px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  color: #111827;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}

h2 {
  margin-bottom: 16px;
  color: #111827;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: lowercase;
}

h3 {
  margin-bottom: 5px;
  color: #111827;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.role {
  margin-bottom: 2px;
  color: #3f4752;
}

.affiliation {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
}

.contact-list {
  display: grid;
  gap: 5px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.bio {
  padding-top: 2px;
}

.bio p {
  margin-bottom: 15px;
}

.bio-heading {
  margin: 22px 0 10px;
  font-size: 19px;
  font-weight: 500;
}

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

.section {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.news-list {
  display: grid;
  gap: 10px;
}

.news-list p {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 0;
}

time {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.publication-list {
  display: grid;
  gap: 24px;
  padding-left: 24px;
  margin: 0;
}

.publication {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 2px;
}

.venue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 28px;
  margin-top: 2px;
  color: #555555;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.authors,
.meta,
.summary {
  margin-bottom: 5px;
  color: #30363d;
  font-size: 15px;
}

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

.summary {
  color: #3f4752;
}

.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.paper-links a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  font-size: 13px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
}

.two-column p {
  margin-bottom: 14px;
}

.footer {
  width: min(var(--max-width), calc(100% - 40px));
  padding: 22px 0 34px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 12px;
  }

  .page {
    margin-top: 28px;
  }

  .intro,
  .two-column {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .profile {
    text-align: left;
  }

  .avatar {
    width: 180px;
    height: 180px;
    margin-left: 0;
  }

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

  .news-list p {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .publication-list {
    padding-left: 20px;
  }
}
