/* ============================================================
   Leo District 306 D5 — Red & Gold Theme
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  --red-950:    #3b0000;
  --red-900:    #5a0000;
  --red-800:    #7f0000;
  --red-700:    #9b0000;
  --red-600:    #b91c1c;
  --red-500:    #dc2626;
  --red-400:    #ef4444;
  --red-200:    #fecaca;
  --red-100:    #fee2e2;
  --red-50:     #fef2f2;

  --gold-900:   #713f12;
  --gold-800:   #92400e;
  --gold-700:   #a16207;
  --gold-600:   #ca8a04;
  --gold-500:   #eab308;
  --gold-400:   #facc15;
  --gold-300:   #fde047;
  --gold-200:   #fef08a;
  --gold-100:   #fef9c3;

  --dark:       #0f0000;
  --dark-card:  #1a0000;
  --dark-border:#3b0a0a;

  --text-light: #fdf4f4;
  --text-muted: #c4b5b5;
  --text-dim:   #a1887f;

  --white:      #ffffff;
  --off-white:  #faf7f7;

  --shadow-red: 0 4px 24px rgba(185, 28, 28, 0.25);
  --shadow-gold: 0 4px 24px rgba(234, 179, 8, 0.2);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.08);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: 'Oswald', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: #1a0000;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.2; }

/* ── Utilities ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-dark {
  background: var(--dark);
  color: var(--text-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-600);
  background: var(--red-50);
  border: 1px solid var(--red-200);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-eyebrow-gold {
  color: var(--gold-700);
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.3);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--red-900);
  margin-bottom: 16px;
}

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

.section-desc {
  font-size: 1.0625rem;
  color: #6b4040;
  line-height: 1.7;
}

.section-desc-light { color: var(--text-muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  color: white;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--red-500), var(--red-600));
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(185,28,28,0.35);
}

.btn-outline {
  border-color: var(--red-600);
  color: var(--red-700);
  background: transparent;
}

.btn-outline:hover {
  background: var(--red-50);
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(255,255,255,0.5);
  color: white;
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(30, 0, 0, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(234,179,8,0.15),
    0 4px 40px rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(234,179,8,0.12);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-emblem {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  color: var(--red-900);
  flex-shrink: 0;
  box-shadow: var(--shadow-gold);
}

.logo-emblem-sm {
  width: 36px;
  height: 36px;
  font-size: 0.875rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.logo-subtitle {
  font-size: 0.7rem;
  color: var(--gold-400);
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: all var(--transition);
}

.nav-link:hover {
  color: white;
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--red-900) !important;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(234,179,8,0.4);
  margin-left: 8px;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(234,179,8,0.5);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* Hero background: Unsplash photo with multi-layer gradient */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(59, 0, 0, 0.92)   0%,
      rgba(120, 10, 0, 0.78) 30%,
      rgba(10,  0, 0, 0.70)  55%,
      rgba(90,  0, 0, 0.85) 100%
    ),
    url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1920&q=80')
    center / cover no-repeat;
  z-index: 0;
}

/* Gold shimmer lines overlay */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    repeating-linear-gradient(45deg, var(--gold-500) 0, var(--gold-500) 1px, transparent 0, transparent 50%);
  background-size: 28px 28px;
  z-index: 0;
}

/* Warm radial glow in the centre */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    ellipse at center,
    rgba(220, 38, 38, 0.35)  0%,
    rgba(180, 28, 28, 0.18) 45%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
}

/* Bottom-edge vignette for smooth section transition */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--white));
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(234,179,8,0.12);
  border: 1px solid rgba(234,179,8,0.3);
  border-radius: 100px;
  padding: 5px 16px;
  margin-bottom: 28px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  gap: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title-main {
  color: white;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.125rem, 2.5vw, 1.625rem);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero-description {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.75;
}

.hero-description strong {
  color: var(--gold-400);
  font-weight: 700;
}

.hero-description em {
  font-style: normal;
  color: rgba(255,255,255,0.9);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--gold-400);
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  z-index: 1;
  animation: fadeInUp 1s 1.5s ease both;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  font-size: 1.0625rem;
  color: #3d1a1a;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text strong { color: var(--red-700); font-weight: 700; }
.about-text em     { font-style: normal; color: var(--gold-700); font-weight: 600; }

.pillars {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--red-50);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--red-600);
  transition: all var(--transition);
}

.pillar:hover {
  background: var(--red-100);
  transform: translateX(4px);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.1), rgba(234, 179, 8, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-600);
  flex-shrink: 0;
  border: 1px solid rgba(234, 179, 8, 0.25);
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.pillar h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--red-800);
  margin-bottom: 4px;
}

.pillar p {
  font-size: 0.9rem;
  color: #6b4040;
  line-height: 1.5;
}

/* About Visual */
.about-visual {
  position: relative;
}

.about-card-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--red-100);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.info-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-red);
  border-color: var(--red-200);
}

.info-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.08), rgba(234, 179, 8, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-700);
  flex-shrink: 0;
  border: 1px solid rgba(185, 28, 28, 0.15);
}

.info-card-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.info-card strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red-600);
  font-weight: 700;
  margin-bottom: 2px;
}

.info-card span {
  font-size: 0.9rem;
  color: #3d1a1a;
}

.about-emblem {
  display: flex;
  justify-content: center;
}

.emblem-ring {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-700), var(--red-900));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: 0 0 0 4px var(--gold-500), var(--shadow-red);
}

.emblem-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(234,179,8,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.emblem-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.25rem;
  color: var(--gold-400);
  line-height: 1;
}

.emblem-number {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
}

/* ============================================================
   WHAT L.E.O. STANDS FOR (LEADERSHIP, EXPERIENCE, OPPORTUNITY)
   ============================================================ */
.leo-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.leo-pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(234, 179, 8, 0.22);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.leo-pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-400);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(234, 179, 8, 0.2);
}

.leo-pillar-letter {
  position: absolute;
  top: 12px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(234, 179, 8, 0.08);
  line-height: 1;
  pointer-events: none;
  transition: color var(--transition);
}

.leo-pillar-card:hover .leo-pillar-letter {
  color: rgba(234, 179, 8, 0.18);
}

.leo-pillar-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.leo-pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(185, 28, 28, 0.3));
  border: 1px solid rgba(234, 179, 8, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  flex-shrink: 0;
}

.leo-pillar-icon svg {
  width: 28px;
  height: 28px;
}

.leo-pillar-title-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  color: white;
  font-weight: 700;
  line-height: 1.2;
}

.leo-pillar-tagline {
  font-size: 0.8125rem;
  color: var(--gold-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.leo-pillar-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.leo-pillar-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.leo-pillar-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.leo-pillar-points li svg {
  width: 15px;
  height: 15px;
  color: var(--gold-400);
  flex-shrink: 0;
}

/* ============================================================
   STRUCTURE SECTION
   ============================================================ */
.structure-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 80px;
}

.flow-item {
  max-width: 560px;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-align: center;
  transition: all var(--transition);
}

.flow-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(234,179,8,0.3);
}

.flow-top { border-top: 2px solid var(--gold-500); }
.flow-md  { border-top: 2px solid var(--red-500); }

.flow-highlight {
  background: linear-gradient(135deg, rgba(185,28,28,0.2), rgba(120,0,0,0.3));
  border-color: var(--red-600);
  border-width: 2px;
  box-shadow: 0 0 0 1px var(--red-700), 0 8px 40px rgba(185,28,28,0.3);
  max-width: 600px;
}

.flow-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
}

.flow-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.flow-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.flow-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.flow-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.badge-you {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--gold-500);
  color: var(--red-900);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.flow-arrow-down {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold-600), var(--gold-400));
  position: relative;
}

.flow-arrow-down::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--gold-400);
}

.flow-clubs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 840px;
}

.flow-club {
  max-width: 100%;
  padding: 22px 20px;
}

.how-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.how-card {
  padding: 28px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.how-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold-600);
  transform: translateY(-4px);
}

.how-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--red-700);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 16px;
}

.how-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 10px;
}

.how-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   ALL CLUBS SECTION (UNIFIED DIRECTORY)
   ============================================================ */
.clubs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.clubs-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.club-filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--red-200);
  background: white;
  color: var(--red-800);
  cursor: pointer;
  transition: all var(--transition);
}

.club-filter-btn:hover {
  border-color: var(--red-400);
  background: var(--red-50);
}

.club-filter-btn.active {
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  color: white;
  border-color: var(--red-600);
  box-shadow: 0 2px 10px rgba(185, 28, 28, 0.25);
}

.clubs-search-wrap {
  position: relative;
  min-width: 260px;
}

.clubs-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #8a4a4a;
  pointer-events: none;
}

.clubs-search-input {
  width: 100%;
  padding: 9px 16px 9px 38px;
  border-radius: 100px;
  border: 1px solid var(--red-200);
  background: white;
  font-size: 0.85rem;
  color: #1a0000;
  outline: none;
  transition: all var(--transition);
}

.clubs-search-input:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.15);
}

.all-clubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.club-card {
  padding: 24px;
  background: white;
  border: 1px solid var(--red-100);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.club-card:hover {
  border-color: rgba(234, 179, 8, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(185, 28, 28, 0.15), 0 0 0 1px rgba(234, 179, 8, 0.3);
}

.club-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.club-card-badge-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.club-card-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-500);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  background: #200000;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.club-card:hover .club-card-logo {
  transform: scale(1.08) rotate(3deg);
  border-color: var(--gold-400);
}

.club-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red-100), var(--gold-100));
  color: var(--red-800);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.club-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--red-900);
  margin-bottom: 8px;
  line-height: 1.35;
}

.club-card p {
  font-size: 0.85rem;
  color: #6b4040;
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}

.club-type {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-700);
  background: var(--red-50);
  border: 1px solid var(--red-100);
  border-radius: 100px;
  padding: 3px 10px;
}

.club-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(185, 28, 28, 0.08);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--red-700);
  transition: all var(--transition);
}

.club-card-action svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.club-card:hover .club-card-action {
  color: var(--gold-600);
}

.club-card:hover .club-card-action svg {
  transform: translateX(4px);
}

/* ============================================================
   CLUB DETAILS MODAL POPUP — Whitish Professional Glassmorphism
   ============================================================ */
.club-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.club-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.club-modal-dialog {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow:
    0 32px 80px -12px rgba(15, 23, 42, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95) translateY(18px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 44px 32px 32px;
  color: #1e293b;
}

.club-modal-overlay.active .club-modal-dialog {
  transform: scale(1) translateY(0);
}

/* ── Close button ── */
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.modal-close-btn svg { width: 16px; height: 16px; }
.modal-close-btn:hover {
  background: #fee2e2;
  color: var(--red-700);
  border-color: #fca5a5;
  transform: rotate(90deg);
}

/* ── Top centered header: Name → Logo → Pills → Tagline ── */
.modal-header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.modal-club-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 18px;
}

.modal-logo-center-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 16px;
}

.modal-club-logo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(203, 213, 225, 0.7);
  background: #f1f5f9;
  display: block;
}

.modal-club-badge-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--red-700);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.modal-meta-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.modal-club-type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--red-800);
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.18);
  padding: 4px 12px;
  border-radius: 100px;
}

.modal-district-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 12px;
  border-radius: 100px;
}

.modal-club-tagline {
  font-size: 0.9rem;
  font-style: italic;
  color: #475569;
  font-weight: 500;
  margin: 0;
}

/* ── Description ── */
.modal-club-desc {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.65;
  text-align: center;
  margin-bottom: 22px;
}

/* ── Stats grid (3 counts, no date below) ── */
.modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}

.modal-stat-item {
  text-align: center;
  background: #f8fafc;
  padding: 16px 8px;
}

.modal-stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--red-700);
  line-height: 1;
  margin-bottom: 5px;
}

.modal-stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #64748b;
  font-weight: 600;
}

/* ── Causes ── */
.modal-causes-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 10px;
}

.modal-causes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
}

.modal-cause-chip {
  font-size: 0.74rem;
  font-weight: 500;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 5px 12px;
  border-radius: 100px;
  transition: background var(--transition), border-color var(--transition);
}
.modal-cause-chip:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

/* ── Action row ── */
.modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-read-more-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 0.9rem;
}
.modal-read-more-btn svg {
  width: 17px;
  height: 17px;
  transition: transform var(--transition);
}
.modal-read-more-btn:hover svg { transform: translateX(4px); }

.modal-secondary-btn {
  padding: 13px 20px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}
.modal-secondary-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ============================================================
   DEDICATED CLUB PAGE (club.html) STYLES
   ============================================================ */
.club-page-body {
  background: #0d0000;
  color: rgba(255, 255, 255, 0.9);
}

.club-hero {
  position: relative;
  padding: 130px 0 60px;
  background: linear-gradient(165deg, rgba(60, 0, 0, 0.9) 0%, rgba(15, 0, 0, 0.95) 60%, #0d0000 100%);
  border-bottom: 1px solid rgba(234, 179, 8, 0.15);
  overflow: hidden;
}

.club-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 20%, rgba(185, 28, 28, 0.25) 0%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(234, 179, 8, 0.03) 0, rgba(234, 179, 8, 0.03) 1px, transparent 0, transparent 40px);
  pointer-events: none;
}

.club-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
}

.club-breadcrumbs a {
  color: var(--gold-400);
  transition: color var(--transition);
}

.club-breadcrumbs a:hover {
  color: white;
  text-decoration: underline;
}

.club-breadcrumbs svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

.club-hero-card {
  background: rgba(25, 0, 0, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.club-hero-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.club-hero-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.club-hero-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-500);
  box-shadow: var(--shadow-gold);
  background: #250202;
  flex-shrink: 0;
}

.mockup-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(234, 179, 8, 0.15);
  color: var(--gold-300);
  border: 1px dashed rgba(234, 179, 8, 0.45);
}

.club-hero-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #2b0000;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
}

.club-hero-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.club-type-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.35);
  padding: 4px 14px;
  border-radius: 100px;
}

.club-district-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 14px;
  border-radius: 100px;
}

.club-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.club-hero-tagline {
  font-size: 1.125rem;
  color: var(--gold-300);
  font-weight: 500;
  margin-bottom: 20px;
}

.club-hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  max-width: 800px;
  margin-bottom: 32px;
}

.club-stats-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(234, 179, 8, 0.15);
  flex-wrap: wrap;
}

.club-stat-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.club-stat-box svg {
  width: 26px;
  height: 26px;
  color: var(--gold-400);
}

.club-stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: white;
  line-height: 1.1;
}

.club-stat-box span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
}

.club-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
}

.club-main {
  padding: 80px 0;
}

.club-org-chart {
  margin-bottom: 72px;
}

.club-details-extra {
  margin-bottom: 72px;
}

.club-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.club-info-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(234, 179, 8, 0.18);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.club-info-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.club-info-header svg {
  width: 22px;
  height: 22px;
  color: var(--gold-400);
}

.club-info-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: white;
  font-weight: 700;
}

.club-info-box p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.meeting-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 8px;
  color: var(--gold-300);
  font-size: 0.8125rem;
  font-weight: 600;
}

.meeting-highlight-badge svg {
  width: 15px;
  height: 15px;
}

.club-switch-section {
  background: rgba(20, 0, 0, 0.4);
  border: 1px solid rgba(234, 179, 8, 0.15);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
}

.club-switch-header {
  margin-bottom: 24px;
  text-align: center;
}

.club-switch-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 6px;
}

.club-switch-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.club-switch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.club-switch-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  color: white;
}

.club-switch-item:hover {
  background: rgba(185, 28, 28, 0.25);
  border-color: rgba(234, 179, 8, 0.35);
  transform: translateY(-2px);
}

.club-switch-item.active {
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.4), rgba(234, 179, 8, 0.25));
  border-color: var(--gold-500);
}

.switch-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(234, 179, 8, 0.18);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.switch-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.switch-name {
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.switch-cat {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
}

.switch-icon {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.club-switch-item:hover .switch-icon {
  color: var(--gold-400);
  transform: translate(2px, -2px);
}

.switch-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-500);
  flex-shrink: 0;
  background: #250202;
}

/* ============================================================
   CLUB ACTIVITIES & SERVICE PROJECTS GALLERY (club.html)
   ============================================================ */
.club-gallery-section {
  margin-bottom: 72px;
}

.club-gallery-header {
  text-align: center;
  margin-bottom: 36px;
}

.club-gallery-header h3 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: white;
  margin-bottom: 8px;
}

.club-gallery-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

.club-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.club-gallery-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.club-gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-400);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 16px rgba(234, 179, 8, 0.2);
}

.club-gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.club-gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.club-gallery-card:hover .club-gallery-img-wrap img {
  transform: scale(1.08);
}

.gallery-photo-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(20, 0, 0, 0.75);
  border: 1px solid rgba(234, 179, 8, 0.35);
  backdrop-filter: blur(8px);
  color: var(--gold-300);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
}

.gallery-date-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.club-gallery-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.club-gallery-body h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: white;
  margin-bottom: 8px;
  font-weight: 700;
}

.club-gallery-body p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

.gallery-impact-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-400);
  font-size: 0.8125rem;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.gallery-impact-stat svg {
  width: 14px;
  height: 14px;
}

/* ============================================================
   LEADERSHIP / ORG CHART
   ============================================================ */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 56px;
}

.org-level {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.org-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.org-card-president {
  background: linear-gradient(135deg, #2a0000, var(--red-900));
  border: 2px solid var(--gold-500);
  box-shadow: 0 0 0 1px var(--gold-700), 0 12px 60px rgba(185,28,28,0.5);
  max-width: 520px;
  width: 100%;
}

.org-card-vp {
  background: linear-gradient(135deg, rgba(185,28,28,0.15), rgba(120,0,0,0.25));
  border: 1px solid var(--red-600);
  max-width: 400px;
  width: 100%;
}

.org-card-cabinet {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-border);
  flex: 1;
  min-width: 0;
}

.org-card-director {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  flex: 1;
  min-width: 0;
  padding: 20px 16px;
}

.org-card:hover {
  transform: translateY(-3px);
}

.org-rank {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(234,179,8,0.12);
  border: 1px solid rgba(234,179,8,0.25);
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.org-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}

.org-avatar-sm { width: 60px; height: 60px; }
.org-avatar-xs { width: 48px; height: 48px; }

.avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-700), var(--red-900));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--gold-400);
  border: 3px solid var(--gold-600);
}

.org-avatar-sm .avatar-initials { font-size: 1rem; }
.org-avatar-xs .avatar-initials { font-size: 0.875rem; }

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--gold-500);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
  background-color: #2b0000;
}

.org-card:hover .avatar-img {
  transform: scale(1.05);
  border-color: var(--gold-400);
}

.mockup-person-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(234, 179, 8, 0.12);
  color: var(--gold-300);
  border: 1px dashed rgba(234, 179, 8, 0.45);
  margin: 0 auto 10px;
}

.mockup-person-tag svg {
  width: 10px;
  height: 10px;
}

.org-crown {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #2b0000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  z-index: 2;
}

.org-crown svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.3;
}

.org-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.org-card-director .org-name {
  font-size: 0.875rem;
}

.org-term {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.org-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto;
}

.org-role-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.org-connector-h {
  width: 2px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(234,179,8,0.5), rgba(234,179,8,0.2));
}

.org-connector-narrow { height: 24px; }

.org-footnote {
  max-width: 640px;
  text-align: center;
  margin-top: 24px;
}

.org-footnote p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
  opacity: 0.75;
}

.advisor-section {
  max-width: 700px;
  margin: 0 auto;
}

.advisor-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  background: rgba(234,179,8,0.08);
  border: 1px solid rgba(234,179,8,0.25);
  border-radius: var(--radius-lg);
}

.advisor-avatar-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.advisor-avatar-img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-500);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.advisor-mockup-tag {
  margin-top: 8px;
  margin-bottom: 0;
}

.advisor-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(185, 28, 28, 0.25));
  border: 1px solid rgba(234, 179, 8, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  flex-shrink: 0;
}

.advisor-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

.advisor-content h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 10px;
}

.advisor-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   ACHIEVEMENTS SECTION
   ============================================================ */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.achievement-card {
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--red-100);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-red);
  border-color: var(--red-300);
}

.achievement-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  background: linear-gradient(135deg, var(--red-50), #fff9e8);
  border-color: var(--gold-400);
  border-width: 2px;
  align-items: center;
  padding: 24px;
}

.achievement-featured-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.achievement-featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.achievement-featured:hover .achievement-featured-img-wrap img {
  transform: scale(1.05);
}

.achievement-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.achievement-featured .achievement-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--red-950);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-gold);
}

.achievement-featured .achievement-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
}

.achievement-img-wrap {
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: -32px -28px 20px -28px;
  position: relative;
}

.achievement-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.achievement-card:hover .achievement-img-wrap img {
  transform: scale(1.06);
}

.achievement-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.1), rgba(234, 179, 8, 0.15));
  border: 1px solid rgba(234, 179, 8, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-700);
  margin-bottom: 16px;
}

.achievement-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.achievement-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--red-900);
  margin-bottom: 10px;
  line-height: 1.3;
}

.achievement-featured h3 {
  font-size: 1.25rem;
}

.achievement-card p {
  font-size: 0.9rem;
  color: #5a3030;
  line-height: 1.65;
  margin-bottom: 16px;
}

.achievement-card p strong { color: var(--red-700); }

.achievement-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-700);
  background: var(--gold-100);
  border-radius: 100px;
  padding: 3px 12px;
}

/* Causes Grid */
.causes-section {
  text-align: center;
}

.causes-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--red-900);
  margin-bottom: 24px;
}

.causes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cause-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: white;
  border: 1px solid var(--red-200);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--red-800);
  transition: all var(--transition);
  cursor: default;
}

.cause-pill svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
  color: var(--red-600);
  flex-shrink: 0;
  transition: color var(--transition);
}

.cause-pill:hover {
  background: var(--red-600);
  color: white;
  border-color: var(--red-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.cause-pill:hover svg {
  color: var(--gold-300);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.contact-card {
  padding: 28px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition);
}

.contact-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold-600);
  transform: translateY(-4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

/* Badges created from generated crest */
.nav-logo-badge {
  width: auto;
  height: 44px;
  max-width: 44px;
  border-radius: 4px;
  object-fit: contain;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo .nav-logo-badge {
  width: auto;
  height: 52px;
  max-width: 52px;
}

.emblem-badge-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold-400);
  box-shadow: 0 0 25px rgba(234, 179, 8, 0.35);
}

.contact-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-400);
  margin-bottom: 10px;
}

.contact-card a,
.contact-card span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: block;
}

.contact-card a:hover {
  color: white;
  text-decoration: underline;
}

.join-cta {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.join-cta h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.join-cta p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.65;
}

.join-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-size: 0.9375rem;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.logo-subtitle-footer {
  font-size: 0.7rem;
  color: var(--gold-400);
  letter-spacing: 0.06em;
  display: block;
}

.footer-links h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links li a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-credits {
  opacity: 0.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid      { grid-template-columns: 1fr; gap: 48px; }
  .about-visual    { order: -1; }
  .about-emblem    { display: none; }
  .how-work-grid   { grid-template-columns: repeat(2, 1fr); }
  .all-clubs-grid  { grid-template-columns: repeat(2, 1fr); }
  .club-info-grid  { grid-template-columns: 1fr; }
  .club-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .leo-pillars-grid { grid-template-columns: 1fr; }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .achievement-featured { grid-column: 1 / -1; }
  .contact-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section         { padding: 64px 0; }
  .club-gallery-grid { grid-template-columns: 1fr; }
  .leo-pillars-grid { grid-template-columns: 1fr; }

  .nav-links       { display: none; flex-direction: column; gap: 4px;
                     position: absolute; top: 100%; left: 0; right: 0;
                     background: rgba(10,0,0,0.97); padding: 16px 24px 24px;
                     border-top: 1px solid var(--dark-border); }
  .nav-links.open  { display: flex; }
  .nav-toggle      { display: flex; }

  .hero-stats      { gap: 20px; }
  .stat-divider    { height: 36px; }

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

  .flow-clubs-row  { grid-template-columns: 1fr; gap: 16px; }
  .flow-item       { max-width: 100%; }
  .how-work-grid   { grid-template-columns: 1fr 1fr; }

  .all-clubs-grid  { grid-template-columns: 1fr; }
  .clubs-toolbar   { flex-direction: column; align-items: stretch; }
  .clubs-search-wrap { min-width: 100%; }
  .club-hero-card  { padding: 28px 20px; }
  .club-stats-strip { gap: 16px; }

  .org-level-3     { flex-direction: column; align-items: center; }
  .org-level-4     { flex-direction: column; align-items: center; }
  .org-card-cabinet { max-width: 420px; width: 100%; }
  .org-card-director { max-width: 420px; width: 100%; }

  .achievements-grid { grid-template-columns: 1fr; }
  .achievement-featured { grid-template-columns: 1fr; gap: 20px; }
  .achievement-featured-img-wrap { height: 180px; }

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

@media (max-width: 480px) {
  .all-clubs-grid  { grid-template-columns: 1fr; }
  .how-work-grid   { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .hero-actions    { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .advisor-card    { flex-direction: column; }
  .club-modal-dialog { padding: 28px 18px 22px; }
  .modal-club-title { font-size: 1.625rem; }
  .modal-stats-grid { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================================
   GLASSMORPHISM — frosted glass card system
   ============================================================ */

/* ── glass mixin values ── */
:root {
  --glass-blur:       16px;
  --glass-saturate:   160%;
  --glass-bg-light:   rgba(255, 255, 255, 0.12);
  --glass-bg-dark:    rgba(15, 0, 0, 0.45);
  --glass-border-light: rgba(255, 255, 255, 0.22);
  --glass-border-dark:  rgba(234, 179, 8, 0.18);
}

/* Light glass (on white/light sections) */
.club-card,
.achievement-card,
.info-card,
.cause-pill,
.contact-card {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 2px 12px rgba(120, 0, 0, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

/* Featured/gold-bordered glass */
.club-card-featured,
.achievement-featured {
  background: rgba(255, 252, 235, 0.72);
  backdrop-filter: blur(var(--glass-blur)) saturate(200%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(200%);
  border: 1.5px solid rgba(234, 179, 8, 0.5);
  box-shadow:
    0 4px 24px rgba(234, 179, 8, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

/* Dark glass (on crimson/dark sections) */
.flow-item,
.how-card,
.org-card,
.advisor-card,
.contact-card {
  background: rgba(20, 0, 0, 0.38);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid rgba(234, 179, 8, 0.14);
  box-shadow:
    0 2px 20px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* President card gets deeper glass treatment */
.org-card-president {
  background: rgba(60, 0, 0, 0.55);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1.5px solid rgba(234, 179, 8, 0.55);
  box-shadow:
    0 0 0 1px rgba(180, 28, 28, 0.6),
    0 16px 64px rgba(185,28,28,0.4),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Pillar items glass */
.pillar {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-left: 4px solid var(--red-600);
  border-top: 1px solid rgba(255,255,255,0.7);
  border-right: 1px solid rgba(255,255,255,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  box-shadow:
    0 4px 16px rgba(120, 0, 0, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

/* Mobile nav glass backdrop */
@media (max-width: 768px) {
  .nav-links {
    background: rgba(20, 0, 0, 0.75) !important;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-top: 1px solid rgba(234,179,8,0.15) !important;
  }
}

/* ── hover glass intensification ── */
.club-card:hover,
.achievement-card:hover {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(185, 28, 28, 0.3);
  box-shadow:
    0 8px 32px rgba(120, 0, 0, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.flow-item:hover,
.how-card:hover {
  background: rgba(30, 0, 0, 0.55);
  border-color: rgba(234, 179, 8, 0.35);
}

/* ============================================================
   SCROLL TRANSFORMATIONS
   Uses CSS scroll-driven animations (Baseline 2024) with
   IntersectionObserver as the JS fallback.
   ============================================================ */

/* ── hero parallax: content lifts as background stays ── */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: scroll()) and (animation-range: entry)) {

    .hero-bg {
      animation: heroParallax linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 100vh;
    }

    @keyframes heroParallax {
      from { transform: translateY(0) scale(1);      }
      to   { transform: translateY(30%) scale(1.08); }
    }

    /* Hero content fades and lifts out as you scroll */
    .hero-content {
      animation: heroContentExit linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 60vh;
    }

    @keyframes heroContentExit {
      from { opacity: 1; transform: translateY(0)     scale(1);    }
      to   { opacity: 0; transform: translateY(-48px) scale(0.96); }
    }

    /* Sticky section titles scale in */
    .section-title {
      animation: titleReveal linear both;
      animation-timeline: view(block);
      animation-range: entry 0% entry 40%;
    }

    @keyframes titleReveal {
      from { opacity: 0; transform: translateY(32px) skewY(1deg); }
      to   { opacity: 1; transform: translateY(0)    skewY(0deg); }
    }

    /* Cards fan in from below as they enter viewport */
    .club-card,
    .achievement-card,
    .how-card,
    .org-card,
    .contact-card {
      animation: cardEntry linear both;
      animation-timeline: view(block);
      animation-range: entry 0% entry 35%;
    }

    @keyframes cardEntry {
      from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
        filter: blur(3px);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
      }
    }

    /* Pillar items slide in from left */
    .pillar {
      animation: pillarSlide linear both;
      animation-timeline: view(block);
      animation-range: entry 0% entry 40%;
    }

    @keyframes pillarSlide {
      from { opacity: 0; transform: translateX(-32px); }
      to   { opacity: 1; transform: translateX(0); }
    }

    /* Flow items drop in sequentially */
    .flow-item {
      animation: flowDrop linear both;
      animation-timeline: view(block);
      animation-range: entry 0% entry 50%;
    }

    @keyframes flowDrop {
      from { opacity: 0; transform: translateY(24px) scaleX(0.97); }
      to   { opacity: 1; transform: translateY(0)    scaleX(1); }
    }

    /* Cause pills pop in with a tiny bounce */
    .cause-pill {
      animation: pillPop linear both;
      animation-timeline: view(block);
      animation-range: entry 0% entry 60%;
    }

    @keyframes pillPop {
      from { opacity: 0; transform: scale(0.8); }
      80%  { transform: scale(1.05); }
      to   { opacity: 1; transform: scale(1); }
    }

    /* Achievements section: featured card zooms slightly */
    .achievement-featured {
      animation: featuredZoom linear both;
      animation-timeline: view(block);
      animation-range: entry 0% entry 40%;
    }

    @keyframes featuredZoom {
      from { opacity: 0; transform: scale(0.97) translateY(20px); }
      to   { opacity: 1; transform: scale(1)    translateY(0); }
    }

    /* About text scrolls in from left, visual from right */
    .about-content {
      animation: slideFromLeft linear both;
      animation-timeline: view(block);
      animation-range: entry 0% entry 45%;
    }

    .about-visual {
      animation: slideFromRight linear both;
      animation-timeline: view(block);
      animation-range: entry 0% entry 45%;
    }

    @keyframes slideFromLeft {
      from { opacity: 0; transform: translateX(-40px); }
      to   { opacity: 1; transform: translateX(0); }
    }

    @keyframes slideFromRight {
      from { opacity: 0; transform: translateX(40px); }
      to   { opacity: 1; transform: translateX(0); }
    }

  } /* end @supports */
} /* end prefers-reduced-motion */

/* ── JS IntersectionObserver fallback (browsers without scroll timeline) ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger variants */
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* ── Smooth image parallax on hero bg (JS-driven, see script.js) ── */
.hero-bg {
  will-change: transform;
}
