﻿/* ==========================================================================
   More Than a Filter — main stylesheet
   Rhythm: dark hero -> paper sections -> dark hope/closing, repeated.
   Mobile-first. Tokens live in tokens.css.
   ========================================================================== */

/* --- Reset & base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  line-height: var(--lh-tight);
  font-weight: 600;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { margin: 0 0 var(--space-4); }
a { color: var(--link); text-decoration-color: var(--amber); text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
a:hover { color: var(--fg); text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.band--dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--focus-on-ink); }
::selection { background: var(--amber); color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--hairline-strong); margin: var(--space-6) 0; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--amber); color: var(--ink); padding: 0.75rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Layout primitives ---------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

.band { padding-block: var(--band-pad); }
.band--dark { background: var(--ink); color: var(--on-ink); }
.band--paper { background: var(--parchment); color: var(--fg); }
.band--deep { background: var(--parchment-deep); color: var(--fg); }
.band--tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.band--dark a { color: #f0c98a; text-decoration-color: var(--amber); }
.band--dark a:hover { color: #fff; }
.band--dark h1, .band--dark h2, .band--dark h3 { color: var(--parchment); }
.band--dark .muted { color: var(--on-ink-soft); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-ink);
  margin: 0 0 var(--space-3);
}
.band--dark .eyebrow { color: var(--amber); }
.section-title { font-size: var(--step-3); margin-bottom: var(--space-3); }
.section-lede { font-size: var(--step-1); color: var(--fg-soft); max-width: 60ch; margin-bottom: var(--space-6); line-height: 1.5; }
.band--dark .section-lede { color: var(--on-ink-soft); }
.muted { color: var(--fg-soft); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 700 1rem/1.2 var(--font-body);
  padding: 0.95rem 1.5rem; min-height: 3rem;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover { background: var(--amber-hover); color: var(--paper-white); }
.band--dark a.btn--primary { color: var(--ink); }
.band--dark a.btn--primary:hover { color: var(--paper-white); }
.btn--ghost { border-color: rgba(246, 239, 221, 0.55); color: var(--parchment); background: transparent; }
.btn--ghost:hover { background: rgba(246, 239, 221, 0.12); border-color: var(--parchment); color: #fff; }
.band--dark a.btn--ghost { color: var(--parchment); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--parchment); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.text-link { font-weight: 600; }
.text-link::after { content: " \2192"; }

/* --- Site header ---------------------------------------------------------- */
.draft-bar { background: var(--amber); color: var(--ink); font-size: var(--step--1); text-align: center; padding: 0.45rem var(--gutter); font-weight: 600; }
.draft-bar a { color: var(--ink); }

.site-header { background: var(--ink); color: var(--on-ink); border-bottom: 1px solid var(--ink-line); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: 0.85rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--parchment); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand:hover { color: #fff; text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav-toggle {
  display: none; background: transparent; color: var(--parchment); border: 1.5px solid var(--ink-line);
  border-radius: 8px; padding: 0.55rem 0.8rem; font: 600 0.95rem var(--font-body); cursor: pointer;
}
.js .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; }
.site-nav { display: flex; flex-direction: column; gap: var(--space-2); padding-bottom: var(--space-4); width: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.site-nav a { color: var(--on-ink); text-decoration: none; padding: 0.6rem 0.25rem; display: block; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #f0c98a; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); }
.site-nav .nav-search { display: flex; margin-top: var(--space-2); }
.nav-search input {
  flex: 1; min-width: 0; padding: 0.6rem 0.9rem; border-radius: 999px 0 0 999px; border: 1.5px solid var(--ink-line);
  background: rgba(246, 239, 221, 0.08); color: var(--parchment); font: inherit; font-size: 0.95rem;
}
.nav-search input::placeholder { color: var(--on-ink-soft); }
.nav-search button { border: 0; background: var(--amber); color: var(--ink); padding: 0 1rem; border-radius: 0 999px 999px 0; font-weight: 700; cursor: pointer; }
.nav-search button:hover { background: var(--amber-hover); color: var(--paper-white); }
.site-header__inner { flex-wrap: wrap; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: flex; }

@media (min-width: 70em) {
  .nav-toggle, .js .nav-toggle { display: none; }
  .site-header__inner { flex-wrap: nowrap; }
  .site-nav, .js .site-nav { display: flex; flex-direction: row; align-items: center; width: auto; padding-bottom: 0; gap: var(--space-5); }
  .site-nav ul { flex-direction: row; gap: 0.35rem; }
  .site-nav a { padding: 0.5rem 0.65rem; font-size: 0.95rem; white-space: nowrap; }
  .site-nav .nav-search { margin-top: 0; }
  .nav-search input { width: 9.5rem; }
}
.nav-cta { background: var(--amber); color: var(--ink) !important; border-radius: 999px; padding: 0.55rem 1.1rem !important; font-weight: 700 !important; text-align: center; box-shadow: none !important; }
.nav-cta:hover { background: var(--amber-hover); color: var(--paper-white) !important; }

/* --- Breadcrumbs ---------------------------------------------------------- */
.breadcrumbs { font-size: var(--step--1); margin-bottom: var(--space-5); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.breadcrumbs li + li::before { content: "\203A"; margin-right: 0.5rem; opacity: 0.6; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { opacity: 0.8; }

/* --- Page hero (inner pages) --------------------------------------------- */
.page-hero { padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem) clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.page-hero h1 { font-size: var(--step-4); max-width: 22ch; margin-bottom: var(--space-4); }
.page-hero--wide h1 { max-width: 26ch; }
.page-hero .lede { font-size: var(--step-1); line-height: 1.5; color: var(--on-ink-soft); max-width: 62ch; margin-bottom: var(--space-5); }

.byline { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; font-size: var(--step--1); color: var(--on-ink-soft); margin: 0; padding: 0; list-style: none; }
.byline strong { color: var(--parchment); font-weight: 600; }
.byline a { color: #f0c98a; }
.byline__pending { font-style: italic; }

/* --- Home hero ------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(closest-side, rgba(192, 135, 60, 0.22), rgba(192, 135, 60, 0) 70%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 62em) { .hero__grid { grid-template-columns: 1.25fr 0.85fr; gap: var(--space-8); } }
.hero h1 { font-size: var(--step-4); line-height: 1.08; margin-bottom: var(--space-5); max-width: 17ch; }
.hero__sub { font-size: var(--step-1); line-height: 1.5; color: var(--on-ink-soft); max-width: 46ch; margin-bottom: var(--space-6); }
.hero__breath { margin: var(--space-5) 0 0; color: var(--on-ink-soft); font-size: 0.98rem; }
.hero__breath strong { color: var(--amber); font-weight: 600; }

.tonight {
  background: var(--ink-raised); border: 1px solid var(--ink-line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.tonight h2 { font-size: var(--step-1); margin-bottom: var(--space-4); }
.tonight ol { list-style: none; counter-reset: t; margin: 0 0 var(--space-5); padding: 0; }
.tonight li { counter-increment: t; display: flex; gap: 0.85rem; padding-block: 0.7rem; border-top: 1px solid var(--ink-line); }
.tonight li:first-child { border-top: 0; }
.tonight li::before { content: counter(t); flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--amber); color: var(--ink); font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; margin-top: 0.1rem; }
.tonight li strong { display: block; color: var(--parchment); }
.tonight li span { color: var(--on-ink-soft); font-size: 0.95rem; }

/* --- Cards & grids -------------------------------------------------------- */
.grid { display: grid; gap: var(--space-5); }
@media (min-width: 40em) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 40em) and (max-width: 61.99em) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--paper-white); border: 1px solid var(--hairline-strong); border-radius: var(--radius-lg);
  padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2);
  box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card h3 { font-size: var(--step-1); margin: 0; }
.card p { margin: 0; color: var(--fg-soft); font-size: 0.98rem; line-height: 1.55; }
.card__kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-deep); margin: 0; }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--amber); color: inherit; }
.card--link h3 { color: var(--fg); }
.card--link .card__go { margin-top: auto; padding-top: var(--space-3); font-weight: 700; color: var(--amber-ink); font-size: 0.95rem; }
.card--link .card__go::after { content: " \2192"; }
.card--soon { background: transparent; border-style: dashed; box-shadow: none; }
.card--soon .card__go { margin-top: auto; padding-top: var(--space-3); color: var(--fg-soft); font-size: 0.9rem; font-style: italic; }
.band--deep .card { background: var(--parchment); }

.card--path { border-left: 5px solid var(--amber); }
.card--path.is-urgent { border-left-color: var(--ink); background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.card--path.is-urgent h3, .card--path.is-urgent .card__go { color: var(--parchment); }
.card--path.is-urgent p { color: var(--on-ink-soft); }
.card--path.is-urgent .card__go { color: var(--amber); }

/* Dark cards (philosophy band) */
.card--dark { background: var(--ink-raised); border-color: var(--ink-line); color: var(--on-ink); box-shadow: none; }
.card--dark h3 { color: var(--parchment); }
.card--dark p { color: var(--on-ink-soft); }

/* "Filters cannot..." list */
.cannot { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
@media (min-width: 40em) { .cannot { grid-template-columns: repeat(2, 1fr); } }
.cannot li { display: flex; gap: 0.8rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--ink-line); border-radius: var(--radius); background: rgba(246, 239, 221, 0.04); }
.cannot li::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.3rem; border: 2px solid var(--amber); border-radius: 50%; background: radial-gradient(circle, var(--amber) 0 32%, transparent 34%); }
.cannot strong { color: var(--parchment); }

.age-row { display: grid; gap: var(--space-4); }
@media (min-width: 40em) { .age-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) { .age-row { grid-template-columns: repeat(4, 1fr); } }
.age-card .age-card__range { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1; color: var(--amber-ink); margin-bottom: var(--space-2); }

.two-col { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 62em) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }

/* --- Hope band ------------------------------------------------------------ */
.hope { text-align: center; }
.hope h2 { font-size: var(--step-3); max-width: 24ch; margin-inline: auto; margin-bottom: var(--space-4); }
.hope p { max-width: 54ch; margin-inline: auto; color: var(--on-ink-soft); font-size: var(--step-1); line-height: 1.5; }
.hope .btn-row { justify-content: center; margin-top: var(--space-5); }
.hope__mark { width: 44px; height: 44px; margin: 0 auto var(--space-5); color: var(--amber); }

/* --- Article layout ------------------------------------------------------- */
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
.article-shell > * { min-width: 0; }
@media (min-width: 62em) { .article-shell { grid-template-columns: 250px minmax(0, 1fr); gap: var(--space-8); } .article-shell--single { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--container-narrow) + 40px); margin-inline: auto; } }
.article-aside { font-size: 0.95rem; }
@media (min-width: 62em) { .article-aside__sticky { position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow: auto; padding-right: 0.5rem; } }
.article-aside h2 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-deep); margin: 0 0 var(--space-3); }
.toc ol { list-style: none; margin: 0 0 var(--space-6); padding: 0; border-left: 2px solid var(--hairline-strong); }
.toc a { display: block; padding: 0.3rem 0 0.3rem 0.85rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--fg-soft); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--fg); border-left-color: var(--amber); }
.toc a.is-active { color: var(--fg); font-weight: 600; border-left-color: var(--amber); }
.toc-mobile { border: 1px solid var(--hairline-strong); border-radius: var(--radius); background: var(--paper-white); padding: 0.25rem 1rem; }
.toc-mobile summary { cursor: pointer; font-weight: 700; padding: 0.7rem 0; }
.toc-mobile .toc ol { margin-bottom: 0.75rem; }
@media (min-width: 62em) { .toc-mobile { display: none; } }
@media (max-width: 61.99em) { .toc-desktop { display: none; } }

.journey { list-style: none; margin: 0; padding: 0; counter-reset: j; }
.journey li { counter-increment: j; position: relative; padding: 0.35rem 0 0.35rem 2.2rem; line-height: 1.35; }
.journey li::before {
  content: counter(j); position: absolute; left: 0; top: 0.3rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  border: 1.5px solid var(--hairline-strong); background: var(--paper-white); font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; color: var(--fg-soft);
}
.journey li::after { content: ""; position: absolute; left: 0.72rem; top: 1.85rem; bottom: -0.3rem; width: 1.5px; background: var(--hairline-strong); }
.journey li:last-child::after { display: none; }
.journey a { text-decoration: none; color: var(--fg); }
.journey a:hover { color: var(--amber-ink); text-decoration: underline; }
.journey li.is-current::before { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.journey li.is-current a, .journey li.is-current > span { font-weight: 700; }
.journey li.is-soon { color: var(--fg-soft); }
.journey li.is-soon::before { border-style: dashed; }

/* --- Prose ---------------------------------------------------------------- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: var(--step-3); margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--hairline-strong); }
.prose h2:first-child, .prose > .answer-box + h2, .prose > h2.no-rule { margin-top: var(--space-6); padding-top: 0; border-top: 0; }
.prose h3 { font-size: var(--step-2); margin-top: var(--space-6); }
.prose h4 { font-size: var(--step-1); margin-top: var(--space-5); }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 var(--space-4); }
.prose li { margin-bottom: 0.4rem; }
.prose li > p { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--amber-ink); font-weight: 700; }
.prose strong { font-weight: 650; }
.prose blockquote { margin: var(--space-5) 0; padding-left: var(--space-5); border-left: 4px solid var(--amber); color: var(--fg-soft); }

.steps { counter-reset: s; list-style: none; padding: 0 !important; margin: var(--space-5) 0 !important; }
.steps > li { counter-increment: s; position: relative; padding: 0.9rem 1rem 0.9rem 3.6rem; margin: 0 0 0.6rem; background: var(--paper-white); border: 1px solid var(--hairline-strong); border-radius: var(--radius); }
.steps > li::before { content: counter(s); position: absolute; left: 1rem; top: 0.8rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--ink); color: var(--parchment); font-weight: 700; display: grid; place-items: center; font-size: 0.95rem; }
.steps > li::marker { content: none; }
.steps > li p:last-child { margin-bottom: 0; }

.answer-box {
  background: var(--ink); color: var(--on-ink); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  margin: 0 0 var(--space-6); border-left: 6px solid var(--amber);
}
.answer-box__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin: 0 0 var(--space-2); }
.answer-box p:last-child { margin-bottom: 0; }
.answer-box p { font-size: var(--step-1); line-height: 1.5; color: var(--parchment); }

.takeaways { background: var(--paper-white); border: 1px solid var(--hairline-strong); border-radius: var(--radius-lg); padding: var(--space-5); margin: 0 0 var(--space-6); }
.takeaways h2 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-deep); border: 0 !important; margin: 0 0 var(--space-3) !important; padding: 0 !important; }
.takeaways ul { margin: 0; padding-left: 1.2rem; }
.takeaways li { margin-bottom: 0.45rem; }
.takeaways li::marker { color: var(--sage); }

.callout { border-radius: var(--radius); padding: var(--space-4) var(--space-5); margin: var(--space-5) 0; border: 1px solid var(--hairline-strong); border-left-width: 5px; background: var(--paper-white); }
.callout > :last-child { margin-bottom: 0; }
.callout__title { font-weight: 700; margin-bottom: var(--space-2); font-family: var(--font-display); font-size: 1.15rem; }
.callout--pastoral { border-left-color: var(--sage); background: #f2f0e0; }
.callout--warning { border-left-color: #9a3b2c; background: #f8ece4; }
.callout--hope { border-left-color: var(--amber); background: #f8efd9; }
.callout--note { border-left-color: var(--ink); }

.script { background: #f2f0e0; border: 1px solid #cfd6bf; border-radius: var(--radius); padding: var(--space-4) var(--space-5); margin: var(--space-5) 0; position: relative; }
.script__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: var(--space-2); }
.script p { font-size: 1.05rem; }
.script > :last-child { margin-bottom: 0; }
.script p:not(.script__label) { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.5; }

.scripture { margin: var(--space-5) 0; padding: var(--space-4) var(--space-5); background: var(--paper-white); border: 1px solid var(--hairline-strong); border-left: 5px solid var(--amber); border-radius: var(--radius); }
.scripture blockquote { margin: 0; padding: 0; border: 0; color: var(--fg); }
.scripture p { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.55; margin: 0; }
.scripture figcaption { margin-top: var(--space-2); font-size: 0.9rem; font-weight: 700; color: var(--amber-ink); letter-spacing: 0.02em; }

.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.15rem 0.55rem; border-radius: 999px; vertical-align: 0.1em; white-space: nowrap; border: 1px solid transparent; }
.tag--biblical { background: #efe1c1; color: #5c3f10; border-color: #d9c28a; }
.tag--research { background: #dfe8f3; color: #1d3a5c; border-color: #b7c9de; }
.tag--expert { background: #e6e1f0; color: #3b2f63; border-color: #c6bde0; }
.tag--pastoral { background: #dfe9dd; color: #2f4a36; border-color: #b7ccb5; }
.tag--recommendation { background: var(--ink); color: var(--parchment); }

.editor-note { border: 2px dashed #b6532f; background: #fdf1e9; border-radius: var(--radius); padding: 0.75rem 1rem; margin: var(--space-5) 0; font-size: 0.95rem; color: #5b2a15; }
.editor-note__label { font-weight: 800; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 0.25rem; }
.editor-note > :last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: var(--space-5) 0; border: 1px solid var(--hairline-strong); border-radius: var(--radius); background: var(--paper-white); -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.97rem; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--hairline); }
.prose th { background: var(--parchment-deep); font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 600; }

/* --- FAQ ------------------------------------------------------------------ */
.faq { margin-top: var(--space-8); }
.faq h2 { font-size: var(--step-3); }
.faq details { border-bottom: 1px solid var(--hairline-strong); }
.faq details:first-of-type { border-top: 1px solid var(--hairline-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2.25rem 1rem 0; font-weight: 650; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.85rem; font-size: 1.5rem; line-height: 1; color: var(--amber-ink); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 var(--space-4); max-width: var(--measure); }
.faq__a > :last-child { margin-bottom: 0; }

/* --- Sources, related, review --------------------------------------------- */
.sources { margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--hairline-strong); font-size: 0.95rem; }
.sources h2 { font-size: var(--step-2); }
.sources ul { list-style: none; padding: 0; margin: 0 0 var(--space-4); }
.sources li { padding: 0.4rem 0; display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: baseline; }
.esv-notice { font-size: 0.85rem; color: var(--fg-soft); margin-top: var(--space-4); }

.related { margin-top: var(--space-8); }
.related h2 { font-size: var(--step-2); }
.related-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
@media (min-width: 40em) { .related-list { grid-template-columns: repeat(2, 1fr); } }
.related-list a, .related-list .is-soon { display: block; height: 100%; padding: 1rem 1.1rem; border: 1px solid var(--hairline-strong); border-radius: var(--radius); background: var(--paper-white); text-decoration: none; color: var(--fg); }
.related-list a:hover { border-color: var(--amber); box-shadow: var(--shadow-sm); }
.related-list strong { display: block; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.25; margin-bottom: 0.25rem; }
.related-list span { font-size: 0.92rem; color: var(--fg-soft); }
.related-list .is-soon { border-style: dashed; background: transparent; color: var(--fg-soft); }
.related-list .is-soon em { font-size: 0.85rem; }

.pager { display: grid; gap: var(--space-3); margin-top: var(--space-7); }
@media (min-width: 40em) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { display: block; padding: 1rem 1.2rem; border: 1px solid var(--hairline-strong); border-radius: var(--radius); background: var(--paper-white); text-decoration: none; color: var(--fg); }
.pager a:hover { border-color: var(--amber); }
.pager small { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: var(--sage-deep); margin-bottom: 0.2rem; }
.pager a strong { font-family: var(--font-display); font-size: 1.1rem; }
.pager .next { text-align: right; }

.facts { display: grid; gap: 0; margin: var(--space-5) 0; border: 1px solid var(--hairline-strong); border-radius: var(--radius-lg); background: var(--paper-white); overflow: hidden; }
.facts div { display: grid; gap: 0.15rem; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--hairline); }
.facts div:last-child { border-bottom: 0; }
@media (min-width: 40em) { .facts div { grid-template-columns: 13rem 1fr; gap: 1rem; } }
.facts dt { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage-deep); }
.facts dd { margin: 0; }
.pending { color: var(--fg-soft); font-style: italic; }

/* --- Lists of resources (pillar pages, search, FAQ hub) ------------------- */
.group { margin-bottom: var(--space-7); }
.group > h2 { font-size: var(--step-2); margin-bottom: var(--space-4); }
.group__lede { color: var(--fg-soft); margin: -0.5rem 0 var(--space-4); max-width: 62ch; }
.resource-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
@media (min-width: 48em) { .resource-list { grid-template-columns: repeat(2, 1fr); } }
.resource-list--single { grid-template-columns: 1fr !important; }
.resource { display: block; height: 100%; padding: 1.1rem 1.25rem; border: 1px solid var(--hairline-strong); border-radius: var(--radius); background: var(--paper-white); text-decoration: none; color: var(--fg); }
a.resource:hover { border-color: var(--amber); box-shadow: var(--shadow-sm); }
.resource strong { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; margin-bottom: 0.3rem; }
.resource span { color: var(--fg-soft); font-size: 0.95rem; line-height: 1.5; display: block; }
.resource--soon { border-style: dashed; background: transparent; }
.resource--soon strong { color: var(--fg-soft); }
.resource__status { display: inline-block; margin-top: 0.4rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-soft); }

.search-box { display: flex; max-width: 36rem; margin-bottom: var(--space-6); }
.search-box input { flex: 1; min-width: 0; font: inherit; padding: 0.9rem 1.1rem; border: 2px solid var(--ink); border-right: 0; border-radius: 999px 0 0 999px; background: var(--paper-white); color: var(--fg); }
.search-box button { font: 700 1rem var(--font-body); border: 2px solid var(--ink); background: var(--ink); color: var(--parchment); padding: 0 1.4rem; border-radius: 0 999px 999px 0; cursor: pointer; }
.search-box button:hover { background: var(--amber-hover); border-color: var(--amber-hover); }
.search-status { color: var(--fg-soft); min-height: 1.6em; }
[hidden] { display: none !important; }

/* --- Start Here ----------------------------------------------------------- */
.path-links { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: 0.25rem; font-size: 0.95rem; }
.path-links a { font-weight: 600; }
.card--path .path-links a { color: var(--amber-ink); }
.card--path.is-urgent .path-links a { color: #f0c98a; }

/* --- Site footer ---------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-ink-soft); padding-block: var(--space-8) var(--space-6); border-top: 1px solid var(--ink-line); font-size: 0.95rem; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: #f0c98a; text-decoration: underline; }
.footer-grid { display: grid; gap: var(--space-6); margin-bottom: var(--space-7); }
@media (min-width: 40em) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer-brand p { max-width: 32ch; margin-top: var(--space-3); }
.site-footer h2 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.footer-safety { border-top: 1px solid var(--ink-line); padding-top: var(--space-5); font-size: 0.88rem; }
.footer-safety p { max-width: 90ch; margin-bottom: var(--space-3); }

/* --- Print ---------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .draft-bar, .article-aside, .hope, .related, .pager, .nav-toggle { display: none !important; }
  .band--dark { background: none; color: #000; }
  .band--dark h1, .band--dark .lede, .byline, .byline strong { color: #000 !important; }
  body { background: #fff; font-size: 11pt; }
  .article-shell { display: block; }
  a { color: #000; }
}

/* --- Contact form ------------------------------------------------------------ */
.contact-form { max-width: 34rem; margin: var(--space-5) 0; }
.contact-form .form-row { margin-bottom: var(--space-4); }
.contact-form label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.35rem; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--hairline-strong); border-radius: var(--radius);
  background: var(--paper-white); color: var(--fg);
}
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--amber); }
.contact-form button[type="submit"] { margin-top: var(--space-2); }

/* --- Video embeds ----------------------------------------------------------
   16:9 responsive wrapper. Uses youtube-nocookie.com (see video-embed.njk),
   which does not set tracking cookies until the viewer presses play. */
.video-embed { position: relative; width: 100%; padding-top: 56.25%; margin: var(--space-5) 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-md); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- Roadmap placeholders ------------------------------------------------- */
.link-soon { text-decoration: underline dotted var(--hairline-strong); text-underline-offset: 0.2em; color: var(--fg-soft); cursor: help; }
.soon { margin-top: var(--space-6); border: 1px dashed var(--hairline-strong); border-radius: var(--radius); padding: 0.25rem 1.1rem; background: transparent; }
.soon summary { cursor: pointer; font-weight: 650; padding: 0.75rem 0; }
.soon ul { margin: 0 0 var(--space-3); padding-left: 1.2rem; color: var(--fg-soft); columns: 1; }
@media (min-width: 48em) { .soon ul { columns: 2; column-gap: 2rem; } }
.soon li { margin-bottom: 0.3rem; break-inside: avoid; }



.page-hero .hero__breath { margin: 0 0 var(--space-5); }

.group > h3 { font-size: var(--step-1); margin-bottom: var(--space-3); }
