/* ==========================================================
   Victory Pentecostal Ministry — styles
   ========================================================== */

:root {
  --ink: #1b1440;          /* deep royal indigo */
  --ink-2: #2a1f5c;
  --ink-soft: #4a4270;
  --gold: #e0b04a;
  --gold-deep: #b8862a;
  --flame: #c8452d;        /* Pentecost red */
  --cream: #faf6ee;
  --paper: #ffffff;
  --line: rgba(27, 20, 64, 0.12);
  --muted: #6b6488;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(27, 20, 64, 0.35);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1rem; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font: 700 0.95rem/1 var(--sans); letter-spacing: 0.02em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(224, 176, 74, .7); }
.btn-gold:hover { background: #ebc267; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.text-link {
  font-weight: 700; color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-sub { color: var(--muted); }

.scripture {
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.5;
  border-left: 3px solid var(--gold); padding-left: 20px; margin-top: 28px; color: var(--ink-soft);
}
.scripture span { display: block; font-style: normal; font-family: var(--sans); font-size: .85rem; margin-top: 8px; color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(27, 20, 64, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -15px rgba(0,0,0,.5);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.brand-text small { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: .93rem;
  position: relative; padding: 4px 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav a:not(.btn):hover, .site-nav a.active { color: #fff; }
.site-nav a:not(.btn):hover::after, .site-nav a.active::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 48px) 0 0;
  color: #fff;
  background:
    radial-gradient(ellipse at 50% -10%, #3d2c86 0%, transparent 60%),
    linear-gradient(180deg, #1b1440 0%, #120d2e 100%);
}
.hero-glow {
  position: absolute; z-index: -1; left: 50%; top: 8%; width: 720px; height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(224,176,74,.35) 0%, rgba(200,69,45,.12) 40%, transparent 70%);
  filter: blur(20px);
  animation: breathe 8s ease-in-out infinite;
}
.hero-rays {
  position: absolute; z-index: -1; inset: -20%;
  background: repeating-conic-gradient(from 0deg at 50% 18%, rgba(224,176,74,.06) 0deg 4deg, transparent 4deg 14deg);
  mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 60%);
  animation: spin 120s linear infinite;
}
@keyframes breathe { 50% { transform: translateX(-50%) scale(1.08); opacity: .85; } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { color: var(--gold); justify-content: center; }
.hero .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.8rem, 8vw, 6rem); letter-spacing: -0.02em; line-height: 1.02;
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lead { max-width: 620px; font-size: 1.12rem; color: rgba(255,255,255,.8); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 56px; }

.next-service {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 16px 24px; border-radius: 20px; text-align: left;
}
.next-service small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.next-service strong { display: block; font-size: 1rem; }
.next-service span { font-size: .88rem; color: rgba(255,255,255,.7); }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(224,176,74,.7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(224,176,74,0); } 100% { box-shadow: 0 0 0 0 rgba(224,176,74,0); } }

.countdown { display: flex; gap: 8px; }
.countdown div {
  min-width: 58px; text-align: center; padding: 8px 6px; border-radius: 12px;
  background: rgba(0,0,0,.25);
}
.countdown b { display: block; font-family: var(--serif); font-size: 1.6rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.countdown span { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }

.hero-verse {
  margin: 64px 0 0; padding: 26px 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.75);
}
.hero-verse strong { color: var(--gold); font-weight: 600; }
.hero-verse cite { display: block; font-style: normal; font-family: var(--sans); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; margin-top: 6px; color: rgba(255,255,255,.5); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-copy p { color: var(--ink-soft); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pillar {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .3s ease, box-shadow .3s ease;
}
.pillar:nth-child(even) { transform: translateY(28px); }
.pillar:hover { box-shadow: var(--shadow); }
.pillar-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--ink), var(--ink-2)); margin-bottom: 18px;
}
.pillar-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-family: var(--serif); font-size: 1.55rem; margin-bottom: 8px; }
.pillar p { font-size: .94rem; color: var(--muted); margin: 0; }

/* ---------- Pastor ---------- */
.pastor { background: var(--paper); }
.pastor-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.pastor-photo {
  position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(224,176,74,.45), transparent 55%),
    linear-gradient(160deg, var(--ink-2), var(--ink));
  box-shadow: var(--shadow);
}
.pastor-photo::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(224,176,74,.45); border-radius: 16px; pointer-events: none;
}
.pastor-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.pastor-monogram {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: clamp(4rem, 10vw, 7rem); font-weight: 600; letter-spacing: .08em;
  color: rgba(224,176,74,.85);
}
.pastor-photo figcaption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 60px 28px 28px;
  background: linear-gradient(transparent, rgba(18,13,46,.9)); color: #fff;
}
.pastor-photo figcaption strong { display: block; font-family: var(--serif); font-size: 1.45rem; }
.pastor-photo figcaption span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.pastor-quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.4;
  color: var(--ink); position: relative; padding-top: 12px;
}
.pastor-copy p:not(.pastor-quote):not(.eyebrow) { color: var(--ink-soft); }
.pastor-copy .btn { margin-top: 12px; }

/* ---------- Services ---------- */
.services { background: var(--cream); }
.service-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; transition: transform .3s ease, box-shadow .3s ease; overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .day {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--flame); margin-bottom: 18px;
}
.service-card h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 10px; }
.service-card .time { font-weight: 700; margin-bottom: 12px; }
.service-card p:last-child { color: var(--muted); font-size: .94rem; margin: 0; }
.service-card.featured { background: linear-gradient(160deg, var(--ink-2), var(--ink)); color: #fff; border-color: transparent; }
.service-card.featured .day { color: var(--gold); }
.service-card.featured .time { color: var(--gold); }
.service-card.featured p:last-child { color: rgba(255,255,255,.72); }
.service-card.featured::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,176,74,.35), transparent 70%);
}

/* ---------- Ministries ---------- */
.ministries { background: var(--ink); color: #fff; }
.ministries .section-title { color: #fff; }
.ministries .eyebrow { color: var(--gold); }
.ministry-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.12); border-left: 1px solid rgba(255,255,255,.12);
}
.ministry {
  padding: 36px 28px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background .3s ease;
}
.ministry:hover { background: rgba(224,176,74,.08); }
.ministry-num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); display: block; margin-bottom: 26px; }
.ministry h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 10px; }
.ministry p { font-size: .94rem; color: rgba(255,255,255,.65); margin: 0; }

/* ---------- Events ---------- */
.event-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.event {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 28px; align-items: center;
  padding: 28px 8px; border-bottom: 1px solid var(--line); transition: background .25s ease, padding .25s ease;
}
.event:hover { background: var(--paper); padding-inline: 20px; }
.event time { text-align: center; }
.event time b { display: block; font-family: var(--serif); font-size: 2.8rem; line-height: 1; color: var(--ink); }
.event time span { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--flame); }
.event h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 4px; }
.event p { margin: 0; color: var(--muted); font-size: .95rem; }
.tag {
  white-space: nowrap; font-size: .8rem; font-weight: 700; padding: 8px 14px; border-radius: 999px;
  background: rgba(224,176,74,.18); color: var(--gold-deep);
}

/* ---------- Verse band ---------- */
.verse-band {
  padding: clamp(64px, 9vw, 110px) 0; text-align: center; color: #fff;
  background:
    radial-gradient(ellipse at center, rgba(224,176,74,.25), transparent 65%),
    linear-gradient(120deg, #7a2418 0%, var(--flame) 50%, #7a2418 100%);
}
.verse-band p { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 4.2vw, 3.2rem); line-height: 1.25; max-width: 900px; margin: 0 auto 16px; }
.verse-band cite { font-style: normal; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* ---------- Give ---------- */
.give-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.give-grid > div > p:not(.eyebrow):not(.scripture) { color: var(--ink-soft); }
.bank-card {
  position: relative; overflow: hidden; border-radius: 24px; padding: 34px 30px; color: #fff;
  background: linear-gradient(145deg, var(--ink-2) 0%, var(--ink) 70%);
  box-shadow: var(--shadow);
}
.bank-card::before {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%;
  border: 40px solid rgba(224,176,74,.12);
}
.bank-row { position: relative; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.bank-row small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.bank-row strong { font-size: 1.15rem; }
.bank-row.account { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.bank-row.account strong { font-family: var(--serif); font-size: 2rem; letter-spacing: .08em; }
.copy-btn {
  background: var(--gold); color: var(--ink); border: 0; border-radius: 999px; padding: 8px 16px;
  font: 700 .82rem var(--sans); cursor: pointer;
}
.bank-note { position: relative; font-size: .85rem; color: rgba(255,255,255,.8); margin: 18px 0 0; }

/* ---------- Visit ---------- */
.visit { background: var(--paper); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.expect { list-style: none; margin: 0 0 32px; padding: 0; }
.expect li { position: relative; padding: 0 0 16px 34px; color: var(--ink-soft); }
.expect li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1440' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.expect strong { color: var(--ink); }
.contact-lines { font-style: normal; border-top: 1px solid var(--line); padding-top: 22px; }
.contact-lines p { display: flex; gap: 16px; margin-bottom: 10px; }
.contact-lines span { flex: none; width: 72px; font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-deep); padding-top: 4px; }
.contact-lines a { text-decoration: none; font-weight: 600; }
.contact-lines a:hover { color: var(--flame); }
.map-wrap { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1 / 1; background: var(--line); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Prayer ---------- */
.prayer { background: var(--cream); }
.prayer-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.prayer-grid > div > p:not(.eyebrow):not(.scripture) { color: var(--ink-soft); }
.prayer-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(224,176,74,.25);
}
.field .invalid { border-color: var(--flame); }
.prayer-form .btn { width: 100%; }
.form-status { margin: 14px 0 0; font-size: .9rem; min-height: 1.4em; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: #120d2e; color: rgba(255,255,255,.7); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-tag { margin-top: 18px; font-size: .92rem; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer nav a { display: block; text-decoration: none; padding: 4px 0; font-size: .95rem; }
.site-footer nav a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Shared: sermons & gallery ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(56px, 8vw, 88px);
  background:
    radial-gradient(ellipse at 50% -20%, #3d2c86 0%, transparent 65%),
    linear-gradient(180deg, #1b1440 0%, #120d2e 100%);
}
.page-hero .hero-glow { top: -40%; width: 560px; height: 560px; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.02em; margin-bottom: 18px; }
.page-hero h1 em { color: var(--gold); }
.page-hero .hero-lead { margin: 0; }

.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head.split .section-title { margin-bottom: 0; }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.latest { background: var(--paper); }

.sermon-meta { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.loading, .no-results { text-align: center; color: var(--muted); padding: 40px 0; }
.empty-state {
  text-align: center; max-width: 520px; margin: 0 auto; padding: 56px 28px;
  background: var(--paper); border: 1px dashed var(--line); border-radius: 24px;
}
.empty-state h2 { font-family: var(--serif); font-size: 2rem; margin-bottom: 12px; }
.empty-state p { color: var(--muted); }

/* YouTube player (thumbnail until tapped) */
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt-play { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.45)); border: 0; cursor: pointer; }
.yt-play span, .play-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s ease;
}
.yt-play span::after, .play-badge::after {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--ink);
}
.yt-play:hover span { transform: translate(-50%, -50%) scale(1.08); }

/* Sermon cards */
.sermon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sermon-card {
  display: flex; flex-direction: column; gap: 6px; text-align: left; text-decoration: none; color: inherit;
  background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
}
.sermon-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--ink); margin-bottom: 8px; }
.sermon-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sermon-card .play-badge { width: 54px; height: 54px; opacity: .92; }
.sermon-card .play-badge::after { border-width: 9px 0 9px 15px; }
.sermon-card:hover .sermon-thumb img { transform: scale(1.05); }
.sermon-title { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; font-weight: 600; }
.sermon-preacher { font-size: .9rem; color: var(--ink-soft); }

.featured-sermon {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  margin-bottom: clamp(56px, 8vw, 96px);
}
.featured-player .yt { box-shadow: var(--shadow); }
.featured-info h2 { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 12px; }
.featured-info p:last-child { color: var(--ink-soft); margin-top: 14px; }

.sermon-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.sermon-toolbar .section-title { margin: 0; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters input, .filters select {
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px; min-width: 0;
}
.filters input { width: 300px; max-width: 100%; }
.filters input:focus, .filters select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(224,176,74,.25); }
.load-more-wrap { text-align: center; margin-top: 44px; }

.player-dialog {
  width: min(960px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 20px;
  background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px rgba(0,0,0,.5);
}
.player-dialog::backdrop { background: rgba(18, 13, 46, .85); backdrop-filter: blur(4px); }
.player-dialog .yt { border-radius: 0; }
.dialog-info { padding: 22px 26px 26px; }
.dialog-info h2 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 6px; }
.dialog-info p:last-child { margin: 12px 0 0; color: var(--ink-soft); }
.dialog-close {
  position: absolute; z-index: 2; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* Albums */
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.album-card { text-decoration: none; color: inherit; display: block; }
.album-cover {
  display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; margin-bottom: 14px;
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  box-shadow: 0 14px 30px -18px rgba(27,20,64,.5);
}
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.album-card:hover .album-cover img { transform: scale(1.05); }
.album-info strong { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; margin-bottom: 4px; }

.back-link { display: inline-block; font-weight: 700; text-decoration: none; margin-bottom: 20px; color: var(--gold-deep); }
.album-head { margin-bottom: 36px; max-width: 720px; }
.album-head .section-title { margin-bottom: 8px; }
.album-head p:last-child { color: var(--ink-soft); margin-top: 12px; }

.photo-grid { columns: 3 280px; column-gap: 14px; }
.photo-tile {
  display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 12px; overflow: hidden;
  background: var(--line); cursor: zoom-in; break-inside: avoid;
}
.photo-tile img { width: 100%; height: auto; transition: transform .4s ease, opacity .3s; }
.photo-tile:hover img { transform: scale(1.03); }

.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(10, 7, 26, .96); color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; padding: 56px 16px 16px; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100dvh - 130px); object-fit: contain; border-radius: 6px; }
.lightbox figcaption { display: flex; gap: 20px; justify-content: space-between; width: 100%; padding-top: 12px; font-size: .9rem; color: rgba(255,255,255,.8); }
.lb-btn {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; line-height: 1;
}
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .pillar.reveal.in:nth-child(even) { transform: translateY(28px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .ministry-grid { grid-template-columns: repeat(2, 1fr); }
  .sermon-grid, .album-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-sermon { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(27, 20, 64, 0.98); padding: 12px 16px 24px;
    transform: translateY(-120%); transition: transform .35s ease; visibility: hidden;
  }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 18px; }
  .site-header.menu-open { background: rgba(27, 20, 64, 0.98); }
}

@media (max-width: 900px) {

  .about-grid, .pastor-grid, .give-grid, .visit-grid, .prayer-grid { grid-template-columns: 1fr; }
  .pastor-photo { max-width: 460px; }
  .map-wrap { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar:nth-child(even), .js .pillar.reveal.in:nth-child(even) { transform: none; }
  .service-cards, .ministry-grid, .sermon-grid, .album-grid { grid-template-columns: 1fr; }
  .filters, .filters input, .filters select { width: 100%; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lightbox img { max-height: calc(100dvh - 170px); }
  .event { grid-template-columns: 64px 1fr; gap: 18px; }
  .event time b { font-size: 2.2rem; }
  .event .tag { grid-column: 2; justify-self: start; }
  .next-service { padding: 16px; }
  .countdown div { min-width: 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .bank-row.account strong { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
