/* ============================================================
   Hilltop Chapel — THE ASCENT
   Sacred Futurism design tokens & components
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300..700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --void:         #14081f;
  --ink:          #0e0813;
  --plum:         #241040;
  --violet:       #8a3fd1;
  --violet-2:     #a862e0;
  --plasma-gold:  #f2cf8e;
  --gold:         #d3ac67;
  --holo-1:       #8a3fd1;
  --holo-2:       #5ec9d8;
  --holo-3:       #f2cf8e;
  --glass-bg:     rgba(20, 10, 30, 0.45);
  --glass-border: rgba(255, 255, 255, 0.14);
  --text-hi:      #f6f0fa;
  --text-lo:      #b9a4cf;

  --font-display: 'Fraunces', Georgia, serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
  --font-body:    'Inter', system-ui, sans-serif;

  --nav-h: 4.5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --reduced-motion: 0;
}

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

html {
  font-size: 16px;
  scroll-behavior: auto;
  background: var(--void);
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-hi);
  background: var(--void);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

body.is-touch,
body.reduce-motion {
  cursor: auto;
}

body.is-touch .cursor,
body.reduce-motion .cursor,
body.is-touch .cursor-halo,
body.reduce-motion .cursor-halo {
  display: none !important;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: none; border: none; background: none; }
body.is-touch button,
body.reduce-motion button { cursor: pointer; }
ul, ol { list-style: none; }

/* ---------- Film grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
}

body.reduce-motion .grain { opacity: 0.03; animation: none; }

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--plasma-gold);
  box-shadow: 0 0 12px 2px rgba(242, 207, 142, 0.55);
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: screen;
  will-change: transform;
}

.cursor-halo {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  border: 1px solid rgba(242, 207, 142, 0.25);
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}

/* ---------- WebGL / fallback canvas ---------- */
#climb-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
}

.climb-fallback {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(242, 207, 142, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 70%, rgba(138, 63, 209, 0.25) 0%, transparent 60%),
    var(--void);
  display: none;
  opacity: 0.72;
}

.climb-fallback.visible { display: block; }

.climb-fallback svg {
  position: absolute;
  bottom: 8%;
  left: 50%;
  width: min(90vw, 720px);
  opacity: 0.7;
  transform-origin: center bottom;
  transform: translateX(-50%) translateY(calc(var(--summit, 0) * -90px)) scale(calc(0.92 + var(--summit, 0) * 0.28));
}

/* Interior page header mountain */
.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--void) 0%, transparent 40%, var(--ink) 100%),
    radial-gradient(ellipse at 50% 80%, rgba(138, 63, 209, 0.35), transparent 60%);
}

.page-header-bg svg {
  position: absolute;
  bottom: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 900px);
  opacity: 0.4;
}

/* Sunday beacon chip */
.sunday-beacon {
  position: fixed;
  top: calc(var(--nav-h) + 0.75rem);
  right: 1.25rem;
  z-index: 850;
  width: min(220px, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  background: rgba(14, 8, 19, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid transparent;
  background-image:
    linear-gradient(rgba(14, 8, 19, 0.82), rgba(14, 8, 19, 0.82)),
    linear-gradient(125deg, rgba(138, 63, 209, 0.5), rgba(94, 201, 216, 0.25), rgba(242, 207, 142, 0.45));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 6px;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), box-shadow 0.4s;
}

.sunday-beacon.visible {
  opacity: 1;
  transform: none;
}

.sunday-beacon.live {
  box-shadow: 0 0 28px rgba(242, 207, 142, 0.22);
}

.sunday-beacon .sb-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(211, 172, 103, 0.65);
  margin-bottom: 0.25rem;
}

.sunday-beacon .sb-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-hi);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.sunday-beacon .sb-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(242, 207, 142, 0.75);
  margin-bottom: 0.55rem;
}

.sunday-beacon .sb-link {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-lo);
  transition: color 0.2s;
}

.sunday-beacon .sb-link:hover { color: var(--plasma-gold); }

@media (max-width: 768px) {
  .sunday-beacon {
    right: 0.75rem;
    top: auto;
    bottom: 4.75rem;
    width: min(200px, calc(100vw - 5.5rem));
  }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: var(--void);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  width: 80px;
  height: 80px;
}

.loader-mark svg {
  width: 100%;
  height: 100%;
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: rgba(242, 207, 142, 0.6);
  text-transform: uppercase;
}

.loader-skip {
  position: absolute;
  bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-lo);
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity 0.2s;
  cursor: none;
}

body.is-touch .loader-skip,
body.reduce-motion .loader-skip { cursor: pointer; }

.loader-skip:hover { opacity: 1; color: var(--plasma-gold); }

/* ---------- Layout shell ---------- */
.site {
  position: relative;
  z-index: 1;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(720px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  transition: padding 0.35s var(--ease-out), background 0.35s, backdrop-filter 0.35s;
}

.site-header.scrolled {
  padding: 0.5rem 0;
  background: rgba(14, 8, 19, 0.55);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-crest {
  width: auto;
  height: 52px;
  border-radius: 0;
  overflow: visible;
}

.logo-crest img {
  width: auto;
  height: 52px;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.logo-word {
  display: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 560;
  letter-spacing: 0.04em;
  color: var(--text-hi);
  line-height: 1.1;
}

.logo-word span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--text-lo);
  text-transform: uppercase;
}

.nav-menu {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
  z-index: 1200;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 1201;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links > a:not(.btn),
.nav-item.has-dropdown > a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-lo);
  padding: 0.55rem 0.85rem;
  border-radius: 2px;
  transition: color 0.25s;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links > a:not(.btn):hover,
.nav-links > a:not(.btn).active,
.nav-item.has-dropdown > a:hover,
.nav-item.has-dropdown > a.active {
  color: var(--plasma-gold);
  background: none;
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
}

.nav-item.has-dropdown {
  position: relative;
}

.nav-item.has-dropdown > a::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.7;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 0.1rem);
  left: 0;
  min-width: 13.5rem;
  padding: 0.45rem 0;
  background: rgba(14, 8, 19, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s var(--ease-out),
    transform 0.2s var(--ease-out),
    visibility 0.2s;
  z-index: 1202;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-dropdown a {
  display: block;
  padding: 0.5rem 0.95rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--text-lo);
}

.nav-dropdown a:hover {
  color: var(--plasma-gold);
}

body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

html:has(body.menu-open) {
  overflow: hidden;
}

#leadership,
#mission-vision,
#pillars,
#weekly,
#special-events {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.site-leadership {
  padding-top: 0;
}

.founder-cover {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) 0 3rem;
}

.founder-cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  width: min(1180px, calc(100% - 2.5rem));
}

.founder-cover-frame {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(20, 10, 30, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-cover-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - var(--nav-h) - 4rem);
  object-fit: contain;
  object-position: center top;
}

.founder-cover-copy {
  min-width: 0;
}

.founder-cover-copy .eyebrow {
  margin-bottom: 0.2rem;
}

.founder-role-2 {
  margin-bottom: 0.85rem;
}

.founder-cover-copy h1 {
  margin: 0 0 1.25rem;
  color: var(--text-hi);
}

.founder-bio p {
  color: rgba(246, 240, 250, 0.86);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0 0 0.95rem;
}

.founder-bio p:last-child {
  margin-bottom: 0;
}

.leadership-team-section {
  padding-top: 2rem;
}

.leadership-team-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.leader-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
}

.leader-row-photo {
  margin: 0;
}

.leader-row-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.leader-row-copy h2 {
  margin: 0.35rem 0 0.85rem;
}

@media (max-width: 800px) {
  .leader-row {
    grid-template-columns: 1fr;
  }
}

.nav-toggle {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text-hi);
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: background 0.25s var(--ease-out);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease-out), top 0.25s var(--ease-out);
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(211, 172, 103, 0.7);
  margin-bottom: 0.85rem;
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text-hi);
}

.display-xl { font-size: clamp(2.6rem, 7vw, 5.2rem); }
.display-lg { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.display-md { font-size: clamp(1.5rem, 3vw, 2.2rem); }

.lead {
  font-size: 1.1rem;
  color: var(--text-lo);
  max-width: 36em;
  line-height: 1.7;
}

.body-text {
  color: var(--text-lo);
  font-size: 1rem;
}

.kinetic .word {
  display: inline-block;
  white-space: nowrap;
}

.kinetic .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  font-variation-settings: 'wght' 300;
  will-change: transform, opacity, font-variation-settings;
}

.kinetic.is-revealed .char,
body.reduce-motion .kinetic .char {
  opacity: 1;
  transform: none;
  font-variation-settings: 'wght' 560;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.6rem;
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, background 0.35s, color 0.35s;
  position: relative;
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(135deg, var(--plasma-gold) 0%, var(--gold) 100%);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(242, 207, 142, 0);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(138, 63, 209, 0.35), 0 0 24px rgba(242, 207, 142, 0.25);
}

.btn-ghost {
  background: var(--glass-bg);
  color: var(--text-hi);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid transparent;
  background-image:
    linear-gradient(var(--glass-bg), var(--glass-bg)),
    linear-gradient(120deg, var(--holo-1), var(--holo-2), var(--holo-3));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.btn-ghost:hover {
  color: var(--plasma-gold);
  box-shadow: 0 8px 28px rgba(138, 63, 209, 0.28);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* ---------- Glass panels ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid transparent;
  background-image:
    linear-gradient(var(--glass-bg), var(--glass-bg)),
    linear-gradient(125deg, rgba(138, 63, 209, 0.55), rgba(94, 201, 216, 0.35), rgba(242, 207, 142, 0.45));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100% 100%, 200% 200%;
  background-position: 0 0, 0% 50%;
  border-radius: 4px;
  padding: 1.75rem;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s,
    background-position 1.2s ease;
}

.glass:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(36, 16, 64, 0.55), 0 0 0 1px rgba(138, 63, 209, 0.15);
  background-position: 0 0, 100% 50%;
}

.glass-tight { padding: 1.25rem 1.4rem; }
.glass-pad { padding: 2.25rem; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(20, 10, 30, 0.92); }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  z-index: 1;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 38rem;
}

.section-head .display { margin-bottom: 0.75rem; }

/* Light-line divider */
.ridge-divider {
  display: block;
  width: min(280px, 50%);
  margin: 0 auto;
  overflow: visible;
}

.ridge-divider path {
  fill: none;
  stroke: url(#ridge-glow);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.2s var(--ease-out), opacity 0.6s;
}

.ridge-divider.is-lit path {
  stroke-dashoffset: 0;
  opacity: 0.85;
}

body.reduce-motion .ridge-divider path {
  stroke-dashoffset: 0;
  opacity: 0.6;
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 2rem) 0 5rem;
  z-index: 1;
}

.hero-stage {
  display: none;
}

.hero.has-video .hero-stage {
  display: block;
  position: absolute;
  inset: 0;
  overflow: visible;
  z-index: 0;
  background: transparent;
  pointer-events: none;
}

.hero-video-ascend {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(78vw, 980px);
  height: min(52vh, 540px);
  transform: translate(-50%, -50%);
  border-radius: 22px;
  overflow: hidden;
}

.hero-video-ascend::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 8, 31, 0.08) 20%, rgba(20, 8, 31, 0.42) 100%);
  pointer-events: none;
}

.hero.has-video .hero-stage video,
.hero.has-video .hero-stage iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.hero.has-video.hero-intro .hero-content {
  opacity: 0;
  transform: translateY(20px);
}

.hero.has-video.hero-intro-drop .hero-video-ascend {
  top: -8%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(242, 207, 142, 0.55);
}

.hero.has-video.hero-intro-drop .hero-video-ascend::after {
  opacity: 0;
}

.hero.has-video.hero-intro-drop-in .hero-video-ascend {
  top: 38%;
  transition: top 0.82s cubic-bezier(0.55, 0.06, 0.68, 0.19);
}

.hero.has-video.hero-intro-open .hero-video-ascend {
  top: 38%;
  width: min(78vw, 980px);
  height: min(52vh, 540px);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(8, 2, 16, 0.4);
  transition:
    top 1.05s var(--ease-out),
    width 1.05s var(--ease-out),
    height 1.05s var(--ease-out),
    border-radius 1.05s var(--ease-out),
    box-shadow 0.7s var(--ease-out);
}

.hero.has-video.hero-intro-open .hero-video-ascend video,
.hero.has-video.hero-intro-open .hero-video-ascend iframe {
  transform: scale(1.1);
  filter: blur(12px) brightness(0.4);
}

.hero.has-video.hero-intro-in .hero-video-ascend video,
.hero.has-video.hero-intro-in .hero-video-ascend iframe {
  transform: scale(1);
  filter: none;
  transition:
    transform 2s var(--ease-out),
    filter 1.45s var(--ease-out);
}

.hero.has-video.hero-intro-in .hero-content {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s 0.4s var(--ease-out),
    transform 1s 0.4s var(--ease-out);
}

body.reduce-motion .hero.has-video .hero-content,
body.reduce-motion .hero.has-video .hero-video-ascend video,
body.reduce-motion .hero.has-video .hero-video-ascend iframe {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.hero.has-video {
  justify-content: flex-end;
}

.hero.has-video .hero-content {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  padding: 1.25rem 0.5rem 0.5rem;
}

.hero-content {
  max-width: 46rem;
}

.hero .display-xl {
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 5.2vw, 3.8rem);
}

.hero .lead {
  font-size: 1.15rem;
}

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

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

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

/* Service / ministry cards */
.meta-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(211, 172, 103, 0.65);
  margin-bottom: 0.65rem;
}

.glass h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-hi);
}

.glass p { color: var(--text-lo); font-size: 0.95rem; }

.time-block {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  color: var(--plasma-gold);
  letter-spacing: 0.04em;
  margin: 0.75rem 0 0.35rem;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.event-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.event-row-copy {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.event-marker {
  text-align: center;
  padding-top: 0.15rem;
}

.event-month,
.event-year {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-lo);
}

.event-day {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--text-hi);
  margin: 0.2rem 0;
}

.event-copy h3 {
  margin: 0.2rem 0 0.45rem;
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  color: var(--text-hi);
}

.event-when {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--text-lo);
}

.event-place {
  margin: 0 0 0.65rem;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-hi);
}

.event-desc {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text-lo);
  line-height: 1.6;
}

.event-photo {
  margin: 0;
  width: 100%;
}

.event-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 800px) {
  .event-row-copy {
    grid-template-columns: 3.5rem 1fr;
  }
}

.service-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}

.service-card.has-photo .service-card-grid {
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
}

.service-card .event-photo {
  width: 100%;
  max-width: 380px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(8, 4, 14, 0.35);
}

.service-card .event-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 800px) {
  .service-card.has-photo .service-card-grid {
    grid-template-columns: 1fr;
  }
  .service-card .event-photo {
    max-width: 320px;
  }
}

.service-slider-mount,
.services-grid {
  min-width: 0;
}

.service-slider-frame {
  position: relative;
}

.service-slider-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.service-slider-viewport::-webkit-scrollbar {
  display: none;
}

.service-slider-track {
  display: flex;
}

.service-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-width: 0;
}

.service-slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(14, 8, 19, 0.55);
  color: var(--text-hi);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.service-slider-btn.is-prev { left: 0.35rem; }
.service-slider-btn.is-next { right: 0.35rem; }

.service-slider-btn:hover,
.service-slider-btn:focus-visible {
  background: rgba(138, 63, 209, 0.55);
}

.service-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.service-slider-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.service-slider-dot.is-active {
  background: var(--gold, #f2cf8e);
}

@media (max-width: 800px) {
  .service-slider-btn.is-prev { left: 0; }
  .service-slider-btn.is-next { right: 0; }
}

/* Sermon feature */
.sermon-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.sermon-visual {
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  background:
    radial-gradient(circle at 60% 40%, rgba(242, 207, 142, 0.2), transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(138, 63, 209, 0.4), transparent 55%),
    linear-gradient(160deg, var(--plum), var(--ink));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.sermon-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 160 L60 90 L100 130 L140 50 L180 160 Z' fill='none' stroke='%23f2cf8e' stroke-opacity='0.25' stroke-width='1'/%3E%3Cline x1='140' y1='50' x2='140' y2='28' stroke='%23f2cf8e' stroke-opacity='0.5' stroke-width='1.5'/%3E%3Cline x1='132' y1='36' x2='148' y2='36' stroke='%23f2cf8e' stroke-opacity='0.5' stroke-width='1.5'/%3E%3C/svg%3E") center / 60% no-repeat;
}

.sermon-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sermon-player.is-large {
  aspect-ratio: 16 / 10;
}

.sermon-player video,
.sermon-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.sermon-player video {
  object-fit: contain;
}

.sermon-card .sermon-player {
  margin-bottom: 0.85rem;
}

/* Scripture band */
.scripture {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.scripture blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-hi);
  max-width: 28em;
  margin: 0 auto 1.25rem;
}

.scripture cite {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-style: normal;
  color: rgba(211, 172, 103, 0.7);
  text-transform: uppercase;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--plasma-gold);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-lo);
  margin-top: 0.4rem;
}

/* Give */
.give-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.give-card {
  padding: 1.6rem 1.5rem;
}

.give-card h3 {
  margin: 0.2rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
}

.give-card .give-detail {
  margin: 0 0 0.45rem;
  color: var(--text-lo);
  font-size: 0.95rem;
}

.give-card .give-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.9rem;
  background: rgba(5, 3, 8, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.give-card .give-value strong {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--text-hi);
  word-break: break-all;
}

.give-copy {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plasma-gold);
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(242, 207, 142, 0.28);
  border-radius: 2px;
}

.give-copy:hover {
  color: var(--text-hi);
  border-color: rgba(242, 207, 142, 0.55);
}

.give-card .btn {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .give-grid { grid-template-columns: 1fr; }
}

.testimony-list {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.testimony-card p {
  margin: 0;
}

.testimony-body {
  color: var(--text-hi);
  font-size: 1.05rem;
  line-height: 1.65;
}

.testimony-name {
  margin-top: 0.85rem !important;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-lo);
}

.testimony-form-card {
  max-width: 42rem;
}

.testimony-form-card h3 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
}

/* Summit CTA */
.summit {
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) 0;
}

.summit .display {
  margin-bottom: 1rem;
}

.summit .lead {
  margin-inline: auto;
}

.summit .btn-group {
  justify-content: center;
}

/* ---------- Interior page header ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero .display {
  margin-bottom: 0.75rem;
}

/* ---------- Forms ---------- */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(211, 172, 103, 0.65);
  margin-bottom: 0.45rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-hi);
  background: rgba(5, 3, 8, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: transparent;
  box-shadow:
    0 0 0 1px transparent,
    0 0 0 2px rgba(138, 63, 209, 0.35),
    0 0 0 3px rgba(94, 201, 216, 0.25),
    0 0 20px rgba(242, 207, 142, 0.12);
  background-image: linear-gradient(rgba(5, 3, 8, 0.45), rgba(5, 3, 8, 0.45)),
    linear-gradient(120deg, var(--holo-1), var(--holo-2), var(--holo-3));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.faq-item p { color: var(--text-lo); font-size: 0.95rem; }

/* Leadership */
.bio-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(211, 172, 103, 0.65);
  margin-bottom: 0.5rem;
}

.leader-card {
  padding: 1.35rem 1.35rem 1.5rem;
}

.leader-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.leader-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  max-width: 220px;
  border-radius: 6px;
  object-fit: cover;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(242, 207, 142, 0.25);
  background: rgba(20, 10, 30, 0.5);
}

.leader-photo-empty {
  background:
    radial-gradient(circle at 40% 35%, var(--violet-2), var(--plum));
}

.leader-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  padding: 0.45rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(242, 207, 142, 0.35);
  background: rgba(138, 63, 209, 0.16);
  color: var(--plasma-gold);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.leader-toggle:hover,
.leader-toggle:focus-visible {
  background: rgba(138, 63, 209, 0.28);
  border-color: rgba(242, 207, 142, 0.55);
  outline: none;
}

.leader-toggle-hide { display: none; }

.leader-card.is-open .leader-toggle-show { display: none; }
.leader-card.is-open .leader-toggle-hide { display: inline; }

.leader-info[hidden] {
  display: none !important;
}

.leader-info {
  animation: leader-info-in 0.35s ease;
}

.leader-bio {
  color: var(--text-lo);
  margin: 0;
  line-height: 1.55;
}

@keyframes leader-info-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 1rem;
  background:
    radial-gradient(circle at 40% 35%, var(--violet-2), var(--plum));
  border: 1px solid rgba(242, 207, 142, 0.25);
}

/* Event date badge */
.event-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--plasma-gold);
  margin-bottom: 0.5rem;
}

/* ---------- Home contact band ---------- */
.contact-band {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(138, 63, 209, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(14, 8, 19, 0.2), rgba(5, 3, 8, 0.7));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-col h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-hi);
  margin: 0 0 1.15rem;
}

.contact-detail {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.85rem;
  align-items: start;
  margin-bottom: 1.25rem;
  color: var(--text-lo);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-detail svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  color: var(--text-hi);
}

.contact-detail a {
  color: inherit;
  text-decoration: none;
}

.contact-detail a:hover {
  color: var(--plasma-gold);
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  min-height: 2.5rem;
}

.contact-social {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: var(--plasma-gold);
  background: rgba(138, 63, 209, 0.18);
  border: 1px solid rgba(242, 207, 142, 0.28);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.contact-social svg {
  width: 1.1rem;
  height: 1.1rem;
}

.contact-social:hover {
  color: var(--ink);
  background: var(--plasma-gold);
  border-color: var(--plasma-gold);
}

.contact-newsletter-lead {
  color: var(--text-hi);
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.contact-newsletter label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plasma-gold);
  margin-bottom: 0.4rem;
}

.contact-newsletter-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.contact-newsletter input,
.contact-write input,
.contact-write textarea {
  background: rgba(246, 240, 250, 0.96);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-newsletter input::placeholder,
.contact-write input::placeholder,
.contact-write textarea::placeholder {
  color: rgba(14, 8, 19, 0.45);
}

.contact-newsletter input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border-radius: 4px;
  outline: none;
}

.contact-write textarea {
  min-height: 110px;
}

.contact-submit {
  width: 100%;
  justify-content: center;
}

.contact-form-done {
  color: var(--plasma-gold);
  font-size: 0.9rem;
  margin-top: 0.65rem;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, transparent, rgba(5, 3, 8, 0.85));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-lo);
  font-size: 0.9rem;
  margin-top: 0.85rem;
  max-width: 22em;
}

.footer-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(211, 172, 103, 0.65);
  margin-bottom: 1rem;
}

.footer-col a,
.footer-col li {
  display: block;
  color: var(--text-lo);
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  transition: color 0.2s;
}

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

.footer-verse {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-lo);
  margin-bottom: 0.35rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(185, 164, 207, 0.5);
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(185, 164, 207, 0.65);
  transition: color 0.2s;
}

.motion-toggle:hover { color: var(--plasma-gold); }

.motion-toggle[aria-pressed="true"] { color: var(--plasma-gold); }

/* ---------- Chromatic flash ---------- */
.chroma-flash {
  position: fixed;
  inset: 0;
  z-index: 8500;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background:
    linear-gradient(90deg,
      rgba(255, 0, 60, 0.04),
      transparent 40%,
      transparent 60%,
      rgba(0, 180, 255, 0.04));
}

/* ---------- Reveal helpers ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

body.reduce-motion .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .founder-cover-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .founder-cover-photo {
    max-height: min(70vh, 560px);
  }
  .sermon-feature { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    background: rgba(14, 8, 19, 0.96);
    backdrop-filter: blur(24px);
    transform: translateX(105%);
    transition: transform 0.4s var(--ease-out);
    gap: 0.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    overflow: auto;
    z-index: 1100;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links > a:not(.btn),
  .nav-item.has-dropdown > a {
    font-size: 13px;
    padding: 0.75rem 0;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }

  .nav-item.has-dropdown {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: none;
    border: 0;
    padding: 0 0 0.4rem 0.75rem;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  body { cursor: auto; }

  .contact-newsletter-row { flex-direction: column; }

  .logo-word { display: none; }

  .grid-4,
  .grid-2 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }

  .hero { padding-bottom: 4rem; min-height: 92vh; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

/* ============================================================
   Scripture Companion (Bible chat)
   ============================================================ */
#bible-chat {
  --bc-w: min(400px, calc(100vw - 1.5rem));
  --bc-h: min(560px, calc(100vh - 6rem));
  position: relative;
  z-index: 9500;
  font-family: var(--font-body);
}

.bc-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9501;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--plasma-gold), var(--gold));
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 10px 40px rgba(138, 63, 209, 0.35), 0 0 20px rgba(242, 207, 142, 0.2);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  cursor: none;
}

body.is-touch .bc-fab,
body.reduce-motion .bc-fab { cursor: pointer; }

.bc-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(138, 63, 209, 0.45), 0 0 28px rgba(242, 207, 142, 0.28);
}

.bc-fab svg { flex-shrink: 0; }

.bc-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 4.75rem;
  width: var(--bc-w);
  height: var(--bc-h);
  z-index: 9502;
  display: flex;
  flex-direction: column;
  background: rgba(14, 8, 19, 0.88);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid transparent;
  background-image:
    linear-gradient(rgba(14, 8, 19, 0.92), rgba(14, 8, 19, 0.92)),
    linear-gradient(125deg, rgba(138, 63, 209, 0.55), rgba(94, 201, 216, 0.3), rgba(242, 207, 142, 0.45));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(5, 3, 8, 0.65);
  overflow: hidden;
}

.bc-panel[hidden] { display: none !important; }

.bc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bc-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(211, 172, 103, 0.7);
  margin-bottom: 0.25rem;
}

.bc-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-hi);
}

.bc-close {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  color: var(--text-lo);
  font-size: 1.4rem;
  line-height: 1;
  transition: color 0.2s, background 0.2s;
  cursor: none;
}

body.is-touch .bc-close,
body.reduce-motion .bc-close { cursor: pointer; }

.bc-close:hover { color: var(--plasma-gold); background: rgba(255, 255, 255, 0.05); }

.bc-toolbar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bc-ver-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(211, 172, 103, 0.65);
  flex-shrink: 0;
}

.bc-version {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-hi);
  background: rgba(5, 3, 8, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  padding: 0.45rem 0.55rem;
  outline: none;
  cursor: pointer;
}

.bc-version:focus {
  border-color: rgba(138, 63, 209, 0.55);
  box-shadow: 0 0 0 1px rgba(94, 201, 216, 0.25);
}

.bc-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-behavior: smooth;
}

.bc-msg {
  max-width: 95%;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-lo);
}

.bc-msg p { margin-bottom: 0.45rem; }
.bc-msg p:last-child { margin-bottom: 0; }
.bc-msg strong { color: var(--text-hi); font-weight: 500; }

.bc-msg-user {
  align-self: flex-end;
  background: rgba(138, 63, 209, 0.22);
  border: 1px solid rgba(168, 98, 224, 0.35);
  color: var(--text-hi);
  padding: 0.7rem 0.9rem;
  border-radius: 10px 10px 2px 10px;
}

.bc-msg-bot {
  align-self: flex-start;
  padding: 0.15rem 0;
}

.bc-hint {
  font-size: 0.8rem !important;
  color: rgba(185, 164, 207, 0.65) !important;
  margin-top: 0.55rem !important;
}

.bc-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.bc-list li { margin-bottom: 0.35rem; color: var(--text-lo); }

.bc-verse {
  margin: 0.55rem 0;
  padding: 0.85rem 0.95rem;
  background: rgba(5, 3, 8, 0.45);
  border-left: 2px solid var(--plasma-gold);
  border-radius: 0 6px 6px 0;
}

.bc-verse p {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--text-hi);
  line-height: 1.5;
  margin-bottom: 0.45rem !important;
}

.bc-verse cite {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(211, 172, 103, 0.75);
}

.bc-typing {
  display: inline-flex;
  gap: 4px;
  padding: 0.4rem 0;
}

.bc-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.4;
  animation: bc-bounce 1s infinite ease-in-out;
}

.bc-typing i:nth-child(2) { animation-delay: 0.15s; }
.bc-typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes bc-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-4px); opacity: 1; }
}

body.reduce-motion .bc-typing i { animation: none; opacity: 0.6; }

.bc-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1.1rem 0.65rem;
}

.bc-suggestions[hidden] { display: none !important; }

.bc-suggestions button {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lo);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 3, 8, 0.35);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  cursor: none;
}

body.is-touch .bc-suggestions button,
body.reduce-motion .bc-suggestions button { cursor: pointer; }

.bc-suggestions button:hover {
  color: var(--plasma-gold);
  border-color: rgba(242, 207, 142, 0.35);
}

.bc-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bc-form input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-hi);
  background: rgba(5, 3, 8, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.7rem 0.85rem;
  outline: none;
}

.bc-form input:focus {
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(138, 63, 209, 0.45), 0 0 0 2px rgba(94, 201, 216, 0.2);
}

.bc-send {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--plasma-gold), var(--gold));
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.2s;
  cursor: none;
}

body.is-touch .bc-send,
body.reduce-motion .bc-send { cursor: pointer; }

.bc-send:hover { transform: translateY(-1px); }

/* Lectio climb */
.lectio-card {
  margin-top: 0.25rem;
  padding: 0.85rem 0.95rem;
  border-radius: 8px;
  background: rgba(5, 3, 8, 0.5);
  border: 1px solid rgba(242, 207, 142, 0.18);
}

.lectio-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(211, 172, 103, 0.7);
  margin-bottom: 0.55rem;
}

.lectio-badge { color: var(--plasma-gold); }

.lectio-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.lectio-progress i {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--violet), var(--plasma-gold));
  transition: width 0.45s var(--ease-out);
}

.lectio-phase {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-hi);
  margin-bottom: 0.55rem !important;
}

.lectio-silence {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--plasma-gold);
  letter-spacing: 0.04em;
}

.lectio-q,
.lectio-prayer {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-hi);
  line-height: 1.45;
}

.lectio-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.lectio-btn {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--plasma-gold), var(--gold));
  color: var(--ink);
  cursor: none;
}

.lectio-btn-ghost {
  background: transparent;
  color: var(--text-lo);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body.is-touch .lectio-btn,
body.reduce-motion .lectio-btn { cursor: pointer; }

.lectio-btn-ghost:hover { color: var(--plasma-gold); }

.lectio-done .lectio-progress i {
  width: 100% !important;
}

@media (max-width: 480px) {
  .bc-fab { right: 0.85rem; bottom: 0.85rem; }
  .bc-fab-label { display: none; }
  .bc-panel {
    right: 0.5rem;
    left: 0.5rem;
    bottom: 4.25rem;
    width: auto;
    height: min(70vh, 520px);
  }
}

/* ============================================================
   Admin panel
   ============================================================ */
.admin-body {
  cursor: auto !important;
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(138, 63, 209, 0.2), transparent 55%),
    var(--void);
}

.admin-body .cursor,
.admin-body .cursor-halo { display: none !important; }

.admin-gate {
  /* visibility controlled by .is-hidden in admin.html critical CSS */
}

.admin-gate-card { width: min(420px, 100%); }

.admin-error {
  color: #f0a0a0;
  font-size: 0.9rem;
}

.admin-shell {
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-nav {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.25rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 8, 19, 0.85);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}

.admin-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.35rem 0.4rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-brand img {
  width: auto;
  height: 44px;
  border-radius: 0;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.admin-brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text-hi);
}

.admin-brand span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(211, 172, 103, 0.7);
  text-transform: uppercase;
}

.admin-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.admin-tab {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-lo);
  padding: 0.65rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.admin-tab:hover,
.admin-tab.active {
  color: var(--plasma-gold);
  background: rgba(138, 63, 209, 0.18);
}

.admin-nav-foot {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-nav-foot a,
.admin-nav-foot button {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-lo);
  text-align: left;
  cursor: pointer;
}

.admin-nav-foot a:hover,
.admin-nav-foot button:hover { color: var(--plasma-gold); }

.admin-main {
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 3rem;
}

.admin-top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.25rem;
  padding: 0.85rem 0 1rem;
  background: linear-gradient(180deg, rgba(10, 5, 14, 0.96), rgba(10, 5, 14, 0.88) 70%, transparent);
  backdrop-filter: blur(10px);
}

.admin-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-import-label { cursor: pointer; }

.admin-toast {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  background: rgba(138, 63, 209, 0.25);
  border: 1px solid rgba(242, 207, 142, 0.35);
  color: var(--plasma-gold);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.admin-toast.is-error {
  background: rgba(120, 20, 40, 0.35);
  border-color: rgba(240, 160, 160, 0.4);
  color: #f0a0a0;
}

.admin-card,
.admin-panel-block,
.admin-extra {
  margin-bottom: 1.25rem;
}

.admin-note {
  grid-column: 1 / -1;
  margin: 0 0 0.25rem;
}

/* Collapsed groups keep rarely-edited labels out of the way */
.admin-extra {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(20, 10, 30, 0.4);
}

.admin-form-grid > .admin-extra,
.admin-item-grid > .admin-extra {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.admin-extra > summary {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lo);
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.admin-extra > summary:hover { color: var(--plasma-gold); }

.admin-extra[open] > summary {
  color: var(--plasma-gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-extra > *:not(summary) {
  padding: 1rem;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.admin-panel-head.is-sticky {
  position: sticky;
  top: 4.75rem;
  z-index: 30;
  padding: 0.65rem 0;
  background: rgba(10, 5, 14, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-list-foot {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
  padding-bottom: 2.5rem;
}

.admin-multi-upload {
  margin-bottom: 1.25rem;
}

.admin-multi-upload h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.admin-multi-upload .admin-upload-btn {
  margin-top: 0.75rem;
  display: inline-flex;
}

.admin-panel-head h2,
.admin-form-grid h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-item { padding: 1.1rem 1.2rem; }

.admin-item:hover { transform: none; }

.admin-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.admin-item-top strong {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(211, 172, 103, 0.75);
}

.admin-remove {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0a0a0;
  cursor: pointer;
}

.admin-item-grid,
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.admin-item-grid .field:has(textarea),
.admin-form-grid .field:has(textarea) {
  grid-column: 1 / -1;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-lo);
  grid-column: 1 / -1;
  cursor: pointer;
}

.admin-empty { opacity: 0.7; }

.admin-body .btn,
.admin-body button,
.admin-body input,
.admin-body textarea,
.admin-body select {
  cursor: pointer;
}

.admin-body input,
.admin-body textarea,
.admin-body select {
  cursor: text;
}

.admin-body .btn { cursor: pointer; }

.sermon-visual.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section & card images */
.section-media {
  margin: 0 0 1.25rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-media img,
.card-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: rgba(8, 4, 14, 0.35);
}

.card-media {
  margin: -0.25rem -0.25rem 1rem;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

.glass.has-media { overflow: hidden; }

.avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1px solid rgba(242, 207, 142, 0.25);
}

.faq-media {
  margin-bottom: 0.85rem;
  max-width: 280px;
}

.faq-media img { max-height: 200px; }

.stat-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  display: block;
}

/* Gallery page */
.gallery-section {
  padding-left: 0;
  padding-right: 0;
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gallery-item {
  padding: 0;
}

.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.gallery-meta {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

/* Motto & action pillars */
.motto-section .motto-panel {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.25rem) 1.5rem;
  border-top: 1px solid rgba(242, 207, 142, 0.28);
  border-bottom: 1px solid rgba(242, 207, 142, 0.28);
  background:
    linear-gradient(180deg, rgba(138, 63, 209, 0.08), transparent 55%),
    rgba(12, 6, 18, 0.35);
}

.motto-line {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-hi);
  margin: 0.35rem 0 0;
}

/* Vision & mission — plain statements, not clickable cards */
.vm-stack {
  display: grid;
  gap: clamp(2rem, 5vw, 3.25rem);
  max-width: 44rem;
}

.vm-block {
  border-top: 1px solid rgba(242, 207, 142, 0.28);
  padding-top: 1.25rem;
}

.vm-statement {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-hi);
  margin: 0.4rem 0 0;
}

.pillars-head {
  border-bottom: 1px solid rgba(242, 207, 142, 0.35);
  padding-bottom: 1.15rem;
  margin-bottom: 1.5rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
}

.pillar-card {
  padding: 1.35rem 1.35rem 1.5rem;
  border-top: 2px solid rgba(242, 207, 142, 0.55);
}

.pillar-num {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--gold, #f2cf8e);
  margin: 0 0 0.55rem;
}

.pillar-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
}

.pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.pillar-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-mid, #c9bdd4);
  font-size: 0.95rem;
  line-height: 1.4;
}

.pillar-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand, #8a3fd1);
}

/* Conference spotlight + meeting agenda */
.conference-section {
  perspective: 1200px;
}

.conference-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-top: 2px solid rgba(242, 207, 142, 0.5);
  background:
    linear-gradient(135deg, rgba(138, 63, 209, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(12, 6, 18, 0.55);
  overflow: hidden;
}

.conference-hero:not(:has(.conference-hero-visual:not([hidden]))) {
  grid-template-columns: 1fr;
}

.conference-theme {
  display: inline-block;
  margin: 0.85rem 0 1.15rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(8, 4, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-hi);
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  line-height: 1.45;
  max-width: 42rem;
}

.conference-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1rem;
  align-items: baseline;
}

.conference-meta .time-block {
  margin: 0;
}

.conference-hero-visual {
  min-height: 220px;
}

.conference-hero-visual .section-media,
.conference-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(0.35) contrast(1.05);
}

.agenda-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.agenda-step {
  padding: 1.25rem 1.25rem 1.4rem;
  border-top: 2px solid rgba(138, 63, 209, 0.55);
  background:
    linear-gradient(180deg, rgba(138, 63, 209, 0.12), transparent 55%),
    rgba(14, 8, 19, 0.55);
  border-radius: 0 0 6px 6px;
  transform-origin: center top;
}

.agenda-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--plasma-gold);
  margin: 0 0 0.55rem;
}

.agenda-step h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.agenda-step p {
  margin: 0;
  color: var(--text-lo);
  line-height: 1.5;
  font-size: 0.95rem;
}

.agenda-step p {
  margin: 0;
  color: var(--text-lo);
  line-height: 1.5;
  font-size: 0.95rem;
}

.verses-rail {
  display: grid;
  gap: 1.15rem;
}

.verse-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  border-top: 2px solid rgba(242, 207, 142, 0.5);
  background:
    linear-gradient(120deg, rgba(138, 63, 209, 0.12), transparent 50%),
    rgba(12, 6, 18, 0.5);
}

.verse-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text-hi);
  margin: 0.55rem 0 0.85rem;
}

.verse-note {
  margin: 0;
  color: var(--text-lo);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 800px) {
  .conference-hero {
    grid-template-columns: 1fr;
  }
}

/* Resources — horizontal scroll gallery */
.resources-scroll {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.resources-scroll-pin {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.resources-scroll-track {
  display: flex;
  align-items: stretch;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: 0 clamp(1.25rem, 6vw, 5rem);
  width: max-content;
  will-change: transform;
}

.resources-scroll.is-static .resources-scroll-track {
  width: auto;
  max-width: 100%;
  flex-wrap: wrap;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 3rem;
  transform: none !important;
}

.resources-scroll.is-static .resources-scroll-pin {
  height: auto;
  min-height: 0;
}

.resource-panel {
  flex: 0 0 min(78vw, 620px);
  max-width: 620px;
}

.resources-scroll.is-static .resource-panel {
  flex: 1 1 280px;
}

.resource-panel-inner {
  height: 100%;
  min-height: min(70vh, 520px);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  align-items: center;
  border-top: 2px solid rgba(242, 207, 142, 0.45);
  background:
    linear-gradient(145deg, rgba(138, 63, 209, 0.14), transparent 50%),
    rgba(14, 8, 19, 0.72);
}

.resource-cover {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.resource-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resource-cover-fallback {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(138, 63, 209, 0.45), transparent 55%),
    linear-gradient(160deg, #1a0f24, #0a0610);
}

.resource-cover-fallback span {
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
  color: var(--plasma-gold);
  font-size: 0.85rem;
}

.resource-copy h2 {
  margin: 0.35rem 0 0.75rem;
}

.resource-copy .body-text {
  margin-bottom: 1.15rem;
}

.resources-empty {
  padding: 2rem;
  max-width: 36rem;
}

.resources-progress {
  position: absolute;
  left: clamp(1.25rem, 6vw, 5rem);
  right: clamp(1.25rem, 6vw, 5rem);
  bottom: 1.5rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.resources-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8a3fd1, #f2cf8e);
  transition: width 0.05s linear;
}

@media (max-width: 720px) {
  .resource-panel-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .resource-cover {
    max-height: 220px;
    max-width: 180px;
  }

  .resource-panel {
    flex-basis: min(88vw, 420px);
  }
}

/* Bookstore */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.book-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.15rem;
  padding: 1.15rem;
  align-items: start;
}

.book-cover {
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(138, 63, 209, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.book-cover-placeholder {
  display: grid;
  place-items: center;
  color: var(--text-mid, #b9a4cf);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-body h3 {
  margin: 0.15rem 0 0.5rem;
  font-size: 1.15rem;
}

.book-price {
  font-family: var(--font-mono, ui-monospace, monospace);
  color: var(--gold, #f2cf8e);
  font-size: 0.95rem;
  margin: 0 0 0.65rem;
}

.book-body p {
  color: var(--text-mid, #c9bdd4);
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
}

.book-actions {
  margin-top: 0.85rem;
}

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

  .book-cover {
    max-width: 160px;
  }
}

.weekly-expand-hint {
  margin: -0.5rem 0 1rem;
  color: var(--text-lo);
}

.weekly-flyer-mount {
  max-width: 920px;
}

.weekly-flyer-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
  border-radius: 12px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.weekly-flyer-trigger:hover,
.weekly-flyer-trigger:focus-visible {
  transform: scale(1.015);
  box-shadow: 0 0 0 1px rgba(242, 207, 142, 0.35), 0 24px 60px rgba(0, 0, 0, 0.45);
  outline: none;
}

.weekly-flyer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: 10px;
  background:
    repeating-linear-gradient(
      90deg,
      #f3d6e4 0,
      #f3d6e4 18%,
      #efc9db 18%,
      #efc9db 36%
    );
  border: 1px solid rgba(80, 30, 70, 0.25);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 18px 40px rgba(0, 0, 0, 0.35);
  color: #3a1840;
}

.weekly-flyer-brand {
  padding: 0.5rem 0.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.weekly-flyer-crest img {
  width: auto;
  height: 72px;
  object-fit: contain;
}

.weekly-flyer-org {
  margin: 0.55rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b2d7a;
}

.weekly-flyer-motto {
  margin: 0.2rem 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(58, 24, 64, 0.7);
}

.weekly-flyer-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  color: #5a1f6d;
  font-style: italic;
}

.weekly-flyer-sub {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a1f6d;
}

.weekly-flyer-cue {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(58, 24, 64, 0.55);
}

.weekly-flyer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.weekly-tile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  border-radius: 4px;
  min-height: 118px;
}

.weekly-tile.has-photo {
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
}

.weekly-tile-photo {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.weekly-tile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weekly-tile.is-dark {
  background: #1a0f22;
  color: #f7f0fa;
}

.weekly-tile.is-light {
  background: rgba(255, 255, 255, 0.92);
  color: #3a1840;
}

.weekly-tile h3 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.weekly-tile-day,
.weekly-tile-time,
.weekly-tile-place {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
}

.weekly-tile-day { font-weight: 600; }
.weekly-tile-place {
  margin-top: 0.35rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
}

.weekly-lightbox {
  position: fixed;
  inset: 0;
  z-index: 13000;
  background: rgba(5, 3, 8, 0.88);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.weekly-lightbox.is-open { opacity: 1; }

.weekly-lightbox[hidden] { display: none !important; }

.weekly-lightbox-stage {
  width: min(1100px, 96vw);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.weekly-lightbox.is-open .weekly-lightbox-stage {
  transform: scale(1);
}

.weekly-lightbox .weekly-flyer {
  width: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  gap: 1.25rem;
}

.weekly-lightbox .weekly-flyer-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.weekly-lightbox .weekly-tile {
  min-height: 140px;
  padding: 1.1rem 1.15rem;
}

.weekly-lightbox .weekly-tile h3 {
  font-size: 0.9rem;
}

.weekly-lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 10, 30, 0.9);
  color: var(--text-hi);
  font-size: 1.6rem;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  z-index: 13001;
}

body.weekly-open { overflow: hidden; }

@media (max-width: 760px) {
  .weekly-flyer {
    grid-template-columns: 1fr;
  }

  .weekly-flyer-grid {
    grid-template-columns: 1fr;
  }

  .weekly-tile.has-photo {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .weekly-flyer-brand {
    text-align: center;
    align-items: center;
  }
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(5, 3, 8, 0.92);
  display: grid;
  place-items: center;
  padding: 2rem;
}

.gallery-lightbox[hidden] { display: none !important; }

.gallery-lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 10, 30, 0.85);
  color: var(--text-hi);
  font-size: 1.5rem;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

body.gallery-open { overflow: hidden; }

/* Admin image upload */
.admin-image-field { grid-column: 1 / -1; }

.admin-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.admin-image-preview {
  display: block;
  max-width: 220px;
  max-height: 140px;
  object-fit: cover;
  border-radius: 4px;
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-image-preview.is-empty { display: none; }

.admin-file-field { grid-column: 1 / -1; }

.admin-video-preview {
  display: block;
  width: min(100%, 420px);
  max-height: 240px;
  margin-top: 0.75rem;
  border-radius: 8px;
  background: #0a0610;
}

.admin-video-preview[hidden] { display: none !important; }

.admin-upload-btn { cursor: pointer; }

@media (max-width: 960px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .admin-nav nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .admin-item-grid,
  .admin-form-grid { grid-template-columns: 1fr; }
}
