/* ============================================================
   HOLY GHOST IMPACT MINISTRIES — Premium Design System
   Black & Gold · Cinematic · Glassmorphism · Motion-first
   ============================================================ */

:root {
  --black: #050404;
  --black-2: #0b0907;
  --black-3: #120e0a;
  --gold: #e8b941;
  --gold-2: #d4af37;
  --gold-deep: #8a6e1c;
  --gold-soft: rgba(232, 185, 65, 0.12);
  --cream: #f5ecd9;
  --ink: #cfc6b4;
  --ink-dim: #8d8472;
  --glass: rgba(255, 246, 224, 0.04);
  --glass-edge: rgba(232, 185, 65, 0.18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Cinzel", serif;
  --sans: "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-luxe: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 84px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--black); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1200px, 92vw); margin-inline: auto; }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold); }
.cursor-ring {
  width: 36px; height: 36px; border: 1px solid rgba(232, 185, 65, 0.5);
  transition: width .35s var(--ease-out), height .35s var(--ease-out),
              border-color .35s, background .35s;
}
.cursor-ring.is-hover {
  width: 64px; height: 64px;
  background: rgba(232, 185, 65, 0.07);
  border-color: var(--gold);
}
@media (hover: none), (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: radial-gradient(ellipse at 50% 60%, #14100a 0%, var(--black) 70%);
  display: grid; place-items: center;
  transition: opacity .9s var(--ease-luxe), visibility .9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  width: min(320px, 70vw); margin-inline: auto;
  filter: drop-shadow(0 0 40px rgba(232, 185, 65, 0.35));
  animation: loaderPulse 2.2s var(--ease-luxe) infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 28px rgba(232,185,65,.25)); }
  50% { transform: scale(1.03); filter: drop-shadow(0 0 56px rgba(232,185,65,.5)); }
}
.loader-bar {
  width: 180px; height: 1px; margin: 36px auto 18px;
  background: rgba(232, 185, 65, 0.15); overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loadSlide 1.2s var(--ease-luxe) infinite;
}
@keyframes loadSlide { from { transform: translateX(-120%); } to { transform: translateX(420%); } }
.loader-verse {
  font-family: var(--serif); font-style: italic; font-size: 15px;
  color: var(--ink-dim); letter-spacing: .04em;
}

/* ---------- Background canvas / progress ---------- */
#bgCanvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  z-index: 1001; box-shadow: 0 0 12px rgba(232,185,65,.6);
}

/* ---------- Typography helpers ---------- */
.gold-text {
  background: linear-gradient(105deg, #f6dc8d 0%, var(--gold) 38%, #9a7a22 52%, #f0cd6a 68%, #fff3c4 82%, var(--gold) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: goldShimmer 5.5s linear infinite;
}
@keyframes goldShimmer { to { background-position: 220% center; } }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.section-eyebrow::before {
  content: ""; width: 38px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 5vw, 58px); line-height: 1.12;
  margin-top: 18px; letter-spacing: .01em;
}
.section-title em { font-style: italic; }
.section-sub { color: var(--ink-dim); max-width: 560px; margin-top: 18px; }
.section-head { margin-bottom: clamp(40px, 7vh, 72px); }

section { position: relative; z-index: 1; padding: clamp(80px, 13vh, 140px) 0; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 34px; font: 500 14px/1 var(--sans); letter-spacing: .08em;
  text-transform: uppercase; border-radius: 100px; overflow: hidden;
  border: 0; cursor: pointer;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out),
              color .45s, background .45s;
  will-change: transform;
}
.btn svg { transition: transform .45s var(--ease-out); }
.btn:hover svg { transform: translateX(5px); }
.btn-primary {
  background: linear-gradient(135deg, #f3d27a, var(--gold) 45%, #b8902a);
  color: #1a1304;
  box-shadow: 0 8px 32px rgba(232, 185, 65, 0.28), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-110%); transition: transform .8s var(--ease-luxe);
}
.btn-primary:hover { box-shadow: 0 14px 48px rgba(232, 185, 65, 0.45), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-primary:hover::after { transform: translateX(110%); }
.btn-ghost {
  border: 1px solid rgba(232, 185, 65, 0.35); color: var(--cream);
  background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-ghost:hover { border-color: var(--gold); background: var(--gold-soft); }
.btn-block { width: 100%; justify-content: center; }
.play-ico {
  display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--gold); color: var(--black);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
  padding-inline: clamp(20px, 4vw, 56px);
  transition: background .5s, backdrop-filter .5s, height .5s var(--ease-out),
              border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  height: 68px;
  background: rgba(8, 6, 4, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: rgba(232, 185, 65, 0.12);
}
.nav-logo { display: inline-flex; align-items: center; gap: 14px; }
.nav-logo-img { height: 44px; width: auto; filter: drop-shadow(0 0 12px rgba(232,185,65,.3)); }
.nav-logo-text {
  font-family: var(--display); font-size: 16px; letter-spacing: .08em;
  color: var(--gold); line-height: 1.1; display: flex; flex-direction: column;
}
.nav-logo-text small {
  font-family: var(--sans); font-size: 9px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--ink-dim); font-weight: 400;
}
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 10px 14px; font-size: 13.5px; letter-spacing: .04em;
  color: var(--ink); transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; font: 500 12.5px/1 var(--sans); letter-spacing: .1em;
  text-transform: uppercase; border-radius: 100px;
  border: 1px solid rgba(232, 185, 65, .4); color: var(--gold);
  transition: background .4s, color .4s, box-shadow .4s;
}
.nav-cta:hover { background: var(--gold); color: var(--black); box-shadow: 0 8px 28px rgba(232,185,65,.35); }
.nav-burger { display: none; }

/* ---------- Hero: auto-rotating 3D photo orbit ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  padding: 0;
}
.hero-pin {
  position: relative; height: 100vh; height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img {
  position: absolute; inset: -6%;
  background:
    radial-gradient(ellipse 70% 55% at 72% 38%, rgba(232,185,65,.16), transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(94, 60, 17, .35), transparent 65%),
    linear-gradient(180deg, #0a0805 0%, #0d0a06 45%, var(--black) 100%);
}
.hero-bg-img::before {
  content: ""; position: absolute; inset: -10%;
  /* Self-contained "divine god-rays" — no external image */
  background:
    conic-gradient(from 210deg at 72% 18%,
      transparent 0deg, rgba(246,220,141,.10) 8deg, transparent 16deg,
      rgba(246,220,141,.07) 24deg, transparent 34deg,
      rgba(246,220,141,.12) 44deg, transparent 54deg,
      rgba(246,220,141,.06) 66deg, transparent 78deg),
    radial-gradient(ellipse 60% 50% at 72% 20%, rgba(232,185,65,.20), transparent 60%);
  opacity: .7;
  mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
  animation: heroDrift 26s var(--ease-luxe) infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.07) translateY(-1.4%); }
}
.hero-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 34% at 18% 70%, rgba(212, 175, 55, .07), transparent),
    radial-gradient(36% 30% at 85% 78%, rgba(140, 90, 20, .1), transparent);
  animation: meshFloat 14s ease-in-out infinite alternate;
}
@keyframes meshFloat { to { transform: translate3d(0, -2.5%, 0) scale(1.04); } }
.hero-rays { position: absolute; inset: 0; overflow: hidden; opacity: .55; }
.hero-rays span {
  position: absolute; top: -25%; width: 130px; height: 150%;
  background: linear-gradient(180deg, rgba(246, 220, 141, .14), transparent 75%);
  filter: blur(14px); transform-origin: top center;
  animation: rayBreathe 9s ease-in-out infinite alternate;
}
.hero-rays span:nth-child(1) { left: 56%; transform: rotate(16deg); animation-delay: 0s; }
.hero-rays span:nth-child(2) { left: 66%; width: 70px; transform: rotate(21deg); animation-delay: -2s; }
.hero-rays span:nth-child(3) { left: 76%; width: 170px; transform: rotate(26deg); animation-delay: -4s; }
.hero-rays span:nth-child(4) { left: 40%; width: 60px; transform: rotate(11deg); animation-delay: -6s; }
.hero-rays span:nth-child(5) { left: 88%; width: 90px; transform: rotate(30deg); animation-delay: -3s; }
@keyframes rayBreathe {
  from { opacity: .35; } to { opacity: 1; }
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(3,2,1,.75) 100%);
}

/* Central 3D orbit scene */
.orbit-scene {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center;
  perspective: 1600px; pointer-events: none;
}
.orbit-emblem {
  position: absolute; z-index: 2;
  width: clamp(220px, 30vw, 420px);
  filter: drop-shadow(0 0 60px rgba(232,185,65,.4));
  will-change: transform, opacity;
}
.orbit-emblem img { width: 100%; }
.orbit-halo {
  position: absolute; inset: -46%;
  background: radial-gradient(circle, rgba(232,185,65,.2), transparent 62%);
  filter: blur(24px); z-index: -1;
  animation: haloBreathe 5s ease-in-out infinite alternate;
}
@keyframes haloBreathe { from { opacity: .6; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }
.orbit-ring {
  position: absolute; width: 0; height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.orbit-card {
  position: absolute; width: clamp(140px, 16vw, 240px); aspect-ratio: 3/4;
  margin: calc(clamp(140px, 16vw, 240px) / -2) 0 0 calc(clamp(140px, 16vw, 240px) / -2);
  top: 0; left: 0;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(232,185,65,.28);
  box-shadow: 0 40px 90px rgba(0,0,0,.7), 0 0 50px rgba(232,185,65,.08);
  backface-visibility: hidden;
}
.orbit-card img { width: 100%; height: 100%; object-fit: cover; }
.orbit-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(255,236,180,.12), transparent 40%, rgba(0,0,0,.35));
}

.hero-content {
  position: absolute; bottom: 8vh; left: 50%; transform: translateX(-50%);
  z-index: 3; text-align: center; width: max-content; max-width: 92vw;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 20px; border-radius: 100px; font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink);
  background: var(--glass); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hero-tag .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 12px var(--gold); animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse { 50% { opacity: .35; } }

/* Massive display type — letters track in one-by-one, scrubbed by scroll */
.hero-display {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(52px, 11.5vw, 168px); line-height: .98;
  letter-spacing: .04em; margin: 26px 0 10px;
  text-transform: uppercase;
}
.display-line { display: block; white-space: nowrap; }
.display-line .ch {
  display: inline-block; will-change: transform, opacity, filter;
  opacity: 0; transform: translateY(.55em) rotateX(60deg) scale(.9);
  filter: blur(8px);
}
.display-line .ch.sp { width: .35em; }
.display-gold .ch {
  background: linear-gradient(180deg, #fff3c4, var(--gold) 55%, #9a7a22);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 80px rgba(232,185,65,.35);
}
.hero-kicker {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 2.4vw, 28px); color: var(--ink);
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.hero-kicker.is-in { opacity: 1; transform: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 40px; justify-content: center; }

@keyframes floatBob {
  from { translate: 0 -8px; } to { translate: 0 10px; }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  padding: clamp(50px, 9vh, 90px) 0;
  border-block: 1px solid rgba(232,185,65,.1);
  background: linear-gradient(180deg, rgba(232,185,65,.045), transparent);
}
.stats-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1 1 140px; }
.stat strong {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 6vw, 76px); color: var(--gold); line-height: 1;
}
.stat span {
  margin-top: 10px; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-dim);
}

.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-dim);
  z-index: 2;
}
.mouse {
  width: 24px; height: 38px; border: 1.5px solid rgba(232,185,65,.5);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 7px;
}
.mouse span {
  width: 3px; height: 7px; border-radius: 2px; background: var(--gold);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 50% { transform: translateY(9px); opacity: .2; } }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
.about-text .lead { font-size: 20px; font-family: var(--serif); font-weight: 500; line-height: 1.55; }
.about-text p + p { margin-top: 18px; color: var(--ink); }
.about-pillars { margin-top: 44px; display: grid; gap: 22px; }
.about-pillars li {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 22px 26px; border-radius: 16px;
  background: var(--glass); border: 1px solid rgba(232,185,65,.1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .5s, transform .5s var(--ease-out), box-shadow .5s;
}
.about-pillars li:hover {
  border-color: rgba(232,185,65,.4); transform: translateX(8px);
  box-shadow: 0 18px 48px rgba(0,0,0,.4);
}
.about-pillars li > span {
  font-family: var(--display); font-size: 14px; color: var(--gold);
  padding-top: 3px;
}
.about-pillars h4 { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.about-pillars p { font-size: 14.5px; color: var(--ink-dim); }

.about-visual { position: relative; min-height: 480px; }
.photo-frame {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(232,185,65,.22);
  box-shadow: 0 40px 90px rgba(0,0,0,.6);
  transform-style: preserve-3d; will-change: transform;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame figcaption {
  position: absolute; left: 20px; bottom: 16px; z-index: 2;
  font-family: var(--serif); font-style: italic; font-size: 16px;
  color: var(--cream); text-shadow: 0 2px 12px rgba(0,0,0,.8);
}
.photo-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55));
}
.photo-glare {
  position: absolute; inset: -40%; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 240, 195, .16), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.photo-frame:hover .photo-glare { opacity: 1; }
.about-visual .photo-frame:first-child { width: 82%; aspect-ratio: 3/4; }
.photo-frame-small {
  position: absolute !important; right: 0; bottom: -6%;
  width: 46% !important; aspect-ratio: 4/5; z-index: 4;
  animation: floatBob 8s ease-in-out infinite alternate;
}
.about-orb {
  position: absolute; top: -10%; right: -6%; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(232,185,65,.22), transparent 65%);
  filter: blur(30px); pointer-events: none;
  animation: meshFloat 10s ease-in-out infinite alternate;
}

/* ---------- Ministries ---------- */
.ministries {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(212,175,55,.05), transparent),
    linear-gradient(180deg, transparent, rgba(18, 13, 7, .6) 30%, transparent);
}
.min-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.min-card { perspective: 900px; }
.min-card-inner {
  position: relative; height: 100%; padding: 38px 32px 34px;
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(165deg, rgba(255,246,224,.05), rgba(255,246,224,.015) 55%);
  border: 1px solid rgba(232,185,65,.12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .6s var(--ease-out), border-color .6s, box-shadow .6s;
  transform-style: preserve-3d; will-change: transform;
}
.min-card-inner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(232,185,65,.12), transparent 42%);
  opacity: 0; transition: opacity .5s;
}
.min-card:hover .min-card-inner {
  border-color: rgba(232,185,65,.42);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 40px rgba(232,185,65,.08);
}
.min-card:hover .min-card-inner::before { opacity: 1; }
.min-icon {
  width: 58px; height: 58px; color: var(--gold);
  display: grid; place-items: center; margin-bottom: 24px;
  border-radius: 16px; background: var(--gold-soft);
  border: 1px solid rgba(232,185,65,.22);
  transition: transform .55s var(--ease-out), box-shadow .55s;
}
.min-icon svg { width: 32px; height: 32px; }
.min-card:hover .min-icon {
  transform: translateY(-5px) rotate(-4deg);
  box-shadow: 0 14px 34px rgba(232,185,65,.22);
}
.min-card h3 { font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.2; }
.min-card h3 span { display: block; color: var(--gold); font-style: italic; font-weight: 500; }
.min-desc { margin-top: 14px; font-size: 14.5px; color: var(--ink-dim); }
.min-num {
  position: absolute; top: 26px; right: 28px;
  font-family: var(--display); font-size: 13px; color: rgba(232,185,65,.4);
}

/* ---------- Verse band ---------- */
.verse-band { padding: clamp(90px, 15vh, 160px) 0; overflow: hidden; }
.verse-band-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--black) 0%, transparent 25%, transparent 75%, var(--black) 100%),
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(90, 30, 25, .35), transparent 75%);
}
.verse-band-bg::before {
  content: ""; position: absolute; inset: 0;
  /* Self-contained ember glow — no external image */
  background:
    radial-gradient(circle at 20% 40%, rgba(232,185,65,.12), transparent 30%),
    radial-gradient(circle at 78% 62%, rgba(200,90,30,.14), transparent 34%),
    radial-gradient(circle at 50% 85%, rgba(140,60,20,.16), transparent 45%);
  opacity: .7;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.verse-band blockquote { text-align: center; max-width: 880px; margin-inline: auto; }
.verse-text {
  font-family: var(--serif); font-size: clamp(28px, 4.6vw, 52px);
  font-weight: 500; line-height: 1.3; display: block;
}
.verse-band cite {
  display: inline-block; margin-top: 26px; font-style: normal;
  font-size: 13px; letter-spacing: .35em; text-transform: uppercase; color: var(--gold);
}
.verse-band cite::before, .verse-band cite::after {
  content: "—"; margin-inline: 12px; color: var(--ink-dim);
}

/* ---------- Gatherings ---------- */
.gather-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gather-card {
  position: relative; padding: 44px 36px; border-radius: 22px;
  background: var(--glass); border: 1px solid rgba(232,185,65,.12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden;
  transition: transform .55s var(--ease-out), border-color .55s, box-shadow .55s;
}
.gather-card:hover {
  transform: translateY(-10px); border-color: rgba(232,185,65,.45);
  box-shadow: 0 34px 70px rgba(0,0,0,.55);
}
.gather-card-feature {
  background: linear-gradient(170deg, rgba(232,185,65,.13), rgba(232,185,65,.03));
  border-color: rgba(232,185,65,.32);
}
.gather-day {
  font-family: var(--display); font-size: 13px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.gather-card h3 { font-family: var(--serif); font-size: 27px; font-weight: 600; }
.gather-card p { margin-top: 12px; font-size: 14.5px; color: var(--ink-dim); }
.gather-time {
  display: inline-block; margin-top: 26px;
  font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--gold);
}

.gather-link {
  display: block; margin-top: 16px; font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); transition: color .3s, transform .3s;
}
.gather-link:hover { color: var(--cream); transform: translateX(4px); }
.gather-address {
  margin-top: 40px; text-align: center; color: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.gather-address svg { color: var(--gold); flex: none; }
.gather-address a { color: var(--gold); border-bottom: 1px solid rgba(232,185,65,.35); }
.gather-address a:hover { color: var(--cream); border-color: var(--cream); }

/* ---------- Upcoming events ---------- */
.events {
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(212,175,55,.05), transparent),
    linear-gradient(180deg, transparent, rgba(18, 13, 7, .55) 40%, transparent);
}
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.event-card {
  border-radius: 22px; overflow: hidden;
  background: var(--glass); border: 1px solid rgba(232,185,65,.14);
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
  transition: transform .55s var(--ease-out), border-color .55s, box-shadow .55s;
  display: flex; flex-direction: column;
}
.event-card:hover {
  transform: translateY(-10px); border-color: rgba(232,185,65,.45);
  box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 40px rgba(232,185,65,.08);
}
.event-card > a { display: block; overflow: hidden; }
.event-card > a img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.event-card:hover > a img { transform: scale(1.05); }
.event-info { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.event-info h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.event-info p { margin: 8px 0 18px; font-size: 14px; color: var(--ink-dim); }
.event-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.btn-sm { padding: 12px 20px; font-size: 12px; }

/* ---------- Moments ---------- */
.moments { overflow: hidden; }
.moments-track {
  display: flex; gap: 26px; padding-inline: max(4vw, calc((100vw - 1200px) / 2));
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 24px; scrollbar-width: none;
}
.moments-track::-webkit-scrollbar { display: none; }
.moment {
  position: relative; flex: 0 0 clamp(280px, 34vw, 460px);
  aspect-ratio: 3/4; border-radius: 22px; overflow: hidden;
  scroll-snap-align: center;
  border: 1px solid rgba(232,185,65,.18);
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
  transform-style: preserve-3d; will-change: transform;
}
.moment img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 1.1s;
  filter: saturate(1.02);
}
.moment:hover img { transform: scale(1.07); filter: saturate(1.15) brightness(1.05); }
.moment::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(185deg, rgba(255,236,180,.1), transparent 30%, rgba(0,0,0,.6) 92%);
}
.moment figcaption {
  position: absolute; left: 24px; bottom: 20px; z-index: 2;
  font-family: var(--serif); font-style: italic; font-size: 19px;
}

/* ---------- Give ---------- */
.give { text-align: center; overflow: hidden; }
.give-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--black), transparent 30%, transparent 70%, var(--black)),
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(232,185,65,.1), transparent 70%);
}
.give-bg::before {
  content: ""; position: absolute; inset: 0;
  /* Self-contained golden glow — no external image */
  background:
    radial-gradient(ellipse 50% 45% at 50% 45%, rgba(232,185,65,.16), transparent 65%),
    radial-gradient(circle at 30% 70%, rgba(232,185,65,.08), transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(232,185,65,.08), transparent 40%);
  opacity: .8;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}
.give-inner p { max-width: 480px; margin: 18px auto 36px; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 6vw, 90px);
  align-items: start;
}
.contact-info > p { margin-top: 20px; color: var(--ink); max-width: 420px; }
.contact-list { margin-top: 40px; display: grid; gap: 24px; }
.contact-list li { display: flex; gap: 18px; align-items: center; }
.contact-list .ico {
  flex: 0 0 48px; height: 48px; display: grid; place-items: center;
  border-radius: 14px; color: var(--gold);
  background: var(--gold-soft); border: 1px solid rgba(232,185,65,.22);
}
.contact-list strong { display: block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-dim); font-weight: 500; }
.contact-list a, .contact-list div > span { font-size: 16.5px; color: var(--cream); }
.contact-list a:hover { color: var(--gold); }
.socials { display: flex; gap: 14px; margin-top: 40px; }
.socials a {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(232,185,65,.25); color: var(--ink);
  transition: color .4s, border-color .4s, background .4s, transform .4s var(--ease-out);
}
.socials a:hover { color: var(--black); background: var(--gold); border-color: var(--gold); transform: translateY(-4px); }

.contact-form {
  padding: clamp(30px, 4vw, 48px); border-radius: 26px;
  background: linear-gradient(165deg, rgba(255,246,224,.055), rgba(255,246,224,.015));
  border: 1px solid rgba(232,185,65,.16);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
  display: grid; gap: 26px;
}
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 16px 2px 12px; background: transparent;
  border: 0; border-bottom: 1px solid rgba(232,185,65,.22);
  color: var(--cream); font: 300 16px var(--sans); outline: none;
  border-radius: 0; resize: vertical;
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--black-3); color: var(--cream); }
.field label {
  position: absolute; left: 2px; top: 16px; font-size: 15px; color: var(--ink-dim);
  pointer-events: none; transition: all .35s var(--ease-out);
}
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label,
.field select:focus ~ label, .field select:valid ~ label {
  top: -10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.line-fx {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--gold), #f6dc8d);
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-out);
}
.field input:focus ~ .line-fx, .field textarea:focus ~ .line-fx, .field select:focus ~ .line-fx { transform: scaleX(1); }
.form-note { font-size: 14px; color: var(--gold); min-height: 20px; text-align: center; }

/* ---------- Footer ---------- */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(232,185,65,.12);
  padding: 70px 0 34px;
  background: linear-gradient(180deg, transparent, rgba(14, 10, 5, .8));
}
.footer-top {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px;
  padding-bottom: 50px; border-bottom: 1px solid rgba(232,185,65,.08);
}
.footer-brand p { margin-top: 20px; max-width: 360px; color: var(--ink-dim); font-size: 14.5px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-cols h5 {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 600;
}
.footer-cols a { display: block; padding: 6px 0; color: var(--ink-dim); font-size: 14.5px; transition: color .3s, transform .3s; }
.footer-cols a:hover { color: var(--cream); transform: translateX(4px); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 30px; font-size: 13px; color: var(--ink-dim);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .min-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: center; gap: 8px;
    background: rgba(6, 4, 2, .96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
    opacity: 0; pointer-events: none; transition: opacity .5s;
  }
  .nav-links.is-open { opacity: 1; pointer-events: auto; z-index: 999; }
  .nav-links a { font-size: 24px; font-family: var(--serif); padding: 14px; }
  .nav-cta { display: none; }
  .nav-burger {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: 0; padding: 10px; cursor: pointer; z-index: 1001;
  }
  .nav-burger span { width: 26px; height: 1.5px; background: var(--gold); transition: transform .4s var(--ease-out), opacity .3s; }
  .nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-burger.is-open span:nth-child(2) { opacity: 0; }
  .nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav { gap: 14px; }
  .nav-logo { margin-right: auto; }

  .hero { height: 100vh; height: 100svh; }
  /* Show 5 of 10 orbit photos on small screens so the ring stays uncluttered */
  .orbit-card:nth-child(2n) { display: none; }
  .orbit-card { width: clamp(110px, 24vw, 170px); margin: calc(clamp(110px, 24vw, 170px) / -2) 0 0 calc(clamp(110px, 24vw, 170px) / -2); }
  .orbit-emblem { width: clamp(160px, 44vw, 260px); }
  .hero-display { font-size: clamp(38px, 11.5vw, 90px); }
  .hero-tag { max-width: 92vw; text-align: center; white-space: normal; line-height: 1.5; }
  .event-actions .btn { flex: 1 1 auto; justify-content: center; }
  .gather-address { text-align: center; padding-inline: 4vw; }
  .about-grid, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .about-visual { min-height: 0; margin-top: 10px; }
  .about-visual .photo-frame:first-child { width: 100%; aspect-ratio: 4/5; }
  .photo-frame-small { display: none; }
  .min-grid, .gather-grid, .events-grid { grid-template-columns: 1fr; }
  .moment { flex-basis: 78vw; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
