@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@300..700&display=swap');

:root {
  --bg:        #07090f;
  --bg-2:      #0b0f1a;
  --surface:   #111827;
  --surface-2: #182033;
  --text:      #f0ece3;
  --text-2:    #c8c2b4;
  --muted:     #7a7468;
  --gold:      #c9a84c;
  --gold-dim:  rgba(201,168,76,0.12);
  --gold-line: rgba(201,168,76,0.22);
  --wine:      #8a2b4e;
  --wine-dim:  rgba(138,43,78,0.12);
  --wine-line: rgba(138,43,78,0.2);
  --blue:      #4a7fc1;
  --blue-dim:  rgba(74,127,193,0.12);
  --border:    #1e2535;
  --border-h:  rgba(201,168,76,0.3);
  --max-w:     980px;
  --content-w: 700px;
  --r:         12px;
  --r-sm:      7px;
  --ease:      cubic-bezier(0.4,0,0.2,1);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }

@keyframes fade-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

body {
  animation: fade-in .55s ease both;
  background: radial-gradient(ellipse at 30% 15%, rgba(138,43,78,0.06) 0%, transparent 65%),
              radial-gradient(ellipse at 80% 85%, rgba(201,168,76,0.04) 0%, transparent 55%),
              var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: #e2c06a; }

/* ─── THEME TOGGLE ──────────────────────────── */
html { transition: background .35s ease; }
html *, html *::before, html *::after { transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, color .2s ease; }

.menu-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all .25s var(--ease);
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  color: var(--text);
}
.menu-toggle:hover {
  border-color: var(--wine-line);
  background: var(--surface-2);
}

.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all .25s var(--ease);
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--wine-line);
  background: var(--surface-2);
  transform: rotate(15deg);
}

/* ─── LIGHT THEME ──────────────────────────── */
[data-theme="light"] {
  --bg:        #efe9dd;
  --bg-2:      #e7dfd3;
  --surface:   #f9f5ed;
  --surface-2: #efe9dd;
  --text:      #2a2621;
  --text-2:    #635b52;
  --muted:     #90867b;
  --gold:      #c49a3a;
  --gold-dim:  rgba(196,154,58,0.08);
  --gold-line: rgba(196,154,58,0.16);
  --wine:      #9a3055;
  --wine-dim:  rgba(154,48,85,0.08);
  --wine-line: rgba(154,48,85,0.15);
  --border:    #d5ccc0;
  --border-h:  rgba(196,154,58,0.2);
}
[data-theme="light"] body {
  background: radial-gradient(ellipse at 30% 15%, rgba(154,48,85,0.03) 0%, transparent 65%),
              radial-gradient(ellipse at 80% 85%, rgba(196,154,58,0.03) 0%, transparent 55%),
              var(--bg);
}
[data-theme="light"] .site-header {
  background: rgba(239,233,221,0.9);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, var(--gold), #d4aa4a);
  color: #fff;
  box-shadow: 0 2px 12px rgba(196,154,58,0.2);
}
[data-theme="light"] .btn-primary:hover {
  background: transparent;
  color: var(--gold);
  box-shadow: 0 4px 20px rgba(196,154,58,0.15), 0 0 0 1px var(--gold-line);
}
[data-theme="light"] .hero::after {
  color: rgba(154,48,85,0.03);
}
[data-theme="light"] .hero-img-wrap::before {
  border-color: rgba(196,154,58,0.15);
}
[data-theme="light"] .hero-img-wrap::after {
  border-color: rgba(154,48,85,0.1);
}
[data-theme="light"] .faith-hero::before {
  color: rgba(196,154,58,0.05);
}
[data-theme="light"] .verse-card::before {
  color: rgba(154,48,85,0.06);
}
[data-theme="light"] .card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
[data-theme="light"] .card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08), 0 0 0 1px rgba(154,48,85,0.06);
}

/* ─── HEADER ─────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: 60px;
  background: rgba(7,9,15,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 1.5rem;
}

.site-header-container {
  max-width: var(--max-w);
  width: 100%; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}

.logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}

.logo img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-line);
  transition: border-color .2s;
}
.logo:hover img { border-color: var(--gold); }

.logo span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.nav { display:flex; gap:0.15rem; list-style:none; }

.nav a {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: var(--r-sm);
  letter-spacing: 0.02em;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.active {
  color: var(--gold);
  background: linear-gradient(135deg, var(--gold-dim), var(--wine-dim));
  box-shadow: inset 0 -1px 0 var(--gold-line);
}

/* ─── MAIN ───────────────────────────────── */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.content-container { max-width: var(--content-w); margin: 0 auto; }

/* ─── TYPE ───────────────────────────────── */
h1,h2,h3,h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text);
  line-height: 1.2;
}

h1 { font-size: 2.1rem; font-weight: 800; margin-bottom: 1rem; }

h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }

p { margin-bottom: 1.2rem; color: var(--text-2); font-size: 0.94rem; }

mark {
  background: linear-gradient(135deg, var(--gold-dim), var(--wine-dim));
  color: var(--gold);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-weight: 600;
}

u {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

blockquote {
  border-left: 2px solid var(--gold);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-2);
  background: linear-gradient(135deg, var(--gold-dim), rgba(138,43,78,0.06));
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

sup, sub { font-size: 0.7em; color: var(--gold); }
ul,ol { margin: 0.75rem 0 1.25rem 1.4rem; }
li { margin-bottom: 0.4rem; font-size: 0.94rem; color: var(--text-2); }

/* ─── SECTION LABEL ──────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin: 2.75rem 0 1.1rem;
}

.section-label::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--wine));
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(138,43,78,0.3);
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── HERO ───────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
  padding: 4rem 0 3rem;
  position: relative;
}

/* subtle cross watermark */
.hero::after {
  content: '✝';
  position: absolute;
  right: 240px; top: 50%;
  transform: translateY(-50%);
  font-size: 22rem;
  color: rgba(138,43,78,0.035);
  pointer-events: none;
  line-height: 1;
  user-select: none;
  font-family: Georgia, serif;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.hero-eyebrow::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, var(--wine) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 340px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-img-wrap {
  position: relative;
  flex-shrink: 0;
}

.hero-img-wrap::before {
  content: '';
  position: absolute;
  top: 10px; left: 10px;
  right: -8px; bottom: -8px;
  border: 1.5px solid var(--gold-line);
  border-radius: 14px;
  z-index: 0;
}
.hero-img-wrap::after {
  content: '';
  position: absolute;
  top: 14px; left: 14px;
  right: -14px; bottom: -14px;
  border: 1px solid var(--wine-line);
  border-radius: 16px;
  z-index: 0;
}

.hero-img-wrap img {
  position: relative; z-index: 1;
  width: 195px; height: 255px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
}

.social-links {
  display: flex; gap: 0.55rem;
}

.social-links a img {
  width: 32px; height: 32px;
  opacity: 0.6;
  background: var(--surface);
  border-radius: var(--r-sm);
  padding: 5px;
  border: 1px solid var(--border);
  transition: opacity .2s, border-color .2s, transform .2s;
}
.social-links a img:hover {
  opacity: 1;
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(138,43,78,0.3);
}

/* ─── CARDS ──────────────────────────────── */
.card {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(138,43,78,0.03) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  transition: border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  background: linear-gradient(135deg, transparent 60%, rgba(138,43,78,0.04) 100%);
  pointer-events: none;
}

.card:hover {
  border-color: var(--wine-line);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.35), 0 0 0 1px rgba(138,43,78,0.08);
}

.card h3 { margin-top: 0; font-size: 0.98rem; }

.card-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.55rem;
}

/* ─── STAT CHIPS ─────────────────────────── */
.stat-row { display:flex; gap:0.7rem; flex-wrap:wrap; }

.stat-chip {
  background: linear-gradient(135deg, var(--surface), rgba(138,43,78,0.04));
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.78rem;
  color: var(--muted);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.stat-chip:hover {
  border-color: var(--wine-line);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.stat-chip strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.05rem;
}

/* ─── 2-COL GRID ─────────────────────────── */
.section-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0.85rem;
}

/* ─── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center; gap: 0.4rem;
  padding: 0.58rem 1.15rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.btn:hover { background: var(--surface-2); border-color: var(--wine-line); color: var(--gold); box-shadow: 0 4px 16px rgba(138,43,78,0.15); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #d4b34d);
  color: #07090f;
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(201,168,76,0.15);
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
  box-shadow: 0 4px 20px rgba(201,168,76,0.2), 0 0 0 1px var(--gold-line);
}

/* ─── BACK LINK ──────────────────────────── */
.back-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 500;
  color: var(--muted);
  margin-top: 2rem; margin-bottom: 1.75rem;
  transition: color .2s;
}
.back-link:hover { color: var(--text); }

/* ─── GALLERY GRID ───────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1rem;
}

.gallery-card {
  display: block;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(138,43,78,0.03) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  color: var(--text);
  position: relative;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.gallery-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.gallery-card:hover {
  border-color: var(--wine-line);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.4);
}
.gallery-card:hover::after { opacity: 1; }
.gallery-card img {
  width:100%; height:170px; object-fit:cover; display:block;
  transition: transform .4s ease;
}
.gallery-card:hover img { transform: scale(1.05); }

.gallery-card-body { padding: 0.9rem 1.1rem 1.15rem; position:relative; z-index:1; }
.gallery-card span {
  display:block; font-weight:700; font-size:0.95rem; margin-bottom:0.2rem;
  font-family: 'Playfair Display', serif;
  color: var(--text);
}
.gallery-card p { margin:0; font-size:0.8rem; color:var(--muted); }

/* ─── PHOTO GRID ─────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.photo-item {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(138,43,78,0.03) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.photo-item:hover {
  border-color: var(--wine-line);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.photo-item img {
  width:100%; height:185px; object-fit:cover; display:block;
  transition: transform .35s ease;
}
.photo-item:hover img { transform: scale(1.03); }
.photo-item .caption {
  font-size: 0.75rem; color: var(--muted);
  padding: 0.5rem 0.6rem;
  text-align: center; line-height: 1.3;
}

/* ─── MEDIA ──────────────────────────────── */
.media-container { display:flex; flex-direction:column; gap:1.1rem; margin-top:0.5rem; }

.media-item {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(138,43,78,0.03) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.3rem 1.4rem;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.media-item:hover {
  border-color: var(--wine-line);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}
.media-item h3 { margin-top:0; font-size:0.95rem; }
.media-item > p { color:var(--muted); font-size:0.82rem; margin-bottom:0.9rem; }
.media-item video, .media-item audio { width:100%; border-radius:var(--r-sm); }

/* ─── PROFILE PHOTO ──────────────────────── */
.profile-photo {
  text-align:center;
  margin-top:2rem;
  margin-bottom:2rem;
  position: relative;
}
.profile-photo img {
  max-width:170px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
}
.profile-photo::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 184px; height: 184px;
  border: 1.5px solid var(--wine-line);
  border-radius: calc(var(--r) + 4px);
  pointer-events: none;
}

/* ─── CONTACT ────────────────────────────── */
.contact-card { display:grid; gap:0.7rem; margin-top:1.5rem; }
.contact-row {
  display:flex; align-items:center; gap:0.85rem;
  padding: 0.95rem 1.2rem;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(138,43,78,0.03) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.contact-row:hover {
  border-color: var(--wine-line);
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.contact-row .ci { font-size:1.15rem; flex-shrink:0; }
.contact-row strong {
  display:block; font-size:0.68rem;
  color:var(--muted); text-transform:uppercase;
  letter-spacing:0.08em; margin-bottom:0.1rem;
  font-family: 'Inter', sans-serif;
}

/* ─── FAITH PAGE ─────────────────────────── */
.faith-hero {
  text-align: center;
  padding: 3.5rem 1rem 2rem;
  position: relative;
}
.faith-hero::before {
  content: '✝';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 16rem;
  color: rgba(201,168,76,0.04);
  pointer-events: none;
  line-height:1;
}
.faith-tagline {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(138,43,78,0.05) 100%);
  border: 1px solid var(--wine-line);
  border-radius: var(--r);
  padding: 1.2rem 1.75rem;
  margin-top: 0.5rem;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.faith-tagline span {
  display:block;
  font-family: 'Inter', sans-serif;
  font-style:normal; font-size:0.68rem;
  color:var(--gold); text-transform:uppercase;
  letter-spacing:0.12em; font-weight:700;
  margin-bottom:0.5rem;
}
.verse-category { margin-bottom:2.25rem; }
.verse-category-label {
  font-size:0.68rem; font-weight:700;
  text-transform:uppercase; letter-spacing:0.12em;
  color:var(--gold);
  margin-bottom:0.85rem;
  display:flex; align-items:center; gap:0.55rem;
}
.verse-category-label::before {
  content:'✦';
  color:var(--wine);
  font-size:0.7rem;
}
.verse-category-label::after { content:''; flex:1; height:1px; background:var(--wine-line); }

.verse-card {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(138,43,78,0.03) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.3rem 1.5rem;
  margin-bottom:0.75rem;
  position:relative; overflow:hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.verse-card::before {
  content: '\201C';
  position:absolute; top:-0.75rem; left:0.85rem;
  font-size:5rem; font-family:Georgia,serif;
  color:rgba(138,43,78,0.08); line-height:1; pointer-events:none;
}
.verse-card:hover { border-color:var(--wine-line); transform:translateY(-2px); box-shadow:0 8px 28px rgba(0,0,0,0.3); }
.verse-card.featured {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(138,43,78,0.06) 100%);
  border-color: var(--wine-line);
}
.verse-text {
  font-family:'Playfair Display',serif;
  font-style:italic; font-size:1.02rem;
  color:var(--text); line-height:1.7;
  margin:0 0 0.7rem;
}
.verse-card.featured .verse-text { font-size:1.1rem; }
.verse-ref {
  font-size:0.72rem; font-weight:700;
  color:var(--gold); text-transform:uppercase;
  letter-spacing:0.08em; font-family:'Inter',sans-serif;
}
.verse-grid { display:grid; grid-template-columns:1fr 1fr; gap:0.75rem; }
.verse-grid .verse-card { margin-bottom:0; }

.closing-note {
  text-align:center; margin-top:3rem;
  padding:1.75rem; border-top:1px solid var(--border);
}
.closing-note p { color:var(--muted); font-size:0.85rem; margin:0; }
.cross-divider { color:var(--gold-line); font-size:1.1rem; margin:0.4rem 0; }

/* ─── SIGNATURE BLOCK ────────────────────── */
.sig-block {
  text-align: right;
  margin-top: 3rem;
}
.sig-block img {
  display: block;
  margin-left: auto;
  margin-bottom: 0.2rem;
}
[data-theme="dark"] .sig-block img {
  filter: brightness(0) invert(0.88) sepia(0.15) saturate(1.2);
  opacity: 0.85;
}
.sig-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--muted);
  padding-top: 0.3rem;
  border-top: 1px solid var(--border);
  display: inline-block;
}

/* ─── PAGE HELPERS ───────────────────────── */
.page-title { margin-top: 2rem; }
.page-sub { color: var(--muted); margin-bottom: 2rem; }

/* ─── FOOTER ─────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align:center;
  color:var(--muted);
  font-size:0.78rem;
  margin-top:4rem;
}

/* ─── SCROLL ANIMATIONS ──────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BACK TO TOP ────────────────────────── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 1000;
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.2s, background 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.back-to-top.visible {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  border-color: var(--gold);
  background: var(--surface-2);
}

/* ─── PAGE TRANSITION ────────────────────── */
.page-transition {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.page-transition.active {
  opacity: 1;
}

/* ─── LIGHTBOX ───────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.9);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}
.lightbox.active {
  opacity: 1; pointer-events: auto;
}
.lightbox img {
  max-width: 100%; max-height: 90vh;
  border-radius: var(--r);
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.lightbox.active img {
  transform: scale(1);
}
.lightbox .lb-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border: none; border-radius: 50%;
  font-size: 1.3rem; color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox .lb-close:hover {
  background: rgba(255,255,255,0.2);
}

/* ─── GALLERY FILTER ─────────────────────── */
.filter-bar {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.filter-btn {
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem; font-weight: 600;
  font-family: 'Inter', sans-serif;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover {
  border-color: var(--wine-line);
  color: var(--text);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold-dim), var(--wine-dim));
  color: var(--gold);
  border-color: var(--gold-line);
}
.filter-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.filter-item.hidden {
  display: none;
}

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width:860px) {
  .menu-toggle { display:flex; }
  .site-header-container { gap:0.5rem; }
  .nav {
    position: fixed; top:60px; left:0; right:0;
    flex-direction:column; gap:0;
    background: var(--bg-2);
    border-bottom:1px solid var(--border);
    padding:0.5rem 1rem;
    display:none;
    z-index:99;
    box-shadow:0 8px 24px rgba(0,0,0,0.3);
  }
  .nav.open { display:flex; }
  .nav a {
    display:block; padding:0.7rem 0.8rem; font-size:0.9rem;
    border-radius:var(--r-sm);
  }
  .logo span { font-size:0.85rem; }
}

@media (max-width:768px) {
  .hero { grid-template-columns:1fr; padding:2.5rem 0 2rem; text-align:center; }
  .hero::after { display:none; }
  .hero-img-wrap { order:-1; margin:0 auto; }
  .hero-img-wrap img { width:160px; height:210px; }
  .hero-actions, .social-links { justify-content:center; }
  .hero-title { font-size:2.6rem; }
  .hero-sub { max-width:none; margin-left:auto; margin-right:auto; }
  .section-grid { grid-template-columns:1fr; }
  .gallery-grid { grid-template-columns:1fr; }
  .photo-grid { grid-template-columns:repeat(2,1fr); }
  .verse-grid { grid-template-columns:1fr; }
  .site-header { height:60px; padding:0 1rem; }
  .site-header-container { flex-direction:row; gap:0.5rem; }
  .stat-row { justify-content:center; }
  .page-title { font-size:1.7rem; }
  .contact-row { padding:0.85rem 1rem; font-size:0.85rem; }
  .media-item { padding:1rem; }
  .photo-item img { height:150px; }
  .gallery-card img { height:140px; }
  .card { padding:1.1rem 1.2rem; }
  .faith-tagline { font-size:1.05rem; padding:1rem 1.2rem; }
  .verse-card { padding:1.1rem 1.2rem; }
  .verse-grid .verse-card { margin-bottom:0; }
}

@media (max-width:480px) {
  .photo-grid { grid-template-columns:1fr; }
  .hero-title { font-size:2rem; }
  .hero-img-wrap img { width:140px; height:185px; }
  .hero-eyebrow { font-size:0.65rem; }
  .hero-sub { font-size:0.85rem; }
  .btn { font-size:0.78rem; padding:0.5rem 1rem; }
  .stat-chip { font-size:0.72rem; padding:0.5rem 0.75rem; }
  .page-title { font-size:1.4rem; }
  .coming-soon h1 { font-size:1.8rem; }
  #countdown { font-size:1.6rem; }
  #countdown span { min-width:35px; }
  .contact-info { padding:0.75rem; }
  .photo-item img { height:130px; }
  .gallery-card img { height:120px; }
  .card { padding:0.9rem 1rem; }
  .media-item { padding:0.85rem; }
}

@media (max-width:860px) {
  [data-theme="light"] .site-header {
    background: rgba(239,233,221,0.96);
  }
}