@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── VARIABLES ─────────────────────────────────────────────── */
:root {
  --bg:        #080808;
  --bg-2:      #111111;
  --bg-3:      #1a1a1a;
  --border:    rgba(255, 255, 255, 0.08);
  --blue:      #1cc8e8;
  --blue-dark: #0ea5c9;
  --blue-glow: rgba(28, 200, 232, 0.18);
  --white:     #ffffff;
  --light:     #cccccc;
  --gray:      #888888;
  --heading:   'Bebas Neue', sans-serif;
  --body:      'Inter', sans-serif;
  --nav-h:     72px;
  --max-w:     1280px;
  --radius:    10px;
  --ease:      0.3s ease;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; overflow-x: hidden; }
body  { background: var(--bg); color: var(--white); font-family: var(--body); line-height: 1.75; overflow-x: hidden; max-width: 100%; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { cursor: pointer; font-family: var(--body); }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--heading); letter-spacing: 0.04em; line-height: 1.05; }
h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 2rem); }
.blue         { color: var(--blue); }
.section-label {
  display: block; font-family: var(--heading); font-size: 1rem;
  letter-spacing: 0.35em; color: var(--blue); text-transform: uppercase; margin-bottom: 0.5rem;
}

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
section    { padding: 4.5rem 0; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { color: var(--light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 4px;
  font-family: var(--heading); font-size: 1.1rem; letter-spacing: 0.1em;
  transition: var(--ease); border: 2px solid transparent; cursor: pointer;
}
.btn-primary  { background: var(--blue); color: var(--bg); }
.btn-primary:hover  { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 28px var(--blue-glow); }
.btn-outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover  { background: var(--white); color: var(--bg); transform: translateY(-2px); }
.btn-blue-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-blue-outline:hover { background: var(--blue); color: var(--bg); transform: translateY(-2px); }

/* ─── NAVBAR ─────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  width: 100%; /* prevents iOS viewport-expansion from pushing it offscreen */
  height: var(--nav-h); display: flex; align-items: center;
  justify-content: space-between; padding: 0 2rem;
  background: rgba(8, 8, 8, 0.97); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
/* nav-left: logo + social icons side by side */
.nav-left { display: flex; align-items: center; gap: 1.25rem; }
.nav-social { display: flex; gap: 0.65rem; align-items: center; }
.nav-social a { color: rgba(255,255,255,0.5); transition: color var(--ease); display: flex; line-height: 0; }
.nav-social a:hover { color: var(--blue); }
.nav-logo a      { display: flex; align-items: center; }
.nav-logo-img    { height: 52px; width: auto; object-fit: contain; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a {
  font-family: var(--heading); font-size: 1rem; letter-spacing: 0.1em;
  color: var(--light); transition: color var(--ease); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--blue); transform: scaleX(0); transition: transform var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--blue) !important; color: var(--bg) !important;
  padding: 0.45rem 1.1rem !important; border-radius: 4px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover  { background: var(--blue-dark) !important; }
.nav-toggle     { display: none; background: none; border: none; color: var(--white); font-size: 1.6rem; padding: 0.4rem; cursor: pointer; }

/* ─── DROPDOWN MENUS ─────────────────────────────────────── */
.has-dropdown { position: relative; }
.nav-arrow {
  display: inline-block; font-size: 0.65em; margin-left: 0.3em;
  vertical-align: middle; transition: transform 0.22s ease;
  line-height: 1;
}
.has-dropdown:hover .nav-arrow,
.has-dropdown.open   .nav-arrow { transform: rotate(180deg); }

.dropdown {
  list-style: none;
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: rgba(10,10,10,0.98); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  /* padding-top bridges the gap so the mouse never leaves the hover zone */
  padding: 14px 0 0.45rem; min-width: 200px;
  opacity: 0; pointer-events: none;
  /* delay the hide by 120ms so a slow mouse move doesn't snap it shut */
  transition: opacity 0.2s ease 0.12s, transform 0.2s ease 0.12s;
  box-shadow: 0 10px 36px rgba(0,0,0,0.7);
  z-index: 1100;
}
/* small caret pointer sits inside the padding-top gap */
.dropdown::before {
  content: ''; position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(255,255,255,0.1);
}
.has-dropdown:hover .dropdown {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
  /* show immediately on hover-in, only delay the hide */
  transition: opacity 0.18s ease 0s, transform 0.18s ease 0s;
}
.dropdown li a {
  display: block; padding: 0.55rem 1.3rem;
  font-size: 0.975rem !important; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.72) !important; white-space: nowrap;
  transition: color 0.18s, background 0.18s;
}
.dropdown li a::after { display: none !important; }
.dropdown li a:hover  { color: var(--blue) !important; background: rgba(255,255,255,0.05); }
.dropdown li a.active { color: var(--blue) !important; }
/* parent link is "active" when a child page is current */
.has-dropdown > a.active { color: var(--blue); }
.has-dropdown > a.active::after { transform: scaleX(1); }

@media (max-width: 920px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(8,8,8,0.98); backdrop-filter: blur(14px);
    flex-direction: column; padding: 2rem 2rem 3rem; gap: 1.5rem;
    transform: translateY(-110%); opacity: 0; pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links a    { font-size: 1.6rem; }
  .nav-toggle     { display: block; }

  /* mobile dropdown — accordion style */
  .dropdown {
    position: static; transform: none !important;
    background: rgba(255,255,255,0.05); border: none; border-radius: 0;
    box-shadow: none; backdrop-filter: none;
    padding: 0; margin-top: 0.5rem;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.32s ease, opacity 0.25s ease;
    pointer-events: none;
  }
  .dropdown::before { display: none; }
  .has-dropdown.open .dropdown {
    max-height: 400px; opacity: 1; pointer-events: all;
  }
  .dropdown li a {
    padding: 0.65rem 1rem 0.65rem 2.25rem !important;
    font-size: 1.3rem !important;
  }
  /* tap the parent to open; show arrow as toggle cue */
  .has-dropdown > a {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
  }
}

/* ─── HERO ─────────────────────────────────────────────── */
#hero {
  position: relative; height: 100vh; min-height: 620px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 0;
  background: #080808; /* shows while video loads — no flash of static image */
}
#heroVideo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: brightness(0.55);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    rgba(8,8,8,0.05) 0%,
    rgba(8,8,8,0.20) 40%,
    rgba(8,8,8,0.75) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 2rem; }
.hero-pick-logo {
  height: 180px; width: auto; object-fit: contain;
  margin: 0 auto 2rem; display: block;
  filter: drop-shadow(0 0 30px rgba(28,200,232,0.4));
}
.hero-content h1   { text-shadow: 0 2px 8px rgba(0,0,0,0.9); margin-bottom: 0.5rem; }
.hero-subtitle     { font-family: var(--heading); font-size: clamp(1rem, 2.2vw, 1.5rem);
                     letter-spacing: 0.4em; color: var(--light); margin-bottom: 2.5rem; }
.hero-ctas         { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--light); font-size: 1.4rem; animation: bobble 2s infinite;
}
@keyframes bobble {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

/* ─── EVENTS PREVIEW ─────────────────────────────────────────────── */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; margin-bottom: 3rem; }
.event-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); display: flex; overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px var(--blue-glow); border-color: rgba(28,200,232,0.35); }
.event-date {
  background: var(--blue); color: var(--bg);
  min-width: 78px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 1.2rem 1rem; flex-shrink: 0;
}
.event-date .day   { font-family: var(--heading); font-size: 2.4rem; line-height: 1; }
.event-date .month { font-family: var(--heading); font-size: 1rem; letter-spacing: 0.2em; }
.event-info        { padding: 1.2rem 1.4rem; flex: 1; }
.event-info h3     { font-family: var(--heading); font-size: 1.2rem; color: var(--white); margin-bottom: 0.5rem; }
.event-meta        { display: flex; flex-direction: column; gap: 0.15rem; }
.event-meta span   { font-size: 1rem; color: var(--light); }
.event-meta .time  { color: var(--light); }
.event-meta .venue { color: var(--blue); }
.events-cta        { text-align: center; }

/* ─── GALLERY ─────────────────────────────────────────────── */
#gallery { background: var(--bg-2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 4px;
  overflow: hidden;
  max-height: calc(200px * 2 + 4px);
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 8px;
}
.gallery-item     { overflow: hidden; cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay  {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0; transition: opacity var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay::after {
  content: '⊕';
  font-size: 2rem; color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.gallery-view-all {
  text-align: center;
  padding: 1.25rem 0 0.25rem;
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    max-height: calc(160px * 2 + 4px);
    margin: 0 1rem;
  }
}

/* ── Lightbox with filmstrip ── */
#lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.96); z-index: 9999;
  flex-direction: column; align-items: center; justify-content: center;
}
#lightbox.open { display: flex; }
#lightboxImg {
  max-width: 90vw; max-height: 70vh;
  object-fit: contain; border-radius: 8px;
  flex-shrink: 0;
}
.lb-counter {
  position: absolute; top: 1.25rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.55); font-size: 1rem; letter-spacing: 0.12em;
  pointer-events: none;
}
.lb-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  color: var(--white); font-size: 2rem;
  background: none; border: none; line-height: 1; cursor: pointer; z-index: 1;
}
.lb-close:hover { color: var(--blue); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--white); font-size: 2.5rem;
  background: rgba(0,0,0,0.45); border: none;
  padding: 0.75rem 1.1rem; cursor: pointer;
  transition: background var(--ease);
  /* keep nav above filmstrip */
  margin-top: -3rem;
}
.lb-nav:hover { background: rgba(8,145,178,0.5); color: var(--blue); }
.lb-prev { left: 0.75rem; border-radius: 0 6px 6px 0; }
.lb-next { right: 0.75rem; border-radius: 6px 0 0 6px; }
/* Filmstrip */
.lb-filmstrip {
  display: flex; gap: 6px;
  overflow-x: auto;
  padding: 0.9rem 1.5rem;
  max-width: 100vw;
  margin-top: 0.75rem;
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
}
.lb-filmstrip::-webkit-scrollbar { height: 4px; }
.lb-filmstrip::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }
.lb-thumb {
  width: 72px; height: 54px; flex-shrink: 0;
  object-fit: cover; border-radius: 4px; cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.55; transition: opacity 0.2s, border-color 0.2s;
}
.lb-thumb:hover { opacity: 0.85; }
.lb-thumb.lb-thumb-active { opacity: 1; border-color: var(--blue); }

/* ─── MEMBERSHIP CTA BAND ─────────────────────────────────────────────── */
#membership-cta {
  background: linear-gradient(135deg, #08141e 0%, var(--bg) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center;
}
.membership-cta-inner { max-width: 700px; margin: 0 auto; }
#membership-cta h2 { margin-bottom: 1rem; }
#membership-cta p  { color: var(--light); font-size: 1.05rem; margin-bottom: 2.5rem; }

/* ─── ABOUT TEASER ─────────────────────────────────────────────── */
.about-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p  { color: var(--light); font-size: 1.02rem; margin-bottom: 1rem; }
.about-stats   { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2rem; }
.stat          { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; text-align: center; }
.stat-number   { font-family: var(--heading); font-size: 2.4rem; color: var(--blue); display: block; }
.stat-label    { font-size: 1rem; color: var(--light); text-transform: uppercase; letter-spacing: 0.1em; }
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; height: 460px; object-fit: cover;
  border-radius: var(--radius); position: relative; z-index: 1;
}
.about-img-wrap::before {
  content: ''; position: absolute; inset: -8px;
  border: 2px solid var(--blue); border-radius: calc(var(--radius) + 6px);
  opacity: 0.3; z-index: 0;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-wrap { order: -1; }
  .about-img-wrap img { height: 280px; }
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo-img { height: 64px; width: auto; object-fit: contain; margin-bottom: 0.75rem; }
.footer-brand p { color: var(--gray); font-size: 0.975rem; margin-top: 0.75rem; max-width: 280px; line-height: 1.6; }
.footer-col h4  { font-family: var(--heading); font-size: 1rem; letter-spacing: 0.15em; color: var(--blue); margin-bottom: 1rem; }
.footer-col li  { margin-bottom: 0.5rem; }
.footer-col a   { color: var(--light); font-size: 1rem; transition: color var(--ease); }
.footer-col a:hover { color: var(--blue); }
.footer-bottom  { border-top: 1px solid var(--border); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: var(--gray); font-size: 1rem; }
.social-links   { display: flex; gap: 1.2rem; }
.social-links a { color: var(--light); font-size: 1.15rem; transition: color var(--ease); }
.social-links a:hover { color: var(--blue); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: span 1; } }

/* ─── PAGE HERO ─────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 3.5rem;
  background: linear-gradient(to bottom, var(--bg-2), var(--bg));
  text-align: center;
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p  { color: var(--light); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

/* ─── EVENTS PAGE ─────────────────────────────────────────────── */
.events-list    { display: flex; flex-direction: column; gap: 1.25rem; }
.event-card-lg  {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); display: flex; overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.event-card-lg:hover { border-color: rgba(28,200,232,0.45); box-shadow: -4px 0 0 var(--blue); }
.event-card-lg .event-date { min-width: 100px; padding: 2rem 1.5rem; }
.event-card-lg .event-date .day { font-size: 3rem; }
.event-card-lg .event-info { padding: 2rem 2.5rem; }
.event-card-lg .event-info h3 { font-size: 1.7rem; margin-bottom: 0.6rem; }
.event-desc { color: var(--light); font-size: 1rem; margin-top: 0.5rem; }
.month-header {
  font-family: var(--heading); font-size: 1.6rem; letter-spacing: 0.2em;
  color: var(--blue); margin: 3rem 0 1.5rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* ─── MEMBERSHIP PAGE ─────────────────────────────────────────────── */
.membership-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 340px)); justify-content: center; gap: 1.5rem; margin-bottom: 4rem; }
@media (max-width: 860px) { .membership-grid { grid-template-columns: repeat(2, minmax(0, 340px)); } }
@media (max-width: 560px) { .membership-grid { grid-template-columns: 1fr; } }
.membership-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; text-align: center;
  position: relative; transition: transform var(--ease), box-shadow var(--ease);
}
.membership-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px var(--blue-glow); }
.membership-card.featured {
  border-color: var(--blue);
  background: linear-gradient(160deg, #0b1a28 0%, var(--bg-3) 100%);
}
.membership-card.featured::before {
  content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: var(--bg); font-family: var(--heading);
  font-size: 0.7rem; letter-spacing: 0.2em; padding: 0.3rem 0.9rem; border-radius: 20px;
}
.membership-card h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.membership-price { font-family: var(--heading); font-size: 3.2rem; color: var(--blue); line-height: 1; margin: 1rem 0 0.2rem; }
.membership-price span { font-size: 1rem; color: var(--gray); display: block; }
.membership-benefits { margin: 1.5rem 0; text-align: left; }
.membership-benefits li {
  padding: 0.4rem 0; font-size: 1rem; color: var(--light);
  display: flex; align-items: flex-start; gap: 0.5rem; border-bottom: 1px solid var(--border);
}
.membership-benefits li:last-child { border-bottom: none; }
.membership-benefits li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.perks-section { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.perks-grid    { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.perk-card     { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.perk-icon     { font-size: 2rem; margin-bottom: 0.75rem; }
.perk-card h3  { font-size: 1.2rem; margin-bottom: 0.5rem; }
.perk-card p   { color: var(--light); font-size: 1rem; }

/* ─── PRESERVE PAGE ─────────────────────────────────────────────── */
.preserve-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 3.5rem; }
.preserve-intro img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); }
.preserve-intro-text h2 { margin-bottom: 1.5rem; }
.preserve-intro-text p { color: var(--light); margin-bottom: 1rem; }
.programs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.program-card  { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: transform var(--ease), border-color var(--ease); }
.program-card:hover { transform: translateY(-3px); border-color: rgba(28,200,232,0.3); }
.program-icon  { font-size: 2.4rem; margin-bottom: 1rem; }
.program-card h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.program-card p  { color: var(--light); font-size: 1rem; }
@media (max-width: 900px) {
  .preserve-intro { grid-template-columns: 1fr; gap: 2rem; }
  .preserve-intro img { height: 260px; }
}
@media (max-width: 560px) {
  .scholarship-block { padding: 1.75rem; }
}

/* ─── BANDS PAGE ─────────────────────────────────────────────── */
.bands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.band-card  { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform var(--ease), box-shadow var(--ease); }
.band-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px var(--blue-glow); }
.band-img   { height: 200px; overflow: hidden; background: var(--bg-2); }
.band-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.band-card:hover .band-img img { transform: scale(1.06); }
.band-info   { padding: 1.5rem; }
.band-info h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.band-genre  { color: var(--blue); font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.5rem; display: block; }
.band-info p { color: var(--light); font-size: 1rem; }
.venues-section { background: var(--bg-2); border-top: 1px solid var(--border); }
.venues-grid    { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.venue-card     { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: border-color var(--ease); }
.venue-card:hover { border-color: rgba(28,200,232,0.4); }
.venue-card h3  { font-size: 1.1rem; margin-bottom: 0.4rem; }
.venue-card p   { color: var(--light); font-size: 1rem; line-height: 1.5; }

/* ─── ABOUT PAGE ─────────────────────────────────────────────── */
.mission-block {
  background: linear-gradient(135deg, #0a1520 0%, var(--bg) 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 3rem; text-align: center; margin-bottom: 3.5rem;
}
.mission-quote { font-family: var(--heading); font-size: clamp(1.8rem, 4vw, 3rem); color: var(--blue); margin-bottom: 1rem; }
.mission-block p { color: var(--light); font-size: 1.05rem; max-width: 700px; margin: 0 auto; }
.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 3.5rem; }
.history-text h2 { margin-bottom: 1.5rem; }
.history-text p  { color: var(--light); margin-bottom: 1rem; }
.history-img img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); }
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.25rem; }
.board-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.board-avatar {
  width: 60px; height: 60px; border-radius: 50%; background: var(--blue-glow);
  border: 2px solid var(--blue); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-family: var(--heading); font-size: 1.4rem; color: var(--blue);
}
.board-card .name { font-family: var(--heading); font-size: 1.15rem; margin-bottom: 0.25rem; }
.board-card .role { color: var(--blue); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
@media (max-width: 900px) {
  .history-grid { grid-template-columns: 1fr; gap: 2rem; }
  .history-img img { height: 260px; }
}

/* ─── LIGHTBOX ─────────────────────────────────────────────── */
#lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.93); z-index: 9999; align-items: center; justify-content: center; }
#lightbox.open { display: flex; }
#lightboxImg { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 8px; }
.lb-close { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--white); font-size: 2rem; background: none; border: none; line-height: 1; }
.lb-close:hover { color: var(--blue); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: var(--white); font-size: 2rem; background: rgba(0,0,0,0.45); border: none; padding: 1rem 1.25rem; transition: background var(--ease); }
.lb-nav:hover { background: var(--blue-glow); color: var(--blue); }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

/* ─── LIGHT SECTION VARIANT ─────────────────────────────────────────────── */
/* Override CSS custom properties so all var() references invert automatically */
.section-light {
  --white:     #1a1614;
  --light:     #3a3530;
  --gray:      #4a4540;
  --border:    rgba(0, 0, 0, 0.10);
  --bg:        #ddd8d0;
  --bg-2:      #d0cbc3;
  --bg-3:      #c5c0b8;
  --blue:      #0881a0;
  --blue-dark: #0e7490;
  --blue-glow: rgba(8, 145, 178, 0.10);
  /*
   * Pixel-based stops keep the fade zone a fixed 40 px regardless of section
   * height, so no text ever lands in the transition band.
   * 6 rem (96 px) top/bottom padding gives a 56 px safety buffer above content.
   */
  background:  linear-gradient(180deg,
    #080808 0,
    #e5e0d8 40px,
    #d8d3cb calc(100% - 40px),
    #080808 100%
  );
  padding: 6rem 0;
  color:       var(--white); /* explicit so children inherit dark text */
}
/* Section immediately following another light section: no fade-in at top */
.section-light + .section-light {
  background: linear-gradient(180deg,
    #e5e0d8 0,
    #d8d3cb calc(100% - 40px),
    #080808 100%
  );
  padding-top: 4.5rem; /* no top fade — reset to default */
}
/* Section immediately preceding another light section: no fade-out at bottom */
.section-light:has(+ .section-light) {
  background: linear-gradient(180deg,
    #080808 0,
    #e5e0d8 40px,
    #d8d3cb 100%
  );
  padding-bottom: 4.5rem; /* no bottom fade — reset to default */
}
/* Middle section sandwiched between two light sections: no fades at all */
.section-light + .section-light:has(+ .section-light) {
  background: linear-gradient(180deg, #e5e0d8 0, #d8d3cb 100%);
  padding: 4.5rem 0; /* no fades at all — reset both */
}
/* Elements with hardcoded dark backgrounds stay readable inside light sections */
.section-light .award-callout,
.section-light .mission-block {
  --white: #ffffff;
  --light: #cccccc;
  --gray:  #888888;
  color: var(--white);
}

/* ─── MAILTO COPY HELPER ─────────────────────────────────────────────── */
/* Wraps inline mailto links so the address + copy button sit inline     */
.mailto-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  flex-wrap: wrap;
}
/* Small italic hint showing the email address when the link label isn't one */
.mailto-hint {
  font-size: 0.88em;
  font-style: italic;
  opacity: 0.7;
}
/* Tiny clipboard icon button */
.mailto-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 2px 4px;
  color: inherit;
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 0.2s, border-color 0.2s, color 0.2s;
  vertical-align: middle;
  line-height: 0;
  font-family: var(--body);
}
.mailto-copy:hover          { opacity: 1; border-color: currentColor; }
.mailto-copy.copied         { color: #22c55e; opacity: 1; border-color: #22c55e; }
/* "or email: …" bar shown below button-style mailto links */
.mailto-btn-bar {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 0.35em;
  flex-wrap: wrap;
  /* When inside a flex row (e.g., button group), break to its own centred row */
  flex-basis: 100%;
  width: 100%;
  justify-content: center;
}
.mailto-btn-bar .mailto-address {
  font-style: italic;
}
/* In light sections, keep colors on-theme */
.section-light .mailto-copy         { color: var(--white); }
.section-light .mailto-copy:hover   { border-color: var(--white); }
.section-light .mailto-btn-bar      { color: var(--gray); }

/* ─── UTILITIES ─────────────────────────────────────────────── */
.text-center   { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
