/* The Sermon That Holds the Room — Chaplain Michael Reece
   Same warm palette as the chaplain site: ivory, forest, and gold. */

:root {
  --forest: #2c3a32;
  --forest-dark: #1e2a23;
  --forest-mid: #3d5245;
  --sage: #6f7f6b;
  --gold: #b08a4f;
  --gold-deep: #8f6d38;
  --gold-soft: #d4bc8a;
  --ivory: #f8f4ee;
  --cream: #efe8dc;
  --ink: #2a2824;
  --muted: #5c574e;
  --line: #ddd4c6;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(30, 42, 35, 0.10);
  --radius: 16px;
  --max: 1120px;
  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); }
a:hover { color: var(--forest); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--forest-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 2px solid var(--gold);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.8rem 0;
}
.brand {
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand:hover { color: #fff; }
.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
}
.brand strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}
.brand em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: #d8ddd6;
  font-weight: 400;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.95rem;
  align-items: center;
}
.nav a {
  color: #f3eee6;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
}
.nav a:hover,
.nav a:focus {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nav a.nav-buy {
  background: var(--gold);
  color: var(--forest-dark);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  text-decoration: none;
}
.nav a.nav-buy:hover,
.nav a.nav-buy:focus {
  background: var(--gold-soft);
  color: var(--forest-dark);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.02rem;
  line-height: 1.2;
}
.btn-primary {
  background: var(--gold);
  color: #1e2a23;
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-soft); color: #1e2a23; border-color: var(--gold-soft); }
.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest-mid);
}
.btn-ghost:hover { background: var(--cream); color: var(--forest-dark); }
.btn-forest {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.btn-forest:hover { background: var(--forest-mid); color: #fff; }
.btn-on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-on-dark:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(176, 138, 79, 0.12), transparent 60%),
    var(--ivory);
  padding: 2.4rem 0 3rem;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  gap: 2rem 3rem;
  align-items: center;
}
@media (min-width: 800px) {
  .hero-grid {
    grid-template-columns: minmax(240px, 340px) 1fr;
  }
}
.cover-wrap {
  margin: 0;
  justify-self: center;
  width: min(100%, 340px);
}
.cover-wrap img {
  width: 100%;
  height: auto;
  background: #fff;
  border-radius: 2px;
  box-shadow:
    inset 10px 0 16px -12px rgba(30, 42, 35, 0.35),
    0 2px 4px rgba(30, 42, 35, 0.08),
    10px 18px 40px rgba(30, 42, 35, 0.18);
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 0.7rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.15rem, 6vw, 3.5rem);
  line-height: 1.08;
  margin: 0 0 0.45rem;
  color: var(--forest-dark);
  text-wrap: balance;
}
.hero .subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  color: var(--forest-mid);
  margin: 0 0 1rem;
}
.hero p.lead {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  font-size: 1.14rem;
  color: var(--muted);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.price-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sections */
section { padding: 3.2rem 0; }
section:nth-child(even) { background: var(--cream); }
.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin: 0 0 0.55rem;
}
section h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.15;
  margin: 0 0 0.7rem;
  color: var(--forest-dark);
  text-wrap: balance;
}
.intro {
  margin: 0 0 1.6rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Who it's for */
.audience {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .audience { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .audience { grid-template-columns: 1fr 1fr 1fr; }
}
.audience article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.15rem;
  box-shadow: var(--shadow);
}
.audience h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  color: var(--forest);
}
.audience p { margin: 0; color: var(--muted); }

/* What's inside */
.inside-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .inside-grid { grid-template-columns: 1fr 1.15fr; align-items: start; }
}
.parts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.parts li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.parts strong {
  display: block;
  color: var(--forest);
  font-weight: 700;
  font-size: 0.98rem;
}
.parts span { color: var(--muted); font-size: 0.95rem; }

.steps-block h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
  color: var(--forest-dark);
}
.nine-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.nine-steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.7rem;
  align-items: baseline;
}
.nine-steps .num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--gold-deep);
  text-align: right;
}
.nine-steps span:last-child { color: var(--ink); }

/* About */
.about-layout {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}
@media (min-width: 720px) {
  .about-layout {
    grid-template-columns: minmax(180px, 280px) 1fr;
    gap: 2.4rem;
  }
}
.about-photo { margin: 0; }
.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.about-copy p { margin: 0 0 1rem; }
.about-copy p:last-child { margin-bottom: 0; }

/* FAQ */
.faq-list { display: grid; gap: 0.6rem; max-width: 46rem; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.95rem 1.1rem;
  list-style: none;
  color: var(--forest-dark);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
}

/* Closing CTA */
.buy-band {
  background: var(--forest-dark);
  color: #f3eee6;
  padding: 3.2rem 0;
  text-align: center;
  border-top: 2px solid var(--gold);
}
.buy-band h2 {
  color: #fff;
  margin-bottom: 0.6rem;
}
.buy-band .intro {
  margin-inline: auto;
  color: #d8ddd6;
}
.buy-band .cta-row { justify-content: center; }
.buy-band .price-note { color: var(--gold-soft); }

/* Footer */
.site-footer {
  background: var(--forest-dark);
  color: #d8ddd6;
  padding: 1.6rem 0 2rem;
  border-top: 1px solid rgba(212, 188, 138, 0.25);
  font-size: 0.95rem;
}
.site-footer p { margin: 0 0 0.4rem; }
.site-footer a { color: var(--gold-soft); }
.site-footer a:hover { color: #fff; }


/* Book store grid */
.book-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .book-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .book-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.book-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.book-card figure {
  margin: 0;
  background: #1a2740;
}
.book-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
}
.book-card-body {
  padding: 1.1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.book-card .book-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin: 0 0 0.35rem;
}
.book-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  color: var(--forest-dark);
  line-height: 1.2;
  text-wrap: balance;
}
.book-card .book-blurb {
  margin: 0 0 1rem;
  color: var(--muted);
  flex: 1;
}
.book-card .card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}
.book-card .btn {
  width: 100%;
}

/* 404 */
.page-main { padding: 3.5rem 0 4.5rem; min-height: 50vh; }
.prose h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  margin: 0 0 0.8rem;
  color: var(--forest-dark);
}

@media (max-width: 639px) {
  .header-inner { padding: 0.7rem 0; }
  .brand strong { font-size: 1.02rem; }
  .nav { width: 100%; }
  .nav a { font-size: 0.88rem; }
  .hero { padding: 1.25rem 0 1.8rem; }
  .cover-wrap { width: min(100%, 220px); }
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  section { padding: 2.4rem 0; }
  .btn { width: 100%; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .nav a.nav-buy { width: auto; }
}

/* Guide page */
.crumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.crumbs a { color: var(--gold-deep); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.guide { padding: 2.2rem 0 3rem; background: var(--ivory); }
.guide-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .guide-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2.6rem;
  }
  .guide-aside { position: sticky; top: 5.5rem; }
}
.guide h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 0.4rem;
  color: var(--forest-dark);
  text-wrap: balance;
}
.guide .subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  color: var(--forest-mid);
  margin: 0 0 1rem;
}
.guide .lead { margin: 0 0 1.6rem; max-width: 40rem; color: var(--muted); font-size: 1.14rem; }

.guide-prose { max-width: 42rem; }
.guide-prose h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  margin: 2.2rem 0 0.7rem;
  color: var(--forest-dark);
}
.guide-prose h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 1.7rem 0 0.5rem;
  color: var(--forest);
}
.guide-prose p { margin: 0 0 1rem; }
.guide-prose ul, .guide-prose ol { margin: 0 0 1.2rem; padding-left: 1.25rem; }
.guide-prose li { margin: 0 0 0.4rem; }
.guide-steps { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1rem 1rem 2rem; }

.video-placeholder { margin: 0 0 2rem; }
.video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  background:
    linear-gradient(180deg, rgba(30, 42, 35, 0.04), rgba(30, 42, 35, 0.10)),
    var(--cream);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--forest-dark);
}
.video-frame p { margin: 0; font-weight: 700; }
.video-frame .video-caption-inner { font-weight: 400; color: var(--muted); margin-top: 0.35rem; }
.video-placeholder figcaption {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.video-placeholder iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: var(--radius);
}

.guide-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1rem 1.2rem;
}
.guide-card .cover-wrap { width: 100%; margin: 0 0 0.9rem; }
.guide-card .book-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin: 0 0 0.3rem;
}
.guide-card h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
  color: var(--forest-dark);
}
.guide-card p { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.98rem; }
.guide-card .card-actions { display: flex; flex-direction: column; gap: 0.5rem; }
.guide-card .btn { width: 100%; }
.guide-card .price-note { margin: 0.8rem 0 0; }

@media (max-width: 639px) {
  .guide { padding: 1.4rem 0 2rem; }
  .guide-card .btn { width: 100%; }
}

@media (max-width: 720px) {
  .nav .nav-more { display: none; }
}
