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

:root {
  --text: #1a1a1a;
  --muted: #888;
  --bg: #fafaf8;
  --max: 680px;
  --serif: 'Georgia', serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  padding: 0 1.5rem;
}

nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 0 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

nav .name {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

nav ul a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}

nav ul a:hover, nav ul a.active { color: var(--text); }

.banner { width: calc(100% + 3rem); margin-left: -1.5rem; margin-top: -0.5rem; }
.banner img { width: 100%; height: 160px; object-fit: cover; object-position: center 35%; display: block; }
.banner-credit { max-width: var(--max); margin: 0.3rem auto 0; padding: 0 1.5rem; font-size: 0.62rem; color: #bbb; text-align: left; letter-spacing: 0.02em; }
.banner-credit a { color: #bbb; text-decoration: none; }
.banner-credit em { font-style: italic; }


main {
  max-width: var(--max);
  margin: 0 auto;
  padding-bottom: 6rem;
}

.bio {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

.bio p { margin-bottom: 1rem; font-size: 0.97rem; }
.bio p:last-child { margin-bottom: 0; }

.links {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.links a {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.15s;
}

.links a:hover { color: var(--text); }

hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2.5rem 0;
}

h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.paper { margin-bottom: 2rem; }

.paper .title {
  font-family: var(--serif);
  font-size: 0.97rem;
  color: var(--text);
  text-decoration: none;
  font-style: italic;
}

.paper .title:hover { text-decoration: underline; }

.paper .authors {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.paper .authors a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid #ddd;
  transition: color 0.15s;
}

.paper .authors a:hover { color: var(--text); }

.paper .venue {
  font-size: 0.85rem;
  color: var(--text);
  margin-top: 0.1rem;
}

.paper .extras {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.paper .extras a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1px;
  transition: color 0.15s;
}

.paper .extras a:hover { color: var(--text); }

.news-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  margin-bottom: 0.7rem;
  font-size: 0.88rem;
}

.news-item .date { color: var(--muted); }

@media (max-width: 520px) {
  .home-grid { grid-template-columns: 1fr; }
  .home-grid img { width: 100px; height: 120px; }
  nav { flex-direction: column; gap: 1rem; }
  .banner { width: calc(100% + 3rem); }
}
