/* =================================================================
   gospelbooks.store — Christ's Miracles: Yesterday and Today
   Design system — Option C v2 (Modern Conversion)
   ================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Color palette — deep navy + antique gold + warm cream */
  --navy:        #0d1d3f;
  --navy-deep:   #061029;
  --navy-mid:    #1c3260;
  --gold:        #d9b04d;
  --gold-bright: #f1c869;
  --gold-deep:   #a37e26;
  --cream:       #fdf9ef;
  --warm-white:  #fbf6e8;
  --parchment:   #f5ecd5;
  --line:        #e8dec3;
  --line-soft:   #f0e8d4;
  --ink:         #0d1d3f;
  --ink-mute:    rgba(13, 29, 63, 0.65);
  --ink-quiet:   rgba(13, 29, 63, 0.45);

  /* Typography */
  --font-display: "DM Serif Display", "Playfair Display", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;
  --space-8: 9rem;

  /* Layout */
  --max-w:      1280px;
  --max-w-text: 720px;
  --radius:     6px;
  --radius-lg:  10px;

  /* Shadows */
  --shadow-book: 0 60px 100px -30px rgba(13, 29, 63, 0.5),
                 0 30px 50px -20px rgba(13, 29, 63, 0.3),
                 0 0 0 1px rgba(13, 29, 63, 0.08);
  --shadow-soft: 0 4px 24px rgba(13, 29, 63, 0.08);
  --shadow-lift: 0 12px 32px -8px rgba(13, 29, 63, 0.18);
  --shadow-btn:  0 8px 20px rgba(13, 29, 63, 0.25);

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; font-family: var(--font-body); }

p { margin: 0 0 1.1em; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

/* ---------- Eyebrow labels ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1.5px;
  background: var(--gold);
}

.eyebrow--light {
  color: var(--gold-bright);
}
.eyebrow--light::before {
  background: var(--gold);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 60px;
}
@media (max-width: 880px) { .container { padding: 0 20px; } }

.section { padding: 90px 0; }
.section--tight   { padding: 60px 0; }
.section--cream   { background: var(--cream); }
.section--ivory   { background: var(--warm-white); }
.section--parchment {
  background: var(--parchment);
  background-image:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(217, 176, 77, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(217, 176, 77, 0.08), transparent 60%);
  position: relative;
}
.section--parchment::before,
.section--parchment::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft, rgba(217, 176, 77, 0.3)) 30%, var(--gold-soft, rgba(217, 176, 77, 0.3)) 70%, transparent);
}
.section--parchment::before { top: 0; }
.section--parchment::after  { bottom: 0; }

/* About the Book headline gets a decorative flourish */
.about-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
  margin-bottom: 1.6rem !important;
}
.about-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 2px;
  background: var(--gold);
}
.about-heading .ital {
  color: var(--gold-deep);
  font-style: italic;
}
@media (max-width: 880px) { .section { padding: 60px 0; } }

/* ---------- ANNOUNCEMENT BAR (audiobook) ---------- */
.announce-bar {
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  z-index: 51;
  transition: max-height .35s var(--ease), padding .35s var(--ease);
  max-height: 200px;
  overflow: hidden;
}
.announce-bar.is-dismissed {
  max-height: 0;
  padding: 0;
}
.announce-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 11px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.announce-bar button.announce-trigger {
  background: transparent;
  border: none;
  color: var(--navy-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.announce-bar button.announce-trigger:hover { color: var(--navy); }
.announce-bar button.announce-trigger::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.announce-bar button.announce-trigger:hover::after { transform: translateX(3px); }
.announce-emoji { font-size: 1.05em; }
.announce-close {
  background: transparent;
  border: none;
  color: var(--navy-deep);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  padding: 4px 8px;
  margin-left: auto;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity .2s var(--ease);
}
.announce-close:hover { opacity: 1; }

/* Inline expanded form */
.announce-form {
  max-width: 480px;
  margin: 4px auto 0;
  display: none;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
}
.announce-form.is-open { display: flex; }
.announce-form input[type="email"] {
  flex: 1;
  font: inherit;
  font-size: 14px;
  padding: 9px 14px;
  border: 1.5px solid var(--navy-deep);
  border-radius: 100px;
  background: var(--cream);
  color: var(--navy-deep);
}
.announce-form input[type="email"]:focus {
  outline: none;
  background: white;
}
.announce-form button[type="submit"] {
  background: var(--navy-deep);
  color: var(--cream);
  border: none;
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease);
  white-space: nowrap;
}
.announce-form button[type="submit"]:hover { background: var(--navy-mid); }
.announce-success {
  display: none;
  font-style: italic;
  font-weight: 500;
  padding: 4px 0;
}
.announce-success.is-visible { display: block; }

@media (max-width: 720px) {
  .announce-bar-inner { padding: 10px 44px 10px 16px; font-size: 13px; flex-wrap: wrap; }
  .announce-close { right: 8px; }
  .announce-form { flex-wrap: wrap; padding: 6px 12px 0; }
  .announce-form input[type="email"] { min-width: 0; flex: 1 1 100%; }
  .announce-form button[type="submit"] { flex: 1 1 100%; }
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 249, 239, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: rgba(13, 29, 63, 0.08);
  box-shadow: 0 4px 18px rgba(13, 29, 63, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: block;
  flex: 0 0 38px;
}
.brand-mark img {
  width: 100%; height: 100%;
  display: block;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-links a.is-active {
  color: var(--gold-deep);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--cream);
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.nav-cta:hover { background: var(--gold-deep); transform: translateY(-1px); }

.nav-toggle { display: none; background: transparent; color: var(--ink); }

@media (max-width: 880px) {
  .nav { padding: 16px 20px; gap: 12px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; flex: 0 0 32px; }
  .nav-links { display: none; }
  .nav-toggle {
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: transparent;
  }
  .nav-toggle:hover { background: rgba(13, 29, 63, 0.06); }
  .site-header.menu-open .nav-links {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 20px;
    gap: 14px;
    border-top: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
  }
  .site-header.menu-open .nav-links a { padding: 0.4rem 0; }
  .nav-cta { padding: 9px 16px; font-size: 12px; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(163, 126, 38, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--cream); transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(253, 249, 239, 0.4);
}
.btn-ghost:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }

.btn-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- HERO ---------- */
.hero {
  background: var(--cream);
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse 60% 70% at 70% 50%, rgba(217, 176, 77, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.badge-row {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.badge-pill {
  background: var(--navy);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
}
.badge-text {
  color: var(--ink-mute);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hero-title {
  margin-bottom: 24px;
}
.hero-title .gold-text {
  color: var(--gold-deep);
  font-style: italic;
}
.hero-title .apos {
  color: var(--gold-deep);
}
.hero-title .small-line {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: var(--navy-mid);
  display: block;
  margin-top: 10px;
  line-height: 1.05;
}

.hero-lede {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-byline {
  font-size: 14px;
  color: var(--navy-mid);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-byline strong { color: var(--ink); font-weight: 600; }
.byline-sep {
  width: 4px; height: 4px; background: var(--gold);
  border-radius: 50%;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust {
  display: flex;
  gap: 22px;
  margin-top: 26px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-mute);
}
.trust-item { display: flex; gap: 6px; align-items: center; }
.trust-item::before { content: "✓"; color: var(--gold-deep); font-weight: 700; }

/* Hero book visual */
.hero-book {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-book img {
  width: 100%;
  max-width: 400px;
  border-radius: 4px;
  box-shadow: var(--shadow-book);
}

@media (max-width: 880px) {
  .hero { padding: 32px 0 50px; }
  .hero::before { display: none; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px;
  }
  .hero-book { order: -1; }
  .hero-book img { max-width: 240px; }
  .badge-row { justify-content: flex-start; }
  .hero-ctas { gap: 10px; }
  .btn { padding: 14px 22px; font-size: 14px; flex: 1; min-width: 140px; }
  .hero-trust { gap: 14px; font-size: 12px; }
}

/* ---------- PROMISE / PULL QUOTE ---------- */
.promise {
  background: var(--cream);
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.promise blockquote {
  margin: 0 auto;
  max-width: 880px;
  padding: 0 60px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 400;
}
.promise blockquote::before,
.promise blockquote::after {
  content: "";
  display: block;
  width: 40px; height: 2px;
  background: var(--gold);
  margin: 0 auto;
}
.promise blockquote::before { margin-bottom: 32px; }
.promise blockquote::after  { margin-top: 32px; }
.promise cite {
  display: block;
  margin-top: 22px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
@media (max-width: 720px) {
  .promise { padding: 56px 0; }
  .promise blockquote { padding: 0 20px; }
}

/* ---------- ABOUT THE BOOK (split) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-6);
  align-items: center;
}
.split--reverse { grid-template-columns: 1.1fr 1fr; }
@media (max-width: 880px) {
  .split, .split--reverse {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}
.split-text { max-width: 560px; }
.split-text h2 { margin-bottom: 1.3rem; }
.split-text h2 .ital {
  font-style: italic;
  color: var(--gold-deep);
}
.split-text p {
  color: var(--ink-mute);
  line-height: 1.7;
}
.split-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.list-bullets {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.list-bullets li {
  padding: 14px 0 14px 32px;
  position: relative;
  color: var(--ink);
  font-size: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.list-bullets li:last-child { border-bottom: none; }
.list-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 18px; height: 2px;
  background: var(--gold);
}

/* ---------- INSIGHTS (DARK SECTION) ---------- */
.insights {
  background: var(--navy-deep);
  background-image:
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(217, 176, 77, 0.20), transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 90%, rgba(28, 50, 96, 0.5), transparent 60%);
  color: var(--cream);
  padding: 100px 0;
}
.insights .container { position: relative; }
.insights h2 {
  color: var(--cream);
  max-width: 800px;
  margin-bottom: 16px;
}
.insights h2 .ital {
  color: var(--gold-bright);
  font-style: italic;
}
.insights .section-lede {
  color: rgba(253, 249, 239, 0.65);
  max-width: 600px;
  margin-bottom: 50px;
  font-size: 1.05rem;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insight-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(217, 176, 77, 0.25);
  padding: 32px 28px;
  border-radius: 8px;
  position: relative;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.insight-card:hover {
  border-color: rgba(217, 176, 77, 0.55);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}
.insight-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
  opacity: 0.9;
}
.insight-card p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.3;
  color: var(--cream);
  font-weight: 400;
}
.insight-card p strong { color: var(--gold-bright); font-weight: 400; }

@media (max-width: 880px) {
  .insights { padding: 60px 0; }
  .insight-grid { grid-template-columns: 1fr; gap: 16px; }
  .insight-card { padding: 26px 22px; }
  .insight-num { font-size: 38px; margin-bottom: 12px; }
  .insight-card p { font-size: 19px; }
  .insights h2 { margin-bottom: 12px; }
  .insights .section-lede { margin-bottom: 36px; }
}

/* ---------- AUTHORS ---------- */
.authors h2 { margin-bottom: var(--space-5); }
.authors h2 .ital {
  color: var(--gold-deep);
  font-style: italic;
}

.authors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.author-card {
  display: flex;
  flex-direction: column;
}

.author-photo {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 16px 32px rgba(13, 29, 63, 0.12);
  margin-bottom: 28px;
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; }

.author-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.05;
}
.author-role {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.author-bio { color: var(--ink-mute); line-height: 1.7; font-size: 16px; }
.author-bio p { margin: 0 0 14px; }
.author-bio p:last-child { margin-bottom: 0; }
.author-extras {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  color: var(--ink-quiet);
  line-height: 1.6;
}
.author-extras a {
  color: var(--gold-deep);
  border-bottom: 1px solid rgba(163, 126, 38, 0.4);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.author-extras a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Mobile: stack vertically */
@media (max-width: 880px) {
  .authors-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 24px;
  }
  .author-photo { max-width: 220px; margin-bottom: 22px; }
}

/* ---------- AUDIENCE / FOR READERS WHO ---------- */
.audience-list {
  list-style: none; padding: 0; margin: 1.8rem 0 0;
  display: grid;
  gap: 12px;
}
.audience-list li {
  padding: 18px 22px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  color: var(--ink-mute);
  line-height: 1.55;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
  border-top: 1px solid var(--line-soft);
}
.final-cta h2 {
  max-width: 760px;
  margin: 0 auto 1.2rem;
}
.final-cta h2 .ital {
  font-style: italic;
  color: var(--gold-deep);
}
.final-cta p {
  max-width: 580px;
  margin: 0 auto 2rem;
  color: var(--ink-mute);
  font-size: 1.05rem;
}
.final-cta .hero-ctas { justify-content: center; }

@media (max-width: 880px) { .final-cta { padding: 60px 0; } }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(253, 249, 239, 0.7);
  padding: 60px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(253, 249, 239, 0.12);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-brand .brand { color: var(--cream); margin-bottom: 12px; }
.footer-tag { max-width: 320px; line-height: 1.55; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px;
  color: rgba(253, 249, 239, 0.5);
}

/* ---------- STICKY MOBILE BUY BAR ---------- */
.sticky-buy {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--navy-deep);
  color: var(--cream);
  padding: 12px 20px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 -8px 24px rgba(0,0,0,.18);
  transform: translateY(100%);
  transition: transform .35s var(--ease);
}
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-buy-text {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.2;
  flex: 1;
}
.sticky-buy-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}
.sticky-buy .btn {
  padding: 11px 18px;
  font-size: 13px;
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: none;
  flex: 0 0 auto;
}
.sticky-buy .btn:hover { background: var(--gold-bright); }

@media (max-width: 720px) {
  .sticky-buy { display: flex; }
  body.has-sticky-buy { padding-bottom: 76px; }
}

/* ---------- COLLECTION PAGE ---------- */
.page-header {
  padding: 90px 0 70px;
  text-align: center;
  background: var(--warm-white);
  border-bottom: 1px solid var(--line-soft);
}
.page-header h1 { margin-bottom: 18px; }
.page-header h1 .ital {
  font-style: italic;
  color: var(--gold-deep);
}
.page-header p {
  max-width: 660px;
  margin: 0 auto;
  color: var(--ink-mute);
  font-size: 1.08rem;
  line-height: 1.65;
}
@media (max-width: 880px) { .page-header { padding: 60px 0 50px; } }

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 40px 24px;
  padding: 60px 0;
}

.book-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform .3s var(--ease);
}
.book-card:hover { transform: translateY(-4px); }
.book-card-img {
  aspect-ratio: 2 / 3;
  background: var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.book-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.book-card:hover .book-card-img img { transform: scale(1.04); }
.book-card-img.is-featured::before {
  content: "Co-authored by Matt Cook";
  position: absolute;
  top: 10px; left: 10px;
  z-index: 1;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
}
.book-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 6px;
  line-height: 1.2;
}
.book-card p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.55;
  margin-bottom: 10px;
}
.book-card-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s var(--ease);
}
.book-card-link::after { content: "→"; transition: transform .2s var(--ease); }
.book-card:hover .book-card-link::after { transform: translateX(3px); }

/* ---------- CONTACT FORM ---------- */
.contact-wrap { max-width: 640px; margin: 0 auto; }
.contact-wrap p { color: var(--ink-mute); }

.form {
  display: grid;
  gap: 1.3rem;
  margin-top: var(--space-3);
}
.form-row { display: grid; gap: 0.4rem; }
.form-row label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.form-row input,
.form-row textarea {
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--cream);
}
.form-row textarea { resize: vertical; min-height: 140px; line-height: 1.55; }

.form-status {
  font-size: 14px;
  padding: 14px 16px;
  border-radius: 6px;
  display: none;
}
.form-status.is-success {
  display: block;
  background: rgba(217, 176, 77, 0.12);
  color: var(--gold-deep);
  border: 1px solid rgba(217, 176, 77, 0.4);
}
.form-status.is-error {
  display: block;
  background: rgba(180, 50, 50, 0.08);
  color: #8a2828;
  border: 1px solid rgba(180, 50, 50, 0.25);
}

/* ---------- 404 PAGE ---------- */
.error-page {
  text-align: center;
  padding: 100px 0 80px;
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- HERO RATING ---------- */
.hero-rating { display:inline-flex; align-items:center; gap:8px; margin-top:10px; font-size:13px; color:var(--ink-mute); flex-basis:100%; text-decoration:none; transition: color .2s var(--ease); }
.hero-rating:hover { color:var(--gold-deep); }
.hero-rating:hover strong { color:var(--gold-deep); }
.hero-rating .stars { color:var(--gold); letter-spacing:2px; font-size:14px; }
.hero-rating strong { color:var(--ink); font-weight:600; transition: color .2s var(--ease); }
.hero-rating-tail { opacity:.7; }

/* offset the sticky header when jumping in via #reviews anchor */
#reviews { scroll-margin-top: 90px; }

/* ---------- TESTIMONIALS (dark navy band) ---------- */
.testimonials {
  background: var(--navy-deep);
  background-image:
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(217, 176, 77, 0.15), transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 90%, rgba(28, 50, 96, 0.5), transparent 60%);
  color: var(--cream);
  padding: 100px 0;
}
.testimonials h2 {
  color: var(--cream);
  max-width: 900px;
  margin-bottom: 56px;
}
.testimonials h2 .ital {
  color: var(--gold-bright);
  font-style: italic;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(217, 176, 77, 0.25);
  border-radius: 10px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.testimonial-card:hover {
  border-color: rgba(217, 176, 77, 0.55);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 4px;
  margin-bottom: 14px;
}
.testimonial-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-bright);
  margin: 0 0 16px;
  line-height: 1.2;
  font-weight: 400;
}
.testimonial-card blockquote {
  margin: 0 0 20px;
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  flex: 1;
}
.testimonial-card cite {
  font-style: italic;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-align: right;
  display: block;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(217, 176, 77, 0.15);
}
.testimonial-cta {
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid rgba(253, 249, 239, 0.12);
}
.testimonial-cta p {
  color: rgba(253, 249, 239, 0.75);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  margin: 0 0 18px;
}

/* Gold outline button variant for use on dark backgrounds */
.btn-gold-outline {
  background: transparent;
  color: var(--gold-bright);
  border: 1.5px solid var(--gold);
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-1px);
}

@media (max-width: 880px) {
  .testimonials { padding: 60px 0; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 44px; }
  .testimonial-card { padding: 26px 22px; }
  .testimonial-title { font-size: 1.3rem; }
}

/* ---------- SPEAKING & EVENTS (final CTA pull-quote) ---------- */
.speaking-ask {
  margin-top: 72px;
  text-align: center;
}
.speaking-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}
.speaking-divider .divider-line {
  display: block;
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.speaking-divider .divider-mark {
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
}
.speaking-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--gold-deep);
  font-style: italic;
  margin: 0 0 18px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.speaking-text em { font-style: italic; }
.speaking-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1.5px solid var(--gold);
  transition: color .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease);
}
.speaking-link:hover {
  color: var(--gold-deep);
  border-bottom-color: var(--gold-deep);
  gap: 12px;
}

@media (max-width: 720px) {
  .speaking-ask { margin-top: 56px; }
  .speaking-divider .divider-line { width: 50px; }
  .speaking-text { font-size: 1.1rem; padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
