/* ============================================================
   HOLY JERUSALEM — Sacred Design System · Parchment Edition
   ============================================================ */

/* Google Fonts loaded in _Layout.cshtml head */

:root {
  /* ── Light Parchment Palette ── */
  --bg-primary:    #F4EFE3;   /* neutral warm parchment */
  --bg-secondary:  #F3EDE0;   /* parchment */
  --bg-card:       #EDE4D3;   /* deeper parchment for cards / thumbs */
  --ink:           #1A1208;   /* near-black body text */
  --ink-mid:       #3D2E1A;   /* mid-dark text */
  --gold:          #B8922A;   /* deep gold — readable on ivory */
  --gold-bright:   #D4A843;   /* "He Walked" italic, accents */
  --stone-muted:   #9A8570;   /* secondary/caption text */
  --stone-light:   #7A6A56;   /* body text warm mid */
  --cream:         #FAF6EE;   /* light text inside dark photo cards */
  --gold-border:   rgba(184, 146, 42, 0.18);

  /* ── Typography ── */
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body:    'Cormorant Garamond', Georgia, serif;
  --font-ui:      'EB Garamond', Georgia, serif;

  /* ── Layout ── */
  --container-max: 1200px;
  --section-v:     6rem;
}

/* ============================================================
   BASE RESET
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom,
    rgba(251, 247, 238, 0.94) 0%,
    rgba(251, 247, 238, 0.0)  100%);
  transition: background 0.5s ease, box-shadow 0.5s ease, border-bottom-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(251, 247, 238, 0.97);
  border-bottom-color: var(--gold-border);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 16px rgba(28, 20, 9, 0.07);
}

/* Nav on dark pages (churches, detail pages) */
.site-nav.dark-hero {
  background: linear-gradient(to bottom,
    rgba(10, 8, 6, 0.9) 0%,
    rgba(10, 8, 6, 0.0) 100%);
}

.site-nav.dark-hero .nav-logo {
  color: #C9A84C;
}

.site-nav.dark-hero .nav-links li a {
  color: rgba(255,248,230,.7);
}

.site-nav.dark-hero .nav-links li a:hover {
  color: #FFFBF0;
}

.site-nav.dark-hero .nav-links .nav-cta {
  color: #C9A84C;
  border-color: rgba(201,168,76,.5);
}

.site-nav.dark-hero .nav-links .nav-cta:hover {
  background: rgba(201,168,76,.15);
  border-color: #C9A84C;
  color: #FFFBF0;
}

.site-nav.dark-hero.scrolled {
  background: rgba(10, 8, 6, 0.97);
  border-bottom-color: rgba(201,168,76,.2);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links li a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-light);
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--ink);
}

.nav-links .nav-cta {
  color: var(--gold);
  border: 1px solid rgba(184, 146, 42, 0.5);
  padding: 0.38rem 1.1rem;
  transition: all 0.3s ease;
}

.nav-links .nav-cta:hover {
  background: rgba(184, 146, 42, 0.1);
  border-color: var(--gold);
  color: var(--ink-mid);
}

/* ============================================================
   HERO — ivory parchment, no image
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-primary);
}

/* Decorative SVG arch */
.hero-arch {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: min(560px, 90vw);
  height: auto;
  opacity: 1;          /* opacity is set on SVG elements */
  pointer-events: none;
  z-index: 1;
}

/* Very faint horizontal rule lines — illuminated manuscript feel */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 47px,
      rgba(184, 146, 42, 0.03) 47px,
      rgba(184, 146, 42, 0.03) 48px
    );
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 860px;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.48em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1.75rem;
  display: block;
}

.hero-line1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(44px, 6.5vw, 86px);
  font-weight: 700;
  color: #1A1208;
  letter-spacing: 0.04em;
  display: block;
  text-align: center;
  line-height: 1.1;
}

.hero-line2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7.5vw, 100px);
  font-weight: 700;
  font-style: italic;
  color: #A67C2E;
  display: block;
  text-align: center;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-keywords {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  color: #2C1F0E;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
}

.hero-trust {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 600;
  color: #5C4A30;
  letter-spacing: 0.2em;
  text-align: center;
  margin-top: 24px;
  opacity: 0.7;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: #2C1F0E;
  line-height: 1.85;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* Hero CTA — dark ink outlined, premium */
.btn-outline-gold {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mid);
  border: 1px solid rgba(28, 20, 9, 0.32);
  padding: 0.9rem 2.75rem;
  transition: all 0.45s ease;
  text-decoration: none;
}

.btn-outline-gold:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg-primary);
  letter-spacing: 0.32em;
}

/* ── CSS-only Candles ── */

.candles {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 4.5rem;
  align-items: flex-end;
}

.candle {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.candle-glow {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: radial-gradient(circle,
    rgba(212, 168, 67, 0.55) 0%,
    rgba(212, 168, 67, 0.15) 50%,
    transparent 75%);
  border-radius: 50%;
  animation: candle-glow-pulse 2s ease-in-out infinite;
}

.candle:nth-child(2) .candle-glow { animation-delay: 0.35s; animation-duration: 2.4s; }
.candle:nth-child(3) .candle-glow { animation-delay: 0.8s;  animation-duration: 1.7s; }

.candle-flame {
  width: 8px;
  height: 15px;
  background: radial-gradient(ellipse at 50% 85%,
    #fffde4 0%,
    #fdd835 25%,
    #f9a825 55%,
    #e65100 80%,
    transparent 100%);
  border-radius: 50% 50% 20% 20%;
  filter: blur(0.4px);
  animation: candle-flicker 1.9s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.candle:nth-child(2) .candle-flame { animation-delay: 0.35s; animation-duration: 2.2s; }
.candle:nth-child(3) .candle-flame { animation-delay: 0.8s;  animation-duration: 1.6s; }

.candle-wick {
  width: 1px;
  height: 5px;
  background: #4a3322;
  z-index: 3;
  margin-bottom: -1px;
}

/* Darker candle body — visible on ivory background */
.candle-body {
  width: 10px;
  height: 42px;
  background: linear-gradient(to right,
    #8B6914, #C9A84C 30%, #E8D5A3 50%, #C9A84C 70%, #8B6914);
  border-radius: 2px 2px 1px 1px;
  box-shadow:
    0 1px 4px rgba(28, 20, 9, 0.15),
    inset 0 0 4px rgba(255, 220, 120, 0.2);
}

@keyframes candle-flicker {
  0%,  100% { transform: scaleX(1)    scaleY(1)    rotate(-1deg);   opacity: 1; }
  20%        { transform: scaleX(0.88) scaleY(1.12) rotate(1.8deg);  opacity: 0.9; }
  40%        { transform: scaleX(1.08) scaleY(0.9)  rotate(-0.5deg); opacity: 1; }
  60%        { transform: scaleX(0.92) scaleY(1.08) rotate(2deg);    opacity: 0.86; }
  80%        { transform: scaleX(1.04) scaleY(0.96) rotate(-1.5deg); opacity: 0.95; }
}

@keyframes candle-glow-pulse {
  0%,  100% { opacity: 0.9;  transform: translateX(-50%) scale(1); }
  50%        { opacity: 0.45; transform: translateX(-50%) scale(1.5); }
}

/* ============================================================
   INTRO BELT
   ============================================================ */

.intro-belt {
  background: var(--bg-secondary);
  padding: 4.5rem 2rem;
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

.intro-belt blockquote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  color: var(--stone-light);
  line-height: 1.95;
}

/* ============================================================
   HOLY SITES GRID
   ============================================================ */

.sites-section {
  padding: var(--section-v) 0;
}

.sites-header {
  margin-bottom: 3rem;
}

.sites-header .label {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}

.sites-header .subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--stone-muted);
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.site-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
}

.site-card.featured {
  grid-column: span 2;
}

.site-card-inner {
  position: relative;
  width: 100%;
  min-height: 360px;
  overflow: hidden;
}

.site-card.featured .site-card-inner {
  min-height: 520px;
}

.site-card-img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.site-card:hover .site-card-img {
  transform: scale(1.06);
}

.site-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(13, 11, 8, 0.92) 0%,
    rgba(13, 11, 8, 0.3)  50%,
    transparent 100%);
  transition: opacity 0.4s ease;
}

.site-card:hover .site-card-overlay {
  opacity: 0.84;
}

.site-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
}

.site-card-tag {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.52rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}

.site-card-name {
  font-family: var(--font-body);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
}

.site-card.featured .site-card-name {
  font-size: 2.1rem;
}

.site-card-desc {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.92rem;
  font-weight: 300;
  color: #C4B5A5;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.4s ease 0.05s, margin-top 0.35s ease;
  margin-top: 0;
}

.site-card:hover .site-card-desc {
  max-height: 110px;
  opacity: 1;
  margin-top: 0.65rem;
}

.site-card-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border-bottom: 1px solid rgba(212, 168, 67, 0.4);
  padding-bottom: 2px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.35s ease 0.12s, transform 0.35s ease 0.12s, border-color 0.3s;
  margin-top: 1rem;
}

.site-card:hover .site-card-link {
  opacity: 1;
  transform: translateY(0);
}

.site-card-link:hover {
  border-color: var(--gold-bright);
  color: #FAF6EE;
}

/* ============================================================
   SCRIPTURE QUOTE
   ============================================================ */

.scripture-section {
  padding: 6.5rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  text-align: center;
}

.scripture-mark {
  display: block;
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.22;
  margin-bottom: 1.75rem;
  pointer-events: none;
}

.scripture-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  color: var(--ink-mid);
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.scripture-attr {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

/* ============================================================
   PRINTS CTA
   ============================================================ */

.prints-section {
  padding: var(--section-v) 0;
}

.prints-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.prints-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.print-thumb {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.print-thumb:nth-child(1) { aspect-ratio: 3/4; }
.print-thumb:nth-child(2) { aspect-ratio: 4/5; margin-top:  1.75rem; }
.print-thumb:nth-child(3) { aspect-ratio: 4/5; }
.print-thumb:nth-child(4) { aspect-ratio: 3/4; margin-top: -1.75rem; }

.print-thumb span {
  font-family: var(--font-heading);
  font-size: 0.48rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  opacity: 0.45;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}

.prints-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.prints-copy p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--stone-light);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.prints-copy .pricing {
  font-style: italic;
  color: var(--gold);
  margin-bottom: 2.25rem;
}

.btn-gold {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg-primary);
  padding: 0.9rem 2.75rem;
  transition: background 0.3s ease, letter-spacing 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-gold:hover {
  background: var(--ink-mid);
  letter-spacing: 0.3em;
}

/* ============================================================
   EMAIL SIGNUP
   ============================================================ */

.signup-section {
  padding: 5.5rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  text-align: center;
}

.signup-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.signup-intro {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--stone-muted);
  margin-bottom: 2.25rem;
}

.signup-form {
  display: flex;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto 1.25rem;
}

.signup-form input[type="email"] {
  flex: 1;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(184, 146, 42, 0.35);
  border-right: none;
  color: var(--ink);
  padding: 0.8rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
}

.signup-form input[type="email"]::placeholder {
  color: var(--stone-muted);
  font-style: italic;
}

.signup-form input[type="email"]:focus {
  border-color: rgba(184, 146, 42, 0.7);
  background: rgba(255, 255, 255, 0.8);
}

.signup-form button {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg-primary);
  border: 1px solid var(--ink);
  padding: 0.8rem 1.75rem;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.signup-form button:hover {
  background: var(--ink-mid);
  border-color: var(--ink-mid);
}

.signup-note {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--stone-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  padding: 2.25rem 2.5rem;
  border-top: 1px solid rgba(184, 146, 42, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--stone-muted);
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .candles {
    gap: 2.75rem;
  }

  .sites-grid {
    grid-template-columns: 1fr;
  }

  .site-card.featured {
    grid-column: span 1;
  }

  .site-card.featured .site-card-inner {
    min-height: 360px;
  }

  .prints-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .prints-mosaic {
    order: 2;
  }

  .prints-copy {
    order: 1;
  }

  .signup-form {
    flex-direction: column;
    gap: 0;
  }

  .signup-form input[type="email"] {
    border-right: 1px solid rgba(184, 146, 42, 0.35);
    border-bottom: none;
  }

  .signup-form input[type="email"]:focus {
    border-right-color: rgba(184, 146, 42, 0.7);
  }

  .signup-form button {
    width: 100%;
    padding: 0.9rem;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   HERO V2 — self-contained, scoped to .hero-v2
   ============================================================ */

.hero-v2 * { box-sizing: border-box; margin: 0; padding: 0; }

.hero-v2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0806;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-v2 .skyline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  opacity: .18;
  height: 220px;
}

.hero-v2 .glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(180,130,40,.18) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
  animation: hj-breathe 4s ease-in-out infinite;
}

.hero-v2 .hero-inner {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 32px;
}

.hero-v2 .eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .55em;
  color: #C9A84C;
  text-transform: uppercase;
  margin-bottom: 48px;
  opacity: .8;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  animation: hj-fadeDown .8s .2s both;
}
.hero-v2 .eyebrow-dash {
  width: 36px; height: 1px;
  background: #C9A84C; opacity: .5;
}

.hero-v2 .title-wrap {
  margin-bottom: 20px;
  animation: hj-fadeUp 1s .4s both;
}

.hero-v2 .t1 {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(64px, 11vw, 140px);
  font-weight: 700;
  font-style: italic;
  color: #FFFBF0;
  line-height: .95;
  letter-spacing: -.01em;
}
.hero-v2 .t2 {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 5vw, 62px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px #C9A84C;
  letter-spacing: .18em;
  line-height: 1.3;
  text-transform: uppercase;
}
.hero-v2 .t3 {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5.5vw, 72px);
  font-weight: 300;
  font-style: italic;
  color: #C9A84C;
  line-height: 1;
  letter-spacing: .02em;
}

.hero-v2 .rule {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin: 36px auto;
  animation: hj-fadeUp 1s .6s both;
}
.hero-v2 .rule-line {
  width: 80px; height: 1px;
  background: linear-gradient(to right, transparent, #C9A84C);
}
.hero-v2 .rule-line.r {
  background: linear-gradient(to left, transparent, #C9A84C);
}
.hero-v2 .rule-cross {
  width: 18px; height: 18px;
  position: relative;
}
.hero-v2 .rule-cross::before,
.hero-v2 .rule-cross::after {
  content: ''; position: absolute; background: #C9A84C;
}
.hero-v2 .rule-cross::before {
  top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 100%;
}
.hero-v2 .rule-cross::after {
  top: 50%; left: 0; transform: translateY(-50%);
  width: 100%; height: 1px;
}

.hero-v2 .subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 2.2vw, 21px);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,248,230,.65);
  line-height: 1.9;
  max-width: 560px;
  margin: 0 auto 44px;
  animation: hj-fadeUp 1s .7s both;
}
.hero-v2 .subtitle strong {
  color: #FFFBF0;
  font-weight: 700;
  font-style: normal;
}

.hero-v2 .ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: hj-fadeUp 1s .85s both;
}
.hero-v2 .btn-gold {
  font-family: 'Cinzel', serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: #0a0806; background: #C9A84C;
  padding: 16px 40px; border: none; cursor: pointer;
  transition: all .3s; text-decoration: none;
  position: relative; overflow: hidden;
  display: inline-block;
}
.hero-v2 .btn-gold::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.15);
  transform: translateX(-100%); transition: transform .35s;
}
.hero-v2 .btn-gold:hover::after { transform: translateX(0); }

.hero-v2 .btn-outline {
  font-family: 'Cinzel', serif;
  font-size: 10px; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,248,230,.7); background: transparent;
  padding: 16px 32px;
  border: 1px solid rgba(255,248,230,.2);
  cursor: pointer; transition: all .3s; text-decoration: none;
  display: inline-block;
}
.hero-v2 .btn-outline:hover {
  border-color: rgba(255,248,230,.5);
  color: #FFFBF0;
}

.hero-v2 .scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  animation: hj-fadeUp 1s 1.2s both;
}
.hero-v2 .scroll-hint span {
  font-family: 'Cinzel', serif;
  font-size: 8px; letter-spacing: .3em;
  color: rgba(201,168,76,.5); text-transform: uppercase;
}
.hero-v2 .scroll-bar {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, #C9A84C, transparent);
  animation: hj-drip 2s ease-in-out infinite;
}

@keyframes hj-fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hj-fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: .8; transform: translateY(0); }
}
@keyframes hj-breathe {
  0%,100% { opacity: .6; transform: translate(-50%,-52%) scale(1); }
  50%      { opacity: 1;  transform: translate(-50%,-52%) scale(1.08); }
}
@keyframes hj-drip {
  0%,100% { transform: scaleY(.6); opacity: .3; }
  50%      { transform: scaleY(1);  opacity: .9; }
}

/* ============================================================
   CHURCHES LISTING PAGE — AirBnB / E-commerce Style Cards
   ============================================================ */

/* Churches Hero */
.churches-hero {
  background: linear-gradient(135deg, #0f0b07 0%, #1a1208 50%, #0f0b07 100%);
  padding: 140px 2rem 80px;
  text-align: center;
  border-bottom: 1px solid rgba(201,168,76,.2);
}

.churches-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.churches-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: #C9A84C;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.churches-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  color: #FFFBF0;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.churches-title em {
  font-style: italic;
  color: #C9A84C;
}

.churches-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,248,230,.65);
  line-height: 1.85;
  max-width: 520px;
  margin: 0 auto;
}

/* Churches Section */
.churches-section {
  background: var(--bg-primary);
  padding: 4rem 0 6rem;
}

/* Churches Grid — 3 columns on desktop, responsive */
.churches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* Church Card */
.church-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(28, 20, 9, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.church-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(28, 20, 9, 0.15);
}

.church-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Card Image */
.church-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-card);
}

.church-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.church-card:hover .church-card-image img {
  transform: scale(1.08);
}

.church-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,4,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.church-card:hover .church-card-overlay {
  opacity: 1;
}

/* Placeholder for cards without images */
.church-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #EDE4D3 0%, #F4EFE3 50%, #EDE4D3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-cross {
  width: 48px;
  height: 48px;
  position: relative;
  opacity: 0.2;
}

.placeholder-cross::before,
.placeholder-cross::after {
  content: '';
  position: absolute;
  background: var(--gold);
}

.placeholder-cross::before {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
}

.placeholder-cross::after {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 2px;
}

/* Coming Soon Badge */
.coming-soon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.95);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(28, 20, 9, 0.1);
}

.church-card.coming-soon .church-card-image {
  filter: saturate(0.3);
}

/* Card Body */
.church-card-body {
  padding: 1.5rem;
}

.church-card-location {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.church-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.church-card-description {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--stone-light);
  line-height: 1.65;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.church-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s ease;
}

.church-card:hover .church-card-cta {
  gap: 10px;
}

.church-card-cta svg {
  transition: transform 0.3s ease;
}

.church-card:hover .church-card-cta svg {
  transform: translateX(3px);
}

/* Churches Quote Section */
.churches-quote {
  background: linear-gradient(135deg, #0f0b07 0%, #1a1208 50%, #0f0b07 100%);
  padding: 5rem 2rem;
  border-top: 1px solid rgba(201,168,76,.15);
  text-align: center;
}

.churches-quote blockquote {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.churches-quote .quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: rgba(201,168,76,.15);
  line-height: 0.5;
  display: block;
  margin-bottom: 1rem;
}

.churches-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,248,230,.75);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.churches-quote cite {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-style: normal;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C9A84C;
  opacity: 0.7;
}

/* ============================================================
   CHURCH DETAIL PAGE
   ============================================================ */

/* Detail Hero */
.church-detail-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.church-detail-hero-bg {
  position: absolute;
  inset: 0;
}

.church-detail-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.church-detail-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1510 0%, #251e14 50%, #1a1510 100%);
}

.church-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,8,4,0.95) 0%,
    rgba(10,8,4,0.6) 40%,
    rgba(10,8,4,0.2) 100%
  );
}

.church-detail-hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,248,230,.6);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #C9A84C;
}

.church-detail-location {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 1rem;
}

.church-detail-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: #FFFBF0;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.church-detail-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,248,230,.7);
  max-width: 600px;
  line-height: 1.75;
}

/* Detail Content */
.church-detail-content {
  background: var(--bg-primary);
  padding: 4rem 0 6rem;
}

.church-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}

/* Main Content */
.church-detail-main {
  max-width: 680px;
}

.church-detail-section {
  margin-bottom: 3rem;
}

.church-detail-section h2 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gold-border);
}

.church-description {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 2;
}

.scripture-reference {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-secondary);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
}

.scripture-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.scripture-reference span:last-child {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.7;
}

/* Photo Gallery */
.church-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,8,4,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #FFFBF0;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Sidebar */
.church-detail-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 2px 20px rgba(28, 20, 9, 0.08);
  margin-bottom: 1.5rem;
}

.sidebar-card h3 {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gold-border);
}

.sidebar-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.sidebar-item:last-child {
  margin-bottom: 0;
}

.sidebar-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.sidebar-item-content {
  flex: 1;
}

.sidebar-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-muted);
  margin-bottom: 4px;
}

.sidebar-value {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-mid);
  line-height: 1.5;
}

.sidebar-cta {
  background: linear-gradient(135deg, #0f0b07 0%, #1a1208 100%);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
}

.sidebar-cta p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,248,230,.7);
  margin-bottom: 1rem;
}

.sidebar-cta .btn-gold {
  width: 100%;
  text-align: center;
  padding: 0.85rem 1.5rem;
}

/* Church Lightbox */
.church-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.church-lightbox.open {
  display: flex;
}

.church-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.church-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,248,230,.6);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.church-lightbox-close:hover {
  color: #C9A84C;
}

/* ============================================================
   RESPONSIVE — Churches Pages
   ============================================================ */

@media (max-width: 1024px) {
  .churches-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .church-detail-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .church-detail-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .sidebar-card,
  .sidebar-cta {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .churches-hero {
    padding: 120px 1.5rem 60px;
  }

  .churches-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .church-card-body {
    padding: 1.25rem;
  }

  .church-detail-hero {
    min-height: 50vh;
  }

  .church-detail-hero-content {
    padding: 3rem 1.5rem;
  }

  .church-detail-content {
    padding: 3rem 0 4rem;
  }

  .church-detail-sidebar {
    grid-template-columns: 1fr;
  }

  .church-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
