/* Tri-County Baptist Church — site stylesheet (v2)
   Plain CSS, no build step. Colours and type are set once in :root below. */

/* ---------- Fonts (self-hosted, SIL Open Font License — see /assets/fonts/OFL.txt) ---------- */
@font-face { font-family: "Lora"; src: url("/assets/fonts/lora-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/assets/fonts/lora-italic-var.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/assets/fonts/lato-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/assets/fonts/lato-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

/* Layout concept: classical and calm — a maroon "pediment" colour used for the few things that matter
   (hero panel, verse band, buttons), everything else ink on white/stone with generous space. */
:root {
  --maroon: #7c161b;
  --maroon-deep: #5c0f13;
  --maroon-tint: #f7eeee;
  --ink: #1d1b1b;
  --ink-soft: #4b4646;
  --muted: #6d6666;
  --paper: #ffffff;
  --stone: #f4f2ef;
  --rule: #e2ddd8;
  --brass: #a8823a;
  --focus: #1f5fbf;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max: 1160px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 4px;
  --header-h: 84px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); text-rendering: optimizeLegibility; }
img, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--maroon); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--maroon-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); letter-spacing: -.005em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
ul, ol { padding-left: 1.25em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow { max-width: 720px; }
.label { display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--maroon); margin: 0 0 14px; }
.label::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.label-center { justify-content: center; }
.label-center::after { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--ink-soft); }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .8em 1.5em; border: 2px solid transparent; border-radius: var(--radius); font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-deep); color: #fff; }
.btn-outline { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-outline:hover { background: var(--maroon); color: #fff; }
.btn-light { background: #fff; color: var(--maroon); }
.btn-light:hover { background: var(--maroon-tint); color: var(--maroon-deep); }
.btn-ghost { border-color: rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--maroon); }
.btn-sm { min-height: 40px; padding: .6em 1.05em; font-size: .75rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.text-link svg { width: 1em; height: 1em; fill: currentColor; transition: transform .15s; }
.text-link:hover { text-decoration: underline; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { width: auto; height: 58px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; background: none; border: 0; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink); text-decoration: none; cursor: pointer; border-bottom: 2px solid transparent; }
.nav-link:hover, .nav-link[aria-current="page"], .nav-link.is-active, .nav-link[aria-expanded="true"] { color: var(--maroon); border-bottom-color: var(--maroon); }
.nav-link svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; transition: transform .15s; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { position: absolute; top: calc(100% + 10px); left: -8px; width: 300px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--maroon); box-shadow: 0 18px 40px rgba(29,27,27,.14); display: none; }
.submenu[data-open="true"] { display: block; }
.submenu a { display: block; padding: 11px 14px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .98rem; border-radius: 2px; }
.submenu a span { display: block; font-weight: 400; font-size: .86rem; color: var(--muted); margin-top: 1px; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--stone); color: var(--maroon); }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: none; border: 1px solid var(--rule); border-radius: var(--radius); font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1080px) {
  :root { --header-h: 70px; }
  .brand img { height: 46px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 8px var(--gutter) 24px; flex-direction: column; align-items: stretch; gap: 16px; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 20px 30px rgba(29,27,27,.12); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-nav[data-open="true"] { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--rule); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 2px; font-size: .9rem; border-bottom: 0; }
  .nav-link:hover, .nav-link[aria-current="page"], .nav-link[aria-expanded="true"] { border-bottom: 0; }
  .submenu { position: static; width: auto; border: 0; box-shadow: none; padding: 0 0 12px; }
  .submenu a { padding: 10px 12px; }
  .site-nav .btn { width: 100%; }
}

/* ---------- Mobile quick-action bar ---------- */
.quickbar { display: none; }
@media (max-width: 1080px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .quickbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--ink); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -6px 18px rgba(0,0,0,.18); }
  .quickbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; color: #fff; text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .quickbar a + a { border-left: 1px solid rgba(255,255,255,.12); }
  .quickbar svg { width: 20px; height: 20px; fill: currentColor; }
  .quickbar a:hover, .quickbar a:focus-visible { background: var(--maroon); }
}

/* ---------- Home hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: clamp(460px, 64vh, 600px); background: var(--maroon); }
.hero-panel { display: flex; align-items: center; color: #fff; padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px) clamp(48px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--max)) / 2)); background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 100%); }
.hero-panel > div { max-width: 520px; }
.hero .label { color: #f2d6d6; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.5; color: #f7e9e9; margin-bottom: 30px; }
.hero-photo { position: relative; margin: 0; overflow: hidden; background: #d9d4cf; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 55%; }
.hero-photo figcaption { position: absolute; right: 16px; bottom: 14px; padding: 6px 10px; background: rgba(29,27,27,.72); color: #fff; font-size: .78rem; letter-spacing: .04em; }
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; aspect-ratio: 16 / 9; max-height: 62vh; }
  .hero-photo img { object-position: 35% 55%; }
  .hero-panel > div { max-width: 640px; }
  .hero-panel { padding: 36px var(--gutter) 40px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: clamp(48px, 6vw, 72px); }
.bg-stone { background: var(--stone); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }

/* Welcome: intro beside the visit panel */
.welcome { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.welcome-copy p { font-size: 1.12rem; color: var(--ink-soft); max-width: 58ch; }
.welcome-copy .actions { margin-top: 28px; }
@media (max-width: 860px) { .welcome { grid-template-columns: 1fr; } }

.visit-panel { background: var(--stone); border-top: 4px solid var(--maroon); padding: clamp(24px, 3vw, 36px); }
.visit-panel h2 { font-size: 1.5rem; margin-bottom: 18px; }
.times { margin: 0; display: grid; gap: 18px; }
.times h3 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--maroon); margin: 0 0 6px; }
.times ul { list-style: none; margin: 0; padding: 0; }
.times li { display: grid; grid-template-columns: 6.2em 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.times li:last-child { border-bottom: 0; }
.times time { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.visit-meta { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--rule); display: grid; gap: 10px; }
.visit-meta p { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.visit-meta svg { width: 18px; height: 18px; fill: var(--maroon); flex: none; margin-top: 4px; }
.visit-meta p a { color: var(--ink); }
.visit-meta p a:hover { color: var(--maroon); }
.visit-panel .actions { margin-top: 22px; }

/* What to expect */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.feature { border-top: 1px solid var(--rule); padding-top: 24px; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 16px; color: var(--maroon); }
.feature-icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.22rem; margin-bottom: .4em; }
.feature p { color: var(--ink-soft); font-size: 1rem; }
.feature .text-link { margin-top: 10px; font-size: .95rem; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Verse band — the identity moment */
.verse-band { background: var(--maroon); color: #fff; text-align: center; padding-block: clamp(64px, 9vw, 104px); }
.pediment { display: block; width: 120px; height: 56px; margin: 0 auto 26px; color: #f2d6d6; }
.verse-band blockquote { margin: 0 auto; max-width: 30em; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.5; }
.verse-band cite { display: block; margin-top: 20px; font-family: var(--sans); font-style: normal; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f2d6d6; }

/* Link tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 26px; background: #fff; border: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tile:hover { border-color: var(--maroon); box-shadow: 0 14px 30px rgba(29,27,27,.08); color: var(--ink); transform: translateY(-2px); }
.tile svg.tile-icon { width: 34px; height: 34px; fill: none; stroke: var(--maroon); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { margin: 6px 0 0; font-size: 1.3rem; }
.tile p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.tile .tile-go { margin-top: auto; padding-top: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); display: inline-flex; align-items: center; gap: 8px; }
.tile .tile-go svg { width: 14px; height: 14px; fill: currentColor; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } }

/* Join strip */
.join { background: var(--ink); color: #fff; padding-block: clamp(44px, 6vw, 64px); }
.join-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.join h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.join p { color: #d9d3d3; margin: 0; }

/* ---------- Inner page header ---------- */
.page-head { background: var(--maroon); color: #fff; padding-block: clamp(44px, 6vw, 76px) clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 340px; height: 220px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 220' fill='none' stroke='%23ffffff' stroke-opacity='.10' stroke-width='3'%3E%3Cpath d='M10 70 170 14 330 70Z'/%3E%3Cpath d='M30 82h280M48 92v128M74 92v128M266 92v128M292 92v128'/%3E%3C/svg%3E") no-repeat right bottom / contain; pointer-events: none; }
.breadcrumb { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #e7c4c4; }
.breadcrumb a { color: #f2d6d6; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; }
.page-head h1 { color: #fff; margin-bottom: .25em; max-width: 18em; }
.page-head .lede { color: #f7e9e9; max-width: 40em; margin: 0; }

/* ---------- Generic two-column content ---------- */
.cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cols-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .cols, .cols-even { grid-template-columns: 1fr; } }
.prose { max-width: 66ch; }
.prose p, .prose li { color: var(--ink-soft); }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.figure { margin: 0; }
.figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.figure figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.media-frame { background: #000; aspect-ratio: 16 / 9; }
.media-frame video, .media-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Alternating feature rows (About) */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.row + .row { margin-top: clamp(64px, 9vw, 112px); }
.row-flip > :first-child { order: 2; }
.row-art { background: var(--stone); display: grid; place-items: center; padding: clamp(28px, 5vw, 56px); aspect-ratio: 4 / 3; }
.row-art img { max-height: 100%; width: auto; max-width: 100%; box-shadow: 0 16px 34px rgba(29,27,27,.22); }
.row-art.cover { padding: 0; }
.row-art.cover img { width: 100%; height: 100%; object-fit: cover; box-shadow: none; }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; } .row-flip > :first-child { order: 0; } .row-art { aspect-ratio: 16 / 10; } }

/* Schedule list (Service Times) */
.schedule { margin: 0 0 40px; }
.schedule h2 { font-size: 1.6rem; display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 0; }
.schedule ol { list-style: none; margin: 0; padding: 0; }
.schedule li { display: grid; grid-template-columns: 8.5em minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.schedule .s-time { font-weight: 700; color: var(--maroon); font-variant-numeric: tabular-nums; font-size: 1.1rem; }
.schedule .s-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.schedule .s-name small { display: block; font-family: var(--sans); font-weight: 400; font-size: .95rem; color: var(--muted); margin-top: 2px; }
.schedule .s-range { color: var(--muted); font-size: .95rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .schedule li { grid-template-columns: 1fr; gap: 2px; } .schedule .s-range { white-space: normal; } }

.side-card { background: var(--stone); padding: clamp(24px, 3vw, 32px); }
.side-card img { margin: calc(-1 * clamp(24px, 3vw, 32px)) calc(-1 * clamp(24px, 3vw, 32px)) 24px; width: calc(100% + 2 * clamp(24px, 3vw, 32px)); max-width: none; aspect-ratio: 16 / 9; object-fit: cover; }
.side-card h2 { font-size: 1.4rem; }
.side-card .actions { margin-top: 20px; }

/* Contact list */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.contact-list li:first-child { padding-top: 0; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 50%; background: var(--maroon-tint); color: var(--maroon); display: grid; place-items: center; }
.contact-list .ci svg { width: 20px; height: 20px; fill: currentColor; }
.contact-list h2 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.contact-list p { margin: 0; font-size: 1.15rem; overflow-wrap: anywhere; }
.contact-list p a { color: var(--ink); font-weight: 700; }
.contact-list p a:hover { color: var(--maroon); }
.contact-list .actions { margin-top: 12px; }
.map { border: 1px solid var(--rule); background: var(--stone); aspect-ratio: 4 / 3; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Salvation lessons */
.lessons { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.lessons li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.lessons .num { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--maroon); line-height: 1; text-align: center; }
.lessons h3 { margin: 0; font-size: 1.2rem; }
.lessons .actions { gap: 8px; }
@media (max-width: 640px) { .lessons li { grid-template-columns: 44px minmax(0, 1fr); } .lessons .actions { grid-column: 2; } .lessons .num { font-size: 1.6rem; } }

/* Info trio (I'm New) */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.trio > div { border-top: 4px solid var(--maroon); background: #fff; padding: 26px 26px 28px; }
.trio h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.trio h2 svg { width: 22px; height: 22px; fill: var(--maroon); }
.trio p { color: var(--ink-soft); }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }
.expect-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.expect-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
.expect-list svg { width: 34px; height: 34px; fill: none; stroke: var(--maroon); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.expect-list h3 { font-size: 1.15rem; margin: 2px 0 4px; }
.expect-list p { margin: 0; color: var(--ink-soft); }

/* Beliefs */
.beliefs { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); border-left: 2px solid var(--rule); padding-left: 18px; }
.toc p { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 0; text-decoration: none; color: var(--ink-soft); font-size: .95rem; }
.toc a:hover { color: var(--maroon); }
.belief { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--rule); }
.belief:last-of-type { border-bottom: 0; }
.belief h2 { font-size: 1.55rem; display: flex; gap: 14px; align-items: baseline; }
.belief h2 .n { font-family: var(--sans); font-size: .85rem; font-weight: 700; color: var(--maroon); letter-spacing: .08em; min-width: 1.8em; }
.belief p, .belief li { color: var(--ink-soft); max-width: 66ch; }
.belief ol { padding-left: 1.3em; }
.belief ol li { margin-bottom: .8em; }
.refs { display: block; color: var(--muted); font-size: .93rem; font-style: italic; }
@media (max-width: 920px) { .beliefs { grid-template-columns: 1fr; } .toc { position: static; } .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; } }
.closing-verse { margin: 40px 0 0; padding: 28px 32px; background: var(--stone); border-left: 4px solid var(--maroon); font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.55; }
.closing-verse cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); }

/* Audio Bible picker */
.picker { background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--maroon); padding: clamp(24px, 3vw, 34px); }
.picker h2 { font-size: 1.45rem; }
.picker-fields { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-bottom: 20px; }
.picker label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.picker select { width: 100%; min-height: 50px; padding: 10px 12px; font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; border: 1px solid #bdb5ae; border-radius: var(--radius); }
.picker .btn-primary { width: 100%; }
.picker .actions { margin-top: 12px; }
.small-print { font-size: .9rem; color: var(--muted); margin-top: 18px; }


/* ---------- Footer ---------- */
.site-footer { background: var(--stone); color: var(--ink-soft); font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: clamp(52px, 7vw, 80px) 40px; }
.footer-brand img { width: 240px; height: auto; margin-bottom: 18px; mix-blend-mode: multiply; }
.footer-brand p { max-width: 34ch; }
.since { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-family: var(--serif); font-style: italic; color: var(--ink); }
.since svg { width: 26px; height: 40px; flex: none; }
.site-footer h2 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--maroon); margin: 6px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a:not(.btn) { color: var(--ink); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--maroon); text-decoration: underline; }
.site-footer .f-times li { display: flex; justify-content: space-between; gap: 12px; }
.site-footer .f-times time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.site-footer .f-day { font-weight: 700; color: var(--ink); margin-top: 6px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer .social a { width: 40px; height: 40px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 50%; }
.site-footer .social a:hover { background: var(--maroon); color: #fff; text-decoration: none; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid var(--rule); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .88rem; color: var(--muted); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(80px, 14vw, 160px); }
.notfound .actions { justify-content: center; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-header, .quickbar, .site-footer, .join, .actions, { display: none !important; } body { padding: 0; } .page-head, .hero-panel, .verse-band { background: none !important; color: #000 !important; } .page-head h1, .hero h1 { color: #000 !important; } }

/* Phones: stacked buttons share one width so they line up */
@media (max-width: 560px) { .actions { flex-direction: column; align-items: stretch; } .actions .btn { width: 100%; } }

/* Light verse band, used where a maroon page header sits directly above */
.verse-band.verse-light { background: var(--stone); color: var(--ink); border-bottom: 1px solid var(--rule); }
.verse-band.verse-light cite { color: var(--maroon); }
#bible-listen svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* About: history (heading + pull quote beside the story) */
.history { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(32px, 6vw, 88px); align-items: start; margin-bottom: clamp(72px, 10vw, 120px); }
.history-head { position: sticky; top: calc(var(--header-h) + 32px); }
.history .prose p { font-size: 1.1rem; }
.pullquote { margin: 28px 0 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--maroon); font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; color: var(--ink); }
@media (max-width: 860px) { .history { grid-template-columns: 1fr; } .history-head { position: static; } }

/* About: staff */
.staff { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 360px)); gap: clamp(24px, 4vw, 48px); }
.staff-card { margin: 0; background: #fff; }
.staff-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.staff-card figcaption { padding: 20px 22px 24px; border-top: 4px solid var(--maroon); }
.staff-card h3 { margin: 0 0 4px; font-size: 1.35rem; }
.staff-card p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 560px) { .staff { grid-template-columns: 1fr; } }
