/* Sanctuary ("classic / liturgical") — traditional, symmetric, dignified.
   Serif display (Playfair) + Lora body; oxblood + antique-gold on cream; near-
   square corners with gold hairline rules. FLAT fills only — no shadows,
   gradients, or glows. All scoped to .tpl-sanctuary; must never leak into the
   admin, legacy .church-site, or other templates. Brand skin: only --sc-accent
   (+hover) is church-mappable — the cream canvas stays fixed so a dark brand
   color can't break legibility (build spec §7). The accent hex is written ONCE
   (--sc-accent); everything else routes through the tokens. */

.tpl-sanctuary {
  /* accent (church-mappable) — the one place the oxblood hex is written */
  --sc-accent: #6d2634;
  --sc-accent-hover: #853544;
  /* fixed palette */
  --sc-gold: #a9803f;
  --sc-gold-light: #c99a52;
  --sc-plum: #241419;
  --sc-ink: #2b2420;
  --sc-body: #4a4038;
  --sc-muted: #8a7d6c;
  --sc-cream: #f4efe4;
  --sc-band: #ece3d2;
  --sc-ivory: #faf6ee;
  --sc-border: #ded3bf;
  --sc-border-2: #d3c7b0;
  --sc-slot: #e0d6c2;
  --sc-map: #e6ddca;
  --sc-mapline: #d8ccb6;
  --sc-hero-bg: #20161a;
  --sc-hero-ink: #f7f2e8;
  --sc-on-accent: #ffffff; /* recomputed per-tenant in the Shell by accent luminance */
  /* REQUIRED font indirection (a picked pairing overrides these three) */
  --font-disp: var(--sc-font-disp), 'Playfair Display', Georgia, serif;
  --font-body: var(--sc-font-body), 'Lora', Georgia, serif;
  --font-label: var(--font-body);

  background: var(--sc-cream);
  color: var(--sc-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.tpl-sanctuary * { box-sizing: border-box; }
.tpl-sanctuary img { max-width: 100%; display: block; }
.tpl-sanctuary a { color: inherit; text-decoration: none; }
.tpl-sanctuary p { margin: 0; }
/* Keyboard focus — visible ring on every interactive element (a11y). */
.tpl-sanctuary a:focus-visible, .tpl-sanctuary button:focus-visible, .tpl-sanctuary input:focus-visible, .tpl-sanctuary textarea:focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 2px; }
.sc-giveband a:focus-visible, .sc-impactband a:focus-visible, .sc-hero a:focus-visible, .sc-footer a:focus-visible, .sc-utility a:focus-visible { outline-color: var(--sc-gold-light); }

/* ── Layout primitives ────────────────────────────────────────── */
.sc-wrap { max-width: 1100px; margin: 0 auto; padding: 0 40px; width: 100%; }
.sc-wrap--narrow { max-width: 760px; }
.sc-wrap--faq { max-width: 900px; }
.sc-section { padding: 104px 0; }
.sc-section--tight { padding: 24px 0; }
.sc-section--tight-t { padding: 24px 0 104px; }
.sc-section--tight-b { padding: 104px 0 24px; }
.sc-band { background: var(--sc-band); }
.sc-center { text-align: center; }
/* Compound selectors so this wins over `.sc-h2 { margin: 0 }` (same specificity,
   but .sc-h2 is defined later in the file) — otherwise the utility was silently
   a no-op and section headings sat cramped against their content. */
.sc-mb-lg { margin-bottom: 68px; }
.sc-h2.sc-mb-lg, .sc-impactband__h.sc-mb-lg { margin-bottom: 68px; }
.sc-mb-md { margin-bottom: 24px; }
.sc-mb-sm { margin-bottom: 12px; }
.sc-mt-lg { margin-top: 44px; }
.sc-mt-md { margin-top: 30px; }
.sc-mt-sm { margin-top: 20px; }

/* ── Type ─────────────────────────────────────────────────────── */
.sc-disp { font-family: var(--font-disp); font-weight: 600; color: var(--sc-plum); margin: 0; line-height: 1.12; }
.sc-h1 { font-size: clamp(40px, 5.4vw, 58px); line-height: 1.08; color: var(--sc-plum); max-width: 820px; margin: 0 auto 20px; }
.sc-center .sc-h1 { margin-left: auto; margin-right: auto; }
.sc-h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.12; color: var(--sc-plum); margin: 0; }
.sc-h2--left { text-align: left; }
.sc-h2--sm { font-size: clamp(28px, 3.2vw, 34px); }
.sc-lead { font-size: 20px; line-height: 1.7; color: var(--sc-body); margin: 0; }
.sc-lead--center { max-width: 640px; margin: 0 auto; }
.sc-lead--wide { max-width: 680px; }
.sc-h1 + .sc-lead, .sc-h2 + .sc-lead--center { margin-top: 20px; }
.sc-body { font-size: 18px; line-height: 1.7; color: var(--sc-body); }
.sc-body--lg { line-height: 1.75; margin-top: 20px; }
.sc-muted { color: var(--sc-muted); font-size: 14px; margin: 0; }

.sc-eyebrow { font-family: var(--font-label); font-weight: 500; font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sc-gold); margin-bottom: 16px; }
.sc-eyebrow--ruled { display: flex; align-items: center; gap: 14px; }
.sc-center .sc-eyebrow--ruled { justify-content: center; }
.sc-eyebrow--light { color: var(--sc-gold-light); }
.sc-eyebrow--tight { letter-spacing: 0.2em; margin-bottom: 12px; }
/* Small caption label (detail sidecards, group-card audience) — reference 11px/0.14em. */
.sc-eyebrow--sm { font-size: 11px; letter-spacing: 0.14em; margin-bottom: 12px; }
a.sc-eyebrow { display: inline-block; }
a.sc-eyebrow:hover { color: var(--sc-accent); }

.sc-rule { display: block; height: 1px; width: 40px; background: var(--sc-gold); flex: none; }
.sc-eyebrow--light .sc-rule { background: var(--sc-gold-light); }
.sc-rule--lg { width: 50px; background: var(--sc-border); }

.sc-textlink { display: inline-block; font-family: var(--font-label); font-weight: 500; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-accent); }
.sc-textlink:hover { color: var(--sc-accent-hover); }
.sc-textlink--sm { font-size: 13px; margin-top: 14px; }
.sc-textlink--block { margin-top: 44px; }

/* ── Buttons (near-square, uppercase) ─────────────────────────── */
.tpl-sanctuary .sc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-label); font-weight: 500; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; padding: 14px 28px; border-radius: 2px; border: 1px solid transparent; background: var(--sc-accent); color: var(--sc-on-accent, #fff); cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.tpl-sanctuary .sc-btn:hover { background: var(--sc-accent-hover); color: var(--sc-on-accent, #fff); }
.tpl-sanctuary .sc-btn--sm { padding: 11px 22px; font-size: 13px; letter-spacing: 0.08em; }
.tpl-sanctuary .sc-btn--lg { padding: 15px 34px; font-size: 15px; }
.tpl-sanctuary .sc-btn--block { width: 100%; }
.tpl-sanctuary .sc-btn--ghost { background: transparent; color: var(--sc-hero-ink); border-color: rgba(247, 242, 232, 0.45); }
.tpl-sanctuary .sc-btn--ghost:hover { background: rgba(247, 242, 232, 0.1); color: var(--sc-hero-ink); }
.tpl-sanctuary .sc-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.tpl-sanctuary .sc-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.tpl-sanctuary .sc-btn--ghost-dark { background: transparent; color: var(--sc-accent); border-color: var(--sc-border-2); }
.tpl-sanctuary .sc-btn--ghost-dark:hover { background: transparent; border-color: var(--sc-accent); color: var(--sc-accent-hover); }

/* ── Slots / media ────────────────────────────────────────────── */
.sc-slot { display: block; position: absolute; inset: 0; width: 100%; height: 100%; background: var(--sc-slot); }
.sc-slot--initials { display: flex; align-items: center; justify-content: center; font-family: var(--font-disp); font-weight: 700; font-size: 36px; color: var(--sc-accent); }
.sc-slot--lg { font-size: 56px; }
.sc-figure { position: relative; height: 460px; background: var(--sc-slot); border: 1px solid var(--sc-border-2); overflow: hidden; }
.sc-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Click-to-play video fills the figure (the player root is position:relative). */
.sc-figure__video { width: 100%; height: 100%; }
.sc-avatar { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sc-slot); font-family: var(--font-disp); font-weight: 700; font-size: 17px; color: var(--sc-accent); flex: none; }

.sc-map { position: relative; min-height: 440px; background: var(--sc-map); border: 1px solid var(--sc-border-2); overflow: hidden; }
.sc-map__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--sc-mapline) 1px, transparent 1px), linear-gradient(90deg, var(--sc-mapline) 1px, transparent 1px); background-size: 46px 46px; opacity: 0.7; }
.sc-map__pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); color: var(--sc-accent); }
.sc-map__pin svg { width: 44px; height: 44px; }
.sc-contactside .sc-map { min-height: 280px; }

/* ── Utility bar (plum, above nav) ────────────────────────────── */
.sc-utility { background: var(--sc-plum); color: rgba(244, 239, 228, 0.75); font-size: 14px; letter-spacing: 0.02em; }
.sc-utility__inner { max-width: 1280px; margin: 0 auto; padding: 10px 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sc-utility__links { display: flex; gap: 22px; flex: none; }
.sc-utility a:hover { color: rgba(244, 239, 228, 0.95); }
.sc-utility__give { color: var(--sc-gold-light); }
.sc-utility__give:hover { color: var(--sc-gold); }

/* ── Announcement bar ─────────────────────────────────────────── */
/* Pinned group: bar + nav ride together (the utility bar above scrolls away so
   the pinned header isn't three stacked strips tall). */
.sc-topstick { position: sticky; top: 0; z-index: 50; }
.sc-annbar { background: var(--sc-band); border-top: 1px solid var(--sc-border); border-bottom: 1px solid var(--sc-border); }
.tpl-sanctuary a.sc-annbar__inner { color: var(--sc-plum); }
.sc-annbar__inner--link:hover .sc-annbar__txt { text-decoration: underline; text-underline-offset: 3px; }
.sc-annbar__inner { max-width: 1280px; margin: 0 auto; padding: 11px 56px; display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 13.5px; color: var(--sc-plum); }
.sc-annbar__txt { letter-spacing: 0.02em; }
.sc-annbar__go { color: var(--sc-accent); font-weight: 500; white-space: nowrap; }

/* ── Nav (3-col grid, centered wordmark) ──────────────────────── */
.sc-nav { background: var(--sc-cream); border-bottom: 1px solid var(--sc-border); position: sticky; top: 0; z-index: 40; }
.sc-nav__inner { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 96px; padding: 0 56px; max-width: 1280px; margin: 0 auto; }
.sc-nav__group { display: flex; align-items: center; gap: 22px; font-family: var(--font-body); font-size: 15px; letter-spacing: 0.03em; }
.sc-nav__group--right { justify-content: flex-end; }
.sc-nav__group a { color: var(--sc-ink); }
.sc-nav__group a:hover { color: var(--sc-accent); }
.sc-nav__group a.active { color: var(--sc-accent); }
.sc-nav__give { margin-left: 4px; }
.sc-wordmark { text-align: center; line-height: 1; padding: 0 18px; }
/* Logo sizing that adapts to any uploaded file: normalize on HEIGHT so a small
   or huge source both render at a consistent nav size, and give wide wordmarks
   room (the center grid column is `auto`, so a wider logo just widens it) — a
   tight width cap was forcing `contain` to shrink wide logos well below the
   target height, making them look tiny. object-fit keeps aspect ratio intact. */
/* `.sc-wordmark` prefix so max-width out-specifies `.tpl-sanctuary img
   { max-width: 100% }` (0,1,1) — otherwise the safety cap is ignored and a
   pathologically-wide logo could crowd the nav links. */
.sc-wordmark .sc-wordmark__logo { display: block; margin: 0 auto; height: 66px; width: auto; max-width: min(400px, 44vw); object-fit: contain; }
@media (max-width: 640px) { .sc-wordmark .sc-wordmark__logo { height: 48px; max-width: 64vw; } }
.sc-wordmark__name { display: block; font-family: var(--font-disp); font-weight: 700; font-size: 30px; letter-spacing: 0.02em; color: var(--sc-plum); white-space: nowrap; }
.sc-wordmark__sub { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 7px; }
.sc-wordmark__sub .sc-rule { width: 26px; }
.sc-wordmark__sublabel { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.34em; color: var(--sc-muted); text-transform: uppercase; }
.sc-navtoggle { display: none; background: none; border: 0; color: var(--sc-plum); cursor: pointer; position: absolute; right: 40px; top: 50%; transform: translateY(-50%); }
.sc-navpanel { display: none; }

/* ── Hero ─────────────────────────────────────────────────────── */
.sc-hero { position: relative; min-height: 660px; display: flex; align-items: center; justify-content: center; background: var(--sc-hero-bg); overflow: hidden; }
.sc-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-hero__img--slot { background: var(--sc-hero-bg); }
.sc-hero__overlay { position: absolute; inset: 0; background: rgba(29, 17, 21, 0.6); pointer-events: none; }
.sc-hero__copy { position: relative; z-index: 1; text-align: center; max-width: 760px; padding: 80px 40px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.sc-hero__copy .sc-eyebrow { margin-bottom: 0; }
.sc-hero__h { font-family: var(--font-disp); font-weight: 600; font-size: clamp(40px, 6.4vw, 64px); line-height: 1.08; letter-spacing: 0.005em; color: var(--sc-hero-ink); margin: 0; }
.sc-hero__lead { font-size: 21px; line-height: 1.65; color: rgba(247, 242, 232, 0.85); margin: 0; max-width: 560px; }
.sc-hero__actions { display: flex; gap: 16px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }

/* ── Section head + flourish ──────────────────────────────────── */
.sc-sechead { margin-bottom: 48px; }
.sc-sechead .sc-h2 { margin-top: 4px; }
.sc-flourish { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; }
.sc-flourish__dot { width: 7px; height: 7px; background: var(--sc-gold); transform: rotate(45deg); flex: none; }

/* ── Spotlight (latest / featured sermon) ─────────────────────── */
.sc-spotlight { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: stretch; }
.sc-spotlight__media { position: relative; overflow: hidden; background: var(--sc-slot); min-height: 400px; border: 1px solid var(--sc-border-2); }
.sc-spotlight__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-spotlight__media::after { content: ''; position: absolute; inset: 0; background: rgba(29, 17, 21, 0.3); }
.sc-spotlight__info { display: flex; flex-direction: column; justify-content: center; padding: 8px; text-align: left; }
.sc-spotlight__h { font-family: var(--font-disp); font-weight: 600; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; color: var(--sc-plum); margin: 0 0 16px; }
.sc-spotlight__info .sc-body { margin: 0 0 24px; }
.sc-spotlight__by { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--sc-border-2); margin-bottom: 26px; }
.sc-spotlight__name { display: block; font-size: 16px; color: var(--sc-plum); }
.sc-spotlight__date { display: block; font-size: 15px; color: var(--sc-muted); }
.sc-spotlight__actions { display: flex; align-items: center; gap: 16px; }

.sc-playring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; border: 1.5px solid rgba(247, 242, 232, 0.9); background: rgba(29, 17, 21, 0.35); display: flex; align-items: center; justify-content: center; z-index: 1; }
.sc-playring svg { width: 24px; height: 24px; margin-left: 4px; color: var(--sc-hero-ink); }
.sc-playring--lg { width: 92px; height: 92px; }
.sc-playring--lg svg { width: 32px; height: 32px; margin-left: 5px; }

/* ── Steps (roman numerals) ───────────────────────────────────── */
.sc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; max-width: 960px; margin: 0 auto; }
.sc-steps--mt { margin-top: 52px; }
.sc-step__num { font-family: var(--font-disp); font-weight: 500; font-size: 52px; color: var(--sc-gold); line-height: 1; margin-bottom: 16px; }
.sc-step__h { font-family: var(--font-disp); font-weight: 600; font-size: 26px; color: var(--sc-plum); margin: 0 0 10px; }
.sc-step__p { font-size: 17px; line-height: 1.7; color: var(--sc-body); margin: 0; }

/* ── Grids ────────────────────────────────────────────────────── */
.sc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* hairline "grid cells" (shared 1px borders, not floating cards) */
.sc-hairgrid { display: grid; gap: 1px; background: var(--sc-border); border: 1px solid var(--sc-border); max-width: 1040px; margin: 0 auto; }
.sc-hairgrid--2 { grid-template-columns: repeat(2, 1fr); max-width: 1000px; }
/* Odd count (e.g. 3 values) would leave a dead empty cell in the 2-col grid.
   When the last cell lands alone on its row, span it full width so the grid
   always reads as a complete block. */
.sc-hairgrid--2 .sc-haircell:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sc-hairgrid--3 { grid-template-columns: repeat(3, 1fr); }
/* Same for 3-up: a lone last cell spans the full row; a last row of two fills
   the remaining two columns — so an odd count never leaves a dead cell. */
.sc-hairgrid--3 .sc-haircell:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.sc-hairgrid--3 .sc-haircell:last-child:nth-child(3n+2) { grid-column: 2 / -1; }
.sc-hairgrid--facts { max-width: none; margin: 28px 0; }
.sc-haircell { display: block; background: var(--sc-cream); padding: 40px 34px; text-align: left; }
.sc-haircell--left { text-align: left; }
a.sc-haircell { transition: background 0.15s; }
a.sc-haircell:hover { background: var(--sc-ivory); }
.sc-haircell__h { font-family: var(--font-disp); font-weight: 600; font-size: 24px; color: var(--sc-plum); margin: 0 0 10px; }
.sc-haircell p { font-size: 16px; line-height: 1.7; color: var(--sc-body); margin: 0; }
.sc-haircell .sc-eyebrow { margin-bottom: 8px; }
.sc-haircell--fact { padding: 26px 30px; }
.sc-fact__k { font-family: var(--font-disp); font-weight: 600; font-size: 18px; color: var(--sc-gold); margin-bottom: 4px; }
.sc-fact__v { font-size: 16px; color: var(--sc-plum); }

/* ── Cards (event / group / series — flat ivory, hairline) ────── */
.sc-card { display: flex; flex-direction: column; background: var(--sc-ivory); border: 1px solid var(--sc-border-2); overflow: hidden; }
.sc-evcard__photo { position: relative; height: 210px; background: var(--sc-slot); }
.sc-evcard__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* No-image event: a designed, date-forward panel (soft brand tint + large
   centered date) instead of an empty box — keeps the grid even. */
.sc-evcard__photo--noimg { display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, var(--sc-cream), var(--sc-slot)); border-bottom: 1px solid var(--sc-border); }
/* Parent-scoped so these out-specify the base .sc-datebadge (corner pill) rules
   regardless of source order — the no-image badge becomes a large centered date. */
.sc-evcard__photo--noimg .sc-datebadge { position: static; background: transparent; padding: 0; }
.sc-evcard__photo--noimg .sc-datebadge .m { color: var(--sc-accent); font-size: 13px; letter-spacing: 0.2em; }
.sc-evcard__photo--noimg .sc-datebadge .d { color: var(--sc-plum); font-size: 60px; margin-top: 6px; }
.sc-datebadge { position: absolute; top: 0; left: 0; background: var(--sc-plum); color: var(--sc-cream); padding: 10px 14px; text-align: center; line-height: 1; }
.sc-datebadge .m { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-gold-light); }
.sc-datebadge .d { display: block; font-family: var(--font-disp); font-weight: 600; font-size: 26px; margin-top: 3px; }
.sc-evcard__body { padding: 26px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.sc-evcard__title { flex: 1; }
.sc-evcard__title > .sc-eyebrow { margin-bottom: 6px; }
.sc-evcard__body h3 { font-family: var(--font-disp); font-weight: 600; font-size: 23px; color: var(--sc-plum); margin: 0; line-height: 1.2; }
.sc-detailbox { border: 1px solid var(--sc-border-2); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; background: var(--sc-cream); }
.sc-detailbox .row { display: flex; align-items: center; gap: 9px; }
.sc-detailbox .ic { color: var(--sc-accent); display: flex; flex: none; }
.sc-detailbox .ic svg { width: 15px; height: 15px; }
.sc-detailbox .t { font-size: 14px; color: var(--sc-plum); }
.sc-detailbox .t--muted { color: var(--sc-body); }

.sc-seriescard__art { position: relative; height: 180px; background: var(--sc-slot); }
.sc-seriescard__art--sm { height: 150px; }
.sc-seriescard__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-seriescard__body { padding: 24px; }
.sc-seriescard__h { font-family: var(--font-disp); font-weight: 600; font-size: 22px; color: var(--sc-plum); margin: 0 0 4px; }

/* ── Give / CTA / serve band (plum) ───────────────────────────── */
.sc-giveband { background: var(--sc-plum); color: var(--sc-cream); padding: 110px 0; text-align: center; }
.sc-giveband .sc-wrap { display: flex; flex-direction: column; align-items: center; }
.sc-giveband .sc-eyebrow { margin-bottom: 22px; }
.sc-giveband__h { font-family: var(--font-disp); font-weight: 600; font-size: clamp(32px, 4.5vw, 50px); line-height: 1.1; color: var(--sc-hero-ink); margin: 0 0 20px; max-width: 18ch; }
.sc-giveband__p { font-size: 19px; line-height: 1.7; color: rgba(247, 242, 232, 0.75); margin: 0 0 32px; max-width: 52ch; }
.sc-band__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ── Definition list (location / contact) ────────────────────── */
.sc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sc-two--start { align-items: start; }
.sc-two--media > .sc-figure { order: -1; }
.sc-deflist { display: flex; flex-direction: column; gap: 20px; margin: 24px 0 30px; }
.sc-deflist--mb { margin: 0 0 28px; }
.sc-deflist__row { display: flex; flex-direction: column; gap: 2px; }
.sc-deflist__label { font-family: var(--font-disp); font-weight: 600; font-size: 19px; color: var(--sc-gold); }
.sc-deflist__row > span:last-child { font-size: 17px; color: var(--sc-body); }

/* ── Forms (decorative; POST to forms-api) ────────────────────── */
.sc-input { font-family: var(--font-body); font-size: 16px; color: var(--sc-plum); background: var(--sc-ivory); border: 2px solid var(--sc-border-2); border-radius: 2px; padding: 14px 16px; outline: none; width: 100%; }
.sc-input::placeholder { color: var(--sc-muted); }
.sc-input--area { resize: vertical; min-height: 96px; }
.sc-form { display: flex; flex-direction: column; gap: 14px; }
.sc-formnote { font-size: 13px; color: var(--sc-muted); margin-top: 4px; }
.sc-subscribe { display: flex; gap: 10px; max-width: 480px; margin: 30px auto 0; }
.sc-subscribe .sc-input { flex: 1; }
.sc-subscribe .sc-btn { white-space: nowrap; flex: none; }

/* ── Page head ────────────────────────────────────────────────── */
.sc-pagehead { padding: 80px 0; }

/* ── Portraits (staff / team) ─────────────────────────────────── */
.sc-portraits { display: grid; gap: 24px; justify-content: center; }
/* Count-aware so a lone leader (or two/three) sits CENTERED at a sane width
   instead of stranded in the left cell of a 4-wide grid. 4+ fills the row. */
.sc-portraits--1 { grid-template-columns: minmax(0, 300px); }
.sc-portraits--2 { grid-template-columns: repeat(2, minmax(0, 260px)); }
.sc-portraits--3 { grid-template-columns: repeat(3, minmax(0, 240px)); }
.sc-portraits--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
.sc-portrait { text-align: center; }
.sc-portrait__img { position: relative; height: 250px; background: var(--sc-slot); border: 1px solid var(--sc-border-2); overflow: hidden; margin-bottom: 16px; }
.sc-portrait__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-portrait__name { font-family: var(--font-disp); font-weight: 600; font-size: 19px; color: var(--sc-plum); }
.sc-portrait__role { font-size: 14px; color: var(--sc-muted); margin-top: 2px; }

/* ── Rows (sermon / series / faq lists) ───────────────────────── */
.sc-rows { display: flex; flex-direction: column; }
.sc-row { display: flex; align-items: center; gap: 28px; padding: 24px 0; border-top: 1px solid var(--sc-border-2); text-align: left; }
.sc-rows > .sc-row:last-child, .sc-rows > .sc-faq:last-child { border-bottom: 1px solid var(--sc-border-2); }
.sc-row__date { min-width: 70px; font-size: 14px; color: var(--sc-muted); flex: none; }
.sc-row__roman { min-width: 40px; font-family: var(--font-disp); font-weight: 600; font-size: 20px; color: var(--sc-gold); flex: none; }
.sc-row__main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sc-row__title { font-family: var(--font-disp); font-weight: 600; font-size: 21px; color: var(--sc-plum); }
.sc-row__sub { font-size: 14px; color: var(--sc-muted); }
.sc-row__icon { color: var(--sc-accent); display: flex; flex: none; }
.sc-row__icon svg { width: 18px; height: 18px; }
.sc-rows--faq { margin-top: 8px; }
.sc-faq { padding: 26px 0; border-top: 1px solid var(--sc-border-2); text-align: left; }
.sc-faq__q { font-family: var(--font-disp); font-weight: 600; font-size: 21px; color: var(--sc-plum); margin: 0 0 8px; }
.sc-faq__a { font-size: 16px; line-height: 1.7; color: var(--sc-body); margin: 0; }

/* ── Hiring panel ─────────────────────────────────────────────── */
.sc-hiring { background: var(--sc-band); border: 1px solid var(--sc-border); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.sc-hiring__h { font-family: var(--font-disp); font-weight: 600; font-size: 32px; line-height: 1.1; color: var(--sc-plum); margin: 0 0 10px; }
.sc-hiring__p { font-size: 17px; line-height: 1.7; color: var(--sc-body); margin: 0; max-width: 560px; }
.sc-hiring .sc-btn { white-space: nowrap; flex: none; }

/* ── Impact band (give page) ──────────────────────────────────── */
.sc-impactband { background: var(--sc-plum); color: var(--sc-cream); padding: 104px 0; text-align: center; }
.sc-impactband__h { color: var(--sc-hero-ink); }
.sc-impactcol { text-align: center; }
.sc-impactcol__pct { font-family: var(--font-disp); font-weight: 600; font-size: 46px; color: var(--sc-gold-light); line-height: 1; }
.sc-impactcol__h { font-family: var(--font-disp); font-weight: 600; font-size: 20px; color: var(--sc-hero-ink); margin: 14px 0 8px; }
.sc-impactcol__p { font-size: 15px; line-height: 1.65; color: rgba(247, 242, 232, 0.72); margin: 0; }

.sc-empty { color: var(--sc-muted); padding: 60px 0; font-size: 18px; }

/* ── Detail pages ─────────────────────────────────────────────── */
.sc-detail { padding: 32px 0 88px; }
.sc-back { display: inline-flex; align-items: center; gap: 8px; color: var(--sc-accent); font-size: 14px; letter-spacing: 0.04em; margin-bottom: 32px; }
.sc-back:hover { color: var(--sc-accent-hover); }
.sc-back svg { width: 15px; height: 15px; }
.sc-video { position: relative; aspect-ratio: 16 / 9; background: var(--sc-slot); border: 1px solid var(--sc-border-2); overflow: hidden; margin-bottom: 40px; }
.sc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sc-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-video--link::after, .sc-video--empty::after { content: ''; position: absolute; inset: 0; background: rgba(29, 17, 21, 0.34); }
.sc-video--empty { background: var(--sc-hero-bg); }
.sc-detail__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.sc-detail__main { min-width: 0; }
.sc-detail__title { font-family: var(--font-disp); font-weight: 600; font-size: clamp(32px, 4.4vw, 46px); line-height: 1.08; color: var(--sc-plum); margin: 8px 0 14px; }
.sc-detail__title--lg { font-size: clamp(36px, 5vw, 52px); }
.sc-detail__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 15px; color: var(--sc-muted); margin-bottom: 30px; }
.sc-detail__lead { font-size: 18px; line-height: 1.8; color: var(--sc-body); margin: 0 0 30px; }
.sc-detail__hero { position: relative; height: 420px; background: var(--sc-slot); border: 1px solid var(--sc-border-2); overflow: hidden; margin-bottom: 40px; }
.sc-detail__hero--sm { height: 360px; }
.sc-detail__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-detail__body--narrow { max-width: 760px; }
.sc-detail__related { margin-top: 64px; }
.sc-detail__related .sc-eyebrow { margin-bottom: 24px; }

.sc-prose { color: var(--sc-body); line-height: 1.8; font-size: 17px; }
.sc-prose p { margin: 0 0 16px; }
.sc-prose__h { font-family: var(--font-disp); font-weight: 600; font-size: 24px; color: var(--sc-plum); margin: 28px 0 14px; }
.sc-reflect { margin-top: 8px; }
.sc-reflect ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.9; color: var(--sc-body); }

.sc-sidecard { background: var(--sc-ivory); border: 1px solid var(--sc-border-2); border-radius: 8px; padding: 28px; }
.sc-sidecard--wide { margin-bottom: 28px; }
.sc-sidecard__link { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--sc-plum); padding: 10px 0; }
.sc-sidecard__link:hover { color: var(--sc-accent); }
.sc-facts { display: flex; flex-direction: column; gap: 18px; }
.sc-sidecard .sc-facts { margin-bottom: 24px; }
.sc-facts__row .sc-eyebrow { margin-bottom: 3px; }
.sc-facts__v { font-size: 16px; color: var(--sc-plum); }

.sc-serieshead { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.sc-figure--series { height: 360px; }
.sc-staffdetail { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.sc-staffdetail__photo { position: relative; height: 440px; background: var(--sc-slot); border: 1px solid var(--sc-border-2); overflow: hidden; }
.sc-staffdetail__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-prose--staff { margin-bottom: 8px; }
.sc-staffdetail__sermons { margin-top: 40px; }

/* ── Footer (plum, centered) ──────────────────────────────────── */
.sc-footer { background: var(--sc-plum); color: rgba(244, 239, 228, 0.6); padding: 64px 64px 112px; text-align: center; }
.sc-footer__mark { display: inline-block; font-family: var(--font-disp); font-weight: 700; font-size: 28px; letter-spacing: 0.03em; color: var(--sc-hero-ink); }
.sc-footer__sub { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; }
.sc-footer__sub .sc-rule { width: 26px; }
.sc-footer__sublabel { font-size: 11px; letter-spacing: 0.34em; color: rgba(244, 239, 228, 0.55); text-transform: uppercase; }
/* `.sc-footer` prefix so this out-specifies the template-wide `.tpl-sanctuary p
   { margin: 0 }` reset (0,1,1) — otherwise the `auto` side-margins were zeroed
   and the tagline pinned hard-left instead of centering under the wordmark. */
.sc-footer .sc-footer__tagline { font-family: var(--font-body); font-style: italic; font-size: 16px; color: rgba(244, 239, 228, 0.6); margin: 18px auto 0; max-width: 520px; text-align: center; }
.sc-footer__nav { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; font-size: 15px; letter-spacing: 0.04em; margin: 28px 0 32px; }
.sc-footer__nav a { color: rgba(244, 239, 228, 0.7); }
.sc-footer__nav a:hover { color: var(--sc-hero-ink); }
.sc-footer__bottom { font-size: 14px; color: rgba(244, 239, 228, 0.45); padding-top: 24px; border-top: 1px solid rgba(244, 239, 228, 0.1); }

/* ── Responsive ───────────────────────────────────────────────── */
/* Tablet — ease section rhythm; 3-up → 2-up. */
@media (max-width: 1024px) {
  .sc-section { padding: 76px 0; }
  .sc-giveband, .sc-impactband { padding: 80px 0; }
  .sc-wrap, .sc-nav__inner, .sc-utility__inner, .sc-annbar__inner { padding-left: 32px; padding-right: 32px; }
  .sc-grid-3, .sc-hairgrid--3, .sc-portraits--4, .sc-portraits--3 { grid-template-columns: repeat(2, 1fr); }
  .sc-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
/* Below the nav's link budget — hamburger + stacked layouts. */
@media (max-width: 900px) {
  .sc-nav__group { display: none; }
  .sc-nav__inner { grid-template-columns: 1fr; justify-items: center; min-height: 76px; }
  .sc-navtoggle { display: inline-flex; }
  .sc-navpanel { display: none; flex-direction: column; background: var(--sc-cream); border-top: 1px solid var(--sc-border); padding: 8px 32px 16px; }
  .sc-navpanel.open { display: flex; }
  .sc-navpanel > a { padding: 13px 0; font-size: 16px; letter-spacing: 0.03em; color: var(--sc-ink); border-bottom: 1px solid var(--sc-border); text-align: center; }
  .sc-navpanel > a.active { color: var(--sc-accent); }
  .sc-navpanel__give { border-bottom: 0 !important; margin-top: 12px; }
  .sc-two, .sc-two--media, .sc-spotlight, .sc-detail__grid, .sc-serieshead, .sc-staffdetail, .sc-hiring { grid-template-columns: 1fr; }
  .sc-two--media > .sc-figure { order: -1; }
  .sc-spotlight__media { min-height: 300px; }
  .sc-figure { height: 340px; }
  .sc-hiring { align-items: flex-start; gap: 24px; }
  .sc-steps { grid-template-columns: 1fr; gap: 40px; max-width: 480px; }
}
/* Phone — single column everywhere, tighter rhythm, wrap the bars. */
@media (max-width: 640px) {
  .sc-wrap, .sc-nav__inner, .sc-utility__inner, .sc-annbar__inner, .sc-footer { padding-left: 20px; padding-right: 20px; }
  .sc-navtoggle { right: 20px; }
  .sc-section, .sc-section--tight-t, .sc-section--tight-b { padding: 56px 0; }
  .sc-giveband, .sc-impactband, .sc-pagehead { padding: 56px 0; }
  .sc-grid-3, .sc-hairgrid--2, .sc-hairgrid--3, .sc-portraits--4 { grid-template-columns: 1fr; }
  .sc-utility { font-size: 12.5px; }
  .sc-utility__inner { flex-direction: column; gap: 6px; text-align: center; }
  .sc-annbar__inner { flex-wrap: wrap; }
  .sc-subscribe { flex-direction: column; }
  .sc-hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .sc-hero__actions .sc-btn { width: 100%; }
  .sc-hero { min-height: 540px; }
  .sc-wordmark__name { font-size: 25px; }
}
