/* ==========================================================================
   Calvary Baptist Church — site styles
   Plain CSS, mobile-first. Colors and type are set once in :root below.
   ========================================================================== */

@font-face { font-family: 'Cormorant'; src: url('../fonts/cormorant.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('../fonts/cormorant-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #1b1713;
  --ink-2: #2a241d;
  --ink-soft: #3b342c;
  --paper: #fbf8f2;
  --parchment: #f3ece0;
  --linen: #ebe2d2;
  --line: #ddd2bf;
  --muted: #675d51;
  --crimson: #7b1e1e;
  --crimson-d: #5f1515;
  --gold: #c9a34a;
  --gold-l: #e3c77c;
  --gold-d: #8a671b;
  --white: #fff;

  --serif: 'Cormorant', 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(27,23,19,.06), 0 12px 32px -12px rgba(27,23,19,.22);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--crimson); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--crimson-d); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold-l); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.005em; margin: 0 0 .5em; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 8vw, 5.75rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.15; }
h4 { font-size: 1.35rem; }
p { margin: 0 0 1.15em; text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.65; color: var(--muted); max-width: 40em; }
.on-dark .lead { color: rgba(251,248,242,.82); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-d); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; opacity: .7; }
.on-dark .eyebrow { color: var(--gold-l); }
.center .eyebrow::after { content: ""; width: 2rem; height: 1px; background: currentColor; opacity: .7; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.section { padding: var(--section) 0; }
.section-tight { padding: clamp(3rem, 7vw, 5rem) 0; }
.bg-parchment { background: var(--parchment); }
.bg-linen { background: var(--linen); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-crimson { background: var(--crimson); color: var(--paper); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: .35em; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.1rem; padding: .8rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 .8125rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1rem; height: 1rem; flex: none; }
.btn-primary { background: var(--crimson); color: var(--paper); }
.btn-primary:hover { background: var(--crimson-d); color: var(--paper); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-l); color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); color: var(--crimson); }
.btn-ghost { border-color: rgba(251,248,242,.5); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(251,248,242,.08); color: var(--paper); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.center .btn-row { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; font: 600 .8125rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--crimson); }
.text-link::after { content: "→"; transition: transform .25s var(--ease); letter-spacing: 0; }
.text-link:hover::after { transform: translateX(4px); }
.on-dark .text-link { color: var(--gold-l); }

/* ---------- Announcement bar (driven by js/data.js) ---------- */
.announce { background: var(--gold); color: var(--ink); font-size: .9rem; text-align: center; padding: .55rem var(--gutter); position: relative; z-index: 60; }
.announce a { color: var(--ink); font-weight: 600; }
.announce[hidden] { display: none; }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: auto 0 auto 0; z-index: 50; color: var(--paper); transition: background-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 84px; }
.site-header.is-solid { position: fixed; top: 0; background: rgba(251,248,242,.97); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.site-header.is-solid .bar { height: 70px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: inherit; }
.brand img { width: 52px; height: auto; }
.brand .mark-dark { display: none; }
.site-header.is-solid .brand .mark-light { display: none; }
.site-header.is-solid .brand .mark-dark { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; letter-spacing: .06em; text-transform: uppercase; }
.brand-text span { font-size: .62rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; margin-top: .3rem; opacity: .85; }
.site-header:not(.is-solid) .brand-text span { color: var(--gold-l); opacity: 1; }
.site-header.is-solid .brand-text span { color: var(--gold-d); opacity: 1; }

.nav-toggle { display: inline-flex; align-items: center; gap: .55rem; background: none; border: 1px solid currentColor; color: inherit; border-radius: 999px; padding: .55rem 1rem; font: 600 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.nav-toggle .bars { width: 18px; height: 10px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle .bars::before { top: 0; } .nav-toggle .bars::after { top: 8.5px; }
.nav-open .nav-toggle .bars::before { top: 4.25px; transform: rotate(45deg); }
.nav-open .nav-toggle .bars::after { top: 4.25px; transform: rotate(-45deg); }

.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: inherit; }

/* Mobile menu panel */
.nav-open .site-header { position: fixed; top: 0; background: var(--ink); color: var(--paper); box-shadow: none; }
.nav-open .site-header .brand .mark-light { display: block; } .nav-open .site-header .brand .mark-dark { display: none; }
.nav-open .site-header .brand-text span { color: var(--gold-l); }
.nav-open { overflow: hidden; }
.nav-open .site-nav { display: flex; flex-direction: column; position: fixed; inset: 84px 0 0 0; background: var(--ink); padding: 1.5rem var(--gutter) 2.5rem; overflow-y: auto; }
.nav-open .site-nav ul { display: flex; flex-direction: column; }
.nav-open .site-nav li a { display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 600; padding: .5rem 0; border-bottom: 1px solid rgba(251,248,242,.1); }
.nav-open .site-nav li a[aria-current="page"] { color: var(--gold-l); }
.nav-open .site-nav .nav-give { margin-top: 1.75rem; align-self: flex-start; }
.nav-meta { margin-top: 2rem; font-size: .95rem; color: rgba(251,248,242,.7); }
.nav-meta a { color: var(--gold-l) !important; }
.site-nav .nav-meta { display: none; }
.nav-open .site-nav .nav-meta { display: block; }

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 2rem; }
  .site-nav ul { display: flex; gap: 1.9rem; }
  .site-nav li a { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: .5rem 0; position: relative; }
  .site-nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .site-nav li a:hover::after, .site-nav li a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav li a[aria-current="page"] { color: var(--gold-l); }
  .site-header.is-solid .site-nav li a[aria-current="page"] { color: var(--crimson); }
  .site-nav .nav-give { min-height: 2.6rem; padding: .65rem 1.3rem; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: min(94svh, 960px); display: flex; align-items: flex-end; color: var(--paper); background: var(--ink); 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: 58% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,16,12,.55) 0%, rgba(20,16,12,.25) 28%, rgba(20,16,12,.7) 62%, rgba(20,16,12,.95) 100%),
    linear-gradient(90deg, rgba(20,16,12,.82) 0%, rgba(20,16,12,.45) 45%, rgba(20,16,12,.1) 80%); }
.hero-inner { padding-top: 140px; padding-bottom: clamp(3rem, 7vw, 5.5rem); width: 100%; }
.hero h1 { max-width: 11.5em; margin-bottom: .4em; font-weight: 600; font-size: clamp(3rem, 8.2vw, 6rem); line-height: 1; }
.hero h1 em { display: block; font-style: italic; font-weight: 500; color: var(--gold-l); max-width: 9.5em; }
.hero-verse { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; max-width: 34em; color: rgba(251,248,242,.88); margin-bottom: 2rem; }
.hero-verse cite { display: block; font-family: var(--sans); font-style: normal; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); margin-top: .6rem; }

/* Service-times strip under hero */
.times-strip { background: var(--ink); color: var(--paper); border-top: 1px solid rgba(251,248,242,.1); }
.times-strip .wrap { display: grid; gap: 0; grid-template-columns: 1fr; }
.times-strip .cell { padding: 1.4rem 0; border-bottom: 1px solid rgba(251,248,242,.1); }
.times-strip .cell:last-child { border-bottom: 0; }
.times-strip .k { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); margin-bottom: .35rem; }
.times-strip .v { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; line-height: 1.2; }
.times-strip .v small { font-family: var(--sans); font-size: .85rem; color: rgba(251,248,242,.7); display: block; margin-top: .2rem; letter-spacing: 0; }
.times-strip a { color: inherit; text-decoration: none; }
.times-strip a:hover .v { color: var(--gold-l); }
@media (min-width: 760px) {
  .times-strip .wrap { grid-template-columns: repeat(3, 1fr); }
  .times-strip .cell { border-bottom: 0; border-right: 1px solid rgba(251,248,242,.1); padding: 1.8rem 2rem; }
  .times-strip .cell:first-child { padding-left: 0; }
  .times-strip .cell:last-child { border-right: 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; isolation: isolate; padding: calc(84px + clamp(3.5rem, 9vw, 7rem)) 0 clamp(3.5rem, 8vw, 6rem); }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: -6%; bottom: -18%; width: min(62vw, 640px); aspect-ratio: 440/322; background: url('../img/mark-light.svg') no-repeat center / contain; opacity: .07; }
.page-hero.has-photo::after { display: none; }
.page-hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,16,12,.94) 0%, rgba(20,16,12,.78) 55%, rgba(20,16,12,.55) 100%); }
.page-hero .ph-media { position: absolute; inset: 0; z-index: -2; }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); max-width: 16ch; }
.page-hero .lead { color: rgba(251,248,242,.82); }
.page-hero .verse { margin: 1.75rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: rgba(251,248,242,.85); max-width: 36em; border-left: 2px solid var(--gold); padding-left: 1.1rem; }
.page-hero .verse cite { display: block; font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); margin-top: .6rem; font-style: normal; }

/* ---------- Split layouts ---------- */
.split { display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-left { grid-template-columns: 1.15fr .85fr; }
  .split.wide-right { grid-template-columns: .85fr 1.15fr; }
  .split.flip > :first-child { order: 2; }
}
.frame { position: relative; }
.frame img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.frame::before { content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.frame-wrap { position: relative; z-index: 0; padding: 0 1.1rem 1.1rem 0; }
.frame-caption { font-size: .8rem; color: var(--muted); margin-top: 1.6rem; letter-spacing: .04em; }

/* ---------- Schedule list ---------- */
.schedule { display: grid; gap: 1.75rem; margin: 2rem 0; }
@media (min-width: 560px) { .schedule { grid-template-columns: 1fr 1fr; } }
.schedule h3 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--crimson); margin-bottom: .75rem; }
.schedule ul { list-style: none; margin: 0; padding: 0; }
.schedule li { display: flex; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.schedule li:last-child { border-bottom: 0; }
.schedule .t { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; min-width: 4.6rem; color: var(--ink); }
.on-dark .schedule .t { color: var(--paper); }
.on-dark .schedule li { border-color: rgba(251,248,242,.14); }
.on-dark .schedule h3 { color: var(--gold-l); }

.address-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1.75rem; }
.bg-paper-card { background: var(--parchment); }
.address-card svg { width: 22px; height: 22px; color: var(--crimson); flex: none; margin-top: .2rem; }
.address-card strong { display: block; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }
.address-card span { color: var(--muted); font-size: .95rem; }

/* ---------- Pastor welcome ---------- */
.welcome-quote { font-family: var(--serif); font-size: clamp(1.35rem, 2.3vw, 1.7rem); line-height: 1.5; font-weight: 500; color: var(--ink); }
.signature { display: flex; align-items: center; gap: 1rem; margin: 1.75rem 0 2rem; }
.signature .line { width: 2.5rem; height: 1px; background: var(--gold); }
.signature strong { font-family: var(--serif); font-size: 1.45rem; display: block; line-height: 1.1; }
.signature span { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Scripture band ---------- */
.scripture { text-align: center; position: relative; overflow: hidden; }
.scripture blockquote { margin: 0 auto; max-width: 980px; }
.scripture p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.75rem, 4.2vw, 3rem); line-height: 1.3; margin-bottom: 1.25rem; }
.scripture cite { font: 600 .75rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; font-style: normal; color: var(--gold-l); }
.scripture .ornament { width: 54px; margin: 0 auto 1.75rem; opacity: .9; }
.bg-parchment.scripture cite, .bg-linen.scripture cite { color: var(--gold-d); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards.four { grid-template-columns: repeat(4, 1fr); } .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
a.card { color: inherit; text-decoration: none; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--linen); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.card:hover .card-media img { transform: scale(1.04); }
.card-media.verse-panel { display: flex; flex-direction: column; justify-content: center; padding: 1.75rem; background: var(--crimson); color: var(--paper); }
.card-media.verse-panel.ink { background: var(--ink-2); }
.card-media.verse-panel p { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.3; margin: 0 0 .75rem; }
.card-media.verse-panel cite { font: 600 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); font-style: normal; }
.card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.card-body .text-link { margin-top: auto; padding-top: .9rem; }
.card .meta { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); }

/* ---------- Media / sermons ---------- */
.video { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; color: var(--paper); }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s var(--ease); }
.yt-facade:hover img { opacity: .95; }
.yt-facade .play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: rgba(251,248,242,.95); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.yt-facade:hover .play { transform: scale(1.07); }
.yt-facade .play svg { width: 26px; height: 26px; margin-left: 4px; color: var(--crimson); }
.featured-msg { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .featured-msg { grid-template-columns: 1.45fr 1fr; gap: 3.5rem; } }
.featured-msg h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.msg-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .msg-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .msg-list { grid-template-columns: repeat(3, 1fr); } }
.msg { display: grid; grid-template-columns: 132px 1fr; gap: 1rem; align-items: center; text-decoration: none; color: inherit; padding: .75rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.msg:hover { border-color: var(--gold); transform: translateY(-2px); color: inherit; }
.msg img { aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; width: 100%; }

@media (min-width: 640px) {
  .msg { grid-template-columns: 1fr; align-items: start; padding: 0; overflow: hidden; }
  .msg img { border-radius: 0; }
  .msg > div { padding: 1rem 1.25rem 1.35rem; }
}
.msg strong { display: block; font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; margin-bottom: .3rem; }
.msg span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.on-dark .msg { background: rgba(251,248,242,.04); border-color: rgba(251,248,242,.12); }
.on-dark .msg span { color: rgba(251,248,242,.65); }

/* ---------- Events ---------- */
.event-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.25rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); align-items: start; }
@media (min-width: 760px) { .event { grid-template-columns: 7rem 1fr auto; gap: 2rem; align-items: center; } }
.event .when { font-family: var(--serif); line-height: 1; color: var(--crimson); }
.event .when b { display: block; font-size: 2.1rem; font-weight: 700; }
.event .when span { font: 600 .7rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); display: block; margin-top: .35rem; }
.event h3 { font-size: 1.55rem; margin: 0 0 .25rem; }
.event p { margin: 0; color: var(--muted); font-size: .98rem; }
.event .where { font-size: .85rem; color: var(--muted); }
.event .tag { display: inline-block; font: 600 .65rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .75rem; white-space: nowrap; }
.placeholder { border: 1px dashed var(--gold); border-radius: var(--radius); padding: 1.5rem 1.75rem; background: rgba(201,163,74,.07); color: var(--muted); }
.placeholder strong { color: var(--ink); font-family: var(--serif); font-size: 1.35rem; display: block; margin-bottom: .25rem; font-weight: 600; }
.on-dark .placeholder { color: rgba(251,248,242,.75); }
.on-dark .placeholder strong { color: var(--paper); }

.week { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.week li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.week b { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.week span { color: var(--muted); font-size: .97rem; }
@media (max-width: 480px) { .week li { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Radio band ---------- */
.radio-band { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .radio-band { grid-template-columns: auto 1fr auto; gap: 3.5rem; } }
.freq { font-family: var(--serif); font-weight: 700; font-size: clamp(4rem, 10vw, 7rem); line-height: .9; color: var(--gold-l); letter-spacing: -.02em; }
.freq small { display: block; font: 600 .75rem/1 var(--sans); letter-spacing: .24em; color: rgba(251,248,242,.75); margin-top: .9rem; }

/* ---------- Give ---------- */
.give-cta { position: relative; overflow: hidden; }
.give-cta .verse-big { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.2; font-weight: 500; max-width: 28ch; margin: 0 auto 1rem; }

/* ---------- Prose (beliefs, articles, bios) ---------- */
.prose { font-size: 1.08rem; line-height: 1.8; }
.prose h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-top: 2.2em; }
.prose h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 1.9em; }
.prose h4 { margin-top: 1.6em; }
.prose > :first-child, .prose .eyebrow + h2, .prose .mt-0 { margin-top: 0; }
.prose blockquote { margin: 1.75em 0; padding: .25em 0 .25em 1.4em; border-left: 2px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.5; color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose .refs { font-size: .88rem; color: var(--muted); letter-spacing: .01em; border-top: 1px solid var(--line); padding-top: .75rem; margin-top: -.25rem; }
.dropcap::first-letter { font-family: var(--serif); float: left; font-size: 4.4rem; line-height: .82; padding: .3rem .6rem 0 0; color: var(--crimson); font-weight: 700; }

/* Beliefs accordion */
.belief-index { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.belief-index a { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--paper); }
.belief-index a:hover { border-color: var(--crimson); color: var(--crimson); }
details.belief { border-top: 1px solid var(--line); }
details.belief:last-of-type { border-bottom: 1px solid var(--line); }
details.belief summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.2; }
details.belief summary::-webkit-details-marker { display: none; }
details.belief summary .n { font: 600 .75rem/1 var(--sans); letter-spacing: .16em; color: var(--gold-d); min-width: 2.2rem; }
details.belief summary .ttl { flex: 1; }
details.belief summary .ic { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background-color .3s var(--ease); }
details.belief summary .ic::before { content: "+"; font-family: var(--sans); font-size: 1.2rem; line-height: 1; color: var(--crimson); }
details.belief[open] summary .ic { transform: rotate(45deg); background: var(--parchment); }
details.belief .body { padding: 0 0 1.75rem 3.2rem; }
@media (max-width: 600px) { details.belief .body { padding-left: 0; } }

/* FAQ */
.faq { display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.3rem 2.5rem 1.3rem 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.25; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1.2rem; font-family: var(--sans); font-size: 1.4rem; color: var(--crimson); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 1.5rem; color: var(--ink-soft); }

.callout { border-left: 3px solid var(--crimson); background: var(--parchment); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.5rem 1.75rem; }
.callout strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin-bottom: .25rem; }

/* Steps (salvation) */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); position: relative; }
.step::before { content: counter(step, upper-roman); position: absolute; top: clamp(1.5rem, 3vw, 2.25rem); right: clamp(1.5rem, 3vw, 2.25rem); font-family: var(--serif); font-weight: 700; font-size: 1.6rem; color: var(--gold); }
.step h3 { padding-right: 3rem; }
.step blockquote { margin: 0 0 1rem; font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--ink-soft); }
.step blockquote cite { display: block; font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); font-style: normal; margin-top: .5rem; }
.step .q { margin: 1rem 0 0; font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--crimson); }

/* People */
.person { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.person:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .person { grid-template-columns: 5fr 7fr; } .person.flip { grid-template-columns: 7fr 5fr; } .person.flip > :first-child { order: 2; } .person .frame-wrap { position: sticky; top: 100px; } }
.person .role { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
.person h2 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin-top: .3rem; }

/* Contact */
.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { display: flex; flex-direction: column; gap: .5rem; padding: 2rem 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); text-decoration: none; color: inherit; transition: border-color .25s var(--ease), transform .25s var(--ease); }
a.contact-card:hover { border-color: var(--gold); transform: translateY(-3px); color: inherit; }
.contact-card svg { width: 26px; height: 26px; color: var(--crimson); margin-bottom: .5rem; }
.contact-card .k { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
.contact-card .v { font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; word-break: break-word; }
.map { border: 0; width: 100%; height: clamp(320px, 45vw, 460px); border-radius: var(--radius); filter: grayscale(.25) sepia(.08); box-shadow: var(--shadow); background: var(--linen); }
.socials { display: flex; gap: .75rem; flex-wrap: wrap; }
.socials a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; color: inherit; opacity: .85; transition: opacity .2s, background-color .2s; }
.socials a:hover { opacity: 1; background: rgba(201,163,74,.15); }
.socials svg { width: 18px; height: 18px; }

/* Articles */
.article-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.article-item { display: grid; gap: .35rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
@media (min-width: 760px) { .article-item { grid-template-columns: 10rem 1fr auto; gap: 2rem; align-items: baseline; } }
.article-item time { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.article-item h3 { margin: 0; font-size: 1.6rem; transition: color .2s; }
.article-item p { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }
.article-item:hover h3 { color: var(--crimson); }
.article-item .text-link { white-space: nowrap; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); font-weight: 600; margin-top: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(251,248,242,.08); background: var(--ink); color: rgba(251,248,242,.78); padding: clamp(4rem, 8vw, 6rem) 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2.75rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.15fr .9fr; } }
.site-footer h2 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-l); margin: 0 0 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(251,248,242,.88); text-decoration: none; }
.site-footer a:hover { color: var(--gold-l); }
.footer-logo { width: 170px; margin-bottom: 1.5rem; }
.footer-verse { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.45; color: rgba(251,248,242,.85); max-width: 24em; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(251,248,242,.12); display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .82rem; color: rgba(251,248,242,.55); }

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.divider { width: 64px; height: 1px; background: var(--gold); border: 0; margin: 2rem 0; }
.center .divider { margin-left: auto; margin-right: auto; }
@media print { .site-header, .site-footer, .announce { display: none; } .page-hero { padding-top: 2rem; } }

/* Lining (full-height) numerals for times, dates, and numbers set in the serif */
h1, h2, h3, h4, .schedule .t, .event .when, .times-strip .v, .freq, .week b, .contact-card .v, .address-card strong, .msg strong, .signature strong { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
