/* ==========================================================================
   Free sample reading page — extends the tokens and components in styles.css
   ========================================================================== */

.section.sample-intro {
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--sage);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}
.back-link:hover { color: var(--gold-400); }

.sample-title {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 0.6em;
}
.sample-lede {
  color: var(--parchment-dim);
  max-width: 60ch;
  font-size: 1.05rem;
  margin-bottom: 0;
}
.sample-meta {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--sage);
  margin-top: 0.6em;
}

.chapter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}
.chapter-nav a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  padding: 0.55em 1.1em;
  border: 1px solid rgba(138, 163, 143, 0.4);
  border-radius: 3px;
  color: var(--parchment-dim);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.chapter-nav a:hover { border-color: var(--gold-400); color: var(--parchment); }

/* ---------- chapters ---------- */
.chapter {
  max-width: 68ch;
  margin: 0 auto;
  padding: 3.5rem 0;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.chapter + .chapter { border-top: 1px solid rgba(201, 162, 39, 0.14); }

.chapter-eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--gold-400);
  margin-bottom: 0.6em;
}
.chapter-title {
  font-family: "Cinzel", var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 1.1em;
}
.chapter p { max-width: 68ch; }
.chapter-title + p::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  float: left;
  line-height: 0.82;
  padding-right: 0.09em;
  padding-top: 0.06em;
  color: var(--gold-400);
}

/* ---------- continue / CTA ---------- */
.sample-cta .hero-actions { margin-top: 1.6rem; margin-bottom: 0; }

@media (max-width: 720px) {
  .chapter { padding: 2.5rem 0; }
}
