/* ==========================================================================
   Hermon Blessing Church — Snellville
   Design tokens
   ========================================================================== */

:root {
  /* Color */
  --ink: #211327;
  --paper: #FBF7EF;
  --paper-dim: #F3ECDD;
  --maroon: #5E1220;
  --maroon-deep: #3E0C15;
  --purple: #2B1140;
  --purple-deep: #180A26;
  --gold: #C9A227;
  --gold-light: #F1D77E;
  --gold-pale: #F7E9BC;
  --sky: #2FA0D8;
  --white: #FFFFFF;

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

  /* Motion */
  --ease: cubic-bezier(.16,1,.3,1);

  /* Layout */
  --maxw: 1180px;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 .5em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--purple-deep);
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

::selection { background: var(--gold-light); color: var(--purple-deep); }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 21px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .01em;
  border: none;
  cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease);
}

.btn .arrow-wrap {
  display: inline-flex;
  transition: transform .5s var(--ease);
}

.btn:hover .arrow-wrap { transform: translateX(5px); }

.btn-gold {
  background: linear-gradient(155deg, rgba(241,215,126,.72) 0%, rgba(201,162,39,.72) 55%, rgba(169,130,27,.72) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--maroon-deep);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 6px 18px rgba(201, 162, 39, .28), inset 0 1px 0 rgba(255,255,255,.5);
}

.btn-gold:hover {
  background: linear-gradient(155deg, rgba(241,215,126,.86) 0%, rgba(201,162,39,.86) 55%, rgba(169,130,27,.86) 100%);
  box-shadow: 0 10px 26px rgba(201, 162, 39, .4), inset 0 1px 0 rgba(255,255,255,.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(251,247,239,.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: var(--paper);
  border: 1.5px solid rgba(251,247,239,.5);
}

.btn-outline:hover {
  background: rgba(251,247,239,.16);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(19px);
  -webkit-backdrop-filter: blur(19px);
  color: var(--maroon-deep);
  border: 1.5px solid rgba(62,12,21,.35);
}

.btn-outline-dark:hover {
  background: rgba(255,255,255,.55);
  border-color: var(--maroon-deep);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(251,247,239,.14);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(241,215,126,.5);
  color: var(--paper);
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn-glass:hover {
  background: rgba(251,247,239,.24);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-glass-gold {
  background: linear-gradient(155deg, rgba(241,215,126,.4), rgba(201,162,39,.4));
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(241,215,126,.75);
  color: var(--paper);
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(201,162,39,.22), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-glass-gold:hover {
  background: linear-gradient(155deg, rgba(241,215,126,.55), rgba(201,162,39,.55));
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(24, 10, 38, .5);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border-bottom: 1px solid rgba(201,162,39,.22);
  transition: background .5s var(--ease), box-shadow .5s var(--ease);
}

.site-header.scrolled {
  background: rgba(16, 7, 27, .92);
  box-shadow: 0 8px 26px rgba(0,0,0,.28);
}

.site-header.menu-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(24, 10, 38, .98);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  max-width: 1600px;
  margin: 0 auto;
  transition: padding .4s var(--ease);
}

.site-header.scrolled .nav { padding: 9px 28px; }
.site-header.scrolled .brand img { height: 64px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 104px;
  width: auto;
  transition: height .4s var(--ease);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--paper);
}

.brand-text .place {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links > a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(251,247,239,.85);
  position: relative;
  padding: 6px 0;
  transition: color .4s var(--ease);
}

.nav-links > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0%;
  background: var(--gold-light);
  transition: width .4s var(--ease);
}

.nav-links > a:hover { color: var(--paper); }
.nav-links > a:hover::after,
.nav-links > a.active::after { width: 100%; }
.nav-links > a.active { color: var(--gold-light); }

/* Dropdown menu items */
.nav-item {
  position: relative;
}

.nav-item > .nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(251,247,239,.85);
  position: relative;
  padding: 6px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color .4s var(--ease);
}

.nav-item > .nav-parent::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0%;
  background: var(--gold-light);
  transition: width .4s var(--ease);
}

.nav-item:hover > .nav-parent,
.nav-item.active > .nav-parent { color: var(--paper); }
.nav-item:hover > .nav-parent::after,
.nav-item.active > .nav-parent::after { width: 100%; }
.nav-item.active > .nav-parent { color: var(--gold-light); }

.nav-caret {
  display: inline-flex;
  transition: transform .4s var(--ease);
}
.nav-item:hover .nav-caret,
.nav-item.open .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 240px;
  background: rgba(24, 10, 38, .48);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(201,162,39,.3);
  border-radius: 12px;
  padding: 16px 10px 10px;
  box-shadow: 0 24px 50px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  z-index: 10;
}

.dropdown::after {
  content: "";
  position: absolute;
  top: 4px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: rgba(24, 10, 38, .48);
  border-left: 1px solid rgba(201,162,39,.3);
  border-top: 1px solid rgba(201,162,39,.3);
  z-index: -1;
}

.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 8px;
  color: rgba(251,247,239,.82);
  transition: background .3s var(--ease), color .3s var(--ease), padding-left .3s var(--ease);
}

.dropdown a:hover {
  background: rgba(201,162,39,.14);
  color: var(--gold-light);
  padding-left: 18px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--paper);
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .nav,
  .site-header.scrolled .nav {
    padding: 10px 16px;
  }
  .brand {
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
  }
  .brand img {
    height: 40px;
    flex: 0 0 auto;
  }
  .site-header.scrolled .brand img { height: 34px; }
  .brand-text {
    min-width: 0;
  }
  .brand-text .name {
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-text .place {
    font-size: 8.5px;
    letter-spacing: .08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-cta {
    gap: 8px;
    flex: 0 0 auto;
  }
  .nav-cta .btn-gold {
    padding: 10px 14px;
  }
  .nav-toggle {
    font-size: 22px;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h, 64px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: var(--purple-deep);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 26px 28px;
    gap: 6px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s var(--ease), transform .4s var(--ease);
    overflow-y: auto;
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links > a,
  .nav-item > .nav-parent {
    font-size: 18px;
    padding: 14px 4px;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid rgba(251,247,239,.08);
  }
  .nav-item { width: 100%; }
  .nav-toggle { display: block; }
  .nav-cta .btn-gold-label { display: inline; }
  .nav-cta .btn-gold { font-size: 12.5px; }
  .nav-cta .btn-gold .arrow-wrap { display: none; }

  /* Accordion dropdown on mobile */
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: rgba(251,247,239,.04);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease), padding .4s var(--ease);
    margin-bottom: 0;
  }
  .dropdown::after { display: none; }
  .nav-item.open .dropdown {
    max-height: 320px;
    padding: 8px 0 12px 14px;
    transform: none;
  }
  .dropdown a { font-size: 13px; padding: 10px 8px; }
}

@media (max-width: 400px) {
  .brand-text .name { font-size: 12px; }
  .brand img { height: 34px; }
  .nav-cta .btn-gold { padding: 9px 12px; }
}

/* ==========================================================================
   Rays motif (signature element, drawn from the logo)
   ========================================================================== */

.rays-divider {
  width: 100%;
  height: 90px;
  display: block;
}

.rays-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: radial-gradient(120% 140% at 15% -10%, #452066 0%, var(--purple) 45%, var(--purple-deep) 100%);
  color: var(--paper);
  overflow: hidden;
  padding: 80px 0 0;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 1;
  z-index: 1;
  transition: opacity 1.2s ease-in-out;
}

.hero-video-slide.hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grid,
.hero-caption {
  transition: transform .9s var(--ease), opacity .9s var(--ease);
  transform: scale(.85);
  transform-origin: left bottom;
}
.hero.video-intro .hero-grid,
.hero.video-intro .hero-caption {
  transform: scale(.55);
}
.hero.video-intro .hero-grid { opacity: .92; }

.hero-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center 28%;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.6s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  animation: kenburns 9s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.09) translate(-1%, -1%); }
}

.hero-slideshow::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(24,10,38,.25) 0%, rgba(24,10,38,.18) 35%, rgba(24,10,38,.88) 100%);
}

.hero-caption {
  position: relative;
  z-index: 3;
  text-align: left;
  margin-top: 14px;
  pointer-events: none;
}

.hero-caption-text {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 18px);
  font-style: italic;
  color: var(--gold-pale);
  background: rgba(24,10,38,.45);
  backdrop-filter: blur(19px);
  -webkit-backdrop-filter: blur(19px);
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(201,162,39,.3);
  opacity: 0;
  position: absolute;
  transform: translateY(6px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.hero-caption-text.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .hero-caption { margin-top: 16px; }
  .hero-caption-text { font-size: 14px; padding: 7px 16px; }
}

.hero-dots {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.hero-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  position: relative;
  z-index: 2;
}
.hero-arrows { display: flex; gap: 8px; }
.hero-arrows button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251,247,239,.1);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(251,247,239,.25);
  color: rgba(251,247,239,.85);
  cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.hero-arrows button:hover {
  background: rgba(201,162,39,.3);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}
.hero-dots button {
  width: 26px; height: 4px;
  border-radius: 3px;
  background: rgba(251,247,239,.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .4s var(--ease), width .4s var(--ease);
}
.hero-dots button.active { background: var(--gold-light); width: 40px; }

.hero-grid {
  display: block;
  max-width: 480px;
  position: absolute;
  left: 28px;
  bottom: 116px;
  z-index: 2;
  padding: 0;
}

.hero-grid .eyebrow {
  display: inline-block;
  background: rgba(24,10,38,.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(201,162,39,.45);
  padding: 7px 16px;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.hero h1 {
  color: var(--paper);
  font-size: clamp(19px, 2.05vw, 27px);
  margin: 8px 0 10px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(155deg, #F1D77E, #C9A227);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  font-size: 13.5px;
  color: rgba(251,247,239,.82);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.hero-actions .btn { padding: 9px 18px; font-size: 12.5px; }

.hero-portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.hero-portrait {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(201,162,39,.4);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  max-width: 420px;
  aspect-ratio: 4/3;
}

.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }

.hero-portrait-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(24,10,38,.92), rgba(24,10,38,0));
  padding: 40px 20px 18px;
  text-align: center;
}

.hero-portrait-cap .role {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.hero-portrait-cap .who {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--paper);
}

.hero-portrait-cap .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12.5px;
  color: rgba(251,247,239,.7);
  margin-top: 6px;
}

/* Service info strip */
.service-strip {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, var(--gold-pale), var(--paper) 60%);
  border-top: 1px solid rgba(201,162,39,.5);
}

.service-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 18px;
  border-right: 1px solid rgba(94,18,32,.12);
  transition: background .3s var(--ease);
}

.service-item:last-child { border-right: none; }

a.service-item:hover { background: rgba(201,162,39,.1); }

.service-item .ico {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--gold-light);
}

.service-item .label {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 2px;
}

.service-item .value {
  font-family: var(--font-display);
  font-size: 16.5px;
  color: var(--purple-deep);
  font-weight: 600;
}

@media (max-width: 860px) {
  .hero-grid { left: 18px; right: 18px; max-width: none; bottom: 190px; }
  .hero h1 { font-size: 21px; line-height: 1.25; }
  .hero p.lede { font-size: 13.5px; }
  .hero-actions { gap: 8px; margin-top: 14px; }
  .hero-actions .btn { padding: 9px 15px; font-size: 12.5px; gap: 6px; }
  .service-strip .container { grid-template-columns: 1fr; }
  .service-item { border-right: none; border-bottom: 1px solid rgba(94,18,32,.12); }
  .service-item:last-child { border-bottom: none; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 19px; }
  .hero p.lede { font-size: 13px; }
  .hero-actions .btn { padding: 8px 13px; font-size: 11.5px; }
}

/* ---------- Mobile-only framing fixes for hero photos ----------
   Desktop crop positions (set inline in index.html) are tuned and must
   stay untouched. On phones the crop window is a different shape, so
   these overrides (mobile-only, !important) re-center each photo on
   its subject's actual face position instead of reusing the desktop
   framing. Values below came from running face detection against each
   photo, not guesswork. */
@media (max-width: 700px) {
  .hero-slide[style*="hero-1.jpg"]        { background-position: center 44% !important; }
  .hero-slide[style*="hero-2.jpg"]        { background-position: center 30% !important; }
  .hero-slide[style*="hero-3.jpg"]        { background-position: center 36% !important; }
  .hero-slide[style*="hero-4.jpg"]        { background-position: center 38% !important; }
  .hero-slide[style*="hero-5.jpg"]        { background-position: center 51% !important; }
  .hero-slide[style*="hero-6.jpg"]        { background-position: center 60% !important; }
  .hero-slide[style*="hero-7.jpg"]        { background-position: center 40% !important; }
  .hero-slide[style*="hero-8.jpg"]        { background-position: center 47% !important; }
  .hero-slide[style*="hero-10.jpg"]       { background-position: center 45% !important; }
  .hero-slide[style*="hero-13.jpg"]       { background-position: center 50% !important; }
  .hero-slide[style*="hero-14.jpg"]       { background-position: center 20% !important; }
  .hero-slide[style*="hero-15.jpg"]       { background-position: center 50% !important; }
  .hero-slide[style*="hero-16.jpg"]       { background-position: center 80% !important; }
  .hero-slide[style*="hero-17.jpg"]       { background-position: center 52% !important; }
  .hero-slide[style*="hero-18.jpg"]       { background-position: center 50% !important; }
  .hero-slide[style*="hero-19.jpg"]       { background-position: center 65% !important; }
  .hero-slide[style*="hero-20.jpg"]       { background-position: center 75% !important; }
  .hero-slide[style*="hero-21.jpg"]       { background-position: center 51% !important; }
  .hero-slide[style*="hero-bible.jpg"]    { background-position: center 25% !important; }
  .hero-slide[style*="hero-family-1.jpg"] { background-position: center 33% !important; }
  .hero-slide[style*="hero-family-2.jpg"] { background-position: center 53% !important; }
  .hero-slide[style*="hero-family-3.jpg"] { background-position: center 33% !important; }
  .hero-slide[style*="hero-standing.jpg"] { background-position: center 37% !important; }
  .hero-slide[style*="hero-preaching.jpg"]{ background-position: center 16% !important; }
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

section { position: relative; }

.section-pad { padding: 88px 0; }
.section-pad-sm { padding: 56px 0; }

.section-head {
  max-width: 640px;
  margin: 0 0 44px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 10px; }

.dark { background: var(--purple-deep); color: var(--paper); }
.dark h2, .dark h3, .dark h4 { color: var(--paper); }
.dark p { color: rgba(251,247,239,.78); }

.paper-dim { background: var(--paper-dim); }

/* ==========================================================================
   Cards
   ========================================================================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  background: rgba(255,255,255,.38);
  backdrop-filter: blur(34px) saturate(180%);
  -webkit-backdrop-filter: blur(34px) saturate(180%);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid rgba(201,162,39,.28);
  box-shadow: 0 8px 32px rgba(43,17,64,.1), inset 0 1px 0 rgba(255,255,255,.8);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.5);
  border-color: rgba(201,162,39,.5);
  box-shadow: 0 26px 50px rgba(43,17,64,.18), inset 0 1px 0 rgba(255,255,255,.9);
}

.card .num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.card h3 { font-size: 21px; margin-bottom: 10px; }

.card p { color: #4a3d52; font-size: 15px; margin-bottom: 0; }

.card-dark {
  position: relative;
  border-radius: 22px;
  padding: 34px 32px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(58,24,86,.55), rgba(24,10,38,.75));
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid rgba(201,162,39,.3);
  color: var(--paper);
  box-shadow: 0 8px 32px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.card-dark:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.12);
}

.card-dark h3 { color: var(--gold-light); }
.card-dark p { color: rgba(251,247,239,.75); }

/* ==========================================================================
   Verse / quote block
   ========================================================================== */

.verse-block {
  position: relative;
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--purple-deep), var(--maroon-deep));
  color: var(--paper);
}

.verse-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-style: italic;
  max-width: 760px;
  margin: 0 auto 16px;
  line-height: 1.5;
  color: var(--gold-pale);
}

.verse-block cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(251,247,239,.6);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  background: var(--purple-deep);
  color: rgba(251,247,239,.75);
  padding: 64px 0 28px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(201,162,39,.14) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.site-footer .container { position: relative; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  padding: 30px 30px 40px;
  margin-bottom: 0;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.footer-brand { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 56px; }
.footer-brand .name { font-family: var(--font-display); color: var(--paper); font-size: 16px; }
.footer-brand .place { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); }

.footer-col h4 {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 14.5px;
  color: rgba(251,247,239,.72);
  margin-bottom: 10px;
  transition: color .3s var(--ease);
}

.footer-col a:hover { color: var(--paper); }

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(251,247,239,.25);
  display: flex; align-items: center; justify-content: center;
  transition: all .4s var(--ease);
}

.social-row a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--purple-deep);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 34px;
  padding-top: 0;
  font-size: 13px;
  color: rgba(251,247,239,.5);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero {
  position: relative;
  background: radial-gradient(120% 160% at 85% -20%, #452066 0%, var(--purple) 45%, var(--purple-deep) 100%);
  color: var(--paper);
  padding: 68px 0 56px;
  overflow: hidden;
}

.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { color: var(--paper); font-size: clamp(32px, 4.4vw, 48px); }
.page-hero p { color: rgba(251,247,239,.8); max-width: 60ch; font-size: 17px; }

.breadcrumb {
  font-size: 13px;
  color: rgba(251,247,239,.55);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--gold-light); }

/* ==========================================================================
   Timeline (for founder story - genuinely sequential, so numbering is earned)
   ========================================================================== */

.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute; left: 8px; top: 4px; bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(201,162,39,.15));
}
.timeline-item {
  position: relative;
  margin-bottom: 20px;
  padding: 18px 20px 18px 26px;
  background: rgba(255,255,255,.38);
  backdrop-filter: blur(34px) saturate(180%);
  -webkit-backdrop-filter: blur(34px) saturate(180%);
  border-radius: 12px;
  border: 1px solid rgba(201,162,39,.28);
  box-shadow: 0 8px 24px rgba(43,17,64,.08);
  transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,.5);
  border-color: rgba(201,162,39,.5);
}
.timeline-item::before {
  content: "";
  position: absolute; left: -34px; top: 22px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--gold);
}
.timeline-item h4 { font-size: 17px; margin-bottom: 6px; color: var(--purple-deep); }
.timeline-item p { color: #4a3d52; font-size: 15px; margin-bottom: 0; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--purple-deep);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1.5px solid rgba(94,18,32,.14);
  font-family: var(--font-body);
  font-size: 15px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 4px 14px rgba(43,17,64,.05);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.8);
  box-shadow: 0 0 0 4px rgba(201,162,39,.15);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.form-status { font-size: 14px; margin-top: 14px; display: none; }
.form-status.visible { display: block; }
.form-status.ok { color: #2d6a3e; }
.form-status.err { color: var(--maroon); }

/* ==========================================================================
   Utility
   ========================================================================== */

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(94,18,32,.15);
  filter: saturate(.85);
}
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-row .ico {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--gold-pale);
  color: var(--maroon);
  display: flex; align-items: center; justify-content: center;
}
.info-row h4 { font-size: 15px; margin-bottom: 3px; }
.info-row p { font-size: 14.5px; color: #4a3d52; margin-bottom: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(201,162,39,.14);
  color: var(--maroon);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}

.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid rgba(94,18,32,.12);
  background: #000;
}
.video-frame iframe { width: 100%; height: 100%; border: 0; }

.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(94,18,32,.1);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.video-card:hover { transform: translateY(-5px); box-shadow: 0 22px 40px rgba(43,17,64,.12); }
.video-card .video-frame { border-radius: 0; border: none; }
.video-card .video-card-body { padding: 20px; }
.video-card h4 { font-size: 16px; margin-bottom: 6px; }
.video-card p { font-size: 13.5px; color: #6b5d70; margin-bottom: 0; }

/* ==========================================================================
   Back to top
   ========================================================================== */

.back-to-top {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(155deg, #F1D77E 0%, #C9A227 60%, #A9821B 100%);
  color: var(--maroon-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  z-index: 90;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { transform: translateY(-3px); }

/* ==========================================================================
   Photo panels (Follow/Grow/Serve/Change-style grid)
   ========================================================================== */

.photo-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.photo-panel {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 14px;
}

.photo-panel .tex {
  position: absolute;
  top: -6%;
  right: -6%;
  bottom: -6%;
  left: -6%;
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
  filter: saturate(1.05);
}

.photo-panel:hover .tex { transform: scale(1.12); filter: saturate(1.25) brightness(1.05); }

.photo-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(0deg, rgba(24,10,38,.82) 0%, rgba(24,10,38,.15) 46%, rgba(24,10,38,.05) 100%);
}

.photo-panel .panel-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px 18px;
  color: var(--paper);
}

.photo-panel .panel-eyebrow {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
  display: block;
}

.photo-panel h4 {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--paper);
  margin: 0;
}

.photo-panel .panel-icon {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(251,247,239,.14);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(251,247,239,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
}

@media (max-width: 900px) {
  .photo-panels { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .photo-panels { grid-template-columns: 1fr; }
  .photo-panel { aspect-ratio: 16/10; }
}

/* ==========================================================================
   Glass experience cards
   ========================================================================== */

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.experience-grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1100px) {
  .experience-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .experience-grid { grid-template-columns: 1fr 1fr; }
  .experience-grid-5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .experience-grid { grid-template-columns: 1fr; }
}

.experience-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(251,247,239,.06);
  backdrop-filter: blur(34px) saturate(160%);
  -webkit-backdrop-filter: blur(34px) saturate(160%);
  border: 1px solid rgba(251,247,239,.16);
  border-radius: 14px;
  padding: 26px 22px;
  min-height: 190px;
  transition: transform .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease);
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.experience-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .6s var(--ease);
  z-index: 0;
}

.experience-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(24,10,38,.35) 0%, rgba(24,10,38,.85) 100%);
  opacity: 0;
  transition: opacity .6s var(--ease);
  z-index: 0;
}

.experience-card:hover {
  transform: translateY(-6px);
  background: rgba(251,247,239,.11);
  border-color: rgba(201,162,39,.5);
}

.experience-card:hover .experience-card-bg,
.experience-card:hover::after {
  opacity: 1;
}

.experience-card-inner {
  position: relative;
  z-index: 1;
}

.experience-card .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(201,162,39,.16);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

.experience-card h4 {
  font-size: 17px;
  color: var(--paper);
  margin-bottom: 6px;
}

.experience-card p {
  font-size: 13.5px;
  color: rgba(251,247,239,.68);
  margin-bottom: 14px;
}

.experience-card .link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Stagger reveal helper */
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ==========================================================================
   Smooth scrolling photo marquee (left-to-right fluid motion)
   ========================================================================== */

.wheel-section {
  position: relative;
  overflow: hidden;
}

.wheel-stage {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.wheel-stage::-webkit-scrollbar { display: none; }

.wheel-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  padding: 0 4vw;
}

.wheel-item {
  position: relative;
  flex: 0 0 auto;
  width: 260px;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  border: 2px solid rgba(201,162,39,.2);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}

.wheel-item:hover {
  border-color: var(--gold-light);
  transform: translateY(-4px);
}

.wheel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wheel-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.wheel-nav button {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(251,247,239,.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(251,247,239,.25);
  color: var(--paper);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.wheel-nav button:hover { background: rgba(201,162,39,.25); transform: translateY(-2px); }

@media (max-width: 700px) {
  .wheel-item { width: 190px; height: 250px; }
}

/* ==========================================================================
   Showcase — circular photo (circle-wipe transition) + rotating verse column
   ========================================================================== */

.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 460px) 1fr;
  gap: 64px;
  align-items: center;
}

.showcase {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.showcase-stage {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(43,17,64,.25);
  border: 6px solid var(--paper);
  background: var(--purple-deep);
}

.showcase-photo-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  clip-path: circle(0px at 50% 50%);
  transition: clip-path 1.2s cubic-bezier(.65,0,.35,1);
}

.showcase-photo-slide.active {
  clip-path: circle(500px at 50% 50%);
}

.showcase-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(15px) saturate(140%);
  -webkit-backdrop-filter: blur(15px) saturate(140%);
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: 0 10px 26px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px;
  z-index: 5;
}

.showcase-badge span {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.65), 0 1px 2px rgba(0,0,0,.5);
}

.showcase-arrows {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.showcase-arrows button {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(94,18,32,.06);
  border: 1px solid rgba(94,18,32,.16);
  color: var(--maroon);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.showcase-arrows button:hover { background: rgba(201,162,39,.18); transform: translateY(-2px); }

/* Rotating verse column */
.verse-rotator {
  position: relative;
  min-height: 200px;
}

.verse-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.verse-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.verse-slide blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 29px);
  color: var(--purple-deep);
  line-height: 1.5;
  margin: 0 0 16px;
}

.verse-slide cite {
  font-style: normal;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

@media (max-width: 900px) {
  .showcase-row { grid-template-columns: 1fr; gap: 40px; }
  .showcase { max-width: 340px; margin: 0 auto; }
  .verse-rotator { text-align: center; min-height: 160px; }
}

/* ==========================================================================
   Meet Our Pastor (full-width dedicated section)
   ========================================================================== */

.pastor-section {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.pastor-section img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% 22%;
}

.pastor-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(100deg, rgba(24,10,38,.05) 0%, rgba(24,10,38,.35) 38%, rgba(24,10,38,.88) 68%, rgba(24,10,38,.94) 100%);
}

.pastor-section-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
  color: var(--paper);
  max-width: 560px;
  margin-left: auto;
}

.pastor-section-content .eyebrow { color: var(--gold-light); }
.pastor-section-content h2 { color: var(--paper); margin-top: 10px; }
.pastor-section-content p { color: rgba(251,247,239,.85); font-size: 16.5px; }
.pastor-section-content .verse {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-pale);
  margin-top: 18px;
  font-size: 17px;
}

@media (max-width: 700px) {
  .pastor-section { min-height: 560px; align-items: flex-end; justify-content: center; }
  .pastor-section img { object-position: 18% 25%; }
  .pastor-section::after { background: linear-gradient(0deg, rgba(24,10,38,.94) 0%, rgba(24,10,38,.6) 45%, rgba(24,10,38,.15) 100%); }
  .pastor-section-content { max-width: 100%; margin-left: 0; }
}

/* ==========================================================================
   Event photo grid (Events page celebration galleries)
   ========================================================================== */

.event-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.event-photo {
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(43,17,64,.12);
}

.event-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.event-photo:hover img { transform: scale(1.08); }

@media (max-width: 900px) {
  .event-photo-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .event-photo-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Intro video (Ways to Connect section)
   ========================================================================== */

.intro-video-wrap {
  position: relative;
  padding: 36px;
}

.intro-video-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 80% at 30% 20%, rgba(201,162,39,.22) 0%, transparent 60%),
    radial-gradient(55% 75% at 75% 85%, rgba(122,60,150,.28) 0%, transparent 65%);
  filter: blur(38px);
  pointer-events: none;
}

.intro-video-frame {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
  box-shadow:
    0 40px 90px rgba(8,3,16,.55),
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 0 70px 4px rgba(201,162,39,.08);
}

.intro-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 700px) {
  .intro-video-wrap { padding: 14px; }
  .intro-video-wrap::before { filter: blur(24px); }
}

.intro-video-mute {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(24,10,38,.6);
  backdrop-filter: blur(19px);
  -webkit-backdrop-filter: blur(19px);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--paper);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.intro-video-mute:hover { background: rgba(201,162,39,.4); transform: translateY(-2px); }

/* ==========================================================================
   Facebook preview card (Watch page)
   ========================================================================== */

.fb-preview-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(94,18,32,.12);
  box-shadow: 0 24px 50px rgba(43,17,64,.12);
}

.fb-preview-cover {
  height: 150px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--maroon) 100%);
}

.fb-preview-body {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 16px 28px 0;
  margin-bottom: 24px;
}

.fb-preview-body > div:last-child {
  min-width: 0;
  overflow-wrap: break-word;
  padding-bottom: 4px;
}

.fb-preview-body h3 {
  overflow-wrap: break-word;
}

.fb-preview-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #1877f2;
  border: 4px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
  flex: 0 0 auto;
  margin-top: -38px;
}

@media (max-width: 480px) {
  .fb-preview-body { padding: 12px 18px 0; gap: 12px; }
  .fb-preview-avatar { width: 64px; height: 64px; margin-top: -28px; }
  .fb-preview-body h3 { font-size: 15.5px !important; }
}

/* ==========================================================================
   FAQ Bot widget
   ========================================================================== */

#hbFaqBot { position: fixed; z-index: 999; right: 22px; bottom: 22px; }

#hbFaqToggle {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: transparent;
  color: var(--maroon-deep);
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  padding: 0;
  overflow: visible;
}
#hbFaqToggle:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 36px rgba(0,0,0,.4); }

#hbFaqIconChat {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#hbFaqIconChat img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.35));
}
#hbFaqIconClose {
  color: var(--paper);
  background: var(--maroon-deep);
  border-radius: 50%;
  padding: 18px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

#hbFaqPanel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: 400px;
  max-width: calc(100vw - 32px);
  height: 640px;
  max-height: 82vh;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  border: 1px solid rgba(201,162,39,.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(.97);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
#hbFaqPanel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/logo.png');
  background-repeat: no-repeat;
  background-position: center 62%;
  background-size: 280px;
  opacity: .06;
  pointer-events: none;
  z-index: 0;
}
#hbFaqHeader, #hbFaqMessages, #hbFaqQuick, #hbFaqForm {
  position: relative;
  z-index: 1;
}
#hbFaqPanel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#hbFaqHeader {
  background: linear-gradient(135deg, #1c3a5e 0%, var(--purple-deep) 55%, var(--maroon-deep) 100%);
  padding: 16px 18px;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)) 1;
}
#hbFaqHeaderText { display: flex; flex-direction: column; }
#hbFaqHeaderText strong { color: var(--paper); font-family: var(--font-display); font-size: 15.5px; }
#hbFaqHeaderText span { color: var(--gold-light); font-size: 11.5px; margin-top: 2px; }

#hbFaqMessages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hbFaqMsg {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
}
.hbFaqMsgBot {
  align-self: flex-start;
  background: rgba(94,18,32,.07);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.hbFaqMsgUser {
  align-self: flex-end;
  background: var(--maroon);
  color: var(--paper);
  border-bottom-right-radius: 4px;
}

#hbFaqQuick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 12px;
  flex: 0 0 auto;
  max-height: 150px;
  overflow-y: auto;
}
#hbFaqQuick button {
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 100px;
  border: 1px solid rgba(94,18,32,.2);
  background: var(--white);
  color: var(--maroon);
  cursor: pointer;
  transition: background .3s var(--ease);
}
#hbFaqQuick button:hover { background: rgba(201,162,39,.14); }

#hbFaqForm {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(94,18,32,.1);
  flex: 0 0 auto;
}
#hbFaqInput {
  flex: 1 1 auto;
  border: 1.5px solid rgba(94,18,32,.18);
  border-radius: 100px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-family: var(--font-body);
  outline: none;
}
#hbFaqInput:focus { border-color: var(--gold); }
#hbFaqForm button[type="submit"] {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--paper);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  transition: background .3s var(--ease);
}
#hbFaqForm button[type="submit"]:hover { background: var(--maroon-deep); }

@media (max-width: 480px) {
  #hbFaqBot { right: 14px; bottom: 14px; }
  #hbFaqPanel { width: calc(100vw - 28px); height: 78vh; bottom: 70px; }
  #hbFaqToggle { width: 52px; height: 52px; }
}

/* ==========================================================================
   Live status badge + stage (Watch page)
   ========================================================================== */

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 14px;
  transition: background .4s var(--ease), color .4s var(--ease);
}

.live-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.live-badge-offline {
  background: rgba(94,18,32,.08);
  color: #6b5d70;
}
.live-badge-offline .live-badge-dot { background: #9a8ba0; }

.live-badge-live {
  background: rgba(224,38,63,.14);
  color: #c31e37;
}
.live-badge-live .live-badge-dot {
  background: #e0263f;
  animation: liveDotPulse 1.4s ease-in-out infinite;
}

@keyframes liveDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224,38,63,.5); }
  50% { box-shadow: 0 0 0 6px rgba(224,38,63,0); }
}

.live-stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 24px 50px rgba(43,17,64,.2);
  background: linear-gradient(155deg, #3a1856, var(--purple-deep));
}

.live-offline-card {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  overflow: hidden;
}

.church-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40%;
  max-width: 360px;
  transform: translate(-50%, -50%);
  opacity: .045;
  filter: grayscale(1) brightness(2.6);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.live-offline-card .watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62%;
  max-width: 340px;
  transform: translate(-50%, -50%);
  opacity: .045;
  filter: grayscale(1) brightness(2.4);
  pointer-events: none;
  user-select: none;
}

.live-offline-card > *:not(.watermark) { position: relative; z-index: 1; }

.live-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 15% 10%, rgba(201,162,39,.10) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.live-stage.is-live::after { opacity: 1; }

.live-dove {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 40px;
  height: 40px;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.live-stage.is-live .live-dove {
  opacity: .85;
  transform: translateY(0);
  animation: doveFloat 4.5s ease-in-out infinite;
}
.live-dove img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }

@keyframes doveFloat {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  25%      { transform: translateY(-6px) translateX(-3px) rotate(-3deg); }
  50%      { transform: translateY(-2px) translateX(2px) rotate(2deg); }
  75%      { transform: translateY(-8px) translateX(-1px) rotate(-1deg); }
}

@media (prefers-reduced-motion: reduce) {
  .live-dove { animation: none !important; }
}

/* ==========================================================================
   Preloader (homepage entry animation)
   ========================================================================== */

body.hb-preload-active {
  overflow: hidden;
  height: 100vh;
}

#hbPreloader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 5000;
  background: radial-gradient(120% 140% at 50% 30%, #452066 0%, var(--purple) 45%, var(--purple-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

#hbPreloader.hb-preload-exit {
  opacity: 0;
  transform: translateY(-3%);
  pointer-events: none;
}

#hbPreloader.hb-preload-hidden {
  display: none;
}

#hbPreloaderInner {
  text-align: center;
  padding: 20px;
}

#hbPreloaderWordStage {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hb-preload-word {
  position: absolute;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(22px, 5vw, 40px);
  letter-spacing: .08em;
  color: var(--gold-light);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease;
}

.hb-preload-word.hb-word-active {
  opacity: 1;
  transform: translateY(0);
}

#hbPreloaderTagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(20px, 3.4vw, 34px);
  color: var(--paper);
  line-height: 1.4;
  margin-top: 26px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}

#hbPreloaderTagline.hb-tagline-active {
  opacity: 1;
  transform: translateY(0);
}

#hbPreloaderBar {
  width: 160px;
  height: 3px;
  border-radius: 3px;
  background: rgba(251,247,239,.15);
  margin: 34px auto 0;
  overflow: hidden;
}

#hbPreloaderBarFill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width .3s linear;
}

@media (max-width: 480px) {
  #hbPreloaderWordStage { height: 44px; }
  #hbPreloaderTagline { margin-top: 20px; }
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Comments / testimonials (homepage, bottom section)
   ========================================================================== */

.comments-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin: 40px 0 56px;
}

.comment-card {
  position: relative;
  border-radius: 20px;
  padding: 26px 26px 22px;
  background: linear-gradient(160deg, rgba(58,24,86,.5), rgba(24,10,38,.7));
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  border: 1px solid rgba(201,162,39,.28);
  box-shadow: 0 8px 28px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.07);
  opacity: 0;
  transform: translateY(18px) scale(.98);
  animation: commentIn .7s cubic-bezier(.16,1,.3,1) forwards;
}

@keyframes commentIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.comment-card .stars {
  color: var(--gold-light);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.comment-card .stars .dim { color: rgba(251,247,239,.25); }

.comment-card p.text {
  color: rgba(251,247,239,.9);
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.comment-card .who {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.comment-card .who .name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-light);
  font-size: 15px;
}
.comment-card .who .when {
  font-size: 12px;
  color: rgba(251,247,239,.45);
  white-space: nowrap;
}

.comments-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(251,247,239,.55);
  font-size: 15px;
  padding: 20px 0;
}

.comment-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 38px 34px;
  background: linear-gradient(160deg, rgba(58,24,86,.5), rgba(24,10,38,.72));
  backdrop-filter: blur(34px) saturate(160%);
  -webkit-backdrop-filter: blur(34px) saturate(160%);
  border: 1px solid rgba(201,162,39,.3);
  box-shadow: 0 20px 50px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08);
}

.comment-form-wrap h3 {
  color: var(--paper);
  text-align: center;
  margin-bottom: 6px;
}
.comment-form-wrap .sub {
  text-align: center;
  color: rgba(251,247,239,.65);
  font-size: 14.5px;
  margin-bottom: 26px;
}

.comment-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.comment-form-grid .full { grid-column: 1 / -1; }

.comment-field { margin-bottom: 18px; }
.comment-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 7px;
}
.comment-field input,
.comment-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(251,247,239,.2);
  background: rgba(251,247,239,.08);
  backdrop-filter: blur(17px);
  -webkit-backdrop-filter: blur(17px);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--paper);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.comment-field input::placeholder,
.comment-field textarea::placeholder { color: rgba(251,247,239,.4); }
.comment-field input:focus,
.comment-field textarea:focus {
  outline: none;
  border-color: var(--gold-light);
  background: rgba(251,247,239,.13);
  box-shadow: 0 0 0 4px rgba(201,162,39,.18);
}
.comment-field textarea { resize: vertical; min-height: 100px; }

.star-rating-input {
  display: flex;
  gap: 6px;
  font-size: 30px;
  line-height: 1;
}
.star-rating-input button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: rgba(251,247,239,.25);
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.star-rating-input button:hover { transform: scale(1.12); }
.star-rating-input button.active,
.star-rating-input button.hovered { color: var(--gold-light); }

.g-recaptcha-wrap { margin: 20px 0 6px; display: flex; justify-content: center; }

.comment-form-status { font-size: 14px; margin-top: 14px; text-align: center; display: none; }
.comment-form-status.visible { display: block; }
.comment-form-status.ok { color: var(--gold-light); }
.comment-form-status.err { color: #ff9d9d; }

@media (max-width: 560px) {
  .comment-form-grid { grid-template-columns: 1fr; }
  .comment-form-wrap { padding: 28px 20px; border-radius: 20px; }
  .comments-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Hermon Blessing Church Gallery (Events page, staff-uploaded photos)
   ========================================================================== */

.hb-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.hb-gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #8a7a90;
  font-size: 15px;
  padding: 30px 0;
}

.hb-gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 24px rgba(43,17,64,.12);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.hb-gallery-item:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(43,17,64,.2); }

.hb-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.hb-gallery-item:hover img { transform: scale(1.06); }

.hb-gallery-item .overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 14px 12px;
  background: linear-gradient(0deg, rgba(24,10,38,.88) 0%, rgba(24,10,38,0) 100%);
  color: var(--paper);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.hb-gallery-item:hover .overlay,
.hb-gallery-item:focus .overlay { opacity: 1; transform: translateY(0); }

.hb-gallery-item .overlay .g-title { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.hb-gallery-item .overlay .g-cat {
  display: inline-block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gold-light);
}

.hb-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,4,17,.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px 20px;
}
.hb-lightbox.open { display: flex; }

.hb-lightbox img {
  max-width: 90vw;
  max-height: 76vh;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}

.hb-lightbox-caption { text-align: center; margin-top: 18px; color: var(--paper); }
.hb-lightbox-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.hb-lightbox-cat { margin-top: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-light); }

.hb-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--paper);
  font-size: 18px;
  cursor: pointer;
}
.hb-lightbox-close:hover { background: rgba(255,255,255,.2); }

@media (max-width: 560px) {
  .hb-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
}

/* ==========================================================================
   Recent Live Streams (Watch page, shown after the live status area)
   ========================================================================== */

.recent-streams-wrap { margin: 0 0 44px; }

.recent-streams-head { text-align: center; margin-bottom: 22px; }
.recent-streams-head h3 { margin-top: 6px; }

.recent-streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.recent-stream-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(43,17,64,.14);
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(16px);
  animation: streamCardIn .7s cubic-bezier(.16,1,.3,1) forwards;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.recent-stream-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(43,17,64,.22); }

@keyframes streamCardIn {
  to { opacity: 1; transform: translateY(0); }
}

.recent-stream-card .thumb-wrap { position: relative; aspect-ratio: 16/9; background: var(--purple-deep); }
.recent-stream-card .thumb-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recent-stream-card .play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.recent-stream-card .play-badge span {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(24,10,38,.6);
  backdrop-filter: blur(17px);
  -webkit-backdrop-filter: blur(17px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.recent-stream-card:hover .play-badge span { transform: scale(1.1); background: rgba(201,162,39,.75); }

.recent-stream-card .meta { padding: 14px 16px 16px; }
.recent-stream-card .rs-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--purple-deep);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recent-stream-card .rs-date {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
