:root {
  /* Brand palette (from provided reference) */
  --brand-bg: #f7f3ea;
  --brand-cream: #e7d3b4;
  --brand-sage: #95a98f;
  --brand-teal: #2f8b84;
  --brand-teal-deep: #0d6b63;
  --brand-ink: #083f3e;
  --brand-orange: #d46a3c;
  --brand-red: #b4443c;

  /* Theme tokens (used throughout the site) */
  --bg: var(--brand-bg);
  --bg-subtle: #efe6d8;
  --bg-card: rgba(255, 253, 247, 0.86);
  --ink: var(--brand-ink);
  --ink-soft: #1f4c49;
  --muted: #5b746f;
  --gold: var(--brand-orange);
  --gold-light: var(--brand-cream);
  --gold-dark: var(--brand-teal-deep);
  --gold-glow: rgba(212, 106, 60, 0.22);
  --wine: var(--brand-red);
  --olive: var(--brand-sage);
  --sky: var(--brand-teal);
  --line: rgba(8, 63, 62, 0.12);
  --white: #fffdf7;
  --panel: rgba(255, 253, 247, 0.84);
  --shadow: 0 24px 70px rgba(8, 63, 62, 0.12);
  --shadow-soft: 0 14px 34px rgba(8, 63, 62, 0.08);
  --shadow-xl: 0 40px 120px rgba(8, 63, 62, 0.16);
  --ring: 0 0 0 4px rgba(47, 139, 132, 0.18);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --glass: rgba(255, 253, 247, 0.72);
  --glass-strong: rgba(255, 253, 247, 0.82);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(1rem, 3vw, 2rem);
  --container: min(1180px, calc(100% - (var(--gutter) * 2)));
  --section-pad-y: clamp(5.5rem, 9vw, 9rem);
  --text: var(--ink);
  --text-muted: var(--muted);
  --border: var(--line);
  --bg-card: var(--panel, rgba(255, 253, 247, 0.84));
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Outfit", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Force light rendering even if phone is dark mode */
  color-scheme: light;
}

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

a, button, input, select, textarea {
  touch-action: manipulation;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 10px;
}

body::before {
  content: none;
}

@keyframes ambientDrift {
  0% { transform: translate3d(0, 0, 0); opacity: 0.8; }
  50% { transform: translate3d(0, -10px, 0); opacity: 1; }
  100% { transform: translate3d(0, 0, 0); opacity: 0.86; }
}

body::after { content: none; }

.hero-headline,
.hero-sub {
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
}
a {
  color: inherit;
}

img,
svg {
  display: block;
}

/* Layout helpers */
.container {
  width: var(--container);
  margin-inline: auto;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--brand-ink);
}

.preloader-content {
  width: min(280px, calc(100% - 2.5rem));
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.preloader-logo {
  display: grid;
  place-items: center;
}

.preloader-logo img {
  width: 140px;
  height: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.preloader-bar {
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.preloader-progress {
  height: 100%;
  width: 0;
  background: var(--gold);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.preloader-text {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.preloader-text::before,
.preloader-text::after {
  display: none;
}

@keyframes preloaderShimmer {
  from { background-position: -120px 0, 0 0; }
  to { background-position: 420px 0, 0 0; }
}

#page-transition {
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 20%, rgba(231, 211, 180, 0.30), transparent 0 45%),
    radial-gradient(circle at 70% 10%, rgba(47, 139, 132, 0.20), transparent 0 40%),
    radial-gradient(circle at 60% 80%, rgba(180, 68, 60, 0.14), transparent 0 42%),
    var(--bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.transition-strip {
  display: none;
}

#page-transition.is-active {
  opacity: 1;
  visibility: visible;
}

#canvas-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #ffffff;
}

#canvas-container::before {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
  opacity: 0.08;
  background:
    repeating-linear-gradient(0deg,
      rgba(8, 63, 62, 0.55) 0 1px,
      transparent 1px 88px),
    repeating-linear-gradient(90deg,
      rgba(8, 63, 62, 0.55) 0 1px,
      transparent 1px 88px);
  background-position:
    calc(var(--bg-grid-x, 0px) * 1) calc(var(--bg-grid-y, 0px) * 1),
    calc(var(--bg-grid-x, 0px) * 1) calc(var(--bg-grid-y, 0px) * 1);
  transform: translate3d(0, 0, 0);
  animation: gridDrift 18s ease-in-out infinite alternate;
}

#canvas-container::after {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 24%, rgba(47, 139, 132, 0.16), transparent 0 48%),
    radial-gradient(circle at 78% 26%, rgba(231, 211, 180, 0.22), transparent 0 50%),
    radial-gradient(circle at 62% 84%, rgba(180, 68, 60, 0.12), transparent 0 52%);
  filter: blur(22px) saturate(1.05);
  opacity: 0.55;
  transform: translate3d(calc(var(--bg-blob-x, 0px) * 1), calc(var(--bg-blob-y, 0px) * 1), 0);
  animation: blobFloat 22s var(--ease-smooth) infinite alternate;
}

@keyframes gridDrift {
  0% { transform: translate3d(-0.8%, -0.4%, 0); }
  100% { transform: translate3d(0.8%, 0.6%, 0); }
}

@keyframes blobFloat {
  0% { filter: blur(22px) saturate(1.05); }
  100% { filter: blur(28px) saturate(1.08); }
}

#luxury-canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
}

.vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, transparent 0 36%, rgba(247, 243, 234, 0.72) 74%),
    linear-gradient(to bottom, transparent 0 62%, rgba(247, 243, 234, 0.88));
  display: none;
}

.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  display: none;
}

nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 1000;
  width: min(1200px, calc(100% - 48px));
  min-height: 74px;
  padding: 0.6rem 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  background: linear-gradient(120deg, rgba(8, 63, 62, 0.96), rgba(13, 107, 99, 0.92) 55%, rgba(8, 63, 62, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-bottom-color: rgba(8, 63, 62, 0.11);
  border-radius: var(--radius-md);
  box-shadow: 
    0 10px 30px -10px rgba(8, 63, 62, 0.15),
    0 20px 60px rgba(8, 63, 62, 0.08);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  transition: all 0.5s var(--ease-smooth);
}

nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.10), rgba(255, 253, 247, 0.02) 42%, rgba(231, 211, 180, 0.06)),
    radial-gradient(circle at 18% 35%, rgba(212, 106, 60, 0.14), transparent 0 55%),
    radial-gradient(circle at 82% 20%, rgba(47, 139, 132, 0.16), transparent 0 50%);
  opacity: 1;
  pointer-events: none;
}

@media (hover: hover) {
  nav:hover {
    background: rgba(8, 63, 62, 0.94);
    box-shadow: 
      0 12px 40px -12px rgba(8, 63, 62, 0.2),
      0 32px 90px rgba(8, 63, 62, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateX(-50%) translateY(-2px);
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.nav-logo img {
  height: 62px !important;
  filter:
    drop-shadow(0 2px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0 14px 28px rgba(8, 63, 62, 0.18)) !important;
  transition: transform 0.5s var(--ease-smooth);
}

.nav-logo:hover img {
  transform: scale(1.05) rotate(-2deg);
}

.nav-logo-name {
  color: rgba(255, 253, 247, 0.92);
  font-family: var(--font-serif);
  font-size: 1.18rem !important;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em !important;
  word-spacing: 0.08em;
  margin-bottom: 0.15rem;
}

.nav-tagline {
  color: rgba(231, 211, 180, 0.78);
  font-size: 0.6rem !important;
  font-weight: 700;
  letter-spacing: 0.28em !important;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.25rem;
  color: rgba(255, 253, 247, 0.92);
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.4s var(--ease-smooth);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  transition: transform 0.4s var(--ease-smooth);
}

.nav-links a:hover {
  color: rgba(255, 253, 247, 0.92);
  background: rgba(255, 253, 247, 0.10);
}

.nav-links a:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 253, 247, 0.18);
}

.nav-links a:hover::after {
  transform: translateX(-50%) scale(1);
}

.hero {
  min-height: 100vh;
  padding: 152px var(--gutter) 4.5rem;
  display: grid;
  align-items: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(231, 211, 180, 0.22), transparent 0 44%),
    radial-gradient(circle at 70% 12%, rgba(47, 139, 132, 0.18), transparent 0 40%),
    radial-gradient(circle at 72% 72%, rgba(180, 68, 60, 0.12), transparent 0 44%);
  opacity: 0.85;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 108px 0 auto auto;
  width: min(46vw, 620px);
  height: min(46vw, 620px);
  background:
    radial-gradient(circle at 42% 36%, rgba(231, 211, 180, 0.24), transparent 0 32%),
    radial-gradient(circle at 58% 54%, rgba(180, 68, 60, 0.18), transparent 0 36%),
    radial-gradient(circle at 50% 50%, rgba(255, 253, 247, 0.72), transparent 0 68%);
  filter: blur(4px);
  pointer-events: none;
}

.hero-content {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  position: relative;
  z-index: 1;
  text-align: left;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0 0;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.66);
  border: 1px solid rgba(8, 63, 62, 0.12);
  box-shadow: 0 14px 34px rgba(8, 63, 62, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.hero-pill strong {
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.hero-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 106, 60, 0.12);
}

.hero-badge,
.section-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 0.88rem;
  color: var(--gold-dark);
  border: 1px solid rgba(212, 106, 60, 0.26);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.58);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-badge,
.hero-headline,
.hero-sub,
.hero-cta {
  opacity: 1 !important;
  transform: none !important;
}

.hero-headline {
  max-width: 800px;
  margin: 1.45rem 0 1.4rem;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 7vw, 7.6rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-headline em {
  color: transparent;
  font-style: italic;
  background: linear-gradient(105deg, rgba(8, 63, 62, 1), rgba(13, 107, 99, 1) 55%, rgba(180, 68, 60, 1));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.28));
}

.hero-sub {
  max-width: 620px;
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 500;
}

.hero-poster {
  grid-column: 2;
  grid-row: 1 / span 4;
  width: min(100%, 470px);
  min-height: 520px;
  aspect-ratio: 4 / 5;
  justify-self: end;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(8, 63, 62, 0.96), rgba(13, 107, 99, 0.92));
  transform: translateY(1rem);
  transition: transform 0.7s var(--ease-smooth), box-shadow 0.7s var(--ease-smooth), border-color 0.55s var(--ease-out);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 253, 247, 0.10), transparent 0 58%),
    linear-gradient(to top, var(--poster-tint, rgba(13, 107, 99, 0.78)), transparent 58%);
}

.hero-poster-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.06) contrast(1.02);
  transition: transform 0.7s var(--ease-out), filter 0.35s var(--ease-out);
}

.hero-poster-text {
  position: absolute;
  left: 2.1rem;
  right: 2.1rem;
  bottom: 1.9rem;
  z-index: 3;
  color: rgba(255, 253, 247, 0.92);
  transform: translateY(0);
  transition: transform 0.55s var(--ease-out);
}

.hero-poster-quote {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  line-height: 1.18;
  text-shadow: 0 3px 34px rgba(0, 0, 0, 0.58);
}

.hero-poster-text--compact .hero-poster-quote {
  font-size: clamp(1.15rem, 1.35vw, 1.55rem);
}

.hero-poster-accent {
  width: 36px;
  height: 3px;
  margin-top: 0.9rem;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.95;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

.confusion-wrap {
  display: none;
}

.confusion-wrap::after {
  display: none;
}

@media (hover: hover) {
  .hero-poster:hover {
    transform: translateY(0.25rem);
    border-color: rgba(212, 106, 60, 0.26);
    box-shadow: var(--shadow-xl);
  }

  .hero-poster:hover .hero-poster-img {
    transform: scale(1.08);
    filter: saturate(1.12) contrast(1.05);
  }

  .hero-poster:hover .hero-poster-text {
    transform: translateY(-4px);
  }

  .confusion-wrap:hover {
    transform: none;
    box-shadow: none;
  }

  .confusion-wrap:hover::after {
    opacity: 0;
  }
}
.confusion-wrap::before {
  display: none;
}

.confusion-wrap img {
  display: none;
}

.confusion-overlay {
  display: none;
}

.confusion-overlay span {
  color: inherit;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.35rem;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ink), #0d5f5a 52%, var(--gold));
  box-shadow: 0 18px 38px rgba(8, 63, 62, 0.20);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), filter 0.35s var(--ease-out);
}

.btn-primary:hover,
.btn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(8, 63, 62, 0.26);
  filter: saturate(1.06);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.25rem;
  color: var(--ink);
  border: 1px solid rgba(8, 63, 62, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.62);
  box-shadow: 0 14px 30px rgba(38, 30, 20, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.btn-secondary:hover {
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 26px 70px rgba(8, 63, 62, 0.12);
  transform: translateY(-4px);
}

.scroll-indicator {
  position: absolute;
  right: 0;
  bottom: -58px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  opacity: 0.72;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 1px solid rgba(8, 63, 62, 0.45);
  border-radius: 999px;
  position: relative;
}

.scroll-wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

.scroll-text {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quote-strip {
  padding: clamp(5rem, 8vw, 8rem) var(--gutter);
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(180, 68, 60, 0.08), transparent 30%),
    linear-gradient(270deg, rgba(149, 169, 143, 0.08), transparent 28%),
    rgba(255, 252, 245, 0.56);
  text-align: center;
}

.quote-strip blockquote {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.8vw, 3.25rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.14;
}

.open-quote {
  position: absolute;
  top: -4.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(212, 106, 60, 0.18);
  font-size: 8rem;
  line-height: 1;
}

.quote-strip cite {
  display: block;
  margin-top: 1.7rem;
  color: var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.ministry-section,
.gatherings-section {
  padding: clamp(6rem, 10vw, 10rem) var(--gutter);
  position: relative;
  overflow: hidden;
}

.ministry-section::before,
.gatherings-section::before {
  content: "";
  position: absolute;
  inset: 8% auto auto 50%;
  width: min(46vw, 620px);
  height: min(46vw, 620px);
  border: 1px solid rgba(212, 106, 60, 0.14);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.ministry-shell,
.gatherings-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ministry-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.ministry-copy p,
.gatherings-heading p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 500;
}

.ministry-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.ministry-stat {
  min-height: 112px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 252, 245, 0.68);
  box-shadow: var(--shadow-soft);
}

.ministry-stat strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
}

.ministry-stat span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ministry-showcase {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 36%, rgba(231, 211, 180, 0.3), transparent 0 31%),
    linear-gradient(135deg, rgba(8, 63, 62, 0.96), rgba(13, 107, 99, 0.94) 62%, rgba(180, 68, 60, 0.88));
  box-shadow: var(--shadow);
  perspective: 1000px;
}

.ministry-showcase::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}

.showcase-orbit {
  position: absolute;
  inset: 72px;
  border: 1px solid rgba(231, 211, 180, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(231, 211, 180, 0.08);
}

.showcase-orbit::before,
.showcase-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.showcase-orbit::before {
  inset: 54px;
  border: 1px solid rgba(255, 253, 247, 0.12);
}

.showcase-orbit::after {
  top: 18%;
  right: 14%;
  width: 12px;
  height: 12px;
  background: var(--gold-light);
  box-shadow: 0 0 34px var(--gold-light);
}

.showcase-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(230px, 46%);
  transform: translate(-50%, -58%);
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.32));
}

.showcase-card {
  position: absolute;
  left: 1.3rem;
  right: 1.3rem;
  bottom: 1.3rem;
  padding: 1.15rem;
  color: rgba(255, 253, 247, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 63, 62, 0.42);
  backdrop-filter: blur(18px);
}

.showcase-card.secondary {
  top: 1.3rem;
  right: 1.3rem;
  bottom: auto;
  left: auto;
  width: min(270px, calc(100% - 2.6rem));
}

.showcase-card span,
.event-kicker {
  display: block;
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.showcase-card strong {
  display: block;
  margin: 0.35rem 0;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.08;
}

.showcase-card p {
  margin: 0;
}

.gatherings-section {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(8, 63, 62, 0.96), rgba(13, 107, 99, 0.96)),
    var(--ink);
  color: var(--white);
}

.gatherings-section::before {
  border-color: rgba(231, 211, 180, 0.16);
  opacity: 0.8;
}

.gatherings-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.gatherings-heading .section-label {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(231, 211, 180, 0.3);
}

.gatherings-heading .section-title {
  color: var(--white);
}

.gatherings-heading p {
  color: rgba(255, 253, 247, 0.68);
}

.event-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 1rem;
}

.event-card {
  min-height: 360px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(231, 211, 180, 0.18), transparent 0 32%),
    radial-gradient(circle at 78% 72%, rgba(180, 68, 60, 0.22), transparent 0 36%);
  pointer-events: none;
}

.event-card.feature {
  min-height: 430px;
  background:
    linear-gradient(145deg, rgba(231, 211, 180, 0.2), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
}

.event-card h3 {
  position: relative;
  margin: 0.8rem 0 1rem;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.event-card:not(.feature) h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
}

.event-card p {
  position: relative;
  margin: 0;
  color: rgba(255, 253, 247, 0.68);
  font-weight: 500;
}

.event-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.8rem;
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.75rem;
  color: rgba(255, 253, 247, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
/* starts here */
/* SECTION WRAPPER */
#pillars {
  padding: clamp(6rem, 10vw, 9rem) var(--gutter);
}

.pillars {
  width: min(1180px, 100%);
  margin: 0 auto;
}

/* INTRO */
.pillars-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  padding: 0 0.88rem;
  min-height: 34px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1px solid rgba(212, 106, 60, 0.26);
  background: rgba(255, 253, 247, 0.58);
}

.section-title {
  margin: 1rem 0 1.1rem;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 400;
  line-height: 1.02;
  color: var(--ink);
}

.pillars-intro p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
}

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

/* CARD */
.pillar-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 253, 247, 0.84);
  box-shadow: 0 14px 34px rgba(8, 63, 62, 0.08);
  backdrop-filter: blur(20px);
  transition: all 0.5s ease;
}

.pillar-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 120px rgba(8, 63, 62, 0.16);
  border-color: rgba(212, 106, 60, 0.38);
}

/* IMAGE TOP */
.pillar-img-wrap {
  height: 255px;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: linear-gradient(135deg, #083f3e, #0d6b63);
}

.pillar-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, rgba(255,255,255,0.18), transparent 40%),
    linear-gradient(to top, rgba(8,63,62,0.42), transparent 60%);
}

/* SCENE */
.pillar-scene {
  overflow: hidden;
  height: 100%;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background:
    radial-gradient(circle at 50% 42%, rgba(231,211,180,0.32), transparent 32%),
    linear-gradient(135deg, #083f3e, #0d6b63);
}

/* ICON */
.premium-icon-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 168px;
  height: 168px;
  transform: translate(-50%, -50%);
  transition: transform 0.45s ease;
}

.pillar-card:hover .premium-icon-wrap {
  transform: translate(-50%, -54%) scale(1.06);
}

.premium-icon {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 22px 36px rgba(0,0,0,0.34));
}

/* LABEL + NUMBER */
.scene-label {
  position: absolute;
  left: 1.2rem;
  bottom: 1rem;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,253,247,0.68);
}

.pillar-number {
  position: absolute;
  top: 0.75rem;
  right: 1.1rem;
  font-size: 3.4rem;
  font-family: var(--font-serif);
  color: rgba(255,253,247,0.2);
}

/* CONTENT */
.pillar-body {
  padding: 1.55rem;
}

.pillar-verse {
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.pillar-title {
  margin: 0.45rem 0 0.7rem;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ink);
}

.pillar-desc {
  margin-bottom: 1.3rem;
  font-size: 0.94rem;
  color: var(--muted);
}

/* BUTTON */
.btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(8,63,62,0.12);
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-card:hover {
  background: var(--ink);
  color: #fff;
}

/* NEW THREE PILLARS STRUCTURE */
.pillars-section {
  padding: 5rem var(--gutter);
  background: linear-gradient(180deg, rgba(255,253,247,0.6) 0%, rgba(255,253,247,0.9) 100%);
}

.pillars-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pillars-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pillars-header .section-subtitle {
  max-width: 600px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* NEW PILLAR VISUAL STRUCTURE */
.pillar-visual {
  height: 220px;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: linear-gradient(135deg, #083f3e, #0d6b63);
}

.pillar-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, rgba(255,255,255,0.18), transparent 40%),
    linear-gradient(to top, rgba(8,63,62,0.42), transparent 60%);
  pointer-events: none;
}

/* ICON WRAP - NEW STRUCTURE */
.icon-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  transition: transform 0.45s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-card:hover .icon-wrap {
  transform: translate(-50%, -54%) scale(1.08);
}

.pillar-icon {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.3));
}

/* CONTENT - NEW STRUCTURE */
.pillar-content {
  padding: 1.5rem;
  background: rgba(255, 253, 247, 0.84);
}

.pillar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(8,63,62,0.12);
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pillar-btn:hover {
  background: var(--ink);
  color: #fff;
}

#about {
  background: rgba(255, 252, 245, 0.54);
  border-block: 1px solid var(--line);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 2.2rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.95rem;
  color: var(--ink-soft);
  border: 1px solid rgba(8, 63, 62, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
}

footer {
  padding: clamp(5rem, 8vw, 8rem) var(--gutter) 2.2rem;
  background: var(--ink) !important;
  color: rgba(255, 253, 247, 0.86) !important;
  position: relative;
  display: block !important;
}

/* ── GALLERY (carousel + lightbox) ── */
.gallery-section {
  padding: var(--section-pad-y) var(--gutter);
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 18%, rgba(231, 211, 180, 0.18), transparent 0 30%),
    radial-gradient(circle at 80% 22%, rgba(47, 139, 132, 0.14), transparent 0 32%),
    rgba(255, 253, 247, 0.38);
}

.gallery-shell {
  width: var(--container);
  margin: 0 auto;
  position: relative;
}

.gallery-heading {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.gallery-heading p {
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

/* Homepage: featured gallery strip (like before) */
.gallery-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.gallery-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 253, 247, 0.92);
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(8, 63, 62, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
  z-index: 10;
  pointer-events: all;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-btn.prev {
  left: -60px;
}

.gallery-btn.next {
  right: -60px;
}

.gallery-btn:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 12px 32px rgba(8, 63, 62, 0.18);
  background: rgba(255, 253, 247, 1);
  border-color: rgba(212, 106, 60, 0.4);
}

.gallery-btn:active {
  transform: translateY(0) scale(0.98);
}

.gallery-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.gallery-btn:disabled:hover {
  transform: none;
  box-shadow: 0 8px 24px rgba(8, 63, 62, 0.12);
  background: rgba(255, 253, 247, 0.92);
  border-color: rgba(255, 255, 255, 0.3);
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 30vw, 340px);
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}


.gallery-card {
  scroll-snap-align: start;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  background: rgba(8, 63, 62, 0.10);
  aspect-ratio: 4 / 5;
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out), border-color 0.55s var(--ease-out);
}

.gallery-card img,
.gallery-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.7s var(--ease-out), filter 0.35s var(--ease-out);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 253, 247, 0.10), transparent 0 60%),
    linear-gradient(to top, rgba(8, 63, 62, 0.72), transparent 62%);
  opacity: 0.9;
}

.gallery-card[data-gallery-type="video"]::before {
  content: "▶";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -56%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(255, 253, 247, 0.95);
  background: rgba(8, 63, 62, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  z-index: 2;
  pointer-events: none;
}

@media (hover: hover) {
  .gallery-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 106, 60, 0.28);
    box-shadow: var(--shadow-xl);
  }
  .gallery-card:hover img,
  .gallery-card:hover video {
    transform: scale(1.07);
    filter: saturate(1.08) contrast(1.04);
  }
}

/* Gallery grid */
.gallery-grid {
  /* Masonry-like layout: no big empty gaps */
  column-count: 3;
  column-gap: 1rem;
  margin-top: 1.25rem;
}

.gallery-item {
  width: 100%;
  display: inline-block;
  break-inside: avoid;
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  background: rgba(8, 63, 62, 0.06);
  aspect-ratio: auto;
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out), border-color 0.55s var(--ease-out);
}

.gallery-item:nth-child(5),
.gallery-item:nth-child(6) {
  /* no special sizing in masonry mode */
  grid-column: auto;
  aspect-ratio: auto;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.7s var(--ease-out), filter 0.35s var(--ease-out);
}

.gallery-video {
  width: 100%;
  height: auto;
}

.gallery-item[data-gallery-type="video"]::before {
  content: "▶";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -56%);
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(255, 253, 247, 0.95);
  background: rgba(8, 63, 62, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  z-index: 2;
  pointer-events: none;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 253, 247, 0.10), transparent 0 60%),
    linear-gradient(to top, rgba(8, 63, 62, 0.74), transparent 62%);
  opacity: 0.9;
}

.gallery-meta {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.1rem;
  z-index: 2;
  color: rgba(255, 253, 247, 0.92);
}

.gallery-meta span {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
}

.gallery-meta strong {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.48);
}

@media (hover: hover) {
  .gallery-item:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 106, 60, 0.28);
    box-shadow: var(--shadow-xl);
  }
  .gallery-item:hover img,
  .gallery-item:hover video {
    transform: scale(1.07);
    filter: saturate(1.08) contrast(1.04);
  }
  .gallery-item[data-gallery-type="video"]:hover::before {
    transform: translate(-50%, -58%) scale(1.04);
    background: rgba(8, 63, 62, 0.72);
  }
}

@media (max-width: 980px) {
  .gallery-grid { column-count: 2; }
}

@media (max-width: 640px) {
  .gallery-grid { column-count: 1; column-gap: 0; }
  .gallery-item { margin-bottom: 0.9rem; }
}

/* Lightbox */
#gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
}

#gallery-lightbox.is-open {
  display: grid;
}

.glb-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.glb-dialog {
  position: relative;
  width: min(1040px, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(8, 63, 62, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

.glb-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 253, 247, 0.08);
  color: rgba(255, 253, 247, 0.9);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  z-index: 2;
}

.glb-prev,
.glb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 253, 247, 0.88);
  color: #083f3e;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  box-shadow: 0 8px 24px rgba(8, 63, 62, 0.12);
}

.glb-prev {
  left: -60px;
}

.glb-next {
  right: -60px;
}

.glb-prev:hover,
.glb-next:hover {
  transform: translateY(-50%) scale(1.08);
  border-color: rgba(212, 106, 60, 0.4);
  box-shadow: 0 12px 32px rgba(8, 63, 62, 0.18);
}

.glb-prev:active,
.glb-next:active {
  transform: translateY(-50%) scale(0.96);
}

.glb-prev:disabled,
.glb-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.glb-media {
  width: 100%;
  height: min(78vh, 720px);
  background: rgba(0, 0, 0, 0.24);
}

.glb-media img,
.glb-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: rgba(0, 0, 0, 0.15);
}

@media (max-width: 720px) {
  .gallery-controls {
    position: static;
    margin: 0 0 0.85rem;
    justify-content: flex-end;
  }
  .glb-media {
    height: min(70vh, 620px);
  }
  .glb-prev {
    left: 0.5rem;
  }
  .glb-next {
    right: 0.5rem;
  }
  .glb-prev,
  .glb-next {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(212, 106, 60, 0.16), transparent 0 26%),
    radial-gradient(circle at 80% 18%, rgba(180, 68, 60, 0.18), transparent 0 28%);
  pointer-events: none;
}

.footer-grid,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 1.5fr 0.8fr 1fr !important;
  gap: clamp(2rem, 6vw, 5rem) !important;
}

.footer-brand img {
  height: 96px !important;
  margin-bottom: 1.3rem !important;
  filter: drop-shadow(0 14px 22px rgba(212, 106, 60, 0.28)) !important;
}

.footer-brand p {
  max-width: 390px;
  color: rgba(255, 253, 247, 0.65);
}

.social-row {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.social-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: rgba(255, 253, 247, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.social-btn:hover {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.social-btn svg {
  width: 19px;
  height: 19px;
}

.footer-col h4 {
  margin: 0 0 1.3rem;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a,
.contact-line a {
  color: rgba(255, 253, 247, 0.68) !important;
  text-decoration: none;
}

.footer-links a:hover,
.contact-line a:hover {
  color: var(--gold-light) !important;
}

.contact-line {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: rgba(255, 253, 247, 0.68);
  font-size: 0.92rem;
}

.contact-line svg {
  flex: 0 0 auto;
  color: var(--gold-light);
}

.footer-bottom {
  width: min(1180px, 100%);
  margin: 4rem auto 0;
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 253, 247, 0.48);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom span {
  color: var(--gold-light);
}

.reveal {
  transition: 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.anchor-svg .anchor-main {
  transform-origin: 50% 28px;
  animation: anchorSway 4.5s ease-in-out infinite;
}

@keyframes anchorSway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

.star-svg .star-shimmer {
  animation: starShimmer 3.4s ease-in-out infinite;
}

@keyframes starShimmer {
  0%, 100% { transform: scale(0.86); opacity: 0.35; }
  50% { transform: scale(1.18); opacity: 0.8; }
}

.star-svg .star-rays {
  transform-origin: center;
  animation: starRotate 18s linear infinite;
}

@keyframes starRotate {
  to { transform: rotate(360deg); }
}

.heart-svg .heart-path,
.heart-icon {
  transform-origin: center;
  animation: heartPulse 2.8s ease-in-out infinite;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@media (max-width: 980px) {
  :root {
    --gutter: 1.25rem;
  }

  nav {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - (2 * var(--gutter)));
  }

  .hero {
    padding-top: 130px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-poster {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    transform: none;
    margin-top: 2rem;
  }

  .hero-badge,
  .section-label {
    margin-inline: auto;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .confusion-wrap {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    transform: none;
  }

  .scroll-indicator {
    display: none;
  }

  .pillars-grid,
  .event-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ministry-shell {
    grid-template-columns: 1fr;
  }

  .ministry-showcase {
    min-height: 480px;
  }

  .pillar-desc {
    min-height: auto;
  }
}

/* ── MOBILE HAMBURGER ── */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.08);
  color: rgba(255, 253, 247, 0.9);
  cursor: pointer;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255, 253, 247, 0.85);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease, margin 0.35s var(--ease-out);
}

.nav-toggle span + span {
  margin-top: 5px;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 720px) {
  :root {
    --gutter: 1.25rem;
  }

  nav {
    min-height: 64px;
    padding: 0.5rem 0.65rem;
    border-radius: 16px;
  }

  .nav-logo {
    gap: 0.75rem;
  }

  .nav-logo img {
    height: 48px !important;
  }

  .nav-logo-name {
    font-size: 0.92rem !important;
  }

  .nav-tagline {
    font-size: 0.48rem !important;
    letter-spacing: 0.12em !important;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(8, 63, 62, 0.98), rgba(13, 107, 99, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 100;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a,
  .nav-links .nav-home {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    font-size: 0.82rem !important;
    padding: 0 1rem;
  }

  .ministry-section,
  .gatherings-section {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .ministry-stat-row {
    grid-template-columns: 1fr;
  }

  .ministry-showcase {
    min-height: 420px;
  }

  .showcase-card.secondary {
    position: absolute;
    width: auto;
    left: 1.3rem;
  }

  .event-card,
  .event-card.feature {
    min-height: 300px;
  }

  .hero {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .hero-headline {
    font-size: clamp(3.1rem, 16vw, 4.2rem);
  }

  .hero-poster {
    min-height: 380px;
  }

  .hero-poster-text {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .confusion-wrap img {
    min-height: 340px;
  }

  #pillars {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  #about,
  .about-section,
  .quote-strip {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .pillar-body {
    padding: 1.25rem 1.5rem;
  }

  .pillar-title {
    font-size: 1.45rem;
  }

  .pillar-desc {
    font-size: 0.88rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }

  .gallery-section {
    padding-top: calc(var(--section-pad-y) * 0.6) !important;
  }

  .gallery-heading {
    margin-bottom: 1.5rem;
  }

  .gallery-meta strong {
    font-size: 1.2rem;
  }

  .gallery-meta span {
    font-size: 0.62rem;
  }

  .btn-primary,
  .btn-secondary {
    min-height: 48px;
    padding: 0 1.1rem;
    font-size: 0.72rem;
  }

  .hero-cta {
    gap: 0.75rem;
  }

  .hero-pill {
    min-height: 36px;
    padding: 0 0.85rem;
    font-size: 0.72rem;
  }

  .ministry-stat {
    min-height: 90px;
    padding: 0.85rem;
  }

  .ministry-stat strong {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .quote-strip {
    padding: clamp(3.5rem, 6vw, 5rem) var(--gutter);
  }

  .quote-strip blockquote {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }

  .open-quote {
    font-size: 5rem;
    top: -3rem;
  }

  .event-meta {
    gap: 0.35rem;
  }

  .event-meta span {
    min-height: 30px;
    padding: 0 0.6rem;
    font-size: 0.6rem;
  }
}

/* ── EXTRA SMALL SCREENS (≤480px) ── */
@media (max-width: 480px) {
  nav {
    min-height: 56px;
    padding: 0.4rem 0.55rem;
    border-radius: 14px;
  }

  .nav-logo img {
    height: 40px !important;
  }

  .nav-logo-name {
    font-size: 0.82rem !important;
  }

  .nav-tagline {
    display: none;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 3rem;
  }

  .hero-headline {
    font-size: clamp(2.6rem, 14vw, 3.5rem);
    line-height: 0.96;
  }

  .hero-sub {
    font-size: 0.92rem;
  }

  .hero-poster {
    min-height: 300px;
  }

  .section-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .pillar-img-wrap {
    height: 180px;
  }

  .pillar-body {
    padding: 1rem 1.25rem;
  }

  .pillar-title {
    font-size: 1.3rem;
  }

  .pillar-desc {
    font-size: 0.84rem;
    margin-bottom: 1rem;
  }

  .ministry-showcase {
    min-height: 350px;
  }

  .showcase-card {
    padding: 0.9rem;
  }

  .showcase-card strong {
    font-size: 1.3rem;
  }

  .event-card h3 {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
  }

  .gallery-grid {
    column-gap: 0.5rem;
  }

  .gallery-item {
    margin-bottom: 0.5rem;
    border-radius: var(--radius-md);
  }

  .gallery-meta {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .gallery-meta strong {
    font-size: 1rem;
  }

  .glb-dialog {
    border-radius: var(--radius-md);
  }

  .glb-media {
    height: min(60vh, 500px);
  }

  .btn-primary,
  .btn-secondary,
  .btn-card {
    min-height: 44px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .footer-grid {
    gap: 1.5rem !important;
  }
}

/* ===== PILLARS CLEAN FIX (NO DESIGN CHANGE) ===== */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px; /* more breathing space */
}

/* CARD */
.pillar-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 18px; /* softer */
}

/* IMAGE SECTION */
.pillar-img-wrap {
  height: 220px; /* slightly reduced for balance */
}

/* BODY */
.pillar-body {
  display: flex;
  flex-direction: column;
  padding: 22px;
  flex: 1;
}

/* TEXT FIX */
.pillar-verse {
  margin-bottom: 8px;
}

.pillar-title {
  margin-bottom: 10px;
}

.pillar-desc {
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1; /* equal height cards */
}

/* BUTTON ALIGN */
.btn-card {
  margin-top: auto;
}

/* ICON CENTER IMPROVEMENT */
.premium-icon-wrap.enhanced {
  transform: translate(-50%, -50%) scale(1.2);
}

/* HOVER (SUBTLE REFINED) */
.pillar-card:hover {
  transform: translateY(-8px);
}

/* SPACING FIX BETWEEN LABELS */
.scene-label {
  bottom: 14px;
  left: 16px;
}

.pillar-number {
  top: 10px;
  right: 16px;
}

/* RESPONSIVE FIX */
@media (max-width: 980px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}