/* ============================================================
   St. Peter's Anglican Church — Château-d'Oex
   Typography-forward, minimal colour. Church-appropriate.
   ============================================================ */

:root {
  /* Parchment light theme — Design 2 */
  --parchment:    rgb(249, 244, 234);
  --parchment-2:  rgb(243, 236, 222);
  --parchment-3:  rgb(235, 225, 205);
  --ink:          rgb(40, 32, 24);
  --ink-2:        rgb(82, 70, 55);
  --ink-3:        rgb(132, 118, 98);
  --ink-4:        rgb(170, 156, 134);
  --hairline:     rgba(40, 32, 24, 0.12);
  --rule:         rgba(40, 32, 24, 0.12);
  --rule-strong:  rgba(40, 32, 24, 0.30);

  /* Gold accent — ornament only: rules, cross marks, the active nav tile */
  --gold:         rgb(180, 148, 92);
  --gold-soft:    rgb(200, 170, 120);
  --gold-ink:     rgb(126, 98, 48);
  --gold-tint:    rgba(180, 148, 92, 0.15);

  /* Alpine pine — the functional accent: links, buttons, CTAs, and the
     header/footer bookends. See docs/contrast-redesign-spec.md. */
  --pine:          rgb(45, 72, 58);
  --pine-2:        rgb(58, 92, 74);
  --pine-ink:      rgb(35, 57, 46);
  --pine-tint:     rgba(45, 72, 58, 0.10);
  --cream-on-dark: rgb(246, 240, 228);

  /* White content panels on the parchment canvas */
  --panel:         #fff;
  --panel-border:  rgba(40, 32, 24, 0.08);
  --panel-shadow:  0 2px 14px rgba(40, 32, 24, 0.06);

  /* Fonts */
  --font-serif:   'EB Garamond', Georgia, serif;
  --font-display: 'Marcellus', 'EB Garamond', Georgia, serif;
  --font-sans:    'Cabin', 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;

  /* Type scale */
  --fs-xs:   0.8125rem;   /* 13 */
  --fs-sm:   0.9375rem;   /* 15 */
  --fs-base: 1.0625rem;   /* 17 */
  --fs-md:   1.1875rem;   /* 19 — editorial body */
  --fs-lg:   1.375rem;    /* 22 — lede */
  --fs-xl:   1.75rem;     /* 28 */
  --fs-2xl:  2.375rem;    /* 38 */
  --fs-3xl:  3rem;        /* 48 */
  --fs-4xl:  4rem;        /* 64 */

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Widths */
  --measure-narrow: 40rem;    /* ~640px — prose */
  --measure:        48rem;    /* ~768px */
  --page-max:       72rem;    /* ~1152px */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, iframe { max-width: 100%; height: auto; display: block; }
a {
  color: var(--pine-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 120ms ease;
}
a:hover { color: var(--pine-2); }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.wrap-narrow { max-width: var(--measure); }

main { display: block; min-height: 60vh; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.2;
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-4);
}
h1 { font-size: var(--fs-3xl); line-height: 1.1; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }
h1.display { font-size: clamp(var(--fs-3xl), 6vw, var(--fs-4xl)); line-height: 1.05; }

p { margin: 0 0 var(--sp-4); }
.lede { font-size: var(--fs-lg); color: var(--ink-2); font-family: var(--font-serif); font-style: italic; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin: 0 0 var(--sp-3);
}

blockquote {
  margin: var(--sp-6) 0;
  padding: var(--sp-5) var(--sp-6);
  border-left: 3px solid var(--gold);
  background: var(--gold-tint);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  line-height: 1.55;
}
blockquote p { margin: 0 0 var(--sp-3); }
blockquote p:last-child { margin-bottom: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--sp-7) 0;
}

code, kbd { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.9em; }

/* ---------- Prose (article bodies) ---------- */
.prose {
  max-width: var(--measure-narrow);
  margin-left: auto;
  margin-right: auto;
}
.prose h2 { margin-top: var(--sp-8); }
.prose h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: var(--sp-4);
}
.prose p { font-size: var(--fs-md); line-height: 1.7; color: var(--ink-2); }
.prose p:first-of-type { color: var(--ink); }
.prose em, .prose i { font-style: italic; color: var(--ink); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--pine-ink); }

/* ---------- White content panels (fine paper on the parchment canvas) ----------
   The body of every content page sits on a white card; the parchment shows
   at the edges, between the pine bookends. Boxes that were parchment-2
   (bilingual welcome, takeaways) now invert against the white. */
article.prose,
.page > .wrap,
.sermon > .wrap,
.reflection > .wrap {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow);
  padding: var(--sp-7) var(--sp-7);
}
article.prose {
  max-width: calc(var(--measure-narrow) + 2 * var(--sp-7));
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-8);
}
@media (max-width: 640px) {
  article.prose,
  .page > .wrap,
  .sermon > .wrap,
  .reflection > .wrap {
    padding: var(--sp-6) var(--sp-4);
  }
}

/* ---------- Header / masthead + 7-tile nav (pine bookend) ---------- */
.site-header {
  background: var(--pine);
}
/* On home, the masthead is suppressed — give the nav strip breathing room
   from the browser chrome so it doesn't sit flush to the top edge. */
.site-header--home {
  padding-top: 28px;
}
.site-masthead {
  padding: 36px 56px 28px;
  border-bottom: 1px solid rgba(246, 240, 228, 0.16);
  max-width: 1180px;
  margin: 0 auto;
}
.site-masthead-inner {
  display: inline-flex;
  align-items: flex-start;
  gap: 16px;
  text-decoration: none;
  color: var(--cream-on-dark);
}
.site-masthead-cross {
  color: var(--gold-soft);
  flex: 0 0 auto;
  margin-top: 4px;
}
.site-masthead-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-masthead-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.01em;
  color: var(--cream-on-dark);
  line-height: 1.15;
}
.site-masthead-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(246, 240, 228, 0.62);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav-tiles {
  display: flex;
  background: var(--pine-ink);
  border-bottom: 2px solid var(--gold);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 56px;
}
.site-nav-tile {
  padding: 18px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 240, 228, 0.82);
  text-decoration: none;
  border-right: 1px solid rgba(246, 240, 228, 0.10);
  transition: background 160ms ease, color 160ms ease;
}
.site-nav-tile:last-child { border-right: none; }
.site-nav-tile:hover { color: var(--gold-soft); }
.site-nav-tile--active,
.site-nav-tile--active:hover {
  background: var(--gold);
  color: var(--pine-ink);
  font-weight: 600;
}

/* ---------- Hero (home) ---------- */
.hero {
  padding: var(--sp-9) 0 var(--sp-8);
  background: linear-gradient(180deg, var(--parchment) 0%, var(--parchment-2) 100%);
  border-bottom: 1px solid var(--rule);
}
.hero .wrap { max-width: var(--measure); text-align: center; }
.hero h1 { margin-top: var(--sp-3); margin-bottom: var(--sp-4); }

/* Page-top H1s render in gold-ink across the site (echoes the WP H1
   treatment). Scoped to the top-of-page wrapper for each template
   so body-prose H1s in markdown content stay dark. */
.hero h1,
.page-header h1,
.sermon-header h1,
.reflection-header h1 {
  color: var(--gold-ink);
}
.hero .lede { font-size: var(--fs-lg); color: var(--ink-2); margin: 0 auto var(--sp-6); max-width: 32rem; }
.hero-cta { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; margin: 0; }

.btn {
  display: inline-block;
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: 500;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  background: var(--pine);
  color: var(--cream-on-dark);
  border: 1px solid var(--pine);
  transition: background 120ms ease, color 120ms ease;
}
.btn:hover { background: var(--pine-ink); color: var(--cream-on-dark); }
.btn-ghost { background: transparent; color: var(--pine-ink); border: 1px solid var(--pine); }
.btn-ghost:hover { background: var(--pine); color: var(--cream-on-dark); border-color: var(--pine); }

/* ---------- Sermon / Reflection / Page article ---------- */
.sermon, .reflection, .page { padding: var(--sp-8) 0; }
.sermon .wrap, .reflection .wrap, .page .wrap { max-width: var(--measure); }

.breadcrumbs {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: var(--sp-6);
}
.breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-ink); }
.breadcrumbs span[aria-hidden] { margin: 0 var(--sp-2); color: var(--ink-4); }

.sermon-header, .reflection-header, .page-header {
  text-align: center;
  margin-bottom: var(--sp-7);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--rule);
}
.sermon-header h1, .reflection-header h1, .page-header h1 {
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.sermon-meta, .reflection-meta {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  margin: 0;
}
.sermon-meta span, .reflection-meta span { margin: 0 var(--sp-2); }

/* Sermon "Watch on YouTube" CTA — at the foot, after the transcript */
.sermon-video { margin: var(--sp-7) 0 var(--sp-4); text-align: center; }
.sermon-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-base);
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--pine);
  padding: 17px 34px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(40, 32, 24, 0.18);
  transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.sermon-cta:hover {
  background: var(--pine-ink);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(40, 32, 24, 0.24);
}
.sermon-cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sermon-cta-icon { width: 18px; height: 18px; flex: 0 0 auto; }
@media (max-width: 560px) {
  .sermon-cta { display: flex; justify-content: center; padding: 18px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .sermon-cta { transition: none; }
  .sermon-cta:hover { transform: none; }
}

/* Hide the sermon Introduction from viewers but keep it for SEO / screen readers. */
.sermon-body > h2:first-of-type,
.sermon-body > h2:first-of-type + p {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Visit us — small illustration beside the address */
.visit-block {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
  margin-top: var(--sp-3);
}
.visit-illustration {
  flex: 0 0 auto;
  margin: 0;
  max-width: 280px;
}
.visit-illustration img {
  width: 100%;
  height: auto;
  opacity: 0.9;
  mix-blend-mode: multiply;
}
@media (max-width: 640px) {
  .visit-illustration { max-width: 220px; margin: 0 auto; }
  .visit-block { justify-content: center; text-align: center; }
}

.featured-image { margin: 0 0 var(--sp-7); }
.featured-image img { width: 100%; height: auto; }

/* Key takeaways */
.takeaways {
  background: var(--parchment-2);
  border: 1px solid var(--rule);
  padding: var(--sp-5) var(--sp-6);
  margin: 0 auto var(--sp-7);
  max-width: var(--measure-narrow);
}
.takeaways h2 { margin: 0 0 var(--sp-4); font-size: var(--fs-lg); }
.takeaways h2::before { display: none; }
.takeaways ol {
  margin: 0;
  padding-left: var(--sp-5);
  font-family: var(--font-serif);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--ink-2);
}
.takeaways li + li { margin-top: var(--sp-3); }

/* Chapters — hidden site-wide; YouTube player already shows chapter markers */
.chapters { display: none; }
.chapters--unused {
  margin: var(--sp-8) auto;
  max-width: var(--measure-narrow);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--rule);
}
.chapters ol { list-style: none; padding: 0; margin: 0; }
.chapters li {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-2) 0;
  border-bottom: 1px dotted var(--rule);
  font-size: var(--fs-base);
}
.chapters code { color: var(--ink-3); min-width: 4.5rem; }

/* Topic tags */
.topics { margin: var(--sp-7) 0 0; font-size: var(--fs-sm); }
.topics .label { color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; margin-right: var(--sp-3); font-size: var(--fs-xs); }
.tag {
  display: inline-block;
  padding: 2px var(--sp-3);
  background: var(--parchment-2);
  color: var(--pine-ink);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  margin-right: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.sermon-footer, .reflection-footer {
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--rule);
}

/* Reflection scripture block */
.reflection blockquote.scripture {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-base);
  line-height: 1.6;
}
.scripture-ref {
  font-style: normal;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin: 0 0 var(--sp-3);
  font-family: var(--font-sans);
}
.attribution {
  margin: var(--sp-7) 0;
  padding: var(--sp-4) var(--sp-5);
  border-left: 2px solid var(--rule);
  background: var(--parchment-2);
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
.attribution a { color: var(--gold-ink); }

/* Bilingual welcome box (homepage) */
.bilingual-welcome {
  margin: var(--sp-7) 0;
  padding: var(--sp-5) var(--sp-6);
  background: var(--parchment-2);
  border: 1px solid var(--rule);
}
.bilingual-welcome h3 { margin-top: 0; font-style: italic; }

/* ---------- Archive pages ---------- */
.archive-wrap { padding: var(--sp-7) 0 var(--sp-10); }
.archive-lede {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  color: var(--ink-2);
  margin: var(--sp-3) auto var(--sp-8);
  max-width: 38rem;
  text-align: center;
}
.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.archive-item {
  border-top: 1px solid var(--rule);
  padding: var(--sp-6) 0;
}
.archive-item:last-child { border-bottom: 1px solid var(--rule); }
.archive-meta {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  color: var(--ink-3);
  margin: 0 0 var(--sp-2);
}
.archive-meta span { margin: 0 var(--sp-2); }
.archive-scripture { font-style: italic; }
.archive-title {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  font-weight: 500;
  margin: 0 0 var(--sp-3);
  line-height: 1.25;
}
.archive-title a { color: var(--ink); text-decoration: none; }
.archive-title a:hover { color: var(--gold-ink); }
.archive-excerpt {
  font-size: var(--fs-base);
  color: var(--ink-2);
  margin: 0;
  max-width: 52rem;
}

/* ---------- Archive row list (Design 2 — Sermons.html spec) ---------- */
.archive-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.archive-row {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: 0 2px 10px rgba(40, 32, 24, 0.05);
  transition: box-shadow 160ms ease;
}
.archive-row:hover { box-shadow: 0 4px 18px rgba(40, 32, 24, 0.10); }
.archive-row > article {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 24px 32px;
}

/* Book monogram tile — replaced the featured-image thumbnails (2026-07-09).
   Decorative (aria-hidden in the template); the full book name stays in the
   row's Book facet link. Cross glyph when a sermon has no book. */
.archive-row-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  background: var(--pine-tint);
  border: 1px solid var(--pine);
  text-decoration: none;
}
.archive-row-mark-book {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-ink);
  white-space: nowrap;
}
.archive-row-mark-cross {
  font-size: 26px;
  line-height: 1;
  color: var(--gold-ink);
}

.archive-row-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.archive-row-meta {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.4;
}
.archive-row-meta a {
  color: var(--pine-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 72, 58, 0.35);
}
.archive-row-meta a:hover,
.archive-row-meta a:focus-visible {
  color: var(--pine-2);
  border-bottom-color: var(--pine-2);
}
.archive-row-meta .dot {
  margin: 0 10px;
  color: rgba(40, 32, 24, 0.22);
}

.archive-row-title {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0;
}
.archive-row-title a {
  color: var(--pine-ink);
  text-decoration: none;
}
.archive-row-title a:hover,
.archive-row-title a:focus-visible { color: var(--pine-2); }

.archive-row-facets {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}
.archive-row-facets a {
  color: var(--pine-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 72, 58, 0.35);
}
.archive-row-facets a:hover,
.archive-row-facets a:focus-visible {
  color: var(--pine-2);
  border-bottom-color: var(--pine-2);
}
.archive-row-facets .dot {
  margin: 0 10px;
  color: rgba(40, 32, 24, 0.22);
}

.archive-row-cta {
  align-self: center;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--parchment);
  color: var(--pine-ink);
  border: 1px solid var(--pine);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}
.archive-row-cta:hover,
.archive-row-cta:focus-visible {
  background: var(--pine);
  color: var(--cream-on-dark);
}

/* Archive hero — H1 inherits the site-wide top-H1 styling
   (gold-ink + standard size). The archive-specific treatment
   is the italic lede beneath the title. */
.page-archive .page-header {
  text-align: center;
  margin-bottom: var(--sp-7);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--hairline);
}
.page-archive .archive-lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 32px auto 0;
  max-width: 540px;
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 900px) {
  .archive-row > article {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    padding: var(--sp-4) var(--sp-5);
  }
  .archive-row-mark { display: none; }
  .archive-row-cta { justify-self: start; }
  .page-archive .archive-lede { font-size: 18px; padding: 0 var(--sp-4); }
}

/* ---------- Biblical Reflections archive — a scripture index, not a feed ----------
   A sermon is keyed to a date and a preacher; a reflection is keyed to a passage.
   These rows keep the sermon card but drop the monogram tile and the pill CTA, and
   lead with the passage in serif, so the archive stops reading as a copy of /sermons/.
   Scoped under .page-archive-reflections throughout: the .archive-row* family is
   shared with the sermons archive, the taxonomy archives, and (via .archive-lede) the
   search page. Never edit the base rules.

   The card itself is inherited from .archive-row — do not re-declare it here. */
.page-archive-reflections .archive-row {
  transition: background 140ms ease, box-shadow 160ms ease;
}
/* --gold-tint is translucent, so on hover the page's parchment shows through the card
   instead of the white. That warm cast is the point; a solid fill loses it. */
.page-archive-reflections .archive-row:hover {
  background: var(--gold-tint);
  box-shadow: 0 4px 18px rgba(40, 32, 24, 0.10);
}
/* The grid lives on the <article>, not the <li>. Without collapsing it to one track,
   the removed 76px mark and auto CTA columns leave the text crushed into a sliver. */
.page-archive-reflections .archive-row > article {
  grid-template-columns: 1fr;
  gap: var(--sp-1);
  padding: 24px 32px;
  align-items: start;
}
.page-archive-reflections .archive-row-meta { margin: 0; }
.page-archive-reflections .archive-scripture {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: normal;
  color: var(--gold-ink);
}
.page-archive-reflections .archive-row-title {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.3;
  margin: 2px 0 6px;
}
.page-archive-reflections .archive-row-title a { color: var(--ink); }
.page-archive-reflections .archive-row-title a:hover { color: var(--gold-ink); }
.page-archive-reflections .archive-row-facets {
  font-size: 13px;
  color: var(--ink-3);
}
.page-archive-reflections .archive-topic { color: var(--ink-3); }

@media (max-width: 560px) {
  .page-archive-reflections .archive-row > article { padding: 18px 20px; }
  .page-archive-reflections .archive-row-title { font-size: 20px; }
  .page-archive-reflections .archive-scripture { font-size: 15px; }
}

/* ---------- Newsletter form (Mailchimp embed on /newsletter/) ---------- */
.newsletter-form {
  max-width: 480px;
  margin: 28px 0 36px;
}
.newsletter-form-row { margin-bottom: 16px; }
.newsletter-form-row label {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.newsletter-form-row input[type="email"],
.newsletter-form-row input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-serif);
  font-size: 16px;
  background: var(--parchment);
  border: 1px solid var(--hairline);
  color: var(--ink);
  box-sizing: border-box;
}
.newsletter-form-row input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.newsletter-form-row button { margin-top: 8px; }
.newsletter-form-honeypot {
  position: absolute;
  left: -5000px;
  visibility: hidden;
}
.newsletter-form-note {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 16px 0 0;
  max-width: 480px;
}

/* ---------- Footer (parish letter colophon + copyright strip) ----------
   Pine bookend, mirroring the header. The newsletter button stays GOLD:
   the pine .btn default is invisible on the pine band. */
.site-footer {
  margin-top: var(--sp-9);
  background: var(--pine);
  border-top: none;
  color: rgba(246, 240, 228, 0.55);
  font-size: 13px;
}
.site-footer-letter {
  background: var(--pine);
  border-bottom: 1px solid rgba(246, 240, 228, 0.14);
}
.site-footer-letter-inner {
  max-width: 620px;
  margin: 0 auto;
  padding: 64px var(--sp-4) 56px;
  text-align: center;
}
.site-footer-letter-mark {
  color: var(--gold-soft);
  display: block;
  margin: 0 auto 24px;
}
.site-footer-letter-title {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--cream-on-dark);
  letter-spacing: 0.005em;
  margin: 0 0 14px;
}
.site-footer-letter-body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: rgba(246, 240, 228, 0.72);
  margin: 0 0 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.site-footer-letter-cta { margin: 28px 0 0; }
.site-footer-letter-btn {
  padding: 16px 30px;
  font-size: 14px;
  font-weight: 600;
  background: var(--gold);
  border-color: var(--gold);
}
.site-footer-letter-btn:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}
/* Outranks `.site-footer a` (0-1-1), which would otherwise tint the label gold-on-gold. */
.site-footer a.site-footer-letter-btn,
.site-footer a.site-footer-letter-btn:hover,
.site-footer a.site-footer-letter-btn:focus-visible {
  color: var(--pine-ink);
}
.site-footer-letter-arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.18s ease;
}
.site-footer-letter-btn:hover .site-footer-letter-arrow,
.site-footer-letter-btn:focus-visible .site-footer-letter-arrow {
  transform: translateX(3px);
}
@media (max-width: 720px) {
  .site-footer-letter-inner { padding: 48px var(--sp-4) 40px; }
  .site-footer-letter-title { font-size: 22px; }
  .site-footer-letter-body { font-size: 16px; margin-bottom: 24px; }
  .site-footer-letter-btn { padding: 14px 22px; font-size: 13px; }
}
.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 56px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.site-footer-copy {
  font-family: var(--font-sans);
  color: rgba(246, 240, 228, 0.55);
}
.site-footer-tag {
  font-family: var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 240, 228, 0.55);
}
.site-footer a { color: var(--gold-soft); }

/* ---------- Focus & accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
#main:target, a[href^="#"]:target { scroll-margin-top: var(--sp-8); }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 640px) {
  .site-masthead { padding: 24px var(--sp-4) 20px; }
  .site-masthead-name { font-size: 22px; }
  .site-masthead-sub { font-size: 12px; letter-spacing: 0.14em; }
  .site-nav-tiles {
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-nav-tiles::-webkit-scrollbar { display: none; }
  .site-nav-tile { padding: 14px 14px; font-size: 12px; letter-spacing: 0.1em; white-space: nowrap; flex: 0 0 auto; }
  .site-footer-inner { padding: 20px var(--sp-4); }
  .hero { padding: var(--sp-7) 0 var(--sp-7); }
  h1, h1.display { font-size: clamp(2rem, 8vw, 2.5rem); }
  .sermon .wrap, .reflection .wrap, .page .wrap { padding-left: var(--sp-4); padding-right: var(--sp-4); }
}
