/* ============================================================
   RightNow Pastors+ — Book Lead Magnet page styles
   Extends: css/styles.css
   ============================================================ */

/* ── Page tokens ─────────────────────────────────────────── */
:root {
  --bk-paper:        #f7f4ed;
  --bk-paper-alt:    #efeae0;
  --bk-rule:         rgba(20,20,20,0.12);
  --bk-rule-faint:   rgba(20,20,20,0.07);
  --bk-deep:         #0f0c1e;
  --bk-mute:         #9c958a;
  --bk-soft:         #3d464d;
  --bk-accent-soft:  #a89dff;
  --bk-gold:         #9d8559;
}

/* ── Nav override — always shows scrolled/light state ─────── */
.book-page .site-nav {
  background: rgba(247,244,237,0.97) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--bk-rule);
}
.book-page .site-nav__logo .logo-white { display: none; }
.book-page .site-nav__logo .logo-black { display: block; }
.book-page .site-nav__links a {
  color: var(--ink-700);
}
.book-page .site-nav__links a:hover { color: var(--ink-900); }

/* ── Section ornament ─────────────────────────────────────── */
.bk-ornament { display: block; margin: 0 auto 20px; width:15px}

/* ── Hero ─────────────────────────────────────────────────── */
.bk-hero {
  background: var(--bk-paper);
  padding-top: 72px;
  border-bottom: 1px solid var(--bk-rule);
  overflow: hidden;
  position: relative;
}
.bk-hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 20%, rgba(111,96,255,0.10), transparent 52%),
    radial-gradient(ellipse at 5% 95%, rgba(20,15,40,0.06), transparent 60%);
}
.bk-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  align-items: center;
  padding: 80px 0 96px;
}
.bk-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.bk-hero__cover {
  width: 100%; max-width: 700px; height: auto;
  display: block;
}
.bk-hero__kicker {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent);
}
.bk-hero__kicker-rule { width: 32px; height: 1px; background: var(--accent); flex-shrink: 0; }
.bk-hero__h1 {
  font-size: clamp(46px, 4.8vw, 74px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--ink-900);
  text-wrap: balance;
  margin-bottom: 20px;
}
.bk-hero__h1 em { font-style: italic; color: var(--bk-gold); }
.bk-hero__subhead-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 32px;
}
.bk-hero__subhead-rule { width: 32px; height: 1px; background: var(--ink-900); flex-shrink: 0; }
.bk-hero__subhead {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ink-900);
}
.bk-hero__lede {
  font-size: clamp(18px, 1.1vw, 17px);
  line-height: 1.5; color: var(--bk-soft);
  max-width: 500px; text-wrap: pretty;
  margin-bottom: 40px;
}
.bk-hero__cta-row {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap; margin-bottom: 48px;
}
.bk-hero__cta-note {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bk-mute); line-height: 1.6;
}
.bk-hero__byline {
  padding-top: 24px;
  border-top: 1px solid var(--bk-rule);
  display: flex; align-items: baseline; gap: 16px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bk-mute);
}
.bk-hero__byline strong { color: var(--ink-900); font-weight: 600; }

/* ── Shared section head ──────────────────────────────────── */
.bk-section-head { text-align: center; margin-bottom: 64px; }
.bk-section-label {
  margin-top: 20px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--bk-soft);
}

/* ── Question / Problem section ───────────────────────────── */
.bk-question {
  background: var(--bk-paper);
  padding: var(--space-section) 0;
  border-top: 1px solid var(--bk-rule);
}
.bk-question__h2 {
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 1.0; letter-spacing: -0.025em;
  font-weight: 400; text-wrap: balance;
  text-align: center; margin-bottom: 72px;
  color: var(--ink-900);
}
.bk-question__h2 em { font-style: italic; color: var(--bk-gold); }
.bk-essay {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; max-width: 980px; margin: 0 auto 80px;
  color: var(--bk-soft);
}
.bk-essay__p { font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.bk-essay__drop {
  float: left;
  font-size: 80px; line-height: 0.84;
  color: var(--bk-gold);
  margin-right: 10px; margin-top: 8px; margin-bottom: -4px;
  font-weight: 400; font-style: italic;
}
.bk-essay__p em { color: var(--ink-900); font-style: italic; }
.bk-pull-quote {
  max-width: 960px; margin: 0 auto;
  padding: 56px 0;
  border-top: 1px solid var(--bk-rule);
  border-bottom: 1px solid var(--bk-rule);
  position: relative; text-align: center;
}
.bk-pull-quote__mark {
  position: absolute; top: 30px; left: 50%;
  transform: translateX(-50%);
  font-size: 60px; line-height: 0.4;
  color: var(--accent); font-style: italic;
}
.bk-pull-quote blockquote {
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.25; letter-spacing: -0.018em;
  font-style: italic; color: var(--ink-900);
  text-wrap: balance; padding: 0 40px; font-weight: 400;
}
.bk-pull-quote figcaption {
  margin-top: 24px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bk-mute);
}

/* ── Discover / Insights section ──────────────────────────── */
.bk-discover {
  background: var(--bk-paper-alt);
  padding: var(--space-section) 0;
}
.bk-discover__h2 {
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 1.0; letter-spacing: -0.025em;
  font-weight: 400; text-wrap: balance; color: var(--ink-900);
  text-align: center;
}
.bk-discover__h2 em { font-style: italic; color: var(--bk-gold); }
.bk-discover__sub {
  font-size: 18px; line-height: 1.55;
  color: var(--bk-soft); max-width: 680px;
  margin: 24px auto 0; text-wrap: pretty;
}
.bk-discover__list { max-width: 800px; margin: 72px auto 0; }
.bk-discover__item {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 48px; padding: 52px 0;
  border-top: 1px solid var(--bk-rule);
  align-items: start;
}
.bk-discover__item:last-child { border-bottom: 1px solid var(--bk-rule); }
.bk-discover__roman {
  font-size: 84px; line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--bk-gold); font-style: italic; font-weight: 400;
}
.bk-discover__numeral-sub {
  margin-top: 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bk-mute);
}
.bk-discover__body h3 {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 400; text-wrap: balance;
  margin-bottom: 18px; color: var(--ink-900);
}
.bk-discover__body p {
  font-size: 17px; line-height: 1.65;
  color: var(--bk-soft); text-wrap: pretty; max-width: 580px;
}
.bk-discover__cta { text-align: center; margin-top: 72px; }

/* ── Author section ───────────────────────────────────────── */
.bk-author {
  background: var(--bk-paper);
  padding: var(--space-section) 0;
}
.bk-author__grid {
  display: grid; grid-template-columns: 1fr 1.45fr;
  gap: 80px; align-items: start;
}
.bk-author__portrait {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover; object-position: center top;
  display: block;
  filter: grayscale(0.12) contrast(1.02);
}
.bk-author__caption {
  padding: 14px 0; margin-top: 6px;
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bk-mute);
}
.bk-author__caption strong { color: var(--ink-900); font-weight: 600; }
.bk-author__stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  margin-top: 24px; border: 1px solid var(--bk-rule);
}
.bk-author__stat {
  padding: 20px 16px; text-align: center;
  border-right: 1px solid var(--bk-rule);
}
.bk-author__stat:last-child { border-right: none; }
.bk-author__stat-val {
  font-size: 28px; letter-spacing: -0.025em;
  color: var(--accent); line-height: 1;
}
.bk-author__stat-val--italic { font-style: italic; }
.bk-author__stat-lbl {
  margin-top: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bk-mute);
}
.bk-author__eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
}
.bk-author__eyebrow-rule { width: 24px; height: 1px; background: var(--accent); flex-shrink: 0; }
.bk-author__h2 {
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.0; letter-spacing: -0.025em;
  font-weight: 400; text-wrap: balance;
  margin-bottom: 28px; color: var(--ink-900);
}
.bk-author__h2 em { font-style: italic; color: var(--bk-gold); }
.bk-author__intro {
  font-size: 21px; line-height: 1.45;
  color: var(--ink-900); margin-bottom: 24px;
  text-wrap: pretty; max-width: 580px;
}
.bk-author__body {
  font-size: 17px; line-height: 1.65;
  color: var(--bk-soft); margin-bottom: 22px;
  text-wrap: pretty; max-width: 580px;
}
.bk-author__body em { font-style: italic; color: var(--ink-900); }
.bk-author__creds {
  margin-top: 40px; display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--bk-rule);
  border-bottom: 1px solid var(--bk-rule);
}
.bk-author__cred { flex: 1; min-width: 160px; padding: 20px 24px 20px 0; }
.bk-author__cred:not(:last-child) { margin-right: 24px; border-right: 1px solid var(--bk-rule-faint); }
.bk-author__cred-lbl {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bk-mute); margin-bottom: 6px;
}
.bk-author__cred-val { font-size: 18px; letter-spacing: -0.015em; }

/* ── Endorsements ─────────────────────────────────────────── */
.bk-endorsements {
  background: var(--bk-paper-alt);
  padding: var(--space-section) 0;
}
.bk-endorsements__h2 {
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.0; letter-spacing: -0.025em;
  font-weight: 400; text-wrap: balance; color: var(--ink-900);
  text-align: center;
}
.bk-endorsements__h2 em { font-style: italic; color: var(--bk-gold); }
.bk-quote-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--bk-rule);
  border-bottom: 1px solid var(--bk-rule);
  margin-top: 64px;
}
.bk-quote-cell {
  padding: 52px 44px;
  display: flex; flex-direction: column; gap: 24px;
}
.bk-quote-cell--r { border-right: 1px solid var(--bk-rule); }
.bk-quote-cell--b { border-bottom: 1px solid var(--bk-rule); }
.bk-quote-mark {
  font-size: 60px; line-height: 0;
  color: var(--accent); opacity: 0.5;
  position: absolute; top: 25px; left: -30px;
  font-style: italic; display: inline;
}
.bk-quote-text {
  font-size: 18px; line-height: 1.4; letter-spacing: -0.012em;
  color: var(--ink-900); font-style: italic;
  text-wrap: pretty; font-weight: 400;
  position: relative;
}
.bk-quote-attribution {
  padding-top: 20px;
  border-top: 1px solid var(--bk-rule-faint);
  margin-top: auto;
}
.bk-quote-who { font-size: 19px; letter-spacing: -0.018em; color: var(--ink-900); margin-bottom: 6px; }
.bk-quote-role {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bk-mute);
}

/* ── Final CTA ────────────────────────────────────────────── */
.bk-final {
  background: var(--bk-deep);
  color: var(--bk-paper);
  padding: var(--space-section) 0;
  position: relative; overflow: hidden;
}
.bk-final::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 82% 50%, rgba(129, 119, 222, 0.26), transparent 58%),
    radial-gradient(ellipse at 8% 100%, rgba(86, 74, 192, 0.08), transparent 55%);
}
.bk-final__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px; align-items: center;
}
.bk-final__kicker {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
  color: var(--bk-accent-soft);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
}
.bk-final__kicker-rule { width: 32px; height: 1px; background: var(--bk-accent-soft); flex-shrink: 0; }
.bk-final__h2 {
  font-size: clamp(48px, 5.5vw, 84px);
  line-height: 0.97; letter-spacing: -0.03em;
  font-weight: 400; text-wrap: balance;
  color: var(--bk-paper); margin-bottom: 28px;
}
.bk-final__h2 em { font-style: italic; color: var(--bk-gold); }
.bk-final__body {
  font-size: 17px; line-height: 1.5;
  color: rgba(247,244,237,0.72);
  max-width: 520px; text-wrap: pretty;
  margin-bottom: 40px;
}
.bk-final__cta-group { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.bk-final__cta-note {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(247,244,237,0.45); line-height: 1.7;
}
.bk-final__book-col { display: flex; justify-content: center; align-items: center; }
.bk-final__cover {
  width: 100%; height: auto;
}
.bk-final__footnote {
  position: relative; margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid rgba(247,244,237,0.1);
  text-align: center;
}
.bk-final__footnote p {
  font-size: 14px; line-height: 1.6;
  color: rgba(247,244,237,0.45);
  text-wrap: pretty; max-width: 660px;
  margin: 0 auto; font-style: italic;
}
.bk-final__footnote a { color: var(--bk-gold); }

/* ── Modal ────────────────────────────────────────────────── */
.bk-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.bk-modal.open { opacity: 1; pointer-events: auto; }
.bk-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(15,12,30,0.78);
  backdrop-filter: blur(6px);
}
.bk-modal__panel {
  position: relative; z-index: 1;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(111,96,255,0.18) 0%, transparent 58%),
    radial-gradient(ellipse at 100% 100%, rgba(111,96,255,0.15) 0%, transparent 54%),
    #ffffff;
  width: 100%; max-width: 600px;
  max-height: 90vh; overflow-y: auto;
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.bk-modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1;
  color: var(--ink-500);
  cursor: pointer;
  background: rgba(20,20,20,0.06);
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.bk-modal__close:hover { background: rgba(20,20,20,0.12); color: var(--ink-900); }
.bk-modal__heading {
  font-size: 28px; letter-spacing: -0.02em; font-weight: 400;
  margin-bottom: 8px; color: var(--ink-900);
}
.bk-modal__sub {
  font-size: 15px; line-height: 1.55; color: var(--ink-600);
  margin-bottom: 32px;
}
.bk-modal__sub em { font-style: italic; }

/* ── Form fields ──────────────────────────────────────────── */
.bk-form { display: flex; flex-direction: column; gap: 12px; }
.bk-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-form__field {
  width: 100%;
  padding: 13px 16px;
  font-family: 'aktiv-grotesk', 'Aktiv Grotesk', sans-serif;
  font-size: 15px; color: var(--ink-900);
  background: #fff;
  border: 1px solid var(--bk-rule);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  -webkit-appearance: none;
  border-radius: 6px;
}
.bk-form__field:focus { border-color: var(--accent); background: #fff; }
.bk-form__field::placeholder { color: var(--ink-400); }
.bk-form__field--select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'><path d='M1 1l5 4.5L11 1' stroke='%239c958a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  background-color: #fff;
  padding-right: 36px;
}
.bk-form__checkbox-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 6px 0;
}
.bk-form__checkbox-label {
  font-size: 14px; line-height: 1.5; color: var(--ink-700);
  cursor: pointer; padding-top: 1px;
}

/* SF checkbox override */
.sf-checkbox { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.sf-checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.sf-checkbox .checkmark {
  width: 20px; height: 20px; flex-shrink: 0;
  background: #fff; border: 1.5px solid var(--ink-400);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.sf-checkbox svg { width: 12px; height: 9px; stroke: #fff; stroke-width: 3; fill: none; display: none; }
.sf-checkbox input:checked + .checkmark { background: var(--accent); border-color: var(--accent); }
.sf-checkbox input:checked + .checkmark svg { display: block; }

.bk-form__recaptcha { margin-top: 6px; }

.recaptcha-webtolead {
  transform: scale(0.62);
  -webkit-transform: scale(0.62);
  transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  margin: 0 -120px -30px 0;
}
.bk-form__submit-row { margin-top: 8px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .bk-hero__inner { gap: 0; }
}
@media (max-width: 991px) {
  .bk-hero__inner { grid-template-columns: 1fr; gap: 0; padding: 56px 0 64px; }
  .bk-hero__cover { margin: 0 auto; }
  .bk-essay { grid-template-columns: 1fr; gap: 32px; }
  .bk-discover__item { grid-template-columns: 1fr; gap: 12px; }
  .bk-author__grid { grid-template-columns: 1fr; gap: 40px; }
  .bk-author__portrait { aspect-ratio: 3/2; object-position: center 15%; max-width: 480px; }
  .bk-quote-grid { grid-template-columns: 1fr; }
  .bk-quote-cell--r { border-right: none; }
  .bk-final__inner { grid-template-columns: 1fr; }
  .bk-final__book-col { display: none; }
  .bk-modal__panel { padding: 36px 28px; }
  .bk-form__row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .bk-quote-cell { padding: 36px 24px; }
  .bk-pull-quote blockquote { padding: 0 20px; }
  .bk-hero__lede { font-size: 17px; }
}
@media (max-width: 480px) {
  .bk-modal__panel { padding: 28px 20px; }
  .bk-discover__roman { font-size: 60px; }
}

/* ── Animations ─────────────────────────────────────────────── */
.book-page { position: relative; }
.bk-hero__cover { will-change: transform; }

/* Hero entrance stagger */
.h-anim {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.h-anim.h-anim--in { opacity: 1; transform: none; }

/* Scroll reveal */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.72s ease, transform 0.72s cubic-bezier(0.16,1,0.3,1);
}
.rv.rv--in { opacity: 1; transform: none; }

/* Discover roman numeral — clip-path left-to-right reveal */
.bk-discover__roman {
  display: inline-block;
  clip-path: inset(0 110% 0 0);
  transition: clip-path 0.95s cubic-bezier(0.16,1,0.3,1);
}
.bk-discover__item.rv--in .bk-discover__roman {
  clip-path: inset(0 -20% 0 0);
}
