/* 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;
  overflow-wrap: break-word;
  -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-rule.sc-rule--off { display: 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__links a { padding: 8px 0; margin: -8px 0; }
.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: minmax(0, 1fr) auto minmax(0, 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); white-space: nowrap; }
.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%); padding: 12px; margin: -12px; }
.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: minmax(0, 1.25fr) minmax(0, 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, minmax(0, 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, minmax(0, 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, minmax(0, 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, minmax(0, 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-haircell__when { font-size: 13px; letter-spacing: 0.04em; color: var(--sc-accent); margin-top: -4px; }
.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: minmax(0, 1fr) minmax(0, 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-form__intro { margin: 14px 0 0; max-width: 34ch; font-size: 17px; line-height: 1.6; color: var(--sc-muted); }
.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: minmax(0, 1.6fr) minmax(0, 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: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; margin-bottom: 56px; }
.sc-figure--series { height: 360px; }
.sc-staffdetail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 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); line-height: 1.25; max-width: 920px; text-wrap: balance; }
.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, minmax(0, 1fr)); }
  /* The base :last-child span rules assume 3 columns; at 2-up an odd count is
     what leaves a lone last cell, so re-target the full-width span to odd. */
  .sc-hairgrid--3 .sc-haircell:last-child:nth-child(3n+2) { grid-column: auto; }
  .sc-hairgrid--3 .sc-haircell:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .sc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}
/* A long menu (seven or more links) splits around the centered name only on
   wide screens; tighter first, then the menu button takes over. */
@media (max-width: 1320px) { .sc-nav--long .sc-nav__group { gap: 16px; font-size: 14px; letter-spacing: 0.02em; } .sc-nav--long .sc-nav__inner { padding: 0 32px; } }
@media (max-width: 1180px) {
  .sc-nav--long .sc-nav__group { display: none; }
  .sc-nav--long .sc-nav__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; min-height: 76px; }
  .sc-nav--long .sc-navtoggle { display: inline-flex; }
  .sc-nav--long .sc-navpanel { flex-direction: column; background: var(--sc-cream); border-top: 1px solid var(--sc-border); padding: 8px 32px 16px; }
  .sc-nav--long .sc-navpanel.open { display: flex; max-height: calc(100dvh - 76px); overflow-y: auto; }
  .sc-nav--long .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-nav--long .sc-navpanel > a.active { color: var(--sc-accent); }
  .sc-nav--long .sc-navpanel__give { border-bottom: 0 !important; margin-top: 12px; }
}
/* Below the nav's link budget — hamburger + stacked layouts. */
@media (max-width: 900px) {
  .sc-nav__group { display: none; }
  .sc-nav__inner { grid-template-columns: minmax(0, 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; max-height: calc(100dvh - 76px); overflow-y: auto; }
  .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 { grid-template-columns: minmax(0, 1fr); }
  .sc-two--media > .sc-figure { order: -1; }
  .sc-spotlight__media { min-height: 300px; }
  .sc-figure { height: 340px; }
  .sc-hiring { flex-direction: column; align-items: flex-start; gap: 24px; }
  .sc-wordmark__name { white-space: normal; line-height: 1.15; max-width: 80vw; }
  .sc-steps { grid-template-columns: minmax(0, 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, .sc-portraits--3, .sc-portraits--2 { grid-template-columns: minmax(0, 1fr); }
  /* `2 / -1` degenerates to an implicit second column once the grid is 1-up. */
  .sc-hairgrid--3 .sc-haircell:last-child:nth-child(3n+2) { grid-column: auto; }
  .sc-hiring { padding: 32px 24px; }
  .sc-utility { font-size: 12.5px; }
  /* One line on phones: the times shorten, Give stays at the right. */
  .sc-utility__inner { gap: 12px; }
  .sc-utility__meta { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* The gold rules frame the message on wide screens; on a phone they'd wrap
     onto lines of their own, so the message stands centered without them. */
  .sc-annbar__inner { flex-wrap: wrap; text-align: center; gap: 4px 10px; }
  .sc-annbar__inner > .sc-rule { display: none; }
  .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; max-width: 64vw; }
}

/* ── Masthead nav (a church name too long to sit between the links) ──────
   The name takes its own centered row and the links follow in one centered
   row beneath it, so a long name never pushes the links off the screen. */
.sc-nav--masthead .sc-nav__inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 22px; row-gap: 12px; padding-top: 18px; padding-bottom: 16px; }
.sc-nav--masthead .sc-wordmark { order: -1; flex: 0 0 100%; }
.sc-nav--masthead .sc-wordmark__name { white-space: normal; font-size: 26px; line-height: 1.18; max-width: 920px; margin: 0 auto; text-wrap: balance; }
@media (max-width: 1180px) { .sc-nav--masthead.sc-nav--long .sc-wordmark { padding: 0 56px; } }
@media (max-width: 900px) { .sc-nav--masthead .sc-wordmark { padding: 0 56px; } .sc-nav--masthead .sc-nav__inner { padding-top: 14px; padding-bottom: 14px; } }
@media (max-width: 640px) { .sc-nav--masthead .sc-wordmark { padding: 0 36px; } .sc-nav--masthead .sc-wordmark__name { font-size: 17px; max-width: none; } .sc-nav--masthead .sc-wordmark__sub { margin-top: 5px; } }

/* ── Quality pass: empty states, solo layouts, orphans (2026-11-03) ──────── */
/* A list with nothing in it yet: flourish, one warm line, a way forward. */
.sc-emptynote .sc-flourish, .sc-soon .sc-flourish { margin-top: 0; }
.tpl-sanctuary .sc-emptynote__p { font-size: 19px; line-height: 1.65; color: var(--sc-body); max-width: 32em; margin: 22px auto 28px; }
.sc-soon { padding: 12px 0; }
/* No address yet: the invitation stands alone, centered, no decorative map. */
.sc-solo { margin-left: auto; margin-right: auto; max-width: 760px; }
.sc-solo .sc-deflist { align-items: center; }
.sc-solo .sc-deflist__row { align-items: center; }
/* Nothing to put beside the contact form: the form alone, centered. */
.sc-wrap--form { max-width: 640px; margin-left: auto; margin-right: auto; }
/* A group with no photo: no empty frame, a gold rule on top instead. */
.sc-evcard--nophoto { border-top: 3px solid var(--sc-gold); }
/* A series with no artwork: the title block takes the whole row. */
.sc-serieshead__solo { grid-column: 1 / -1; max-width: 760px; }
/* A series with no artwork: the same gold rule as a photo-less group card. */
.sc-seriescard:not(:has(.sc-seriescard__art)) { border-top: 3px solid var(--sc-gold); }
/* Belief cards: a breath between the title and its line. */
.sc-beliefcard h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.25; }
/* Long locations in a card's detail box read left-aligned, not centered. */
.sc-detailbox { text-align: left; }
.sc-detailbox .row { align-items: flex-start; }
.sc-detailbox .ic { margin-top: 3px; }
/* A portrait with no photo: the same soft cream wash as an event's date tile. */
.sc-slot--initials { background: linear-gradient(150deg, var(--sc-cream), var(--sc-slot)); }
/* A sermon with no cover: a plum panel for the play button, not a grey box. */
.sc-spotlight__media:has(> .sc-slot) { background: var(--sc-hero-bg, var(--sc-plum)); }
.sc-spotlight__media > .sc-slot { background: radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--sc-accent) 38%, var(--sc-plum)), var(--sc-plum)); }
.sc-spotlight__media:has(> .sc-slot)::after { background: transparent; }
/* Orphans: a short last row of cards sits centered, not hard left.
   Three across = six tracks, each card spans two. */
@media (min-width: 1025px) {
  .sc-grid-3:not(.sc-grid--1):not(.sc-grid--2):not(.sc-grid--4) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sc-grid-3:not(.sc-grid--1):not(.sc-grid--2):not(.sc-grid--4) > * { grid-column: span 2; }
  .sc-grid-3:not(.sc-grid--1):not(.sc-grid--2):not(.sc-grid--4) > :last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
  .sc-grid-3:not(.sc-grid--1):not(.sc-grid--2):not(.sc-grid--4) > :nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
  /* Four across = eight tracks. */
  .sc-portraits--4 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .sc-portraits--4 > * { grid-column: span 2; }
  .sc-portraits--4 > :last-child:nth-child(4n+1) { grid-column: 4 / span 2; }
  .sc-portraits--4 > :nth-last-child(2):nth-child(4n+1) { grid-column: 3 / span 2; }
  .sc-portraits--4 > :nth-last-child(3):nth-child(4n+1) { grid-column: 2 / span 2; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .sc-grid-3 > :last-child:nth-child(odd):not(:first-child), .sc-portraits--4 > :last-child:nth-child(odd):not(:first-child), .sc-portraits--3 > :last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); }
}
/* Phone: a big team reads two to a row instead of one long column. */
@media (max-width: 640px) {
  .sc-portraits--4, .sc-portraits--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .sc-portraits--4 .sc-portrait__img, .sc-portraits--3 .sc-portrait__img { height: 190px; margin-bottom: 12px; }
  .sc-portraits--4 .sc-slot--initials, .sc-portraits--3 .sc-slot--initials { font-size: 28px; }
  /* The ruled hero label: shorter rules so it stays on one line. */
  .sc-eyebrow--ruled { gap: 10px; letter-spacing: 0.24em; }
  .sc-eyebrow--ruled .sc-rule { width: 22px; }
}

/* ── Stat row + giving card ────────────────────────────────────────────────
   The page editor has always offered welcome/give stats and preset giving
   amounts; this template rendered neither, so a church filled them in and
   nothing appeared. Colours inherit so the same row works on this template's
   light sections and its dark bands. */
.sc-statrow { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 30px; }
.sc-statrow .num { font-family: var(--font-disp); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; color: inherit; }
.sc-statrow .lbl { margin-top: 6px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: inherit; opacity: 0.62; }
.sc-givecard { max-width: 460px; margin: 0 auto; background: var(--sc-ivory); border: 1px solid var(--sc-border); border-radius: 16px; padding: 30px; text-align: center; }
.sc-givecard__h { font-family: var(--font-disp); font-size: 1.5rem; margin: 0 0 18px; }
.sc-givecard__amts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.sc-givecard__amt { border: 1.5px solid var(--sc-border); border-radius: 11px; padding: 13px 0; font-family: var(--font-disp); font-size: 1.15rem; }
.sc-givecard__amt.on { border-color: var(--sc-accent); color: var(--sc-accent); }
.sc-givecard__note { margin: 14px 0 0; font-size: 0.82rem; color: var(--sc-muted); }
@media (max-width: 720px) { .sc-statrow { gap: 26px; } }

/* ── Editor sections (sections.tsx, 2026-11-03) ─────────────────────────────
   Parts the section library needs beyond the legacy pages: paragraphs from
   the editor, count-aware grids, the types Sanctuary never had (quote, next
   steps, wide map), a section on a dark or colored surface, and the record
   pages' parts. Same building blocks, same rhythm. */
.sc-rich p { margin: 0 0 1em; }
.sc-rich p:last-child { margin-bottom: 0; }
.sc-rich a { color: var(--sc-accent-ink, var(--sc-accent)); text-decoration: underline; text-underline-offset: 3px; }
.sc-narrow { max-width: 760px; margin: 0 auto; }
.sc-center .sc-eyebrow--ruled, .sc-narrow.sc-center .sc-eyebrow--ruled { justify-content: center; }

/* Two cream sections in a row share one gap; a record's details sit flush
   under its header. */
.sc-section--cont { padding-top: 0; }
.sc-section--flush { padding-top: 0; }
.sc-section--panel { padding: 0 0 104px; }

/* Welcome banner: the photo (or video) fills a layer under the plum veil;
   the headline's accented ending is set in gold italic. */
.sc-hero__media { position: absolute; inset: 0; }
.sc-hero__media--slot { background: var(--sc-hero-bg); }
.sc-hero__accent { font-style: italic; font-weight: 500; color: var(--sc-gold-light); }
.sc-factsline { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 15px; color: var(--sc-muted); }
.sc-factsline span { display: inline-flex; align-items: center; gap: 8px; }
.sc-factsline svg { width: 15px; height: 15px; color: var(--sc-gold); flex: none; }
.sc-hero .sc-factsline { color: rgba(247, 242, 232, 0.78); margin-top: 6px; }
.sc-hero .sc-factsline svg { color: var(--sc-gold-light); }
.tpl-sanctuary .sc-btn--ondark { background: var(--sc-accent-dk, var(--sc-accent)); color: var(--sc-on-accent-dk, var(--sc-on-accent)); }
.tpl-sanctuary .sc-btn--ondark:hover { background: var(--sc-accent-dk-hover, var(--sc-accent-hover)); color: var(--sc-on-accent-dk, var(--sc-on-accent)); }

/* Page header extras: the accented ending, service facts, a Give button,
   a wide photo under the words. */
.sc-accentword { font-style: italic; color: var(--sc-accent-ink, var(--sc-accent)); }
.sc-pagehead .sc-factsline { margin-top: 26px; }
.sc-pagehead__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.sc-pagehead__photo { margin-top: 56px; height: 440px; }

/* Story: centered with its flourish, heading beside the words, or a wide
   photo below them. */
.sc-story__lead { margin-top: 20px; }
.sc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 64px; align-items: start; }
.sc-split .sc-h2--left { margin-top: 2px; }
.sc-split__body { margin-top: 0; }
.sc-storywide { margin-top: 56px; }
.sc-figure--wide { height: 480px; }

/* Cards: intro under the heading, ivory belief cards, step counts. */
.sc-cards__intro { margin: -20px auto 48px; }
/* As the home's belief cards have always been: centered, the card's own type. */
.sc-beliefcard { padding: 24px; text-align: center; }
.sc-steps.sc-steps--n1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.sc-steps.sc-steps--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
.sc-steps.sc-steps--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1040px; gap: 36px; }

/* Card grids sized to what's in them: one or two sit centered. */
.sc-grid-3.sc-grid--1 { grid-template-columns: minmax(0, 400px); justify-content: center; }
.sc-grid-3.sc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-left: auto; margin-right: auto; }
.sc-grid-3.sc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Sermon library: series and recent rows under the spotlight. */
.sc-listpart { margin-top: 88px; text-align: left; }
.sc-listpart > .sc-eyebrow { margin-bottom: 24px; }
.sc-faqwrap { max-width: 900px; margin: 0 auto; }
.sc-sechead--md { margin-bottom: 24px; }
.sc-form__facts .sc-deflist { margin-bottom: 0; }

/* Quote or verse: an inscription. */
.sc-quote { max-width: 860px; margin: 0 auto; text-align: center; }
.sc-flourish--top { margin: 0 0 34px; }
.sc-rule--gold { width: 50px; background: var(--sc-gold); }
.sc-quote__text { margin: 0 0 30px; font-style: italic; font-weight: 500; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.3; color: var(--sc-plum); text-wrap: balance; }
.sc-quote__by { margin: 0; justify-content: center; }

/* Next steps: hairline cells with a numeral and a link. */
.sc-nextstep { display: flex; flex-direction: column; }
.sc-nextstep__num { font-weight: 500; font-size: 34px; line-height: 1; color: var(--sc-gold); margin-bottom: 14px; }
.sc-nextstep p { margin-bottom: 20px; }
.sc-nextstep__go { margin-top: auto; }
.sc-nextstep__go .sc-textlink { margin-top: 0; }

/* A wide map on its own; the giving card with its numbers above it. */
.sc-map--wide { min-height: 460px; }
.sc-giveset { max-width: 760px; margin: 0 auto; }
.sc-statrow--center { justify-content: center; text-align: center; margin: 0 0 44px; gap: 56px; color: var(--sc-plum); }
.sc-statrow--center .num { color: var(--sc-plum); font-weight: 600; font-size: clamp(36px, 4.4vw, 52px); }
.sc-giveset .sc-givecard { border-radius: 4px; padding: 36px 34px; }
.sc-givecard__h { color: var(--sc-plum); }
.sc-givecard__amts { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.sc-givecard__amt { border-radius: 2px; color: var(--sc-plum); }
.tpl-sanctuary .sc-givecard .sc-btn--block { margin-top: 2px; }

/* Record pages built in the editor: the record's top, then its parts. */
.sc-detail--head { padding: 32px 0 36px; }
.sc-detail--head .sc-video, .sc-detail--head .sc-detail__hero { margin-bottom: 0; }
.sc-detail--head .sc-detail__hero + .sc-detail__body--narrow { margin-top: 40px; }
.sc-detail__lead--last { margin-bottom: 0; }
.sc-detail__hero--last { margin: 28px 0 0; }
.sc-detail__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.sc-narrowcol { margin: 0 auto; }
.sc-related > .sc-eyebrow { margin-bottom: 24px; }
.sc-ghost { margin: 0 0 24px; padding: 18px 20px; border: 1.5px dashed var(--sc-border-2); border-radius: 4px; color: var(--sc-muted); font-size: 15px; }
.is-ghost .sc-facts__v, .is-ghost .sc-fact__v, .sc-ghost--inline { opacity: 0.5; }
.sc-recordempty { padding: 48px 0; }

/* ── A section on a dark surface (the church set it to dark, or a deep
   brand color): Sanctuary's tokens flip, so every part follows. The surface
   color itself arrives as --sc-dk (sections.tsx surfaceVars). */
.tpl-sanctuary .sc-tone-dark {
  --sc-dk: #241419;
  background: var(--sc-dk);
  color: rgba(247, 242, 232, 0.8);
  --sc-plum: #f7f2e8; --sc-ink: #f7f2e8; --sc-body: rgba(247, 242, 232, 0.8); --sc-muted: rgba(247, 242, 232, 0.62);
  --sc-gold: var(--sc-gold-light); --sc-border: rgba(247, 242, 232, 0.16); --sc-border-2: rgba(247, 242, 232, 0.24);
  --sc-cream: var(--sc-dk); --sc-band: var(--sc-dk);
  --sc-ivory: color-mix(in srgb, var(--sc-dk) 90%, #fff); --sc-slot: color-mix(in srgb, var(--sc-dk) 82%, #fff);
  --sc-map: color-mix(in srgb, var(--sc-dk) 88%, #fff); --sc-mapline: rgba(247, 242, 232, 0.1);
}
.tpl-sanctuary .sc-tone-dark .sc-datebadge .m { color: #7a5a2a; }
.tpl-sanctuary .sc-tone-dark .sc-evcard__photo--noimg .sc-datebadge .m { color: var(--sc-accent-ink); }
.tpl-sanctuary .sc-tone-dark .sc-map__pin { color: var(--sc-gold-light); }

/* ── A band the church gave its own color (sections.tsx bandVars): the
   fill is --sc-pk and everything on it --sc-pk-ink; buttons flip to ink
   with the band's color as their label, so they always stand out. */
.sc-picked :is(.sc-giveband, .sc-impactband, .sc-hiring) { background: var(--sc-pk); color: var(--sc-pk-ink); border-color: transparent; }
.sc-picked :is(.sc-giveband, .sc-impactband, .sc-hiring) :is(h1, h2, h3, h4, p, .sc-disp, .sc-rich, .sc-rich *, .sc-giveband__p, .sc-impactcol__p, .sc-hiring__p, .sc-impactcol__pct, .sc-impactcol__h) { color: var(--sc-pk-ink); }
.sc-picked :is(.sc-giveband, .sc-impactband, .sc-hiring) .sc-eyebrow { color: color-mix(in srgb, var(--sc-pk-ink) 72%, transparent); }
.sc-picked :is(.sc-giveband, .sc-impactband, .sc-hiring) .sc-rule { background: color-mix(in srgb, var(--sc-pk-ink) 45%, transparent); }
.tpl-sanctuary .sc-picked :is(.sc-giveband, .sc-impactband, .sc-hiring) .sc-btn:not(.sc-btn--ghost):not(.sc-btn--ghost-light) { background: var(--sc-pk-ink); color: var(--sc-pk); border-color: var(--sc-pk-ink); }
.tpl-sanctuary .sc-picked :is(.sc-giveband, .sc-impactband, .sc-hiring) :is(.sc-btn--ghost, .sc-btn--ghost-light) { background: transparent; color: var(--sc-pk-ink); border-color: color-mix(in srgb, var(--sc-pk-ink) 55%, transparent); }

/* ── The brand color as TEXT reads on every surface: links, the active menu
   item, icons and labels use --sc-accent-ink (the accent shaded until it
   reads), so a bright gold or yellow brand no longer vanishes on cream. */
.tpl-sanctuary :is(.sc-textlink, .sc-annbar__go, .sc-back, .sc-row__icon, .sc-map__pin, .sc-slot--initials, .sc-avatar, .sc-givecard__amt.on, .sc-nav__group a.active, .sc-nav__group a:hover, .sc-navpanel > a.active, a.sc-eyebrow:hover, .sc-sidecard__link:hover) { color: var(--sc-accent-ink, var(--sc-accent)); }
.tpl-sanctuary .sc-detailbox .ic, .tpl-sanctuary .sc-evcard__photo--noimg .sc-datebadge .m { color: var(--sc-accent-ink, var(--sc-accent)); }
.tpl-sanctuary .sc-textlink:hover { color: var(--sc-plum); }
.tpl-sanctuary .sc-givecard__amt.on { border-color: var(--sc-accent-ink, var(--sc-accent)); }
.tpl-sanctuary .sc-btn--ghost-dark { color: var(--sc-accent-ink, var(--sc-accent)); }
.tpl-sanctuary .sc-btn--ghost-dark:hover { color: var(--sc-plum); border-color: var(--sc-accent-ink, var(--sc-accent)); }
/* Plum bands: their buttons use the fill that stands apart from the plum. */
.tpl-sanctuary :is(.sc-giveband, .sc-impactband) .sc-btn:not(.sc-btn--ghost):not(.sc-btn--ghost-light) { background: var(--sc-accent-dk, var(--sc-accent)); color: var(--sc-on-accent-dk, var(--sc-on-accent)); }
.tpl-sanctuary .sc-giveband + .sc-giveband, .tpl-sanctuary .sc-giveband + .sc-impactband, .tpl-sanctuary .sc-impactband + .sc-giveband { border-top: 1px solid rgba(201, 154, 82, 0.28); }
.sc-impactband .sc-impactband__h { color: var(--sc-hero-ink); }

/* Keyboard users can see which field they're in. */
.sc-input:focus-visible { outline: 2px solid var(--sc-accent-ink, var(--sc-accent)); outline-offset: 2px; }
/* Below a short page's footer (a tall screen, or overscroll) stays plum, not white. */
html:has(.tpl-sanctuary), body:has(.tpl-sanctuary) { background: #241419; }

@media (max-width: 1024px) {
  .sc-steps.sc-steps--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-listpart { margin-top: 64px; }
}
@media (max-width: 900px) {
  .sc-split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sc-steps.sc-steps--n2, .sc-steps.sc-steps--n4 { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .sc-pagehead__photo { height: 320px; }
  .sc-figure--wide { height: 340px; }
}
@media (max-width: 640px) {
  .sc-section--cont, .sc-section--flush { padding-top: 0; }
  .sc-section--panel { padding: 0 0 56px; }
  .sc-grid-3.sc-grid--1, .sc-grid-3.sc-grid--2, .sc-grid-3.sc-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .sc-map--wide { min-height: 320px; }
  .sc-pagehead__photo, .sc-figure--wide { height: 260px; }
  .sc-statrow--center { gap: 28px; }
  .sc-cards__intro { margin: -12px auto 36px; }
  .sc-listpart { margin-top: 48px; }
  .sc-row { gap: 16px; }
  .sc-row__date { min-width: 56px; }
  .sc-detail--head { padding: 24px 0 32px; }
  .sc-hero__h { overflow-wrap: anywhere; }
}

/* ── On the editor canvas ───────────────────────────────────────────────
   The header stays put while editing, and the welcome banner's photo fills
   its layer with the photo button in the corner, clear of the words. */
.hs-editing .tpl-sanctuary .sc-topstick, .hs-editing .tpl-sanctuary .sc-nav { position: relative; }
.tpl-sanctuary .sc-hero__media > .hs-photo { position: absolute; inset: 0; }
.tpl-sanctuary .sc-hero__media > .hs-photo img { height: 100%; }
.tpl-sanctuary .sc-hero__media > .hs-photo--empty { border-radius: 0; min-height: 0; }
.tpl-sanctuary .sc-hero__media > .hs-photo .hs-photo__btn,
.tpl-sanctuary .sc-hero__media > .hs-photo--empty .hs-photo__btn { position: absolute; left: auto; right: 28px; bottom: 28px; margin: 0; z-index: 3; transform: none; }
.tpl-sanctuary .sc-hero:hover .sc-hero__media > .hs-photo .hs-photo__btn { opacity: 1; }
@media (max-width: 640px) {
  .tpl-sanctuary .sc-hero__media > .hs-photo .hs-photo__btn,
  .tpl-sanctuary .sc-hero__media > .hs-photo--empty .hs-photo__btn { top: 16px; bottom: auto; right: 16px; }
}
.sc-hero__h.hs-hover > .hs-tools--name { top: 50%; bottom: auto; left: 50%; transform: translate(-50%, -50%); padding-bottom: 0; }
.tpl-sanctuary .sc-hero__h .hs-tools { display: flex; width: max-content; font-size: 12.5px; line-height: 1; font-weight: 500; font-style: normal; font-family: var(--hs-ui, system-ui); letter-spacing: normal; }
.tpl-sanctuary .sc-hero__h .hs-tools .hs-tools__inner { display: inline-flex; }
.tpl-sanctuary .sc-hero__h .hs-tools .hs-tools__note { display: inline; }
.tpl-sanctuary .hs-photo--empty.sc-figure { border-radius: 0; height: 300px; min-height: 0; }
.tpl-sanctuary .hs-photo.sc-figure--wide, .tpl-sanctuary .hs-photo.sc-pagehead__photo { margin-left: 0; margin-right: 0; }
.tpl-sanctuary .hs-add--end { background: var(--sc-cream); }
.tpl-sanctuary .hs-ownempty { background: var(--sc-cream); color: var(--sc-muted); }
.tpl-sanctuary .hs-empty { color: inherit; }
.tpl-sanctuary :is(.sc-form, .sc-subscribe) .hs-fakefield { display: flex; }
.tpl-sanctuary :is(.sc-giveband, .sc-impactband, .sc-tone-dark) .hs-additem { color: #f7f2e8; }
.tpl-sanctuary .sc-hairgrid > .hs-item { background: var(--sc-cream); }
/* A linked eyebrow (a sermon's series) keeps its gold: the template-wide
   `a { color: inherit }` out-specified it. */
.tpl-sanctuary a.sc-eyebrow { color: var(--sc-gold); }
.tpl-sanctuary a.sc-eyebrow:hover { color: var(--sc-accent-ink, var(--sc-accent)); }
.sc-h2.sc-mb-sm { margin-bottom: 22px; }
.sc-form__facts { margin-top: 28px; }

/* Several campuses (2026-11-07): the campus cards take the section's full
   width, one even row, straight on the band (not boxed into the narrow,
   map-less card, which squeezed three into two rows). */
.sc-campuses { max-width: 1100px; margin-left: auto; margin-right: auto; }
