
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Crimson+Pro:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Cormorant+SC:wght@300;400;500;600&display=swap');

:root {
  --gold: #B8860B;
  --gold-light: #D4A017;
  --gold-pale: #F5EDD8;
  --brown: #2C1810;
  --brown-mid: #5C3A2A;
  --cream: #FAF6EE;
  --cream-dark: #F0E8D8;
  --text: #1A1208;
  --text-mid: #4A3828;
  --text-light: #7A6858;
  --white: #FFFEF9;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 19px;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
}

/* ─── NAV ─────────────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,246,238,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,134,11,0.2);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Cormorant SC', serif;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

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

.nav-links a {
  font-family: 'Cormorant SC', serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-mid);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

/* ─── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 40px 80px;
  background: var(--brown);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184,134,11,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(184,134,11,0.08) 0%, transparent 50%);
}

.hero-eyebrow {
  font-family: 'Cormorant SC', serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 24px;
  position: relative;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.0;
  margin-bottom: 16px;
  position: relative;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  color: rgba(250,246,238,0.75);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.5;
  position: relative;
}

.hero-author {
  font-family: 'Cormorant SC', serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 56px;
  position: relative;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--gold);
  color: var(--brown);
  font-family: 'Cormorant SC', serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
}

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

.btn-secondary {
  display: inline-block;
  padding: 16px 40px;
  border: 1px solid rgba(184,134,11,0.5);
  color: var(--cream);
  font-family: 'Cormorant SC', serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(250,246,238,0.4);
  font-family: 'Cormorant SC', serif;
  font-size: 11px;
  letter-spacing: 0.15em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(184,134,11,0.6), transparent);
}

/* ─── THE MIRROR STATEMENT ───────────────────────────────────────────────── */
.mirror-statement {
  background: var(--white);
  padding: 100px 40px;
  text-align: center;
}

.mirror-inner {
  max-width: 760px;
  margin: 0 auto;
}

.mirror-statement blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 40px);
  font-style: italic;
  font-weight: 400;
  color: var(--brown);
  line-height: 1.3;
  margin-bottom: 32px;
}

.mirror-statement blockquote span {
  color: var(--gold);
}

.mirror-attribution {
  font-family: 'Cormorant SC', serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--text-light);
}

/* ─── BOOK OVERVIEW ──────────────────────────────────────────────────────── */
.book-overview {
  padding: 100px 40px;
  background: var(--cream-dark);
}

.section-eyebrow {
  font-family: 'Cormorant SC', serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--brown);
  line-height: 1.15;
  margin-bottom: 24px;
}

.overview-grid {
  max-width: 1100px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.overview-text {
  max-width: 640px;
}

.overview-text p {
  font-size: 18px;
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.8;
}

.three-truths {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.truth-item {
  padding: 28px 32px;
  border-left: 3px solid var(--gold);
  background: var(--white);
}

.truth-item h4 {
  font-family: 'Cormorant SC', serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}

.truth-item p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ─── CHAPTER INDEX ──────────────────────────────────────────────────────── */
.chapter-index {
  padding: 100px 40px;
  background: var(--white);
}

.chapter-index-inner {
  max-width: 900px;
  margin: 0 auto;
}

.chapter-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.chapter-card {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(184,134,11,0.15);
  text-decoration: none;
  transition: background 0.2s;
  padding: 32px 0;
  align-items: flex-start;
}

.chapter-card:first-child { border-top: 1px solid rgba(184,134,11,0.15); }

.chapter-card:hover { background: var(--cream); }

.chapter-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 900;
  color: rgba(184,134,11,0.2);
  line-height: 1;
  min-width: 100px;
  padding-right: 32px;
  padding-top: 4px;
}

.chapter-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
  line-height: 1.2;
}

.chapter-info p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 560px;
}

.chapter-arrow {
  margin-left: auto;
  padding-left: 32px;
  font-size: 20px;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  align-self: center;
}

.chapter-card:hover .chapter-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ─── AI MIRROR SECTION ──────────────────────────────────────────────────── */
.ai-mirror-section {
  padding: 100px 40px;
  background: var(--brown);
  text-align: center;
}

.ai-mirror-inner {
  max-width: 760px;
  margin: 0 auto;
}

.ai-mirror-section .section-title { color: var(--cream); }
.ai-mirror-section .section-eyebrow { color: var(--gold); }

.ai-mirror-section p {
  font-size: 18px;
  color: rgba(250,246,238,0.75);
  line-height: 1.8;
  margin-bottom: 20px;
}

.mirror-features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 60px;
  text-align: left;
}

.mirror-feature {
  padding: 32px;
  border: 1px solid rgba(184,134,11,0.25);
}

.mirror-feature h4 {
  font-family: 'Cormorant SC', serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 12px;
}

.mirror-feature p {
  font-size: 15px;
  color: rgba(250,246,238,0.65);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ─── ABOUT AUTHOR ───────────────────────────────────────────────────────── */
.about-author {
  padding: 100px 40px;
  background: var(--cream-dark);
}

.about-inner {
  max-width: 800px;
  margin: 0 auto;
}

.about-inner p {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--brown);
  padding: 60px 40px;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: 'Crimson Pro', serif;
  font-size: 16px;
  font-style: italic;
  color: rgba(250,246,238,0.5);
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-links a {
  font-family: 'Cormorant SC', serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(250,246,238,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-family: 'Cormorant SC', serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(250,246,238,0.3);
}

/* ─── CHAPTER PAGE ───────────────────────────────────────────────────────── */
.chapter-hero {
  background: var(--brown);
  padding: 140px 40px 80px;
  text-align: center;
}

.chapter-hero-eyebrow {
  font-family: 'Cormorant SC', serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
}

.chapter-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.05;
  max-width: 800px;
  margin: 0 auto 24px;
}

.chapter-hero-desc {
  font-family: 'Crimson Pro', serif;
  font-size: 20px;
  font-style: italic;
  color: rgba(250,246,238,0.65);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
}

.chapter-nav-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(184,134,11,0.15);
  padding: 0 40px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 64px;
  z-index: 50;
}

.chap-prev, .chap-next {
  font-family: 'Cormorant SC', serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}

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

.chap-progress {
  font-family: 'Cormorant SC', serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-light);
}

/* ─── CHAPTER CONTENT ────────────────────────────────────────────────────── */
.chapter-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 80px 40px 120px;
}

.chapter-content p {
  margin-bottom: 24px;
  font-size: 19px;
  color: var(--text);
  line-height: 1.8;
}

.chapter-content h3.subhead {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--brown);
  margin: 60px 0 24px;
  line-height: 1.2;
}

.chapter-content h3.law-header {
  font-family: 'Cormorant SC', serif;
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin: 72px 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(184,134,11,0.3);
  font-weight: 500;
}

.chapter-content h4.scenario-label {
  font-family: 'Cormorant SC', serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin: 56px 0 20px;
  font-weight: 500;
}

.chapter-content .italic-line {
  font-style: italic;
  color: var(--text-mid);
}

.chapter-content blockquote.pullquote {
  margin: 56px 0;
  padding: 0 0 0 36px;
  border-left: 4px solid var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-style: italic;
  font-weight: 400;
  color: var(--brown);
  line-height: 1.4;
}

.chapter-content .example-block {
  margin: 40px 0;
  padding: 32px 36px;
  background: var(--cream-dark);
  border-left: 3px solid rgba(184,134,11,0.4);
  font-style: italic;
  font-size: 18px;
  color: var(--brown-mid);
  line-height: 1.75;
}

.chapter-content .example-block p { font-size: 18px; margin-bottom: 0; }

.prompt-box {
  margin: 56px 0;
  background: #F5EDD8;
  border: 1px solid rgba(184,134,11,0.3);
}

.prompt-header {
  background: var(--gold);
  padding: 14px 28px;
  font-family: 'Cormorant SC', serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--brown);
  font-weight: 600;
}

.prompt-body {
  padding: 28px 32px;
}

.prompt-body p {
  font-size: 17px !important;
  font-style: italic;
  color: var(--text-mid) !important;
  margin-bottom: 0 !important;
  white-space: pre-line;
}

.reflection-box {
  margin: 40px 0;
  background: #EAF0F8;
  border: 1px solid rgba(46,80,128,0.2);
}

.reflection-header {
  background: #2E5080;
  padding: 14px 28px;
  font-family: 'Cormorant SC', serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: white;
  font-weight: 600;
}

.reflection-body {
  padding: 28px 32px;
}

.reflection-body p {
  font-size: 17px !important;
  font-style: italic;
  color: #2A3A50 !important;
  margin-bottom: 0 !important;
  white-space: pre-line;
}

.closing-line {
  text-align: center;
  font-style: italic;
  color: var(--brown-mid);
  font-size: 19px;
}

.chapter-bottom-nav {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 40px 80px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.chapter-bottom-nav a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  padding: 24px 28px;
  border: 1px solid rgba(184,134,11,0.2);
  flex: 1;
  transition: border-color 0.2s, background 0.2s;
}

.chapter-bottom-nav a:hover {
  border-color: var(--gold);
  background: var(--cream-dark);
}

.chapter-bottom-nav .nav-dir {
  font-family: 'Cormorant SC', serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.chapter-bottom-nav .nav-title {
  font-family: 'Crimson Pro', serif;
  font-size: 16px;
  color: var(--text-mid);
  font-style: italic;
}

.chapter-bottom-nav .nav-next { text-align: right; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 80px; }
  .overview-grid { grid-template-columns: 1fr; }
  .mirror-features { grid-template-columns: 1fr; }
  .chapter-num { min-width: 60px; font-size: 32px; }
  .chapter-content { padding: 60px 24px 80px; }
  .chapter-hero { padding: 120px 24px 60px; }
  .chapter-nav-bar { padding: 0 20px; }
  .chapter-bottom-nav { padding: 0 24px 60px; flex-direction: column; }
  .mirror-statement { padding: 60px 24px; }
  .book-overview, .chapter-index, .ai-mirror-section, .about-author { padding: 60px 24px; }
}
