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

:root {
  --ink: #1a1a1a;
  --soft: #4a4a4a;
  --muted: #888;
  --bg: #faf9f7;
  --warm: #f5f3ef;
  --accent: #2d5a6b;
  --accent-light: #e8f0f3;
  --border: #e0ddd8;
  --max: 680px;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: 'EB Garamond', Georgia, serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  min-height: 100vh;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 0 2rem;
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.site-name {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--soft);
  letter-spacing: 0.03em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--soft);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--ink);
}

/* HERO */
.hero {
  text-align: center;
  padding: 7rem 2rem 5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.byline {
  font-style: italic;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.tagline {
  font-size: 1.05rem;
  color: var(--soft);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.cta:hover {
  opacity: 0.7;
}

/* INTRO */
.intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

/* PROSE */
.prose p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

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

.prose em {
  font-style: italic;
}

.signature {
  margin-top: 2.5rem !important;
  color: var(--soft);
  font-style: italic;
}

hr.section-break {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
  width: 60px;
}

/* CHAPTER LINK BLOCK */
.chapter-link-block {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.chapter-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s;
}

.chapter-link:hover {
  background: var(--accent-light);
}

.chapter-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.chapter-title {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 500;
}

.chapter-arrow {
  color: var(--accent);
  font-size: 1.1rem;
}

/* CHAPTER PAGE */
.chapter {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.chapter-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.chapter-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.chapter h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
}

.chapter-nav {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.nav-prev, .nav-next {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-prev:hover, .nav-next:hover {
  opacity: 0.7;
}

/* SUBSCRIBE */
.subscribe {
  background: var(--warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}

.subscribe-inner {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.subscribe h2 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.subscribe p {
  color: var(--soft);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.subscribe-btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: 2px;
  transition: opacity 0.2s;
  margin-bottom: 1rem;
}

.subscribe-btn:hover {
  opacity: 0.85;
}

.subscribe-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0 !important;
}

/* FOOTER */
footer {
  padding: 2.5rem 2rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}

/* MOBILE */
@media (max-width: 600px) {
  header { padding: 0 1.25rem; }
  .hero { padding: 4rem 1.25rem 3rem; }
  .intro { padding: 2.5rem 1.25rem 4rem; }
  .chapter { padding: 2.5rem 1.25rem 4rem; }
  .subscribe { padding: 3rem 1.25rem; }
  nav { gap: 1.25rem; }
  .chapter-nav { flex-direction: column; gap: 0.75rem; }
}
