:root {
  --bg: #05030a;
  --bg-2: #0c0814;
  --ink: #f4f1fb;
  --muted: #b7b0c7;
  --cyan: #3ee8ff;
  --purple: #c44dff;
  --magenta: #ff3bd4;
  --silver: #d9dde8;
  --line: linear-gradient(90deg, #3ee8ff, #c44dff 50%, #ff3bd4);
  --font-display: "Exo 2", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 1120px;
  --space-section: 3.5rem;
  --space-stack: 1.25rem;
  --space-tight: 0.85rem;
  --space-kicker: 0.55rem;
  --space-hero-top: 2.25rem;
  --space-panel: clamp(1.2rem, 3vw, 1.7rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #05030a; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: transparent;
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.12;
  margin: 0 0 0.6em;
  text-transform: uppercase;
}
p { margin: 0 0 1em; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.masthead {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 12vw));
  margin: 0 auto;
  padding: 1rem 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand img {
  display: block;
  height: 64px;
  width: auto;
}
.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-left: auto;
}
.site-nav .nav-link {
  color: var(--silver);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.55rem 0.4rem;
}
.site-nav .nav-link:hover { color: var(--cyan); }
.site-nav .btn {
  padding: 0.7rem 1.15rem;
  font-size: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.site-nav a.btn[aria-current="page"] {
  border-color: rgba(62, 232, 255, 0.7);
}
.site-nav .btn-login,
.btn-login {
  background: #3ee8ff;
  border-color: #3ee8ff;
  color: #05030a;
}
.site-nav .btn-login:hover,
.btn-login:hover {
  background: #7af0ff;
  border-color: #7af0ff;
  color: #05030a;
}
.site-nav .btn-account,
.btn-account {
  background: rgba(196, 77, 255, 0.32);
  border-color: rgba(196, 77, 255, 0.75);
  color: #f4f1fb;
}
.site-nav .btn-account:hover,
.btn-account:hover {
  background: rgba(196, 77, 255, 0.5);
  border-color: #c44dff;
  color: #fff;
}
.site-nav a.btn-account[aria-current="page"] {
  border-color: #e08aff;
  background: rgba(196, 77, 255, 0.55);
}
.nav-drop {
  position: relative;
}
.nav-drop-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 17rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: rgba(12, 8, 20, 0.96);
  border: 1px solid rgba(62, 232, 255, 0.22);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  z-index: 30;
}
.nav-drop-menu a {
  display: block;
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  text-align: left;
}
.nav-drop-menu a:hover,
.nav-drop-menu a[aria-current="page"] {
  background: rgba(62, 232, 255, 0.12);
  color: var(--cyan);
}
.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(217, 221, 232, 0.28);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  z-index: 40;
}
.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.class-types ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.class-type {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 0.55rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(62, 232, 255, 0.22);
  background: rgba(12, 8, 20, 0.72);
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(196, 77, 255, 0.08);
}
.class-type img {
  height: 58px;
  width: auto;
  max-width: min(420px, 72vw);
  mix-blend-mode: screen;
}
.class-type.is-on {
  border-color: rgba(62, 232, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(62, 232, 255, 0.25), 0 0 24px rgba(196, 77, 255, 0.28);
}

.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-a { width: 48vw; height: 48vw; left: -6vw; top: -4vh; background: #6b1cff; }
.orb-b { width: 42vw; height: 42vw; right: -8vw; top: 8vh; background: #1aa7ff; animation-delay: -6s; }
.orb-c { width: 50vw; height: 50vw; left: 20vw; bottom: -20vh; background: #ff2bd6; opacity: 0.22; animation-delay: -11s; }
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4%, 6%, 0) scale(1.08); }
}

main {
  display: flex;
  flex-direction: column;
  gap: var(--space-section);
  padding-top: var(--space-hero-top);
}
.hero, .mix, .classes, .book, .instructor, .intro, .story {
  width: min(var(--max), calc(100% - 12vw));
  margin: 0 auto;
  padding: 0;
}
.hero, .intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.logo {
  width: min(380px, 72vw);
  margin: 0 auto 4.5rem;
}
.logo-dk {
  width: min(780px, 100%);
  mix-blend-mode: screen;
  margin-bottom: var(--space-stack);
}
.story {
  max-width: 58rem;
  text-align: center;
}
.intro h1, .story h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
}
.story p {
  color: var(--muted);
  font-size: 1.08rem;
}
.story a {
  color: var(--cyan);
  text-decoration: none;
}
.story a:hover { text-decoration: underline; }
.close-line {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 3vw, 1.7rem);
  color: var(--ink) !important;
  margin: var(--space-stack) 0 0;
  text-align: center;
}
.class-types {
  width: 100%;
  margin-top: 1.5rem;
  text-align: center;
}
.kicker {
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--cyan);
  margin: 0 0 var(--space-kicker);
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  max-width: 16ch;
  background: linear-gradient(180deg, #fff 20%, #c9c3d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead, .section-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 46rem;
  margin: 0 auto;
}
.hero .lead + .lead {
  margin-top: 0.85rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-tight);
  justify-content: center;
  margin-top: var(--space-stack);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(90deg, #2ad6ff, #b14dff 55%, #ff3bd4);
  color: #fff;
  box-shadow: 0 0 28px rgba(177, 77, 255, 0.35);
}
.btn-ghost {
  border-color: rgba(217, 221, 232, 0.28);
  background: rgba(255, 255, 255, 0.04);
}
button.btn {
  appearance: none;
  cursor: pointer;
}
button.btn-ghost {
  color: var(--ink);
}

.mix { text-align: center; }
.blast {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--ink);
  margin: 0 0 var(--space-tight);
}
.mix h2, .classes h2, .book h2, .book h1, .instructor h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
}
.cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-stack);
  text-align: center;
}
.cards li {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(196, 77, 255, 0.22);
  border-radius: 18px;
  padding: 1.5rem 1.2rem 1.5rem;
  box-shadow: 0 0 0 1px rgba(62, 232, 255, 0.05), 0 16px 40px rgba(0,0,0,0.28);
}
.cards h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-kicker);
}
.cards p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto var(--space-tight);
  color: var(--cyan);
  filter: drop-shadow(0 0 8px rgba(62, 232, 255, 0.85)) drop-shadow(0 0 22px rgba(196, 77, 255, 0.45));
}
.icon svg { width: 64px; height: 64px; }

.instructor-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.instructor-copy { max-width: 36rem; }
.instructor-copy p { color: var(--muted); margin-bottom: 0; }

.bubble {
  --d: 280px;
  position: relative;
  width: var(--d);
  height: var(--d);
  margin: 0 auto;
  animation: bubble-float 5.5s ease-in-out infinite;
}
.bubble-glow {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 77, 255, 0.4), rgba(62, 232, 255, 0.1) 55%, transparent 70%);
  filter: blur(22px);
  z-index: 0;
  pointer-events: none;
}
.portrait {
  position: relative;
  z-index: 2;
  width: var(--d);
  height: var(--d);
  max-width: none;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: 50%;
  display: block;
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(62, 232, 255, 0.7),
    0 0 0 10px rgba(196, 77, 255, 0.16),
    0 18px 50px rgba(90, 20, 160, 0.45);
}

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

.classes { text-align: center; }
.classes .section-lead { margin-bottom: var(--space-section); }
.classes .section-lead a {
  color: var(--cyan);
  text-decoration: none;
}
.classes .section-lead a:hover { text-decoration: underline; }
.class-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-section);
  margin: 0;
  text-align: left;
}
.panel {
  background: rgba(12, 8, 20, 0.72);
  border: 1px solid rgba(62, 232, 255, 0.18);
  border-radius: 24px;
  padding: var(--space-panel);
  position: relative;
  overflow: hidden;
}
.panel p { color: var(--muted); max-width: none; }
.schedule {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-tight);
}
.schedule li {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(62, 232, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}
.schedule .when {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.schedule .where {
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.98rem;
}
.schedule .where:hover { text-decoration: underline; }
.schedule .price {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.enrol-note {
  margin: 1rem 0 0;
  text-align: center;
}
.enrol-note a {
  color: var(--cyan);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.enrol-note a:hover { text-decoration: underline; }
.schedule .blurb {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: none;
}
.schedule .mins {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel h3 {
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  margin: 0 0 var(--space-stack);
}
.kit {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-tight);
}
.kit li {
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(62, 232, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

.book {
  text-align: center;
}
.book .section-lead { margin-bottom: 0; }
.phone {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 6vw, 3.4rem);
  letter-spacing: 0.08em;
  text-decoration: none;
  margin: var(--space-stack) 0 0;
  background: linear-gradient(90deg, #3ee8ff, #e6e9f4 35%, #c44dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact {
  width: min(36rem, 100%);
  margin: var(--space-section) auto 0;
  text-align: left;
  background: rgba(12, 8, 20, 0.72);
  border: 1px solid rgba(62, 232, 255, 0.18);
  border-radius: 24px;
  padding: var(--space-panel);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: var(--line);
  box-shadow: 0 0 18px #c44dff;
}
.contact label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: var(--space-tight) 0 0.35rem;
}
.contact .opt {
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.contact input,
.contact textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(62, 232, 255, 0.22);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}
.contact textarea { resize: vertical; min-height: 8rem; }
.contact input:focus,
.contact textarea:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-status {
  min-height: 1.4em;
  margin: var(--space-stack) 0 var(--space-kicker);
  color: var(--muted);
}
.contact-status.is-ok { color: var(--cyan); }
.contact-status.is-err { color: #ff8ad8; }
.contact .actions { justify-content: flex-start; margin-top: 0; }

footer {
  text-align: center;
  margin-top: var(--space-section);
  padding: var(--space-section) 6vw;
  border-top: 1px solid rgba(196, 77, 255, 0.2);
  color: var(--muted);
}
footer img,
footer .footer-logo {
  width: min(220px, 46vw);
  margin: 0 auto var(--space-stack);
}
footer a { text-decoration: none; color: var(--ink); }
.copy { font-size: 0.85rem; opacity: 0.75; }

@media (max-width: 900px) {
  .masthead { flex-wrap: nowrap; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    left: auto;
    width: min(22rem, calc(100vw - 8vw));
    margin: 0;
    padding: 0.65rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    background: rgba(12, 8, 20, 0.97);
    border: 1px solid rgba(62, 232, 255, 0.22);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    z-index: 35;
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav .btn { width: 100%; justify-content: center; }
  .nav-drop { width: 100%; }
  .nav-drop-toggle { width: 100%; }
  .nav-drop-menu {
    position: static;
    min-width: 0;
    margin-top: 0.4rem;
    box-shadow: none;
  }
}
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .instructor-grid { grid-template-columns: 1fr; text-align: center; }
  .instructor-copy { margin: 0 auto; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  main { padding-top: 1.5rem; }
  .bubble { --d: 240px; }
  .class-type { min-height: 72px; padding: 0.4rem 0.7rem; }
  .class-type img { height: 44px; }
  .brand img { height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .btn, .bubble { animation: none; transition: none; }
}
