@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

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

body {
  margin: 0;
  padding: 0;
  font-family: 'EB Garamond', serif;
  background-color: #f8f5f0;
  color: #000;
  font-size: 22px;
  line-height: 1.5;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */
header {
  padding-top: 48px;
  margin-bottom: 52px;
}

nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.site-title {
  font-size: 28px;
  font-weight: 500;
  text-decoration: none;
  color: #000;
  letter-spacing: -0.5px;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}

.nav-links li a {
  font-size: 18px;
  text-decoration: none;
  color: #444;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Main content ── */
main {
  padding-bottom: 0;
}

h1 {
  text-align: left;
  font-size: 48px;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 2px;
}

h2 {
  font-size: 30px;
  font-weight: 400;
  margin-top: 40px;
  margin-bottom: 8px;
}

h3 {
  font-size: 24px;
  font-weight: 400;
  margin-top: 32px;
  margin-bottom: 4px;
}

p {
  text-align: left;
  margin-top: 0;
  margin-bottom: 14px;
}

a {
  color: #000;
  text-underline-offset: 3px;
}

a:hover {
  color: #444;
}

/* ── Footer ── */
footer {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-top: 80px;
  padding-bottom: 40px;
}
