:root {
  --bg: #0a0910;
  --bg-alt: #100d1a;
  --surface: #171126;
  --surface-2: #1f1733;
  --border: #2a2142;
  --purple: #8b5cf6;
  --purple-bright: #a78bfa;
  --purple-deep: #6d28d9;
  --pink: #ec4899;
  --text: #f5f3fa;
  --text-muted: #a89cc0;
  --radius: 18px;
  --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .brand-name { font-family: 'Space Grotesk', 'Inter', sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 9, 16, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.brand-logo { height: 52px; width: 52px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.3px; }
.brand-sub { font-size: 0.85rem; color: var(--purple-bright); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 0.98rem; }
.nav a { color: var(--text-muted); transition: color .15s; font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: #fff !important; padding: 10px 20px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { position: relative; padding: 72px 22px 80px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 480px at 80% 20%, rgba(109, 40, 217, 0.35), transparent 60%),
    radial-gradient(700px 400px at 15% 80%, rgba(236, 72, 153, 0.15), transparent 60%);
}
.hero-inner {
  position: relative; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
}
.hero-kicker {
  color: var(--pink); text-transform: uppercase; letter-spacing: 3px;
  font-size: 0.78rem; font-weight: 700; margin-bottom: 18px;
}
.hero-title { font-size: clamp(2.6rem, 6.5vw, 4.5rem); line-height: 1.02; font-weight: 700; letter-spacing: -1px; }
.hero-title-accent {
  background: linear-gradient(100deg, var(--purple-bright), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 540px; margin: 22px 0 30px; color: var(--text-muted); font-size: 1.14rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-cred { display: flex; gap: 10px; flex-wrap: wrap; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.hero-cred .dot { color: var(--purple); }
.hero-visual { display: flex; justify-content: center; }
.hero-logo {
  width: 100%; max-width: 400px; object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(139, 92, 246, 0.4));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.btn { display: inline-block; padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 1.02rem; transition: transform .15s, box-shadow .15s; }
.btn-primary {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: #fff; box-shadow: 0 10px 34px rgba(139, 92, 246, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(139, 92, 246, 0.5); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple-bright); }

/* Sections */
.section { padding: 84px 22px; }
.section-alt { background: var(--bg-alt); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-eyebrow {
  color: var(--pink); text-transform: uppercase; letter-spacing: 3px;
  font-size: 0.75rem; font-weight: 700; margin-bottom: 12px;
}
.section-title { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 14px; }
.section-lede { color: var(--text-muted); max-width: 680px; margin-bottom: 40px; font-size: 1.08rem; }
.section-note { color: var(--text-muted); font-size: 0.92rem; margin-top: 26px; }
.section-note.center { text-align: center; }
.text-link { color: var(--purple-bright); font-weight: 600; }
.text-link:hover { color: var(--pink); }

/* Program cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 14px; position: relative;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--purple); }
.card-featured { border-color: var(--purple); background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.card-featured::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--pink)); border-radius: var(--radius) var(--radius) 0 0;
}
.card-tag {
  display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--pink);
  border: 1px solid rgba(236, 72, 153, 0.4); padding: 4px 10px; border-radius: 999px;
}
.card-title { font-size: 1.35rem; font-weight: 700; }
.card-desc { color: var(--text-muted); font-size: 0.97rem; flex: 1; }
.card-price { color: var(--purple-bright); font-weight: 700; font-size: 1.25rem; }
.card-price-inquire { color: var(--text-muted); font-weight: 600; }
.card-link { color: var(--purple-bright); font-weight: 600; }
.card-link:hover { color: var(--pink); }

/* About */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.about-visual { position: relative; }
.about-photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.03rem; }
.about-points { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.about-points li { padding-left: 26px; position: relative; color: var(--text); font-weight: 500; }
.about-points li::before { content: "✦"; position: absolute; left: 0; color: var(--purple); }

/* Spotlight */
.spotlight { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.spot-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, border-color .2s;
}
.spot-card:hover { transform: translateY(-4px); border-color: var(--purple); }
.spot-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.spot-photos-single { grid-template-columns: 1fr; }
.spot-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.spot-body { padding: 22px 24px 26px; }
.spot-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.spot-result { color: var(--purple-bright); font-weight: 600; margin-bottom: 10px; font-size: 1.02rem; }
.spot-story { color: var(--text-muted); font-size: 0.95rem; }

/* Gallery grid (lightbox portfolio) */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-thumb {
  position: relative; padding: 0; border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; background: var(--surface); cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.gallery-thumb:hover { transform: scale(1.02); border-color: var(--purple); }
.gallery-thumb img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.gallery-cat-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 1.2rem; font-weight: 700;
  margin: 26px 0 12px; color: var(--purple-bright);
}
.gallery-cat-title:first-child { margin-top: 0; }

/* Lightbox overlay */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-img {
  max-width: 92vw; max-height: 88vh; object-fit: contain;
  border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute; top: 14px; right: 20px; font-size: 2.6rem; line-height: 1;
  color: #fff; background: none; border: none; cursor: pointer; opacity: 0.8; transition: opacity .15s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); font-size: 3rem; color: #fff;
  background: none; border: none; cursor: pointer; opacity: 0.7; padding: 12px; transition: opacity .15s;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-caption {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: #ddd; font-size: 0.95rem; text-align: center; max-width: 80vw;
}
.lightbox-count { position: absolute; top: 22px; left: 22px; color: #ccc; font-size: 0.85rem; }

@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lightbox-nav { display: none; }
  .lightbox-img { max-width: 96vw; }
}

/* Free Training Resources */
.free-resources-inner { max-width: 720px; text-align: center; }
.free-resources-inner .section-lede { margin-left: auto; margin-right: auto; }
[hidden] { display: none !important; }

/* Board sports */
.board-inner { text-align: center; }
.board-inner .section-lede { margin-left: auto; margin-right: auto; }
.board-notes { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.board-note {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 22px; display: flex; flex-direction: column; gap: 6px; align-items: center; max-width: 260px;
}
.board-note-tag { color: var(--pink); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.78rem; }
.board-note span:last-child { color: var(--text-muted); font-size: 0.95rem; }

/* Merch / shop */
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.merch-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, border-color .2s;
}
.merch-card:hover { transform: translateY(-4px); border-color: var(--purple); }
.merch-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.merch-name { font-weight: 600; font-size: 0.95rem; padding: 2px 14px 0; }
.merch-price { color: var(--purple-bright); font-weight: 700; padding: 0 14px 16px; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.quote {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--purple);
  border-radius: var(--radius); padding: 28px 26px 26px; position: relative;
}
.quote-text { font-size: 1.02rem; margin-bottom: 16px; position: relative; padding-left: 20px; }
.quote-text::before { content: "\201C"; position: absolute; left: -4px; top: -8px; color: var(--purple); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.quote-cite { color: var(--pink); font-style: normal; font-weight: 600; }

/* Apply */
.apply-inner { max-width: 780px; text-align: center; }
.apply-inner .section-lede { margin-left: auto; margin-right: auto; }
.tally-embed { margin-top: 28px; text-align: left; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 50px 22px; background: var(--bg-alt); }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.footer-logo { height: 44px; width: 44px; object-fit: contain; }
.footer-brand { font-weight: 700; font-size: 1.15rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--purple-bright); }
.footer-note { color: var(--text-muted); font-size: 0.85rem; }

/* Mobile */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-cred { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-logo { max-width: 260px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 360px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-alt); padding: 18px 22px; gap: 16px; border-bottom: 1px solid var(--border);
  }
  .brand-logo { height: 44px; width: 44px; }
  .brand-name { font-size: 1.2rem; }
}
