:root {
  --bg: #fbfcfa;
  --surface: #ffffff;
  --surface-muted: #edf3f0;
  --ink: #1c2a2a;
  --muted: #617171;
  --accent: #2f7668;
  --accent-strong: #205448;
  --line: #d9e5e0;
  --shadow: 0 12px 30px rgba(28, 42, 42, 0.055);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-shell {
  width: min(100% - 3rem, 980px);
  padding-top: 3.5rem;
}

.site-header {
  display: block;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}

.site-brand {
  font-size: clamp(2rem, 6vw, 4.5rem);
  letter-spacing: -0.08em;
}

.site-tagline {
  max-width: none;
  margin-top: 0.8rem;
  text-align: left;
}

.site-layout {
  display: block;
}

.site-sidebar {
  position: static;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 0 1.3rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.profile-image {
  grid-row: auto;
  width: 112px;
  height: 112px;
  margin: 0;
  border-radius: 50%;
}

.profile-role {
  margin: 0 0 0.8rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
}

.site-nav a {
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: transparent;
  border-bottom-color: var(--accent);
}

.page-content {
  padding-top: 3rem;
}

.page-lead {
  max-width: 760px;
  margin-bottom: 0;
  padding: 0 0 2rem;
  background: transparent;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.page-lead h1 {
  max-width: 25ch;
  font-size: clamp(2.1rem, 6vw, 4.8rem);
  letter-spacing: -0.08em;
}

.legacy-content h2 {
  margin-top: 3.2rem;
  color: var(--accent-strong);
}

.legacy-content h3 {
  margin-top: 2.3rem;
  color: var(--accent);
}

.publication-note,
.publication-controls,
.publication-tabs,
.pub-entry {
  border: 1px solid var(--line);
  box-shadow: none;
}

.publication-note,
.publication-controls,
.publication-tabs {
  background: var(--surface-muted);
}

.pub-entry {
  box-shadow: none;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 1.25rem, 680px);
    padding-top: 1.25rem;
  }

  .site-sidebar {
    grid-template-columns: 88px 1fr;
  }

  .profile-image {
    width: 88px;
    height: 88px;
  }

  .page-content {
    padding-top: 2rem;
  }
}
