/* ============================================================
   VOICES STILL SPEAKING — CINEMATIC STYLESHEET
   Deep Royal Blue + Rich Gold | Premium Nonprofit Experience
   ============================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --navy: #0a0e1a;
  --navy-mid: #0d1425;
  --navy-light: #142035;
  --navy-surface: #1a2840;
  --gold: #D4A017;
  --gold-light: #F0C040;
  --gold-pale: #F5D87A;
  --gold-dim: rgba(212, 160, 23, 0.15);
  --white: #FFFFFF;
  --off-white: #F0EDE8;
  --text-primary: #F0EDE8;
  --text-secondary: rgba(240, 237, 232, 0.65);
  --text-muted: rgba(240, 237, 232, 0.4);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-height: 72px;
  --section-pad: clamp(80px, 10vw, 140px);
  --container-max: 1200px;

  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  --shadow-gold: 0 0 40px rgba(212, 160, 23, 0.25);
  --shadow-depth: 0 30px 80px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ===== SELECTION ===== */
::selection { background: rgba(212, 160, 23, 0.3); color: var(--white); }

/* ===== UTILITY ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.gold-text { color: var(--gold); }
.text-center { text-align: center; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.section-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-smooth);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(212, 160, 23, 0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid rgba(240, 237, 232, 0.3);
  border-radius: 3px;
  transition: all 0.3s var(--ease-smooth);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  transition-delay: var(--delay, 0s);
}
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ===================================================
   NAVIGATION
   =================================================== */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 60px);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
#main-nav.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(212, 160, 23, 0.15);
}

.nav-logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(212, 160, 23, 0.3));
  transition: transform 0.3s ease;
}
.nav-logo img:hover { transform: scale(1.04); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links li a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.25s ease;
  position: relative;
}
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links li a:hover { color: var(--white); }
.nav-links li a:hover::after { width: 100%; }

.nav-links .nav-cta {
  padding: 10px 24px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 3px;
  font-weight: 700;
  transition: all 0.3s ease;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.4);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(10, 14, 26, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 24px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s var(--ease-smooth), opacity 0.4s ease;
  pointer-events: none;
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu li a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-menu li a:hover { color: var(--gold); padding-left: 8px; }

/* ===================================================
   HERO SECTION
   =================================================== */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.hero-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease 0.5s, transform 1.2s var(--ease-out-expo) 0.5s;
}
.hero-tagline.visible { opacity: 1; transform: translateY(0); }

.hero-main-text {
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 13vw, 10rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  margin-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.18em;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) scaleY(1.1);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  transition-delay: calc(0.2s + var(--i, 0) * 0.15s);
  text-shadow:
    0 0 60px rgba(212, 160, 23, 0.15),
    0 4px 20px rgba(0, 0, 0, 0.5);
}
.hero-word.visible {
  opacity: 1;
  transform: translateY(0) scaleY(1);
}
.hero-word.gold {
  color: var(--gold);
  text-shadow:
    0 0 80px rgba(212, 160, 23, 0.5),
    0 0 30px rgba(212, 160, 23, 0.3),
    0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease 1s, transform 1s var(--ease-out-expo) 1s;
}
.hero-sub.visible { opacity: 1; transform: translateY(0); }

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease 1.3s, transform 1s var(--ease-out-expo) 1.3s;
}
.hero-cta-group.visible { opacity: 1; transform: translateY(0); }

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeInScroll 1s ease 2s forwards;
}
@keyframes fadeInScroll {
  to { opacity: 0.6; }
}
.hero-scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1.5px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.6); opacity: 1; }
}

/* ===================================================
   MISSION SECTION
   =================================================== */
.section-mission {
  position: relative;
  padding: var(--section-pad) 0;
  background: var(--navy-mid);
  overflow: hidden;
}
.mission-bg-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 20px;
}

.mission-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.85;
}
.mission-text p strong { color: var(--text-primary); font-weight: 600; }
.mission-lead {
  font-size: 1.2rem !important;
  color: var(--text-primary) !important;
  line-height: 1.75 !important;
  font-weight: 300;
}

.mission-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid rgba(212, 160, 23, 0.15);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(212, 160, 23, 0.4);
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mission-photo-stack {
  position: relative;
  height: 520px;
}
.photo-card {
  position: absolute;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow-depth);
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s ease;
}
.photo-card:hover {
  transform: scale(1.02) translateY(-4px) !important;
  box-shadow: var(--shadow-depth), 0 0 40px rgba(212, 160, 23, 0.2);
  z-index: 10;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}
.photo-card:hover img { transform: scale(1.05); }
.photo-card-1 {
  width: 75%;
  height: 380px;
  top: 0;
  right: 0;
  transform: rotate(1.5deg);
}
.photo-card-2 {
  width: 55%;
  height: 280px;
  bottom: 0;
  left: 0;
  transform: rotate(-2deg);
  border: 2px solid rgba(212, 160, 23, 0.25);
}
.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(10,14,26,0.9), transparent);
}
.photo-overlay span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===================================================
   OUTCOMES SECTION
   =================================================== */
.section-outcomes {
  padding: var(--section-pad) 0;
  background: var(--navy);
  position: relative;
}
.section-outcomes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.3), transparent);
}

.outcomes-inner { padding: 0; }

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.outcome-card {
  background: var(--navy-surface);
  border: 1px solid rgba(212, 160, 23, 0.1);
  border-radius: 8px;
  padding: 40px 32px;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.outcome-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.outcome-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 160, 23, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(212,160,23,0.1);
}
.outcome-card:hover::after { transform: scaleX(1); }

.outcome-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}
.outcome-icon svg { width: 100%; height: 100%; }

.outcome-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.outcome-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ===================================================
   PROGRAM / 4-WEEK JOURNEY
   =================================================== */
.section-program {
  padding: var(--section-pad) 0 0;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}
.program-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.weeks-container {
  margin-top: 80px;
}

.week-panel {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(212, 160, 23, 0.08);
}
.week-panel:last-child { border-bottom: 1px solid rgba(212, 160, 23, 0.08); }

.week-panel[data-week="1"] { background: linear-gradient(135deg, #0d1425 0%, #0a1020 100%); }
.week-panel[data-week="2"] { background: linear-gradient(135deg, #0f1628 0%, #0c1322 100%); }
.week-panel[data-week="3"] { background: linear-gradient(135deg, #111a2e 0%, #0e1528 100%); }
.week-panel[data-week="4"] { background: linear-gradient(135deg, #141e34 0%, #0f1a2e 100%); }

.week-bg-canvas {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
}

.week-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: center;
}
.week-panel:nth-child(even) .week-content {
  grid-template-columns: 1fr 200px;
}
.week-panel:nth-child(even) .week-number { order: 2; text-align: right; }
.week-panel:nth-child(even) .week-info { order: 1; }

.week-number {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 12vw, 10rem);
  color: rgba(212, 160, 23, 0.08);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.4s ease;
  user-select: none;
}
.week-panel:hover .week-number { color: rgba(212, 160, 23, 0.15); }

.week-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.week-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.1;
}
.week-focus {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.week-focus strong { font-weight: 600; }
.week-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 32px;
}

.week-visual-motif {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.particle-ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 160, 23, 0.3);
  position: relative;
  animation: ringPulse 3s ease infinite;
}
.particle-ring::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(212, 160, 23, 0.2);
  animation: ringPulse 3s ease 0.5s infinite;
}
.ring-dynamic { animation-duration: 2s; }
.ring-structured { border-color: rgba(212, 160, 23, 0.6); animation-duration: 1.5s; }
.ring-full {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 160, 23, 0.4);
  animation-duration: 1s;
}
.ring-full::before { border-color: rgba(212, 160, 23, 0.5); }
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* ===================================================
   COMMUNITY / GALLERY SECTION  (v2 — Three.js canvas)
   =================================================== */
.section-community {
  padding: var(--section-pad) 0 60px;
  background: var(--navy);
  overflow: hidden;
}

/* ── Gallery3D wrapper ─────────────────────────────── */
.gallery-3d-wrap {
  position: relative;
  width: 100%;
  margin: 0 0 0;
}

#galleryCanvas {
  display: block;
  width: 100%;
  height: clamp(320px, 50vw, 580px);
  cursor: grab;
  touch-action: pan-y;
}
#galleryCanvas:active { cursor: grabbing; }

/* Info overlay below canvas */
.gallery-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 20px 0;
  text-align: center;
  min-height: 72px;
  transition: opacity 0.4s ease;
}

.gallery-info .gallery-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 5px 14px;
  border-radius: 2px;
}

.gallery-info p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 520px;
}

/* Drag hint */
.gallery-3d-wrap::after {
  content: 'Drag or use arrows to explore';
  position: absolute;
  bottom: 86px;   /* sits just above .gallery-info */
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  animation: hintFadeIn 1s ease 2.5s forwards;
}
@keyframes hintFadeIn {
  to { opacity: 1; }
}

/* ── Controls (shared with old design) ─────────────── */
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 20px;
}
.gallery-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-surface);
  border: 1px solid rgba(212, 160, 23, 0.2);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
}
.gallery-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: scale(1.1);
}
.gallery-dots {
  display: flex;
  gap: 8px;
}
.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}
.gallery-dot.active {
  background: var(--gold);
  transform: scale(1.4);
}

/* ===================================================
   PATHWAYS SECTION
   =================================================== */
.section-pathways {
  padding: var(--section-pad) 0;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}
.pathways-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(212,160,23,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(13,20,37,0.8) 0%, transparent 70%);
  pointer-events: none;
}

.pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.pathway-card {
  background: rgba(26, 40, 64, 0.6);
  border: 1px solid rgba(212, 160, 23, 0.1);
  border-radius: 10px;
  padding: 40px 32px;
  position: relative;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  transition-delay: var(--delay, 0s);
}
.pathway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.5), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.pathway-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 160, 23, 0.25);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), var(--shadow-gold);
}
.pathway-card:hover::before { transform: scaleX(1); }

.pathway-featured {
  border-color: rgba(212, 160, 23, 0.25);
  background: rgba(26, 40, 64, 0.9);
  transform: translateY(-8px) scale(1.02);
}
.pathway-featured:hover { transform: translateY(-16px) scale(1.02); }
.pathway-featured-label {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 2px;
}

.pathway-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-dim);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 16px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.pathway-card:hover .pathway-icon {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.1) rotate(5deg);
}

.pathway-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: rgba(212, 160, 23, 0.06);
  line-height: 1;
  position: absolute;
  top: 20px;
  left: 24px;
  user-select: none;
  transition: color 0.4s ease;
}
.pathway-card:hover .pathway-number { color: rgba(212, 160, 23, 0.12); }

.pathway-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.pathway-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.pathway-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 5px 12px;
  border-radius: 2px;
  position: relative;
  z-index: 1;
}

.pathways-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 50px;
  padding: 20px 28px;
  background: var(--gold-dim);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.pathways-note i { color: var(--gold); font-size: 16px; flex-shrink: 0; }
.pathways-note strong { color: var(--text-primary); }

/* ===================================================
   IMPLEMENTATION SECTION
   =================================================== */
.section-implementation {
  padding: var(--section-pad) 0;
  background: var(--navy);
  position: relative;
}
.section-implementation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.2), transparent);
}

.impl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.impl-text .section-title { margin-bottom: 20px; }
.impl-text p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.impl-list {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.impl-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.impl-list li i {
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}

.impl-card-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.impl-detail-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--navy-surface);
  border: 1px solid rgba(212, 160, 23, 0.1);
  border-radius: 8px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.impl-detail-card:hover {
  transform: translateX(6px);
  border-color: rgba(212, 160, 23, 0.3);
}

.impl-icon {
  width: 42px;
  height: 42px;
  background: var(--gold-dim);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
}

.impl-detail-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.impl-detail-text strong {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.impl-detail-text span {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* ===================================================
   QUOTE SECTION
   =================================================== */
.section-quote {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--navy-mid);
  text-align: center;
  overflow: hidden;
}
#quoteCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.6;
}
.quote-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.quote-artwork {
  width: 120px;
  height: 120px;
  margin: 0 auto 36px;
  filter: drop-shadow(0 0 30px rgba(212, 160, 23, 0.5));
  animation: quoteFloat 4s ease infinite;
}
.quote-artwork img { width: 100%; height: 100%; object-fit: contain; }
@keyframes quoteFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
cite {
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  font-style: normal;
}

/* ===================================================
   CONTACT SECTION
   =================================================== */
.section-contact {
  padding: var(--section-pad) 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.3), transparent);
}

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

.contact-text .section-title { margin-bottom: 20px; }
.contact-text p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-item i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }

.contact-form-wrap {
  background: var(--navy-surface);
  border: 1px solid rgba(212, 160, 23, 0.12);
  border-radius: 12px;
  padding: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212, 160, 23, 0.15);
  border-radius: 5px;
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D4A017' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group select option { background: var(--navy-mid); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success.show { display: block; }
.form-success i { font-size: 48px; color: var(--gold); margin-bottom: 16px; display: block; }
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--text-secondary); }

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  position: relative;
  padding: 80px 0 40px;
  background: var(--navy-mid);
  overflow: hidden;
  border-top: 1px solid rgba(212, 160, 23, 0.12);
}

.footer-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 10px rgba(212, 160, 23, 0.2));
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212, 160, 23, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  position: relative;
  z-index: 1;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem !important;
  color: var(--text-secondary) !important;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .mission-grid { grid-template-columns: 1fr; gap: 60px; }
  .mission-photo-stack { height: 400px; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 20px; }
  .pathways-grid { grid-template-columns: 1fr; gap: 20px; }
  .pathway-featured { transform: none; }
  .pathway-featured:hover { transform: translateY(-8px); }
  .impl-grid { grid-template-columns: 1fr; gap: 60px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-main-text {
    flex-direction: column;
    gap: 0;
  }

  .week-content {
    grid-template-columns: 1fr !important;
    padding: 50px clamp(20px, 5vw, 40px);
  }
  .week-panel:nth-child(even) .week-number { order: 0; text-align: left; }
  .week-number { font-size: 5rem; }

  /* Gallery3D responsive */
  #galleryCanvas { height: clamp(240px, 70vw, 380px); }
  .gallery-3d-wrap::after { display: none; }

  .mission-stats { gap: 24px; }
  .stat-number { font-size: 2.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .contact-form-wrap { padding: 28px 20px; }

  .mission-photo-stack { height: 340px; }
  .photo-card-1 { width: 85%; height: 300px; }
  .photo-card-2 { width: 65%; height: 220px; }

  .outcomes-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; }
  .hero-main-text { font-size: clamp(3.5rem, 16vw, 5rem); }
  .mission-stats { flex-wrap: wrap; justify-content: center; }
}

/* ===================================================
   LOADING SCREEN  (v2 — .ls-* classes)
   =================================================== */
#loadingScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.85s ease, visibility 0.85s ease;
}
#loadingScreen.ls-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* logo */
.ls-logo img {
  height: 64px;
  width: auto;
  animation: lsPulse 2s ease infinite;
  filter: drop-shadow(0 0 18px rgba(212,160,23,0.35));
}
@keyframes lsPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); filter: drop-shadow(0 0 10px rgba(212,160,23,0.2)); }
  50%       { opacity: 1;    transform: scale(1.00); filter: drop-shadow(0 0 26px rgba(212,160,23,0.6)); }
}

/* progress bar */
.ls-bar-wrap {
  width: 220px;
  height: 2px;
  background: rgba(212, 160, 23, 0.14);
  border-radius: 1px;
  overflow: hidden;
}
.ls-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 1px;
  transition: width 0.12s ease;
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.7);
}

/* status text */
.ls-text {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===================================================
   AMBIENT GLOW DECORATIONS
   =================================================== */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}
.glow-orb-gold {
  background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 70%);
}
.glow-orb-blue {
  background: radial-gradient(circle, rgba(30,60,120,0.25) 0%, transparent 70%);
}

/* Subtle page-wide texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.4;
}
