:root {
  --bg: #ffffff;
  --text: #161616;
  --muted: #666666;
  --accent: #0047ff;
  --border: #e8e8e8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 18px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 28px 0 18px;
}

.site-title {
  margin: 0 0 6px 0;
  font-size: 2rem;
  line-height: 1.2;
}

.subtitle {
  margin: 0 0 10px 0;
  color: var(--muted);
}

.contacts {
  margin: 0;
  color: var(--muted);
}

.contacts a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contacts a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.contacts .dot {
  margin: 0 8px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
}

.site-nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:hover {
  text-decoration: underline;
}

.section {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.section-title {
  margin: 0 0 12px 0;
  font-size: 1.25rem;
}

.bio-container {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: start;
}

.headshot {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

@media (max-width: 640px) {
  .bio-container {
    grid-template-columns: 1fr;
  }
  .headshot {
    width: 120px;
    height: 120px;
  }
}

.paper-title {
  margin: 0 0 6px 0;
  font-size: 1rem;
}

.paper {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}

.paper.representative {
  background: #f6fbff;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

.rep-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: #eaf2ff;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 2px 8px;
  margin-right: 8px;
  vertical-align: middle;
}

.tag {
  color: var(--muted);
  font-weight: 600;
  margin-right: 6px;
}

.paper-authors,
.paper-venue,
.paper-links {
  margin: 0 0 6px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.paper-links a {
  color: var(--accent);
  text-decoration: none;
}

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

.bibtex {
  background: #f9fafb;
  border: 1px solid var(--border);
  padding: 12px;
  overflow: auto;
  border-radius: 6px;
}

.papers-legend {
  margin: 0 0 8px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.news-list {
  padding-left: 18px;
}

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

.item-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}

.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
}

.accessibility-link {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 640px) {
  .site-title {
    font-size: 1.6rem;
  }
}


