/* Riverbend Community Church (concept). Every selector is scoped to .b-churches.
   System: bone ground, coffee ink, one saturated green for the action and one flat field per page,
   12px corners on every button, card and photograph, a 500-weight display, banded sections. */
.b-churches {
  --b-bg: #e5e1d8; --b-ink: #241915; --b-acc: #2f6e2b; --b-soft: #dad5ca; --b-on: #ffffff;
  --b-d: "Mona Sans", system-ui, sans-serif; --b-t: "Mona Sans", system-ui, sans-serif;
  --paper: #f0efeb; --muted: #4f433b; --acc-d: #245a21; --night: #241915; --on-night: #e8e6e1;
  --r: 12px; --m: clamp(16px, 2.2vw, 32px); --gap: clamp(96px, 11vw, 176px);
  --t1: clamp(36px, 4.1vw, 64px); --t2: clamp(30px, 2.8vw, 44px); --t3: clamp(20px, .55vw + 15px, 23px); --t4: 18px; --t5: 15px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  font-family: var(--b-t); color: var(--b-ink);
}
body.b-churches { background: var(--b-bg); font: 400 var(--t4)/1.55 var(--b-t); letter-spacing: -.01em; caret-color: var(--b-acc); scrollbar-color: var(--muted) var(--b-bg); }
.b-churches ::selection { background: var(--b-acc); color: #fff; }
.b-churches h1, .b-churches h2, .b-churches h3, .b-churches h4 { font-family: var(--b-d); font-weight: 500; letter-spacing: -.03em; line-height: 1.04; margin: 0; text-wrap: balance; color: var(--b-ink); }
.b-churches h1 { font-size: var(--t1); }
.b-churches h2 { font-size: var(--t2); }
.b-churches .rb-ph h1, .b-churches .rb-kh h1, .b-churches .rb-gh h1, .b-churches .rb-gv h1, .b-churches .rb-wh h1 { font-size: clamp(40px, 6.2vw, 100px); line-height: .98; letter-spacing: -.04em; }
.b-churches h3, .b-churches h4 { font-size: var(--t3); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.b-churches p { margin: 0; }
.b-churches main p { max-width: 64ch; }
.b-churches a { text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
.b-churches img { display: block; max-width: 100%; height: auto; }
.b-churches figure { margin: 0; }
.b-churches :focus-visible { outline: 3px solid var(--b-acc); outline-offset: 3px; border-radius: 4px; }
.b-churches .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.b-churches .rb-lead { font-size: var(--t3); line-height: 1.45; max-width: 46ch; }
.b-churches .rb-fine { font-size: var(--t5); color: var(--muted); line-height: 1.45; }
.b-churches #main > section { scroll-margin-top: 80px; }

/* buttons and links: one shape, 12px */
.b-churches .rb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 24px; border: 0; border-radius: var(--r); background: var(--b-acc); color: #fff; font: 600 var(--t4)/1.2 var(--b-t); letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.b-churches .rb-btn:hover { background: var(--acc-d); transform: translateY(-2px); }
.b-churches .rb-btn:active { transform: translateY(0) scale(.98); }
.b-churches .rb-btn--sm { min-height: 44px; padding: 8px 16px; font-size: 16px; }
.b-churches .rb-btn--ink { background: var(--b-ink); } .b-churches .rb-btn--ink:hover { background: #3a2a22; }
.b-churches .rb-btn--light { background: var(--paper); color: var(--b-ink); } .b-churches .rb-btn--light:hover { background: #fff; }
.b-churches .rb-btn--wide { width: 100%; }
.b-churches .rb-tlink { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: 500 var(--t4)/1.3 var(--b-t); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1.5px; cursor: pointer; transition: color .2s; }
.b-churches .rb-tlink:hover { color: var(--b-acc); }

/* header */
.b-churches .rb-top { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 24px; padding: 12px var(--m); background: var(--b-bg); }
.b-churches .rb-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 600; letter-spacing: -.03em; color: var(--b-ink); text-decoration: none; }
.b-churches .rb-mark { width: 1.75em; height: auto; color: var(--b-acc); transition: transform .5s var(--ease); }
.b-churches .rb-logo:hover .rb-mark { transform: translateX(3px); }
.b-churches .rb-nav { display: flex; gap: 4px; margin-left: auto; }
.b-churches .rb-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; white-space: nowrap; border-radius: var(--r); font-size: 16px; font-weight: 500; text-decoration: none; transition: background-color .2s; }
.b-churches .rb-nav a:hover { background: var(--b-soft); }
.b-churches .rb-nav a[aria-current] { text-decoration: underline; text-underline-offset: .35em; }
.b-churches .rb-top__end { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.b-churches .rb-menu { display: none; min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--r); background: var(--b-soft); color: var(--b-ink); font: 600 16px var(--b-t); cursor: pointer; }
@media (max-width: 1080px) {
  .b-churches .rb-top { gap: 12px; }
  .b-churches .rb-top__end { margin-left: auto; }
  .b-churches .rb-menu { display: inline-flex; align-items: center; }
  .b-churches .rb-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--m) 20px; background: var(--paper); }
  .b-churches .rb-nav.is-open { display: flex; }
  .b-churches .rb-nav a { min-height: 52px; font-size: var(--t3); padding: 0 8px; }
}
@media (max-width: 420px) { .b-churches .rb-logo { font-size: var(--t3); } .b-churches .rb-top__end .rb-btn { padding: 8px 12px; } }

/* home hero: a paper sheet beside the place */
.b-churches .rb-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 12px 12px; height: clamp(620px, calc(100svh - 112px), 920px); }
.b-churches .rb-hero__sheet { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 56px clamp(24px, 4vw, 72px); border-radius: var(--r); background: var(--paper); }
.b-churches .rb-hero h1 { max-width: 15ch; color: var(--b-acc); font-size: var(--t1); }
.b-churches .rb-hero__p { max-width: 40ch; margin: 22px 0 30px; }
.b-churches .rb-hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 56px 0 0; max-width: 620px; text-align: left; }
.b-churches .rb-hero__facts dt, .b-churches .rb-ph__facts dt, .b-churches .rb-place__facts dt, .b-churches .rb-faq__facts dt { font-size: var(--t5); color: var(--muted); }
.b-churches .rb-hero__facts dd, .b-churches .rb-ph__facts dd, .b-churches .rb-place__facts dd, .b-churches .rb-faq__facts dd { margin: 2px 0 0; font-size: 16px; font-weight: 500; line-height: 1.35; }
.b-churches .rb-hero__pic { position: relative; overflow: hidden; border-radius: var(--r); background: var(--b-soft); }
.b-churches .rb-hero__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 7.5s linear; }
.b-churches .rb-hero__pic img.is-on { opacity: 1; transform: scale(1); }
.b-churches .rb-hero__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px; background: var(--paper); font-size: var(--t5); font-weight: 500; }
.b-churches .rb-hero__bar a { text-decoration: underline; }
@media (max-width: 820px) {
  .b-churches .rb-hero { grid-template-columns: 1fr; height: auto; }
  .b-churches .rb-hero__pic { height: 56svh; min-height: 300px; }
  .b-churches .rb-hero__sheet { padding: 36px 20px 40px; }
  .b-churches .rb-hero h1 { font-size: clamp(30px, 8vw, 44px); }
  .b-churches .rb-hero .rb-btn { width: 100%; }
  .b-churches .rb-hero__facts { grid-template-columns: 1fr 1fr; margin-top: 32px; gap: 16px; }
  .b-churches .rb-hero__facts div:last-child { grid-column: 1 / -1; }
  .b-churches .rb-hero__bar { flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 16px; }
}

/* how a first Sunday goes: photographs down a diagonal */
.b-churches .rb-diag { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: var(--gap) var(--m) 0; }
.b-churches .rb-diag__h { grid-column: 8 / 13; grid-row: 1; align-self: start; font-size: var(--t1); }
.b-churches .rb-diag__st { display: grid; gap: 24px; align-items: start; }
.b-churches .rb-diag__st img { width: 100%; object-fit: cover; border-radius: var(--r); }
.b-churches .rb-diag__st p { max-width: 36ch; }
.b-churches .rb-diag__st--1 { grid-column: 1 / 8; grid-row: 1; grid-template-columns: 4fr 3fr; }
.b-churches .rb-diag__st--1 img { aspect-ratio: 3 / 4; }
.b-churches .rb-diag__st--2 { grid-column: 6 / 13; grid-row: 1; margin-top: clamp(280px, 30vw, 440px); grid-template-columns: 3fr 4fr; position: relative; z-index: 1; }
.b-churches .rb-diag__st--2 img { aspect-ratio: 1; }
.b-churches .rb-diag__st--3 { grid-column: 3 / 13; grid-row: 2; margin-top: clamp(64px, 8vw, 140px); grid-template-columns: 4fr 5fr; }
.b-churches .rb-diag__st--3 p { grid-column: 1; grid-row: 1; justify-self: end; }
.b-churches .rb-diag__st--3 img { grid-column: 2; grid-row: 1; aspect-ratio: 16 / 10; }
.b-churches .rb-diag b { font-weight: 600; }
@media (max-width: 820px) {
  .b-churches .rb-diag { display: flex; flex-direction: column; gap: 56px; }
  .b-churches .rb-diag__h { font-size: var(--t2); }
  .b-churches .rb-diag__st { display: flex; flex-direction: column; gap: 16px; margin: 0 !important; }
  .b-churches .rb-diag__st--2 { width: 70%; align-self: flex-end; }
  .b-churches .rb-diag__st--3 { width: 84%; }
  .b-churches .rb-diag__st--3 img { order: -1; }
  .b-churches .rb-diag__st--3 p { justify-self: auto; }
}

/* what a Sunday is like: one scene, stepping statements */
.b-churches .rb-scene { position: relative; height: 330vh; margin-top: var(--gap); }
.b-churches .rb-scene__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--night); }
.b-churches .rb-scene__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-churches .rb-scene__stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44%; background: rgba(30, 22, 17, .72); z-index: 1; }
.b-churches .rb-scene__lines { position: absolute; z-index: 2; top: clamp(112px, 15vh, 150px); left: 50%; transform: translateX(-50%); width: min(560px, 90vw); margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; text-align: center; }
.b-churches .rb-scene__lines li, .b-churches .rb-scene__lines h2 { font-size: var(--t3); line-height: 1.3; color: #d9d1c6; font-weight: 400; letter-spacing: -.015em; transition: color .4s; }
.b-churches .rb-scene__lines h2 { display: inline; }
.b-churches .rb-scene__lines li.is-on, .b-churches .rb-scene__lines li.is-on h2 { color: #fff; font-weight: 600; }
.b-churches .rb-scene__lines li.is-on::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 3px; background: #7fc277; vertical-align: .12em; }
.b-churches .rb-scene__pair { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.b-churches .rb-scene__pair img { position: absolute; object-fit: cover; border-radius: var(--r); opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.b-churches .rb-scene__pair.is-on img { opacity: 1; transform: none; }
.b-churches .rb-scene__a { left: 7vw; top: 52%; width: clamp(150px, 14vw, 220px); aspect-ratio: 4 / 5; }
.b-churches .rb-scene__b { right: 7vw; top: 60%; width: clamp(180px, 17vw, 260px); aspect-ratio: 3 / 2; transition-delay: .12s !important; }
.b-churches .rb-scene__marks { position: absolute; inset: 0; pointer-events: none; }
.b-churches .rb-scene__mark { position: absolute; left: 0; width: 1px; height: 38vh; }
.b-churches .rb-scene__mark:nth-child(1) { top: 0; } .b-churches .rb-scene__mark:nth-child(2) { top: 38vh; } .b-churches .rb-scene__mark:nth-child(3) { top: 76vh; }
.b-churches .rb-scene__mark:nth-child(4) { top: 114vh; } .b-churches .rb-scene__mark:nth-child(5) { top: 152vh; } .b-churches .rb-scene__mark:nth-child(6) { top: 190vh; }
@media (max-width: 820px) {
  .b-churches .rb-scene { height: 300vh; }
  .b-churches .rb-scene__stage::before { top: auto; bottom: 0; height: 46%; }
  .b-churches .rb-scene__lines { top: auto; bottom: 28px; left: 16px; transform: none; width: calc(100% - 32px); text-align: left; }
  .b-churches .rb-scene__lines li, .b-churches .rb-scene__lines h2 { font-size: 16px; }
  .b-churches .rb-scene__a { left: auto; right: 16px; top: 16px; width: 44vw; }
  .b-churches .rb-scene__b { display: none; }
}

/* the week: statement, table pushed right */
.b-churches .rb-wk { padding: var(--gap) var(--m) 0; }
.b-churches .rb-wk h2 { font-size: var(--t1); line-height: .98; max-width: 16ch; text-indent: 3vw; }
.b-churches .rb-wk__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: 96px; }
.b-churches .rb-wk__pic { grid-column: 1 / 5; align-self: end; }
.b-churches .rb-wk__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.b-churches .rb-wk__table { grid-column: 6 / 13; display: grid; grid-template-columns: 110px 1fr; align-items: start; }
.b-churches .rb-wk__name { grid-column: 1; grid-row: 1 / span 3; font-size: var(--t5); color: var(--muted); padding-top: 3px; }
.b-churches .rb-wk__grp { grid-column: 2; display: grid; gap: 4px; }
.b-churches .rb-wk__grp + .rb-wk__grp { margin-top: 40px; }
.b-churches .rb-wk__row { display: grid; grid-template-columns: 7.5em 1fr auto; gap: 16px; align-items: baseline; padding: 11px 12px; margin: 0 -12px; border-radius: var(--r); font-size: 16px; text-decoration: none; transition: background-color .2s; }
.b-churches .rb-wk__row:hover { background: var(--b-soft); }
.b-churches .rb-wk__day { color: var(--muted); }
.b-churches .rb-wk__when { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
@media (max-width: 820px) {
  .b-churches .rb-wk h2 { text-indent: 0; font-size: var(--t2); }
  .b-churches .rb-wk__grid { display: flex; flex-direction: column; gap: 40px; margin-top: 40px; }
  .b-churches .rb-wk__pic { order: 2; width: 60%; align-self: flex-end; }
  .b-churches .rb-wk__table { display: block; }
  .b-churches .rb-wk__name { display: none; }
  .b-churches .rb-wk__row { grid-template-columns: 1fr auto; gap: 2px 12px; font-size: 16px; }
  .b-churches .rb-wk__day { grid-column: 1; } .b-churches .rb-wk__when { grid-column: 2; grid-row: 1; } .b-churches .rb-wk__what { grid-column: 1 / -1; }
}

/* the place: wide photo, colour tile, facts */
.b-churches .rb-place { padding: var(--gap) var(--m) 0; }
.b-churches .rb-place h2 { font-size: var(--t1); }
.b-churches .rb-place__lead { margin-top: 24px; max-width: 44ch; font-size: var(--t3); line-height: 1.45; }
.b-churches .rb-place__tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 72px; align-items: start; }
.b-churches .rb-place__photo { grid-column: 1 / 9; position: relative; }
.b-churches .rb-place__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.b-churches .rb-place__note { position: absolute; top: 0; right: 0; width: 320px; padding: 20px; background: var(--b-bg); border-radius: 0 var(--r) 0 var(--r); font-size: 16px; line-height: 1.5; }
.b-churches .rb-place__photo figcaption { margin-top: 10px; font-size: var(--t5); color: var(--muted); }
.b-churches .rb-place__side { grid-column: 9 / 13; display: grid; gap: 24px; }
.b-churches .rb-place__map { display: grid; align-content: space-between; aspect-ratio: 1 / 1.07; padding: 20px; border-radius: var(--r); background: var(--night); color: var(--on-night); }
.b-churches .rb-place__map svg { width: 100%; height: auto; }
.b-churches .rb-place__map circle { fill: #7fc277; }
.b-churches .rb-place__map p { font-size: var(--t5); font-weight: 500; }
.b-churches .rb-place__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin: 0; }
@media (max-width: 820px) {
  .b-churches .rb-place h2 { font-size: var(--t2); }
  .b-churches .rb-place__lead { font-size: 18px; }
  .b-churches .rb-place__tiles { display: flex; flex-direction: column; margin-top: 32px; }
  .b-churches .rb-place__photo img { aspect-ratio: 4 / 3; }
  .b-churches .rb-place__note { position: static; width: auto; padding: 16px 0 0; background: none; }
  .b-churches .rb-place__map { aspect-ratio: 3 / 2; }
}

/* the one green field */
.b-churches .rb-field { margin-top: var(--gap); padding: clamp(64px, 8vw, 120px) var(--m); background: var(--b-acc); color: #fff; }
.b-churches .rb-field h2 { color: #fff; font-size: var(--t1); }
.b-churches .rb-field p { max-width: 52ch; margin-top: 16px; font-size: var(--t3); line-height: 1.45; }
.b-churches .rb-field__in--split { display: grid; grid-template-columns: 5fr 7fr; gap: 24px 48px; align-items: start; }
.b-churches .rb-field__in--split p { margin-top: 0; }
.b-churches .rb-field__in--split p + p, .b-churches .rb-field__in--split p + .rb-btn { margin-top: 16px; }
.b-churches .rb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.b-churches .rb-chips--field { margin-top: 32px; gap: 12px; }
.b-churches .rb-chip { display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 8px 16px; border: 0; border-radius: var(--r); background: var(--b-soft); color: var(--b-ink); font: 500 16px/1.25 var(--b-t); text-align: left; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.b-churches .rb-chip:hover { transform: translateY(-2px); background: #cfc8bb; }
.b-churches .rb-chip[aria-pressed="true"] { background: var(--b-ink); color: var(--paper); }
.b-churches .rb-chip small { font-size: 15px; font-weight: 400; }
.b-churches .rb-chips--field .rb-chip { min-height: 64px; padding: 10px 20px; background: var(--paper); font-size: var(--t3); font-weight: 600; }
.b-churches .rb-chips--field .rb-chip:hover { background: #fff; }
.b-churches .rb-chips--field .rb-chip small { font-size: 15px; font-weight: 500; color: var(--muted); }
@media (max-width: 820px) {
  .b-churches .rb-field h2 { font-size: var(--t2); }
  .b-churches .rb-field__in--split { grid-template-columns: 1fr; }
  .b-churches .rb-chips--field { display: grid; grid-template-columns: 1fr 1fr; }
}

/* plan page */
.b-churches .rb-ph { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 48px; align-items: end; padding: clamp(48px, 7vw, 112px) var(--m) 48px; }
.b-churches .rb-ph .rb-lead { margin-top: 20px; }
.b-churches .rb-ph__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; padding: 24px; border-radius: var(--r); background: var(--b-soft); }
.b-churches .rb-tool { padding: 0 var(--m); }
.b-churches .rb-order { display: grid; grid-template-columns: 4fr 8fr; gap: 24px 48px; padding: var(--gap) var(--m) 0; }
.b-churches .rb-order h2 { grid-column: 1; }
.b-churches .rb-order__p { grid-column: 1; color: var(--muted); }
.b-churches .rb-order__list { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding: 0; list-style: none; display: grid; gap: 28px; }
.b-churches .rb-order__list li { display: grid; grid-template-columns: 5.2em 1fr; gap: 24px; }
.b-churches .rb-order__list time { font-size: var(--t2); font-weight: 500; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--b-acc); }
.b-churches .rb-order__list p { margin-top: 6px; max-width: 54ch; }
@media (max-width: 820px) {
  .b-churches .rb-ph, .b-churches .rb-order { grid-template-columns: 1fr; }
  .b-churches .rb-order__list { grid-column: 1; grid-row: auto; }
  .b-churches .rb-order__list li { grid-template-columns: 1fr; gap: 6px; }
  .b-churches .rb-order__list time { font-size: 28px; }
}

/* questions beside a tall photograph */
.b-churches .rb-faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: var(--gap); padding: 0 var(--m) 80px; background: var(--b-soft); }
.b-churches .rb-faq__t { grid-column: 1 / 6; padding-top: 88px; }
.b-churches .rb-faq__facts { display: grid; gap: 14px; margin: 28px 0 40px; }
.b-churches .rb-faq__facts dd { font-size: var(--t4); }
.b-churches .rb-faq__q { display: grid; gap: 4px; }
.b-churches .rb-faq details { border-radius: var(--r); }
.b-churches .rb-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 10px 0; font-size: var(--t3); font-weight: 500; cursor: pointer; list-style: none; }
.b-churches .rb-faq summary::-webkit-details-marker { display: none; }
.b-churches .rb-faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.b-churches .rb-faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.b-churches .rb-faq details p { padding: 0 0 18px; max-width: 52ch; color: var(--b-ink); font-size: 16px; }
.b-churches .rb-faq__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }
.b-churches .rb-faq__pics { grid-column: 7 / 13; position: relative; }
.b-churches .rb-faq__tall { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 0 0 var(--r) var(--r); }
.b-churches .rb-faq__sq { position: absolute; left: -40px; bottom: -40px; width: 34%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
@media (max-width: 820px) {
  .b-churches .rb-faq { display: flex; flex-direction: column-reverse; padding-top: 0; }
  .b-churches .rb-faq__t { padding-top: 32px; }
  .b-churches .rb-faq__pics { margin: 0 -16px; }
  .b-churches .rb-faq__tall { aspect-ratio: 4 / 5; border-radius: 0; }
  .b-churches .rb-faq__sq { left: auto; right: 16px; bottom: -32px; width: 38%; }
  .b-churches .rb-faq__acts .rb-btn { width: 100%; }
}

/* ---------- signature: plan your visit ---------- */
.b-churches .rb-plan { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: start; font: 400 16px/1.5 var(--b-t); color: var(--b-ink); }
.b-churches .rb-plan__form { grid-column: 1; grid-row: 1 / span 3; display: grid; gap: 28px; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r); background: var(--paper); }
.b-churches .rb-plan fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.b-churches .rb-plan legend, .b-churches .rb-give legend, .b-churches .rb-gf legend { padding: 0; margin-bottom: 12px; font-size: var(--t3); font-weight: 600; letter-spacing: -.02em; }
.b-churches .rb-plan .rb-chip { background: var(--b-bg); min-height: 56px; min-width: calc(50% - 4px); flex: 1 1 calc(50% - 4px); }
.b-churches .rb-plan .rb-chip[aria-pressed="true"] { background: var(--b-ink); }
.b-churches .rb-plan .rb-chip[aria-pressed="true"] small { color: #d6cfc4; }
.b-churches .rb-times { display: grid; gap: 8px; }
.b-churches .rb-time { position: relative; display: block; cursor: pointer; }
.b-churches .rb-time input, .b-churches .rb-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.b-churches .rb-time span { display: block; padding: 14px 16px; border-radius: var(--r); background: var(--b-bg); font-size: 16px; transition: background-color .2s, color .2s; }
.b-churches .rb-time b { display: block; font-size: var(--t3); font-weight: 600; }
.b-churches .rb-time:has(input:checked) span { background: var(--b-ink); color: var(--paper); }
.b-churches .rb-time:has(input:focus-visible) span { outline: 3px solid var(--b-acc); outline-offset: 2px; }
.b-churches .rb-count { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; }
.b-churches .rb-count__l { font-weight: 500; }
.b-churches .rb-step { display: flex; align-items: center; gap: 6px; }
.b-churches .rb-step button { width: 44px; height: 44px; border: 0; border-radius: var(--r); background: var(--b-bg); color: var(--b-ink); font: 600 22px/1 var(--b-t); cursor: pointer; transition: background-color .2s, transform .15s; }
.b-churches .rb-step button:hover { background: var(--b-soft); } .b-churches .rb-step button:active { transform: scale(.94); }
.b-churches .rb-step button:disabled { opacity: .4; cursor: default; }
.b-churches .rb-step output { min-width: 2ch; text-align: center; font-size: var(--t3); font-weight: 600; font-variant-numeric: tabular-nums; }
.b-churches .rb-kids { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.b-churches .rb-kid { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: var(--b-bg); animation: rbIn .35s var(--ease) both; }
.b-churches .rb-kid__room { grid-column: 1 / -1; font-size: var(--t5); color: var(--muted); }
.b-churches .rb-kid__room b { color: var(--b-acc); font-weight: 600; }
.b-churches .rb-plan .rb-fine { margin-top: 8px; }
.b-churches .rb-needs { display: grid; gap: 4px; }
.b-churches .rb-chk { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; cursor: pointer; font-size: 16px; line-height: 1.4; }
.b-churches .rb-chk input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--b-acc); }

.b-churches .rb-walk { grid-column: 2; display: grid; gap: 16px; position: sticky; top: 84px; }
.b-churches .rb-walk__tabs .rb-chip { background: var(--b-soft); }
.b-churches .rb-walk__h { font-size: var(--t3); }
.b-churches .rb-walk__frame { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); background: var(--b-soft); }
.b-churches .rb-walk__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .9s ease, transform 1.4s var(--ease); }
.b-churches .rb-walk__frame img.is-on { opacity: 1; transform: none; }
.b-churches .rb-walk__side { display: grid; gap: 16px; margin-top: 16px; }
.b-churches .rb-walk__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.b-churches .rb-walk__tabs .rb-chip { min-height: 44px; font-size: 15px; flex: 0 0 auto; min-width: 0; }
.b-churches .rb-walk__tabs .rb-chip[aria-selected="true"] { background: var(--b-ink); color: var(--paper); }
.b-churches .rb-walk__now { min-height: 150px; padding: 20px 24px; border-radius: var(--r); background: var(--paper); }
.b-churches .rb-walk__now h4 { margin: 4px 0 8px; font-size: var(--t3); }
.b-churches .rb-walk__now p { max-width: 58ch; }
.b-churches .rb-walk__clock { font-size: var(--t5); font-weight: 600; color: var(--b-acc); font-variant-numeric: tabular-nums; }
.b-churches .rb-walk__now.is-swap { animation: rbIn .45s var(--ease) both; }
.b-churches .rb-walk__nav { display: flex; gap: 8px; }
.b-churches .rb-walk__nav .rb-btn { flex: 1; }
.b-churches .rb-walk__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.b-churches .rb-walk__stop { display: grid; grid-template-columns: 2fr 3fr; gap: 16px; align-items: start; }
.b-churches .rb-walk__stop img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.b-churches .rb-walk__stop p { margin-top: 4px; font-size: 16px; }
.b-churches .rb-plan.is-live .rb-walk__list { display: none; }
.b-churches .rb-plan__save, .b-churches .rb-done { grid-column: 2; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r); }
.b-churches .rb-plan__save { display: grid; gap: 16px; background: var(--paper); animation: rbIn .45s var(--ease) both; }
.b-churches .rb-plan__save[hidden], .b-churches .rb-done[hidden] { display: none; }
.b-churches .rb-plan__save p { max-width: 58ch; }
.b-churches .rb-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.b-churches .rb-fields label, .b-churches .rb-sel, .b-churches .rb-g__ask label { display: grid; gap: 6px; font-size: var(--t5); font-weight: 500; }
.b-churches .rb-plan input:not([type=checkbox]):not([type=radio]), .b-churches .rb-sel select, .b-churches .rb-g__ask input, .b-churches .rb-amt input {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--b-ink); border-radius: 6px; background: #fff; color: var(--b-ink); font: 400 18px/1.3 var(--b-t); } /* taste-skill-ignore: form fields keep their outline */
.b-churches .rb-plan input[aria-invalid="true"] { border: 2px solid #a3261b; } /* taste-skill-ignore: form field error state */
.b-churches .rb-err { color: #8f2016; font-weight: 600; font-size: 16px; }
.b-churches .rb-done { background: var(--night); color: var(--on-night); animation: rbIn .5s var(--ease) both; }
.b-churches .rb-done:focus { outline: none; }
.b-churches .rb-done__big { font-size: var(--t1); font-weight: 500; letter-spacing: -.03em; line-height: 1.04; color: #fff; }
.b-churches .rb-done__who { margin-top: 12px; font-size: var(--t3); line-height: 1.4; color: #fff; max-width: 40ch; }
.b-churches .rb-done__list { margin: 20px 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.b-churches .rb-done__list li { padding-left: 22px; position: relative; }
.b-churches .rb-done__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: #7fc277; }
.b-churches .rb-done__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.b-churches .rb-done .rb-btn { background: var(--paper); color: var(--b-ink); }
.b-churches .rb-done .rb-fine { margin-top: 16px; color: #cfc6ba; }
@keyframes rbIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 980px) {
  .b-churches .rb-plan { grid-template-columns: 1fr; }
  .b-churches .rb-plan__form, .b-churches .rb-walk, .b-churches .rb-plan__save, .b-churches .rb-done { grid-column: 1; grid-row: auto; }
  .b-churches .rb-walk { position: static; }
  .b-churches .rb-fields { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .b-churches .rb-walk__stop { grid-template-columns: 1fr; }
  .b-churches .rb-walk__now { padding: 16px; }
  .b-churches .rb-done__acts .rb-btn { width: 100%; }
}

/* kids page */
.b-churches .rb-kh { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 48px; align-items: center; padding: clamp(40px, 6vw, 96px) var(--m) 0; }
.b-churches .rb-kh .rb-lead { margin: 20px 0 32px; }
.b-churches .rb-kh__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.b-churches .rb-ck { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 48px; align-items: start; padding: var(--gap) var(--m) 0; }
.b-churches .rb-ck__pic { position: sticky; top: 88px; }
.b-churches .rb-ck__pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.b-churches .rb-ck__list { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 28px; }
.b-churches .rb-ck__list p { margin-top: 6px; }
.b-churches .rb-rooms { padding: var(--gap) var(--m) 0; }
.b-churches .rb-rooms__p { margin: 16px 0 40px; max-width: 60ch; }
.b-churches .rb-tablewrap { overflow-x: auto; }
.b-churches .rb-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.b-churches .rb-table th, .b-churches .rb-table td { padding: 16px 16px 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid #c4bcae; }
.b-churches .rb-table thead th { font-size: var(--t5); font-weight: 500; color: var(--muted); }
.b-churches .rb-table tbody th { font-size: var(--t3); font-weight: 600; white-space: nowrap; }
.b-churches .rb-table td:last-child { max-width: 40ch; }
.b-churches .rb-safe { display: grid; grid-template-columns: 4fr 8fr; gap: 24px 48px; margin-top: var(--gap); padding: 96px var(--m); background: var(--paper); }
.b-churches .rb-safe__h p { margin-top: 16px; max-width: 40ch; }
.b-churches .rb-safe__list { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 48px; }
.b-churches .rb-safe__list li { break-inside: avoid; margin-bottom: 24px; }
.b-churches .rb-safe__list b { display: block; font-size: var(--t3); font-weight: 600; letter-spacing: -.02em; margin-bottom: 4px; }
.b-churches .rb-field--kids { margin-top: 0; }
.b-churches .rb-kmore { display: grid; grid-template-columns: 6fr 5fr; gap: 24px 48px; align-items: center; padding: var(--gap) var(--m) var(--gap); }
.b-churches .rb-kmore img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.b-churches .rb-kmore p { margin: 16px 0 20px; max-width: 46ch; }
.b-churches .rb-kmore--bel img { aspect-ratio: 4 / 5; max-height: 640px; }
@media (max-width: 820px) {
  .b-churches .rb-kh, .b-churches .rb-ck, .b-churches .rb-safe, .b-churches .rb-kmore { grid-template-columns: 1fr; }
  .b-churches .rb-kh__pic { order: -1; } .b-churches .rb-kh__pic img { aspect-ratio: 4 / 3; }
  .b-churches .rb-kh .rb-btn { width: 100%; }
  .b-churches .rb-ck__pic { position: static; }
  .b-churches .rb-safe { padding: 64px var(--m); } .b-churches .rb-safe__list { columns: 1; }
  .b-churches .rb-table thead { display: none; }
  .b-churches .rb-table, .b-churches .rb-table tbody, .b-churches .rb-table tr, .b-churches .rb-table th, .b-churches .rb-table td { display: block; }
  .b-churches .rb-table tr { padding: 16px 0; border-bottom: 1px solid #c4bcae; }
  .b-churches .rb-table th, .b-churches .rb-table td { border: 0; padding: 2px 0; }
}

/* watch */
.b-churches .rb-wh { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 48px; align-items: end; padding: clamp(32px, 4vw, 64px) var(--m) 0; }
.b-churches .rb-player { position: relative; }
.b-churches .rb-player img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.b-churches .rb-player__b { position: absolute; left: 24px; bottom: 24px; display: grid; place-items: center; width: 76px; height: 76px; border: 0; border-radius: var(--r); background: var(--b-acc); color: #fff; cursor: pointer; transition: transform .25s var(--ease), background-color .2s; }
.b-churches .rb-player__b:hover { transform: scale(1.06); background: var(--acc-d); }
.b-churches .rb-player__b svg { width: 34px; height: 34px; }
.b-churches .rb-player__note { position: absolute; left: 116px; right: 24px; bottom: 24px; padding: 14px 18px; border-radius: var(--r); background: var(--paper); font-size: 16px; animation: rbIn .4s var(--ease) both; }
.b-churches .rb-wh__meta, .b-churches .rb-series__meta { margin: 12px 0 20px; font-size: var(--t5); font-weight: 500; color: var(--muted); }
.b-churches .rb-wh .rb-lead + p { margin-top: 16px; max-width: 46ch; }
.b-churches .rb-ser { display: grid; gap: clamp(72px, 9vw, 140px); padding: var(--gap) var(--m) 0; }
.b-churches .rb-series { display: grid; grid-template-columns: 5fr 7fr; gap: 24px 48px; align-items: start; }
.b-churches .rb-series--flip figure { order: 2; }
.b-churches .rb-series img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.b-churches .rb-series__t > p:not(.rb-series__meta) { max-width: 54ch; }
.b-churches .rb-series details { margin-top: 24px; }
.b-churches .rb-series summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r); background: var(--b-soft); font-weight: 600; cursor: pointer; list-style: none; transition: background-color .2s; }
.b-churches .rb-series summary::-webkit-details-marker { display: none; }
.b-churches .rb-series summary:hover { background: #cfc8bb; }
.b-churches .rb-msgs { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.b-churches .rb-msgs li { display: grid; grid-template-columns: 4.5em 1fr 7.5em 4.5em; gap: 12px; align-items: baseline; padding: 10px 12px; margin: 0 -12px; border-radius: var(--r); font-size: 16px; }
.b-churches .rb-msgs li:nth-child(odd) { background: var(--paper); }
.b-churches .rb-msg__d, .b-churches .rb-msg__m { font-variant-numeric: tabular-nums; color: var(--muted); }
.b-churches .rb-msg__m { text-align: right; }
.b-churches .rb-msg__t b { font-weight: 600; margin-right: 6px; }
.b-churches .rb-field--watch .rb-btn { margin-top: 24px; }
@media (max-width: 820px) {
  .b-churches .rb-wh, .b-churches .rb-series { grid-template-columns: 1fr; }
  .b-churches .rb-series--flip figure { order: 0; }
  .b-churches .rb-player__b { left: 12px; bottom: 12px; width: 60px; height: 60px; }
  .b-churches .rb-player__note { position: static; margin-top: 12px; }
  .b-churches .rb-msgs li { grid-template-columns: 1fr auto; gap: 2px 12px; }
  .b-churches .rb-msg__t { grid-column: 1 / -1; grid-row: 1; } .b-churches .rb-msg__s { grid-column: 1; }
}

/* groups */
.b-churches .rb-gh { display: grid; grid-template-columns: 8fr 4fr; gap: 24px 48px; align-items: end; padding: clamp(40px, 6vw, 96px) var(--m) 48px; }
.b-churches .rb-gh .rb-lead { margin-top: 20px; }
.b-churches .rb-gh img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.b-churches .rb-gf { display: grid; grid-template-columns: minmax(280px, 4fr) 8fr; gap: 16px 48px; align-items: start; font: 400 16px/1.5 var(--b-t); color: var(--b-ink); }
.b-churches .rb-gf__filters { grid-row: 1 / span 3; position: sticky; top: 88px; display: grid; gap: 24px; padding: 24px; border-radius: var(--r); background: var(--paper); }
.b-churches .rb-gf fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.b-churches .rb-gf .rb-chip { background: var(--b-bg); font-size: 15px; }
.b-churches .rb-gf .rb-chip[aria-pressed="true"] { background: var(--b-ink); }
.b-churches .rb-sel select { appearance: none; background-image: none; cursor: pointer; }
.b-churches .rb-gf__count { font-size: var(--t3); font-weight: 600; letter-spacing: -.02em; }
.b-churches .rb-gf__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.b-churches .rb-g { display: grid; grid-template-columns: 7.5em 1fr auto; gap: 8px 24px; align-items: start; padding: 20px 16px; margin: 0 -16px; border-radius: var(--r); transition: background-color .2s; }
.b-churches .rb-g:hover { background: var(--b-soft); }
.b-churches .rb-g[hidden] { display: none; }
.b-churches .rb-g.is-new { animation: rbIn .4s var(--ease) both; }
.b-churches .rb-g__when b { display: block; font-size: var(--t3); font-weight: 600; letter-spacing: -.02em; }
.b-churches .rb-g__when span { font-variant-numeric: tabular-nums; color: var(--muted); }
.b-churches .rb-g__what p { margin-top: 4px; max-width: 56ch; }
.b-churches .rb-g__meta { font-size: var(--t5); color: var(--muted); }
.b-churches .rb-g__full { display: inline-block; padding: 10px 0; font-size: var(--t5); color: var(--muted); }
.b-churches .rb-g__ask { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: end; gap: 8px 12px; }
.b-churches .rb-g__ask[hidden] { display: none; }
.b-churches .rb-g__ask label { flex: 1 1 220px; }
.b-churches .rb-g__ok { flex-basis: 100%; font-weight: 500; color: var(--b-acc); }
.b-churches .rb-gf__none { display: grid; gap: 12px; justify-items: start; padding: 32px; border-radius: var(--r); background: var(--paper); }
.b-churches .rb-gf__none[hidden] { display: none; }
.b-churches .rb-how { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 48px; align-items: start; padding: var(--gap) var(--m) var(--gap); }
.b-churches .rb-how img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--r); }
.b-churches .rb-how figcaption { margin-top: 10px; font-size: var(--t5); color: var(--muted); }
.b-churches .rb-how__list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.b-churches .rb-how__list b { display: block; font-size: var(--t3); font-weight: 600; letter-spacing: -.02em; }
@media (max-width: 900px) {
  .b-churches .rb-gh, .b-churches .rb-gf, .b-churches .rb-how { grid-template-columns: 1fr; }
  .b-churches .rb-gh figure { order: -1; } .b-churches .rb-gh img { aspect-ratio: 3 / 2; }
  .b-churches .rb-gf__filters { position: static; grid-row: auto; padding: 20px 16px; }
  .b-churches .rb-g { grid-template-columns: 1fr; gap: 6px; }
  .b-churches .rb-g__when { display: flex; gap: 10px; align-items: baseline; }
  .b-churches .rb-g__ask { grid-column: 1; }
}

/* give */
.b-churches .rb-gv { display: grid; grid-template-columns: 6fr 6fr; gap: 24px 64px; align-items: start; padding: clamp(40px, 6vw, 96px) var(--m) 0; }
.b-churches .rb-gv .rb-lead { margin: 20px 0 16px; }
.b-churches .rb-gv__t > p:last-child { max-width: 50ch; }
.b-churches .rb-give { display: grid; gap: 20px; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r); background: var(--paper); font: 400 16px/1.5 var(--b-t); color: var(--b-ink); }
.b-churches .rb-give fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.b-churches .rb-amts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.b-churches .rb-amt { display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 8px; border: 0; border-radius: var(--r); background: var(--b-bg); color: var(--b-ink); font: 600 var(--t3)/1 var(--b-t); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .2s, color .2s, transform .15s; }
.b-churches .rb-amt:hover { background: var(--b-soft); } .b-churches .rb-amt:active { transform: scale(.96); }
.b-churches .rb-amt[aria-pressed="true"] { background: var(--b-ink); color: var(--paper); }
.b-churches .rb-amt--other { gap: 4px; padding: 0 8px; cursor: text; }
.b-churches .rb-amt input { min-height: 40px; padding: 6px 4px; border: 0; background: transparent; font-size: 18px; font-weight: 600; width: 100%; }
.b-churches .rb-amt--other.is-on { background: var(--b-ink); color: var(--paper); } .b-churches .rb-amt--other.is-on input { color: var(--paper); }
.b-churches .rb-amt--other.is-on input::placeholder { color: #cfc6ba; }
.b-churches .rb-switch { position: relative; display: flex; align-items: center; gap: 14px; min-height: 48px; cursor: pointer; }
.b-churches .rb-switch__ui { flex: none; position: relative; width: 52px; height: 30px; border-radius: 999px; background: #b7ae9f; transition: background-color .25s; }
.b-churches .rb-switch__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.b-churches .rb-switch input:checked + .rb-switch__ui { background: var(--b-acc); }
.b-churches .rb-switch input:checked + .rb-switch__ui::after { transform: translateX(22px); }
.b-churches .rb-switch input:focus-visible + .rb-switch__ui { outline: 3px solid var(--b-acc); outline-offset: 3px; }
.b-churches .rb-switch b { font-weight: 600; }
.b-churches .rb-switch [data-monthly-note] { display: block; font-size: var(--t5); color: var(--muted); }
.b-churches .rb-give__done { padding: 16px 18px; border-radius: var(--r); background: var(--night); color: var(--on-night); font-size: 16px; animation: rbIn .4s var(--ease) both; }
.b-churches .rb-give__done b { color: #fff; }
.b-churches .rb-budget { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: var(--gap) var(--m) 0; }
.b-churches .rb-budget__h { grid-column: 1 / 4; }
.b-churches .rb-budget__h p { margin: 16px 0 28px; }
.b-churches .rb-budget__h img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.b-churches .rb-budget__list { grid-column: 5 / 13; columns: 2; column-gap: 64px; }
.b-churches .rb-budget__g { break-inside: avoid; padding-top: 6px; margin-bottom: 48px; }
.b-churches .rb-budget__g h3 { font-size: var(--t3); font-weight: 500; margin-bottom: 18px; }
.b-churches .rb-budget__g ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.b-churches .rb-budget__row { display: flex; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.b-churches .rb-budget__g li p { margin-top: 4px; max-width: 36ch; font-size: 16px; color: var(--muted); }
.b-churches .rb-tax { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; margin-top: var(--gap); padding: 96px var(--m); background: var(--b-soft); }
.b-churches .rb-tax p { margin-top: 16px; max-width: 58ch; }
.b-churches .rb-ways { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.b-churches .rb-ways b { display: block; font-size: var(--t3); font-weight: 600; letter-spacing: -.02em; }
@media (max-width: 900px) {
  .b-churches .rb-gv, .b-churches .rb-tax { grid-template-columns: 1fr; }
  .b-churches .rb-amts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-churches .rb-amt--other { grid-column: 1 / -1; }
  .b-churches .rb-budget { display: flex; flex-direction: column; }
  .b-churches .rb-budget__h img { width: 60%; }
  .b-churches .rb-budget__list { columns: 1; }
  .b-churches .rb-budget__row { font-size: 16px; }
  .b-churches .rb-tax { padding: 64px var(--m); }
}

/* beliefs */
.b-churches .rb-bh { padding: clamp(48px, 7vw, 112px) var(--m) 0; }
.b-churches .rb-bh h1 { font-size: clamp(40px, 6.2vw, 100px); line-height: .98; letter-spacing: -.04em; max-width: 14ch; }
.b-churches .rb-bh .rb-lead { margin-top: 24px; max-width: 52ch; }
.b-churches .rb-bel { display: grid; grid-template-columns: 8fr 4fr; gap: 24px 64px; align-items: start; padding: 96px var(--m) 0; }
.b-churches .rb-bel__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px 48px; }
.b-churches .rb-bel__list h3 { font-size: var(--t2); font-weight: 500; letter-spacing: -.03em; line-height: 1.06; }
.b-churches .rb-bel__list p { margin-top: 12px; max-width: 40ch; }
.b-churches .rb-bel__pic { position: sticky; top: 88px; }
.b-churches .rb-bel__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.b-churches .rb-bel__pic figcaption { margin-top: 10px; font-size: var(--t5); color: var(--muted); }
.b-churches .rb-staff { display: grid; grid-template-columns: 4fr 8fr; gap: 24px 64px; padding: var(--gap) var(--m) 0; }
.b-churches .rb-staff__h p { margin: 16px 0 28px; max-width: 40ch; }
.b-churches .rb-staff__h img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.b-churches .rb-staff__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.b-churches .rb-staff__r { margin: 2px 0 8px !important; font-size: var(--t5); font-weight: 600; color: var(--b-acc); }
.b-churches .rb-staff__list p { max-width: 40ch; }
.b-churches .rb-staff__list .rb-tlink { font-size: 16px; }
@media (max-width: 820px) {
  .b-churches .rb-bel, .b-churches .rb-staff { grid-template-columns: 1fr; padding-top: 56px; }
  .b-churches .rb-bel__list, .b-churches .rb-staff__list { grid-template-columns: 1fr; gap: 32px; }
  .b-churches .rb-bel__list h3 { font-size: 26px; }
  .b-churches .rb-bel__pic { position: static; }
  .b-churches .rb-staff { padding-top: var(--gap); }
}

/* footer: contact as the headline */
.b-churches .rb-foot { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; min-height: 82svh; margin-top: 0; padding: 40px var(--m) 32px; background: var(--night); color: var(--on-night); }
.b-churches .rb-foot__top { display: grid; grid-template-columns: 3fr 3fr 3fr 2fr; gap: 24px; align-items: start; font-size: var(--t5); }
.b-churches .rb-logo--foot { color: var(--on-night); }
.b-churches .rb-logo--foot .rb-mark { color: #7fc277; }
.b-churches .rb-foot__up { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; }
.b-churches .rb-foot__big { display: block; font-size: clamp(42px, 9.4vw, 164px); font-weight: 500; letter-spacing: -.045em; line-height: .95; color: #fff; text-decoration: none; font-variant-numeric: tabular-nums; transition: color .3s; }
.b-churches .rb-foot__big:hover { color: #a9d9a2; }
.b-churches .rb-foot__big span { display: block; }
.b-churches .rb-foot__meta { display: grid; grid-template-columns: 4fr 5fr 4fr; gap: 16px 32px; font-size: 15px; color: #d6d1c9; }
.b-churches .rb-foot__meta nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.b-churches .rb-foot__meta a, .b-churches .rb-foot a { color: inherit; }
.b-churches .rb-foot__meta nav a { min-height: 32px; display: inline-flex; align-items: center; }
@media (max-width: 820px) {
  .b-churches .rb-foot { min-height: 0; gap: 48px; }
  .b-churches .rb-foot__top, .b-churches .rb-foot__meta { grid-template-columns: 1fr; }
  .b-churches .rb-foot__up { justify-self: start; }
  .b-churches .rb-foot__big { font-size: 12vw; }
  .b-churches .rb-foot__meta nav a { min-height: 44px; }
}

/* shared chat, styled in the brand */
body.b-churches .dm-chatbtn > button { border-radius: var(--r); background: var(--b-ink); color: var(--paper); font: 600 16px var(--b-t); min-height: 48px; }
body.b-churches .dm-chatpop { border-radius: var(--r); overflow: hidden; }
.b-churches .wc { border-radius: var(--r); background: var(--paper); color: var(--b-ink); font-family: var(--b-t); overflow: hidden; }
.b-churches .wc__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--b-ink); color: var(--paper); font-size: 15px; font-weight: 600; }
.b-churches .wc__on { font-size: 13px; font-weight: 400; color: #d3cbbf; }
.b-churches .wc__log { display: grid; gap: 8px; padding: 16px; max-height: 300px; min-height: 150px; overflow-y: auto; align-content: start; }
.b-churches .wc__msg { margin: 0; max-width: 86%; padding: 10px 14px; border-radius: var(--r); font-size: 15px; line-height: 1.4; animation: rbIn .3s ease both; }
.b-churches .wc__msg--bot { background: var(--b-bg); justify-self: start; }
.b-churches .wc__msg--me { background: var(--b-acc); color: #fff; justify-self: end; }
.b-churches .wc__typing { color: var(--muted); }
.b-churches .wc__opts { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 16px; }
.b-churches .wc__opt { min-height: 40px; padding: 8px 12px; border: 0; border-radius: var(--r); background: var(--b-soft); color: var(--b-ink); font: 500 14px var(--b-t); cursor: pointer; }
.b-churches .wc__opt:hover { background: #cfc8bb; }

/* entrances keep content visible without script; travel drops under reduced motion */
@media (prefers-reduced-motion: reduce) {
  .b-churches *, .b-churches *::before, .b-churches *::after { animation: none !important; transition-duration: .01ms !important; }
  .b-churches .rb-hero__pic img { transform: none; }
  .b-churches .rb-scene { height: auto; }
  .b-churches .rb-scene__stage { position: relative; height: 100svh; }
  .b-churches .rb-scene__pair img { opacity: 0; } .b-churches .rb-scene__pair.is-on img { opacity: 1; transform: none; }
}
