/* ============================================================
   TOM STALLINGS – YOUR REAL ESTATE CONSULTANT FOR LIFE
   Design Direction: Refined Editorial / Luxury Real Estate
   Palette: Deep navy, warm ivory, burnished gold
   Typography: Playfair Display + Cormorant Garamond + DM Sans
   ============================================================ */

/* ── Reset & Variables ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0d1b2a;
  --navy-2: #152232;
  --navy-3: #1c2e42;
  --gold:   #c8a96e;
  --gold-l: #e2c99a;
  --ivory:  #f8f4ef;
  --ivory-2:#ede8e0;
  --text:   #2a2420;
  --text-2: #5a5048;
  --white:  #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;

  --container: 1120px;
  --radius:    4px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--ivory);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ─────────────────────────────────────────── */
h1 { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.05; font-weight: 900; }
h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; font-weight: 700; }
h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.5vw, 1.75rem); font-weight: 700; line-height: 1.2; }
h4 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.01em; margin-bottom: 0.75rem; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ── Container ──────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }

/* ── Toast Notification ─────────────────────────────────── */
#copy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: var(--navy);
  color: var(--gold-l);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  border: 1px solid rgba(200,169,110,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
  white-space: nowrap;
}
#copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 169, 110, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

/* ── Amazon Button ──────────────────────────────────────── */
.amazon-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #232f3e;
  color: #fff;
  border: 2px solid #FF9900;
  border-radius: 6px;
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.amazon-btn:hover {
  background: #FF9900;
  color: #111;
  box-shadow: 0 6px 20px rgba(255,153,0,.4);
  transform: translateY(-2px);
}
.amazon-btn-text { font-size: .88rem; font-weight: 700; white-space: nowrap; }
.amazon-logo { flex-shrink: 0; }
.amazon-arrow { flex-shrink: 0; color: #FF9900; transition: color .2s; }
.amazon-btn:hover .amazon-arrow { color: #111; }
.amazon-btn--dark { background: #232f3e; border-color: #FF9900; }
.amazon-btn--dark:hover { background: #FF9900; color: #111; }

/* Hero Amazon placement */
.hero-amazon {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ── Navbar ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-l); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
}
.nav-cta:hover { background: var(--gold-l) !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); }

/* ── Hero ───────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(200,169,110,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(200,169,110,0.05) 0%, transparent 50%),
    linear-gradient(135deg, #0d1b2a 0%, #152232 50%, #1a2c40 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,0.012) 80px, rgba(255,255,255,0.012) 81px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,0.012) 80px, rgba(255,255,255,0.012) 81px);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5rem;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero-text h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--gold-l);
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-credentials {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.hero-credentials .sep { margin: 0 0.75rem; }

/* Book visual */
.hero-book { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }
.book-wrapper {
  position: relative;
  width: 280px;
  animation: float 6s ease-in-out infinite;
}
.book-wrapper img {
  width: 280px;
  border-radius: 4px 8px 8px 4px;
  box-shadow:
    -8px 8px 40px rgba(0,0,0,0.6),
    -2px 2px 8px rgba(0,0,0,0.4),
    inset -4px 0 8px rgba(0,0,0,0.2);
  transform: perspective(800px) rotateY(-8deg);
}
.book-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(200,169,110,0.4) 0%, transparent 70%);
  filter: blur(8px);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── Author Intro ────────────────────────────────────────── */
#author-intro {
  padding: 7rem 0;
  background: var(--ivory);
}
.author-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: center;
}
.author-quote-col blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 2rem;
}
.author-quote-col blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.author-quote-col cite {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.author-bio-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.author-bio-col h2 { color: var(--navy); margin-bottom: 1.5rem; }
.author-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--ivory-2);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ── Book Section ────────────────────────────────────────── */
#book {
  padding: 7rem 0;
  background: var(--navy);
}
#book .section-header { text-align: center; margin-bottom: 4rem; }
#book .section-header h2 { color: var(--white); }
#book .section-intro {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 1rem auto 0;
  line-height: 1.8;
}
.book-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.book-feature {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  text-align: center;
  background: rgba(255,255,255,0.03);
  transition: var(--transition);
}
.book-feature:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(200,169,110,0.3);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.book-feature h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.book-feature p { font-size: 0.925rem; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ── Section Headers ─────────────────────────────────────── */
.section-header { margin-bottom: 3.5rem; }
.section-header h2 { color: var(--navy); margin-bottom: 1rem; }
.section-intro {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 600px;
  line-height: 1.8;
}

/* ── Chapters ────────────────────────────────────────────── */
#chapters { padding: 7rem 0; background: var(--ivory); }
.chapters-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chapter-card {
  background: var(--white);
  border: 1px solid var(--ivory-2);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.chapter-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  border-color: var(--gold);
}
.chapter-card--featured {
  border-color: var(--gold);
  background: linear-gradient(to right, #fffdf9, var(--white));
}

.chapter-toggle {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
  transition: background var(--transition);
}
.chapter-toggle:hover { background: #fafaf8; }
.chapter-toggle[aria-expanded="true"] { background: #f8f5ef; }

.chapter-card-header { flex: 1; }
.chapter-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.chapter-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.chapter-num {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.chapter-badge {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-weight: 600;
}
.chapter-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.chapter-teaser {
  font-family: var(--font-serif);
  font-size: 0.975rem;
  color: var(--text-2);
  line-height: 1.6;
}

.chapter-chevron {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ivory-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: var(--transition);
}
.chapter-chevron::before,
.chapter-chevron::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}
.chapter-chevron::before { transform: rotate(45deg) translate(-3px, 3px); }
.chapter-chevron::after  { transform: rotate(-45deg) translate(3px, 3px); }
.chapter-toggle[aria-expanded="true"] .chapter-chevron::before { transform: rotate(-45deg) translate(-3px, -3px); }
.chapter-toggle[aria-expanded="true"] .chapter-chevron::after  { transform: rotate(45deg) translate(3px, -3px); }
.chapter-toggle[aria-expanded="true"] .chapter-chevron {
  background: var(--navy);
  border-color: var(--navy);
}
.chapter-toggle[aria-expanded="true"] .chapter-chevron::before,
.chapter-toggle[aria-expanded="true"] .chapter-chevron::after { background: var(--gold); }

.chapter-content {
  padding: 0 2.5rem 2.5rem 2.5rem;
  animation: slideDown 0.3s ease;
}
.chapter-content[hidden] { display: none; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chapter-body {
  border-top: 1px solid var(--ivory-2);
  padding-top: 2rem;
  max-width: 780px;
}
.chapter-body p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.chapter-body h4 {
  color: var(--navy);
  margin-top: 2rem;
}
.signature {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-2) !important;
  font-size: 1.1rem !important;
}
.chapter-intro-text {
  font-family: var(--font-serif);
  font-size: 1.15rem !important;
  font-style: italic;
  color: var(--text-2) !important;
  margin-bottom: 2rem !important;
}

.reflection-box {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #f8f5ef, #f4f0e8);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
}
.reflection-label {
  font-size: 0.7rem !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold) !important;
  margin-bottom: 0.5rem !important;
}
.reflection-box p:last-child {
  font-style: italic;
  color: var(--navy) !important;
  margin-bottom: 0 !important;
}

.lesson {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--ivory-2);
}
.lesson:last-of-type { border-bottom: none; }
.lesson-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--ivory-2);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  text-align: right;
}
.lesson-body { flex: 1; }
.lesson-body h4 { color: var(--navy); }
.lesson-question { margin-top: 0.75rem; }
.lesson-question em {
  font-family: var(--font-serif);
  font-size: 0.95rem !important;
  color: var(--text-2) !important;
}
.chapter-conclusion {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--navy);
  border-radius: 4px;
}
.chapter-conclusion p {
  font-family: var(--font-display) !important;
  font-style: italic;
  color: var(--white) !important;
  font-size: 1.15rem !important;
  margin-bottom: 0 !important;
  text-align: center;
}

/* ── Philosophy ──────────────────────────────────────────── */
#philosophy {
  padding: 7rem 0;
  background: var(--navy-2);
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.phil-col h2 { color: var(--white); }
.phil-principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.principle {
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
  transition: var(--transition);
}
.principle:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(200,169,110,0.3);
}
.principle-icon {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0.7;
}
.principle p {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

/* ── Contact Section ─────────────────────────────────────── */
#contact {
  padding: 7rem 0;
  background: var(--ivory);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 5rem;
  align-items: center;
}
.contact-text h2 { color: var(--navy); margin-bottom: 1.5rem; }
.contact-text h2 em { font-style: italic; color: var(--gold); }
.contact-text p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--navy);
  transition: color 0.2s;
}
.contact-item--phone { cursor: default; }
.contact-item--email {
  cursor: pointer;
}
.contact-item--email:hover { color: var(--gold); }
a.contact-item:hover { color: var(--gold); }
.contact-icon { font-size: 1.1rem; }
.contact-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.badge {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.875rem;
  border: 1px solid var(--ivory-2);
  border-radius: 100px;
  color: var(--text-2);
  background: var(--white);
}

.photo-frame { position: relative; }
.photo-frame img {
  border-radius: 4px 12px 12px 4px;
  box-shadow:
    -6px 6px 32px rgba(0,0,0,0.18),
    -2px 2px 6px rgba(0,0,0,0.1);
  transform: perspective(800px) rotateY(-5deg);
  transition: transform var(--transition);
  max-width: 320px;
  margin: 0 auto;
}
.photo-frame:hover img { transform: perspective(800px) rotateY(0deg); }

/* ── Contact Strip ───────────────────────────────────────── */
.contact-cta {
  background: var(--navy);
  padding: 3.5rem 0;
}
.section-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.contact-strip {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.contact-strip-text { flex-shrink: 0; }
.contact-strip-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.contact-strip-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.contact-strip-heading em { font-style: italic; color: var(--gold-l); }
.contact-strip-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.contact-strip-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-strip-item--phone { cursor: default; }
.contact-strip-item--email { cursor: pointer; }
.contact-strip-item--email:hover,
a.contact-strip-item:hover { color: var(--gold-l); }
.contact-strip-icon { font-size: 1rem; }
.contact-strip-license {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.footer-brand p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-l); }
.footer-legal { text-align: right; }
.footer-legal p { font-size: 0.75rem; color: rgba(255,255,255,0.3); line-height: 1.8; }

/* ── Scroll Animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ── Active Nav Link ─────────────────────────────────────── */
.nav-links a.active { color: var(--gold-l); }

/* ── Responsive 900px ────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; padding-top: 7rem; }
  .hero-book { display: flex; flex-direction: column; align-items: center; }
  .book-wrapper { width: 220px; }
  .book-wrapper img { width: 220px; }
  .author-grid { grid-template-columns: 1fr; gap: 3rem; }
  .book-features { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 3rem; }
  .phil-principles { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-photo { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
  .contact-strip { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

/* ── Responsive 640px ────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
  }
  .hamburger { display: flex; }
  .chapter-toggle { padding: 1.5rem; }
  .chapter-content { padding: 0 1.5rem 1.5rem; }
  .lesson { flex-direction: column; gap: 0.75rem; }
  .lesson-num { font-size: 1.75rem; text-align: left; }
  .author-stats { grid-template-columns: 1fr; }
}