/* ============================================================
   ACTS 5:42 — CEASE NOT | Global Stylesheet v2
   "Modern Pulpit" — Navy / Gold / Cream
   Fonts: Playfair Display (headings) + Inter (body)
   Mobile-first. Vanilla CSS. No frameworks.
   ============================================================ */

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

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

:root {
  --navy:        #1B2B45;
  --navy-dark:   #13203A;
  --navy-deep:   #0E1830;
  --gold:        #C8A84B;
  --gold-light:  #E8C97A;
  --gold-soft:   rgba(200,168,75,0.18);
  --white:       #FFFFFF;
  --cream:       #FAF7F2;
  --charcoal:    #20283A;
  --muted:       #6B7280;
  --border:      rgba(27,43,69,0.12);
  --border-dark: rgba(255,255,255,0.10);

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;

  --max-width:   1200px;
  --nav-h:       72px;
  --section-pad: clamp(4rem, 9vw, 7rem) 1.5rem;
  --radius:      12px;
  --radius-sm:   6px;

  --shadow-card:  0 4px 20px rgba(27,43,69,0.08);
  --shadow-lift:  0 24px 48px rgba(27,43,69,0.18);
  --shadow-nav:   0 4px 24px rgba(14,24,48,0.35);

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }

::selection { background: var(--gold); color: var(--navy); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
h2 {
  font-size: clamp(1.85rem, 4.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h3 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 700; line-height: 1.25; }
h4 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.serif { font-family: var(--font-serif); }
.gold-text { color: var(--gold); }
.muted { color: var(--muted); font-size: 0.9rem; }

/* ── Buttons ── */
.btn {
  position: relative;
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.9rem 2.1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  box-shadow: 0 10px 24px rgba(27,43,69,0.28);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  animation: btnPulse 3s ease-in-out infinite;
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 12px 28px rgba(200,168,75,0.45);
  animation-play-state: paused;
}
/* animated gradient shimmer sweep */
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: shimmer 4.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 60%  { left: -75%; }
  85%, 100% { left: 125%; }
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,168,75,0.45); }
  50%      { box-shadow: 0 0 0 10px rgba(200,168,75,0); }
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(27,43,69,0.24);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* ── Gold Rule ── */
.gold-rule {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1.1rem 0 1.6rem;
  border-radius: 2px;
}
.gold-rule.centered { margin-left: auto; margin-right: auto; }

/* ── Section Labels ── */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* ============================================================
   NAVIGATION — solid navy by default; transparent only when
   JS marks the page as scrolled to top (.nav.at-top)
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(19,32,58,0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-nav);
  padding: 0 1.5rem;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.nav.at-top {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
.nav-inner {
  /* Wider than the 1200px content column: the nav carries 11 items and would
     otherwise overflow its container and squash the Free Scripture List button. */
  max-width: min(1560px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-h);
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo-top {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.nav-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 4px;
}
.nav-links {
  display: none;
  align-items: center;
  gap: clamp(0.85rem, 1.35vw, 1.9rem);
  flex-wrap: nowrap;
}
.nav-links a {
  position: relative;
  font-size: clamp(0.78rem, 0.92vw, 0.88rem);
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  padding: 0.35rem 0;
  transition: color 0.25s;
  white-space: nowrap;   /* never break a label mid-phrase */
}
.nav-links a:hover { color: var(--white); }
/* gold underline — expands from center */
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after { width: 100%; }

.nav-cta {
  font-size: clamp(0.76rem, 0.88vw, 0.84rem) !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  background: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 0.55rem clamp(0.8rem, 1.1vw, 1.2rem) !important;
  border-radius: var(--radius-sm);
  white-space: nowrap;      /* keep "Free Scripture List" on one line */
  flex-shrink: 0;           /* never let the button get squeezed */
  line-height: 1.2;
  transition: background-color 0.25s, border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  border-color: var(--gold-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200,168,75,0.4);
}

/* hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile slide-down menu with backdrop blur */
.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(19,32,58,0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-dark);
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.45s var(--ease-out), opacity 0.35s ease, transform 0.4s var(--ease-out), padding 0.35s;
}
.nav-mobile.open {
  max-height: 480px;
  opacity: 1;
  transform: translateY(0);
  padding: 1rem 1.5rem 1.5rem;
}
.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-dark);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .btn { justify-content: center; display: block; }

/* Desktop nav only when there is genuinely room for all 11 items —
   below this the clean hamburger menu is used instead of a crushed nav. */
@media (min-width: 1180px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none; }
}

/* Page offset for fixed nav */
.page-content { padding-top: 0; }
body.has-page-hero .page-content,
.page-content:has(> .page-hero:first-child) { padding-top: 0; }

/* ============================================================
   HERO — full viewport, parallax background, staged entrance
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -12% 0;
  background-image: url('../images/hero-men-at-cross.jpg');
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(14,24,48,0.35) 0%, rgba(14,24,48,0) 30%, rgba(14,24,48,0.65) 100%),
    rgba(27,43,69,0.55);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: calc(var(--nav-h) + 3.5rem) 1.5rem 4.5rem;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .hero-content {
    margin-left: max(1.5rem, calc((100vw - var(--max-width)) / 2 + 1.5rem));
    margin-right: 0;
  }
}
.hero-scripture {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  line-height: 1.55;
  color: var(--gold-light);
  margin-bottom: 1.6rem;
  max-width: 600px;
  text-shadow: 0 2px 16px rgba(14,24,48,0.6);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.4rem;
  text-shadow: 0 3px 24px rgba(14,24,48,0.55);
}
.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.2rem;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-actions .below-btn {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  width: 100%;
  margin-top: 0.1rem;
}

/* staged entrance — applied via .anim classes, gated on .js */
.js .hero-anim {
  opacity: 0;
  transform: translateY(26px);
  animation: heroRise 0.9s var(--ease-out) forwards;
}
.js .hero-anim-1 { animation-delay: 0.3s; }
.js .hero-anim-2 { animation-delay: 0.6s; }
.js .hero-anim-3 { animation-delay: 0.9s; }
.js .hero-anim-4 { animation-delay: 1.2s; }
@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}

/* scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 14px;
  opacity: 0;
  animation: heroRise 0.9s var(--ease-out) 1.7s forwards;
}
.hero-scroll-hint::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   SCROLL REVEAL (Intersection Observer adds .in-view)
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 1.5rem;
}
.trust-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 3rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
}
.trust-item::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.7rem;
}

/* ============================================================
   WHO THIS IS FOR
   ============================================================ */
.who-section {
  padding: var(--section-pad);
  background: var(--white);
}
.who-section .container {
  max-width: 800px;
  text-align: center;
}
.who-section p {
  font-size: clamp(1.02rem, 1.6vw, 1.12rem);
  color: var(--charcoal);
  line-height: 1.85;
}
.who-section p + p { margin-top: 1.1rem; }

/* ============================================================
   FEATURED BOOKS
   ============================================================ */
.books-section {
  padding: var(--section-pad);
  background: var(--cream);
}
.books-section .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.books-section .section-header p {
  color: var(--muted);
  margin-top: 0.6rem;
}
.books-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-bottom: 2.75rem;
}
@media (min-width: 700px) {
  .books-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (min-width: 1000px) {
  .books-grid { grid-template-columns: repeat(4, 1fr); }
}
.book-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.book-card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: var(--shadow-lift);
}
.book-card-cover {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  position: relative;
}
.book-card-cover:active { cursor: grabbing; }
.book-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  transition: transform 0.5s var(--ease-out);
}
.book-card:hover .book-card-cover img { transform: scale(1.03); }
.book-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background: var(--navy);
}
.book-card-placeholder h4 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.book-card-placeholder span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}
.book-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.book-card-body h4 {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
  color: var(--navy);
  line-height: 1.3;
}
.book-card-body p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
  line-height: 1.55;
  flex: 1;
}
.book-card-body .btn {
  width: 100%;
  font-size: 0.85rem;
  padding: 0.7rem 0.75rem;
  white-space: normal;
}
.books-section-cta { text-align: center; }

/* ============================================================
   OPT-IN / LEAD MAGNET
   ============================================================ */
.optin-section {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(200,168,75,0.12), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: var(--section-pad);
  overflow: hidden;
}
.optin-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.optin-section h2 { color: var(--gold-light); }
.optin-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.02rem;
  margin-bottom: 0.75rem;
}
.optin-body {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  margin-bottom: 2.1rem;
}
.optin-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.optin-form input {
  width: 100%;
  padding: 1rem 1.3rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
  min-height: 44px;
}
.optin-form input::placeholder { color: rgba(255,255,255,0.45); }
.optin-form input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 4px rgba(200,168,75,0.22), 0 0 24px rgba(200,168,75,0.18);
}
.optin-form .btn { width: 100%; font-size: 1rem; padding: 1.05rem; }
.optin-privacy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.75rem;
}

/* ============================================================
   ABOUT SNIPPET — 50/50, gold-accent image frame
   ============================================================ */
.about-snippet {
  padding: var(--section-pad);
  background: var(--white);
}
.about-snippet-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 820px) {
  .about-snippet-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.about-image-block {
  position: relative;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  overflow: visible;
}
.about-image-block::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: 0;
}
.about-image-block img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius) !important;
  box-shadow: 0 20px 48px rgba(27,43,69,0.22);
}
.about-text h2 { margin-bottom: 0.5rem; }
.about-text p { color: var(--charcoal); line-height: 1.85; margin-bottom: 1rem; }
.about-text blockquote {
  position: relative;
  border-left: 3px solid var(--gold);
  padding-left: 1.4rem;
  margin: 1.75rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  color: var(--navy);
  line-height: 1.55;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(200,168,75,0.14), transparent 60%),
    linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: calc(var(--nav-h) + 4.5rem) 1.5rem 4.5rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  max-width: 620px;
  margin: 1rem auto 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 4.5rem 1.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-scripture {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--gold);
  text-align: center;
  margin: 0 auto 0.75rem;
  line-height: 1.6;
  max-width: 760px;
}
.footer-ceasenot,
.footer-ceasenoт {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  margin-bottom: 2.75rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  margin-bottom: 2rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.25s;
  padding: 0.35rem 0;
  display: inline-block;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.32);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.6rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-body { padding: var(--section-pad); }
.about-body .container { max-width: 780px; }
.about-section { margin-bottom: 3.75rem; }
.about-section h3 { margin-bottom: 0.5rem; }
.about-section .gold-rule { margin-bottom: 1.3rem; }
.about-section p { color: var(--charcoal); line-height: 1.85; }
.about-section ul { margin: 0.75rem 0; }
.about-section ul li {
  padding: 0.45rem 0 0.45rem 1.6rem;
  position: relative;
  color: var(--charcoal);
  line-height: 1.7;
}
.about-section ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.65rem;
  top: 0.75rem;
}
.about-cta-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  margin-top: 3rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.about-cta-box h3 { margin-bottom: 0.5rem; }
.about-cta-box p { color: var(--muted); margin-bottom: 1.3rem; }

/* ============================================================
   BOOKS PAGE
   ============================================================ */
.books-page-section { padding: var(--section-pad); }
.books-category-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.8rem;
  margin-bottom: 2.5rem;
}
.book-full-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
@media (min-width: 600px) {
  .book-full-card { grid-template-columns: 220px 1fr; }
}
.book-full-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.book-full-cover {
  background: var(--navy);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
  position: relative;
}
.book-full-cover:active { cursor: grabbing; }
.book-full-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.book-full-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  min-height: 200px;
  background: var(--navy);
}
.book-full-placeholder h4 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.book-full-placeholder span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}
.book-full-body {
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.book-full-body h3 { font-size: 1.32rem; margin-bottom: 0.35rem; }
.book-full-hook {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.02rem;
  margin-bottom: 0.8rem;
}
.book-full-body p { color: var(--charcoal); font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.75rem; }
.book-full-audience {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.3rem;
}
.book-full-body .btn { align-self: flex-start; }
@media (max-width: 600px) {
  .book-full-body .btn { align-self: stretch; }
}
.books-page-footer-cta {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.75rem;
  text-align: center;
  margin-top: 1rem;
  box-shadow: var(--shadow-card);
}

/* ============================================================
   DIGITAL PRODUCTS PAGE
   ============================================================ */
.products-page { padding: var(--section-pad); }
.product-featured {
  background:
    radial-gradient(ellipse 80% 70% at 50% -20%, rgba(200,168,75,0.16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lift);
}
.product-featured h3 { color: var(--white); margin-bottom: 0.6rem; }
.product-featured p { color: rgba(255,255,255,0.78); margin-bottom: 1.6rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.price-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.32rem 1.1rem;
  border-radius: 20px;
  margin-bottom: 1.3rem;
  letter-spacing: 0.04em;
}
.coming-soon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 560px) {
  .coming-soon-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .coming-soon-grid { grid-template-columns: repeat(3, 1fr); }
}
.coming-soon-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.coming-soon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.coming-soon-card h4 { color: var(--navy); font-size: 0.98rem; margin-bottom: 0; margin-top: 0.4rem; }
.coming-soon-card .cs-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0;
}

/* ============================================================
   DEVOTIONAL / BLOG PAGE
   ============================================================ */
.devotional-page { padding: var(--section-pad); }
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 640px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .post-grid { grid-template-columns: repeat(3, 1fr); }
}
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}
.post-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.post-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.8rem;
  line-height: 1.35;
  color: var(--navy);
}
.post-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.3rem; flex: 1; }
.post-card .read-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.25s;
}
.post-card .read-link:hover { color: var(--gold); }
.devotional-cta {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.75rem;
  text-align: center;
  margin-top: 3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page { padding: var(--section-pad); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 0;
}
@media (min-width: 820px) {
  .contact-grid { grid-template-columns: 1fr 1.6fr; gap: 4rem; }
}
.contact-info h3 { margin-bottom: 0.5rem; }
.contact-info p { color: var(--charcoal); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.5rem; }
.contact-callout {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.3rem 1.5rem;
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
  min-height: 44px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,168,75,0.18);
}
.form-group textarea { min-height: 150px; resize: vertical; }
.contact-form .btn { align-self: flex-start; padding: 0.9rem 2.6rem; }
@media (max-width: 820px) {
  .contact-form .btn { align-self: stretch; width: 100%; }
}

/* ============================================================
   PRIVACY POLICY
   ============================================================ */
.privacy-page { padding: var(--section-pad); }
.privacy-page .container { max-width: 780px; }
.privacy-page h3 { margin: 2.1rem 0 0.5rem; font-size: 1.12rem; }
.privacy-page p, .privacy-page ul li {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.8;
}
.privacy-page ul { margin: 0.5rem 0 1rem 1.5rem; list-style: disc; }

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .trust-bar-inner { flex-direction: column; align-items: center; gap: 0.75rem; }
  .books-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .book-card-body { padding: 1rem; }
  .book-card-body .btn { font-size: 0.78rem; padding: 0.6rem 0.5rem; }
}

/* ============================================================
   ACCESSIBILITY — reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .hero-anim,
  .hero-scroll-hint { opacity: 1; transform: none; animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-bg { transform: none !important; }
  .btn-gold { animation: none; }
  .btn-gold::after { animation: none; display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   EBOOK STOREFRONT (digital-products.html)
   ══════════════════════════════════════════════════════════════════════════ */
.bundle-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-bottom: 3.5rem;
}
.bundle-card {
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.85rem 1.6rem; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; position: relative;
}
.bundle-card.featured { border: 2px solid var(--gold); background: var(--navy); }
.bundle-card.featured h3,
.bundle-card.featured .bundle-price { color: #F5EFE0; }
.bundle-card.featured .bundle-sub { color: rgba(255,255,255,0.72); }
.bundle-card.featured .bundle-price span { color: rgba(255,255,255,0.55); }
.bundle-flag {
  position: absolute; top: 0; right: 0; background: var(--gold); color: var(--navy);
  font-family: var(--font-sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 0 var(--radius) 0 5px;
}
.bundle-card h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: .5rem; }
.bundle-sub { font-family: var(--font-sans); font-size: .9rem; color: var(--muted); line-height: 1.55; margin-bottom: 1.1rem; }
.bundle-price { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: .35rem; }
.bundle-price span { font-family: var(--font-sans); font-size: .8rem; font-weight: 400; color: var(--muted); }
.bundle-save { font-family: var(--font-sans); font-size: .82rem; color: var(--gold); font-weight: 600; margin-bottom: 1.4rem; }
.bundle-card .btn { margin-top: auto; width: 100%; text-align: center; }

.ebook-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1.5rem; }
.ebook-card {
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.ebook-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(0,0,0,.16); }
.ebook-cover { background: #0c0c0c; overflow: hidden; }
.ebook-cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; transition: transform .5s var(--ease-out); }
.ebook-card:hover .ebook-cover img { transform: scale(1.045); }
.ebook-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.ebook-series { font-family: var(--font-sans); font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }
.ebook-body h3 { font-size: 1rem; line-height: 1.25; margin-bottom: .3rem; }
.ebook-meta { font-family: var(--font-sans); font-size: .78rem; color: var(--muted); margin-bottom: .9rem; }
.ebook-buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.ebook-price { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.ebook-btn { padding: .5rem 1.1rem !important; font-size: .82rem !important; }

.readaloud-panel {
  background: var(--navy); border-radius: var(--radius); padding: clamp(2rem,4vw,3rem);
  margin: 3.5rem 0; box-shadow: var(--shadow-card);
}
.readaloud-panel h2 { color: #F5EFE0; margin-bottom: .6rem; }
.readaloud-lede { font-family: var(--font-sans); color: rgba(255,255,255,.78); line-height: 1.7; max-width: 62ch; margin-bottom: 1.9rem; }
.readaloud-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.5rem; }
.readaloud-col { background: rgba(255,255,255,.06); border: 1px solid rgba(200,168,75,.22); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.readaloud-col h4 { font-family: var(--font-serif); font-size: 1.08rem; color: var(--gold); margin-bottom: .75rem; }
.readaloud-col ol { margin: 0; padding-left: 1.15rem; }
.readaloud-col li { font-family: var(--font-sans); font-size: .88rem; color: rgba(255,255,255,.82); line-height: 1.6; margin-bottom: .5rem; }
.readaloud-col strong { color: #F5EFE0; }
.readaloud-note { font-family: var(--font-sans); font-size: .8rem; color: rgba(255,255,255,.5); font-style: italic; margin: 1.5rem 0 0; }

/* ── Floating device-help pill + panel ── */
.devhelp-pill {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--navy); color: #F5EFE0; border: 1px solid var(--gold);
  border-radius: 999px; padding: .7rem 1.15rem; cursor: pointer;
  font-family: var(--font-sans); font-size: .85rem; font-weight: 600;
  box-shadow: 0 8px 26px rgba(0,0,0,.3); transition: transform .2s, box-shadow .2s;
}
.devhelp-pill:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.4); }
.devhelp-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.devhelp-overlay {
  position: fixed; inset: 0; z-index: 95; background: rgba(6,8,12,.62);
  display: none; align-items: center; justify-content: center; padding: 1.25rem;
}
.devhelp-overlay.open { display: flex; }
.devhelp-modal {
  background: var(--cream); border-radius: var(--radius); max-width: 560px; width: 100%;
  max-height: 88vh; overflow-y: auto; box-shadow: 0 30px 70px rgba(0,0,0,.5); position: relative;
}
.devhelp-head { background: var(--navy); padding: 1.4rem 1.6rem; border-radius: var(--radius) var(--radius) 0 0; }
.devhelp-head p { font-family: var(--font-sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }
.devhelp-head h3 { color: #F5EFE0; font-size: 1.25rem; margin: 0; }
.devhelp-close {
  position: absolute; top: .85rem; right: 1rem; background: none; border: none;
  color: rgba(255,255,255,.75); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0;
}
.devhelp-close:hover { color: #fff; }
.devhelp-tabs { display: flex; gap: .5rem; padding: 1.1rem 1.6rem 0; }
.devhelp-tab {
  flex: 1; padding: .6rem .5rem; border: 1px solid var(--border); background: #fff;
  border-radius: var(--radius); font-family: var(--font-sans); font-size: .85rem;
  font-weight: 600; color: var(--navy); cursor: pointer; transition: all .18s;
}
.devhelp-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.devhelp-body { padding: 1.25rem 1.6rem 1.6rem; }
.devhelp-pane { display: none; }
.devhelp-pane.active { display: block; }
.devhelp-pane ol { padding-left: 1.2rem; margin: 0 0 1rem; }
.devhelp-pane li { font-family: var(--font-sans); font-size: .92rem; line-height: 1.65; color: #444; margin-bottom: .6rem; }
.devhelp-pane strong { color: var(--navy); }
.devhelp-foot { font-family: var(--font-sans); font-size: .8rem; color: var(--muted); font-style: italic; border-top: 1px solid var(--border); padding-top: .9rem; margin: 0; }
@media (max-width: 600px) {
  .devhelp-pill { right: 12px; bottom: 12px; font-size: .8rem; padding: .6rem .95rem; }
}

/* Small phones: .btn is white-space:nowrap globally, so a long label
   (e.g. "Get It Free — Enter Your Email") pushes the document wider than the
   viewport and drags the fixed nav out with it. Let buttons wrap down here. */
@media (max-width: 480px) {
  .btn { white-space: normal; padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* ── The Biblical Science Library band ── */
.bibsci-band {
  background: var(--navy); border: 2px solid var(--gold); border-radius: var(--radius);
  padding: clamp(1.9rem, 4vw, 2.9rem); margin: 3.5rem 0 2rem; box-shadow: var(--shadow-card);
}
.bibsci-band h2 { color: #F5EFE0; margin-bottom: .7rem; }
.bibsci-lede {
  font-family: var(--font-sans); color: rgba(255,255,255,.8); line-height: 1.7;
  max-width: 66ch; margin-bottom: 1.1rem;
}
.bibsci-distinct {
  font-family: var(--font-sans); font-size: .93rem; color: rgba(255,255,255,.72);
  line-height: 1.7; max-width: 70ch; background: rgba(200,168,75,.09);
  border-left: 3px solid var(--gold); padding: .95rem 1.2rem; margin-bottom: 1.7rem;
}
.bibsci-distinct strong { color: var(--gold); }
.bibsci-buy { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.bibsci-price { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; color: #F5EFE0; line-height: 1; margin-bottom: .3rem; }
.bibsci-price span { font-family: var(--font-sans); font-size: .8rem; font-weight: 400; color: rgba(255,255,255,.55); }
.bibsci-save { font-family: var(--font-sans); font-size: .82rem; color: var(--gold); font-weight: 600; margin: 0; }
.ebook-sub {
  font-family: var(--font-sans); font-size: .8rem; font-style: italic;
  color: var(--muted); line-height: 1.45; margin-bottom: .55rem;
}

/* ═══════════════════════════════════════════════════════════════════
   SERIES HUB PATTERN
   Netflix-style banner + horizontal series picker + swappable panels.
   Shared by proverbs-series.html and teaching-library.html.
   Pages using this must also set `body { background: #080808; }`.
   ═══════════════════════════════════════════════════════════════════ */
.ps-wrap {
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(200,168,75,0.10) 0%, rgba(200,168,75,0) 55%),
    radial-gradient(90% 50% at 50% 100%, rgba(200,168,75,0.06) 0%, rgba(200,168,75,0) 60%),
    linear-gradient(180deg, #0b0d12 0%, #080808 45%, #0a0a0a 100%);
  color: #EBE6D8;
}

/* ── HERO BANNER (Netflix-style) ── */
.series-hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  transition: background-image 0.5s ease;
}
.series-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,6,8,0.92) 0%, rgba(6,6,8,0.72) 38%, rgba(6,6,8,0.35) 70%, rgba(6,6,8,0.55) 100%),
              linear-gradient(0deg, rgba(6,6,8,0.96) 0%, rgba(6,6,8,0) 55%);
}
.series-hero-inner {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4rem);
}
.series-hero-eyebrow {
  font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: #C8A84B; margin-bottom: 0.9rem;
}
.series-hero h1 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 3.8rem); line-height: 1.05; color: #F7F2E6; margin: 0 0 1rem;
  max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}
.series-hero p {
  font-family: 'Inter', sans-serif; font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7; color: #D6CFBE; max-width: 60ch; margin: 0;
}
.series-hero-cue {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.6rem;
  font-family: 'Inter', sans-serif; font-size: 0.82rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: #C8A84B; text-decoration: none; font-weight: 600;
}
/* Wider headline for hub pages whose title isn't a short series name. */
.series-hero.hub h1 { max-width: 24ch; }

/* ── SERIES PICKER (horizontal scroll) ── */
.series-picker-wrap { padding: clamp(2rem, 4vw, 3rem) 0 clamp(1rem, 2vw, 1.5rem); }
.series-picker-head {
  max-width: 1200px; margin: 0 auto 1.1rem; padding: 0 clamp(1.5rem, 4vw, 3.5rem);
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.series-picker-head h2 {
  font-family: 'Playfair Display', serif; font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  color: #F5EFE0; font-weight: 600; margin: 0;
}
.series-picker-head span {
  font-family: 'Inter', sans-serif; font-size: 0.85rem; color: #9E9683;
}
.series-picker {
  display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.4rem clamp(1.5rem, 4vw, 3.5rem) 1.2rem; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(200,168,75,0.4) transparent;
}
.series-picker::-webkit-scrollbar { height: 8px; }
.series-picker::-webkit-scrollbar-thumb { background: rgba(200,168,75,0.35); border-radius: 99px; }
.series-tile {
  flex: 0 0 auto; width: clamp(240px, 34vw, 340px); scroll-snap-align: start;
  border: 0; padding: 0; cursor: pointer; background: none; text-align: left;
  border-radius: 12px; overflow: hidden; position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45); transition: transform 0.3s, box-shadow 0.3s;
  outline: 2px solid transparent; outline-offset: 3px;
}
.series-tile:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0,0,0,0.6); }
.series-tile.active { outline-color: #C8A84B; }
.series-tile img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.series-tile-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem 0.9rem;
  background: linear-gradient(0deg, rgba(6,6,8,0.9) 0%, rgba(6,6,8,0) 100%);
}
.series-tile-label b {
  display: block; font-family: 'Playfair Display', serif; font-size: 1.02rem; color: #F5EFE0; font-weight: 600;
}
.series-tile-label small {
  font-family: 'Inter', sans-serif; font-size: 0.72rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: #C8A84B;
}
.series-tile.soon { cursor: default; }
.series-tile.soon:hover { transform: none; }
.series-tile.soon .soon-face {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; aspect-ratio: 16 / 8; padding: 1rem;
  background: repeating-linear-gradient(135deg, #14161c, #14161c 12px, #101217 12px, #101217 24px);
  border: 1px dashed rgba(200,168,75,0.28); border-radius: 12px;
}
.series-tile.soon .soon-face span {
  font-family: 'Inter', sans-serif; font-size: 0.82rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: #7d765f;
}

/* ── SERIES PANELS ── */
.series-stage { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3.5rem); }
.series-panel { display: none; }
.series-panel.active { display: block; }

.series-intro {
  text-align: center; max-width: 780px; margin: clamp(1.5rem,4vw,3rem) auto clamp(2.5rem,5vw,4rem);
}
.series-intro .eyebrow {
  font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: #C8A84B; margin-bottom: 0.9rem;
}
.series-intro h2 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; color: #F5EFE0; margin-bottom: 1.1rem;
}
.series-intro .anchor {
  font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(1.02rem,1.7vw,1.2rem);
  color: #D8C79A; margin-bottom: 1.1rem; line-height: 1.5;
}
.series-intro p {
  font-family: 'Inter', sans-serif; font-size: 1.02rem; line-height: 1.75; color: #C4BCA8;
}
.series-intro .rule { width: 64px; height: 2px; background: #C8A84B; margin: 1.5rem auto 0; opacity: 0.85; }

.book-feature {
  display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; margin: clamp(2.5rem, 5vw, 4.5rem) 0;
}
.book-feature.flip .book-feature-cover { order: 2; }
.book-feature-cover { position: relative; }
.book-feature-cover img {
  display: block; width: 100%; border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(200,168,75,0.18);
}
.book-feature-num {
  font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: #C8A84B; margin-bottom: 0.6rem;
}
.book-feature h3 {
  font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  color: #F5EFE0; line-height: 1.15; margin-bottom: 0.5rem;
}
.book-feature-theme {
  font-family: 'Inter', sans-serif; font-size: 0.98rem; color: #B4AC98; margin-bottom: 1.1rem;
}
.book-feature-verse {
  font-family: 'Playfair Display', serif; font-style: italic; font-size: 1rem; line-height: 1.6;
  color: #D8C79A; border-left: 2px solid rgba(200,168,75,0.5); padding-left: 1rem; margin-bottom: 1.2rem;
}
.book-feature-blurb {
  font-family: 'Inter', sans-serif; font-size: 1rem; line-height: 1.8; color: #CFC8B6; margin-bottom: 1.6rem;
}
.book-feature-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.book-buy-btn {
  display: inline-block; font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600;
  color: #12100B; background: #C8A84B; padding: 0.75rem 1.5rem; border-radius: 7px;
  text-decoration: none; transition: background 0.2s, transform 0.2s;
  border: 0; cursor: pointer;
}
.book-buy-btn:hover { background: #d8ba5e; transform: translateY(-1px); }
.book-soon {
  display: inline-block; font-family: 'Inter', sans-serif; font-size: 0.86rem; font-weight: 600;
  color: #B4AC98; background: transparent; border: 1px solid rgba(200,168,75,0.32);
  padding: 0.7rem 1.4rem; border-radius: 7px; cursor: default;
}
.book-review-link {
  font-family: 'Inter', sans-serif; font-size: 0.85rem; color: #9E9683; text-decoration: none;
  border-bottom: 1px solid rgba(200,168,75,0.35);
}

.series-interlude {
  text-align: center; padding: clamp(2.5rem,5vw,4rem) 1rem;
  border-top: 1px solid rgba(200,168,75,0.14); border-bottom: 1px solid rgba(200,168,75,0.14);
  margin: clamp(1.5rem,4vw,3rem) 0;
}
.series-interlude p {
  font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(1.15rem,2.2vw,1.6rem);
  line-height: 1.55; color: #E7DcC0; max-width: 780px; margin: 0 auto 0.6rem;
}
.series-interlude span {
  font-family: 'Inter', sans-serif; font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #C8A84B;
}

/* Closing grid */
.series-boxset { text-align: center; padding: clamp(2.5rem,5vw,4rem) 0 clamp(3rem,6vw,5rem); }
.series-boxset h3 {
  font-family: 'Playfair Display', serif; font-size: clamp(1.5rem,3vw,2.2rem); color: #F5EFE0; margin-bottom: 0.6rem;
}
.series-boxset p { font-family: 'Inter', sans-serif; color: #B4AC98; margin-bottom: 2rem; }
.boxset-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 0.9rem; max-width: 1000px; margin: 0 auto 2rem;
}
.boxset-grid a { display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,0.5); transition: transform 0.25s; }
.boxset-grid a:hover { transform: translateY(-4px); }
.boxset-grid img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; box-shadow: 0 8px 22px rgba(0,0,0,0.5); }

/* ── TEACHER-FACING BLOCKS (Teaching Library) ── */
/* The facts a class leader needs before they can say yes. */
.curriculum-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: rgba(200,168,75,0.18); border: 1px solid rgba(200,168,75,0.18);
  border-radius: 10px; overflow: hidden; margin: 0 auto clamp(2rem,4vw,3rem); max-width: 900px;
}
.curriculum-meta div { background: #0e1016; padding: 1.05rem 1rem; text-align: center; }
.curriculum-meta dt {
  font-family: 'Inter', sans-serif; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: #C8A84B; margin-bottom: 0.4rem;
}
.curriculum-meta dd {
  font-family: 'Playfair Display', serif; font-size: 1.02rem; color: #F5EFE0; margin: 0; line-height: 1.35;
}

.curriculum-order {
  background: #0e1016; border: 1px solid rgba(200,168,75,0.22); border-radius: 12px;
  padding: clamp(1.5rem,3.5vw,2.4rem); margin: clamp(2rem,4vw,3rem) 0;
}
.curriculum-order h4 {
  font-family: 'Playfair Display', serif; font-size: clamp(1.2rem,2.2vw,1.6rem);
  color: #F5EFE0; margin: 0 0 0.5rem;
}
.curriculum-order .co-lede {
  font-family: 'Inter', sans-serif; font-size: 0.95rem; color: #B4AC98;
  line-height: 1.7; margin-bottom: 1.4rem;
}
.co-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.co-row label {
  font-family: 'Inter', sans-serif; font-size: 0.85rem; color: #CFC8B6; font-weight: 600;
}
.co-row select {
  font-family: 'Inter', sans-serif; font-size: 0.95rem; padding: 0.55rem 0.8rem;
  background: #14161c; color: #F5EFE0; border: 1px solid rgba(200,168,75,0.3);
  border-radius: 6px; outline: none;
}
.co-lines {
  font-family: 'Inter', sans-serif; font-size: 0.92rem; color: #B4AC98;
  line-height: 2; border-top: 1px solid rgba(200,168,75,0.16); padding-top: 1rem; margin-bottom: 1.2rem;
}
.co-lines .co-line { display: flex; justify-content: space-between; gap: 1rem; }
.co-lines .co-total {
  display: flex; justify-content: space-between; gap: 1rem;
  border-top: 1px solid rgba(200,168,75,0.16); margin-top: 0.5rem; padding-top: 0.6rem;
  color: #F5EFE0; font-weight: 700; font-size: 1.05rem;
}
.co-note {
  font-family: 'Inter', sans-serif; font-size: 0.78rem; color: #8A836F;
  margin-top: 0.9rem; line-height: 1.6;
}

/* Free teacher-notes callout */
.teacher-free {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  background: rgba(200,168,75,0.08); border-left: 3px solid #C8A84B;
  border-radius: 8px; padding: 1.2rem 1.4rem; margin: 1.6rem 0;
}
.teacher-free p {
  font-family: 'Inter', sans-serif; font-size: 0.93rem; color: #CFC8B6;
  line-height: 1.65; margin: 0; flex: 1 1 260px;
}
.teacher-free strong { color: #F5EFE0; }

/* "Email me when this releases" form on an unbuilt curriculum */
.notify-box {
  max-width: 560px; margin: clamp(2rem,4vw,3rem) auto 0; text-align: center;
  background: #0e1016; border: 1px solid rgba(200,168,75,0.22);
  border-radius: 12px; padding: clamp(1.5rem,3.5vw,2.2rem);
}
.notify-box h4 {
  font-family: 'Playfair Display', serif; font-size: 1.25rem; color: #F5EFE0; margin: 0 0 0.5rem;
}
.notify-box p { font-family: 'Inter', sans-serif; font-size: 0.9rem; color: #B4AC98; line-height: 1.65; margin-bottom: 1.2rem; }
.notify-form { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.notify-form input[type=email] {
  flex: 1 1 240px; font-family: 'Inter', sans-serif; font-size: 0.95rem;
  padding: 0.7rem 0.9rem; background: #14161c; color: #F5EFE0;
  border: 1px solid rgba(200,168,75,0.3); border-radius: 6px; outline: none;
}
.notify-form input[type=email]:focus { border-color: #C8A84B; }
.notify-msg {
  font-family: 'Inter', sans-serif; font-size: 0.88rem; color: #C8A84B;
  margin-top: 0.9rem; min-height: 1.2em;
}

@media (max-width: 820px) {
  .book-feature { grid-template-columns: 1fr; gap: 1.5rem; max-width: 460px; margin-left: auto; margin-right: auto; }
  .book-feature.flip .book-feature-cover { order: 0; }
  .book-feature-cover { max-width: 300px; margin: 0 auto; }
  .boxset-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .boxset-grid { grid-template-columns: repeat(2, 1fr); }
  .curriculum-meta { grid-template-columns: repeat(2, 1fr); }
}

/* ── SERIES PICKER CONTROLS ──────────────────────────────────────────
   The bare scroll strip gave no hint it scrolled. Arrows plus edge fades
   make it read as a slider. Progressive: pages without the .series-picker-track
   wrapper (proverbs-series.html) are unaffected. */
.series-picker-track { position: relative; }

/* Fades that signal "there is more this way". Sit above the strip but
   must never eat clicks meant for the tiles. */
.series-picker-track::before,
.series-picker-track::after {
  content: ''; position: absolute; top: 0; bottom: 1.2rem; width: clamp(2rem, 5vw, 5rem);
  pointer-events: none; z-index: 2; opacity: 0; transition: opacity 0.25s;
}
.series-picker-track::before {
  left: 0; background: linear-gradient(90deg, #0a0b10 0%, rgba(10,11,16,0) 100%);
}
.series-picker-track::after {
  right: 0; background: linear-gradient(270deg, #0a0b10 0%, rgba(10,11,16,0) 100%);
}
.series-picker-track.can-prev::before { opacity: 1; }
.series-picker-track.can-next::after  { opacity: 1; }

.picker-nav {
  position: absolute; top: calc(50% - 0.6rem); transform: translateY(-50%);
  z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,11,16,0.82); border: 1px solid rgba(200,168,75,0.45);
  color: #C8A84B; font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.25s, transform 0.2s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.picker-nav:hover { background: #C8A84B; border-color: #C8A84B; color: #12100B; }
.picker-nav:focus-visible { outline: 2px solid #C8A84B; outline-offset: 3px; }
.picker-nav.prev { left: clamp(0.4rem, 1.4vw, 1.1rem); }
.picker-nav.next { right: clamp(0.4rem, 1.4vw, 1.1rem); }
.picker-nav[disabled] { opacity: 0; pointer-events: none; }

/* Touch scrolling is the natural gesture on phones; arrows only get in the way. */
@media (max-width: 820px) {
  .picker-nav { display: none; }
  .series-picker-track::before, .series-picker-track::after { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   DEVOTIONAL ARTICLES
   Long-form reading pages. Measure is deliberately narrow (~66ch) —
   these are meant to be read, often on a phone, often at 6am.
   ═══════════════════════════════════════════════════════════════════ */
.devo-article { max-width: 720px; margin: 0 auto; padding: clamp(2.5rem,6vw,4.5rem) 1.5rem clamp(3rem,7vw,5rem); }

.devo-meta {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  font-family: var(--font-sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.devo-meta .sep { color: var(--border); }
.devo-meta .num { color: var(--muted); font-weight: 600; letter-spacing: .08em; }

/* The week's passage, set as the visual anchor of the page. */
.devo-scripture {
  background: var(--cream); border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0; padding: clamp(1.4rem,3vw,2rem) clamp(1.4rem,3vw,2.1rem);
  margin: 0 0 clamp(2rem,4vw,2.8rem);
}
.devo-scripture p {
  font-family: var(--font-serif); font-size: clamp(1.06rem,2vw,1.22rem);
  line-height: 1.72; color: var(--navy); margin: 0 0 .7rem;
}
.devo-scripture cite {
  font-family: var(--font-sans); font-style: normal; font-size: .82rem;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
}

.devo-body p {
  font-family: var(--font-serif); font-size: 1.08rem; line-height: 1.85;
  color: #3a3a3a; margin-bottom: 1.35rem;
}
.devo-body em { font-style: italic; }

.devo-h {
  font-family: var(--font-sans); font-size: .76rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  margin: clamp(2.2rem,5vw,3rem) 0 1rem; display: flex; align-items: center; gap: .8rem;
}
.devo-h::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.devo-think { list-style: none; padding: 0; margin: 0; }
.devo-think li {
  font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.7;
  color: #3a3a3a; padding: .85rem 0 .85rem 2rem; border-bottom: 1px solid var(--border);
  position: relative;
}
.devo-think li:last-child { border-bottom: 0; }
.devo-think li::before {
  content: '\2022'; position: absolute; left: .55rem; top: .78rem;
  color: var(--gold); font-size: 1.3rem; line-height: 1;
}

.devo-prayer {
  background: var(--navy); border-radius: 10px;
  padding: clamp(1.5rem,3.5vw,2.2rem); margin: clamp(2rem,4vw,2.8rem) 0;
}
.devo-prayer .devo-h { color: var(--gold); margin-top: 0; }
.devo-prayer .devo-h::after { background: rgba(200,168,75,.28); }
.devo-prayer p {
  font-family: var(--font-serif); font-style: italic; font-size: 1.06rem;
  line-height: 1.8; color: #F5EFE0; margin: 0;
}

.devo-source {
  font-family: var(--font-sans); font-size: .82rem; line-height: 1.65;
  color: var(--muted); border-top: 1px solid var(--border);
  padding-top: 1.1rem; margin-top: clamp(2rem,4vw,2.8rem);
}
.devo-source strong { color: var(--navy); }

/* Sell the book this came from — the reason these pages exist. */
.devo-cta {
  display: grid; grid-template-columns: 132px 1fr; gap: clamp(1.2rem,3vw,2rem);
  align-items: center; background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.4rem,3vw,2rem);
  margin: clamp(2.5rem,5vw,3.5rem) 0; box-shadow: var(--shadow-card);
}
.devo-cta img { display: block; width: 100%; border-radius: 4px; box-shadow: var(--shadow-card); }
.devo-cta .label {
  font-family: var(--font-sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem;
}
.devo-cta h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.devo-cta p { font-family: var(--font-sans); font-size: .92rem; line-height: 1.65; color: var(--muted); margin-bottom: 1.1rem; }

/* Previous / next between devotions */
.devo-nav {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 1.6rem; margin-top: 2.5rem;
}
.devo-nav a {
  font-family: var(--font-sans); font-size: .9rem; color: var(--navy);
  text-decoration: none; max-width: 46%; line-height: 1.5;
}
.devo-nav a:hover { color: var(--gold); }
.devo-nav a span {
  display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .25rem;
}
.devo-nav a.next { text-align: right; margin-left: auto; }

/* Index cards get a scripture reference badge the placeholder cards lacked. */
.post-card .post-card-ref {
  font-family: var(--font-sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .08em; color: var(--gold); margin-top: .75rem;
}

@media (max-width: 560px) {
  .devo-cta { grid-template-columns: 1fr; text-align: center; }
  .devo-cta img { max-width: 150px; margin: 0 auto; }
  .devo-nav a { max-width: 100%; }
  .devo-nav a.next { text-align: left; margin-left: 0; }
}

/* ── FREE SLIDE DECKS (Teaching Library) ────────────────────────────── */
.deck-section {
  background: #0e1016; border: 1px solid rgba(200,168,75,0.22);
  border-radius: 12px; padding: clamp(1.6rem,3.5vw,2.6rem);
  margin: clamp(2rem,4vw,3rem) 0;
}
.deck-head { text-align: center; max-width: 640px; margin: 0 auto clamp(1.6rem,3vw,2.2rem); }
.deck-head .eyebrow {
  font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: #C8A84B; margin-bottom: .7rem;
}
.deck-head h4 {
  font-family: 'Playfair Display', serif; font-size: clamp(1.4rem,2.6vw,2rem);
  color: #F5EFE0; margin: 0 0 .7rem;
}
.deck-head p {
  font-family: 'Inter', sans-serif; font-size: .96rem; line-height: 1.7; color: #B4AC98; margin: 0;
}

.deck-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 1rem; }

.deck-card {
  background: #14161c; border: 1px solid rgba(200,168,75,0.18);
  border-radius: 10px; padding: 1.25rem 1.3rem;
  display: flex; flex-direction: column; transition: border-color .2s, transform .2s;
}
.deck-card:hover { border-color: rgba(200,168,75,0.45); transform: translateY(-2px); }
.deck-card .deck-num {
  font-family: 'Inter', sans-serif; font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: #C8A84B; margin-bottom: .45rem;
}
.deck-card h5 {
  font-family: 'Playfair Display', serif; font-size: 1.12rem; font-weight: 600;
  color: #F5EFE0; margin: 0 0 .4rem; line-height: 1.25;
}
.deck-card .deck-sub {
  font-family: 'Inter', sans-serif; font-size: .86rem; color: #9E9683;
  line-height: 1.55; margin: 0 0 .5rem;
}
.deck-card .deck-meta {
  font-family: 'Inter', sans-serif; font-size: .74rem; letter-spacing: .06em;
  color: #7d765f; margin: 0 0 1rem;
}
.deck-dl { display: flex; gap: .55rem; margin-top: auto; flex-wrap: wrap; }
.deck-dl a {
  flex: 1 1 auto; text-align: center; text-decoration: none;
  font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 600;
  padding: .58rem .8rem; border-radius: 6px; transition: background .2s, color .2s;
  border: 1px solid rgba(200,168,75,0.4); color: #C8A84B;
}
.deck-dl a:hover { background: #C8A84B; color: #12100B; }
.deck-dl a.primary { background: #C8A84B; color: #12100B; border-color: #C8A84B; }
.deck-dl a.primary:hover { background: #d8ba5e; }
.deck-dl a small { display: block; font-size: .66rem; font-weight: 400; opacity: .75; letter-spacing: .04em; }

.deck-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; border-top: 1px solid rgba(200,168,75,0.16);
  margin-top: 1.4rem; padding-top: 1.3rem;
}
.deck-foot p { font-family: 'Inter', sans-serif; font-size: .88rem; color: #B4AC98; line-height: 1.6; margin: 0; flex: 1 1 260px; }
.deck-foot strong { color: #F5EFE0; }

/* ── PROVERBS PASSAGE INDEX ─────────────────────────────────────────── */
.ch-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 1.25rem; margin-top: 2.5rem;
}
.ch-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-card);
}
.ch-card h3 {
  font-size: 1.05rem; color: var(--navy); margin: 0 0 .8rem;
  padding-bottom: .6rem; border-bottom: 1px solid var(--border);
}
.ch-card ul { list-style: none; margin: 0; padding: 0; }
.ch-card li { margin-bottom: .55rem; line-height: 1.5; }
.ch-card li:last-child { margin-bottom: 0; }
.ch-card a {
  font-family: var(--font-sans); font-size: .88rem; color: #444;
  text-decoration: none; display: block;
}
.ch-card a:hover { color: var(--gold); }
.ch-card a strong { color: var(--navy); font-weight: 600; }
.ch-card a:hover strong { color: var(--gold); }

/* Verse numbers inside a quoted passage */
.devo-scripture .vn {
  font-family: var(--font-sans); font-size: .68em; font-weight: 700;
  color: var(--gold); vertical-align: .35em; margin-right: .15em; line-height: 1;
}
