/* ==========================================================================
   Walking in Fruitfulness: shared site styles
   One stylesheet for every page. Palette, type and spacing live in :root.
   Contrast pairs checked (WCAG 2.2 AA):
     navy #1a2744 on cream #faf8f2 ........ 14.3:1
     body #3d3d3d on cream ................ 10.6:1
     gold-ink #8a6510 on cream ............  5.0:1
     gold #c9a84c on navy ................. 6.5:1
     navy on gold (buttons) ............... 6.5:1
     cream on navy ........................ 14.3:1
   ========================================================================== */

:root {
  --navy: #1a2744;
  --navy-deep: #111b31;
  --gold: #c9a84c;
  --gold-bright: #d9bc68;
  --gold-ink: #8a6510;
  --cream: #faf8f2;
  --parchment: #f2ecdf;
  --white: #ffffff;
  --ink: #1a2744;
  --text: #3d3d3d;
  --text-soft: #5a5a5a;
  --rule: #e2dacb;
  --on-navy: #f4efe3;
  --on-navy-soft: #cfd5e2;

  --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.4rem, 1.4rem + 3.6vw, 4.25rem);

  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: 7rem;

  --radius-sm: 6px;
  --radius: 12px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --max: 1180px;
  --measure: 68ch;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-book: 0 1px 2px rgba(17, 27, 49, 0.18), 0 10px 24px -6px rgba(17, 27, 49, 0.28), 0 28px 48px -18px rgba(17, 27, 49, 0.3);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-ink); text-decoration-thickness: 2px; }
p, li, blockquote { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
::selection { background: var(--gold); color: var(--navy-deep); }
input, textarea, button { font: inherit; color: inherit; }
textarea, input { caret-color: var(--gold-ink); }

/* Themed focus ring (overrides the a11y.css default blue, keeps the dual rule) */
:focus, :focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus, .on-dark :focus-visible,
.site-header :focus, .site-header :focus-visible,
.site-footer :focus, .site-footer :focus-visible { outline-color: var(--gold); }
:focus:not(:focus-visible) { outline-color: transparent; }
.skip-link { background: var(--gold); color: var(--navy-deep); border-radius: 0 0 var(--radius-sm) 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { margin-top: var(--s4); max-width: 58ch; font-size: var(--step-1); line-height: 1.6; color: var(--text-soft); }
.center { text-align: center; }
.center p { margin-inline: auto; }
.bg-parchment { background: var(--parchment); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); color: var(--on-navy); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy a { color: var(--gold-bright); }
.bg-navy a:hover { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1em; height: 1em; flex: none; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-bright); color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost { border-color: rgba(244, 239, 227, 0.55); color: var(--on-navy); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--white); background: rgba(201, 168, 76, 0.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.text-link:hover { color: var(--gold-ink); }
.text-link .arrow { transition: transform 0.25s var(--ease-out); }
.text-link:hover .arrow { transform: translateX(3px); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--on-navy);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.25);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: 4.25rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.35rem);
  color: var(--gold);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--gold-bright); }
.brand-mark { width: 1.6rem; height: 1.6rem; flex: none; }
.nav-list { display: flex; align-items: center; gap: var(--s1); list-style: none; padding: 0; }
.nav-list a, .nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  color: var(--on-navy);
  font-size: 0.975rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.nav-list a:hover { color: var(--gold-bright); background: rgba(255, 255, 255, 0.05); }
.nav-list a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.has-sub { position: relative; }
.sub-list {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 17rem;
  list-style: none;
  padding: var(--s2);
  background: var(--navy-deep);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out), visibility 0s linear 0.18s;
}
.sub-list::before { content: ""; position: absolute; inset: -0.5rem 0 auto; height: 0.5rem; }
.has-sub:hover .sub-list, .has-sub:focus-within .sub-list {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.sub-list a { display: flex; width: 100%; font-size: 0.95rem; }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  background: transparent;
  border: 1px solid rgba(244, 239, 227, 0.35);
  border-radius: var(--radius-sm);
  color: var(--on-navy);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
.nav-toggle-bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s var(--ease-out), opacity 0.2s; }
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); border-top: 1px solid rgba(201, 168, 76, 0.25); box-shadow: 0 24px 40px -16px rgba(0, 0, 0, 0.45); max-height: calc(100dvh - 4.25rem); overflow-y: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: var(--s3) var(--gutter) var(--s5); }
  .nav-list > li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-list a { width: 100%; padding: 0.75rem 0.25rem; font-size: 1.05rem; }
  .nav-list a[aria-current="page"] { box-shadow: none; }
  .sub-list { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 var(--s2) var(--s4); background: none; border: 0; box-shadow: none; transition: none; }
  .sub-list a { font-size: 0.975rem; color: var(--on-navy-soft); }
}

@media (max-width: 420px) {
  .brand { font-size: 1.02rem; gap: 0.45rem; white-space: nowrap; }
  .brand-mark { width: 1.35rem; height: 1.35rem; }
  .nav-toggle { width: 44px; justify-content: center; padding: 0; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--on-navy); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 27, 49, 0.95) 0%, rgba(17, 27, 49, 0.9) 34%, rgba(17, 27, 49, 0.55) 52%, rgba(17, 27, 49, 0) 68%),
    linear-gradient(0deg, rgba(17, 27, 49, 0.45) 0%, rgba(17, 27, 49, 0) 30%);
}
.hero-inner { min-height: clamp(560px, 84vh, 780px); display: flex; align-items: center; padding-block: var(--s8); }
.hero-copy { max-width: 33rem; }
.hero h1 { color: var(--white); font-size: var(--step-4); letter-spacing: -0.025em; line-height: 1.05; }
.hero-verdict { margin-top: var(--s5); font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); line-height: 1.4; color: var(--gold); max-width: 24ch; }
.hero-lede { margin-top: var(--s4); font-size: 1.125rem; line-height: 1.6; color: var(--on-navy); max-width: 34ch; }
/* The verdict line is visible by default; the reveal only runs once the page is
   actually painting frames (.motion-ok is set from requestAnimationFrame). */
@media (prefers-reduced-motion: no-preference) {
  .motion-ok .hero-verdict { animation: rise 1.1s var(--ease-out) 0.15s both; }
}
.hero .btn-row { margin-top: var(--s6); }
@keyframes rise { from { opacity: 0.001; transform: translateY(0.4em); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }

@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column; }
  .hero-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; max-height: 52vh; width: 100%; }
  .hero-media img { object-position: 84% 35%; }
  .hero::before { inset: auto 0 0; top: auto; height: 0; }
  .hero-media::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(0deg, var(--navy) 0%, rgba(26, 39, 68, 0) 100%); }
  .hero-inner { min-height: 0; padding-block: var(--s2) var(--s7); margin-top: -2.5rem; position: relative; }
}

/* ---------- Mission / framework band ---------- */
.mission .section-head { max-width: 46rem; }
.stages { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; counter-reset: none; }
.stage { position: relative; padding: var(--s6) var(--s6) var(--s4) 0; }
.stage + .stage { padding-left: var(--s6); border-left: 1px solid var(--rule); }
.stage-word { display: flex; align-items: baseline; gap: 0.5rem; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.6rem); color: var(--ink); line-height: 1.1; }
.stage-word .arrow { font-style: normal; font-family: var(--sans); font-size: 0.55em; color: var(--gold-ink); }
.stage p { margin-top: var(--s3); color: var(--text); max-width: 32ch; }
.stage::before { content: ""; position: absolute; top: 0; left: 0; width: 2.5rem; height: 3px; background: var(--gold); border-radius: 2px; }
.stage + .stage::before { left: var(--s6); }
.scripture { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); max-width: 50rem; }
.scripture p { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.7rem); line-height: 1.5; color: var(--ink); }
.scripture p::before { content: "\201C"; display: block; font-size: 3.2em; line-height: 0.6; height: 0.45em; color: var(--gold); font-style: normal; }
.scripture cite { display: block; margin-top: var(--s4); font-style: normal; font-weight: 600; font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-ink); }
@media (max-width: 860px) {
  .stages { grid-template-columns: 1fr; }
  .stage, .stage + .stage { padding: var(--s5) 0 var(--s4); border-left: 0; }
  .stage + .stage { border-top: 1px solid var(--rule); }
  .stage::before, .stage + .stage::before { left: 0; }
  .stage + .stage::before { top: -2px; }
}

/* ---------- Books ---------- */
.book-cover {
  position: relative;
  display: block;
  border-radius: 2px 4px 4px 2px;
  box-shadow: var(--shadow-book);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.book-cover img { width: 100%; }
.book-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(255, 255, 255, 0.14) 2.2%, rgba(0, 0, 0, 0.06) 4%, rgba(0, 0, 0, 0) 8%);
}
a.book-cover:hover { transform: translateY(-4px) rotate(-0.4deg); }

.book-feature { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.book-feature .book-cover { width: 100%; max-width: 300px; justify-self: center; }
.book-body :is(h2, h3) { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); }
.book-body :is(h2, h3) a { color: inherit; text-decoration: none; }
.book-body :is(h2, h3) a:hover { color: var(--gold-ink); }
.book-subtitle { margin-top: var(--s2); font-family: var(--serif); font-style: italic; font-size: 1.1rem; line-height: 1.5; color: var(--text-soft); }
.book-meta { margin-top: var(--s3); font-size: var(--step--1); font-weight: 600; color: var(--gold-ink); letter-spacing: 0.02em; }
.book-blurb { margin-top: var(--s4); max-width: 52ch; font-size: 1.075rem; }
.book-body .btn-row { margin-top: var(--s5); }

.book-pair { margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); }
.book-row { display: grid; grid-template-columns: 9.5rem 1fr; gap: var(--s5); align-items: start; }
.book-row .book-cover { width: 100%; }
.book-row :is(h2, h3) { font-size: 1.4rem; }
.book-row .book-blurb { font-size: 1rem; }
.book-row .btn { min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.95rem; }
.books-more { margin-top: var(--s7); }
/* Three supporting books under the lead title: cover above text on wide screens */
.book-trio { grid-template-columns: repeat(3, 1fr); }
.book-trio .book-row { grid-template-columns: 1fr; grid-template-rows: 14rem auto; }
.book-trio .book-row .book-cover { width: 9rem; align-self: end; }
@media (max-width: 960px) {
  .book-trio { grid-template-columns: 1fr; }
  .book-trio .book-row { grid-template-columns: 9.5rem 1fr; grid-template-rows: auto; }
  .book-trio .book-row .book-cover { align-self: start; }
  .book-trio .book-row .book-cover { width: 100%; }
}
@media (max-width: 640px) { .book-trio .book-row { grid-template-columns: 6.5rem 1fr; } }
.series-line { margin-top: var(--s3); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.02em; color: var(--gold-ink); }
.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 1.5px dashed var(--gold-ink);
  border-radius: var(--radius-sm);
  color: var(--gold-ink);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}
.on-dark .soon-badge { border-color: var(--gold); color: var(--gold-bright); }
.books-intro { max-width: 60ch; margin-bottom: clamp(2.5rem, 2rem + 3vw, 4rem); font-size: var(--step-1); line-height: 1.6; color: var(--ink); }
.book-mini .book-cover { width: 100%; }
@media (max-width: 960px) { .book-pair { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .book-feature { grid-template-columns: 1fr; }
  .book-feature .book-cover { max-width: 220px; }
  .book-row { grid-template-columns: 6.5rem 1fr; gap: var(--s4); }
  .book-row .btn-row { flex-direction: column; align-items: stretch; }
}

/* ---------- About band ---------- */
.about-grid { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.arch {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 420 / 470;
  background: var(--navy-deep);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.45), 0 0 0 10px rgba(201, 168, 76, 0.08), 0 30px 60px -24px rgba(0, 0, 0, 0.55);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about-copy h2 { font-size: var(--step-3); }
.about-copy p { margin-top: var(--s4); max-width: 60ch; font-size: 1.075rem; color: var(--on-navy); }
.about-copy p:first-of-type { margin-top: var(--s5); font-size: var(--step-1); line-height: 1.6; color: var(--white); }
.about-copy .text-link { margin-top: var(--s5); color: var(--gold-bright); }
.about-copy .text-link:hover { color: var(--white); }
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .arch { max-width: 260px; }
}

/* ---------- Blog teaser ---------- */
.blog-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.blog-split .section-head { margin-bottom: 0; }
.post-teaser { padding-top: var(--s5); border-top: 3px solid var(--navy); }
.post-teaser h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.post-teaser h3 a { color: inherit; text-decoration: none; }
.post-teaser h3 a:hover { color: var(--gold-ink); text-decoration: underline; text-decoration-color: var(--gold); }
.post-meta { margin-top: var(--s2); font-size: var(--step--1); font-weight: 600; color: var(--gold-ink); }
.post-teaser p.excerpt { margin-top: var(--s4); max-width: 58ch; }
.post-teaser .text-link { margin-top: var(--s5); }
@media (max-width: 760px) { .blog-split { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.section-head .crisis-note { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--rule); font-size: 0.95rem; line-height: 1.6; color: var(--text); max-width: 40ch; }
.crisis-note a { font-weight: 700; }
.contact-panel { background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: 0 1px 2px rgba(17, 27, 49, 0.06), 0 18px 40px -24px rgba(17, 27, 49, 0.25); }
.field { display: grid; gap: var(--s2); }
.field + .field, .field-row + .field { margin-top: var(--s4); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); align-items: start; }
.field-row .field + .field { margin-top: 0; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field .req { color: var(--gold-ink); font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #b9b0a0;
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #8f8574; }
.field input:focus, .field textarea:focus { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.35); outline: 2px solid transparent; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a3261f; }
.field-error { font-size: 0.9rem; color: #a3261f; font-weight: 500; }
.field-error:empty { display: none; }
.form-actions { margin-top: var(--s5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.form-actions .btn { min-width: 12rem; }
.form-note { font-size: 0.9rem; color: var(--text-soft); }
.form-status { margin-top: var(--s4); font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-error { color: #a3261f; }
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.contact-success h3 { font-size: 1.6rem; }
.contact-success p { margin-top: var(--s3); }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .field-row .field + .field { margin-top: var(--s4); }
  .form-actions .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-soft); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) var(--s6); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s6); padding-bottom: var(--s6); border-bottom: 1px solid rgba(201, 168, 76, 0.22); }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem); color: var(--gold); max-width: 26ch; line-height: 1.45; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); list-style: none; padding: 0; }
.footer-nav a, .footer-social a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.3rem 0.6rem; color: var(--on-navy); text-decoration: none; border-radius: var(--radius-sm); }
.footer-nav a:hover, .footer-social a:hover { color: var(--gold-bright); background: rgba(255, 255, 255, 0.05); }
.footer-social svg { width: 22px; height: 22px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); padding-top: var(--s5); font-size: var(--step--1); }

/* ---------- Inner page header ---------- */
.page-header { background: var(--navy); color: var(--on-navy); padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); position: relative; overflow: hidden; }
.page-header::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 22rem;
  height: 22rem;
  background: url("/assets/vine-leaf.svg") no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
}
@media (max-width: 760px) { .page-header::after { width: 13rem; height: 13rem; right: -3.5rem; bottom: -3.5rem; opacity: 0.06; } }
.page-header h1 { color: var(--white); font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -0.02em; max-width: 22ch; }
.page-header .lede { margin-top: var(--s4); font-family: var(--serif); font-style: italic; font-size: var(--step-1); color: var(--gold); max-width: 46ch; line-height: 1.5; }
.page-header .post-meta { color: var(--on-navy-soft); font-size: 0.95rem; margin-top: var(--s4); }
.crumbs { margin-bottom: var(--s4); font-size: var(--step--1); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; color: var(--on-navy-soft); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: rgba(201, 168, 76, 0.7); }
.crumbs a { color: var(--on-navy); text-decoration: underline; text-decoration-color: rgba(201, 168, 76, 0.6); }
.crumbs a:hover { color: var(--gold-bright); }
.crumbs [aria-current="page"] { color: var(--on-navy-soft); }

/* ---------- Book detail pages ---------- */
.book-hero { background: var(--parchment); padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.book-hero .crumbs ol { color: var(--text-soft); }
.book-hero .crumbs a { color: var(--ink); text-decoration-color: var(--gold); }
.book-hero .crumbs [aria-current="page"] { color: var(--text-soft); }
.book-hero .crumbs li + li::before { color: var(--gold-ink); }
.book-hero-grid {
  display: grid;
  grid-template-columns: minmax(180px, 320px) 1fr;
  grid-template-areas: "cover head" "cover main";
  grid-template-rows: auto 1fr;
  column-gap: clamp(2rem, 1rem + 5vw, 5.5rem);
  row-gap: var(--s5);
}
.book-hero .book-cover { grid-area: cover; align-self: center; max-width: 320px; width: 100%; justify-self: center; }
.book-head { grid-area: head; align-self: end; }
.book-main { grid-area: main; }
.book-hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem); letter-spacing: -0.02em; }
.book-hero .book-subtitle { font-size: var(--step-1); }
.book-hero .description { font-size: var(--step-1); line-height: 1.6; color: var(--ink); max-width: 54ch; }
.book-hero .btn-row { margin-top: var(--s5); }
.book-hero .buy-note { margin-top: var(--s3); font-size: 0.9rem; color: var(--text-soft); }
.book-hero .more { margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--rule); max-width: 60ch; }
/* Book commercial: a full-width row under the details, video beside the longer description */
.book-hero-grid.has-trailer { grid-template-areas: "cover head" "cover main" "watch watch"; grid-template-rows: auto 1fr auto; }
.book-watch {
  grid-area: watch;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 0.75rem + 3vw, 3.5rem);
  align-items: start;
  padding-top: var(--s6);
  border-top: 1px solid var(--rule);
}
.book-watch .more { margin-top: 0; padding-top: 0; border-top: 0; align-self: center; }
.book-trailer { margin: 0; min-width: 0; }
.book-trailer video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: var(--navy-deep);
  box-shadow: var(--shadow-book);
}
.book-trailer figcaption { margin-top: var(--s3); display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--s3); row-gap: var(--s1); font-size: 0.9rem; color: var(--text-soft); }
.book-trailer .trailer-label { font-weight: 600; color: var(--ink); }
.trailer-words { flex: 1 1 100%; margin-top: var(--s2); }
.trailer-words summary { cursor: pointer; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.2em; width: fit-content; min-height: 24px; }
.trailer-words p { margin-top: var(--s2); max-width: 60ch; color: var(--text); }
.trailer-words p + p { margin-top: var(--s2); }
@media (max-width: 760px) {
  .book-hero-grid.has-trailer { grid-template-areas: "cover head" "main main" "watch watch"; grid-template-rows: auto auto auto; }
  .book-watch { grid-template-columns: 1fr; padding-top: var(--s5); }
}
@media (max-width: 760px) {
  .book-hero-grid { grid-template-columns: 6.5rem 1fr; grid-template-areas: "cover head" "main main"; grid-template-rows: auto auto; column-gap: var(--s4); }
  .book-hero .book-cover { align-self: start; max-width: none; }
  .book-head { align-self: center; }
  .book-hero h1 { font-size: clamp(1.6rem, 1.2rem + 2.5vw, 2.1rem); }
  .book-hero .book-subtitle { font-size: 1rem; }
  .book-hero .btn-row .btn, .book-hero .btn-row .soon-badge { flex: 1 1 100%; justify-content: center; }
}

.prose-section { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.prose-section + .prose-section { border-top: 1px solid var(--rule); }
.prose-section h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.prose-section > .wrap > p, .prose-section > .wrap-narrow > p { margin-top: var(--s4); max-width: var(--measure); }
.prose-section .intro { margin-top: var(--s4); max-width: var(--measure); font-size: var(--step-1); line-height: 1.6; }

.feature-list { list-style: none; padding: 0; margin-top: var(--s6); display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--s6) var(--s7); }
.feature-list li { padding-top: var(--s4); border-top: 1px solid var(--rule); position: relative; }
.feature-list li::before { content: ""; position: absolute; top: -1px; left: 0; width: 2.25rem; height: 3px; background: var(--gold); border-radius: 2px; }
.feature-list h3 { font-size: 1.25rem; }
.feature-list p { margin-top: var(--s2); font-size: 1rem; color: var(--text); }

.author-card { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s5); align-items: start; margin-top: var(--s5); }
.author-card img { width: 9rem; height: 9rem; border-radius: 14px; object-fit: cover; object-position: 50% 30%; box-shadow: 0 1px 2px rgba(17, 27, 49, 0.15), 0 14px 28px -14px rgba(17, 27, 49, 0.45); }
.author-photo { display: block; }
.author-card p { max-width: 62ch; }
.author-card .text-link { margin-top: var(--s3); }
@media (max-width: 520px) { .author-card { grid-template-columns: 1fr; } }

.testimonials { list-style: none; padding: 0; margin-top: var(--s6); display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: var(--s6); }
.testimonials figure { background: var(--white); border-radius: var(--radius); padding: var(--s6); box-shadow: 0 1px 2px rgba(17, 27, 49, 0.06), 0 14px 32px -24px rgba(17, 27, 49, 0.3); height: 100%; display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.testimonials blockquote p { margin-top: var(--s3); font-family: var(--serif); font-style: italic; font-size: 1.075rem; line-height: 1.65; color: var(--ink); }
.testimonials figcaption { margin-top: auto; padding-top: var(--s4); font-weight: 600; color: var(--ink); }

.cta-band { background: var(--navy); color: var(--on-navy); padding-block: clamp(2.75rem, 2rem + 3vw, 4rem); }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5); }
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); max-width: 26ch; }
.cta-band p { margin-top: var(--s2); color: var(--on-navy-soft); }

/* ---------- Article (blog post) ---------- */
.article { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.article-body { font-size: 1.125rem; line-height: 1.8; color: #333; }
.article-body > * + * { margin-top: 1.25em; }
.article-body h2 { font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.85rem); margin-top: 2.2em; line-height: 1.25; }
.article-body h2 + * { margin-top: 0.75em; }
.article-body > :first-child { margin-top: 0; }
.article-body ul { padding-left: 1.25em; }
.article-body li { padding-left: 0.35em; }
.article-body li + li { margin-top: 0.6em; }
.article-body li::marker { color: var(--gold-ink); }
.article-body strong { color: var(--ink); }
.scripture-quote { margin-block: 2.5em; padding-block: var(--s6); text-align: center; border-block: 1px solid var(--rule); }
.scripture-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); line-height: 1.6; color: var(--ink); max-width: 36ch; margin-inline: auto; }
.scripture-quote p::before { content: "\201C"; content: "\201C" / ""; display: block; font-size: 3em; line-height: 0.6; height: 0.42em; color: var(--gold); font-style: normal; }
.scripture-quote cite { display: block; margin-top: var(--s4); font-style: normal; font-weight: 600; font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); }
.takeaway { margin-block: 2em; padding: var(--s5) var(--s6); background: var(--parchment); border-radius: var(--radius); }
.takeaway p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.65; color: var(--ink); }
.article-body .closing { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.article-end { margin-top: var(--s7); padding-top: var(--s6); border-top: 1px solid var(--rule); }
.article-end h2 { font-size: 1.4rem; }
.related { list-style: none; padding: 0; margin-top: var(--s4); display: grid; gap: var(--s4); }
.related li { display: grid; gap: var(--s1); padding-bottom: var(--s4); border-bottom: 1px solid var(--rule); }
.related a { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; text-decoration-color: var(--gold); }
.related p { font-size: 0.975rem; color: var(--text-soft); }

/* ---------- Listen to a post, email signup ---------- */
.listen-box { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-bottom: var(--s6); padding: var(--s4) var(--s5); background: var(--parchment); border-radius: var(--radius); }
.listen-box[hidden] { display: none; }
.listen-box.is-highlighted { box-shadow: 0 0 0 3px var(--gold); }
.listen-label { font-weight: 600; color: var(--ink); }
.listen-box audio { width: 100%; }
.listen-status { flex: 1 1 100%; font-size: 0.9rem; color: var(--text-soft); }
.listen-status:empty { display: none; }
.listen-recorded { display: grid; gap: var(--s2); }
.listen-note { font-size: 0.85rem; color: var(--text-soft); }
.scripture-note { margin-top: var(--s5); font-size: 0.85rem; color: var(--text-soft); }
.subscribe { margin-top: var(--s7); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--navy); color: var(--on-navy); border-radius: var(--radius); }
.subscribe h2 { color: var(--white); font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); }
.subscribe p { margin-top: var(--s3); max-width: 58ch; }
.subscribe .subscribe-form { margin-top: var(--s5); display: grid; grid-template-columns: 1fr 1.4fr auto; gap: var(--s4); align-items: end; }
.subscribe .field label { color: var(--white); }
.subscribe .field .req { color: var(--gold-bright); font-weight: 500; }
.subscribe .field input { background: var(--white); border-color: var(--white); }
.subscribe .btn-navy { background: var(--gold); color: var(--navy-deep); }
.subscribe .btn-navy:hover { background: var(--gold-bright); color: var(--navy-deep); }
.subscribe .form-note { color: var(--on-navy-soft); font-size: 0.9rem; }
.subscribe :focus, .subscribe :focus-visible { outline-color: var(--gold); }
@media (max-width: 760px) { .subscribe .subscribe-form { grid-template-columns: 1fr; } }

/* ---------- Blog index ---------- */
.post-list { list-style: none; padding: 0; margin-top: var(--s6); }
.post-list .post-teaser { padding-bottom: var(--s6); }
.coming-soon { margin-top: var(--s6); padding: var(--s5) var(--s6); background: var(--parchment); border-radius: var(--radius); color: var(--text); }

/* ---------- About page ---------- */
.bio-grid { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: start; }
.bio-grid .arch { box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.55), 0 0 0 10px rgba(201, 168, 76, 0.1), 0 30px 60px -28px rgba(17, 27, 49, 0.45); }
.bio-copy p { max-width: var(--measure); }
.bio-copy p + p { margin-top: var(--s4); }
.bio-copy p:first-child { font-size: var(--step-1); line-height: 1.6; color: var(--ink); }
.book-mini-list { list-style: none; padding: 0; margin-top: var(--s6); display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--s6); }
.book-mini { display: grid; grid-template-columns: 5.5rem 1fr; gap: var(--s4); align-items: start; }
.book-mini h3 { font-size: 1.15rem; }
.book-mini h3 a { color: inherit; text-decoration: none; }
.book-mini h3 a:hover { color: var(--gold-ink); text-decoration: underline; }
.book-mini p { margin-top: var(--s2); font-size: 0.975rem; }
@media (max-width: 760px) {
  .bio-grid { grid-template-columns: 1fr; }
  .bio-grid .arch { max-width: 240px; }
}

/* ---------- Utilities ---------- */
.mt-5 { margin-top: var(--s5); }
.mt-6 { margin-top: var(--s6); }

@media print {
  .site-header, .site-footer, .btn-row, .cta-band, .contact { display: none !important; }
  body { background: #fff; color: #000; }
}
