/* BFC Ohio site styles. Palette pulled from the BFC M/M patch. */
:root {
  --asphalt: #0c0c0e;
  --asphalt-2: #141418;
  --asphalt-3: #1c1c22;
  --line: #2a2a33;
  --chrome: #c9ccd2;
  --text: #ecedf0;
  --muted: #a3a6ae;
  --red: #d7262e;
  --red-deep: #9e1419;
  --flame: #f28c28;
  --gold: #ffc93c;
  --sky: #4fb3e8;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
  --wrap: 1180px;
  --head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--asphalt);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: #8fd0f3; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.1; letter-spacing: .01em; margin: 0 0 .5em; text-transform: uppercase; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 12px; }
.eyebrow { font: 600 .8rem/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--flame); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--red), var(--flame)); }
.lead { font-size: 1.16rem; color: var(--chrome); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 12, 14, .88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand { flex: none; white-space: nowrap; }
.brand img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); }
.brand strong { display: block; font: 600 1.15rem/1 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.brand span { display: block; font-size: .74rem; color: var(--flame); letter-spacing: .18em; text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; color: var(--chrome); text-decoration: none; font: 500 .9rem/1 var(--head); text-transform: uppercase; letter-spacing: .07em; padding: 10px 9px; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--asphalt-3); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; width: 46px; height: 46px; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }
@media (max-width: 1320px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--asphalt-2); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; max-height: calc(100vh - 72px); overflow-y: auto; transform: translateY(-120%); transition: transform .25s ease; }
  .nav.open { transform: none; }
  .nav a { padding: 15px 10px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; border-bottom: 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .95rem/1 var(--head); text-transform: uppercase; letter-spacing: .1em;
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-fire { background: linear-gradient(135deg, var(--red), var(--flame)); color: #fff; box-shadow: 0 8px 24px rgba(215, 38, 46, .35); }
.btn-fire:hover { color: #fff; }
.btn-ghost { border-color: var(--chrome); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .05); }
.btn-sm { padding: 10px 16px; font-size: .82rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 104px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(242, 140, 40, .22), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(215, 38, 46, .25), transparent 60%),
    linear-gradient(180deg, #121216, var(--asphalt));
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .025) 46px 48px);
}
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero h1 span { background: linear-gradient(90deg, var(--red), var(--flame) 55%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-patch { justify-self: center; position: relative; }
.hero-patch img { width: min(360px, 70vw); border-radius: 50%; box-shadow: 0 0 0 6px var(--asphalt-3), 0 0 0 7px var(--line), 0 30px 80px rgba(242, 140, 40, .25); }
.hero-quote { margin-top: 28px; padding-left: 18px; border-left: 3px solid var(--red); color: var(--muted); font-style: italic; max-width: 54ch; }
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); }
.page-hero .wrap { display: block; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-patch { order: -1; }
  .hero-patch img { width: min(220px, 60vw); }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section.alt { background: var(--asphalt-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 40px; max-width: 760px; }
.section-head.center { margin-inline: auto; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--asphalt-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: block; transition: border-color .2s ease, transform .2s ease; }
.card-link:hover { border-color: var(--flame); transform: translateY(-3px); color: inherit; }
.card-link .more { color: var(--flame); font: 600 .85rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; margin-top: 14px; display: inline-block; }
.card .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(215, 38, 46, .14); color: var(--flame); margin-bottom: 18px; }
.card .icon svg { width: 26px; height: 26px; }
.card.fire-top::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--red), var(--flame), var(--gold)); }
.ref { color: var(--gold); font: 500 .85rem/1.3 var(--head); letter-spacing: .08em; text-transform: uppercase; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.verse-band { text-align: center; padding: clamp(48px, 7vw, 80px) 0; background: linear-gradient(135deg, var(--red-deep), #5a0c10 60%, var(--asphalt)); }
.verse-band blockquote { margin: 0 auto; max-width: 820px; font: 500 clamp(1.4rem, 3vw, 2.1rem)/1.35 var(--head); text-transform: none; }
.verse-band cite { display: block; margin-top: 16px; font-style: normal; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font: 500 .9rem var(--head); }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Leaders */
.leader { display: flex; gap: 20px; align-items: flex-start; }
.leader img { width: 104px; height: 104px; object-fit: cover; border-radius: 50%; border: 3px solid var(--line); flex: none; }
.leader .role { color: var(--flame); font: 500 .85rem/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.avatar-fallback { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: var(--asphalt-2); border: 3px solid var(--line); font: 600 1.9rem var(--head); color: var(--flame); flex: none; }
@media (max-width: 520px) { .leader { flex-direction: column; } }

/* Patch breakdown */
.patch-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.patch-list li { display: grid; grid-template-columns: 12px 1fr; gap: 14px; align-items: start; }
.patch-list li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; margin-top: 8px; background: var(--dot, var(--flame)); }
.patch-list strong { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.step::before { content: counter(step); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 600 1.4rem var(--head); color: #fff; background: linear-gradient(135deg, var(--red), var(--flame)); }
.step h3 { margin-top: 10px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--chrome); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--asphalt-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px; min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--flame); box-shadow: 0 0 0 3px rgba(242, 140, 40, .25); }
input[type="file"] { padding: 10px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.is-success { color: #6fdc8c; }
.form-status.is-error { color: #ff8a8a; }
.note { font-size: .9rem; color: var(--muted); }

/* Chapters map */
.map-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .map-layout { grid-template-columns: 1fr; } }
.map-box { background: var(--asphalt-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 92px; }
@media (max-width: 960px) { .map-box { position: static; } }
.ohio { width: 100%; height: auto; display: block; }
.ohio .state { fill: #17171c; stroke: var(--chrome); stroke-width: 2; }
.ohio .counties { fill: none; stroke: #2b2b33; stroke-width: .7; }
.ohio .pin { cursor: pointer; }
.ohio .pin circle.halo { fill: rgba(242, 140, 40, .18); transition: r .2s ease; }
.ohio .pin circle.dot { fill: var(--red); stroke: #fff; stroke-width: 2; transition: fill .2s ease; }
.ohio .pin text { fill: var(--text); font: 600 15px var(--head); text-transform: uppercase; letter-spacing: .04em; paint-order: stroke; stroke: var(--asphalt); stroke-width: 4px; pointer-events: none; }
.ohio .pin:hover circle.dot, .ohio .pin:focus circle.dot, .ohio .pin.active circle.dot { fill: var(--gold); }
.ohio .pin.active circle.halo, .ohio .pin:hover circle.halo { r: 22; }
.ohio .pin:focus { outline: none; }
.ohio .pin:focus-visible circle.dot { stroke: var(--gold); stroke-width: 4; }
.chapter-list { display: grid; gap: 14px; }
.chapter { background: var(--asphalt-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: border-color .2s ease, box-shadow .2s ease; scroll-margin-top: 96px; }
.chapter.active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 201, 60, .18); }
.chapter h3 { margin-bottom: 4px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.chapter .area { color: var(--flame); font: 500 .85rem var(--head); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.chapter dl { margin: 0 0 14px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .95rem; }
.chapter dt { color: var(--muted); }
.chapter dd { margin: 0; overflow-wrap: anywhere; }
.tag { font: 600 .66rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: rgba(79, 179, 232, .15); color: var(--sky); }
.map-filter { margin-bottom: 14px; }

/* Calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.cal-head h3 { margin: 0; }
.cal-nav { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--asphalt-3); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--flame); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { font: 600 .75rem var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); text-align: center; padding: 6px 0; }
.cal-day { min-height: 92px; background: var(--asphalt-3); border: 1px solid var(--line); border-radius: 10px; padding: 8px; font-size: .82rem; display: flex; flex-direction: column; gap: 4px; }
.cal-day.out { opacity: .35; }
.cal-day.today { border-color: var(--flame); }
.cal-day .n { font-weight: 700; color: var(--chrome); }
.cal-ev { display: block; width: 100%; text-align: left; background: rgba(215, 38, 46, .22); border: 0; border-left: 3px solid var(--red); color: var(--text); border-radius: 4px; padding: 3px 6px; font: inherit; font-size: .76rem; line-height: 1.3; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-ev:hover { background: rgba(242, 140, 40, .3); }
@media (max-width: 760px) { .cal-grid, .cal-dows { display: none; } }
.ev-list { display: grid; gap: 14px; }
.ev { display: grid; grid-template-columns: 84px 1fr; gap: 18px; background: var(--asphalt-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; scroll-margin-top: 96px; }
.ev.flash { border-color: var(--gold); }
.ev-date { text-align: center; background: linear-gradient(160deg, var(--red), var(--red-deep)); border-radius: 10px; padding: 10px 6px; align-self: start; }
.ev-date .m { font: 600 .8rem var(--head); letter-spacing: .16em; text-transform: uppercase; }
.ev-date .d { font: 700 2rem/1 var(--head); }
.ev h3 { margin-bottom: 6px; text-transform: none; font-size: 1.3rem; }
.ev .meta { color: var(--muted); font-size: .92rem; margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ev .flyer { margin-top: 12px; max-width: 320px; border-radius: 8px; border: 1px solid var(--line); }
.empty { text-align: center; padding: 36px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* Devotional */
.devo { max-width: 760px; margin-inline: auto; }
.devo-date { color: var(--flame); font: 600 .9rem var(--head); letter-spacing: .2em; text-transform: uppercase; }
.devo h2 { margin-top: 10px; }
.devo-verse { margin: 24px 0 28px; padding: 26px 28px; border-radius: var(--radius); background: var(--asphalt-3); border: 1px solid var(--line); border-left: 4px solid var(--gold); font-size: 1.18rem; line-height: 1.6; }
.devo-verse cite { display: block; margin-top: 12px; font-style: normal; color: var(--gold); font: 600 .9rem var(--head); letter-spacing: .12em; text-transform: uppercase; }
.devo-body p { font-size: 1.08rem; }
.devo-ride { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: rgba(215, 38, 46, .12); border: 1px solid rgba(215, 38, 46, .4); }
.devo-ride h3 { font-size: 1.05rem; color: var(--flame); margin-bottom: 6px; }
.devo-prayer { margin-top: 18px; font-style: italic; color: var(--chrome); }
.devo-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.devo-teaser .ref { display: block; margin-bottom: 8px; }

/* FAQ chat helper */
.faq-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; border: 0; cursor: pointer; color: #fff; font: 600 .95rem var(--head); letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(135deg, var(--red), var(--flame)); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.faq-fab svg { width: 22px; height: 22px; }
.faq-panel { position: fixed; right: 18px; bottom: 86px; z-index: 61; width: min(400px, calc(100vw - 24px)); height: min(600px, calc(100vh - 120px)); display: none; flex-direction: column; background: var(--asphalt-2); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.faq-panel.open { display: flex; }
@media (max-width: 520px) { .faq-panel { right: 12px; left: 12px; width: auto; bottom: 80px; } .faq-fab span { display: none; } .faq-fab { padding: 15px; } }
.faq-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--asphalt-3); border-bottom: 1px solid var(--line); }
.faq-top strong { font: 600 1.05rem var(--head); text-transform: uppercase; letter-spacing: .06em; }
.faq-top small { display: block; color: var(--muted); font-size: .78rem; }
.faq-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: .94rem; line-height: 1.5; }
.msg p { margin: 0 0 .6em; }
.msg p:last-child { margin: 0; }
.msg.bot { background: var(--asphalt-3); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, var(--red), #b81e25); border-bottom-right-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--asphalt); color: var(--chrome); border-radius: 999px; padding: 8px 12px; font: inherit; font-size: .84rem; cursor: pointer; text-align: left; }
.chip:hover { border-color: var(--flame); color: #fff; }
.faq-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--asphalt-3); }
.faq-form input { min-height: 46px; }
.faq-form button { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--flame); color: #111; cursor: pointer; display: grid; place-items: center; }

/* Footer */
.site-foot { background: #08080a; border-top: 1px solid var(--line); padding: 56px 0 100px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h4 { font-size: .95rem; letter-spacing: .14em; color: var(--flame); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--chrome); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }

/* Prose */
.prose { max-width: 760px; }
.prose p, .prose li { font-size: 1.08rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: var(--flame); }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 4px solid var(--gold); background: var(--asphalt-3); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose blockquote cite { display: block; margin-top: 8px; color: var(--gold); font-style: normal; font: 500 .85rem var(--head); letter-spacing: .1em; text-transform: uppercase; }

/* Admin */
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.pill.pending { background: rgba(255, 201, 60, .18); color: var(--gold); }
.pill.approved { background: rgba(111, 220, 140, .16); color: #6fdc8c; }
.pill.rejected { background: rgba(255, 138, 138, .14); color: #ff8a8a; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Chapter sites: photo banner */
.hero.photo { background-size: cover; background-position: center 40%; }
.hero.photo::before, .hero.photo::after { display: none; }
.hero.photo .wrap { grid-template-columns: 1fr; }
.hero.photo .lead { color: #e6e7ea; }

/* Members portal */
.member-nav { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.member-nav a { white-space: nowrap; color: var(--chrome); text-decoration: none; font: 500 .9rem/1 var(--head); text-transform: uppercase; letter-spacing: .07em; padding: 10px 9px; border-radius: 6px; }
.member-nav a:hover, .member-nav a[aria-current="page"] { color: #fff; background: var(--asphalt-3); }
.member-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
@media (max-width: 760px) { .site-head .wrap:has(.member-nav) { flex-wrap: wrap; padding: 8px 0; } .member-nav { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; } }
.m-row { display: flex; gap: 14px; align-items: center; }
.m-avatar { border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--line); display: inline-block; }
.m-initials { display: inline-grid; place-items: center; background: var(--asphalt-2); color: var(--flame); font-family: var(--head); font-weight: 600; }
.m-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.m-docs li { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.m-docs li:last-child { border-bottom: 0; padding-bottom: 0; }
.m-docs a { text-decoration: none; }
label.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
label.check input { width: 20px; min-height: 20px; height: 20px; flex: none; }

/* Club protocol (members) */
.pbar { height: 10px; border-radius: 999px; background: var(--asphalt-2); margin-top: 12px; overflow: hidden; }
.pbar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--flame), var(--gold)); transition: width .3s ease; }
.chip.on { border-color: var(--flame); color: #fff; background: rgba(242, 140, 40, .15); }
details.proto { padding: 0; }
details.proto summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 28px; gap: 14px; align-items: center; padding: 18px 20px; }
details.proto summary::-webkit-details-marker { display: none; }
details.proto[open] summary { border-bottom: 1px solid var(--line); }
.pnum { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 1.1rem var(--head); color: #fff; background: linear-gradient(135deg, var(--red), var(--flame)); }
.ptake { display: block; color: var(--muted); font-size: .94rem; margin-top: 4px; }
.pdone { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); }
details.learned .pdone { background: #3d9a5a; border-color: #3d9a5a; box-shadow: inset 0 0 0 4px var(--asphalt-3); }
details.learned .pnum { background: #2f7a47; }
.pbody { padding: 18px 20px 20px; }
.pbody p { margin-bottom: .7em; }
.pbody p.psub { padding-left: 18px; border-left: 2px solid var(--line); margin-bottom: .4em; }
.pnote { margin: 14px 0; padding: 12px 14px; border-radius: 8px; background: rgba(79, 179, 232, .1); border: 1px solid rgba(79, 179, 232, .35); color: var(--chrome); font-size: .95rem; }
.plearn { margin-top: 12px; }
.pq { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 0 0 14px; }
.pq legend { padding: 0 6px; }
.pq-opt { display: flex; gap: 10px; align-items: center; font-weight: 500; padding: 8px 4px; cursor: pointer; }
.pq-opt input { width: 20px; min-height: 20px; height: 20px; flex: none; }
.pq-opt.right { color: #6fdc8c; font-weight: 700; }
.pq.ok { border-color: #3d9a5a; }
.pq.no { border-color: #b84a4a; }
.pq-why { margin: 8px 0 0; color: var(--chrome); }
@media (max-width: 520px) {
  details.proto summary { grid-template-columns: 36px 1fr 22px; gap: 10px; padding: 14px; }
  .pnum { width: 36px; height: 36px; font-size: 1rem; }
  .pdone { width: 22px; height: 22px; }
  .pbody { padding: 14px; }
}
.leader > span[data-elder-photo] { display: contents; }

/* Bible study (members) */
.study-row { display: flex; gap: 14px; align-items: center; }
.study-row.done .pnum { background: #2f7a47; }
.study-status { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; position: sticky; top: 76px; z-index: 5; margin-bottom: 18px; }
.study { display: grid; gap: 14px; }
.study-h { margin: 18px 0 0; color: var(--flame); }
.study label.sq { display: grid; gap: 8px; font-weight: 600; color: var(--text); }
.study textarea { min-height: 96px; }
.study-pass { margin: 4px 0; padding: 16px 18px; background: var(--asphalt-3); border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; }
.study-pass p { margin: 8px 0 0; }
.study-fill { background: var(--asphalt-3); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.study-verse { line-height: 2.3; margin: 0; }
.study-verse input.blank { display: inline-block; width: 8.5em; min-height: 34px; padding: 4px 8px; margin: 0 4px; border-radius: 6px; border: 0; border-bottom: 2px solid var(--flame); background: var(--asphalt-2); text-align: center; }
.study-list li { margin-bottom: 6px; }
.study-read { background: rgba(255, 201, 60, .08); border: 1px solid rgba(255, 201, 60, .3); padding: 10px 14px; border-radius: 10px; }
.paces-l { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--head); margin-right: 6px; }
@media (max-width: 760px) { .study-status { position: static; padding: 10px 14px; } .study-status .btn { padding: 8px 12px; } }
@media (max-width: 520px) { .study-verse input.blank { width: 7em; } }

/* Roadside fixes */
.rs-list { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.rs-stop { border-color: rgba(215, 38, 46, .6); background: rgba(215, 38, 46, .08); }
.rs-group { color: var(--flame); margin: 8px 0 12px; }
details.rs-fix summary { grid-template-columns: 1fr 28px; font-weight: 700; font-size: 1.05rem; }
details.rs-fix[open] .pdone { background: var(--flame); border-color: var(--flame); }
@media print {
  body { background: #fff; color: #111; font-size: 12pt; }
  .site-head, .site-foot, .faq-fab, .faq-panel, .btn-row, .skip { display: none !important; }
  .hero::before, .hero::after { display: none; }
  .hero, .section, .section.alt { padding: 12px 0; background: #fff; border: 0; }
  .card, .study-fill { background: #fff !important; border: 1px solid #999; box-shadow: none; break-inside: avoid; }
  h1, h2, h3, .eyebrow, .rs-group { color: #111 !important; }
  h1 span { color: #b31b22; -webkit-text-fill-color: #b31b22; }
  .lead, .muted, .note, p, li { color: #111 !important; }
  details.rs-fix summary .pdone { display: none; }
  .pnote { background: #f3f3f3; border-color: #999; color: #111; }
  .grid-2 { grid-template-columns: 1fr; }
}
.rs-vids { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rs-vid { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line, rgba(255,255,255,.15)); border-radius: 999px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.rs-vid:hover { border-color: var(--flame); }
.rs-play { width: 0; height: 0; border-left: 9px solid var(--flame); border-top: 6px solid transparent; border-bottom: 6px solid transparent; flex: none; }
@media print { .rs-vids { display: none; } }
.dv-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: #000; margin-bottom: 12px; }
.dv-play img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; transition: opacity .2s; }
.dv-play:hover img, .dv-play:focus-visible img { opacity: 1; }
.dv-btn { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px; border-radius: 12px; background: var(--flame); }
.dv-btn::after { content: ""; position: absolute; left: 29px; top: 15px; border-left: 18px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.dv-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; display: block; margin-bottom: 12px; }
.dv-meta { margin-bottom: 8px; }
@media print { .dv-play, .dv-frame { display: none; } }
.devo-by { margin: -4px 0 0; color: var(--gold); font: 600 .85rem var(--head); letter-spacing: .12em; text-transform: uppercase; }
.devo-local { margin-top: 40px; }
.devo-local h2 { margin-bottom: 16px; }
.devo-item { margin-bottom: 10px; padding: 0; }
.devo-item summary { cursor: pointer; list-style: none; padding: 18px 22px; display: grid; gap: 4px; }
.devo-item summary::-webkit-details-marker { display: none; }
.devo-item[open] summary { border-bottom: 1px solid var(--line); }
.devo-item-body { padding: 4px 22px 20px; }
.devo-item-body .devo-verse { margin: 16px 0 20px; }
@media print { .devo-local { display: none; } }
.chapter-note { background: linear-gradient(90deg, var(--red-deep), var(--red)); color: #fff; font-weight: 600; text-align: center; padding: 12px 0; line-height: 1.45; }
.chapter-note .wrap { display: block; }
@media print { .chapter-note { background: none; color: #000; border: 1px solid #999; } }
.app-dialog { border: 1px solid var(--line); border-radius: var(--radius); background: var(--asphalt-2); color: var(--text); padding: 0; width: min(420px, calc(100vw - 32px)); box-shadow: var(--shadow); }
.app-dialog::backdrop { background: rgba(0, 0, 0, .7); }
.app-card { padding: 28px 24px 22px; text-align: center; }
.app-card h2 { font-size: 1.7rem; margin: 10px 0 10px; }
.app-card p { margin: 0 0 14px; }
.app-icon { border-radius: 18px; display: block; margin: 0 auto; }
.app-steps { text-align: left; margin: 0 0 18px; padding-left: 1.3em; display: grid; gap: 8px; }
.app-share { display: inline-block; width: 16px; height: 18px; vertical-align: -3px; border: 2px solid currentColor; border-top: 0; border-radius: 2px; position: relative; margin: 0 2px; }
.app-share::before { content: ""; position: absolute; left: 50%; top: -8px; width: 2px; height: 13px; background: currentColor; transform: translateX(-50%); }
.app-share::after { content: ""; position: absolute; left: 50%; top: -9px; width: 7px; height: 7px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: translateX(-50%) rotate(45deg); }
.cf-search { display: grid; gap: 14px; margin-bottom: 26px; }
.cf-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.cf-form input, .cf-form select { min-height: 48px; }
@media (max-width: 640px) { .cf-form { grid-template-columns: 1fr; } }
.cf-status { margin: 0; min-height: 1.4em; }
.cf-h { font-size: 1.5rem; margin: 18px 0 12px; }
.cf-card { padding: 18px 20px; }
.cf-rec { border-color: rgba(255, 201, 60, .55); }
.cf-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.cf-top h3 { margin: 0; font-size: 1.15rem; }
.cf-mi { color: var(--gold); font: 600 .95rem var(--head); letter-spacing: .06em; white-space: nowrap; }
.cf-meta { color: var(--muted); font-size: .95rem; margin: 4px 0 0; }
.cf-why { margin: 10px 0 0; }
.cf-note { font-size: .9rem; margin-top: 26px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ride-map { width: 100%; height: min(72vh, 640px); min-height: 380px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: #0e0e12; margin-top: 14px; }
.map-bar { padding: 16px 18px; }
.map-chip { display: inline-flex; align-items: center; gap: 8px; }
.map-chip[aria-pressed="false"] { opacity: .45; }
.route-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.route-card { display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%; padding: 16px 18px; color: inherit; font: inherit; cursor: pointer; }
.route-card .route-dot { margin-top: 6px; }
.route-where, .route-why, .route-tip { display: block; margin-top: 4px; }
.route-where { color: var(--chrome); }
.route-tip { color: var(--muted); font-size: .92rem; }
.mp-sub { color: #666; font-size: .85rem; }
.maplibregl-popup-content { color: #111; font: 14px/1.45 var(--body); border-radius: 10px; }
.maplibregl-popup-content p { margin: 6px 0; }
.maplibregl-popup-content a { color: #0b57d0; font-weight: 600; }
/* Quick buttons near the top of the home pages */
.quick { padding: 26px 0 6px; }
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.quick-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 112px; padding: 16px 10px; text-align: center; border-radius: var(--radius); background: var(--asphalt-3); border: 1px solid var(--line); color: var(--text); text-decoration: none; font: 600 1rem/1.2 var(--body); }
.quick-tile svg { width: 34px; height: 34px; color: var(--flame); }
.quick-tile:hover, .quick-tile:focus-visible { border-color: var(--flame); }
@media (max-width: 900px) { .quick-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-tile { min-height: 104px; font-size: 1.05rem; }
  /* Folded sections */
  .section.folded { padding: 8px 0; }
  .folded-card { padding: 0 !important; overflow: hidden; }
  .fold { border-radius: var(--radius); background: var(--asphalt-2); border: 1px solid var(--line); }
  .folded-card .fold { border: 0; background: none; }
  .fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 18px; min-height: 68px; }
  .fold > summary::-webkit-details-marker { display: none; }
  .fold-text { flex: 1; display: grid; gap: 3px; }
  .fold-title { font: 700 1.25rem/1.15 var(--head); text-transform: uppercase; letter-spacing: .04em; }
  .fold-hint { color: var(--muted); font-size: .95rem; }
  .fold-chev { width: 30px; height: 30px; border-radius: 50%; background: var(--asphalt-3); position: relative; flex: none; }
  .fold-chev::after { content: ""; position: absolute; left: 10px; top: 8px; width: 9px; height: 9px; border-right: 2.5px solid var(--flame); border-bottom: 2.5px solid var(--flame); transform: rotate(45deg); transition: transform .2s; }
  .fold[open] .fold-chev::after { transform: rotate(-135deg); top: 12px; }
  .fold[open] > summary { border-bottom: 1px solid var(--line); }
  .fold-body { padding: 18px 16px 20px; }
  .folded-card .fold-body { padding: 4px 18px 20px; }
  .fold-body > .wrap { padding-left: 0; padding-right: 0; }
  .folded-card .fold-body > .eyebrow:first-child { display: none; }
  /* Bottom bar */
  body.has-tabbar { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 59; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(16, 16, 20, .97); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); backdrop-filter: blur(10px); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; color: var(--muted); font: 600 .78rem var(--body); text-decoration: none; background: none; border: 0; cursor: pointer; }
  .tabbar svg { width: 25px; height: 25px; }
  .tabbar [aria-current="page"] { color: var(--flame); }
  .has-tabbar .faq-fab { opacity: 0; pointer-events: none; }
  .has-tabbar .faq-panel { bottom: calc(78px + env(safe-area-inset-bottom)); height: min(560px, calc(100vh - 170px)); }
}
@media print { .tabbar, .quick { display: none !important; } }
@media (max-width: 760px) { .quick { padding-top: 12px; } }
/* Elder Login: each box folds into a tap bar */
.abox-wrap { padding: 0 !important; overflow: hidden; }
.abox > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px; min-height: 68px; }
.abox > summary::-webkit-details-marker { display: none; }
.abox .fold-text { flex: 1; display: grid; gap: 3px; min-width: 0; }
.abox .fold-title { font: 700 1.3rem/1.15 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.abox .fold-hint { color: var(--muted); font-size: .95rem; }
.abox .fold-chev { width: 30px; height: 30px; border-radius: 50%; background: var(--asphalt-3); position: relative; flex: none; }
.abox .fold-chev::after { content: ""; position: absolute; left: 10px; top: 8px; width: 9px; height: 9px; border-right: 2.5px solid var(--flame); border-bottom: 2.5px solid var(--flame); transform: rotate(45deg); transition: transform .2s; }
.abox[open] .fold-chev::after { transform: rotate(-135deg); top: 12px; }
.abox[open] > summary { border-bottom: 1px solid var(--line); }
.abox-body { padding: 18px 20px 22px; }
.abox-body > p.hint-shown { display: none; }
/* Keep date boxes inside the screen on iPhones */
input[type="date"], input[type="time"] { -webkit-appearance: none; appearance: none; min-width: 0; max-width: 100%; width: 100%; display: block; }
@media (max-width: 760px) {
  /* Admin tables become stacked cards on phones so every button is on screen */
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; }
  .admin-table thead { display: none; }
  .admin-table tr { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; background: var(--asphalt-3); }
  .admin-table td { border: 0 !important; padding: 4px 0 !important; min-width: 0 !important; white-space: normal !important; }
  .admin-table td:last-child { padding-top: 10px !important; }
}
/* Bigger text */
/* Bigger-text button: phones only, so the computer view of the site stays as it was. */
@media (min-width: 761px) { .text-btn { display: none !important; } }
@media (max-width: 760px) {
  html.big-text { font-size: 118%; }
  html.big-text body { font-size: 20px; }
  html.big-text input, html.big-text textarea, html.big-text select, html.big-text .btn { font-size: 1.05rem; }
  .text-btn { margin-left: auto; margin-right: 10px; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; min-width: 46px; height: 46px; padding: 0 8px; cursor: pointer; font: 700 1.05rem var(--head); letter-spacing: .02em; }
  .text-btn sup { font-size: .7em; }
  .text-btn[aria-pressed="true"] { border-color: var(--flame); color: var(--flame); }
  /* Header stays the same size with big text on, so the menu button always fits */
  .site-head .brand { flex: 0 1 auto; min-width: 0; }
  .site-head .brand > div { min-width: 0; }
  .site-head .brand strong, .site-head .brand span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.big-text .site-head { font-size: 17px; }
  html.big-text .site-head .nav a { font-size: 1rem; }
  html.big-text .site-head .brand strong { font-size: 18.4px; }
  html.big-text .site-head .brand span { font-size: 11.8px; }
  .site-head .menu-btn, .site-head .text-btn { flex: none; }
}
@media print { .text-btn { display: none; } }
.ev-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.going { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.going-yes { color: var(--gold); font-weight: 700; }
.going-n { color: var(--muted); font-size: .92rem; }
.going-form { display: flex; gap: 8px; flex-wrap: wrap; }
.going-form input { min-height: 40px; width: min(220px, 60vw); }
.cal-sub { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding: 18px 20px; }
@media print { .ev-actions, .cal-sub { display: none; } }
/* Members area: home buttons and phone bottom bar */
.m-home { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .m-home { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .m-home { grid-template-columns: repeat(2, 1fr); }
  body:has(.m-tabbar) .member-nav { display: none; }
  body:has(.m-tabbar) { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
@media (min-width: 761px) { .m-tabbar { display: none; } }
.pray-mail { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 20px; }
.ts-card h3 { margin: 0 0 10px; }
.ts-body p { margin: 0 0 12px; }
.ts-by { margin: 6px 0 0; color: var(--gold); font: 600 .9rem var(--head); letter-spacing: .1em; text-transform: uppercase; }
.ph-frame { width: 100%; height: min(78vh, 900px); min-height: 480px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
/* Outreach cards: 2 x 3.5 inch, 10 per letter sheet (Avery 8371 layout) */
.oc-pages { display: grid; gap: 30px; justify-content: center; padding: 0 12px 40px; }
.oc-sheet { display: grid; grid-template-columns: repeat(2, 3.5in); grid-auto-rows: 2in; gap: 0; background: #fff; padding: .5in .75in; width: 8.5in; box-sizing: border-box; box-shadow: var(--shadow); transform-origin: top left; }
.oc-card { box-sizing: border-box; width: 3.5in; height: 2in; padding: .14in .16in; display: flex; gap: .12in; align-items: center; color: #111; background: #fff; outline: 1px dashed #ccc; font-family: var(--body); overflow: hidden; }
.oc-front { background: #fff; color: #111; border-left: .12in solid #d7262e; }
.oc-left { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: .05in; }
.oc-front img { width: .62in; height: .62in; border-radius: 50%; }
.oc-head { font: 700 17pt/1.02 var(--head); text-transform: uppercase; letter-spacing: .01em; }
.oc-head span { color: #d7262e; }
.oc-small { font: 600 6.5pt var(--head); letter-spacing: .14em; text-transform: uppercase; color: #c2410c; }
.oc-name { font: 700 11.5pt/1.1 var(--head); text-transform: uppercase; }
.oc-lines { font-size: 7.5pt; line-height: 1.35; }
.oc-verse { font-size: 6.6pt; line-height: 1.3; font-style: italic; color: #333; }
.oc-qr { width: 1.05in; flex: none; text-align: center; }
.oc-qr svg { width: 1.05in; height: 1.05in; display: block; background: #fff; padding: 3px; box-sizing: border-box; border-radius: 3px; }
.oc-cap { font-size: 6pt; line-height: 1.2; margin-top: 3px; }
.oc-backs { direction: rtl; }       /* mirror the columns so backs line up with fronts on a flipped sheet */
.oc-backs .oc-card { direction: ltr; }
@media (max-width: 900px) { .oc-pages { justify-content: start; overflow-x: auto; } .oc-sheet { zoom: .42; } }
@media print {
  @page { size: letter; margin: 0; }
  body[data-page="outreach"] .site-head, body[data-page="outreach"] .site-foot, body[data-page="outreach"] .oc-screen, body[data-page="outreach"] .tabbar, body[data-page="outreach"] .faq-fab { display: none !important; }
  body[data-page="outreach"] { background: #fff !important; padding: 0 !important; }
  body[data-page="outreach"] .oc-pages { display: block; padding: 0; }
  body[data-page="outreach"] .oc-sheet { box-shadow: none; zoom: 1; page-break-after: always; }
  body[data-print="front"] .oc-backs, body[data-print="back"] .oc-fronts { display: none; }
  .oc-card { outline: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* I'm Going email, and ride updates or cancellations */
.going-form input[type=email] { width: min(260px, 80vw); }
.going-hint { flex-basis: 100%; font-size: .82rem; color: var(--muted, #9a9aa3); }
.ev-note { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; border-left: 4px solid var(--gold, #ffc93c); background: rgba(255, 201, 60, .1); }
.ev-note.ev-cancel { border-left-color: #ff4d4d; background: rgba(255, 77, 77, .12); }
.cal-ev.is-cancelled { text-decoration: line-through; opacity: .6; }
.ev-change > summary { list-style: none; display: inline-block; }
.ev-change > summary::-webkit-details-marker { display: none; }
.speak-btn { margin: 4px 0 14px; }
.speak-btn[aria-pressed="true"] { border-color: var(--fire, #e8542a); color: #fff; }
/* The quick buttons are for phones only. On a computer the home page stays the way it was. */
@media (min-width: 761px) { section.quick { display: none; } }
@media (min-width: 761px) { .phone-only { display: none !important; } }
/* Phones: room for the A+ button without cutting off the name */
@media (max-width: 760px) {
  .site-head .wrap { gap: 10px; }
  .site-head .brand { gap: 10px; }
  .site-head .brand strong { font-size: 1rem; letter-spacing: .02em; }
  .site-head .brand span { letter-spacing: .12em; }
  .text-btn { margin-right: 0; min-width: 42px; height: 42px; }
  .menu-btn { width: 42px; height: 42px; }
}
@media (max-width: 374px) { .site-head .brand span { letter-spacing: .06em; font-size: .7rem; } }
/* Chapter home: the patch beside the title, like the main page */
.hero.photo.with-patch .wrap { grid-template-columns: 1.25fr .75fr; }
@media (max-width: 860px) { .hero.photo.with-patch .wrap { grid-template-columns: 1fr; } }

/* ---------- Home page: upcoming rides ---------- */
.upnext { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.up-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.up-head h2 { margin: 0; }
.up-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.up-card { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: var(--radius); background: var(--asphalt-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.up-card:hover, .up-card:focus-visible { border-color: var(--flame); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(242, 140, 40, .14); }
.up-card .ev-date { padding: 8px 4px; }
.up-card .ev-date .d { font-size: 1.7rem; }
.up-card h3 { font-size: 1.15rem; margin: 2px 0 6px; line-height: 1.2; }
.up-meta { color: var(--muted); font-size: .92rem; display: grid; gap: 2px; }
.up-ch { display: inline-block; margin-top: 8px; font: 600 .72rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.up-card.is-cancelled h3 { text-decoration: line-through; opacity: .7; }
.up-flag { display: inline-block; font: 600 .7rem var(--head); letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(255, 77, 77, .16); color: #ff8a8a; margin-bottom: 4px; }
.up-flag.upd { background: rgba(255, 201, 60, .14); color: var(--gold); }
@media (max-width: 960px) { .up-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .up-grid { grid-template-columns: 1fr; } }

/* ---------- Home page: photo row with a warm tint so every photo matches ---------- */
.photo-row { padding: clamp(48px, 7vw, 88px) 0; overflow: hidden; }
.photo-row h2 { margin-bottom: 22px; }
.photo-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(16px, calc((100vw - var(--wrap)) / 2)) 10px; scrollbar-width: thin; }
.photo-track::-webkit-scrollbar { height: 6px; } .photo-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.tint { position: relative; flex: 0 0 auto; width: min(420px, 78vw); aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; margin: 0; background: var(--asphalt-3); }
.tint img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85) contrast(1.06); transition: transform .6s ease; }
.tint::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(215, 38, 46, .32), rgba(242, 140, 40, .14) 55%, rgba(12, 12, 14, .35)); mix-blend-mode: multiply; pointer-events: none; }
.tint:hover img { transform: scale(1.04); }
.tint figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 26px 14px 12px; font: 600 .85rem var(--head); letter-spacing: .1em; text-transform: uppercase; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
/* Chapter cover photos get the same warm grade */
.hero.photo { box-shadow: inset 0 0 0 2000px rgba(215, 38, 46, .07); }

/* ---------- Gentle motion (skipped for anyone who asks their phone for less motion) ---------- */
html.motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.motion .reveal.in { opacity: 1; transform: none; }
@keyframes patchGlow { 0%, 100% { box-shadow: 0 0 0 6px var(--asphalt-3), 0 0 0 7px var(--line), 0 30px 80px rgba(242, 140, 40, .22); } 50% { box-shadow: 0 0 0 6px var(--asphalt-3), 0 0 0 7px var(--line), 0 30px 110px rgba(242, 140, 40, .42); } }
html.motion .hero-patch img { animation: patchGlow 6s ease-in-out infinite; }
.site-head .wrap { transition: min-height .25s ease; }
.site-head .brand img { transition: width .25s ease, height .25s ease; }
.site-head.slim .wrap { min-height: 60px; }
.site-head.slim .brand img { width: 40px; height: 40px; }
@media (max-width: 1320px) { .site-head.slim .nav { top: 60px; } }
@media (prefers-reduced-motion: reduce) { html.motion .reveal { opacity: 1; transform: none; transition: none; } html.motion .hero-patch img { animation: none; } }
@media print { .reveal { opacity: 1 !important; transform: none !important; } .photo-row, .upnext { display: none; } }
.photo-track { scroll-padding-inline: max(16px, calc((100vw - var(--wrap)) / 2)); }
.up-head.section-head { max-width: none; }
.share-pop { display: flex; gap: 8px; flex-basis: 100%; }
.ride-page { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.ride-flyer img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 860px) { .ride-page { grid-template-columns: 1fr; } }

/* ---------- Home page: recent ride recaps ---------- */
.recap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.recap-card { display: flex; flex-direction: column; text-align: left; padding: 0; border-radius: var(--radius); background: var(--asphalt-2); border: 1px solid var(--line); color: var(--text); cursor: pointer; overflow: hidden; font: inherit; transition: border-color .2s ease, transform .2s ease; }
.recap-card:hover, .recap-card:focus-visible { border-color: var(--flame); transform: translateY(-3px); }
.recap-card .tint { width: 100%; border-radius: 0; aspect-ratio: 16 / 10; }
.recap-body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.recap-date { font: 600 .74rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.recap-body strong { font: 600 1.15rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .03em; }
.recap-note { color: var(--muted); font-size: .94rem; }
.recap-more { color: var(--flame); font-size: .88rem; font-weight: 600; margin-top: 2px; }
@media (max-width: 960px) { .recap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .recap-grid { grid-template-columns: 1fr; } }
.viewer { position: fixed; inset: 0; z-index: 200; background: rgba(8, 8, 10, .96); overflow-y: auto; padding: 16px 16px 40px; }
.viewer-top { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0 12px; background: rgba(8, 8, 10, .96); max-width: 1000px; margin: 0 auto; }
.viewer-top strong { font: 600 1.2rem var(--head); text-transform: uppercase; letter-spacing: .04em; }
.viewer-note { max-width: 1000px; margin: 0 auto 14px; color: var(--muted); }
.viewer-photos { display: grid; gap: 14px; max-width: 1000px; margin: 0 auto; }
.viewer-photos img { width: 100%; border-radius: var(--radius); }
@media print { .recaps { display: none; } }
/* Footer: same look, but proper headings, underlined links, and bigger tap areas */
.site-foot h2.foot-h { font-size: .95rem; letter-spacing: .14em; color: var(--flame); }
.foot-bottom a { text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 6px 2px; }
/* Devotional: hold the space while it loads so the page doesn't jump */
#devo { min-height: 70vh; }
.going-form input, .going-form input[type=email] { width: min(100%, 320px); }
