/* ═══════════════════════════════════════════════
   LIFE AND JOURNEY  —  Brand Style Sheet
   Brand Colors (extracted from cover):
   Deep Dark Maroon : #3F0C1D
   Primary Maroon   : #631F2E
   Accent Maroon    : #7A2942
   Gold Title       : #D0A354
   Gold Glow        : #E4B862
   ═══════════════════════════════════════════════ */

:root {
  --maroon-deep:   #3F0C1D;
  --maroon-primary:#631F2E;
  --maroon-accent: #7A2942;
  --maroon-mid:    #8B3D50;
  --gold:          #D0A354;
  --gold-light:    #E4B862;
  --gold-pale:     #F5DFA0;
  --gold-dim:      #A07830;
  --cream:         #FDF6EC;
  --text-dark:     #1A0810;
  --text-mid:      #4A2030;
  --text-light:    #7A5060;
  --white:         #FFFFFF;
  --shadow:        rgba(63,12,29,0.25);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.75;
  font-size: 16px;
}

/* ── Page System ── */
.page { display: none; }
.page.active-page { display: block; animation: fadeIn 0.45s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ── Header ── */
.site-header {
  background: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon-primary) 60%, var(--maroon-accent) 100%);
  border-bottom: 3px solid var(--gold);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(63,12,29,0.5);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(208,163,84,0.4);
}

.brand-icon img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.brand-text p {
  font-size: 0.72rem;
  color: var(--gold-pale);
  opacity: 0.85;
  font-style: italic;
  letter-spacing: 0.06em;
}

/* Progress bar */
.progress-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 260px;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
  border-radius: 6px;
  width: 0%;
  transition: width 0.4s ease;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid var(--gold-dim);
  color: var(--gold-light);
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.03em;
}

.nav-btn:hover:not(:disabled) {
  background: var(--gold);
  color: var(--maroon-deep);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(208,163,84,0.35);
}

.nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.page-indicator {
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--gold-dim);
  color: var(--gold-pale);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* ── Main Container ── */
.main-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 60px;
}

/* ── Gold Section Header ── */
.section-header {
  border-left: 5px solid var(--gold);
  padding-left: 16px;
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--maroon-primary);
  line-height: 1.25;
}

.section-header .subtitle {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 4px;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 6px 28px var(--shadow);
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
}

.card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px var(--shadow); }

.card-top-bar { height: 5px; background: linear-gradient(90deg, var(--maroon-primary), var(--gold)); }

.card-body { padding: 28px; }

/* ── Info / Quote Boxes ── */
.box-maroon {
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon-primary));
  color: var(--white);
  border-radius: 12px;
  padding: 28px 32px;
}

.box-maroon h3 { color: var(--gold-light); margin-bottom: 12px; }

.box-gold {
  background: linear-gradient(135deg, #FDF0D0, #FAE8B0);
  border-left: 5px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 22px 26px;
}

.box-cream {
  background: var(--cream);
  border: 1.5px solid #E8D8C0;
  border-radius: 10px;
  padding: 22px 26px;
}

/* ── Pull Quote ── */
.pull-quote {
  text-align: center;
  padding: 28px 40px;
  margin: 28px 0;
  position: relative;
}

.pull-quote::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.pull-quote p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--maroon-primary);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.pull-quote .attr {
  font-size: 0.82rem;
  color: var(--gold-dim);
  margin-top: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
}

/* ── Chapter Opener ── */
.chapter-opener {
  text-align: center;
  padding: 48px 24px 36px;
  background: linear-gradient(180deg, rgba(63,12,29,0.05) 0%, transparent 100%);
  border-radius: 14px;
  margin-bottom: 36px;
}

.chapter-label {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

.chapter-opener h2 {
  font-size: 2.2rem;
  color: var(--maroon-deep);
  line-height: 1.2;
  margin-bottom: 8px;
}

.chapter-opener .sub {
  font-style: italic;
  color: var(--text-light);
  font-size: 1.05rem;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin: 20px auto;
  color: var(--gold);
  font-size: 1.2rem;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* ── Body Text ── */
.prose p {
  margin-bottom: 18px;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-dark);
  text-align: justify;
  text-indent: 2em;
}

.prose p:first-of-type { text-indent: 0; }

.prose p:first-of-type::first-letter {
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--maroon-primary);
  float: left;
  line-height: 0.8;
  margin: 6px 10px 0 0;
  font-family: Georgia, serif;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maroon-primary);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 6px;
  margin: 32px 0 14px;
  display: inline-block;
}

/* ── Grid Layouts ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

@media(max-width:768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Stat Block ── */
.stat-block {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(208,163,84,0.3);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.stat-block .number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  font-family: 'Arial', sans-serif;
}

.stat-block .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
  line-height: 1.3;
}

/* ── Feature Item ── */
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 3px 14px var(--shadow);
  transition: transform 0.25s;
}

.feature-item:hover { transform: translateX(5px); }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--maroon-primary), var(--maroon-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px var(--shadow);
}

.feature-content h4 { font-size: 1rem; color: var(--maroon-primary); margin-bottom: 4px; }
.feature-content p  { font-size: 0.9rem; color: var(--text-mid); line-height: 1.55; }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 32px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--maroon-accent));
}

.timeline-item { position: relative; margin-bottom: 28px; }

.timeline-dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--maroon-deep);
  box-shadow: 0 0 8px rgba(208,163,84,0.5);
}

.timeline-item h4 { font-size: 1.05rem; color: var(--maroon-primary); margin-bottom: 6px; }
.timeline-item p  { font-size: 0.92rem; color: var(--text-mid); line-height: 1.6; }

.box-maroon .timeline-item h4 { color: var(--gold-light); }
.box-maroon .timeline-item p { color: rgba(255,255,255,0.92); }
.box-maroon .highlight-row p { color: rgba(255,255,255,0.9); }

/* ── Table ── */
.brand-table { width: 100%; border-collapse: collapse; margin: 20px 0; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px var(--shadow); }
.brand-table th { background: var(--maroon-primary); color: var(--gold-light); padding: 14px 16px; text-align: left; font-size: 0.88rem; letter-spacing: 0.05em; }
.brand-table td { padding: 13px 16px; border-bottom: 1px solid #EDD8C8; font-size: 0.9rem; color: var(--text-dark); }
.brand-table tr:nth-child(even) td { background: #FAF0E8; }
.brand-table tr:hover td { background: #F5E5D5; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--maroon-primary), var(--maroon-deep));
  color: var(--gold-light);
  border: 2px solid var(--gold-dim);
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.28s;
  text-decoration: none;
  letter-spacing: 0.04em;
  font-family: inherit;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-deep);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(208,163,84,0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--maroon-primary);
  border: 2px solid var(--maroon-primary);
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}

.btn-secondary:hover {
  background: var(--maroon-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

.book-popup-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 9, 12, 0.72);
  padding: 24px;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.book-popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.book-popup {
  position: relative;
  width: min(520px, 100%);
  max-width: 520px;
  background: var(--white);
  border-radius: 24px;
  padding: 36px 30px;
  box-shadow: 0 32px 80px rgba(63, 12, 29, 0.25);
  transform: translateY(28px) scale(0.96);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.book-popup-overlay.active .book-popup {
  transform: translateY(0) scale(1);
  opacity: 1;
  animation: popupReveal 0.38s ease forwards;
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(99,31,46,0.2);
  border-radius: 50%;
  background: rgba(255,255,255,0.98);
  color: var(--maroon-primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.popup-close:hover,
.popup-close:focus {
  transform: scale(1.08);
  background: var(--maroon-primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(99,31,46,0.15);
}

.popup-close::after {
  content: 'Close';
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: var(--text-light);
  opacity: 0.9;
  white-space: nowrap;
  pointer-events: none;
}

.popup-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
    overflow: hidden;
  }

  .popup-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  opacity: 1;
  pointer-events: auto;
}

.book-popup {
  position: relative;
  width: min(520px, 100%);
  background: var(--white);
  border-radius: 24px;
  padding: 36px 30px;
  box-shadow: 0 32px 80px rgba(63, 12, 29, 0.25);
  transform: translateY(32px) scale(0.98);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.book-popup-overlay.active .book-popup {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: transparent;
  color: var(--maroon-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.popup-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: var(--maroon-deep);
}

.book-popup h3 {
  text-align: center;
  margin-bottom: 12px;
  color: var(--maroon-primary);
}

.book-popup p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 18px;
}

.popup-note {
  margin-top: 14px;
  color: var(--text-light);
  font-size: 0.88rem;
  text-align: center;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes popScale {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

.cover-hero, .chapter-opener, .card, .box-maroon, .box-gold, .feature-item, .stat-block, .toc-item, .pull-quote {
  animation: fadeUp 0.65s ease both;
}

.cover-book-img {
  animation: popScale 0.7s ease both;
}

@media (max-width: 768px) {
  .main-wrap { padding: 28px 18px 40px; }
  .header-inner { padding: 14px 16px; }
  .cover-hero { padding: 36px 22px; min-height: auto; }
  .cover-book-img { width: 170px; }
  .chapter-opener { padding: 32px 18px 28px; }
  .cover-hero h1 { font-size: 2.2rem; }
  .chapter-opener h2 { font-size: 1.8rem; }
  .toc-item { padding: 12px 14px; }
}

@media (max-width: 560px) {
  .header-inner { flex-direction: column; align-items: stretch; }
  .progress-wrap { min-width: auto; width: 100%; }
  .site-header { padding-bottom: 14px; }
  .cover-hero { padding: 24px 16px; }
  .cover-hero h1 { font-size: 1.9rem; }
  .cover-hero .tagline { font-size: 1rem; }
  .section-header { padding-left: 12px; }
  .section-header h2 { font-size: 1.35rem; }
  .grid-2, .grid-3, .grid-4 { gap: 18px; }
  .card-body, .box-maroon, .box-gold, .box-cream { padding: 22px; }
  .gold-divider { width: 70px; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  .btn-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
}

@media (max-width: 480px) {
  .book-popup {
    padding: 24px 18px;
    width: min(92vw, 520px);
  }

  .popup-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
  }

  .book-popup h3 {
    font-size: 1.1rem;
  }

  .book-popup p {
    font-size: 0.92rem;
  }

  .popup-close {
    width: 36px;
    height: 36px;
    top: 14px;
    right: 14px;
  }
}

/* ── Lesson / Principle Cards ── */
.principle-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 22px var(--shadow);
  transition: transform 0.3s;
}

.principle-card:hover { transform: translateY(-5px); }

.principle-card-header {
  background: linear-gradient(135deg, var(--maroon-primary), var(--maroon-accent));
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.principle-card-header .icon { font-size: 1.6rem; }
.principle-card-header h3 { color: var(--gold-light); font-size: 1.05rem; line-height: 1.3; }

.principle-card-body {
  background: var(--white);
  padding: 20px;
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── Highlight Box ── */
.highlight-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(99,31,46,0.07), transparent);
  border-left: 4px solid var(--gold);
  margin-bottom: 12px;
}

.highlight-row .hl-icon { font-size: 1.4rem; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.highlight-row .hl-icon i { width: 1.3rem; height: 1.3rem; display: inline-flex; align-items: center; justify-content: center; }
.icon-brand { color: var(--gold); }
.icon-brand-muted { color: rgba(208,163,84,0.75); }
.highlight-row p { font-size: 0.94rem; color: var(--text-dark); line-height: 1.5; }

/* ── Cover Page Specific ── */
.cover-hero {
  background: linear-gradient(160deg, var(--maroon-deep) 0%, var(--maroon-primary) 55%, var(--maroon-accent) 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(63,12,29,0.5);
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 40px;
}

.cover-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228,184,98,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cover-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208,163,84,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cover-book-img {
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  transform: perspective(600px) rotateY(-8deg);
  transition: transform 0.4s;
}

.cover-book-img:hover { transform: perspective(600px) rotateY(0deg); }

.cover-hero h1 {
  font-size: 2.8rem;
  color: var(--gold-light);
  line-height: 1.15;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.cover-hero .tagline {
  color: var(--gold-pale);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.cover-hero .author-name {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.gold-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 16px auto;
}

/* ── TOC ── */
.toc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  margin-bottom: 6px;
  text-decoration: none;
  color: inherit;
}

.toc-item:hover {
  background: linear-gradient(90deg, rgba(99,31,46,0.08), transparent);
  border-color: var(--gold-dim);
  transform: translateX(6px);
}

.toc-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon-primary), var(--maroon-accent));
  color: var(--gold-light);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toc-info h4 { font-size: 1rem; color: var(--maroon-primary); line-height: 1.25; }
.toc-info p  { font-size: 0.82rem; color: var(--text-light); font-style: italic; }

/* ── Footer ── */
.site-footer {
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon-primary));
  border-top: 3px solid var(--gold-dim);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 28px 24px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.site-footer .footer-gold { color: var(--gold-light); font-weight: 600; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--maroon-accent); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }

/* ── Responsive ── */
@media(max-width:640px) {
  .header-inner { justify-content: center; }
  .progress-wrap { min-width: 200px; }
  .main-wrap { padding: 20px 14px 40px; }
  .cover-hero h1 { font-size: 2rem; }
  .chapter-opener h2 { font-size: 1.6rem; }
  .section-header h2 { font-size: 1.5rem; }
  .prose p:first-of-type::first-letter { font-size: 2.8rem; }
  .cover-book-img { width: 150px; }
}
