/* ============================================================
   AGAPE BIBLE CHURCH — Design System v2 "Cathedral"
   Editorial restraint. Warm parchment, deep ink, candlelight gold.
   ============================================================ */

:root {
  /* Palette */
  --bg: #F7F3EB;
  --bg-alt: #EFE8DA;
  --surface: #FFFEFB;
  --ink: #16110D;
  --ink-soft: #4A4036;
  --muted: #7C7060;
  --line: #DDD3C0;
  --line-soft: #E8E0D0;
  --gold: #A87B33;
  --gold-deep: #8A5F22;
  --gold-soft: #EFE3C8;
  --wine: #722B2B;
  --wine-soft: #F4E7E2;
  --dark: #16110D;
  --dark-2: #211A13;
  --on-dark: #F3ECDD;
  --on-dark-muted: #BBAD97;
  --hairline-dark: rgba(243,236,221,.14);

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(22,17,13,.04), 0 10px 30px rgba(22,17,13,.07);
  --shadow-lg: 0 2px 6px rgba(22,17,13,.05), 0 24px 60px rgba(22,17,13,.13);
  --container: 1180px;
  --section-pad: clamp(4.5rem, 10vw, 7.5rem);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--gold-soft); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .55em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.5vw, 4.8rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.2; }
h4 { font-size: 1.15rem; line-height: 1.3; }
h1 em, h2 em { font-style: italic; font-weight: 500; }
p { margin: 0 0 1.15em; }
.lead { font-size: clamp(1.125rem, 2vw, 1.32rem); color: var(--ink-soft); line-height: 1.65; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2.2rem); }
.container--narrow { max-width: 840px; }

section { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--on-dark); position: relative; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--on-dark); }
.section-dark p { color: var(--on-dark-muted); }

/* Eyebrow + section heading pattern */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1.3rem;
}
.eyebrow::before { content: ""; width: 2.6rem; height: 1px; background: var(--gold); }
.section-dark .eyebrow { color: var(--gold-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .eyebrow::after { display: none; }

/* gty-style date stamp row */
.head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.head-stamp { font-size: .85rem; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.9rem; border-radius: 6px;
  font-family: var(--font-body); font-size: .82rem; font-weight: 650; line-height: 1;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; transition: all .22s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--gold-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--outline { border-color: rgba(22,17,13,.35); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #fff; transform: translateY(-1px); }
.btn--ghost-light { border-color: rgba(243,236,221,.45); color: var(--on-dark); background: transparent; }
.btn--ghost-light:hover { background: rgba(243,236,221,.1); border-color: rgba(243,236,221,.8); }
.btn--gold { background: var(--gold-deep); color: #fff; }
.btn--gold:hover { background: var(--gold); transform: translateY(-1px); }
.btn--wine { background: var(--wine); color: #fff; }
.btn--wine:hover { background: #8a3a37; transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,243,235,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 84px;
}
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none !important; }
.brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
  line-height: 1.05; color: var(--ink); letter-spacing: .01em;
}
.brand__tag { display: block; font-family: var(--font-body); font-weight: 600; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); margin-top: .3rem; }

.nav-main { display: flex; align-items: center; gap: clamp(1.1rem, 2.6vw, 2.1rem); }
.nav-main a {
  font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none !important; padding: .35rem 0; position: relative;
}
.nav-main a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1.5px;
  background: var(--gold); transition: right .24s ease;
}
.nav-main a:hover::after, .nav-main a[aria-current="page"]::after { right: 0; }
.nav-main a[aria-current="page"] { color: var(--ink); }
.nav-cta { margin-left: .5rem; }
.nav-main a.nav-cta { padding: .8rem 1.4rem; color: var(--bg); font-size: .76rem; }
.nav-main a.nav-cta::after { display: none; }
.nav-main a.nav-cta:hover { color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: .55rem; cursor: pointer;
  border-radius: 8px; color: var(--ink);
}
.nav-toggle:hover { background: var(--bg-alt); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav-main {
    position: fixed; inset: 84px 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .6rem 1.4rem 1.6rem;
    transform: translateY(-130%); transition: transform .3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-main.is-open { transform: translateY(0); }
  .nav-main a { padding: 1rem .2rem; font-size: .92rem; border-bottom: 1px solid var(--line-soft); }
  .nav-main a::after { display: none; }
  .nav-cta { margin: 1.1rem 0 0; justify-content: center; display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: clamp(580px, 92vh, 860px); padding: 0; overflow: hidden;
  background: var(--dark);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(13,9,6,.94) 0%, rgba(13,9,6,.62) 38%, rgba(13,9,6,.28) 66%, rgba(13,9,6,.45) 100%);
}
.hero__content { position: relative; z-index: 1; width: 100%; padding: clamp(3.5rem, 8vw, 6rem) 0; color: #fff; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: .9rem;
  font-size: .72rem; font-weight: 650; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 1.6rem;
}
.hero__kicker::before, .hero__kicker::after { content: ""; width: 2.4rem; height: 1px; background: rgba(239,227,200,.55); }
.hero h1 { color: #fff; max-width: 22ch; }
.hero h1 em { color: var(--gold-soft); }
.hero .lead { color: rgba(255,255,255,.82); max-width: 58ch; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; margin-top: 2.4rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(243,236,221,.22);
  font-size: .9rem; letter-spacing: .02em; color: rgba(255,255,255,.85);
}
.hero__meta span { display: inline-flex; align-items: center; gap: .55rem; }
.hero__meta svg { width: 1.1em; height: 1.1em; color: var(--gold-soft); }

.hero--sub { min-height: clamp(440px, 64vh, 600px); }

/* ---------- Verse band ---------- */
.verse-band { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.verse-band--dark { background: var(--dark-2); border-color: var(--hairline-dark); }
.verse-band blockquote {
  margin: 0 auto; max-width: 880px; text-align: center;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.45; color: var(--ink);
}
.verse-band--dark blockquote { color: var(--on-dark); }
.verse-band cite {
  display: block; text-align: center; margin-top: 1.4rem; font-style: normal;
  font-family: var(--font-body); font-size: .76rem; font-weight: 650; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep);
}
.verse-band--dark cite { color: var(--gold-soft); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.7rem 1.8rem 1.9rem; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.card__body h3 { margin-bottom: .5rem; font-size: 1.3rem; }
.card__body p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }

.grid { display: grid; gap: clamp(1.3rem, 3vw, 2.2rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 2.2rem 1rem 2rem; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stat__num { font-family: var(--font-display); font-size: clamp(2.2rem, 4.8vw, 3.4rem); font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.stat__label { font-size: .72rem; font-weight: 650; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: .8rem; }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.stats--dark { border-color: var(--hairline-dark); }
.stats--dark .stat + .stat::before { background: var(--hairline-dark); }
.stats--dark .stat__num { color: var(--gold-soft); }
.stats--dark .stat__label { color: var(--on-dark-muted); }
@media (max-width: 720px) { .stats--dark .stat:nth-child(n+3) { border-top-color: var(--hairline-dark); } }

/* 6-up stat rows (ministry, pastor bio) */
.stats--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1020px) {
  .stats--6 { grid-template-columns: repeat(3, 1fr); }
  .stats--6 .stat:nth-child(3n+1)::before { display: none; }
  .stats--6 .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .stats--6 { grid-template-columns: repeat(2, 1fr); }
  .stats--6 .stat::before { display: none; }
  .stats--6 .stat + .stat::before { display: block; }
  .stats--6 .stat:nth-child(3n+1)::before { display: block; }
  .stats--6 .stat:nth-child(odd)::before { display: none !important; }
  .stats--6 .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats--6 .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
}
/* 2-up mini stat blocks keep two columns at all widths */
.stats--mini { grid-template-columns: repeat(2, 1fr) !important; }
.stats--mini .stat:nth-child(odd)::before { display: none; }
.stats--mini .stat:nth-child(n+3) { border-top: 1px solid var(--hairline-dark); }
/* stacked single-column stats */
.stats--stack { grid-template-columns: 1fr !important; }
.stats--stack .stat + .stat::before { display: none; }
.stats--stack .stat + .stat { border-top: 1px solid var(--line); }

/* ---------- Scripture / quote ---------- */
.scripture {
  position: relative; max-width: 780px; margin: 0 auto; text-align: center;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.4rem, 5vw, 3rem);
}
.scripture::before {
  content: "\201C"; display: block; font-family: var(--font-display);
  font-size: 5.5rem; line-height: .55; color: var(--gold); margin-bottom: 1.6rem;
}
.scripture blockquote {
  margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-style: italic; font-weight: 500; line-height: 1.42; color: var(--ink);
}
.scripture cite { display: block; margin-top: 1.5rem; font-style: normal; font-size: .76rem; font-weight: 650; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); }
.section-dark .scripture blockquote { color: var(--on-dark); }
.section-dark .scripture cite { color: var(--gold-soft); }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 2.4rem; }
.timeline::before { content: ""; position: absolute; left: .5rem; top: .4rem; bottom: .4rem; width: 1.5px; background: linear-gradient(var(--gold) 0%, var(--line) 100%); }
.timeline__item { position: relative; padding: 0 0 2.6rem 1.3rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -2.4rem; top: .4rem;
  width: 1.05rem; height: 1.05rem;
  background: var(--bg); border: 2.5px solid var(--gold); border-radius: 50%;
}
.timeline__year { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--gold-deep); letter-spacing: .01em; }
.timeline__year small { font-family: var(--font-body); font-weight: 650; font-size: .7rem; color: var(--muted); margin-left: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.timeline__item h3 { font-size: 1.3rem; margin: .3rem 0 .45rem; }
.timeline__item p { color: var(--ink-soft); margin-bottom: 0; font-size: 1rem; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.2rem, 5.5vw, 4.5rem); align-items: center; }
.split > *, .grid > *, .jubilee__inner > * { min-width: 0; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.photo-frame { position: relative; }
.photo-frame img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.photo-frame::after {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--gold); opacity: .35; border-radius: var(--radius-lg); z-index: -1;
}
.photo-frame--plain::after { display: none; }
.photo-frame figcaption { margin-top: 1.1rem; font-size: .85rem; color: var(--muted); text-align: center; font-style: italic; }

/* ---------- Lists ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .75rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-soft); }
.checklist svg { width: 1.2rem; height: 1.2rem; flex: none; color: var(--gold-deep); margin-top: .26rem; }
.section-dark .checklist li { color: var(--on-dark-muted); }
.section-dark .checklist svg { color: var(--gold-soft); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.steps li { position: relative; padding-left: 3.6rem; color: var(--ink-soft); }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -.05rem;
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--gold); color: var(--gold-deep);
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  border-radius: 50%;
}

/* ---------- Icon feature ---------- */
.feature { display: flex; gap: 1.2rem; align-items: flex-start; }
.feature__icon {
  flex: none; width: 3.1rem; height: 3.1rem; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--gold); color: var(--gold-deep); border-radius: 50%;
}
.feature__icon svg { width: 1.35rem; height: 1.35rem; }
.feature h4 { margin-bottom: .3rem; }
.feature p { font-size: .96rem; color: var(--muted); margin-bottom: 0; }
.section-dark .feature__icon { border-color: rgba(239,227,200,.4); color: var(--gold-soft); }
.section-dark .feature p { color: var(--on-dark-muted); }

/* ---------- Sermons ---------- */
.sermon-card .card__media { aspect-ratio: 16/9; }
.sermon-card .card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,9,6,.4), transparent 50%);
}
.sermon-card__play {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; z-index: 2;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(247,243,235,.94); color: var(--ink);
  transition: transform .22s ease, background .22s ease;
}
.sermon-card__play svg { width: 24px; height: 24px; margin-left: 3px; }
.sermon-card:hover .sermon-card__play { transform: scale(1.1); background: #fff; color: var(--wine); }
.sermon-card__meta { display: flex; flex-wrap: wrap; gap: .45rem .6rem; margin-bottom: .9rem; }
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .66rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  padding: .38rem .8rem; border-radius: 4px;
  background: var(--gold-soft); color: var(--gold-deep);
}
.badge--wine { background: var(--wine-soft); color: var(--wine); }
.badge--plain { background: var(--bg-alt); color: var(--muted); }
.sermon-card__speaker { font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--wine); margin-bottom: .5rem; }
.sermon-card__date { font-size: .85rem; color: var(--muted); margin-top: auto; }

.filter-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.filter-btn {
  padding: .62rem 1.25rem; border-radius: 4px; border: 1px solid var(--line);
  background: transparent; color: var(--ink-soft); font-weight: 650; font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: all .2s ease; font-family: var(--font-body);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------- 50 Years band ---------- */
.jubilee { position: relative; overflow: hidden; }
.jubilee__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 760px) { .jubilee__inner { grid-template-columns: 1fr; text-align: center; } }
.jubilee__num {
  font-family: var(--font-display); font-weight: 700; line-height: .8;
  font-size: clamp(7rem, 18vw, 13rem); color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
}
.jubilee__num span { display: block; -webkit-text-stroke: 0; color: var(--gold-soft); font-size: .12em; font-family: var(--font-body); font-weight: 650; letter-spacing: .42em; text-transform: uppercase; margin-top: 1.6rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.7rem, 4vw, 2.8rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1.25rem; }
.form-grid .form-field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field label { display: block; font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: .45rem; }
.form-field label .req { color: var(--wine); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .85rem 1.05rem; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168,123,51,.16);
}
.form-field textarea { resize: vertical; min-height: 150px; }
.form-check, .form-field label.form-check, .form-field .form-check {
  display: flex; align-items: flex-start; gap: .7rem; font-size: .97rem; color: var(--ink-soft);
  text-transform: none; letter-spacing: 0; font-weight: 450; margin-bottom: 0; cursor: pointer;
}
.form-check input { width: 1.15rem; height: 1.15rem; margin-top: .25rem; accent-color: var(--gold-deep); flex: none; cursor: pointer; }
.form-check b { font-weight: 600; color: var(--ink); }
.form-note { font-size: .86rem; color: var(--muted); }

/* Segmented choice (radio pills) */
.choice-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.choice-pill { position: relative; }
.choice-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-pill span {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.4rem; border-radius: 6px; border: 1px solid var(--line);
  font-size: .92rem; font-weight: 550; color: var(--ink-soft); background: var(--bg);
  transition: all .2s ease; cursor: pointer;
}
.choice-pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.choice-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(168,123,51,.3); }

/* Urgent prayer banner */
.support-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem;
  background: var(--wine-soft); border: 1px solid rgba(114,43,43,.15); border-radius: var(--radius-lg);
  padding: 1.6rem 2rem; margin-top: 2rem;
}
.support-strip h4 { margin: 0 0 .3rem; color: var(--wine); display: flex; align-items: center; gap: .6rem; }
.support-strip h4 svg { width: 1.15rem; height: 1.15rem; flex: none; }
.support-strip p { margin: 0; font-size: .95rem; color: var(--ink-soft); max-width: 46ch; }

/* ---------- Contact / visit ---------- */
.info-tile { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.8rem 1.9rem; box-shadow: var(--shadow); height: 100%; }
.info-tile h4 { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.info-tile h4 svg { width: 1.15rem; height: 1.15rem; color: var(--gold-deep); flex: none; }
.info-tile p { font-size: .98rem; color: var(--ink-soft); margin-bottom: .45rem; }
.info-tile .sub { font-size: .82rem; color: var(--muted); }

.schedule-list { list-style: none; margin: 0; padding: 0; }
.schedule-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line-soft); font-size: .97rem; }
.schedule-list li:last-child { border-bottom: 0; }
.schedule-list .when { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.schedule-list .what { font-weight: 600; color: var(--ink); }

/* ---------- Donation ---------- */
.give-tier { text-align: center; padding: 2rem 1.3rem; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.give-tier__amt { font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; color: var(--ink); }
.give-tier p { font-size: .88rem; color: var(--muted); margin: .5rem 0 0; letter-spacing: .02em; }
.give-detail {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem 1.15rem; background: var(--bg); border: 1px solid var(--line-soft); border-radius: 8px;
  font-size: .97rem; margin-bottom: .7rem;
}
.give-detail b { font-weight: 650; color: var(--ink); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.give-detail span { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.copy-btn {
  flex: none; display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  padding: .45rem .8rem; border-radius: 4px; cursor: pointer;
  font-family: var(--font-body); transition: all .2s ease;
}
.copy-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.copy-btn.is-copied { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-deep); }
.copy-btn svg { width: 1em; height: 1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: clamp(3.5rem, 7vw, 5rem) 0 0; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1.4fr 1.4fr; gap: clamp(2rem, 4vw, 3.2rem); padding-bottom: 3.2rem; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.footer-brand img { width: 54px; height: 54px; border-radius: 50%; }
.footer-brand b { font-family: var(--font-display); font-size: 1.2rem; color: var(--on-dark); display: block; line-height: 1.15; }
.footer-brand small { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); }
.site-footer h4 { color: var(--on-dark); font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .95rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; font-size: .93rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: .3rem; color: var(--gold-soft); }
.social-row { display: flex; gap: .7rem; margin-top: 1.3rem; }
.social-row a {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid var(--hairline-dark); color: var(--on-dark); transition: all .22s ease;
}
.social-row a:hover { background: var(--gold-deep); border-color: var(--gold-deep); transform: translateY(-2px); }
.social-row svg { width: 1.1rem; height: 1.1rem; }
.footer-tagline {
  border-top: 1px solid var(--hairline-dark); padding: 1.6rem 0; text-align: center;
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--on-dark-muted);
}
.footer-bottom { border-top: 1px solid var(--hairline-dark); padding: 1.5rem 0 1.7rem; font-size: .82rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
.footer-bottom p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; text-align: center; max-width: 820px; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(110% 150% at 50% -20%, rgba(168,123,51,.28), transparent 58%);
}

/* ---------- Reveal animations (desktop only — phones always show content) ---------- */
@media (prefers-reduced-motion: no-preference) and (min-width: 641px) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: .12s; } .reveal-d2 { transition-delay: .24s; } .reveal-d3 { transition-delay: .36s; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.gold { color: var(--gold-deep); }
.wine { color: var(--wine); }
.hairline-top { border-top: 1px solid var(--line); }
.divider-cross { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--gold); margin: 0 auto; }
.divider-cross::before, .divider-cross::after { content: ""; height: 1px; width: min(90px, 20vw); background: var(--line); }

/* ---------- Mobile hardening ---------- */
html, body { overflow-x: clip; }

@media (max-width: 640px) {
  :root { --section-pad: clamp(3.2rem, 12vw, 4.5rem); }
  h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  h2 { font-size: clamp(1.7rem, 7.5vw, 2.1rem); }
  .lead { font-size: 1.08rem; }
  .hero { min-height: min(88vh, 640px); }
  .hero--sub { min-height: min(62vh, 460px); }
  .hero__kicker { font-size: .62rem; letter-spacing: .22em; }
  .hero__kicker::before, .hero__kicker::after { width: 1.2rem; }
  .hero__meta { gap: .8rem 1.4rem; font-size: .84rem; }
  .btn { padding: .9rem 1.45rem; font-size: .78rem; width: auto; }
  .btn-row { gap: .7rem; }
  .btn-row .btn { flex: 1 1 auto; min-width: 0; }

  /* photo frame: keep the gold offset inside the viewport */
  .photo-frame::after { inset: .9rem -.5rem -.9rem .9rem; }

  .card__body { padding: 1.3rem 1.3rem 1.5rem; }
  .info-tile { padding: 1.4rem 1.3rem; }
  .form-card { padding: 1.4rem 1.15rem 1.6rem; }
  .scripture { padding: 1.4rem .4rem; }
  .scripture::before { font-size: 4rem; }
  .timeline { padding-left: 2rem; }
  .timeline__item { padding-left: .9rem; }
  .timeline__item::before { left: -2rem; width: .9rem; height: .9rem; }
  .steps li { padding-left: 3.1rem; }
  .stat { padding: 1.6rem .6rem 1.4rem; }
  .stat__num { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .stat__label { font-size: .62rem; letter-spacing: .14em; }
  .give-detail { flex-wrap: wrap; }
  .support-strip { padding: 1.3rem 1.2rem; }
  .support-strip .btn-row { width: 100%; }
  .verse-band blockquote { font-size: 1.2rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .jubilee__num { font-size: clamp(5.5rem, 26vw, 8rem); }
  .filter-btn { padding: .55rem .95rem; font-size: .7rem; }
  .choice-row { width: 100%; }
  .choice-pill { flex: 1 1 45%; }
  .choice-pill span { width: 100%; justify-content: center; }
}
