:root {
  --bg: #f7f7f4;
  --panel: #ffffff;
  --text: #1f2933;
  --muted: #5f6c7b;
  --border: #d8ddd8;
  --accent: #23395d;
  --accent-light: #eef2f8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.nav {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text);
}

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

.nav-links a,
.link-row a,
a {
  color: var(--accent);
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0 3rem;
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 0.5rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.65rem;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0.25rem 0 0.35rem;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--accent);
  margin: 0 0 1rem;
}

.body-copy {
  max-width: 680px;
}

.button-row,
.link-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  text-decoration: none;
  color: var(--accent);
  background: transparent;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.profile-card,
.paper-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 14px 34px rgba(31, 41, 51, 0.06);
}

.profile-card h2 {
  font-size: 1.15rem;
}

.headshot,
.headshot-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.headshot {
  display: block;
  object-fit: cover;
}

.headshot-placeholder {
  display: grid;
  place-items: center;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px dashed var(--border);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.paper-card {
  margin: 1rem 0;
}

.paper-card.muted {
  box-shadow: none;
  background: var(--accent-light);
}

.paper-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

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

.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--muted);
}

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

  .hero {
    grid-template-columns: 1fr;
  }
}
