/* ================================================================
   EXIT THE MATRIX — ESM RETREATS
   style.css — Luxury Black / Gold / Purple Design System
   Eternal Self Ministries & The Malachian Empire
   ================================================================ */

/* ----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ---------------------------------------------------------------- */
:root {
  /* Core Colors */
  --black:          #050505;
  --black-2:        #0d0d0d;
  --black-3:        #141414;
  --black-4:        #1c1c1c;

  /* Gold Palette */
  --gold:           #C9A84C;
  --gold-light:     #E8C97A;
  --gold-bright:    #F5D878;
  --gold-dark:      #8B6914;
  --gold-dim:       rgba(201, 168, 76, 0.15);
  --gold-glow:      rgba(201, 168, 76, 0.35);

  /* Purple Palette */
  --purple-deep:    #0E0520;
  --purple:         #1E0A3C;
  --purple-mid:     #3B1F6E;
  --purple-light:   #6B3FA0;
  --purple-dim:     rgba(30, 10, 60, 0.6);

  /* White / Text */
  --white:          #F8F4EE;
  --white-dim:      rgba(248, 244, 238, 0.75);
  --white-faint:    rgba(248, 244, 238, 0.4);

  /* UI */
  --border-gold:    1px solid rgba(201, 168, 76, 0.3);
  --border-gold-strong: 1px solid rgba(201, 168, 76, 0.7);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      32px;

  /* Typography */
  --font-cinzel:    'Cinzel', serif;
  --font-heading:   'Playfair Display', Georgia, serif;
  --font-body:      'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad:    clamp(80px, 10vw, 120px);
  --container-max:  1240px;
  --gutter:         clamp(16px, 4vw, 32px);

  /* Transitions */
  --ease:           cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:       cubic-bezier(0.0, 0.0, 0.2, 1.0);
  --t-fast:         0.2s;
  --t-med:          0.4s;
  --t-slow:         0.7s;

  /* Shadows */
  --shadow-gold:    0 0 30px rgba(201, 168, 76, 0.2);
  --shadow-card:    0 8px 40px rgba(0, 0, 0, 0.6);
  --shadow-lg:      0 20px 60px rgba(0, 0, 0, 0.8);
}

/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

ul, ol { list-style: none; }

button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

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

/* Focus ring for accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ----------------------------------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.cinzel { font-family: var(--font-cinzel); letter-spacing: 0.08em; }

/* ----------------------------------------------------------------
   4. LAYOUT UTILITIES
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.desktop-br { display: none; }
@media (min-width: 768px) { .desktop-br { display: inline; } }

/* ----------------------------------------------------------------
   5. GLOBAL COMPONENTS: BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-cinzel);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
  background: rgba(255,255,255,0.06);
}
.btn:hover::before { opacity: 1; }

/* Gold filled */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  color: var(--black);
  border: none;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gold-glow), 0 0 0 1px var(--gold);
}
.btn-gold:active { transform: translateY(0); }

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: var(--border-gold-strong);
}
.btn-outline:hover {
  background: var(--gold-dim);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* Ghost */
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--white-dim);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.72rem;
}

.btn-full { width: 100%; }

/* ----------------------------------------------------------------
   6. GLOBAL COMPONENTS: SECTION HEADERS
   ---------------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-cinzel);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 20px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--white-dim);
  max-width: 560px;
  margin: 0 auto;
}

/* ----------------------------------------------------------------
   7. SCROLL REVEAL ANIMATIONS
   ---------------------------------------------------------------- */
.reveal-fade,
.reveal-up {
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.reveal-fade { transform: scale(0.97); }
.reveal-up   { transform: translateY(40px); }

.reveal-fade.revealed,
.reveal-up.revealed {
  opacity: 1;
  transform: none;
}

/* ----------------------------------------------------------------
   8. NAVIGATION
   ---------------------------------------------------------------- */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--t-med) var(--ease),
              padding var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}

.main-nav.scrolled {
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.2), var(--shadow-lg);
}

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

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.nav-logo-cinzel {
  font-family: var(--font-cinzel);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--gold);
  line-height: 1;
}
.nav-logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-faint);
  line-height: 1;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-family: var(--font-cinzel);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover,
.nav-link.active { color: var(--gold); }

.nav-link-cta {
  border: var(--border-gold);
  color: var(--gold);
  padding: 8px 18px;
}
.nav-link-cta:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

/* Mobile Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}
@media (min-width: 900px) { .nav-toggle { display: none; } }

.nav-toggle:hover { background: rgba(255,255,255,0.08); }

.hamburger-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast);
}

.nav-toggle.open .hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open .hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav Dropdown */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(16px);
  border-top: var(--border-gold);
  padding: 16px var(--gutter) 24px;
}

.nav-mobile.open { display: flex; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile .nav-link {
  padding: 12px 16px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}
.nav-mobile .nav-link:hover { background: var(--gold-dim); }

/* ----------------------------------------------------------------
   9. HERO SECTION
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(59, 31, 110, 0.5) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(14, 5, 32, 0.8) 0%, transparent 60%),
    linear-gradient(180deg, #050010 0%, #0a0020 40%, #100028 70%, #050010 100%);
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(5, 0, 16, 0.55) 0%,
      rgba(14, 5, 32, 0.30) 40%,
      rgba(5, 0, 16, 0.75) 85%,
      rgba(5, 5, 5, 1) 100%
    );
}

/* Particle Canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Light Rays */
.hero-rays {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.ray {
  position: absolute;
  top: -10%;
  width: 1px;
  height: 130%;
  background: linear-gradient(180deg, transparent 0%, rgba(201,168,76,0.12) 40%, transparent 100%);
  transform-origin: top center;
  animation: rayPulse 6s ease-in-out infinite;
}
.ray-1 { left: 25%; transform: rotate(-15deg); animation-delay: 0s; }
.ray-2 { left: 50%; transform: rotate(5deg); animation-delay: 2s; width: 2px; background: linear-gradient(180deg, transparent 0%, rgba(201,168,76,0.08) 40%, transparent 100%); }
.ray-3 { left: 72%; transform: rotate(18deg); animation-delay: 4s; }

@keyframes rayPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-top: clamp(80px, 12vw, 120px);
  padding-bottom: 80px;
}

.hero-eyebrow {
  font-family: var(--font-cinzel);
  font-size: clamp(0.6rem, 1.5vw, 0.8rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  transition-delay: 0.1s;
}

.hero-headline {
  font-family: var(--font-cinzel);
  font-size: clamp(3.5rem, 14vw, 10rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 0.95;
  color: var(--white);
  text-shadow: 0 0 80px rgba(201, 168, 76, 0.15);
  margin-bottom: 28px;
  transition-delay: 0.2s;
}

.hero-headline-gold {
  color: var(--gold);
  text-shadow:
    0 0 40px rgba(201, 168, 76, 0.5),
    0 0 80px rgba(201, 168, 76, 0.2);
}

.hero-subheadline {
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  font-weight: 300;
  color: var(--white-dim);
  letter-spacing: 0.03em;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  transition-delay: 0.3s;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  transition-delay: 0.4s;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 2s forwards;
}
.scroll-text {
  font-family: var(--font-cinzel);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold-dark), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
  50%       { transform: scaleY(1); opacity: 1; }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ----------------------------------------------------------------
   10. ABOUT SECTION
   ---------------------------------------------------------------- */
.about {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--purple-deep) 50%, var(--black) 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,31,110,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.about-intro {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.about-intro p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--white-dim);
  line-height: 1.9;
}

/* Pillars Grid */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 72px;
}

.pillar-card {
  background: rgba(255,255,255,0.03);
  border: var(--border-gold);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease),
              background var(--t-med),
              box-shadow var(--t-med);
  transition-delay: calc(var(--delay, 0) * 1ms);
}

.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-med);
}

.pillar-card:hover {
  transform: translateY(-6px);
  background: rgba(201,168,76,0.04);
  box-shadow: var(--shadow-gold), var(--shadow-card);
}
.pillar-card:hover::before { opacity: 1; }

.pillar-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}
.pillar-icon svg { width: 100%; height: 100%; }

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 12px;
  font-weight: 600;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--white-dim);
  line-height: 1.75;
}

/* About Quote */
.about-quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 40px;
  border: var(--border-gold-strong);
  border-radius: var(--radius-lg);
  background: rgba(201,168,76,0.04);
  backdrop-filter: blur(8px);
  position: relative;
}

.about-quote::before {
  content: '"';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.3;
}

.about-quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 16px;
}

.about-quote cite {
  font-family: var(--font-cinzel);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ----------------------------------------------------------------
   11. GALLERY SECTION
   ---------------------------------------------------------------- */
.gallery {
  padding: var(--section-pad) 0;
  background: var(--black-2);
  position: relative;
}

/* Filter Buttons */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: var(--font-cinzel);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 100px;
  border: var(--border-gold);
  color: var(--white-dim);
  background: transparent;
  transition: all var(--t-fast) var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 16px var(--gold-glow);
}

/* Gallery Grid — Masonry-style */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 12px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
}

.gallery-item { overflow: hidden; border-radius: var(--radius-md); }
.gallery-item-tall { grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }

@media (max-width: 480px) {
  .gallery-item-wide { grid-column: span 1; }
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: var(--border-gold);
  border-radius: var(--radius-md);
}

/* Image placeholder */
.gallery-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--ph-color, #0a0a14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform var(--t-med) var(--ease);
}
.gallery-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, transparent 50%);
}

.gallery-img-placeholder span {
  font-family: var(--font-cinzel);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(201,168,76,0.4);
  text-transform: uppercase;
  text-align: center;
  padding: 0 16px;
}

/* Gallery item: real images */
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

/* Hover overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  backdrop-filter: blur(4px);
}
.gallery-thumb:hover .gallery-overlay,
.gallery-thumb:focus .gallery-overlay {
  opacity: 1;
}
.gallery-thumb:hover .gallery-img-placeholder,
.gallery-thumb:hover img {
  transform: scale(1.05);
}

.gallery-overlay-content {
  text-align: center;
  transform: translateY(8px);
  transition: transform var(--t-med) var(--ease);
}
.gallery-thumb:hover .gallery-overlay-content { transform: translateY(0); }

.gallery-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--gold);
}
.gallery-icon-video {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 12px;
  background: rgba(201,168,76,0.1);
}

.gallery-overlay-content p {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.gallery-overlay-content small {
  font-family: var(--font-cinzel);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.gallery-badge-video {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-cinzel);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  background: var(--gold);
  color: var(--black);
  padding: 4px 10px;
  border-radius: 100px;
}

/* Gallery item hidden (filtered) */
.gallery-item.hidden {
  display: none;
}

/* ----------------------------------------------------------------
   12. LIGHTBOX MODAL
   ---------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
}

.lightbox-inner {
  position: relative;
  z-index: 1;
  width: 90vw;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  color: var(--white-dim);
  font-size: 1.2rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  z-index: 2;
}
.lightbox-close:hover { color: var(--gold); background: rgba(255,255,255,0.1); }

.lightbox-media {
  width: 100%;
  max-height: 70vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--border-gold);
  background: var(--black-2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.lightbox-media .media-placeholder {
  width: 100%;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--white-faint);
  font-family: var(--font-cinzel);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.lightbox-media .media-placeholder span { font-size: 3rem; color: var(--gold-dark); }

.lightbox-caption {
  font-family: var(--font-cinzel);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}

.lightbox-nav {
  display: flex;
  gap: 16px;
}

.lightbox-prev,
.lightbox-next {
  font-size: 1.4rem;
  color: var(--white-dim);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: var(--border-gold);
  transition: all var(--t-fast);
}
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-dim);
}

/* ----------------------------------------------------------------
   13. UPCOMING RETREATS SECTION
   ---------------------------------------------------------------- */
.upcoming {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--black-2) 100%);
  position: relative;
}

.upcoming::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.retreat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: start;
}

/* Retreat Card */
.retreat-card {
  border-radius: var(--radius-lg);
  border: var(--border-gold);
  background: rgba(255,255,255,0.02);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med);
}

.retreat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold), var(--shadow-card);
}

.retreat-card.featured {
  border-color: rgba(201,168,76,0.6);
  background: linear-gradient(160deg, rgba(59,31,110,0.15) 0%, rgba(5,5,5,0.8) 60%);
}

.retreat-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.retreat-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px 0;
}

.badge {
  font-family: var(--font-cinzel);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.badge-featured { background: var(--gold); color: var(--black); }
.badge-early    { background: transparent; border: 1px solid var(--gold-dark); color: var(--gold); }
.badge-limited  { background: rgba(107,63,160,0.3); border: 1px solid var(--purple-light); color: var(--purple-light); }

.retreat-card-inner { padding: 24px; }
.retreat-card-badges ~ .retreat-card-inner { padding-top: 16px; }

.retreat-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-cinzel);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.retreat-card-title {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 700;
}

.retreat-card-date {
  font-family: var(--font-cinzel);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 24px;
}

/* Countdown */
.countdown-wrapper { margin-bottom: 24px; }

.countdown-label {
  font-family: var(--font-cinzel);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-faint);
  margin-bottom: 12px;
}

.countdown {
  display: flex;
  gap: 12px;
}

.countdown-unit {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
}

.countdown-number {
  font-family: var(--font-cinzel);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.countdown-text {
  font-family: var(--font-cinzel);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-faint);
  margin-top: 6px;
}

.retreat-card-desc {
  font-size: 0.92rem;
  color: var(--white-dim);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* Pricing tiers */
.pricing-tiers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(201,168,76,0.04);
  border: var(--border-gold);
}

.pricing-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pricing-label {
  font-family: var(--font-cinzel);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.pricing-price {
  font-family: var(--font-cinzel);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* Availability bar */
.retreat-availability { margin-bottom: 20px; }

.availability-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}

.availability-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 100px;
  transition: width 1s var(--ease);
}

.availability-text {
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-family: var(--font-cinzel);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.retreat-payment-note {
  font-size: 0.8rem;
  color: var(--white-faint);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Coming soon card */
.coming-soon .retreat-card-inner { padding: 32px 24px; }

.coming-soon-content {
  text-align: center;
  padding: 40px 0;
}

.coming-soon-icon {
  font-size: 3rem;
  color: var(--gold-dark);
  margin-bottom: 16px;
  animation: rotatePulse 4s ease-in-out infinite;
}

@keyframes rotatePulse {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.5; }
  50%       { transform: rotate(45deg) scale(1.1); opacity: 1; }
}

.coming-soon-content p {
  font-size: 0.92rem;
  color: var(--white-dim);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* ----------------------------------------------------------------
   14. WALL OF WITNESSES
   ---------------------------------------------------------------- */
.witnesses {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--black-2) 0%, var(--purple-deep) 50%, var(--black-2) 100%);
  position: relative;
}

.witnesses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

/* Witness Card */
.witness-card {
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med);
  cursor: pointer;
}

.witness-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(201,168,76,0.15), var(--shadow-card);
  border-color: rgba(201,168,76,0.6);
}

.witness-card-inner {
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

/* Seal */
.witness-seal {
  width: 100px;
  height: 100px;
  position: relative;
}

/* Real seal image styling */
.witness-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--gold-dark);
}

/* Placeholder seal */
.seal-img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--gold-dark);
  background: radial-gradient(circle, rgba(59,31,110,0.4) 0%, rgba(5,5,5,0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.seal-initials {
  font-family: var(--font-cinzel);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.seal-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.2);
  animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50%       { transform: scale(1.05); opacity: 0.7; }
}

.witness-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.witness-title {
  font-family: var(--font-cinzel);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.5;
}

.witness-excerpt {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--white-dim);
  line-height: 1.6;
  border-left: 2px solid var(--gold-dark);
  padding-left: 12px;
  text-align: left;
}

.witnesses-footer {
  text-align: center;
}
.witnesses-footer p {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--white-dim);
  margin-bottom: 24px;
}

/* ----------------------------------------------------------------
   15. MEMBER MODAL
   ---------------------------------------------------------------- */
.member-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
}
.member-modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(12px);
}

.modal-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(160deg, rgba(30,10,60,0.95) 0%, rgba(5,5,5,0.98) 100%);
  border: var(--border-gold-strong);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-gold), var(--shadow-lg);
  animation: modalIn 0.35s var(--ease-out) both;
  text-align: center;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--white-dim);
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.modal-close:hover { color: var(--gold); background: rgba(255,255,255,0.1); }

.modal-seal {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.modal-seal-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--gold-dark);
  background: radial-gradient(circle, rgba(59,31,110,0.5) 0%, rgba(5,5,5,0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cinzel);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}

.modal-eyebrow {
  display: block;
  font-family: var(--font-cinzel);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.modal-inner h3 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--white);
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-cinzel);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.modal-divider {
  width: 50px;
  height: 1px;
  background: var(--gold-dark);
  margin: 0 auto 24px;
}

.modal-ack {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.85;
  text-align: left;
  margin-bottom: 28px;
}

.modal-seal-text {
  font-family: var(--font-cinzel);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  text-transform: uppercase;
}

/* ----------------------------------------------------------------
   16. TESTIMONIALS SECTION
   ---------------------------------------------------------------- */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

/* Carousel */
.carousel-wrapper {
  position: relative;
  margin-bottom: 64px;
}

.carousel {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
}

/* Testimonial Card */
.testimonial-card {
  padding: 48px 40px;
  background: rgba(255,255,255,0.03);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 600px) {
  .testimonial-card { padding: 32px 24px; }
}

.testimonial-label {
  font-family: var(--font-cinzel);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}

.testimonial-stars {
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 4px;
}

.testimonial-card blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.75;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: var(--border-gold);
  background: radial-gradient(circle, var(--purple-mid), var(--black));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cinzel);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 600;
}
.testimonial-author span {
  font-family: var(--font-cinzel);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.carousel-btn {
  font-size: 1.2rem;
  color: var(--white-dim);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: var(--border-gold);
  transition: all var(--t-fast);
}
.carousel-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-dim);
}
.carousel-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201,168,76,0.25);
  border: none;
  cursor: pointer;
  transition: all var(--t-fast);
}
.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* Video Testimonials */
.video-testimonials-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  text-align: center;
  margin-bottom: 28px;
}

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

.video-card {}

.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at center, rgba(30,10,60,0.6), var(--black-3));
  border-radius: var(--radius-md);
  border: var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  margin-bottom: 12px;
}

.video-placeholder:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.video-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  z-index: 1;
}
.video-play-btn:hover {
  background: rgba(201,168,76,0.25);
  transform: scale(1.1);
}

.video-play-icon {
  font-size: 1.4rem;
  color: var(--gold);
  margin-left: 4px;
}

.video-placeholder-label {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-cinzel);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-faint);
}

.video-card-caption {
  font-size: 0.88rem;
  color: var(--white-dim);
  text-align: center;
}

/* ----------------------------------------------------------------
   17. DONATION / FUNDRAISING SECTION
   ---------------------------------------------------------------- */
.donate {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
  background: var(--black-2);
}

.donate-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 40%, rgba(59,31,110,0.25), transparent),
    radial-gradient(ellipse 50% 50% at 80% 60%, rgba(201,168,76,0.05), transparent),
    radial-gradient(ellipse 40% 80% at 50% 100%, rgba(14,5,32,0.6), transparent);
  pointer-events: none;
}

/* Sacred geometry rings behind content */
.donate-sacred-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.sacred-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.06);
}
.sacred-ring-1 { width: 600px; height: 600px; animation: ringRotate 60s linear infinite; }
.sacred-ring-2 { width: 900px; height: 900px; animation: ringRotate 90s linear infinite reverse; }
.sacred-ring-3 { width: 1200px; height: 1200px; animation: ringRotate 120s linear infinite; }

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Mission Statement Banner ── */
.donate-mission {
  max-width: 820px;
  margin: 0 auto 72px;
  padding: 48px 48px;
  border: var(--border-gold-strong);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(30,10,60,0.5) 0%, rgba(5,5,5,0.7) 100%);
  backdrop-filter: blur(12px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.donate-mission::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.donate-mission::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}

@media (max-width: 600px) {
  .donate-mission { padding: 32px 24px; }
}

.donate-mission-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 24px;
}

.donate-mission-body {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--white-dim);
  line-height: 1.9;
  max-width: 700px;
  margin: 0 auto 18px;
}

.donate-mission-body strong {
  color: var(--gold-light);
  font-weight: 600;
}

.donate-mission-highlight {
  font-family: var(--font-cinzel);
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(201,168,76,0.2);
}

/* ── Goal / Progress Block ── */
.donate-goal-block {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 72px;
}

@media (max-width: 900px) {
  .donate-goal-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.donate-goal-eyebrow {
  font-family: var(--font-cinzel);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 12px;
}

.donate-goal-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 16px;
}

.donate-goal-desc {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* Progress bar */
.donate-progress {
  margin-bottom: 32px;
}

.donate-progress-numbers {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.donate-raised {
  font-family: var(--font-cinzel);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.donate-goal-label {
  font-size: 0.88rem;
  color: var(--white-dim);
}
.donate-goal-label strong { color: var(--white); }

.donate-progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid rgba(201,168,76,0.15);
}

.donate-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: 100px;
  transition: width 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.donate-progress-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-glow);
}

.donate-progress-meta {
  font-family: var(--font-cinzel);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  text-transform: uppercase;
}

/* CTAs inside goal block */
.donate-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.btn-donate {
  font-size: 0.85rem;
  padding: 18px 48px;
}
.btn-donate-icon { font-size: 1rem; }

.donate-note {
  font-size: 0.78rem;
  color: var(--white-faint);
  font-family: var(--font-cinzel);
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.donate-platform-link {
  color: var(--gold-dark);
  text-decoration: underline;
  text-decoration-color: rgba(201,168,76,0.3);
  transition: color var(--t-fast);
}
.donate-platform-link:hover { color: var(--gold); }

/* ── Impact Grid ── */
.donate-impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.donate-impact-card {
  padding: 24px 16px;
  text-align: center;
  border: var(--border-gold);
  border-radius: var(--radius-md);
  background: rgba(201,168,76,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.donate-impact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.impact-number {
  font-family: var(--font-cinzel);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.impact-label {
  font-family: var(--font-cinzel);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
}

/* Pull quote */
.donate-pull-quote {
  padding: 24px 28px;
  border-left: 3px solid var(--gold-dark);
  background: rgba(255,255,255,0.02);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.donate-pull-quote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 10px;
}
.donate-pull-quote cite {
  font-family: var(--font-cinzel);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-style: normal;
}

/* ── Section Label ── */
.donate-section-label {
  text-align: center;
  margin-bottom: 28px;
}
.donate-section-label span {
  font-family: var(--font-cinzel);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 8px 24px;
  border: var(--border-gold);
  border-radius: 100px;
  display: inline-block;
}

/* Donation Cards */
.donate-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 72px;
}

.donate-card {
  padding: 28px 20px;
  text-align: center;
  border: var(--border-gold);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.donate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.donate-card-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 14px;
}

.donate-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.donate-card p {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.donate-card-link {
  font-family: var(--font-cinzel);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  transition: color var(--t-fast);
  margin-top: auto;
}
.donate-card-link:hover { color: var(--gold-light); }

/* ── Final CTA Block ── */
.donate-final-cta {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 40px;
  border: var(--border-gold-strong);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(30,10,60,0.4) 0%, rgba(5,5,5,0.8) 100%);
  position: relative;
  overflow: hidden;
}

.donate-final-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

@media (max-width: 600px) {
  .donate-final-cta { padding: 36px 24px; }
}

.donate-final-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 20px;
}

.donate-final-sub {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------------------------
   18. CONTACT SECTION
   ---------------------------------------------------------------- */
.contact {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--black-2) 0%, var(--black) 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-wrapper { grid-template-columns: 1fr; }
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-block h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-info-block p {
  font-size: 0.88rem;
  color: var(--white-dim);
  line-height: 1.75;
}

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-link {
  font-family: var(--font-cinzel);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t-fast);
}
.social-link:hover { color: var(--gold-light); }

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-cinzel);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.required { color: var(--gold-dark); }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 18px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(248,244,238,0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-group select option {
  background: var(--black-3);
  color: var(--white);
}

.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

/* Validation states */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: rgba(220, 80, 80, 0.7);
}

.form-error {
  font-size: 0.75rem;
  color: rgba(220, 80, 80, 0.9);
  min-height: 18px;
  display: block;
}

/* Honeypot - visually hidden */
.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form success */
.form-success {
  text-align: center;
  padding: 48px 32px;
  border: var(--border-gold-strong);
  border-radius: var(--radius-lg);
  background: rgba(201,168,76,0.04);
  animation: modalIn 0.4s var(--ease-out) both;
}

.form-success[hidden] { display: none; }

.success-icon {
  font-size: 3rem;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% { text-shadow: 0 0 20px rgba(201,168,76,0.5); }
  50%       { text-shadow: 0 0 40px rgba(201,168,76,0.9); }
}

.form-success h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 8px;
}

.success-sub {
  font-family: var(--font-cinzel);
  font-size: 0.68rem !important;
  letter-spacing: 0.12em;
  color: var(--gold-dark) !important;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------
   19. FOOTER
   ---------------------------------------------------------------- */
.footer {
  background: var(--black);
  border-top: var(--border-gold);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.footer-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand-name {
  font-family: var(--font-cinzel);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-brand-tagline {
  font-size: 0.7rem;
  color: var(--white-faint);
  letter-spacing: 0.05em;
  font-style: italic;
}

.footer-divider-vertical {
  width: 1px;
  height: 36px;
  background: rgba(201,168,76,0.2);
}
@media (max-width: 600px) {
  .footer-divider-vertical { display: none; }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
}

.footer-nav a {
  font-family: var(--font-cinzel);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-faint);
  padding: 4px 8px;
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  transition: all var(--t-fast);
}
.footer-social-link svg { width: 18px; height: 18px; }
.footer-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
  box-shadow: 0 0 16px var(--gold-glow);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(248,244,238,0.25);
  letter-spacing: 0.05em;
  line-height: 1.8;
}

/* ----------------------------------------------------------------
   20. BACK TO TOP BUTTON
   ---------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--black-3);
  border: var(--border-gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: all var(--t-fast);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.back-to-top:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold), var(--shadow-card);
  transform: translateY(-4px);
}

.back-to-top svg { width: 20px; height: 20px; }

/* ----------------------------------------------------------------
   21. GLASSMORPHISM UTILITY
   ---------------------------------------------------------------- */
.glass {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-gold);
  border-radius: var(--radius-md);
}

/* ----------------------------------------------------------------
   22. SCROLLBAR STYLING
   ---------------------------------------------------------------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ----------------------------------------------------------------
   23. MOBILE RESPONSIVENESS POLISH
   ---------------------------------------------------------------- */
@media (max-width: 600px) {
  .hero-ctas .btn {
    padding: 12px 22px;
    font-size: 0.72rem;
  }

  .about-quote {
    padding: 32px 24px;
  }
  .about-quote::before {
    font-size: 4rem;
    top: -16px;
  }

  .countdown { gap: 8px; }
  .countdown-number { font-size: 1.3rem; }

  .modal-inner { padding: 36px 24px; }

  .retreat-card-badges { padding: 16px 16px 0; }
  .retreat-card-inner  { padding: 16px; }

  .contact-wrapper { gap: 32px; }
}

/* ----------------------------------------------------------------
   24. PRINT BASIC
   ---------------------------------------------------------------- */
@media print {
  .main-nav, .back-to-top, .hero-particles, .hero-rays { display: none; }
  body { background: white; color: black; }
}
