:root {
  --bg: #faf6f0;
  --card: #fdfbf7;
  --ink: #2b2b2b;
  --muted: #666;
  --primary: #2a4e18;
  --primary-ink: #faf6f0;
  --sand: #c9a46c;
  --gold: #dcae2e;
  --line: #ddd2c2;
  --soft: #efe8dc;
  --navy: #1a2744;
  --radius: 10px;
  --heading: "Playfair Display", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--heading); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,246,240,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); font: 700 1.2rem var(--heading); white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-size: .88rem; padding: 6px 9px; border-radius: 6px; }
.nav a:hover, .nav a[aria-current] { background: var(--soft); color: var(--primary); }
.nav a.cta { background: var(--primary); color: var(--primary-ink); margin-left: 6px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; cursor: pointer; color: var(--ink); }
@media (max-width: 1060px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); flex-direction: column; align-items: stretch; padding: 10px 20px 18px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 10px; font-size: 1rem; }
  .nav a.cta { margin: 6px 0 0; text-align: center; }
}

/* buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; text-decoration: none; font-weight: 600; border: 2px solid transparent; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { filter: brightness(1.15); }
.btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }

/* hero */
.hero { position: relative; min-height: 78vh; display: grid; place-items: center; text-align: center; color: #fff; background: #222 center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.55)); }
.hero > div { position: relative; padding: 60px 20px; max-width: 820px; }
.hero p { font-size: 1.2rem; opacity: .92; margin: 0 0 28px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.page-hero { position: relative; padding: 90px 20px 70px; text-align: center; color: #fff; background: var(--primary) center/cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.page-hero > * { position: relative; }
.page-hero.plain { background: var(--soft); color: var(--ink); }
.page-hero.plain::before { display: none; }
.page-hero p { margin: 0; font-size: 1.15rem; opacity: .9; }

/* sections & cards */
section { padding: 70px 0; }
.alt { background: var(--soft); }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--primary); margin-bottom: 14px; }
.card .icon svg { width: 22px; height: 22px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--sand); margin: 0 0 4px; }

.verse { text-align: center; padding: 64px 20px; background: var(--navy); color: #f1ead9; }
.verse blockquote { font: italic 1.5rem/1.5 var(--heading); max-width: 760px; margin: 0 auto 12px; }
.verse cite { font-style: normal; color: var(--gold); }

.cta-band { text-align: center; }
.cta-band p { margin: 0 0 22px; }

/* about */
.split { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
.split img { border-radius: var(--radius); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.pillars { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.pillar { text-align: center; padding: 22px 14px; }
.pillar.jesus { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }

/* details list */
.details { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.details dt { text-transform: uppercase; font-size: .75rem; letter-spacing: .1em; color: var(--sand); font-weight: 700; }
.details dd { margin: 4px 0 0; font-weight: 600; }
.steps { counter-reset: s; display: grid; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step b.n { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }

/* tiers */
.tier { display: flex; gap: 20px; }
.tier .n { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 700 1.3rem var(--heading); color: #fff; }
.tier ul { margin: 10px 0 0; padding-left: 20px; }
.tier + .tier { margin-top: 22px; }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line); background: var(--card); padding: 7px 16px; border-radius: 999px; cursor: pointer; font: inherit; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.gallery { columns: 4 220px; column-gap: 12px; }
.gallery button { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; border-radius: 8px; overflow: hidden; }
.gallery img { width: 100%; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: none; place-items: center; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }

/* lists: schedule, dining, events, links */
.month { margin-top: 28px; }
.month h3 { border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.rows { display: grid; gap: 8px; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.row.next { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.highlight { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 26px; text-align: center; }
.highlight p { margin: 0; }
.teachers { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 24px 0 0; }
.chip { padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; }

.dine { display: flex; gap: 18px; align-items: flex-start; }
.date-badge { flex: none; width: 70px; text-align: center; border-radius: 8px; background: var(--soft); padding: 8px 4px; line-height: 1.15; }
.date-badge b { display: block; font: 700 1.7rem var(--heading); color: var(--primary); }
.date-badge small { font-size: .72rem; letter-spacing: .08em; }
.dine.next { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.tag { display: inline-block; background: var(--gold); color: #222; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.links-inline { display: flex; gap: 14px; margin-top: 8px; font-size: .9rem; }

.link-card { display: flex; gap: 14px; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.link-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.link-card img { width: 32px; height: 32px; flex: none; }
.link-card h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--primary); }
.link-card p { margin: 0; font-size: .92rem; color: var(--muted); }

/* forms */
form { display: grid; gap: 16px; }
label { font-weight: 600; font-size: .92rem; display: grid; gap: 6px; }
input, select, textarea { font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.notice { padding: 14px 16px; border-radius: 8px; background: var(--soft); }

/* footer */
.site-footer { background: var(--navy); color: #d6dbe6; padding: 56px 0 28px; font-size: .95rem; }
.site-footer .cols { display: grid; gap: 30px; grid-template-columns: 2fr 1fr 1.4fr; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font: 700 1.1rem var(--heading); margin: 0 0 12px; }
.site-footer a { color: #d6dbe6; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; text-align: center; font-size: .85rem; color: #9aa3b5; }
