/* ═══════════════════════════════════════════════════════════
   NEW MAN RISING - Full Design System
   Afro-futuristic Luxury · Dark + Gold · Cinematic
   ═══════════════════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }

/* ─── Design Tokens ─── */
:root {
  --color-primary-fixed:              #ffe088;
  --color-surface-container-highest:  #d6d1c6;
  --color-on-tertiary:                #ffffff;
  --color-on-error-container:         #410002;
  --color-surface-container:          #ebe7dd;
  --color-primary:                    #d4af37;
  --color-surface-tint:               #d4af37;
  --color-surface-container-low:      #f5f2ea;
  --color-primary-fixed-dim:          #e9c349;
  --color-surface-container-lowest:   #ffffff;
  --color-tertiary-fixed-dim:         #c4cd6e;
  --color-secondary-fixed-dim:        #ffb693;
  --color-outline:                    #bdb7a9;
  --color-on-tertiary-container:      #1a1e00;
  --color-on-surface-variant:         #4f4b44;
  --color-inverse-on-surface:         #fdfbf7;
  --color-surface-container-high:     #f3ede3;
  --color-tertiary-container:         #d9e27c;
  --color-outline-variant:            #d0caba;
  --color-secondary-container:        #ffdbcc;
  --color-tertiary:                   #6c7616;
  --color-inverse-surface:            #313031;
  --color-on-tertiary-fixed:          #1a1e00;
  --color-inverse-primary:            #ffe088;
  --color-on-primary-fixed-variant:   #574500;
  --color-secondary-fixed:            #ffdbcc;
  --color-on-error:                   #ffffff;
  --color-tertiary-fixed:             #e0ea86;
  --color-on-secondary-container:     #2b0d00;
  --color-surface-dim:                #d5d1c6;
  --color-on-surface:                 #1e1b18;
  --color-on-tertiary-fixed-variant:  #444b00;
  --color-background:                 #fcf8f1;
  --color-on-background:              #1f1c17;
  --color-secondary:                  #8c4a23;
  --color-error:                      #ba1a1a;
  --color-on-primary:                 #ffffff;
  --color-surface-bright:             #ffffff;
  --color-on-secondary:               #ffffff;
  --color-on-secondary-fixed-variant: #7a3000;
  --color-primary-container:          #f2ca50;
  --color-on-primary-container:       #241a00;
  --color-surface:                    #ffffff;
  --color-on-primary-fixed:           #241a00;
  --color-on-secondary-fixed:         #351000;
  --color-surface-variant:            #ece3d5;
  --color-error-container:            #ffdad6;
  /* Enhanced tokens */
  --gold-1: #ffe088;
  --gold-2: #f2ca50;
  --gold-3: #d4af37;
  --gold-4: #b8860b;
  --ink:    #0a0a0b;
  --radius-card: 1.5rem;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

.dark {
  --color-primary-fixed:              #ffe088;
  --color-surface-container-highest:  #353436;
  --color-on-tertiary:                #2e3300;
  --color-on-error-container:         #ffdad6;
  --color-surface-container:          #201f20;
  --color-primary:                    #f2ca50;
  --color-surface-tint:               #e9c349;
  --color-surface-container-low:      #1c1b1c;
  --color-primary-fixed-dim:          #e9c349;
  --color-surface-container-lowest:   #0e0e0f;
  --color-tertiary-fixed-dim:         #c4cd6e;
  --color-secondary-fixed-dim:        #ffb693;
  --color-outline:                    #99907c;
  --color-on-tertiary-container:      #434900;
  --color-on-surface-variant:         #d0c5af;
  --color-inverse-on-surface:         #313031;
  --color-surface-container-high:     #2a2a2b;
  --color-tertiary-container:         #b0ba5c;
  --color-outline-variant:            #4d4635;
  --color-secondary-container:        #ea6b1e;
  --color-tertiary:                   #ccd675;
  --color-inverse-surface:            #e5e2e3;
  --color-on-tertiary-fixed:          #1a1e00;
  --color-inverse-primary:            #735c00;
  --color-on-primary-fixed-variant:   #574500;
  --color-secondary-fixed:            #ffdbcc;
  --color-on-error:                   #690005;
  --color-tertiary-fixed:             #e0ea86;
  --color-on-secondary-container:     #4b1b00;
  --color-surface-dim:                #131314;
  --color-on-surface:                 #e5e2e3;
  --color-on-tertiary-fixed-variant:  #444b00;
  --color-background:                 #0a0a0b;
  --color-on-background:              #e5e2e3;
  --color-secondary:                  #ffb693;
  --color-error:                      #ffb4ab;
  --color-on-primary:                 #3c2f00;
  --color-surface-bright:             #3a393a;
  --color-on-secondary:               #562000;
  --color-on-secondary-fixed-variant: #7a3000;
  --color-primary-container:          #d4af37;
  --color-on-primary-container:       #554300;
  --color-surface:                    #131314;
  --color-on-primary-fixed:           #241a00;
  --color-on-secondary-fixed:         #351000;
  --color-surface-variant:            #353436;
  --color-error-container:            #93000a;
}

/* ─── Body ─── */
body {
  background-color: var(--color-background);
  color: var(--color-on-background);
  overflow-x: hidden;
  overflow-y: auto;
  font-family: 'Hanken Grotesk', sans-serif;
  margin: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

img[loading="lazy"] {
  content-visibility: auto;
}

::selection { background: var(--color-primary); color: var(--color-on-primary); }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0a0a0b; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #3a3a3b, #f2ca50 50%, #3a3a3b);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: #f2ca50; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ─── Material Symbols ─── */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ─── Grid Overlay ─── */
.grid-overlay {
  background-image:
    linear-gradient(to right,  rgba(242, 202, 80, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 202, 80, 0.028) 1px, transparent 1px);
  background-size: 80px 80px;
}
body.page-about .grid-overlay {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(212, 175, 55, 0.05) 1px, transparent 0);
  background-size: 36px 36px;
}

body.page-home {
  overflow-x: hidden;
  overflow-y: auto;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0b0b0b 0%, #161616 100%);
  color: #f2ca50;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid #f2ca50;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  border-color: #d8ae2d;
}

.whatsapp-float:focus-visible {
  outline: 2px solid rgba(242, 202, 80, 0.8);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 54px;
    height: 54px;
  }
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */

/* Refined headline treatment */
h1, h2, h3 {
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════
   LAYOUT UTILITIES
   ═══════════════════════════════════════════ */

.py-section-gap {
  padding-top: clamp(3rem, 8vw, 7rem);
  padding-bottom: clamp(3rem, 8vw, 7rem);
}

/* ═══════════════════════════════════════════
   GLASS CARDS
   ═══════════════════════════════════════════ */

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  transition:
    transform    0.35s var(--ease-spring),
    box-shadow   0.35s ease,
    border-color 0.35s ease;
  position: relative;
  overflow: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

/* Inner shimmer layer - always present, brightens on hover */
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.03) 0%,
    transparent 50%,
    rgba(242,202,80,0.025) 100%);
  pointer-events: none;
  border-radius: inherit;
  transition: opacity 0.5s ease;
}

.glass-card:hover {
  border-color: rgba(242, 202, 80, 0.22);
  box-shadow:
    0 0 0 1px rgba(242, 202, 80, 0.06),
    0 12px 36px rgba(0, 0, 0, 0.28),
    0 0 60px rgba(242, 202, 80, 0.06);
  transform: translateY(-3px) scale(1.01);
}
.glass-card:hover::before { opacity: 2; }

article.glass-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 0 60px rgba(242, 202, 80, 0.1),
    0 24px 56px rgba(0,0,0,0.55);
}

.hover-simple-card:hover {
  border-color: rgba(242,202,80,0.16);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

/* Glass form */
.glass-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.15);
}

.glow-gold {
  position: relative;
  isolation: isolate;
}

.glow-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
}

/* ═══════════════════════════════════════════
   GRADIENT UTILITIES
   ═══════════════════════════════════════════ */

.hero-gradient {
  background: linear-gradient(
    0deg,
    #0a0a0b 0%,
    rgba(10,10,11,0.72) 30%,
    rgba(10,10,11,0.28) 65%,
    transparent 100%
  );
}

.text-gradient-gold {
  background: linear-gradient(135deg, #ffe088 0%, #f2ca50 40%, #d4af37 70%, #f2ca50 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.text-gradient-warm {
  background: linear-gradient(135deg, #ffb693, #ea6b1e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-line {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(242,202,80,0.35), transparent);
}
.gradient-line-v {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(242,202,80,0.35), transparent);
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--gold-2);
  color: #2a1e00;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform    0.4s var(--ease-spring),
    box-shadow   0.4s ease,
    background   0.3s ease;
  /* Inset highlight */
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}

/* Liquid fill sweep on hover */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.55s ease, height 0.55s ease, opacity 0.55s ease;
  opacity: 0;
}
.btn-primary:hover::before { width: 300px; height: 300px; opacity: 1; }

.btn-primary:hover {
  background: var(--gold-1);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 0 rgba(242,202,80,0),
    0 6px 28px rgba(242,202,80,0.4),
    0 0 60px rgba(242,202,80,0.15),
    inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:active { transform: scale(0.97) translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  background: transparent;
  color: var(--gold-2);
  border: 1px solid rgba(242,202,80,0.5);
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform    0.4s var(--ease-spring),
    box-shadow   0.4s ease,
    border-color 0.3s ease,
    background   0.3s ease;
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(242,202,80,0.08), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.btn-outline:hover {
  border-color: var(--gold-2);
  background: rgba(242,202,80,0.08);
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(242,202,80,0.18), inset 0 0 20px rgba(242,202,80,0.04);
}
.btn-outline:hover::before { opacity: 1; }
.btn-outline:active { transform: scale(0.97) translateY(0); }

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */

nav {
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.nav-link {
  position: relative;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(208, 197, 175, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gold-2), var(--gold-1));
  transition: width 0.35s var(--ease-spring);
  border-radius: 1px;
}
.nav-link:hover { color: var(--gold-1); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--gold-2); }

/* Nav collapse */
#nav-links {
  transition: opacity 0.35s ease, max-width 0.35s ease, width 0.35s ease;
  overflow: hidden;
}
nav.nav-collapsed #nav-links {
  opacity: 0;
  width: 0;
  max-width: 0;
  pointer-events: none;
}

/* Mobile menu */
#mobile-menu {
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-spring);
  padding: calc(1rem + env(safe-area-inset-top)) 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
}
#mobile-menu.mobile-menu-open { transform: translateX(0); }
#mobile-menu[hidden]   { display: none !important; }
#mobile-menu.mobile-menu-open { display: flex !important; }
#mobile-menu a {
  width: min(100%, 18rem);
  text-align: center;
  padding: 0.35rem 0;
}
#mobile-menu .btn-primary {
  width: auto;
  margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════
   FORM INPUTS
   ═══════════════════════════════════════════ */

.form-input {
  width: 100%;
  background: rgba(22, 22, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e5e2e3;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 15px;
  border-radius: 14px;
  padding: 15px 18px;
  transition:
    border-color 0.3s ease,
    box-shadow   0.3s ease,
    background   0.3s ease;
}
.form-input::placeholder { color: rgba(208, 197, 175, 0.35); }
.form-input:focus {
  outline: none;
  border-color: rgba(242, 202, 80, 0.6);
  box-shadow:
    0 0 0 3px rgba(242, 202, 80, 0.07),
    0 0 24px rgba(242, 202, 80, 0.1);
  background: rgba(28, 26, 14, 0.9);
}

/* ═══════════════════════════════════════════
   SECTION DIVIDERS
   ═══════════════════════════════════════════ */

.section-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, var(--gold-3), var(--gold-1));
  border-radius: 2px;
  position: relative;
}
.section-divider::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 4px;
  background: var(--gold-2);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(242,202,80,0.6);
}

.ornate-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
}
.ornate-divider::before,
.ornate-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(242,202,80,0.3), transparent);
}
.ornate-divider span {
  font-family: 'Syne', sans-serif;
  color: rgba(242,202,80,0.4);
  font-size: 18px;
  letter-spacing: 0.3em;
}

/* ═══════════════════════════════════════════
   SOCIAL ICONS
   ═══════════════════════════════════════════ */

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(208, 197, 175, 0.6);
  text-decoration: none;
  transition:
    color        0.3s ease,
    border-color 0.3s ease,
    background   0.3s ease,
    transform    0.3s var(--ease-spring),
    box-shadow   0.3s ease;
  position: relative;
  overflow: hidden;
}
.social-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(242,202,80,0.12), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}
.social-icon:hover {
  border-color: rgba(242, 202, 80, 0.5);
  color: var(--gold-2);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242,202,80,0.2);
}
.social-icon:hover::before { opacity: 1; }

/* ═══════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════ */

.timeline-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(242,202,80,0.5) 20%,
    rgba(242,202,80,0.3) 80%,
    transparent
  );
}
@media (min-width: 768px) {
  .timeline-line { left: 50%; transform: translateX(-50%); }
}

.timeline-dot {
  width: 12px;
  height: 12px;
  background: var(--gold-2);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(242,202,80,0.5);
  flex-shrink: 0;
}
.timeline-dot-glow {
  width: 12px;
  height: 12px;
  background: var(--gold-2);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 12px rgba(242,202,80,0.6);
}
.timeline-dot-glow::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(242,202,80,0.15);
}
.timeline-dot-glow::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(242,202,80,0.25);
  animation: dotRipple 2.5s ease-out infinite;
}
@keyframes dotRipple {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */

.testimonial-card { position: relative; }
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -16px;
  left: 20px;
  font-size: 96px;
  font-family: 'Syne', serif;
  color: rgba(242,202,80,0.07);
  line-height: 1;
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   IMAGES
   ═══════════════════════════════════════════ */

.img-hover-zoom { overflow: hidden; }
.img-hover-zoom img {
  transition: transform 0.8s cubic-bezier(0.4,0,0.2,1), filter 0.8s ease;
}
.img-hover-zoom:hover img { transform: scale(1.06); filter: brightness(1.05); }

/* ═══════════════════════════════════════════
   GLOW / STAT
   ═══════════════════════════════════════════ */

.glow-gold { filter: drop-shadow(0 0 18px rgba(242,202,80,0.3)); }
.glow-gold-hover:hover {
  box-shadow: 0 0 28px rgba(242,202,80,0.22), 0 0 56px rgba(242,202,80,0.08);
}
.stat-glow { text-shadow: 0 0 40px rgba(242,202,80,0.3), 0 0 80px rgba(242,202,80,0.1); }
.counter-value { font-variant-numeric: tabular-nums; }

/* ═══════════════════════════════════════════
   ANIMATED BORDER CARD
   ═══════════════════════════════════════════ */

.animated-border {
  position: relative;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.animated-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 60%, rgba(242,202,80,0.7) 80%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  animation: spinSlow 8s linear infinite;
}
.animated-border:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.2);
}
.animated-border:hover::before { opacity: 1; }

/* ═══════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}
.gallery-item { border-radius: 12px; overflow: hidden; position: relative; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,11,0.7), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ═══════════════════════════════════════════
   MAP
   ═══════════════════════════════════════════ */

.map-container {
  background: rgba(20,20,22,0.5);
  border: 1px solid rgba(245,245,220,0.06);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.map-container::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(242,202,80,0.05), transparent 70%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   HALF-CLOCK RADIAL CAROUSEL
   ═══════════════════════════════════════════ */

#radialCarousel {
  position: relative;
  width: min(100%, 760px);
  height: clamp(440px, 46vh, 520px);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  padding-top: 1.2rem;
}

.half-circle-base {
  width: min(280px, 62vw);
  height: min(280px, 62vw);
  max-width: 280px;
  max-height: 280px;
  background: rgba(14, 14, 16, 0.92);
  border: 1px solid rgba(242,202,80,0.18);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    inset 0 0 0 1px rgba(242,202,80,0.06),
    0 30px 80px rgba(0,0,0,0.25),
    0 0 60px rgba(242,202,80,0.04);
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  overflow: hidden;
}

/* Rotating ring on circle base */
.half-circle-base::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(242,202,80,0.15) 25%,
    transparent 50%,
    rgba(242,202,80,0.08) 75%,
    transparent 100%
  );
  animation: spinSlow 12s linear infinite;
  pointer-events: none;
}

.half-clock-container {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.half-clock-card {
  position: absolute;
  width: min(280px, 24vw);
  max-width: 280px;
  min-width: 200px;
  opacity: 0.92;
  pointer-events: auto;
  transition:
    transform 0.65s var(--ease-spring),
    opacity   0.35s ease,
    filter    0.35s ease,
    box-shadow 0.35s ease;
  transform-origin: center bottom;
  z-index: 5;
  cursor: pointer;
}
.half-clock-card:hover { z-index: 50 !important; opacity: 1 !important; }

.half-clock-card:not(.featured) .glass-card {
  background: linear-gradient(160deg, rgba(18,18,20,0.9), rgba(12,12,14,0.8));
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.half-clock-card.featured .glass-card {
  background: rgba(8,8,10,0.96);
  border: 1px solid rgba(242,202,80,0.24);
  box-shadow: 0 36px 80px rgba(0,0,0,0.4), 0 0 40px rgba(242,202,80,0.06);
}
.half-clock-card.featured { opacity: 1; z-index: 22; }
.half-clock-card .glass-card { min-height: 320px; }

.program-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: rgba(8, 8, 10, 0.84);
  background-image: var(--program-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.half-clock-card:not(.featured) .glass-card.program-card,
.half-clock-card.featured .glass-card.program-card {
  background-color: rgba(8, 8, 10, 0.84);
  background-image: var(--program-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.program-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(2, 2, 3, 0.16) 0%, rgba(2, 2, 3, 0.62) 48%, rgba(2, 2, 3, 0.92) 100%),
    radial-gradient(circle at top left, rgba(242, 202, 80, 0.22), transparent 42%);
  transform: scale(1.02);
  transition: transform 0.7s var(--ease-spring), filter 0.55s ease;
  z-index: 0;
  pointer-events: none;
}

.program-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 34%, rgba(0,0,0,0.66) 100%);
  z-index: 0;
  pointer-events: none;
}

.program-card:hover::before {
  transform: scale(1.06);
}

.program-card-content {
  position: relative;
  z-index: 1;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.78), 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* Arc positions */
@media (min-width: 769px) {
.half-clock-card[data-position="0"] { left:11%; top:40%; transform:translate(-50%,-50%) rotateZ(-30deg) scale(0.86); z-index:8; }
.half-clock-card[data-position="1"] { left:27%; top:25%; transform:translate(-50%,-50%) rotateZ(-17deg) scale(0.96); z-index:12; }
.half-clock-card[data-position="2"] { left:50%; top:9%;  transform:translate(-50%,-50%) rotateZ(0deg)   scale(1.12); z-index:24; }
.half-clock-card[data-position="3"] { left:73%; top:25%; transform:translate(-50%,-50%) rotateZ(17deg)  scale(0.96); z-index:12; }
.half-clock-card[data-position="4"] { left:89%; top:40%; transform:translate(-50%,-50%) rotateZ(30deg)  scale(0.86); z-index:8; }
}

@media (max-width: 1024px) {
  #radialCarousel { height: clamp(440px, 50vh, 520px); }
  .half-circle-base { width: min(320px, 74vw); height: min(320px, 74vw); }
  .half-clock-card { width: min(260px, 28vw); min-width: 180px; }
  .half-clock-card[data-position="0"] { left:12%; top:40%; }
  .half-clock-card[data-position="1"] { left:28%; top:26%; }
  .half-clock-card[data-position="2"] { left:50%; top:13%; }
  .half-clock-card[data-position="3"] { left:72%; top:26%; }
  .half-clock-card[data-position="4"] { left:88%; top:40%; }
}

@media (max-width: 768px) {

  /* ── Carousel ── */
  #radialCarousel {
    height: auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 0 !important;
    display: block !important;
  }
  .half-circle-base { display: none !important; }
  .carousel-prev, .carousel-next { display: none !important; }

  /* Reset arc absolute positioning entirely */
  .half-clock-container {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    gap: 1rem !important;
    padding: 0.5rem 1.25rem 1.5rem !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    pointer-events: auto !important;
    align-items: stretch !important;
    width: 100% !important;
    height: auto !important;
  }
  .half-clock-container::-webkit-scrollbar { display: none; }

  /* Each card: flat, upright, scrollable */
  .half-clock-card,
  .half-clock-card[data-position="0"],
  .half-clock-card[data-position="1"],
  .half-clock-card[data-position="2"],
  .half-clock-card[data-position="3"],
  .half-clock-card[data-position="4"] {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    rotate: unset !important;
    opacity: 1 !important;
    flex: 0 0 78vw !important;
    width: 78vw !important;
    min-width: unset !important;
    max-width: 320px !important;
    height: auto !important;
    z-index: auto !important;
    scroll-snap-align: start !important;
  }

  .half-clock-card .glass-card,
  .half-clock-card.featured .glass-card {
    min-height: 200px !important;
    height: auto !important;
    padding: 1.5rem !important;
  }

  /* Always show descriptions - no hover on mobile */
  .half-clock-card .opacity-0 {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  /* ── Stats: 2×2 grid ── */
  .hero-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    border-radius: 1.25rem !important;
    padding: 0 !important;
    gap: 0 !important;
    overflow: hidden !important;
    flex-wrap: unset !important;
  }
  .hero-stat-divider { display: none !important; }
  .hero-stat {
    padding: 1.1rem 0.75rem !important;
    border-right: 1px solid rgba(255,255,255,0.07) !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  }
  .hero-stat:nth-child(even) { border-right: none !important; }
  .hero-stat:nth-child(n+4) { border-bottom: none !important; }
  .hero-stat-num { font-size: 1.6rem !important; }
  .hero-stat-label {
    font-size: 8px !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */

/* Scroll reveal base */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-spring), transform 1s var(--ease-spring);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0; transform: translateX(-44px);
  transition: opacity 1s var(--ease-spring), transform 1s var(--ease-spring);
}
.reveal-right {
  opacity: 0; transform: translateX(44px);
  transition: opacity 1s var(--ease-spring), transform 1s var(--ease-spring);
}
.reveal-left.is-visible,
.reveal-right.is-visible { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0; transform: scale(0.93);
  transition: opacity 1s var(--ease-spring), transform 1s var(--ease-spring);
}
.reveal-scale.is-visible { opacity: 1; transform: none; }

.reveal-blur {
  opacity: 0; transform: translateY(24px); filter: blur(12px);
  transition: opacity 1.1s var(--ease-spring), transform 1.1s var(--ease-spring), filter 1s ease;
}
.reveal-blur.is-visible { opacity: 1; transform: none; filter: blur(0); }

.reveal-slide-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.95s var(--ease-spring), transform 0.95s var(--ease-spring);
}
.reveal-slide-up.is-visible { opacity: 1; transform: none; }

.reveal-fade {
  opacity: 0;
  transition: opacity 1s ease;
}
.reveal-fade.is-visible { opacity: 1; }

.reveal-zoom-in {
  opacity: 0; transform: scale(0.88) translateY(18px);
  transition: opacity 1.1s var(--ease-spring), transform 1.1s var(--ease-spring);
}
.reveal-zoom-in.is-visible { opacity: 1; transform: none; }

.reveal-tilt {
  opacity: 0; transform: perspective(800px) rotateX(10deg) translateY(22px);
  transition: opacity 1s var(--ease-spring), transform 1s var(--ease-spring);
}
.reveal-tilt.is-visible { opacity: 1; transform: perspective(800px) rotateX(0) translateY(0); }

.reveal-stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.85s ease, transform 0.85s var(--ease-spring);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger > *:nth-child(1) { transition-delay:   0ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 260ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 340ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 420ms; }

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }
.reveal-delay-6 { transition-delay: 600ms; }
.reveal-delay-7 { transition-delay: 700ms; }
.reveal-delay-8 { transition-delay: 800ms; }

/* Cinematic word split */
.cinematic-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(56px) skewY(3deg);
  transition:
    opacity   0.85s var(--ease-spring),
    transform 0.85s var(--ease-spring);
}
.cinematic-word.is-visible { opacity: 1; transform: none; }
h1.text-center .cinematic-word,
.text-center .cinematic-word { display: inline; }

/* Keyframe library */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(242,202,80,0.1); }
  50%       { box-shadow: 0 0 50px rgba(242,202,80,0.28); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%       { transform: translate(28px, -36px) scale(1.04); }
  50%       { transform: translate(-18px, 28px) scale(0.97); }
  75%       { transform: translate(36px, 18px) scale(1.03); }
}
@keyframes hintBounce {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(8px); }
}
@keyframes dotRippleAlt {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.8); opacity: 0; }
}
@keyframes countdownPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(242,202,80,0); }
  50%       { box-shadow: 0 0 16px rgba(242,202,80,0.22); }
}
@keyframes gradientBorderSpin {
  to { --border-angle: 360deg; }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes shimmerProgress {
  0%   { background-position:  200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes statPulse {
  0%, 100% { transform: scale(1);    opacity: 0.6; }
  50%       { transform: scale(1.14); opacity: 0.2; }
}
@keyframes sparkFade {
  0%   { opacity: 0.85; transform: translate(-50%,-50%) scale(1); }
  100% { opacity: 0;    transform: translate(-50%,-50%) scale(0); }
}
@keyframes dotRipple {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.float-animation    { animation: float    6s ease-in-out infinite; }
.pulse-glow         { animation: pulseGlow 3s ease-in-out infinite; }
.shimmer-gold {
  background: linear-gradient(90deg, transparent, rgba(242,202,80,0.08), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}
.spin-slow { animation: spinSlow 20s linear infinite; }

/* ═══════════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════════ */

#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-4), var(--gold-3), var(--gold-2), var(--gold-1), var(--gold-2));
  background-size: 300% 100%;
  animation: shimmerProgress 2.5s linear infinite;
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(242,202,80,0.7), 0 0 24px rgba(242,202,80,0.2);
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════ */

.custom-cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--gold-2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.18s ease, height 0.18s ease, opacity 0.2s ease;
  mix-blend-mode: screen;
  opacity: 0;
}
.custom-cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(242,202,80,0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition:
    width  0.32s var(--ease-spring),
    height 0.32s var(--ease-spring),
    border-color 0.25s ease,
    opacity 0.2s ease;
  opacity: 0;
}
body:hover .custom-cursor,
body:hover .custom-cursor-ring { opacity: 1; }
.cursor-hover .custom-cursor { width: 5px; height: 5px; background: var(--gold-1); }
.cursor-hover .custom-cursor-ring { width: 52px; height: 52px; border-color: rgba(242,202,80,0.65); }
.cursor-text .custom-cursor-ring { width: 2px; height: 22px; border-radius: 2px; border: none; background: rgba(242,202,80,0.65); }

@media (max-width: 768px) {
  .custom-cursor, .custom-cursor-ring { display: none; }
}

/* ═══════════════════════════════════════════
   SPARK TRAIL
   ═══════════════════════════════════════════ */

.spark {
  position: fixed;
  border-radius: 50%;
  background: var(--gold-2);
  pointer-events: none;
  z-index: 99997;
  animation: sparkFade 0.65s ease-out forwards;
  transform: translate(-50%, -50%);
}

/* ═══════════════════════════════════════════
   PAGE TRANSITION CURTAIN
   ═══════════════════════════════════════════ */

#page-curtain {
  position: fixed; inset: 0;
  z-index: 99990;
  pointer-events: none;
  overflow: hidden;
}
#page-curtain::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(108deg, #0a0a0b 68%, #1c1400 100%);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
#page-curtain::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold-2), transparent);
  left: 0;
  transform: translateX(-200px);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  box-shadow: 0 0 18px rgba(242,202,80,0.65);
}
#page-curtain.is-entering::before { transform: translateX(0); }
#page-curtain.is-entering::after  { transform: translateX(calc(100vw - 2px)); }
#page-curtain.is-exiting::before  { transform: translateX(101%); transition-duration: 0.4s; }
#page-curtain.is-exiting::after   { transform: translateX(200vw); transition-duration: 0.4s; }

/* ═══════════════════════════════════════════
   AMBIENT ORBS
   ═══════════════════════════════════════════ */

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.055;
  animation: orbDrift 20s ease-in-out infinite;
}
.ambient-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #f2ca50, transparent 70%);
  top: -80px; right: -80px;
  animation-duration: 22s;
}
.ambient-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #ea6b1e, transparent 70%);
  bottom: 8%; left: -60px;
  animation-duration: 28s; animation-delay: -9s;
  opacity: 0.038;
}
.ambient-orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #d4af37, transparent 70%);
  top: 42%; left: 50%;
  animation-duration: 16s; animation-delay: -5s;
  opacity: 0.03;
}
/* Per-page orb tuning */
body.page-home .ambient-orb-1 {
  background: radial-gradient(circle, #f2ca50 0%, #ea6b1e 40%, transparent 70%);
  opacity: 0.05; bottom: -80px; top: auto; right: 22%;
}
body.page-about .ambient-orb-1 {
  background: radial-gradient(circle, #8c4a23, #d4af37 50%, transparent 70%);
  opacity: 0.065; top: 28%; right: 0;
}
body.page-about .ambient-orb-2 {
  background: radial-gradient(circle, #d4af37, transparent 70%);
  opacity: 0.045;
}
body.page-programs .ambient-orb-1 {
  background: radial-gradient(circle, #f2ca50, transparent 60%);
  opacity: 0.036; top: 18%; right: 8%;
  width: 760px; height: 760px;
}
body.page-programs .ambient-orb-2 {
  background: radial-gradient(circle, #ea6b1e, transparent 70%);
  opacity: 0.028; bottom: 18%; left: 4%;
}
body.page-events .ambient-orb-1 {
  background: radial-gradient(circle, #ea6b1e, #f2ca50 50%, transparent 70%);
  opacity: 0.062; top: 8%; left: 50%;
  transform: translateX(-50%);
}
body.page-events .ambient-orb-2 { opacity: 0.055; }
body.page-contact .ambient-orb-1 {
  background: radial-gradient(circle, #ffe088, #f2ca50 30%, transparent 70%);
  opacity: 0.085; top: 18%; left: 50%;
  transform: translateX(-50%);
  width: 480px; height: 480px;
  filter: blur(65px);
}
body.page-contact .ambient-orb-2 { opacity: 0.028; }

/* ═══════════════════════════════════════════
   MARQUEE TESTIMONIALS
   ═══════════════════════════════════════════ */

.marquee-wrapper { position: relative; overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 1.75rem;
  animation: marqueeScroll 42s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  flex-shrink: 0;
  width: 380px;
  background: rgba(16, 16, 18, 0.65);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 2rem 2.2rem;
  transition: border-color 0.3s ease, transform 0.4s var(--ease-spring);
}
.marquee-item:hover {
  border-color: rgba(242,202,80,0.22);
  transform: translateY(-3px);
}
.marquee-fade-left, .marquee-fade-right {
  position: absolute; top: 0; bottom: 0;
  width: 100px; z-index: 2; pointer-events: none;
}
.marquee-fade-left  { left: 0;  background: linear-gradient(to right, var(--color-background), transparent); }
.marquee-fade-right { right: 0; background: linear-gradient(to left,  var(--color-background), transparent); }
@media (max-width: 640px) { .marquee-item { width: 290px; } }

/* ═══════════════════════════════════════════
   GOLD BORDER HOVER
   ═══════════════════════════════════════════ */

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.gold-border-hover { position: relative; }
.gold-border-hover::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 22%,
    rgba(242,202,80,0.55) 42%,
    rgba(255,230,120,0.85) 50%,
    rgba(242,202,80,0.55) 58%,
    transparent 78%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: gradientBorderSpin 4s linear infinite paused;
}
.gold-border-hover:hover::after {
  opacity: 1;
  animation-play-state: running;
}

/* ═══════════════════════════════════════════
   PROGRAM CARD FORGE TOP-EDGE
   ═══════════════════════════════════════════ */

.program-card-forge { position: relative; }
.program-card-forge::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,202,80,0.7), transparent);
  border-radius: 1px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.program-card-forge:hover::before { opacity: 1; }

/* ═══════════════════════════════════════════
   EVENTS - COUNTDOWN BADGE
   ═══════════════════════════════════════════ */

.event-countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(242,202,80,0.08);
  border: 1px solid rgba(242,202,80,0.22);
  border-radius: 100px;
  padding: 4px 12px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--gold-2);
  animation: countdownPulse 2.5s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   EVENTS - HORIZONTAL SCROLL
   ═══════════════════════════════════════════ */

.events-hscroll-wrap { position: relative; }
.events-hscroll-wrap::before,
.events-hscroll-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 2rem;
  width: 72px; z-index: 2;
  pointer-events: none;
}
.events-hscroll-wrap::before { left: 0;  background: linear-gradient(to right, var(--color-background), transparent); }
.events-hscroll-wrap::after  { right: 0; background: linear-gradient(to left,  var(--color-background), transparent); }

.events-hscroll-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0 2.5rem;
  cursor: grab;
}
.events-hscroll-track::-webkit-scrollbar { display: none; }
.events-hscroll-track.is-grabbing { cursor: grabbing; }

.event-hscroll-card {
  flex: 0 0 clamp(280px, 36vw, 420px);
  scroll-snap-align: start;
  position: relative;
}
.event-hscroll-card > .glass-card { min-height: 340px; }

.hscroll-hint {
  display: flex; align-items: center; gap: 6px;
  color: rgba(242,202,80,0.5);
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: hintBounce 2s ease-in-out infinite;
}

@media (max-width: 768px) {
  .events-hscroll-wrap::before,
  .events-hscroll-wrap::after { width: 36px; }
  .event-hscroll-card { flex: 0 0 min(340px, 88vw); }
}

/* ═══════════════════════════════════════════
   STAT NUMBER GLOW
   ═══════════════════════════════════════════ */

.stat-number-animated { position: relative; display: inline-block; }
.stat-number-animated::after {
  content: '';
  position: absolute; inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,202,80,0.14) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.stat-number-animated.counted::after {
  opacity: 1;
  animation: statPulse 2.5s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   SECTION NUMBER DECORATOR
   ═══════════════════════════════════════════ */

.section-number {
  position: absolute;
  font-family: 'Syne', sans-serif;
  font-size: clamp(72px, 13vw, 170px);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242,202,80,0.055);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.06em;
}
@media (max-width: 768px) {
  .section-number { font-size: clamp(56px, 17vw, 100px); }
}

/* ═══════════════════════════════════════════
   VISIONARIES - ASYMMETRIC GRID
   ═══════════════════════════════════════════ */

.visionaries-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.62fr 0.92fr;
  gap: 1.25rem;
  align-items: end;
}
.visionary-card {
  position: relative; overflow: hidden;
  border-radius: 2rem;
  background: rgba(16, 16, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(22px);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s ease, border-color 0.4s ease;
}
.visionary-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.025), transparent 60%);
  pointer-events: none; border-radius: inherit;
}
.visionary-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 65px rgba(0,0,0,0.5), 0 0 36px rgba(242,202,80,0.07);
  border-color: rgba(242,202,80,0.18);
}
.visionary-card:nth-child(1) { grid-column: 1; grid-row: 1 / 3; padding: 3rem 2.5rem 2.5rem; }
.visionary-card:nth-child(2) { grid-column: 2; grid-row: 1;     padding: 2rem; }
.visionary-card:nth-child(3) { grid-column: 3; grid-row: 1;     padding: 2.25rem 2rem; }
.visionary-quote-block {
  grid-column: 2 / 4; grid-row: 2;
  padding: 1.75rem 2rem;
  background: rgba(242,202,80,0.035);
  border: 1px solid rgba(242,202,80,0.1);
  border-radius: 1.5rem;
  display: flex; align-items: center; gap: 1.25rem;
}
.visionary-avatar {
  flex-shrink: 0; display: flex;
  align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800;
  color: #2a1a00; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
}
.visionary-card-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(242,202,80,0.65);
  margin-bottom: 0.5rem;
}
.visionary-number {
  position: absolute; top: 1.25rem; right: 1.5rem;
  font-family: 'Syne', sans-serif; font-size: 52px; font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242,202,80,0.07);
  line-height: 1; pointer-events: none; user-select: none;
}

@media (max-width: 900px) {
  .visionaries-grid { grid-template-columns: 1fr 1fr; }
  .visionary-card:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
  .visionary-card:nth-child(2) { grid-column: 1; }
  .visionary-card:nth-child(3) { grid-column: 2; }
  .visionary-quote-block { grid-column: 1 / 3; }
}
@media (max-width: 600px) {
  .visionaries-grid { grid-template-columns: 1fr; }
  .visionary-card:nth-child(1),
  .visionary-card:nth-child(2),
  .visionary-card:nth-child(3),
  .visionary-quote-block { grid-column: 1; grid-row: auto; padding: 1.75rem 1.5rem; }
  .visionary-number { font-size: 38px; }
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════ */

.contact-tab {
  display: inline-block; text-decoration: none;
  padding: 10px 22px; border-radius: 100px;
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; cursor: pointer;
  border: 1px solid rgba(245,245,220,0.1);
  color: rgba(208,197,175,0.65); background: transparent;
  transition: all 0.3s ease; white-space: nowrap;
}
.contact-tab:hover { border-color: rgba(242,202,80,0.4); color: var(--gold-2); }
.contact-tab.active {
  background: rgba(242,202,80,0.1); border-color: rgba(242,202,80,0.45);
  color: var(--gold-2); box-shadow: 0 0 20px rgba(242,202,80,0.07);
}
.contact-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border-radius: 2rem; overflow: hidden;
  border: 1px solid rgba(245,245,220,0.06);
}
.contact-split-form {
  background: rgba(14,14,16,0.85);
  backdrop-filter: blur(32px);
  padding: 3.5rem 3rem;
}
.contact-split-info {
  background: rgba(242,202,80,0.03);
  border-left: 1px solid rgba(242,202,80,0.09);
  padding: 3.5rem 3rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(242,202,80,0.07); border: 1px solid rgba(242,202,80,0.13);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-2); flex-shrink: 0; margin-top: 2px;
}
@media (max-width: 768px) {
  .contact-split { grid-template-columns: 1fr; }
  .contact-split-info { border-left: none; border-top: 1px solid rgba(242,202,80,0.09); padding: 2rem 1.5rem; }
  .contact-split-form { padding: 2rem 1.5rem; }
}

/* ═══════════════════════════════════════════
   COUNTDOWN
   ═══════════════════════════════════════════ */

#countdown-display { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  #countdown-display .font-display-lg { font-size: 1.75rem !important; }
  #countdown-display { gap: 0.65rem !important; }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

footer a:not(.btn-primary):hover {
  letter-spacing: 0.01em;
  transition: letter-spacing 0.35s ease, color 0.3s ease;
}

/* ═══════════════════════════════════════════
   ██████  CREATIVE DESIGN ENHANCEMENTS  ██████
   ═══════════════════════════════════════════ */

/* ── 1. GOLD FOIL SECTION HEADERS ─────────────────────────────
   Large display headings get a subtle metallic foil sheen
   that catches light on hover                               */
.foil-heading {
  position: relative;
  display: inline-block;
}
.foil-heading::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,230,100,0.55) 40%,
    rgba(255,248,200,0.9) 50%,
    rgba(255,230,100,0.55) 60%,
    transparent 80%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  animation: foilSlide 4s ease-in-out infinite paused;
}
.foil-heading:hover::after {
  opacity: 1;
  animation-play-state: running;
}
@keyframes foilSlide {
  0%   { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}

/* ── 2. INCISED CARD TEXTURE ────────────────────────────────
   Glass cards gain a very subtle diagonal line texture     */
.glass-card.textured::before {
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.012) 0px,
      rgba(255,255,255,0.012) 1px,
      transparent 1px,
      transparent 6px
    ),
    linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%, rgba(242,202,80,0.025) 100%);
}

/* ── 3. PILLAR CARDS — left accent edge + inner depth ─────── */
.pillar-card {
  position: relative;
  overflow: hidden;
}
.pillar-card::after {
  content: '';
  position: absolute;
  left: 0; top: 16px; bottom: 16px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold-2), transparent);
  border-radius: 1px;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scaleY(0.4);
}
.pillar-card:hover::after { opacity: 1; transform: scaleY(1); }

/* ── 4. GLOWING ICON BADGES ─────────────────────────────────
   Used on contact info items, program icons               */
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(242,202,80,0.07);
  border: 1px solid rgba(242,202,80,0.14);
  color: var(--gold-2);
  position: relative; overflow: hidden;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease-spring);
}
.icon-badge::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,230,120,0.18), transparent 65%);
  opacity: 0; transition: opacity 0.35s ease;
}
.icon-badge:hover { background: rgba(242,202,80,0.14); box-shadow: 0 0 24px rgba(242,202,80,0.2); transform: translateY(-2px); }
.icon-badge:hover::before { opacity: 1; }

/* ── 5. HERO TITLE STACKED SHADOW EFFECT ─────────────────────
   Adds a deep layered shadow behind hero h1               */
.hero-title-shadow {
  text-shadow:
    2px  4px   8px rgba(0,0,0,0.7),
    4px  8px  20px rgba(0,0,0,0.4),
    0px  0px  60px rgba(242,202,80,0.08);
}

/* ── 6. ANIMATED STAT COUNTERS — pulsing ring ─────────────── */
.stat-ring-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stat-ring-wrap::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(242,202,80,0.12);
  animation: dotRippleAlt 3.5s ease-out infinite;
}
.stat-ring-wrap::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(242,202,80,0.07);
  animation: dotRippleAlt 3.5s ease-out infinite 1.2s;
}

/* ── 7. QUOTE PULL BLOCKS ────────────────────────────────────
   Full-width pull-quote sections with large gold mark     */
.pull-quote {
  position: relative;
  padding: 2.5rem 2rem 2.5rem 4rem;
  border-left: 2px solid rgba(242,202,80,0.35);
}
.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem; left: 1rem;
  font-family: 'Syne', sans-serif;
  font-size: 5rem; line-height: 1;
  color: rgba(242,202,80,0.18);
  pointer-events: none;
}
.pull-quote-text {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-on-surface);
}
.pull-quote-attr {
  display: block; margin-top: 0.75rem;
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(242,202,80,0.55);
}

/* ── 8. PAGE HEADER STRIP — the hero eyebrow label ──────────
   That small CAPS label above every page title            */
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.38em;
  text-transform: uppercase; color: rgba(242,202,80,0.7);
}
.page-eyebrow::before,
.page-eyebrow::after {
  content: '';
  display: block; width: 28px; height: 1px;
  background: linear-gradient(to right, rgba(242,202,80,0.5), transparent);
}
.page-eyebrow::after {
  background: linear-gradient(to left, rgba(242,202,80,0.5), transparent);
}

/* ── 9. REVEAL NUMBER SEQUENCE ───────────────────────────────
   Large ghosted step numbers behind section content       */
.step-number-bg {
  position: absolute;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(100px, 18vw, 220px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(242,202,80,0.045);
  line-height: 0.9;
  letter-spacing: -0.08em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  top: 50%; transform: translateY(-50%);
}

/* ── 10. SURFACE NOISE GLASS — richer glass variant ─────────
    Adds a frosted/etched quality to premium panels         */
.glass-frosted {
  position: relative;
  background: rgba(14, 14, 16, 0.7);
  backdrop-filter: blur(40px) saturate(1.5) brightness(0.95);
  -webkit-backdrop-filter: blur(40px) saturate(1.5) brightness(0.95);
  border: 1px solid rgba(255,255,255,0.07);
}
.glass-frosted::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
  pointer-events: none; border-radius: inherit;
  mix-blend-mode: overlay;
}

/* ── 11. GLOWING HEADLINE — for the biggest display text ─────
    Adds a halo bloom under letters on the hero             */
.headline-bloom {
  position: relative;
}
.headline-bloom::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  filter: blur(28px);
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
  /* Inherit same font as parent for perfect alignment */
  font: inherit;
  background: linear-gradient(135deg, #f2ca50, #ea6b1e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── 12. FLOATING TAG LABELS ─────────────────────────────────
    Small pill chips for program categories, roles etc.    */
.tag-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 100px;
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 700;
  border: 1px solid rgba(242,202,80,0.2);
  color: rgba(242,202,80,0.75);
  background: rgba(242,202,80,0.05);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.tag-pill:hover {
  background: rgba(242,202,80,0.12);
  border-color: rgba(242,202,80,0.45);
  color: var(--gold-2);
}

/* ── 13. CORNER GLYPH DECORATION ────────────────────────────
    Decorative bracket lines on premium panel corners       */
.corner-glyph {
  position: absolute;
  width: 24px; height: 24px;
  pointer-events: none;
}
.corner-glyph-tl { top: 16px;  left: 16px;  border-top: 1px solid rgba(242,202,80,0.35); border-left: 1px solid rgba(242,202,80,0.35); }
.corner-glyph-tr { top: 16px;  right: 16px; border-top: 1px solid rgba(242,202,80,0.35); border-right: 1px solid rgba(242,202,80,0.35); }
.corner-glyph-bl { bottom: 16px; left: 16px;  border-bottom: 1px solid rgba(242,202,80,0.35); border-left: 1px solid rgba(242,202,80,0.35); }
.corner-glyph-br { bottom: 16px; right: 16px; border-bottom: 1px solid rgba(242,202,80,0.35); border-right: 1px solid rgba(242,202,80,0.35); }

/* ── 14. SHIMMER LOADING STATE ───────────────────────────────
    Skeleton-style shimmer for images/cards while loading  */
.shimmer-skeleton {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.03) 25%,
    rgba(242,202,80,0.06) 50%,
    rgba(255,255,255,0.03) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}

/* ── 15. KINETIC UNDERLINE ───────────────────────────────────
    Links that draw an animated underline from center out  */
.underline-kinetic {
  position: relative;
  text-decoration: none;
}
.underline-kinetic::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  width: 0; height: 1px;
  background: var(--gold-2);
  transition: width 0.35s var(--ease-spring), left 0.35s var(--ease-spring);
}
.underline-kinetic:hover::after { width: 100%; left: 0; }

/* ── 16. SPLIT TEXT — FILL REVEAL ────────────────────────────
   Words fill gold→white in a sweep on scroll-in.
   Apply to individual spans via JS if needed.             */
.text-fill-reveal {
  background: linear-gradient(
    to right,
    var(--gold-2) 0%,
    var(--color-on-surface) 50%,
    var(--color-on-surface) 100%
  );
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background-position 1.2s var(--ease-spring);
}
.text-fill-reveal.is-visible { background-position: 0% 0; }

/* ── 17. GLASS CARD DEPTH LAYERS ─────────────────────────────
   Featured / hero cards get extra visual depth            */
.glass-card-deep {
  background:
    linear-gradient(180deg,
      rgba(22, 20, 14, 0.85) 0%,
      rgba(12, 12, 14, 0.92) 100%);
  backdrop-filter: blur(40px) saturate(1.6);
  -webkit-backdrop-filter: blur(40px) saturate(1.6);
  border: 1px solid rgba(242,202,80,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    0 40px 80px rgba(0,0,0,0.45),
    0 0 0 1px rgba(0,0,0,0.3);
}

/* ── 18. NEON ACCENT RULE ─────────────────────────────────────
   A horizontal line with a glowing center orb             */
.neon-rule {
  position: relative;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(242,202,80,0.4) 50%, transparent 100%);
  margin: 0 auto;
}
.neon-rule::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: var(--gold-2);
  border-radius: 50%;
  box-shadow: 0 0 12px 4px rgba(242,202,80,0.5), 0 0 30px rgba(242,202,80,0.2);
}

/* ── 19. BACKGROUND GRAIN HERO ───────────────────────────────
   Adds a subtle cinematic grain overlay to hero sections  */
.grain-overlay {
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 2;
  opacity: 0.6;
  mix-blend-mode: overlay;
}

/* ── 20. SPLIT PANEL DECORATION ──────────────────────────────
   The contact split panel and any 50/50 layout gets a
   central divider with a glowing orb midpoint             */
.split-divider-v {
  position: absolute;
  top: 10%; bottom: 10%;
  left: 50%; transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(242,202,80,0.2), transparent);
  pointer-events: none;
}
.split-divider-v::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(242,202,80,0.5);
  box-shadow: 0 0 10px rgba(242,202,80,0.4);
}

/* ═══════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════ */

.skip-link {
  position: absolute;
  top: -9999px; left: 1rem;
  z-index: 99999;
  padding: 12px 20px;
  background: var(--gold-2); color: var(--ink);
  font-family: 'Space Mono', monospace;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; outline: 3px solid var(--ink); outline-offset: 2px; }

:focus-visible {
  outline: 2px solid rgba(242,202,80,0.75);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* ═══════════════════════════════════════════
   MOBILE — GLOBAL PATCHES
   ═══════════════════════════════════════════ */

@media (max-width: 640px) {
  h1 { font-size: clamp(32px, 10.5vw, 56px) !important; line-height: 1.12 !important; }
  section { overflow-x: hidden; }
  .half-clock-container { padding: 0 1rem 1rem; }
  nav { left: 8px !important; right: 8px !important; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; justify-content: center; }
  .gradient-line { margin: 0 1rem; }
  .section-number { font-size: clamp(52px, 17vw, 88px); }
  .marquee-item { width: 280px; }
  #countdown-display { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
  .px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .pull-quote { padding: 2rem 1.5rem 2rem 2.5rem; }
  .pull-quote::before { font-size: 3.5rem; }
  .step-number-bg { opacity: 0.5; }
  .neon-rule { width: 80%; }
}

/* ═══════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .reveal-slide-up, .reveal-fade, .reveal-blur,
  .reveal-stagger, .reveal-zoom-in, .reveal-tilt {
    opacity: 1 !important; transform: none !important;
  }
  .cinematic-word  { opacity: 1 !important; transform: none !important; }
  .marquee-track   { animation: none !important; }
  .ambient-orb     { display: none !important; }
  .text-gradient-gold { animation: none !important; }
  .foil-heading::after { animation: none !important; }
}

/* ═══════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════ */

@media print {
  nav, #mobile-menu, .ambient-orb,
  .custom-cursor, .custom-cursor-ring,
  #scroll-progress, #page-curtain,
  footer .btn-primary,
  .grain-overlay,
  .events-hscroll-wrap::before,
  .events-hscroll-wrap::after { display: none !important; }
  body { background: white !important; color: black !important; }
  .glass-card { background: #f5f5f5 !important; border: 1px solid #ddd !important; }
  a::after { content: " (" attr(href) ")"; font-size: 0.72em; }
}


/* ═══════════════════════════════════════════════════════════════
   HERO — Cinematic Full-Screen
   ═══════════════════════════════════════════════════════════════ */

/* ── Section shell ── */
.hero-section {
  min-height: 100svh;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 0;
  position: relative;
}

/* ── Background image ── */
.hero-bg-img {
  transform-origin: center center;
  will-change: transform;
}

/* ── Overlay: rich gradient, not flat black ── */
.hero-overlay {
  background:
    /* warm amber rise from bottom */
    radial-gradient(ellipse 90% 60% at 50% 110%,
      rgba(180, 100, 10, 0.22) 0%,
      transparent 65%),
    /* dark vignette top */
    linear-gradient(
      to bottom,
      rgba(5, 5, 6, 0.82) 0%,
      rgba(5, 5, 6, 0.38) 35%,
      rgba(5, 5, 6, 0.18) 55%,
      rgba(5, 5, 6, 0.72) 78%,
      rgba(5, 5, 6, 0.97) 100%
    );
}

/* ── Gold light shaft ── */
.hero-light-shaft {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 65%;
  background: linear-gradient(
    to bottom,
    rgba(242, 202, 80, 0.07) 0%,
    rgba(242, 202, 80, 0.03) 40%,
    transparent 100%
  );
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

/* ── Ghost word behind title ── */
.hero-ghost-word {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(100px, 20vw, 260px);
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 202, 80, 0.055);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  animation: ghostPulse 8s ease-in-out infinite;
}
@keyframes ghostPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

/* ── Content wrapper ── */
.hero-content-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  gap: 0;
  padding-bottom: clamp(6rem, 12vh, 10rem);
}

/* ── Eyebrow ── */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}
.hero-eyebrow-line {
  display: block;
  width: 36px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(242, 202, 80, 0.6));
  flex-shrink: 0;
}
.hero-eyebrow:has(.hero-eyebrow-line:last-child) .hero-eyebrow-line:last-child {
  background: linear-gradient(to left, transparent, rgba(242, 202, 80, 0.6));
}
.hero-eyebrow-text {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(242, 202, 80, 0.7);
  white-space: nowrap;
}

/* ── H1 Title ── */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0 0 clamp(1.25rem, 2.5vh, 2rem);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-title-line {
  display: block;
}

/* Line 1: "NEW MAN" — stroke/outline style, enormous */
.hero-title-line-1 {
  font-size: clamp(42px, 5vw, 80px);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.88);
}

/* Line 2: "RISING." — filled gold, slightly smaller to create hierarchy */
.hero-title-line-2 {
  font-size: clamp(48px, 9.5vw, 128px);
  color: var(--gold-2);
  text-shadow:
    0 0 80px rgba(242, 202, 80, 0.25),
    0 0 160px rgba(242, 202, 80, 0.1);
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0;
}

.hero-title-word-rising {
  display: inline-block;
  background: linear-gradient(
    160deg,
    #ffe088 0%,
    #f2ca50 30%,
    #d4af37 60%,
    #f2ca50 80%,
    #ffe088 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 5s ease-in-out infinite;
}
@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.hero-title-dot {
  display: inline-block;
  color: var(--gold-2);
  -webkit-text-fill-color: var(--gold-2);
  font-size: 0.7em;
  line-height: 1.2;
  align-self: flex-end;
  margin-bottom: 0.05em;
  animation: dotBreathe 3s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(242, 202, 80, 0.6);
}
@keyframes dotBreathe {
  0%, 100% { opacity: 1;   transform: translateY(0); }
  50%       { opacity: 0.5; transform: translateY(-6px); }
}

/* ── Zulu tagline ── */
.hero-tagline {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(1.25rem, 2.5vh, 2rem);
}
.hero-tagline-rule {
  display: block;
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(242, 202, 80, 0.4));
}
.hero-tagline:has(.hero-tagline-rule:last-child) .hero-tagline-rule:last-child {
  background: linear-gradient(to left, transparent, rgba(242, 202, 80, 0.4));
}
.hero-tagline-text {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: rgba(242, 202, 80, 0.55);
}

/* ── Sub copy ── */
.hero-sub {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.65;
  color: rgba(208, 197, 175, 0.82);
  max-width: 520px;
  margin-bottom: clamp(2rem, 4vh, 3rem);
}

/* ── CTA row ── */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: clamp(3rem, 6vh, 5rem);
}
.hero-cta-primary { min-width: 200px; }
.hero-cta-outline  { min-width: 160px; }

/* ── Stats strip ── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 100px;
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 16px 28px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 20px;
  flex: 1;
}
.hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--gold-2);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(242, 202, 80, 0.3);
}
.hero-stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(208, 197, 175, 0.5);
  white-space: nowrap;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* ── Scroll cue ── */
.hero-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: scrollCueFade 3s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(242, 202, 80, 0.6));
  animation: scrollLineGrow 2s ease-in-out infinite;
}
@keyframes scrollCueFade {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}
@keyframes scrollLineGrow {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* ── Mobile hero ── */
@media (max-width: 768px) {
  .hero-section { padding-top: 92px; }
  .hero-title-line-1 {
    font-size: clamp(40px, 12vw, 72px);
    -webkit-text-stroke-width: 1.5px;
  }
  .hero-title-line-2  { font-size: clamp(46px, 13.5vw, 82px); }
  .hero-ghost-word    { font-size: clamp(80px, 26vw, 130px); }
  .hero-sub { font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-cta-primary,
  .hero-cta-outline  { min-width: unset; width: 100%; }
  .hero-content-wrap { padding-bottom: 6.5rem; padding-left: 1rem; padding-right: 1rem; }
  .hero-scroll-cue { display: none; }
  .py-section-gap { padding-top: clamp(2.4rem, 7vw, 3.4rem); padding-bottom: clamp(2.4rem, 7vw, 3.4rem); }
  .glass-card { border-radius: 1.35rem; }
  .program-immersive-card { padding: 1.5rem 1.25rem 1.25rem; border-radius: 1.35rem; }
}

@media (max-width: 480px) {
  .hero-section { padding-top: 88px; }
  .hero-title-line-1  { font-size: clamp(34px, 13vw, 56px); }
  .hero-title-line-2  { font-size: clamp(38px, 14.5vw, 64px); }
  .hero-ghost-word    { font-size: clamp(68px, 30vw, 110px); }
  .hero-eyebrow       { gap: 10px; }
  .hero-eyebrow-line  { width: 20px; }
  .hero-tagline-rule  { max-width: 40px; }
  .hero-content-wrap { padding-bottom: 5.5rem; }
  .py-section-gap { padding-top: 2.25rem; padding-bottom: 2.25rem; }
  .glass-card { border-radius: 1.1rem; }
  .program-immersive-card { padding: 1.2rem 1rem 1rem; }
}

/* ═══════════════════════════════════════════
   PARTNERS, PROGRAMS & EVENTS
   ═══════════════════════════════════════════ */

/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  align-items: center;
}
.partner-logo {
  filter: none;
  opacity: 1;
  transition: all 0.4s ease;
  max-height: 60px;
  object-fit: contain;
}
.partner-logo:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}

/* Programs Cards */
.programs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.program-card {
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20,20,20,0.4) 0%, rgba(10,10,10,0.8) 100%);
}

/* Events Highlights */
.event-highlight {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #0a0a0a;
}
.event-meta { font-size: 0.8rem; color: var(--gold-2); }

/* Gathering CTA */
.gathering-cta-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  text-align: center;
}

/* Contact Partner */
.contact-partner-section {
  padding: 4rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

/* ═══════════════════════════════════════════
   PILL TEAM GRID — RETAINED STYLING
   ═══════════════════════════════════════════ */

.pill-team-grid {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
  margin-bottom: 4rem;
  padding: 0 0.5rem;
}

.pill-card {
  position: relative;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 9 / 17.5;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--pill-bg, #1c1c1d);
  flex: 1 1 0;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.pill-card:nth-child(odd)  { align-self: flex-start; }
.pill-card:nth-child(even) { align-self: flex-end; margin-bottom: -1.5rem; }

.pill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45), 0 0 40px rgba(242,202,80,0.08);
}

.pill-photo-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68%;
  overflow: hidden;
}

.pill-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.pill-card:hover .pill-photo {
  filter: grayscale(0) contrast(1.05);
  transform: scale(1.04);
}

.pill-text {
  position: absolute;
  top: 3.25rem;
  left: 1.75rem;
  right: 1.75rem;
  z-index: 2;
}

.pill-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(11px, 1.25vw, 14px);
  line-height: 1.35;
  color: var(--gold-1);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 6px;
  word-break: break-word;
}

.pill-role {
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: rgba(245,245,220,0.6);
  margin: 0;
  white-space: normal;
}

/* Gold-background card needs dark text for contrast */
.pill-text-dark .pill-name { color: #2a1a00; }
.pill-text-dark .pill-role { color: rgba(42,26,0,0.7); }

/* ── Bios grid below pills ── */
.pill-bios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
  max-width: 920px;
  margin: 0 auto;
}

.pill-bio-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-on-surface);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.pill-bio-tag {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242,202,80,0.7);
  background: rgba(242,202,80,0.08);
  border: 1px solid rgba(242,202,80,0.18);
  border-radius: 100px;
  padding: 3px 10px;
}

.pill-bio-text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-on-surface-variant);
}

/* ═══════════════════════════════════════════
   PILL TEAM GRID — MOBILE RESPONSIVENESS
   ═══════════════════════════════════════════ */

@media (max-width: 900px) {
  .pill-team-grid {
    flex-wrap: wrap;
    row-gap: 2rem;
  }
  .pill-card {
    max-width: 200px;
    flex: 0 0 calc(50% - 0.625rem);
  }
  .pill-card:nth-child(odd),
  .pill-card:nth-child(even) {
    align-self: flex-start;
    margin-bottom: 0;
  }
  .pill-bios { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 480px) {
  .pill-team-grid {
    gap: 0.75rem;
    margin-bottom: 3rem;
  }
  .pill-card {
    flex: 0 0 calc(50% - 0.4rem);
    max-width: none;
    aspect-ratio: 3 / 4.4;
  }
  .pill-name { font-size: 10.5px; }
  .pill-role { font-size: 8.5px; }
  .pill-text { top: 2.2rem; left: 1.25rem; right: 1.25rem; }
  .pill-photo-wrap { height: 64%; }
  .pill-bio-text { font-size: 0.825rem; }
}


/* ═══════════════════════════════════════════
   SECTION TITLE HIERARCHY — Home reference scale
   ═══════════════════════════════════════════ */

.section-title-l2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-on-surface);
}

@media (max-width: 768px) {
  .section-title-l2 { font-size: clamp(24px, 7vw, 34px); }
}

/* ── About page: same family/weight, smaller scale ── */
.about-page .section-title-l2,
body.page-about .section-title-l2 {
  font-size: clamp(22px, 3.2vw, 36px);
}

@media (max-width: 768px) {
  .about-page .section-title-l2,
  body.page-about .section-title-l2 {
    font-size: clamp(20px, 5.5vw, 26px);
  }
}
/* ═══════════════════════════════════════════
   PAGE HERO TITLES — Programs / Events / Contact
   Same family as home hero, smaller scale
   ═══════════════════════════════════════════ */

.page-hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Outline / stroke word — same treatment as "NEW MAN" on home */
.page-hero-outline {
  display: block;
  font-size: clamp(38px, 7vw, 88px);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
}

/* Gold filled word — same treatment as "RISING" on home */
.page-hero-gold {
  display: block;
  font-size: clamp(44px, 8.5vw, 108px);
  background: linear-gradient(160deg, #ffe088 0%, #f2ca50 35%, #d4af37 65%, #f2ca50 85%, #ffe088 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 5s ease-in-out infinite;
}

/* Breathing dot */
.page-hero-dot {
  display: inline-block;
  font-size: 0.65em;
  line-height: 1.3;
  align-self: flex-end;
  -webkit-text-fill-color: var(--gold-2);
  color: var(--gold-2);
  text-shadow: 0 0 30px rgba(242, 202, 80, 0.6);
  animation: dotBreathe 3s ease-in-out infinite;
  margin-bottom: 0.08em;
}

@media (max-width: 768px) {
  .page-hero-outline { font-size: clamp(30px, 10vw, 56px); -webkit-text-stroke-width: 1.25px; }
  .page-hero-gold    { font-size: clamp(34px, 11.5vw, 64px); }
}

@media (max-width: 480px) {
  .page-hero-outline { font-size: clamp(26px, 11vw, 44px); }
  .page-hero-gold    { font-size: clamp(30px, 12.5vw, 52px); }
}

.events-hero {
  isolation: isolate;
}

@media (max-width: 768px) {
  .events-hero {
    min-height: 100svh;
    /* reduce top padding so nav doesn't overlap and allow content to breathe */
    padding-top: calc(3.5rem + env(safe-area-inset-top));
    padding-bottom: 1.25rem;
  }

  .events-hero .page-hero-title {
    margin-bottom: 0.85rem;
    max-width: 92%;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .events-hero .section-divider {
    margin-top: 0;
    transform: scale(0.9);
  }
}

@media (max-width: 480px) {
  .events-hero {
    /* make the hero more compact on small handsets */
    padding-top: calc(3.25rem + env(safe-area-inset-top));
    padding-bottom: 0.9rem;
    min-height: calc(100svh - 3.5rem);
  }

  .events-hero .page-hero-title {
    margin-bottom: 0.45rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 95%;
  }

  .page-hero-outline {
    font-size: clamp(18px, 8vw, 34px);
    -webkit-text-stroke-width: 0.95px;
    margin-bottom: 0.2rem;
  }

  .page-hero-gold {
    font-size: clamp(20px, 10vw, 38px);
    letter-spacing: -0.04em;
    line-height: 1.02;
  }

  .events-hero .section-divider {
    display: none;
  }
}

/* Ensure the hero background focuses on the top area on mobile */
.events-hero img[data-parallax] { object-position: center top; }

/* Make sure gold word wraps normally on small screens */
.events-hero .page-hero-gold { white-space: normal; display: block; }


/* ═══════════════════════════════════════════
   HOMEPAGE PARTNERS CAROUSEL
   ═══════════════════════════════════════════ */

.homepage-partners-section {
  position: relative;
}

.home-partners-header {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.home-partners-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 1.25rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 2rem;
  border: 1px solid rgba(242, 202, 80, 0.14);
  background:
    linear-gradient(135deg, rgba(10, 10, 11, 0.95) 0%, rgba(18, 18, 20, 0.8) 60%, rgba(10, 10, 11, 0.95) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 30px 80px rgba(0, 0, 0, 0.3);
}

.home-partners-carousel__glow {
  position: absolute;
  right: -6rem;
  bottom: -4rem;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 202, 80, 0.17) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.home-partners-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  will-change: transform;
  animation: homePartnersScroll 24s linear infinite;
}

.home-partners-group {
  display: flex;
  flex-shrink: 0;
  gap: 1rem;
}

.home-partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(240px, 36vw);
  min-width: 190px;
  height: 160px;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: transparent;        
  border: none;                   
  box-shadow: none;               
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.3s ease;
}

.home-partner-card img {
  max-width: 88%;
  max-height: 72%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
  filter: saturate(0.9) brightness(1.04) contrast(1.02);
  mix-blend-mode: screen;
  transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
}

.home-partner-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(242,202,80,0.2);
}

.home-partner-card:hover img {
  transform: scale(1.06);
  opacity: 1;
  filter: saturate(1) brightness(1.08) contrast(1.04);
}

.home-partners-carousel:hover .home-partners-track {
  animation-play-state: paused;
}

@keyframes homePartnersScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .home-partners-carousel {
    padding: 0.75rem;
    border-radius: 1.25rem;
  }

  .home-partners-track {
    gap: 0.75rem;
  }

  .home-partner-card {
    min-width: 148px;
    width: min(180px, 44vw);
    height: 124px;
    border-radius: 1rem;
    padding: 1rem;
  }

  .home-partner-card img {
    max-width: 90%;
    max-height: 72%;
  }
}

.partners-section {
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 1.25rem clamp(4rem, 8vw, 7rem);
}

/* ── Top banner: gradient + hashtag + title ── */
.partners-banner {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  background:
    linear-gradient(180deg, rgba(10,10,11,0.2) 0%, rgba(10,10,11,0.88) 85%),
    linear-gradient(135deg, #3a2a10 0%, #1c1c1d 60%, #0a0a0b 100%);
  border: 1px solid rgba(242,202,80,0.15);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}

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

.partners-banner-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 20%, rgba(242,202,80,0.08), transparent 70%);
  pointer-events: none;
}

.partners-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.partners-hashtag {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1rem;
}

.partners-banner .page-hero-title { align-items: flex-start; }
.partners-banner .page-hero-outline,
.partners-banner .page-hero-gold { text-align: left; }

/* ── Body: tagline + grid ── */
.partners-body {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.partners-tagline {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-on-surface-variant);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 540px;
}

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

.partner-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.15);
  transition:
    transform    0.35s var(--ease-spring),
    box-shadow   0.35s ease,
    border-color 0.35s ease;
}

.partner-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(242, 202, 80, 0.2);
  box-shadow: 0 12px 36px rgba(0,0,0,0.24), 0 0 30px rgba(242,202,80,0.05);
}

.partner-logo {
  max-width: 78%;
  max-height: 64%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.partner-card:hover .partner-logo {
  filter: grayscale(0) brightness(1) contrast(1);
  opacity: 1;
  transform: scale(1.04);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .partner-card { aspect-ratio: 4 / 3; padding: 1.1rem; }
  .partners-banner { padding: 2.5rem 1.5rem; border-radius: 1.5rem; }
  .partners-banner .page-hero-title {
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    gap: 0.15em;
  }
  .partners-banner .page-hero-outline,
  .partners-banner .page-hero-gold {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .partners-banner .page-hero-outline { font-size: clamp(24px, 8vw, 40px); }
  .partners-banner .page-hero-gold { font-size: clamp(28px, 9vw, 48px); }
  .partners-tagline { font-size: clamp(15px, 4vw, 18px); }
}

@media (max-width: 480px) {
  .partners-grid { gap: 0.75rem; }
  .partner-card { border-radius: 1rem; padding: 0.9rem; }
  .partners-hashtag {
    font-size: 9px;
    letter-spacing: 0.28em;
    line-height: 1.6;
  }
  .partners-banner .page-hero-outline { font-size: clamp(22px, 9vw, 32px); }
  .partners-banner .page-hero-gold { font-size: clamp(24px, 10vw, 36px); }
  .partners-banner .page-hero-title { gap: 0.08em; }
  .partners-tagline { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   PROGRAMS PAGE — Immersive Program Cards
   ═══════════════════════════════════════════════════════ */

.program-immersive-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding: 2.5rem 2.5rem 2rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.15);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.program-immersive-card:not(.program-card-visual)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(242, 202, 80, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.program-immersive-card:not(.program-card-visual)::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold-1, #ffe088), var(--gold-2, #f2ca50), transparent);
  opacity: 0;
  border-radius: 0 2px 2px 0;
  transition: opacity 0.4s ease;
}

.program-immersive-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(242, 202, 80, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 50px rgba(242, 202, 80, 0.06);
}

.program-immersive-card:not(.program-card-visual):hover::before { opacity: 1; }
.program-immersive-card:not(.program-card-visual):hover::after  { opacity: 1; }

.program-card-visual {
  position: relative;
  overflow: hidden;
  background-color: rgba(10, 10, 11, 0.88);
  isolation: isolate;
}

.program-card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  filter: saturate(0.82) contrast(1.03) brightness(0.72);
  opacity: 1;
  transition: transform 0.7s var(--ease-spring), filter 0.55s ease;
  z-index: 0;
}

.program-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2,2,3,0.16) 0%, rgba(2,2,3,0.62) 50%, rgba(2,2,3,0.92) 100%);
  z-index: 0;
  pointer-events: none;
}

.program-card-visual:hover::before {
  transform: scale(1.06);
  filter: saturate(0.96) contrast(1.06) brightness(0.78);
}

.program-card-visual .relative.z-1 {
  position: relative;
  z-index: 1;
}

.program-card-visual .prog-icon-wrap,
.program-card-visual .prog-num,
.program-card-visual .prog-tag,
.program-card-visual h3,
.program-card-visual p,
.program-card-visual span {
  position: relative;
  z-index: 1;
}

.program-card-visual--speakers::before {
  background-image: url('https://images.unsplash.com/photo-1641903806973-17eaf2d2634f?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.program-card-visual--homework::before {
  background-image: url('https://images.unsplash.com/photo-1724383091797-472328956993?q=80&w=1374&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.program-card-visual--sports::before {
  background-image: url('https://images.unsplash.com/photo-1612872087720-bb876e2e67d1?q=80&w=1007&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.program-card-visual--finance::before {
  background-image: url('https://images.unsplash.com/photo-1762884613665-43e760bb15b2?q=80&w=1112&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.program-card-visual--scouts::before {
  background-image: url('https://images.unsplash.com/photo-1656378130539-69fc9f81b026?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

/* Big ghost number */
.prog-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 202, 80, 0.12);
  position: absolute;
  top: -0.2em; right: 1rem;
  pointer-events: none;
  user-select: none;
  transition: -webkit-text-stroke-color 0.4s ease;
  z-index: 0;
}

.program-immersive-card:hover .prog-num {
  -webkit-text-stroke-color: rgba(242, 202, 80, 0.28);
}

/* Icon circle */
.prog-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 1.25rem;
  background: rgba(242, 202, 80, 0.08);
  border: 1px solid rgba(242, 202, 80, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: background 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
  flex-shrink: 0;
}

.program-immersive-card:hover .prog-icon-wrap {
  background: rgba(242, 202, 80, 0.15);
  border-color: rgba(242, 202, 80, 0.32);
  transform: scale(1.08) rotate(-4deg);
}

/* Tag pills */
.prog-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.prog-tag {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 202, 80, 0.6);
  background: rgba(242, 202, 80, 0.06);
  border: 1px solid rgba(242, 202, 80, 0.12);
  border-radius: 100px;
  padding: 3px 10px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.program-immersive-card:hover .prog-tag {
  background: rgba(242, 202, 80, 0.11);
  color: rgba(242, 202, 80, 0.9);
  border-color: rgba(242, 202, 80, 0.22);
}

/* Featured (wide / Financial Literacy / SA Scouts) */
.program-immersive-card.prog-featured {
  border-color: rgba(242, 202, 80, 0.12);
  background: linear-gradient(140deg, rgba(22, 16, 6, 0.9) 0%, rgba(14, 14, 16, 0.75) 100%);
}

/* ═══════════════════════════════════════════════════════
   EVENTS — Past Highlights Enhanced
   ═══════════════════════════════════════════════════════ */

.past-highlight-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  padding: 2rem;
  background: rgba(14, 14, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s ease, box-shadow 0.5s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.past-highlight-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(242, 202, 80, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.past-highlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 202, 80, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(242, 202, 80, 0.06);
}

.past-highlight-card:hover::before { opacity: 1; }

.past-highlight-stat {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  background: linear-gradient(135deg, #ffe088 0%, #f2ca50 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.past-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 202, 80, 0.7);
  background: rgba(242, 202, 80, 0.07);
  border: 1px solid rgba(242, 202, 80, 0.15);
  border-radius: 100px;
  padding: 4px 12px;
  width: fit-content;
}

/* ═══════════════════════════════════════════════════════
   EVENTS — Gathering CTA Heading  
   ═══════════════════════════════════════════════════════ */

.gathering-cta-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(100%, 860px);
  margin: 0 auto 1.5rem;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-align: center;
}

.gathering-cta-heading .word-the {
  font-size: clamp(13px, 1.5vw, 18px);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.35em;
  color: rgba(242, 202, 80, 0.55);
  margin-bottom: 0.2em;
  text-transform: uppercase;
}

.gathering-cta-heading .word-next {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: clamp(40px, 7vw, 88px);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.gathering-cta-heading .word-gathering {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: clamp(46px, 8.5vw, 108px);
  background: linear-gradient(160deg, #ffe088 0%, #f2ca50 35%, #d4af37 65%, #f2ca50 85%, #ffe088 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 5s ease-in-out infinite;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.gathering-cta-heading .word-awaits {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: clamp(32px, 5.5vw, 72px);
  color: var(--color-on-surface);
  -webkit-text-fill-color: var(--color-on-surface);
  -webkit-text-stroke: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 768px) {
  .gathering-cta-heading .word-next     { font-size: clamp(32px, 10vw, 58px); -webkit-text-stroke-width: 1.25px; }
  .gathering-cta-heading .word-gathering { font-size: clamp(36px, 11vw, 66px); }
  .gathering-cta-heading .word-awaits   { font-size: clamp(24px, 8vw, 44px); }
}

/* ═══════════════════════════════════════════════════════
   CONTACT — Partner With Us Logos
   ═══════════════════════════════════════════════════════ */

.contact-partner-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.contact-partner-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  aspect-ratio: 16 / 9;
  padding: 1rem;
  border-radius: 1.25rem;
  background: rgba(16, 16, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.contact-partner-logo-card:hover {
  border-color: rgba(242, 202, 80, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(242, 202, 80, 0.07);
}

.contact-partner-logo-card img {
  max-width: 88%;
  max-height: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
  transition: filter 0.5s ease, opacity 0.5s ease, transform 0.4s ease;
}

.contact-partner-logo-card:hover img {
  filter: grayscale(0) brightness(1) contrast(1);
  opacity: 1;
  transform: scale(1.08);
}

.contact-partner-logo-card .partner-label {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: transparent;
  transition: color 0.4s ease;
  text-align: center;
  line-height: 1.3;
}

.contact-partner-logo-card:hover .partner-label {
  color: rgba(242, 202, 80, 0.65);
}

@media (max-width: 640px) {
  .contact-partner-logos { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .contact-partner-logo-card { padding: 0.75rem; border-radius: 1rem; }
}
/* ═══════════════════════════════════════
   COMING SOON MODAL
   ═══════════════════════════════════════ */
.cs-modal-overlay{position:fixed;inset:0;z-index:99995;display:flex;align-items:center;justify-content:center;padding:1.5rem;background:rgba(5,5,6,0.82);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);opacity:0;transition:opacity 0.3s ease;}
.cs-modal-overlay[hidden]{display:none!important;}
.cs-modal-overlay.cs-modal-open{opacity:1;}
.cs-modal{position:relative;width:100%;max-width:420px;padding:clamp(2rem,5vw,3rem) clamp(1.75rem,5vw,2.5rem);border-radius:1.75rem;text-align:center;background:rgba(16,16,18,0.97);backdrop-filter:blur(40px);-webkit-backdrop-filter:blur(40px);border:1px solid rgba(242,202,80,0.2);box-shadow:0 40px 90px rgba(0,0,0,0.6),0 0 60px rgba(242,202,80,0.08);transform:scale(0.92) translateY(16px);transition:transform 0.4s var(--ease-spring);}
.cs-modal-overlay.cs-modal-open .cs-modal{transform:scale(1) translateY(0);}
.cs-modal-close{position:absolute;top:1rem;right:1rem;width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,0.1);background:rgba(255,255,255,0.03);color:rgba(208,197,175,0.7);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color 0.3s,color 0.3s,background 0.3s;}
.cs-modal-close:hover{border-color:rgba(242,202,80,0.4);color:var(--gold-2);background:rgba(242,202,80,0.08);}
.cs-modal-icon{width:64px;height:64px;margin:0 auto 1.5rem;border-radius:50%;background:rgba(242,202,80,0.08);border:1px solid rgba(242,202,80,0.2);display:flex;align-items:center;justify-content:center;color:var(--gold-2);position:relative;}
.cs-modal-icon::before{content:'';position:absolute;inset:-6px;border-radius:50%;border:1px solid rgba(242,202,80,0.12);animation:dotRippleAlt 3s ease-out infinite;}
.cs-modal-icon .material-symbols-outlined{font-size:28px;}
.cs-modal-eyebrow{display:block;font-family:'Space Mono',monospace;font-size:10px;letter-spacing:0.32em;text-transform:uppercase;color:rgba(242,202,80,0.65);margin-bottom:0.75rem;}
.cs-modal-title{font-family:'Syne',sans-serif;font-weight:800;font-size:clamp(24px,4vw,32px);text-transform:uppercase;letter-spacing:-0.01em;margin:0 0 1rem;background:linear-gradient(160deg,#ffe088 0%,#f2ca50 40%,#d4af37 80%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
.cs-modal-text{font-size:0.9rem;line-height:1.65;color:var(--color-on-surface-variant);margin:0 0 2rem;}
.cs-modal-actions{display:flex;flex-direction:column;gap:0.75rem;}
.cs-modal-btn{width:100%;justify-content:center;}

/* ═══════════════════════════════════════
   EVENTS — FEATURED HIGHLIGHT CARD
   ═══════════════════════════════════════ */
.past-highlight-card.hl-featured{
  border-color:rgba(242,202,80,0.25)!important;
  background:linear-gradient(145deg,rgba(20,16,6,0.9),rgba(16,16,18,0.85))!important;
  box-shadow:0 0 40px rgba(242,202,80,0.08);
}
.past-highlight-card.hl-featured .past-highlight-stat{
  background:linear-gradient(135deg,#ffe088,#f2ca50);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}

/* ── Splash Screen & Nav Animation ── */
#splash-screen {
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#splash-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: min(82vw, 280px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(242,202,80,0.18), transparent 58%);
  animation: splashEnter 900ms var(--ease-spring) both;
}

.splash-progress-ring {
  position: absolute;
  inset: -0.9rem;
  border-radius: 999px;
  background: conic-gradient(from -90deg, var(--gold-2) calc(var(--splash-progress, 0) * 1%), rgba(242,202,80,0.12) calc(var(--splash-progress, 0) * 1%));
  mask: radial-gradient(circle, transparent 58%, black 59%);
  -webkit-mask: radial-gradient(circle, transparent 58%, black 59%);
  transition: background 180ms linear;
  filter: drop-shadow(0 0 18px rgba(242,202,80,0.2));
}

.splash-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(242,202,80,0.36);
  border-radius: 999px;
  box-shadow: 0 0 0 10px rgba(242,202,80,0.04), 0 0 45px rgba(242,202,80,0.16);
  animation: splashRing 2.4s ease-in-out infinite;
}

.splash-logo {
  position: relative;
  z-index: 1;
  animation: splashPulse 2.2s ease-in-out infinite;
}

.splash-text {
  position: absolute;
  bottom: -2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  text-align: center;
  color: var(--color-on-background);
  opacity: 0.92;
}

.splash-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(242,202,80,0.82);
}

.splash-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#splash-screen.is-hidden .splash-shell {
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

@keyframes splashPulse {
  0%, 100% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 0 rgba(242,202,80,0)); }
  50% { transform: scale(1.12); opacity: 0.84; filter: drop-shadow(0 0 28px rgba(242,202,80,0.55)); }
}

@keyframes splashRing {
  0%, 100% { transform: scale(0.96); opacity: 0.7; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes splashEnter {
  0% { transform: translateY(10px) scale(0.96); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.nav-startup-state {
  max-width: 88px !important;
  padding-right: 20px !important;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
}

.nav-startup-state > *, .nav-expanding > * {
  flex-shrink: 0;
}

.nav-startup-state #nav-links,
.nav-startup-state .btn-primary,
.nav-startup-state #mobile-menu-btn,
.nav-startup-state .uppercase {
  opacity: 0;
  visibility: hidden;
}

.nav-expanding {
  overflow: hidden;
  white-space: nowrap;
  pointer-events: auto;
  transition: max-width 1.2s cubic-bezier(0.77, 0, 0.175, 1) !important;
  max-width: 56rem !important;
}

.nav-expanding #nav-links,
.nav-expanding .btn-primary,
.nav-expanding #mobile-menu-btn,
.nav-expanding .uppercase {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.85s ease 0.45s !important;
}

@media (max-width: 768px) {
  .nav-startup-state {
    max-width: 88px !important;
  }
}