:root {
  --bg: #0a0a0e;
  --panel: #14141c;
  --ink: #f4f4f0;
  --muted: #c1bdb4;
  --soft: #242432;
  --accent: #ff2d95;
  --accent-2: #b7ff2a;
  --accent-3: #00d4ff;
  --accent-contrast: #0a0a0e;
  --max-width: 1400px;
  --page-pad: clamp(20px, 4vw, 64px);
  --section-pad: clamp(40px, 6vw, 72px);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --border: 1px solid rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, h4 {
  font-family: "Bebas Neue", "Space Grotesk", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
  line-height: 1.7;
  color: var(--muted);
}

::selection {
  background: var(--accent-2);
  color: var(--accent-contrast);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section.tight {
  padding: var(--section-pad) 0;
}

.section .container::before {
  display: none;
}

.section-title {
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--ink);
}

.section-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title .title-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-title .title-text::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--accent-2);
  vertical-align: middle;
}

.title-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 10, 14, 0.8);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-3);
}

.title-tag.alt {
  color: var(--accent-2);
  border-color: rgba(183, 255, 42, 0.5);
}

.title-tag.hot {
  color: var(--accent);
  border-color: rgba(255, 45, 149, 0.5);
}

.neon-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.neon-list li {
  position: relative;
  padding-left: 18px;
  margin: 8px 0;
  color: var(--muted);
}

.neon-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  background: var(--accent-2);
}

.neon-list.pink li::before {
  background: var(--accent);
}

.neon-list.cyan li::before {
  background: var(--accent-3);
}

.pixel-divider {
  display: none;
  height: 26px;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='24' viewBox='0 0 160 24'%3E%3Crect x='0' y='8' width='8' height='8' fill='%23ff2d95'/%3E%3Crect x='16' y='0' width='8' height='8' fill='%23ff2d95'/%3E%3Crect x='32' y='12' width='8' height='8' fill='%23ff2d95'/%3E%3Crect x='56' y='4' width='8' height='8' fill='%23ff2d95'/%3E%3Crect x='80' y='8' width='8' height='8' fill='%23ff2d95'/%3E%3Crect x='104' y='0' width='8' height='8' fill='%23ff2d95'/%3E%3Crect x='128' y='12' width='8' height='8' fill='%23ff2d95'/%3E%3Crect x='144' y='6' width='8' height='8' fill='%23ff2d95'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  background-size: 160px 24px;
  border-top: 1px solid var(--soft);
  border-bottom: 1px solid var(--soft);
}

.pixel-divider.alt {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='24' viewBox='0 0 160 24'%3E%3Crect x='4' y='6' width='8' height='8' fill='%23b7ff2a'/%3E%3Crect x='22' y='0' width='8' height='8' fill='%23b7ff2a'/%3E%3Crect x='40' y='12' width='8' height='8' fill='%23b7ff2a'/%3E%3Crect x='64' y='4' width='8' height='8' fill='%23b7ff2a'/%3E%3Crect x='88' y='8' width='8' height='8' fill='%23b7ff2a'/%3E%3Crect x='112' y='0' width='8' height='8' fill='%23b7ff2a'/%3E%3Crect x='136' y='12' width='8' height='8' fill='%23b7ff2a'/%3E%3Crect x='150' y='6' width='8' height='8' fill='%23b7ff2a'/%3E%3C/svg%3E");
}

.pixel-divider.alt2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='24' viewBox='0 0 160 24'%3E%3Crect x='2' y='8' width='8' height='8' fill='%2300d4ff'/%3E%3Crect x='18' y='0' width='8' height='8' fill='%2300d4ff'/%3E%3Crect x='34' y='12' width='8' height='8' fill='%2300d4ff'/%3E%3Crect x='52' y='4' width='8' height='8' fill='%2300d4ff'/%3E%3Crect x='78' y='8' width='8' height='8' fill='%2300d4ff'/%3E%3Crect x='100' y='0' width='8' height='8' fill='%2300d4ff'/%3E%3Crect x='126' y='12' width='8' height='8' fill='%2300d4ff'/%3E%3Crect x='146' y='6' width='8' height='8' fill='%2300d4ff'/%3E%3C/svg%3E");
}


.lede {
  font-size: clamp(16px, 1.7vw, 21px);
  max-width: 820px;
  color: rgba(255, 255, 255, 0.7);
}

.center {
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  color: var(--ink);
  border-bottom: 2px solid rgba(255, 45, 149, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--page-pad);
  max-width: none;
  margin: 0;
}

.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--ink);
  padding: 8px 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
}

.primary-nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-family: "Space Mono", monospace;
}

.primary-nav a {
  opacity: 0.6;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.primary-nav a.active,
.primary-nav a:hover {
  opacity: 1;
  color: var(--accent-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-family: "Space Mono", monospace;
  transition: transform 0.2s ease, background 0.2s ease;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 96% 100%, 0 100%);
}

.btn:hover {
  transform: translate(-2px, -2px) skewX(-2deg);
}

.btn.primary {
  background: var(--accent-2);
  color: var(--accent-contrast);
  border-color: transparent;
}

.btn.dark {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: transparent;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  box-shadow: none;
}

/* Hero */
.hero {
  min-height: 72vh;
  position: relative;
  display: grid;
  align-items: end;
  background: #050507;
  color: #fff;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: brightness(0.55) saturate(1.1) contrast(1.1);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 0;
}

.hero-content {
  position: relative;
  padding: clamp(40px, 8vw, 90px);
  z-index: 2;
}

.hero-title {
  font-size: clamp(32px, 6vw, 72px);
  letter-spacing: 0.28em;
  margin-bottom: 12px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.badge {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(10, 10, 14, 0.7);
  color: var(--accent-2);
  animation: float 4.5s ease-in-out infinite;
}

.badge:nth-child(2) {
  color: var(--accent-3);
  animation-delay: 0.6s;
}

.badge:nth-child(3) {
  color: var(--accent);
  animation-delay: 1.1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Split section */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
}

.split .image-card {
  position: relative;
  overflow: visible;
  border: var(--border);
  background: var(--panel);
  z-index: 0;
  --pop-color: var(--accent-3);
}

.split.reverse .image-card {
  --pop-color: var(--accent);
}

.image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  background: var(--pop-color);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: -1;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

/* Locations */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  border: var(--border);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 42px;
  height: 6px;
  background: var(--accent);
}

.card img {
  height: 220px;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05);
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  font-size: 18px;
  color: var(--accent-2);
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: var(--border);
  border-bottom: var(--border);
  background: #050507;
}

.marquee-track {
  display: flex;
  gap: 40px;
  padding: 18px 0;
  animation: marquee 16s linear infinite;
}

.marquee span {
  font-family: "Bebas Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: clamp(18px, 2.8vw, 28px);
  color: var(--accent-2);
}

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

.curve-banner {
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.curve-banner svg {
  width: 120%;
  height: 140px;
  display: block;
  margin-left: -10%;
}

.curve-text {
  font-family: "Bebas Neue", sans-serif;
  font-size: 54px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: var(--accent-2);
}

.curve-text.clone {
  opacity: 0.9;
}

@media (max-width: 900px) {
  .curve-text {
    font-size: 40px;
  }

  .curve-banner svg {
    height: 120px;
  }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  filter: grayscale(0.12) contrast(1.1);
  border: var(--border);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial {
  border: var(--border);
  background: var(--panel);
  padding: 24px;
  display: grid;
  gap: 16px;
  position: relative;
}

.testimonial::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 42px;
  height: 6px;
  background: var(--accent-3);
}

.testimonial img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Courses */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.course {
  border: var(--border);
  background: var(--panel);
  padding: 22px;
  display: grid;
  gap: 12px;
  position: relative;
}

.course::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 42px;
  height: 6px;
  background: var(--accent-2);
}

.course .tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-3);
  font-family: "Space Mono", monospace;
}

/* Events */
.events-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 6vw, 60px);
  align-items: center;
}

.events-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.events-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: var(--border);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.contact-card {
  border: var(--border);
  background: var(--panel);
  padding: 20px;
  position: relative;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 42px;
  height: 6px;
  background: var(--accent);
}

.contact-card + .contact-card {
  margin-top: 16px;
}

.form {
  display: grid;
  gap: 16px;
}

.form input,
.form textarea {
  width: 100%;
  border: var(--border);
  padding: 12px 14px;
  font-family: inherit;
  background: rgba(10, 10, 14, 0.8);
  color: var(--ink);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Footer */
.site-footer {
  background: #050507;
  color: var(--ink);
  padding: 40px 0;
  border-top: 2px solid rgba(0, 212, 255, 0.45);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

.footer-credit {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  :root {
    --page-pad: clamp(16px, 4vw, 28px);
    --section-pad: clamp(32px, 7vw, 56px);
  }

  .header-inner {
    padding: 14px var(--page-pad);
    gap: 14px;
  }

  .logo {
    font-size: 22px;
    letter-spacing: 0.22em;
    white-space: nowrap;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    background: rgba(10, 10, 14, 0.97);
    flex-direction: column;
    gap: 8px;
    padding: 14px var(--page-pad) 16px;
    min-width: 0;
    display: none;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: var(--border);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    display: block;
    padding: 8px 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: 56svh;
  }

  .hero-content {
    padding: clamp(24px, 5vw, 42px);
  }

  .hero-title {
    font-size: clamp(30px, 6vw, 46px);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
  }

  .hero-badges {
    margin-bottom: 14px;
  }

  .badge {
    font-size: 10px;
    padding: 5px 10px;
    letter-spacing: 0.16em;
  }

  .hero-actions {
    gap: 12px;
  }

  .lede {
    font-size: 16px;
    line-height: 1.6;
  }

  .split,
  .events-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .gallery-grid,
  .testimonials,
  .course-grid,
  .footer-grid,
  .events-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 10px;
  }

  .logo {
    font-size: 20px;
    letter-spacing: 0.18em;
  }

  .nav-toggle {
    padding: 8px 12px;
    font-size: 10px;
  }

  .hero {
    min-height: 46svh;
  }

  .hero img {
    object-position: center 26%;
  }

  .hero-content {
    padding: 18px var(--page-pad) 22px;
  }

  .card-grid,
  .gallery-grid,
  .testimonials,
  .course-grid,
  .footer-grid,
  .events-gallery {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(26px, 10vw, 38px);
    letter-spacing: 0.16em;
    margin-bottom: 10px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: none;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-badges {
    gap: 8px;
    margin-bottom: 12px;
  }

  .badge {
    font-size: 9px;
    padding: 4px 8px;
    letter-spacing: 0.14em;
  }

  .lede {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  .btn {
    padding: 9px 12px;
    letter-spacing: 0.12em;
    font-size: 10px;
  }

  .section-title .title-text::after {
    width: 10px;
    height: 10px;
  }

  .curve-banner svg {
    height: 92px;
  }

  .image-card::before {
    transform: translate(8px, 8px);
  }

}

@media (max-width: 420px) {
  .logo {
    font-size: 18px;
    letter-spacing: 0.14em;
  }

  .hero {
    min-height: 42svh;
  }

  .hero-content {
    padding: 16px 14px 18px;
  }

  .hero-title {
    font-size: clamp(24px, 10.5vw, 32px);
    letter-spacing: 0.14em;
  }

  .badge {
    font-size: 8px;
    letter-spacing: 0.12em;
    padding: 4px 7px;
  }

  .hero-actions {
    gap: 8px;
  }

  .lede {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  .btn {
    padding: 8px 10px;
    letter-spacing: 0.1em;
    font-size: 9px;
  }

}
