/* =========================================================
   Third Baptist Church — Owensboro, KY
   Brand tokens pulled from the TBC logo + the brick of the building
   ========================================================= */
:root {
  /* Brand */
  --navy: #2f4d6a;
  --navy-deep: #1d3246;
  --navy-ink: #14222f;
  --teal: #3e8896;
  --teal-dark: #2c6874;      /* teal for text on light bg (AA) */
  --teal-tint: #e6f1f2;
  --brick: #a3432f;          /* accent / CTA, from the building */
  --brick-dark: #85341f;
  --brick-tint: #f6e9e4;

  /* Neutrals */
  --ink: #1c1d1f;
  --ink-soft: #46505a;
  --cream: #f8f5f0;
  --paper: #ffffff;
  --line: #e2ddd5;

  /* Type */
  --font-sans: "Jost", "Century Gothic", "Futura", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* Spacing (8pt) */
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4rem; --s7: 6rem;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(20,34,47,.06), 0 8px 24px rgba(20,34,47,.08);
  --shadow-lg: 0 2px 4px rgba(20,34,47,.06), 0 24px 48px rgba(20,34,47,.14);
  --ease: cubic-bezier(.2,.7,.2,1);
  --max: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal-dark); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-sans); color: var(--navy-ink); line-height: 1.15; margin: 0 0 var(--s2); font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); font-weight: 500; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 500; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 var(--s2); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(var(--max), 100% - 2rem); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(var(--max), 100% - 4rem); } }
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-deep); color: #dfe8ef; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--teal { background: var(--teal-tint); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: var(--s2);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--navy .eyebrow { color: #8cc6cf; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 62ch; }
.section--navy .lede { color: #c7d5e0; }
.section-head { max-width: 760px; margin-bottom: var(--s5); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px;
  font: 600 1rem/1 var(--font-sans); letter-spacing: .01em; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--brick); color: #fff; }
.btn--primary:hover { background: var(--brick-dark); color: #fff; box-shadow: 0 8px 20px rgba(163,67,47,.28); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-ink); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--teal-dark); }
.text-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(20,34,47,.06); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy-ink); }
.brand-mark { width: 30px; height: 45px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 600; letter-spacing: .14em; font-size: 1.02rem; color: var(--navy); text-transform: uppercase; }
.brand-sub { font-weight: 500; letter-spacing: .32em; font-size: .72rem; color: var(--ink); text-transform: uppercase; margin-top: 3px; }

.nav-list { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; align-items: center; }
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem;
  transition: background-color .2s, color .2s;
}
.nav-list a:hover { background: var(--teal-tint); color: var(--navy-ink); }
.nav-list a[aria-current="page"] { color: var(--teal-dark); font-weight: 600; box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-list .btn { margin-left: .5rem; min-height: 44px; padding-inline: 1.2rem; }
.nav-list .btn:hover { background: var(--brick-dark); color: #fff; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--navy-ink); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88dvh, 820px); display: grid; align-items: end; color: #fff; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,34,47,.88) 0%, rgba(20,34,47,.62) 45%, rgba(20,34,47,.15) 100%),
    linear-gradient(0deg, rgba(20,34,47,.6) 0%, rgba(20,34,47,0) 45%);
}
@media (max-width: 1023px) {
  .hero::before { background: linear-gradient(180deg, rgba(20,34,47,.86) 0%, rgba(20,34,47,.72) 55%, rgba(20,34,47,.55) 100%); }
  .hero-media img { object-position: 70% 40%; }
}
.hero-inner { padding-block: clamp(5rem, 12vw, 8rem) clamp(3rem, 7vw, 5rem); display: grid; gap: var(--s5); }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1.35fr .9fr; align-items: end; } }
.hero h1 { color: #fff; max-width: 13ch; }
.hero h1 .serif { color: #a9dbe2; }
.hero .lede { color: #dbe6ee; max-width: 46ch; }
.hero .eyebrow { color: #a9dbe2; }

.times-card {
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: var(--radius-lg);
  padding: var(--s4); box-shadow: var(--shadow-lg); max-width: 440px;
}
.times-card h2 { font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; margin-bottom: var(--s3); }
.time-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.time-row:last-of-type { border-bottom: 0; }
.time-row span { font-size: 1.05rem; color: var(--ink-soft); }
.time-row strong { font-size: 1.6rem; font-weight: 500; color: var(--navy-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.times-card address { font-style: normal; display: flex; gap: .6rem; align-items: flex-start; margin: var(--s3) 0; color: var(--ink-soft); }
.times-card address svg { width: 20px; height: 20px; color: var(--brick); flex: none; margin-top: 3px; }
.times-card .btn { width: 100%; }

/* Page hero (interior pages) */
.page-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.page-hero .hero-media img { object-position: center 45%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,34,47,.9), rgba(20,34,47,.55)); }
.page-hero .container { padding-block: clamp(5rem, 11vw, 8rem) clamp(3.5rem, 7vw, 5rem); }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .lede { color: #dbe6ee; }
.page-hero .eyebrow { color: #a9dbe2; }

/* ---------- Pillars ---------- */
.pillars { display: grid; gap: var(--s3); }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s4); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pillar-num { font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: var(--brick); }
.pillar h3 { font-size: 1.6rem; font-weight: 500; margin: .35rem 0 .75rem; }
.pillar p { color: var(--ink-soft); }
.pillar .bar { position: absolute; top: 0; left: var(--s4); width: 48px; height: 4px; border-radius: 0 0 4px 4px; background: var(--teal); }
.pillar:nth-child(2) .bar { background: var(--navy); }
.pillar:nth-child(3) .bar { background: var(--brick); }

/* ---------- Split layout ---------- */
.split { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s6); } .split--reverse > :first-child { order: 2; } }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--arch { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); aspect-ratio: 4 / 5; }
.media-stack { position: relative; }
.media-stack .media-frame--small {
  position: absolute; width: 46%; aspect-ratio: 1; right: -4%; bottom: -10%;
  border: 6px solid #fff; border-radius: var(--radius-lg);
}
@media (max-width: 899px) { .media-stack .media-frame--small { right: 4%; bottom: -8%; width: 40%; } .media-stack { margin-bottom: 2rem; } }

.check-list { list-style: none; padding: 0; margin: var(--s3) 0; display: grid; gap: .9rem; }
.check-list li { display: flex; gap: .85rem; align-items: flex-start; }
.check-list svg { width: 24px; height: 24px; color: var(--teal); flex: none; margin-top: 2px; }
.check-list strong { display: block; color: var(--navy-ink); }
.check-list span { color: var(--ink-soft); }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: var(--s3); }
@media (min-width: 700px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: var(--s3) var(--s3) var(--s4); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body p { color: var(--ink-soft); margin: 0; }
.card-body .text-link { margin-top: auto; padding-top: .75rem; }
.card h3 { margin: 0; }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); background: var(--teal-tint); padding: .3rem .7rem; border-radius: 999px; }

.icon-card { background: #fff; border-radius: var(--radius-lg); padding: var(--s4); border: 1px solid var(--line); }
.icon-card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-dark); margin-bottom: var(--s2); }
.icon-card .icon svg { width: 26px; height: 26px; }
.icon-card p { color: var(--ink-soft); margin: 0; }
.section--navy .icon-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--navy .icon-card p { color: #c7d5e0; }
.section--navy .icon-card .icon { background: rgba(140,198,207,.15); color: #a9dbe2; }

/* ---------- Watch & Listen ---------- */
.watch-grid { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .watch-grid { grid-template-columns: 1.4fr 1fr; } }
.watch-feature {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 360px;
  display: flex; align-items: flex-end; color: #fff; text-decoration: none; isolation: isolate;
}
.watch-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.watch-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,34,47,.92), rgba(20,34,47,.15) 70%); }
.watch-feature:hover img { transform: scale(1.03); }
.watch-feature:hover { color: #fff; }
.watch-feature .inner { padding: var(--s4); }
.watch-feature h3 { color: #fff; font-size: 1.8rem; font-weight: 500; }
.play-btn { width: 64px; height: 64px; border-radius: 50%; background: var(--brick); display: grid; place-items: center; margin-bottom: var(--s2); box-shadow: 0 0 0 8px rgba(163,67,47,.25); transition: box-shadow .3s var(--ease); }
.watch-feature:hover .play-btn { box-shadow: 0 0 0 14px rgba(163,67,47,.2); }
.play-btn svg { width: 26px; height: 26px; margin-left: 3px; }
.live-pill { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.14); padding: .35rem .75rem; border-radius: 999px; margin-bottom: var(--s2); }
.live-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff6b5b; }
.watch-side { display: grid; gap: var(--s3); }
.listen-card { display: flex; gap: var(--s2); align-items: center; padding: var(--s3); border-radius: var(--radius-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); text-decoration: none; color: #fff; transition: background-color .2s; }
.listen-card:hover { background: rgba(255,255,255,.12); color: #fff; }
.listen-card .icon { width: 56px; height: 56px; border-radius: 16px; background: var(--teal); display: grid; place-items: center; flex: none; }
.listen-card .icon svg { width: 26px; height: 26px; }
.listen-card strong { display: block; font-size: 1.15rem; font-weight: 600; }
.listen-card span { color: #c7d5e0; font-size: .95rem; }
.listen-card > svg { width: 20px; height: 20px; margin-left: auto; flex: none; opacity: .7; }

/* ---------- Stats (Food Hub) ---------- */
.stats { display: grid; gap: var(--s3); grid-template-columns: 1fr; margin-top: var(--s4); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { border-top: 3px solid var(--teal); padding-top: var(--s2); }
.stat:nth-child(2) { border-color: var(--navy); }
.stat:nth-child(3) { border-color: var(--brick); }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 500; color: var(--navy-ink); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat span { color: var(--ink-soft); font-size: .98rem; }
.source-note { font-size: .85rem; color: var(--ink-soft); margin-top: var(--s3); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; background: #fff; border-radius: var(--radius-lg); padding: var(--s4) var(--s3) var(--s3); border: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-serif); font-style: italic; font-size: 2rem; color: var(--teal); display: block; margin-bottom: .5rem; line-height: 1; }
.steps h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.steps p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

/* ---------- Events ---------- */
.event-list { display: grid; gap: var(--s2); }
.event {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s3); align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s3);
  transition: box-shadow .2s, border-color .2s;
}
.event:hover { box-shadow: var(--shadow); border-color: transparent; }
@media (min-width: 768px) { .event { grid-template-columns: auto 1fr auto; } }
.event-date { width: 76px; text-align: center; border-radius: 14px; background: var(--navy); color: #fff; padding: .6rem 0; line-height: 1.1; }
.event-date .m { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #a9dbe2; font-weight: 600; }
.event-date .d { display: block; font-size: 1.9rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.event h3 { font-size: 1.2rem; margin: 0 0 .2rem; }
.event-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; color: var(--ink-soft); font-size: .95rem; }
.event-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.event-meta svg { width: 16px; height: 16px; color: var(--teal-dark); }
.event p { margin: .4rem 0 0; color: var(--ink-soft); font-size: .98rem; }
.event .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 768px) { .event .btn { grid-column: auto; } }
.empty-state { text-align: center; padding: var(--s5) var(--s3); border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.35rem; min-height: 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 600; font-size: 1.08rem; color: var(--navy-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--teal-dark); transition: transform .25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 1.35rem 1.25rem; color: var(--ink-soft); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s3); }
.form-row { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--navy-ink); }
.field .req { color: var(--brick); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid #cfc8bd; border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(62,136,150,.18); }
.field .help { font-size: .88rem; color: var(--ink-soft); }
.field .error { font-size: .9rem; color: #b42318; display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #b42318; }
.field.has-error .error { display: block; }
.form-status { padding: 1rem 1.2rem; border-radius: 12px; background: var(--teal-tint); color: var(--navy-ink); display: none; }
.form-status.is-visible { display: block; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }

/* ---------- Contact / Map ---------- */
.contact-grid { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: var(--s3); }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--brick-tint); color: var(--brick); display: grid; place-items: center; flex: none; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--navy-ink); }
.contact-list a, .contact-list span { color: var(--ink-soft); text-decoration: none; }
.contact-list a:hover { color: var(--teal-dark); text-decoration: underline; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--cream); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(29,50,70,.95), rgba(44,104,116,.78)); }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: #dbe6ee; max-width: 52ch; }

/* ---------- Quote ---------- */
.quote { max-width: 860px; margin-inline: auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.4; color: var(--navy-ink); }
.quote cite { display: block; margin-top: var(--s3); font-style: normal; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--teal-dark); }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: var(--s2); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } .gallery .wide { grid-column: span 2; } .gallery .tall { grid-row: span 2; } }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
@media (min-width: 900px) { .gallery figure { aspect-ratio: auto; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: #b9c7d3; padding-top: var(--s6); }
.site-footer a { color: #dfe8ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s4); padding-bottom: var(--s5); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand .brand { color: #fff; margin-bottom: var(--s2); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #b9c7d3; }
.footer-motto { font-family: var(--font-serif); font-style: italic; color: #a9dbe2; font-size: 1.1rem; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: var(--s2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.social { display: flex; gap: .5rem; margin-top: var(--s2); }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background-color .2s; }
.social a:hover { background: var(--teal); text-decoration: none; }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--s3); font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

/* Brand mark (inline SVG) */
.mark-ink { fill: var(--ink); }
.mark-hole { fill: #fff; }
.mark-teal { fill: var(--teal); }
.mark-navy { fill: var(--navy); }
.site-footer .mark-ink { fill: #fff; }
.site-footer .mark-hole { fill: var(--navy-ink); }
.site-footer .mark-navy { fill: #4b7397; }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

.mt-4 { margin-top: var(--s4); }
.mt-5 { margin-top: var(--s5); }
.center { text-align: center; }

/* =========================================================
   v2 additions: dropdown nav, staff, rentals, welcome, history
   ========================================================= */
/* Dropdown nav */
.has-sub { position: relative; }
.sub-toggle {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: 0 .85rem; border-radius: 999px;
  background: none; border: 0; font: 500 .98rem var(--font-sans); color: var(--ink); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.sub-toggle svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.sub-toggle:hover, .has-sub.is-open > .sub-toggle { background: var(--teal-tint); color: var(--navy-ink); }
.has-sub.is-open > .sub-toggle svg { transform: rotate(180deg); }
.has-sub.is-current > .sub-toggle { color: var(--teal-dark); font-weight: 600; }
.sub { list-style: none; margin: 0; padding: .5rem; }
@media (min-width: 940px) {
  .sub {
    position: absolute; top: calc(100% + 8px); left: 50%; min-width: 240px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  }
  .sub::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
  .has-sub:hover > .sub, .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .sub a { display: flex; width: 100%; border-radius: 10px; padding: 0 .9rem; }
  .sub a[aria-current="page"] { box-shadow: none; background: var(--teal-tint); border-radius: 10px; }
}

/* Staff */
.ministry { margin-top: var(--s6); }
.ministry:first-of-type { margin-top: 0; }
.ministry-title { display: flex; align-items: center; gap: 1rem; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; margin-bottom: var(--s3); }
.ministry-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.staff-feature { display: grid; gap: var(--s4); align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 800px) { .staff-feature { grid-template-columns: 280px 1fr; } }
.staff-feature + .staff-feature { margin-top: var(--s3); }
.portrait { position: relative; aspect-ratio: 1; border-radius: 999px 999px 24px 24px; overflow: hidden; background: linear-gradient(180deg, var(--teal-tint), #cfe3e6); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait.initials { display: grid; place-items: center; font-size: 2.4rem; font-weight: 500; color: var(--navy); letter-spacing: .04em; }
.staff-role { display: block; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brick); font-weight: 600; margin-bottom: .35rem; }
.staff-feature h3 { font-size: 1.8rem; font-weight: 500; margin-bottom: var(--s2); }
.staff-feature p { color: var(--ink-soft); }
.staff-feature p:last-child { margin-bottom: 0; }
.staff-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.staff-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s3); text-align: center; }
.staff-card .portrait { width: 132px; margin: 0 auto var(--s2); }
.staff-card .portrait.initials { font-size: 2rem; }
.staff-card h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.staff-card .staff-role { margin: 0; font-size: .78rem; }
.staff-card details { margin-top: var(--s2); text-align: left; }
.staff-card summary { cursor: pointer; font-weight: 600; color: var(--teal-dark); text-align: center; list-style: none; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: .35rem; }
.staff-card summary::-webkit-details-marker { display: none; }
.staff-card summary svg { width: 18px; height: 18px; transition: transform .2s; }
.staff-card details[open] summary svg { transform: rotate(45deg); }
.staff-card details p { color: var(--ink-soft); font-size: .98rem; }

/* Rentals */
.space { display: grid; gap: var(--s4); align-items: start; padding-block: var(--s5); border-top: 1px solid var(--line); }
.space:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .space { grid-template-columns: 1fr 1fr; gap: var(--s5); } }
.space .media-frame { aspect-ratio: 4 / 3; }
.space ul { padding-left: 1.2rem; color: var(--ink-soft); display: grid; gap: .35rem; margin: 0 0 var(--s3); }
.rates { display: grid; gap: var(--s2); }
@media (min-width: 640px) { .rates { grid-template-columns: 1fr 1fr; } }
.rate { background: var(--cream); border-radius: var(--radius); padding: var(--s3); }
.rate h4 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: .75rem; }
.rate dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; font-size: .98rem; }
.rate dt { color: var(--ink-soft); }
.rate dd { margin: 0; font-weight: 600; color: var(--navy-ink); font-variant-numeric: tabular-nums; text-align: right; }
.rate .sub-h { grid-column: 1 / -1; font-size: .82rem; font-weight: 600; color: var(--navy); margin-top: .5rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.rate .sub-h:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.rate dt.total, .rate dd.total { color: var(--brick); font-weight: 600; }
.price-list { list-style: none; padding: 0; margin: 0; display: grid; }
.price-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.price-list li strong { font-variant-numeric: tabular-nums; color: var(--navy-ink); }
.price-list small { display: block; color: var(--ink-soft); }
.notice { display: flex; gap: .85rem; align-items: flex-start; background: var(--brick-tint); color: var(--ink); border-radius: var(--radius); padding: 1rem 1.2rem; }
.notice svg { width: 22px; height: 22px; color: var(--brick); flex: none; margin-top: 2px; }
.faq .answer ul, .faq .answer ol { padding-left: 1.2rem; margin: 0 0 var(--s2); }

/* Welcome lists */
.welcome-grid { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .welcome-grid { grid-template-columns: repeat(3, 1fr); } }
.welcome-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4) var(--s3); }
.welcome-col h3 { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.5rem; color: var(--brick); margin-bottom: var(--s3); }
.welcome-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.welcome-col li strong { display: block; color: var(--navy-ink); font-weight: 600; line-height: 1.35; }
.welcome-col li span { color: var(--ink-soft); font-size: .98rem; }
.welcome-close { max-width: 760px; margin: var(--s6) auto 0; text-align: center; }
.welcome-close .big { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy-ink); font-weight: 500; margin-bottom: .25rem; }
.welcome-close .serif { font-size: 1.3rem; color: var(--teal-dark); }

/* Beliefs + history */
.belief-list { counter-reset: b; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
@media (min-width: 900px) { .belief-list { grid-template-columns: repeat(3, 1fr); } }
.belief-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4) var(--s3); }
.belief-list li::before { counter-increment: b; content: counter(b, decimal-leading-zero); display: block; font-family: var(--font-serif); font-style: italic; font-size: 2rem; color: var(--teal); line-height: 1; margin-bottom: .75rem; }
.belief-list cite { display: block; margin-top: .75rem; font-style: normal; font-weight: 600; color: var(--teal-dark); font-size: .92rem; }
.freedoms { display: grid; gap: var(--s2); }
.freedom { display: grid; gap: .25rem 2rem; padding: var(--s3) 0; border-bottom: 1px solid rgba(255,255,255,.14); }
@media (min-width: 800px) { .freedom { grid-template-columns: 220px 1fr; } }
.freedom h3 { font-size: 1.35rem; font-weight: 500; margin: 0; }
.freedom p { margin: 0; color: #c7d5e0; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--teal); display: grid; gap: var(--s4); }
.timeline li { position: relative; padding-left: var(--s4); }
.timeline li::before { content: ""; position: absolute; left: -8px; top: .4rem; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brick); }
.timeline .when { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--brick); }
.timeline h3 { margin: .2rem 0 .5rem; }
.timeline p { color: var(--ink-soft); margin: 0; }
.pastor-list { list-style: none; padding: 0; margin: 0; columns: 1; column-gap: var(--s4); }
@media (min-width: 640px) { .pastor-list { columns: 2; } }
.pastor-list li { break-inside: avoid; display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.pastor-list span { color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pastor-list .current { color: var(--brick); font-weight: 600; }
.archive-photo { background: #fff; padding: .75rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: rotate(-1.2deg); }
.archive-photo img { border-radius: 6px; width: 100%; }
.archive-photo figcaption { font-size: .88rem; color: var(--ink-soft); text-align: center; padding-top: .6rem; }

/* Ministries + partners */
.ministry-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.ministry-list li { display: flex; gap: .75rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; font-weight: 500; color: var(--navy-ink); }
.ministry-list svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.partner { display: grid; gap: .5rem 2rem; padding: var(--s4) 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .partner { grid-template-columns: 320px 1fr; } }
.partner h3 { margin: 0 0 .35rem; font-size: 1.35rem; }
.partner p { color: var(--ink-soft); margin: 0; }
.split .pastor-list { columns: 1; }
@media (min-width: 1200px) { .split .pastor-list { columns: 2; } }
@media (min-width: 900px) and (max-width: 1099px) { .welcome-grid { grid-template-columns: repeat(2, 1fr); } }

/* v3: opportunity cards + volunteer list */
.opp-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.opp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s3) var(--s3) var(--s4); display: flex; flex-direction: column; gap: .6rem; transition: box-shadow .2s, transform .2s var(--ease); }
.opp:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.opp h3 { font-size: 1.3rem; margin: 0; }
.opp p { color: var(--ink-soft); margin: 0; }
.opp-meta { display: grid; gap: .3rem; font-size: .95rem; color: var(--navy); font-weight: 500; }
.opp-meta span, .vol-when { display: inline-flex; align-items: flex-start; gap: .45rem; }
.opp-meta svg, .vol-when svg { width: 17px; height: 17px; color: var(--teal-dark); flex: none; margin-top: 3px; }
.opp .opp-link { margin-top: auto; padding-top: .5rem; }
.section--cream .opp { border-color: transparent; }
.vol-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 var(--s5); }
@media (min-width: 800px) { .vol-list { grid-template-columns: 1fr 1fr; } }
.vol-list li { padding: var(--s3) 0; border-bottom: 1px solid var(--line); display: grid; gap: .35rem; align-content: start; }
.vol-list h3 { font-size: 1.15rem; margin: 0; }
.vol-when { font-size: .92rem; color: var(--navy); font-weight: 500; }
.vol-list p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.vol-list .opp-link { font-size: .95rem; justify-self: start; min-height: 44px; }
.opp-actions { margin-top: .5rem; gap: .5rem; }
.opp-actions .btn { min-height: 44px; padding: .6rem 1.1rem; font-size: .95rem; }

/* one-row top menu from 940px; tighten spacing until there's room */
@media (min-width: 940px) and (max-width: 1279px) {
  .header-inner { gap: .5rem; }
  .brand-mark { width: 26px; height: 39px; }
  .brand-name { font-size: .92rem; letter-spacing: .1em; }
  .brand-sub { font-size: .66rem; letter-spacing: .26em; }
  .nav-list { gap: 0; }
  .nav-list a, .sub-toggle { padding: 0 .6rem; font-size: .93rem; }
  .nav-list .btn { margin-left: .35rem; padding-inline: 1rem; }
}

/* Hero video */
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { position: absolute; inset: 0; }
.video-toggle {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5); background: rgba(20,34,47,.55); color: #fff; cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color .2s;
}
.video-toggle:hover { background: rgba(20,34,47,.85); }
.video-toggle svg { width: 18px; height: 18px; }
@media (min-width: 768px) { .video-toggle { right: 1.5rem; bottom: 1.5rem; } }
.hero-video { opacity: 0; transition: opacity .8s var(--ease); }
.hero-video.is-playing { opacity: 1; }

/* v6: partners */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy-ink); text-decoration: none; font-weight: 500; font-size: .95rem; transition: background-color .2s, border-color .2s; }
.chip:hover { background: var(--teal-tint); border-color: var(--teal); color: var(--navy-ink); }
.pcard-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pcard-grid--wide { grid-template-columns: 1fr; }
@media (min-width: 900px) { .pcard-grid--wide { grid-template-columns: repeat(3, 1fr); } }
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4) var(--s3) var(--s3); display: flex; flex-direction: column; gap: .5rem; }
.pcard::before { content: ""; position: absolute; top: 0; left: var(--s3); width: 40px; height: 4px; border-radius: 0 0 4px 4px; background: var(--teal); }
.section--cream .pcard, .section--teal .pcard { border-color: transparent; }
.pcard h3 { font-size: 1.2rem; margin: 0; }
.pcard p { margin: 0; color: var(--ink-soft); }
.pcard > p:first-of-type { color: var(--navy); font-weight: 500; }
.pcard .pcard-more { font-size: .97rem; }
.pcard .text-link { margin-top: auto; padding-top: .5rem; }

/* v7: partner lists/links, checkbox field */
.pcard-list { margin: .25rem 0 0; padding-left: 1.2rem; color: var(--ink-soft); display: grid; gap: .25rem; }
.pcard-links { margin-top: auto; padding-top: .5rem; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.pcard-links .text-link { padding-top: 0; min-height: 44px; }
.pcard .pcard-more a { color: var(--teal-dark); font-weight: 600; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: .75rem; }
.field--check input { width: 24px; height: 24px; min-height: 0; margin-top: 2px; accent-color: var(--teal-dark); }
.field--check label { font-weight: 500; }
.field--check .error { grid-column: 1 / -1; }

/* v8: weekly schedule */
.week-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.day { background: #fff; border-radius: var(--radius-lg); padding: var(--s3); }
.day h3 { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brick); margin-bottom: .75rem; }
.day ul { list-style: none; margin: 0; padding: 0; display: grid; }
.day li { display: grid; grid-template-columns: 5.9rem 1fr; gap: .75rem; padding: .55rem 0; border-top: 1px solid var(--line); color: var(--navy-ink); font-weight: 500; }
.day li:first-child { border-top: 0; padding-top: 0; }
.day li span { color: var(--ink-soft); font-weight: 400; font-size: .9rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Nav CTA: keep white text (the generic .nav-list a color was overriding it) */
.nav-list .btn--primary, .nav-list .btn--primary:hover { color: #fff; font-weight: 600; }
.nav-list .btn--primary:focus-visible { outline-color: var(--navy); }
.pcard-list a { color: var(--teal-dark); font-weight: 500; }

/* v10: monthly rhythm */
.month-rhythm { background: #fff; border-radius: var(--radius-lg); padding: var(--s4) var(--s3); }
.month-rhythm h3 { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brick); margin-bottom: .75rem; }
.month-rhythm ul { list-style: none; padding: 0; margin: 0 0 var(--s2); display: grid; gap: .5rem 2rem; }
@media (min-width: 800px) { .month-rhythm ul { grid-template-columns: 1fr 1fr; } }
.month-rhythm li { display: grid; grid-template-columns: 7rem 1fr; gap: .75rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.month-rhythm li strong { color: var(--navy-ink); }
.month-rhythm li span, .month-rhythm p { color: var(--ink-soft); }
.month-rhythm p { margin: 0; }
.day-note { display: block; font-weight: 400; font-size: .88rem; color: var(--ink-soft); margin-top: .15rem; }
.day-note a { color: var(--teal-dark); }

/* v12: wedding manuals + video */
.manuals { display: grid; gap: .75rem; margin: var(--s3) 0 var(--s2); }
@media (min-width: 1200px) { .manuals { grid-template-columns: 1fr 1fr; } }
.manual { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.1rem; min-height: 64px; border-radius: var(--radius); background: var(--brick-tint); color: var(--navy-ink); text-decoration: none; border: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.manual:hover { border-color: var(--brick); background: #f3dfd8; color: var(--navy-ink); }
.manual > svg:first-child { width: 28px; height: 28px; color: var(--brick); flex: none; }
.manual > svg:last-of-type { width: 18px; height: 18px; margin-left: auto; color: var(--brick); flex: none; }
.manual span { display: grid; line-height: 1.3; font-size: .9rem; color: var(--ink-soft); }
.manual strong { color: var(--navy-ink); font-size: 1rem; }
.wedding-video { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-deep); }
.wedding-video video { display: block; width: 100%; height: auto; }
.wedding-video .video-toggle { position: absolute; }

/* v14: Give page */
.ways-title { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: var(--s2); }
.ways { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.ways li { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.ways .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brick-tint); color: var(--brick); display: grid; place-items: center; flex: none; }
.ways .icon svg { width: 22px; height: 22px; }
.ways strong { display: block; color: var(--navy-ink); }
.ways span { color: var(--ink-soft); font-size: .98rem; }
.give-online { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 960px) { .give-online { grid-template-columns: 1fr 1.05fr; } }
.give-frame { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.give-frame iframe { display: block; width: 100%; height: 1180px; border: 0; }
@media (max-width: 600px) { .give-frame iframe { height: 1280px; } }
.zgrid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.zcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); display: flex; flex-direction: column; gap: .6rem; }
.zcard .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-tint); color: var(--teal-dark); display: grid; place-items: center; }
.zcard .icon svg { width: 26px; height: 26px; }
.zcard h3 { font-size: 1.4rem; font-weight: 500; margin: .25rem 0 0; }
.zcard p { color: var(--ink-soft); margin: 0; }
.zcard-actions { margin-top: auto; padding-top: var(--s2); display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }

/* v15: Worship music section */
.music { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 960px) { .music { grid-template-columns: .9fr 1.1fr; } }
.music-contact { display: flex; gap: var(--s3); align-items: center; background: #fff; border-radius: var(--radius-lg); padding: var(--s3); margin-top: var(--s3); }
.music-contact .portrait { width: 112px; flex: none; }
.music-contact p { margin: 0 0 .5rem; color: var(--ink-soft); }
.music-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0 !important; }
.music-links a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; color: var(--teal-dark); text-decoration: none; }
.music-links a:hover { text-decoration: underline; }
.music-links svg { width: 18px; height: 18px; }
@media (max-width: 520px) { .music-contact { flex-direction: column; align-items: flex-start; } }
.music-cards { display: grid; gap: var(--s3); }
.mcard { background: #fff; border-radius: var(--radius-lg); padding: var(--s3) var(--s4) var(--s4); }
.mcard-head { display: flex; gap: 1rem; align-items: center; margin-bottom: .75rem; }
.mcard-head .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-tint); color: var(--teal-dark); display: grid; place-items: center; flex: none; }
.mcard-head .icon svg { width: 24px; height: 24px; }
.mcard h3 { margin: 0; font-size: 1.3rem; font-weight: 500; }
.mcard .when { display: inline-flex; align-items: center; gap: .4rem; font-size: .92rem; font-weight: 500; color: var(--brick); }
.mcard .when svg { width: 16px; height: 16px; }
.mcard p { margin: 0; color: var(--ink-soft); }

/* v16: Recreation facilities + registration */
.fac-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.fac h3 { margin-bottom: .25rem; }
.fac-where { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--brick); margin-bottom: .5rem; }
.fac-where svg { width: 15px; height: 15px; }
.rec-cta { display: grid; gap: var(--s3); align-items: center; background: var(--navy-deep); color: #dfe8ef; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 800px) { .rec-cta { grid-template-columns: auto 1fr auto; } }
.rec-cta h3 { color: #fff; font-size: 1.35rem; font-weight: 500; margin-bottom: .35rem; }
.rec-cta p { margin: 0; color: #c7d5e0; }
.rec-cta a:not(.btn) { color: #a9dbe2; }
.rec-cta-icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(140,198,207,.15); color: #a9dbe2; display: grid; place-items: center; }
.rec-cta-icon svg { width: 30px; height: 30px; }

/* v18: Recreation hours, eligibility, guidelines */
.hours-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.hours-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: var(--s4); }
.hours-who { display: inline-flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #a9dbe2; margin-bottom: var(--s3); }
.hours-who svg { width: 20px; height: 20px; }
.hours-card dl { margin: 0; display: grid; gap: .25rem; }
.hours-card dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-top: 1px solid rgba(255,255,255,.14); }
.hours-card dt { color: #dfe8ef; font-size: 1.05rem; }
.hours-card dd { margin: 0; color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.who-card, .guide-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4) var(--s3); }
.who-card h3, .guide-card h3 { font-size: 1.15rem; display: flex; align-items: center; gap: .5rem; }
.guide-card h3 svg { width: 22px; height: 22px; color: var(--teal-dark); }
.bullet-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.bullet-checks li { display: flex; gap: .65rem; align-items: flex-start; color: var(--ink-soft); }
.bullet-checks li svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 3px; }
.guide-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.section--cream .guide-card { border-color: transparent; }

/* v19: compact pickleball band at the bottom of the Recreation page */
.pb-compact { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.pb-grid { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 760px) { .pb-grid { grid-template-columns: 1fr 280px; } .pb-compact .media-frame { display: none; } }
@media (min-width: 1100px) { .pb-grid { grid-template-columns: 260px 1fr 280px; } .pb-compact .media-frame { display: block; } }
@media (max-width: 759px) { .pb-compact .media-frame { display: none; } }
@media (min-width: 560px) { .pb-compact .check-list { grid-template-columns: 1fr 1fr; } }
.pb-compact .media-frame { aspect-ratio: 4 / 3; max-width: 300px; }
.pb-compact h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.pb-compact .lede { font-size: 1.02rem; }
.pb-compact .check-list { margin: var(--s2) 0 0; gap: .5rem; }
.pb-compact .check-list span { font-size: .95rem; }
.pb-compact .rate { margin-top: 0 !important; }
.rec-cta-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 800px) { .rec-cta-btns { flex-direction: column; align-items: stretch; } }

/* v22: Forms & Links */
.lgroups { display: grid; gap: var(--s5); }
.lgroup { display: grid; gap: var(--s3); scroll-margin-top: calc(var(--header-h) + 24px); }
@media (min-width: 900px) { .lgroup { grid-template-columns: 280px 1fr; gap: var(--s5); align-items: start; } }
.lgroup-head h2 { font-size: 1.6rem; margin-bottom: .35rem; }
.lgroup-head p { color: var(--ink-soft); margin: 0; }
.lrows { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.lrow { display: flex; align-items: center; gap: .9rem; min-height: 72px; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy-ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.lrow:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--navy-ink); }
.lrow .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-tint); color: var(--teal-dark); display: grid; place-items: center; flex: none; }
.lrow .icon svg { width: 22px; height: 22px; }
.ltext { display: grid; line-height: 1.3; flex: 1; min-width: 0; }
.ltext strong { font-weight: 600; }
.ltext span { color: var(--ink-soft); font-size: .92rem; }
.lrow > svg:last-of-type { width: 18px; height: 18px; color: var(--teal-dark); flex: none; }

/* v23: Newsletters */
.news-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.news-card { display: flex; flex-direction: column; gap: var(--s3); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem); position: relative; overflow: hidden; }
.news-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--teal); }
.news-card--courier::before { background: var(--brick); }
.news-freq { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); }
.news-card--courier .news-freq { color: var(--brick); }
.news-freq svg { width: 18px; height: 18px; }
.news-card h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin: .5rem 0 .75rem; }
.news-card p { color: var(--ink-soft); margin: 0; font-size: 1.05rem; }
.news-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .75rem; }
.years { border-top: 1px solid var(--line); padding-top: var(--s3); }
.years > span { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .75rem; }
.year-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.year { display: inline-grid; place-items: center; min-width: 60px; min-height: 40px; padding: 0 .75rem; border-radius: 10px; border: 1px solid var(--line); color: var(--navy-ink); text-decoration: none; font-weight: 500; font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s; }
.year:hover { border-color: var(--brick); background: var(--brick-tint); color: var(--navy-ink); }

/* v25: Announcements */
.ann-grid { columns: 1; column-gap: var(--s3); }
@media (min-width: 640px) { .ann-grid { columns: 2; } }
@media (min-width: 1100px) { .ann-grid { columns: 3; } }
.ann { break-inside: avoid; margin: 0 0 var(--s3); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s, transform .2s var(--ease); }
.ann:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ann-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ann-open img { width: 100%; height: auto; display: block; }
.ann figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1rem; padding: .85rem 1.1rem; }
.ann figcaption strong { color: var(--navy-ink); font-weight: 600; }
.ann figcaption .text-link { min-height: 32px; font-size: .95rem; }
.ann-dialog { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 94vh; overflow: visible; }
.ann-dialog::backdrop { background: rgba(20,34,47,.86); }
.ann-dialog img { display: block; max-width: 100%; max-height: 84vh; width: auto; margin-inline: auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.ann-dialog-cap { color: #fff; text-align: center; margin: .75rem 0 0; font-weight: 500; }
.ann-close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy-ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.ann-close svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .ann-close { top: 8px; right: 8px; } }
.ann-loading { color: var(--ink-soft); padding: var(--s4) 0; }

/* v28: compact footer that mirrors the header menu */
.site-footer { padding-top: 0; font-size: .92rem; }
.site-footer .container { width: min(var(--max), 100% - 2rem); }
@media (min-width: 768px) { .site-footer .container { width: min(var(--max), 100% - 4rem); } }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.75rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top .brand { color: #fff; }
.footer-top .brand-name { color: #fff; }
.footer-top .brand-sub { color: #b9c7d3; }
.footer-times { display: flex; align-items: center; gap: .6rem; margin: 0; color: #c7d5e0; }
.footer-times svg { width: 18px; height: 18px; color: #a9dbe2; flex: none; }
.footer-times strong { color: #fff; font-weight: 600; margin-right: .35rem; }
.footer-cta { display: flex; gap: .6rem; }
.footer-cta .btn { min-height: 44px; padding: .55rem 1.15rem; font-size: .92rem; }
.footer-cta .btn--ghost { border-color: rgba(255,255,255,.35); }
.footer-main { display: grid; gap: 1.75rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 2.25rem 0; }
@media (min-width: 760px) { .footer-main { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: repeat(4, minmax(0, 1fr)) 1.35fr; } }
.fcol h3 { color: #fff; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .85rem; font-weight: 600; }
.site-footer .fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer .fcol a { color: #b9c7d3; text-decoration: none; line-height: 1.4; display: inline-block; padding: .1rem 0; }
.site-footer .fcol a:hover { color: #fff; text-decoration: underline; }
.fcol--visit { grid-column: 1 / -1; }
@media (min-width: 1024px) { .fcol--visit { grid-column: auto; } }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: 1.1rem 0 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #93a5b4; }
.footer-bottom p { margin: 0; display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
.footer-bottom .footer-motto { font-size: .95rem; color: #a9dbe2; }
.site-footer .social { margin: 0; gap: .4rem; }
.site-footer .social a { width: 40px; height: 40px; }
.site-footer .social svg { width: 18px; height: 18px; }
@media (max-width: 759px) {
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-cta { width: 100%; }
  .footer-cta .btn { flex: 1; }
}

@media (max-width: 1023px) {
  .fcol--visit { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; }
  .site-footer .fcol--visit ul { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
}
@media (min-width: 760px) and (max-width: 1023px) {
  .footer-top { gap: 1rem 1.5rem; }
  .footer-times { order: 3; flex-basis: 100%; }
}

.fcol--visit .addr { white-space: nowrap; }
@media (min-width: 1024px) { .fcol--visit .addr { display: block; } }

/* v31: live two-week agenda */
.agenda { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .agenda { grid-template-columns: 1fr 1fr; align-items: start; } }
.ag-day { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.ag-day h3 { display: flex; align-items: center; gap: .6rem; margin: 0; padding: .9rem 1.2rem; font-size: 1.05rem; font-weight: 500; background: var(--cream); border-bottom: 1px solid var(--line); }
.ag-dow { font-weight: 600; color: var(--navy-ink); }
.ag-pill { margin-left: auto; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--brick); border-radius: 999px; padding: .2rem .65rem; }
.ag-pill--soft { background: var(--teal-tint); color: var(--teal-dark); }
.ag-day ul { list-style: none; margin: 0; padding: .25rem 1.2rem; }
.ag-item { display: grid; grid-template-columns: 7.6rem 1fr; gap: .9rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.ag-item:first-child { border-top: 0; }
.ag-time { white-space: nowrap; font-size: .9rem; font-weight: 600; color: var(--teal-dark); font-variant-numeric: tabular-nums; padding-top: .1rem; }
.ag-body { display: grid; gap: .2rem; min-width: 0; }
.ag-body strong { color: var(--navy-ink); font-weight: 600; line-height: 1.35; }
.ag-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; font-size: .88rem; color: var(--ink-soft); }
.ag-meta svg { width: 14px; height: 14px; color: var(--teal-dark); margin-right: -.35rem; }
.ag-tag { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--teal-tint); border-radius: 999px; padding: .1rem .5rem; }
.ag-item--community .ag-tag { color: var(--brick-dark); background: var(--brick-tint); }
.ag-desc { font-size: .86rem; color: var(--ink-soft); overflow-wrap: anywhere; }
@media (max-width: 420px) { .ag-item { grid-template-columns: 1fr; gap: .2rem; } }

/* v34: Worship "What to expect" timeline */
.expect-times { display: grid; gap: var(--s2); }
@media (min-width: 800px) { .expect-times { grid-template-columns: repeat(3, 1fr); } }
.expect-times > div { display: grid; gap: .2rem; padding: var(--s3); border-radius: var(--radius-lg); background: var(--navy-deep); color: #dfe8ef; }
.expect-times span { font-size: 1.6rem; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.expect-times strong { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #a9dbe2; }
.expect-times em { font-style: normal; color: #c7d5e0; font-size: .95rem; margin-top: .35rem; }
.expect-times a { color: #a9dbe2; }
.month-rhythm { border: 1px solid var(--line); }

/* v35: weekly worship bulletins */
.bulletins { display: grid; gap: var(--s3); }
@media (min-width: 860px) { .bulletins { grid-template-columns: 1.1fr 1fr; align-items: stretch; } }
.bull-current { display: flex; flex-direction: column; gap: .75rem; justify-content: center; background: var(--navy-deep); color: #dfe8ef; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.bull-kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #a9dbe2; }
.bull-kicker svg { width: 18px; height: 18px; }
.bull-current h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; margin: 0 0 .5rem; }
.bull-past { background: #fff; border-radius: var(--radius-lg); padding: var(--s4) var(--s3); display: flex; flex-direction: column; gap: .75rem; }
.bull-past h3 { font-size: 1.15rem; margin: 0; }
.bull-list { list-style: none; padding: 0; margin: 0; display: grid; }
.bull-list li { border-top: 1px solid var(--line); }
.bull-list li:first-child { border-top: 0; }
.bull-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; color: var(--navy-ink); text-decoration: none; }
.bull-list a:hover { color: var(--teal-dark); }
.bull-list svg { width: 16px; height: 16px; color: var(--teal-dark); flex: none; }
.bull-past .text-link { margin-top: auto; }

/* v36: Who We Are / What we believe */
.yes-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.yes-list li { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.1rem 1.3rem; border-radius: var(--radius); background: var(--navy-deep); color: #dfe8ef; }
.yes-list span { font-size: 1.05rem; line-height: 1.4; }
.yes-list strong { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.6rem; color: #a9dbe2; flex: none; }
.belief-block { background: #fff; border-radius: var(--radius-lg); padding: var(--s4) clamp(1.25rem, 3vw, 2rem); }
.belief-block h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.35rem; font-weight: 500; margin-bottom: .75rem; }
.belief-block h3 svg { width: 24px; height: 24px; color: var(--teal-dark); }
.belief-block p { color: var(--ink-soft); }
.belief-block p:last-child { margin-bottom: 0; }
.belief-sub { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-dark); margin: var(--s5) 0 var(--s3); }
.belief-pair { display: grid; gap: var(--s3); margin-top: var(--s3); }
@media (min-width: 900px) { .belief-pair { grid-template-columns: 1fr 1fr; } }
.belief-pair:first-of-type { margin-top: var(--s5); }
.tri-grid { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .tri-grid { grid-template-columns: repeat(3, 1fr); } }
.tri { background: #fff; border-radius: var(--radius-lg); padding: var(--s4) var(--s3); border-top: 4px solid var(--teal); }
.tri:nth-child(2) { border-top-color: var(--navy); }
.tri:nth-child(3) { border-top-color: var(--brick); }
.tri h4 { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.6rem; color: var(--navy-ink); margin: 0 0 .5rem; }
.tri p { color: var(--ink-soft); margin: 0; }
.section--cream .belief-list li { border-color: transparent; }

/* v37: five belief cards with icons */
.belief-grid { display: grid; gap: var(--s3); margin-top: var(--s5); }
@media (min-width: 900px) { .belief-grid { grid-template-columns: 1fr 1fr; } .belief-block--wide { grid-column: 1 / -1; } }
.belief-block h3 { gap: .85rem; }
.bicon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-dark); flex: none; }
.bicon svg { width: 26px !important; height: 26px !important; color: currentColor !important; }
.belief-grid .belief-block:nth-child(2) .bicon { background: var(--brick-tint); color: var(--brick); }
.belief-grid .belief-block:nth-child(3) .bicon { background: #e7edf3; color: var(--navy); }
.belief-grid .belief-block:nth-child(4) .bicon { background: var(--brick-tint); color: var(--brick); }
.belief-grid .belief-block:nth-child(5) .bicon { background: var(--teal-tint); color: var(--teal-dark); }

/* ---------- v40: Ministries page ---------- */
.min-jump { position: sticky; top: var(--header-h, 72px); z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding-block: .75rem; }
.min-jump .chip-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.min-jump .chip-row::-webkit-scrollbar { display: none; }
.min-jump .chip { white-space: nowrap; gap: .45rem; min-height: 40px; font-size: .92rem; }
.min-jump .chip svg { width: 16px; height: 16px; color: var(--teal-dark); }
@media (min-width: 1100px) { .min-jump .chip-row { flex-wrap: wrap; justify-content: center; } }
.min-cat { scroll-margin-top: calc(var(--header-h, 72px) + 64px); }
.min-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.min-card { border: 1px solid var(--line); display: flex; flex-direction: column; gap: .25rem; }
.section--cream .min-card { border-color: transparent; }
.min-card .when { color: var(--brick); }
.min-card p a { color: var(--teal-dark); }
.min-card .min-link, .min-card .opp-link { margin-top: auto; padding-top: .9rem; }
.min-card .opp-actions { margin-top: auto; padding-top: .9rem; }
.min-sub { margin: var(--s5) 0 var(--s3); }
.min-sub h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.35rem; margin: 0; }
.min-sub h3 svg { width: 22px; height: 22px; color: var(--teal-dark); }

/* ---------- v41: staff with more than one title ---------- */
.staff-role .role-line { display: block; }
.staff-role .role-line + .role-line { margin-top: .3rem; padding-top: .3rem; border-top: 1px solid var(--line); width: fit-content; margin-inline: auto; }

/* ---------- v42: Community Care pages ---------- */
.care-facts-wrap { position: relative; z-index: 2; margin-top: calc(var(--s5) * -1); }
.care-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.care-fact { display: flex; gap: .85rem; align-items: center; background: #fff; padding: 1.1rem 1.25rem; }
.care-fact .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-tint); color: var(--teal-dark); display: grid; place-items: center; flex: none; }
.care-fact .icon svg { width: 22px; height: 22px; }
.care-fact-label { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.care-fact strong { display: block; font-weight: 600; color: var(--navy-ink); line-height: 1.35; }

.care-invites { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .care-invites { grid-template-columns: 1fr 1fr; } }
.invite { border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem); display: flex; flex-direction: column; }
.invite h2 { margin: .75rem 0 .5rem; }
.invite-lede { font-size: 1.1rem; margin: 0 0 1.25rem; }
.invite .btn-row { margin-top: auto; padding-top: 1.5rem; }
.invite-tag { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; padding: .4rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.invite-tag svg { width: 16px; height: 16px; }
.invite--help { background: var(--navy-deep); color: #e7eef4; }
.invite--help h2 { color: #fff; }
.invite--help .invite-tag { background: rgba(255,255,255,.12); color: #fff; }
.invite--help a:not(.btn) { color: #a9dbe2; }
.invite--help .care-list svg { color: #7cc6d1; }
.invite--help .btn--outline { color: #fff; border-color: rgba(255,255,255,.55); }
.invite--help .btn--outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.invite--serve { background: #fbf1ee; border: 1px solid #efd5cd; }
.invite--serve .invite-tag { background: var(--brick); color: #fff; }
.invite--serve .care-list svg { color: var(--brick); }
.care-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.care-list li { display: flex; gap: .65rem; align-items: flex-start; }
.care-list svg { width: 20px; height: 20px; flex: none; margin-top: .2rem; }

.care-steps { margin: var(--s3) 0 0; padding-left: 1.25rem; display: grid; gap: .75rem; }
.care-steps li::marker { color: var(--brick); font-weight: 700; }
.care-services { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

.care-more { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.care-more-card { display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem 1.25rem; text-decoration: none; color: var(--navy-ink); transition: box-shadow .2s, transform .2s var(--ease); }
.care-more-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.care-more-card > svg:first-child { width: 26px; height: 26px; color: var(--teal-dark); flex: none; }
.care-more-card > svg:last-child { width: 18px; height: 18px; margin-left: auto; color: var(--teal-dark); flex: none; }
.care-more-card strong { display: block; font-weight: 600; }
.care-more-card em { display: block; font-style: normal; font-size: .9rem; color: var(--ink-soft); }

/* v42: five menus — keep labels on one line; the full top menu starts at 1100px */
.sub-toggle, .nav-list .btn { white-space: nowrap; }

/* v43/44: the five menus are always visible at the top of every page (no collapsed menu, no header button) */
.nav-toggle { display: none !important; }
@media (max-width: 939px) {
  .site-header .header-inner { height: auto; flex-wrap: wrap; row-gap: .25rem; padding-block: .6rem .4rem; }
  .site-nav { width: 100%; }
  .nav-list { justify-content: center; flex-wrap: wrap; gap: .1rem .15rem; }
  .has-sub { position: static; }
  .sub-toggle { min-height: 40px; padding: 0 .7rem; font-size: .95rem; }
  .sub {
    position: absolute; top: calc(100% + 4px); left: 1rem; right: 1rem; max-width: 640px; margin-inline: auto;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .15rem;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  }
  .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
  .sub a { display: flex; width: 100%; border-radius: 10px; padding: 0 .9rem; min-height: 48px; }
  .sub a[aria-current="page"] { box-shadow: none; background: var(--teal-tint); border-radius: 10px; }
}
@media (max-width: 699px) {
  /* on phones the taller two-row header scrolls away instead of covering the page */
  .site-header { position: relative; }
  :root { --header-h: 0px; }
  .brand-mark { width: 26px; height: 39px; }
  .brand-name { font-size: .9rem; letter-spacing: .1em; }
  .brand-sub { font-size: .64rem; letter-spacing: .26em; }
  .nav-list { gap: 0; }
  .sub-toggle { padding: 0 .45rem; font-size: .9rem; gap: .2rem; min-height: 40px; }
  .sub-toggle svg { width: 14px; height: 14px; }
}
/* v44: Connect is now the right-most item; open its dropdown toward the left so it never runs off the page */
@media (min-width: 940px) {
  .nav-list > .has-sub:last-child > .sub { left: auto; right: 0; transform: translateY(-6px); }
  .nav-list > .has-sub:last-child:hover > .sub, .nav-list > .has-sub:last-child.is-open > .sub { transform: none; }
}

/* ---------- v45: Ministries directory + area pages ---------- */
.dir-grid { display: grid; gap: var(--s4); }
@media (min-width: 800px) { .dir-grid { grid-template-columns: 1fr 1fr; } .dir-card--feature { grid-column: 1 / -1; } }
.dir-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .25s, transform .25s var(--ease); }
.dir-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.dir-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--teal-tint); }
.dir-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dir-card:hover .dir-media img { transform: scale(1.04); }
.dir-body { position: relative; padding: var(--s4); padding-top: calc(var(--s4) + 12px); display: flex; flex-direction: column; flex: 1; }
.dir-icon { position: absolute; top: -28px; left: var(--s4); width: 56px; height: 56px; border-radius: 16px; background: var(--teal-dark); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.dir-icon svg { width: 28px; height: 28px; }
.dir-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: .5rem 0 .4rem; color: var(--navy-ink); }
.dir-body p { color: var(--ink-soft); margin: 0 0 1rem; }
.dir-body ul { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .4rem; }
.dir-body li { display: flex; gap: .5rem; align-items: flex-start; font-size: .95rem; font-weight: 500; color: var(--navy); }
.dir-body li svg { width: 16px; height: 16px; color: var(--brick); flex: none; margin-top: .25rem; }
.dir-cta { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--teal-dark); }
.dir-cta svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.dir-card:hover .dir-cta svg { transform: translateX(4px); }
@media (min-width: 800px) {
  .dir-card--feature { flex-direction: row; }
  .dir-card--feature .dir-media { aspect-ratio: auto; flex: 0 0 46%; }
  .dir-card--feature .dir-body { padding: var(--s5); justify-content: center; }
  .dir-card--feature .dir-icon { position: static; margin-bottom: .5rem; }
  .dir-card--feature h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
}
.dir-grid .dir-card:nth-child(2) .dir-icon { background: var(--navy); }
.dir-grid .dir-card:nth-child(3) .dir-icon { background: var(--brick); }
.dir-grid .dir-card:nth-child(4) .dir-icon { background: var(--navy-deep); }
.dir-grid .dir-card:nth-child(5) .dir-icon { background: var(--teal); }

.leader-card { display: grid; gap: var(--s4); align-items: center; background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 700px) { .leader-card { grid-template-columns: 220px 1fr; } }
.leader-card .portrait { max-width: 220px; }
.leader-card h2 { margin: .4rem 0 .2rem; }
.leader-card .staff-role .role-line + .role-line { margin-inline: 0; }

.connect-band { background: var(--navy-deep); color: #dbe6ee; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: var(--s4); }
.connect-band h2 { color: #fff; margin: .4rem 0 .6rem; }
.connect-band .eyebrow { color: #a9dbe2; }
.connect-band p { max-width: 56ch; margin: 0; }
.connect-band .btn--outline { color: #fff; border-color: rgba(255,255,255,.55); }
.connect-band .btn--outline:hover { background: rgba(255,255,255,.1); color: #fff; }
@media (min-width: 900px) { .connect-band--split { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.connect-serve { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: var(--s3) var(--s4); }
.connect-serve h3 { display: flex; align-items: center; gap: .5rem; color: #fff; font-size: 1.2rem; margin: 0 0 .75rem; }
.connect-serve h3 svg { width: 20px; height: 20px; color: #f0a593; }
.connect-serve ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; }

/* ---------- v46: Watch & Listen — sermons & worship archive ---------- */
.sermon-feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; border-top: 6px solid var(--teal); }
.sermon-feature-body { padding: clamp(1.5rem, 4vw, 2.75rem); }
.sermon-label { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px; background: var(--teal-tint); color: var(--teal-dark); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.sermon-label svg { width: 14px; height: 14px; }
.sermon-feature h3 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: .9rem 0 .5rem; color: var(--navy-ink); }
.sermon-scripture { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .5rem; font-weight: 600; color: var(--brick); }
.sermon-scripture svg { width: 17px; height: 17px; }
.sermon-preacher { margin: 0 0 .5rem; color: var(--ink-soft); font-weight: 500; }
.sermon-desc { color: var(--ink-soft); max-width: 70ch; margin: .25rem 0 1.25rem; }
.sermon-audio { width: 100%; max-width: 640px; display: block; margin-top: .5rem; }
.sermon-video { position: relative; aspect-ratio: 16 / 9; max-width: 734px; margin: .5rem 0 1rem; border-radius: 14px; overflow: hidden; background: #000; }
.sermon-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sermon-note { display: flex; gap: .5rem; align-items: flex-start; margin: 1.25rem 0 0; padding: .8rem 1rem; border-radius: 12px; background: var(--cream); color: var(--ink-soft); font-size: .95rem; }
.sermon-note svg { width: 18px; height: 18px; flex: none; margin-top: .2rem; color: var(--teal-dark); }
.sermon-archive-title { display: flex; align-items: center; gap: .6rem; font-size: 1.4rem; margin: var(--s5) 0 var(--s3); }
.sermon-archive-title svg { width: 22px; height: 22px; color: var(--teal-dark); }
.sermon-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.sermon-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s3); display: flex; flex-direction: column; gap: .5rem; }
.sermon-card.is-hidden { display: none; }
.sermon-card h3 { font-size: 1.2rem; margin: 0; }
.sermon-card .sermon-scripture { font-size: .95rem; margin: 0; }
.sermon-card audio { width: 100%; margin-top: auto; height: 40px; }
.sermon-date { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; font-size: .88rem; color: var(--ink-soft); font-weight: 500; }
.sermon-date svg { width: 15px; height: 15px; }
.sermon-tag { font-style: normal; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .55rem; border-radius: 999px; background: #fbf1ee; color: var(--brick); }
.podcast-band { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 800px) { .podcast-band { grid-template-columns: 300px 1fr; gap: var(--s5); } }
.podcast-art { width: 100%; max-width: 300px; border-radius: 24px; box-shadow: var(--shadow-lg); background: #fff; }

/* ---------- v47: homepage hero subtitle ---------- */
.hero .hero-sub { font-family: var(--font-serif, "Source Serif 4", Georgia, serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; color: #fff; margin: .75rem 0 .9rem; max-width: 32ch; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.hero .lede { max-width: 54ch; }
.hero .hero-sub span { display: block; }

/* ---------- v49: homepage hero headline — three lines, three voices ---------- */
.hero h1.hero-title { max-width: none; line-height: 1.08; }
.hero-title span { display: block; }
.hero-title .ht-1 { color: #fff; font-weight: 500; }
.hero-title .ht-2 { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: #a9dbe2; font-size: 1.06em; letter-spacing: -.005em; }
.hero-title .ht-3 { color: #f3b8a8; font-weight: 600; font-size: .78em; letter-spacing: .1em; text-transform: uppercase; margin-top: .3em; }

/* v50: Seasons of worship photo carousels (Worship page) */
.season + .season { margin-top: var(--s5); }
.season-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s2); }
.season-head h3 { margin: 0; }
.carousel-nav { display: flex; gap: .5rem; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(47,77,106,.25); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: background .2s, color .2s, opacity .2s; }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn--prev svg { transform: rotate(180deg); }
.carousel-btn:hover:not(:disabled) { background: var(--navy); color: #fff; }
.carousel-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel { list-style: none; margin: 0; padding: 0 0 var(--s2); display: flex; gap: var(--s2); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: thin; }
.carousel:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: var(--radius); }
.carousel li { flex: 0 0 auto; scroll-snap-align: start; }
.carousel figure { margin: 0; }
.carousel img { display: block; height: clamp(260px, 42vw, 400px); width: auto; max-width: 82vw; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.carousel figcaption { margin-top: .5rem; font-size: .9rem; color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .carousel { scroll-behavior: auto; } }

/* v51: Weddings page bridal suite photos */
.suite-grid { display: grid; gap: var(--s2); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .suite-grid { grid-template-columns: repeat(3, 1fr); } }
.suite-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.suite-grid img { width: 100%; height: 100%; object-fit: cover; }

/* v52: contact form sending */
.form .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status.is-error { background: #fbeae6; color: #7a2e1f; }
.form button[disabled] { opacity: .7; cursor: progress; }

/* v53: six menus (About, Worship, Ministries, Community Care, News & Events, Connect).
   Computers: every menu stays visible across the top. Phones and small tablets (under 940px): a ☰ menu. */
@media (min-width: 940px) and (max-width: 1059px) {
  .brand-text { display: none; }               /* keep the logo mark; give the six menus the room */
  .nav-list a, .sub-toggle { padding: 0 .5rem; font-size: .92rem; }
}
@media (max-width: 939px) {
  :root { --header-h: 64px; }
  .site-header { position: sticky; }
  .site-header .header-inner { height: var(--header-h); flex-wrap: nowrap; padding-block: 0; }
  .nav-toggle { display: inline-flex !important; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; width: auto;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; padding: .25rem 1rem 1rem;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .has-sub { position: static; }
  .sub-toggle { width: 100%; justify-content: space-between; min-height: 52px; padding: 0 .5rem; font-size: 1.05rem; gap: .5rem; border-radius: 10px; }
  .sub-toggle svg { width: 18px; height: 18px; }
  .sub {
    position: static; display: none; grid-template-columns: 1fr; gap: 0; max-width: none; margin: 0;
    padding: 0 0 .5rem; background: transparent; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .has-sub.is-open > .sub { display: grid; }
  .sub a { min-height: 48px; padding: 0 1rem; font-size: 1rem; }
}

/* v53: footer lists all six menus */
@media (min-width: 760px) { .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-main { grid-template-columns: repeat(6, minmax(0, 1fr)) 1.3fr; } .fcol--visit { grid-column: auto; } }

/* v53: Plan a Visit button in the header (beside the menus on computers, beside ☰ on phones) */
.site-nav { margin-left: auto; }
.header-cta { min-height: 44px; padding: 0 1.15rem; white-space: nowrap; flex: none; font-size: .95rem; }
.header-cta, .header-cta:hover { color: #fff; }
@media (min-width: 940px) and (max-width: 1279px) { .header-cta { padding: 0 .9rem; font-size: .9rem; } }
@media (max-width: 939px) {
  .header-cta { margin-left: auto; min-height: 40px; padding: 0 1rem; font-size: .9rem; }
  .site-nav { margin-left: 0; }
}
@media (max-width: 359px) { .header-cta { padding: 0 .7rem; font-size: .85rem; } }
/* v53: keep "Third Baptist" on one line beside the phone header buttons */
@media (max-width: 939px) {
  .header-inner { gap: .5rem; }
  .brand-name, .brand-sub { white-space: nowrap; }
}
@media (max-width: 419px) {
  .brand { gap: .5rem; }
  .brand-mark { width: 22px; height: 33px; }
  .brand-name { font-size: .8rem; letter-spacing: .06em; }
  .brand-sub { font-size: .58rem; letter-spacing: .22em; }
  .header-cta { padding: 0 .75rem; font-size: .84rem; min-height: 38px; }
  .nav-toggle { width: 42px; height: 42px; }
}

/* v54: Our Faith Story — 125th anniversary video */
.history-video { position: relative; aspect-ratio: 16 / 9; max-width: 960px; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.history-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.history-video-link { max-width: 960px; margin: 1rem auto 0; text-align: right; }

/* v54: Our Faith Story closing line */
.story-motto { margin: var(--s5) auto 0; max-width: 60ch; text-align: center; font-size: 1.15rem; color: var(--navy-ink); }
@media (min-width: 900px) { .story-photo { position: sticky; top: calc(var(--header-h) + 2rem); } }

/* v55: Our Faith Story — complete history in expandable cards */
.history-tools { display: flex; justify-content: flex-end; margin-bottom: var(--s2); }
.history-toggle-all { background: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; min-height: 44px; padding: 0 .25rem; }
.history-cards { display: grid; gap: var(--s2); }
.history-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.history-card summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto 24px; align-items: center; gap: .5rem 1.25rem;
  padding: 1.25rem 1.5rem; min-height: 64px;
}
.history-card summary::-webkit-details-marker { display: none; }
.history-card summary:hover { background: var(--teal-tint); }
.history-card summary:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.hc-years { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--brick); white-space: nowrap; }
.hc-title { font-size: 1.2rem; font-weight: 600; color: var(--navy-ink); }
.hc-count { font-size: .9rem; color: var(--ink-soft); white-space: nowrap; }
.history-card summary svg { width: 22px; height: 22px; color: var(--teal-dark); transition: transform .2s var(--ease); }
.history-card[open] summary svg { transform: rotate(180deg); }
.history-card[open] summary { border-bottom: 1px solid var(--line); }
.hc-body { padding: .5rem 1.5rem 1.25rem; }
.history-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.history-table thead th { text-align: left; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; padding: .75rem .75rem .5rem 0; border-bottom: 2px solid var(--line); }
.history-table tbody th, .history-table td { text-align: left; vertical-align: top; padding: .7rem .75rem .7rem 0; border-bottom: 1px solid var(--line); }
.history-table tbody tr:last-child th, .history-table tbody tr:last-child td { border-bottom: 0; }
.history-table tbody th { font-weight: 600; color: var(--navy); white-space: nowrap; width: 10.5rem; }
.history-table--pastors tbody th { white-space: normal; width: auto; }
.history-table--pastors td { white-space: nowrap; }
@media (max-width: 699px) {
  .history-card summary { grid-template-columns: 1fr 24px; padding: 1rem 1.1rem; }
  .hc-years { grid-column: 1; }
  .hc-title { grid-column: 1; font-size: 1.1rem; }
  .hc-count { grid-column: 1; font-size: .85rem; }
  .history-card summary svg { grid-column: 2; grid-row: 1 / span 3; }
  .hc-body { padding: .25rem 1.1rem 1rem; }
  .history-table:not(.history-table--pastors) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .history-table:not(.history-table--pastors) tr { display: block; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .history-table:not(.history-table--pastors) tbody tr:last-child { border-bottom: 0; }
  .history-table:not(.history-table--pastors) tbody th, .history-table:not(.history-table--pastors) td { display: block; border: 0; padding: 0; width: auto; }
  .history-table:not(.history-table--pastors) tbody th { font-size: .9rem; margin-bottom: .2rem; }
  .history-table--pastors { font-size: .92rem; }
  .history-table--pastors td { white-space: normal; }
}

/* v57: Staff page — every photo the size of the Senior Pastor's (280px), emails under titles, tighter spacing */
.staff-card .portrait, .staff-feature .portrait { width: min(280px, 100%); margin: 0 auto var(--s2); }
.staff-feature .portrait { margin: 0; }
.staff-card .portrait.initials { font-size: 3.4rem; }
.staff-grid { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--s2); align-items: start; }
.staff-card { padding: var(--s2) var(--s2) 1.1rem; }
.staff-card h3 { font-size: 1.3rem; }
.staff-card details { margin-top: .25rem; }
.staff-card summary { min-height: 40px; }
.ministry { margin-top: var(--s5); }
.ministry-title { margin-bottom: var(--s2); }
.staff-feature { gap: var(--s3); padding: clamp(1.25rem, 3vw, 2rem); }
.staff-feature h3 { margin-bottom: .35rem; }
.staff-email { display: inline-flex; align-items: center; gap: .4rem; margin-top: .45rem; font-size: .95rem; color: var(--teal-dark); text-decoration: none; word-break: break-word; }
.staff-email:hover { text-decoration: underline; }
.staff-email svg { width: 17px; height: 17px; flex: none; }
.staff-feature .staff-email { margin: 0 0 var(--s2); }
@media (max-width: 799px) { .staff-feature .portrait { margin: 0 auto; } }
