/* ─── Reset & Base ──────────────────────────────────────────────────────── */

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

:root {
  --bg: #faf9f7;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --accent: #2c4a3e;
  --border: #e8e4de;
  --max-width: 680px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 0.15s;
}

a:hover {
  opacity: 0.7;
}

/* ─── Navigation ────────────────────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-name:hover {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.15s;
}

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

/* ─── Main Layout ───────────────────────────────────────────────────────── */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */

.hero {
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ─── Sections ──────────────────────────────────────────────────────────── */

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

.section:last-of-type {
  border-bottom: none;
}

.section h2 {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ─── Prose ─────────────────────────────────────────────────────────────── */

.prose p {
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 300;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* ─── Books ─────────────────────────────────────────────────────────────── */

.book {
  margin-bottom: 56px;
}

.book:last-child {
  margin-bottom: 0;
}

.book-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
  font-style: italic;
}

.book-meta {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 400;
}

.book-desc {
  color: var(--text);
  font-weight: 300;
  margin-bottom: 14px;
}

.book-desc:last-child {
  margin-bottom: 0;
}

/* ─── Publications List ─────────────────────────────────────────────────── */

.pubs-list {
  list-style: none;
  margin-top: 8px;
}

.pubs-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 300;
  font-size: 0.95rem;
}

.pubs-list li:first-child {
  border-top: 1px solid var(--border);
}

.pub-title {
  font-style: italic;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */

footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 64px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ─── Mobile ────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  nav {
    padding: 16px 24px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.75rem;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .section {
    padding: 56px 0;
  }
}
