
:root {
  --bg: #f7f4ef;
  --ink: #1a1814;
  --muted: #5c564c;
  --line: #d9d2c5;
  --card: #fffdf9;
  --accent: #6b3a1f;
  --accent-hover: #4e2a15;
  --scripture: #2a241c;
  --max: 44rem;
  --wide: 68rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1.05rem;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
.wrap { width: min(100% - 2rem, var(--wide)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: .5rem 1rem; z-index: 10;
}
.skip:focus { left: 0; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fffdf9cc;
  backdrop-filter: blur(6px);
  position: sticky; top: 0; z-index: 5;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 0;
}
.brand {
  font-weight: 700; letter-spacing: .01em; color: var(--ink); text-decoration: none;
  font-size: 1.05rem;
}
.nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover, .nav .active a { color: var(--ink); }
.nav-ext a { font-weight: 600; color: var(--accent); }
.nav-toggle {
  border: 1px solid var(--line); background: var(--card); padding: .4rem .7rem; border-radius: 6px;
}
main.wrap { padding: 2rem 0 3.5rem; }
.hero { max-width: var(--max); margin-bottom: 2.5rem; }
.hero h1 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2; margin: 0 0 .75rem;
}
.lede { font-size: 1.15rem; color: var(--muted); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .06em; font-size: .75rem;
  color: var(--muted); margin: 0 0 .35rem; font-weight: 600;
}
.grid-2 {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 1.5rem 0 2.5rem;
}
.grid-3 {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 1.1rem 1.2rem;
}
.card h3 { margin: 0 0 .35rem; font-size: 1.1rem; line-height: 1.35; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.meta { color: var(--muted); font-size: .9rem; margin: 0 0 .5rem; }
.section-title {
  font-family: Georgia, serif; font-size: 1.45rem; margin: 2.25rem 0 1rem;
}
.chapter-list { list-style: none; padding: 0; margin: 0; }
.chapter-list li {
  border-bottom: 1px solid var(--line); padding: .9rem 0;
  display: grid; gap: .15rem;
}
.chapter-list .part { font-weight: 600; }
.muted { color: var(--muted); }
.btn {
  display: inline-block; padding: .7rem 1.1rem; border-radius: 8px;
  font-weight: 600; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }
.cta-panel {
  margin: 1.75rem 0; padding: 1.1rem 1.2rem; border-radius: 10px;
  border: 1px solid var(--line); background: #f0e9df;
}
.cta-secondary {
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: .9rem; font-size: .95rem;
}
.embed-wrap {
  position: relative; aspect-ratio: 16/9; background: #111; border-radius: 10px; overflow: hidden;
  margin: 1.25rem 0;
}
.embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.scripture {
  max-width: var(--max); margin: 1.5rem 0 2rem; padding: 1.25rem 1.35rem;
  background: var(--card); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0;
}
.scripture h2 {
  font-family: Georgia, serif; font-size: 1.15rem; margin: 0 0 .75rem; font-weight: 600;
}
.verse {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  color: var(--scripture); font-size: 1.08rem; line-height: 1.7; margin: 0 0 .55rem;
  max-width: 38rem;
}
.vn {
  font-family: system-ui, sans-serif; font-size: .75rem; color: var(--muted);
  font-weight: 600; margin-right: .25rem; vertical-align: super;
}
.pager {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin: 2rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--line);
}
.site-footer {
  border-top: 1px solid var(--line); background: #efe8dc; padding: 2rem 0 1.5rem;
  font-size: .95rem;
}
.footer-grid {
  display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin-bottom: 1.5rem;
}
.footer-brand { font-weight: 700; margin: 0 0 .35rem; }
.footer-label { font-weight: 600; margin: 0 0 .35rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: .25rem 0; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); font-size: .85rem; }
.note {
  font-size: .9rem; color: var(--muted); border: 1px dashed var(--line);
  padding: .75rem 1rem; border-radius: 8px; margin: 1rem 0;
}
@media (max-width: 720px) {
  #site-nav { display: none; width: 100%; }
  #site-nav.open { display: block; }
  .nav { flex-direction: column; padding: .5rem 0 0; }
  .nav-toggle { display: inline-block; }
  .header-inner { flex-wrap: wrap; }
}
@media (min-width: 721px) {
  .nav-toggle { display: none !important; }
}
