/* ==========================================================================
   Cleveland Tap Dance Experience — Mockup Stylesheet
   Static HTML/CSS/JS mockup. Media is placeholder until real photo/video
   assets are supplied — see .media-placeholder.
   ========================================================================== */

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

:root {
  --bg: #0a0810;
  --surface: #15121d;
  --surface-raised: #1d1929;
  --border: #2c2640;
  --text: #f6f4fa;
  --text-muted: #a6a0b8;

  /* Accent duo: electric purple -> hot red.
     --gold/--coral names are kept so the whole sheet keys off two variables. */
  --gold: #8b5cf6;        /* primary  — electric purple */
  --gold-dim: #6d38d9;    /* primary, dimmed */
  --coral: #ff2d55;       /* secondary — hot red */
  --coral-dim: #c4123a;   /* secondary, dimmed */
  --accent-grad: linear-gradient(135deg, #8b5cf6 0%, #d926a9 50%, #ff2d55 100%);
  --success: #35c48f;

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 10px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.4em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }

p { margin: 0 0 1em; color: var(--text-muted); }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #fff; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}
.section--tight { padding: 40px 0; }
.section--alt { background: var(--surface); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  letter-spacing: 0.26em;
  color: var(--gold);
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.lede {
  font-size: 1.1rem;
  max-width: 640px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  letter-spacing: 0.09em;
  font-size: 0.98rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent-grad);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(255, 45, 85, 0.28);
}
.btn-primary:hover { color: #ffffff; box-shadow: 0 12px 30px rgba(255, 45, 85, 0.4); }
.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 8, 16, 0.90);
  backdrop-filter: blur(10px);
  border-bottom: 0;
}
.site-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent-grad);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--text);
}
.brand-city { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.16em; color: var(--text-muted); }
.brand-name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.02em; white-space: nowrap; }
.brand-name span { color: var(--gold); }
@media (max-width: 500px) {
  .brand-name { font-size: 1.2rem; }
  .brand-city { font-size: 0.8rem; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--gold); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 26px;
    gap: 18px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-toggle { display: block; }
  /* Registration lives only on this button now — it must stay reachable. */
  .nav-cta .btn-primary { padding: 10px 18px; font-size: 0.85rem; }
  .nav-cta { gap: 10px; }
}
@media (max-width: 400px) {
  .nav-cta .btn-primary { padding: 9px 14px; font-size: 0.78rem; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-meta {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-meta div { font-size: 0.85rem; color: var(--text-muted); }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 1.55rem; color: var(--text); letter-spacing: 0.03em; }

/* ---- Cinematic hero (home) ---- */
.hero--cinematic {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}
/* Stacked class-footage clips that crossfade in and out */
.hero-clips {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #000;
}
.hero-clip {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: #000 center / cover no-repeat;
  transition: opacity 1.4s ease-in-out;
}
.hero-clip.is-active { opacity: 1; }

/* Oversize the iframe so a 16:9 video fully covers a tall viewport */
.hero-clip iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  transform: translate(-50%, -50%) scale(1.04);
  border: 0;
  pointer-events: none;
}

/* Small progress dots showing which clip is up */
.clip-dots {
  position: absolute;
  left: 24px;
  bottom: 96px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.clip-dots button {
  width: 26px;
  height: 3px;
  border: 0;
  padding: 0;
  border-radius: 2px;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
  transition: background 0.3s ease;
}
.clip-dots button.is-active { background: var(--gold); }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,8,16,0.94) 0%, rgba(10,8,16,0.78) 45%, rgba(10,8,16,0.42) 100%),
    linear-gradient(0deg, rgba(10,8,16,0.96) 0%, rgba(10,8,16,0.12) 45%);
}
.hero-content { padding: 92px 24px 78px; max-width: var(--container); margin: 0 auto; width: 100%; }
.hero-title {
  max-width: 15ch;
  margin: 14px 0 20px;
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  letter-spacing: 0.005em;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: heroLineIn 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.15s; }
.hero-title .line:nth-child(2) { animation-delay: 0.32s; }
.hero-title .line:nth-child(3) { animation-delay: 0.49s; }
.hero-title .line:last-child { color: var(--gold); }
@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Big, loud date block */
.hero-date {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 12px;
  margin: 0 0 4px;
  line-height: 1;
}
.hero-date-main {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.1vw, 2.35rem);
  letter-spacing: 0.03em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-date-year {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.1vw, 2.35rem);
  letter-spacing: 0.04em;
  color: var(--text);
  opacity: 0.92;
}
.hero-date-place {
  flex-basis: 100%;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1vw, 0.84rem);
  letter-spacing: 0.24em;
  color: var(--text-muted);
  margin-top: 8px;
}
@media (max-width: 620px) {
  .hero-date { gap: 0 12px; }
  .hero-date-place { letter-spacing: 0.16em; margin-top: 9px; }
}

.hero-lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  max-width: 50ch;
  margin-bottom: 24px;
}

/* Scrolling marquee ticker — sits directly under the site header */
.hero-ticker {
  position: relative;
  z-index: 4;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  padding: 11px 0;
  display: flex;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  animation: tickerScroll 38s linear infinite;
  flex-shrink: 0;
}
.hero-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.ticker-track span.hot { color: var(--gold); }
.ticker-track em { color: var(--coral); font-style: normal; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (max-width: 900px) {
  .hero--cinematic { min-height: auto; }
  .hero-content { padding: 72px 24px 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .line { animation: none; opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  .hero-clip { transition: none; }
}

.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.12), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255, 45, 85, 0.12), transparent 40%);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---- Media placeholder ---- */
.media-placeholder {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #1c1f27 0px, #1c1f27 18px, #20232c 18px, #20232c 36px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  color: var(--text-muted);
  text-align: center;
}
.media-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,8,16,0) 40%, rgba(10,8,16,0.55) 100%);
}
.media-placeholder .ph-label {
  position: relative;
  z-index: 1;
  padding: 12px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #cfd1d8;
}
.media-placeholder.is-video .ph-play {
  position: relative;
  z-index: 1;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.9);
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 10px;
  box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.15);
}
.media-placeholder.hero-media { min-height: 380px; aspect-ratio: 4 / 5; }
.media-placeholder.wide { aspect-ratio: 16 / 9; min-height: 220px; }
.card-photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%; }
.media-placeholder.square { aspect-ratio: 1 / 1; }
.media-placeholder.tall { aspect-ratio: 3 / 4; }

/* ---- YouTube click-to-play facade ----
   Placeholder footage of real artists. Swap data-yt IDs (or replace with
   self-hosted <video>) once CTE's own event footage is available. */
.yt-embed {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000 center / cover no-repeat;
  cursor: pointer;
}
.yt-embed.wide { aspect-ratio: 16 / 9; }
.yt-embed.tall { aspect-ratio: 3 / 4; }
.yt-embed.hero-media { aspect-ratio: 4 / 5; min-height: 380px; }
.yt-embed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,8,16,0.12) 30%, rgba(10,8,16,0.72) 100%);
  transition: background 0.2s ease;
}
.yt-embed:hover::after { background: linear-gradient(180deg, rgba(10,8,16,0.02) 20%, rgba(10,8,16,0.62) 100%); }
.yt-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.94);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  padding-left: 4px;
  box-shadow: 0 0 0 10px rgba(139, 92, 246, 0.16);
  transition: transform 0.2s ease;
}
.yt-embed:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.yt-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 14px 16px;
  text-align: left;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
}
.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
}

/* ---- Reveal-on-scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Section headers ---- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

/* ---- Grids ---- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold-dim); }
.card-body { padding: 20px 22px 24px; }
.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.card h3 { margin-bottom: 6px; }
.card-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.card-links { display: flex; gap: 12px; margin-top: 14px; }
.card-links a { font-size: 0.85rem; font-weight: 700; }
.artist-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  border: 0;
  background: var(--surface-raised);
}
.media-placeholder.artist-photo { display: flex; }
.artist-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.artist-head .artist-photo {
  width: 120px;
  flex-shrink: 0;
  border-radius: 12px;
}
.artist-head h3 { margin-bottom: 4px; }
.artist-head .card-meta { margin-bottom: 0; }
.artist-card--compact .artist-head { margin-bottom: 0; }
.artist-card--compact .artist-photo { width: 92px; }
.artist-head .media-placeholder.artist-photo { min-height: 0; border-radius: 12px; }
.artist-head .media-placeholder.artist-photo .ph-label { padding: 6px; font-size: 0.68rem; }
.artist-card p { font-size: 0.93rem; }
.artist-card p:last-child { margin-bottom: 0; }

.quick-link-card {
  display: block;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.quick-link-card:hover { transform: translateY(-4px); border-color: var(--gold-dim); }
.quick-link-card h3 { color: var(--text); margin-bottom: 6px; }
.quick-link-card span.arrow { color: var(--gold); font-weight: 700; }

/* ---- Pricing cards ---- */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 20px 40px rgba(139, 92, 246, 0.12);
}
.pricing-badge {
  position: absolute;
  top: -14px; right: 22px;
  background: var(--gold);
  color: #ffffff;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 999px;
}
.price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--text);
  margin: 8px 0 4px;
}
.price small { font-size: 1rem; color: var(--text-muted); font-family: var(--font-body); }
.pricing-card ul { list-style: none; padding: 0; margin: 18px 0 26px; color: var(--text-muted); font-size: 0.92rem; }
.pricing-card li { padding: 7px 0; border-top: 1px solid var(--border); }
.pricing-card li:first-child { border-top: none; }

/* ---- Tabs (schedule) ---- */
.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.tab-btn {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
}
.program-switch {
  display: flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}
.program-btn {
  font-family: var(--font-display);
  letter-spacing: 0.07em;
  font-size: 1.1rem;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}
.program-btn:hover { color: var(--text); }
.program-btn.is-active { background: var(--accent-grad); color: #ffffff; }
@media (max-width: 480px) {
  .program-switch { width: 100%; }
  .program-btn { flex: 1; padding: 11px 10px; font-size: 0.98rem; }
}
.program-intro { margin-bottom: 20px; }
.program-intro h2 { margin-bottom: 4px; }
.program-intro p { margin: 0; }
.row-note { color: var(--text-muted); font-size: 0.85rem; }
.schedule-table .day-row th {
  background: var(--surface-raised);
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  padding: 12px 14px;
}
.schedule-table--adult { min-width: 560px; }

.filters {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filters select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th {
  text-align: left;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 400;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.schedule-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  vertical-align: top;
}
.schedule-table tr:hover td { background: var(--surface-raised); }
.level-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.level-beginner { background: rgba(53, 196, 143, 0.15); color: var(--success); }
.level-intermediate { background: rgba(139, 92, 246, 0.15); color: var(--gold); }
.level-advanced { background: rgba(255, 45, 85, 0.15); color: var(--coral); }
.level-all { background: rgba(168, 168, 179, 0.15); color: var(--text-muted); }
.level-adult { background: rgba(217, 38, 169, 0.18); color: #f064d4; }
.level-1 { background: rgba(53, 196, 143, 0.15); color: var(--success); }
.level-2 { background: rgba(74, 163, 255, 0.15); color: #74b9ff; }
.level-3 { background: rgba(242, 160, 61, 0.15); color: #f2a63d; }
.level-4 { background: rgba(139, 92, 246, 0.18); color: #a98bfa; }
.level-5 { background: rgba(255, 45, 85, 0.15); color: #ff5c7a; }
.schedule-empty { margin: 14px 0 0; font-size: 0.92rem; color: var(--text-muted); }
.class-group { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--text-muted); margin: 20px 0 10px; }

.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.table-scroll .schedule-table { min-width: 640px; }

/* The hidden attribute must win over display rules like .class-row { display:flex } — the register page shows and hides rows with it. */
[hidden] { display: none !important; }
.field .req { font-weight: 400; color: var(--text-muted); font-size: 0.85em; }
.pricing-card { cursor: default; }

/* ---- Register / class signup ---- */
.class-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.class-row label { display: flex; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; }
.class-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gold); }
.class-row .class-info span { display: block; font-size: 0.82rem; color: var(--text-muted); font-weight: 400; margin-top: 2px; }
.class-row .class-price { font-family: var(--font-display); font-size: 1.1rem; }
.class-row .qty-field { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }
.class-row .qty-field select { min-height: 44px; min-width: 72px; }
.class-row.is-included { opacity: 0.55; }
.class-row.is-included .class-price::after { content: " · included"; font-family: var(--font-body); font-size: 0.8rem; color: var(--text-muted); }
#checkout-msg.is-error { color: var(--coral); }

.cart-summary {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.cart-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.92rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; padding: 14px 0; font-family: var(--font-display); font-size: 1.4rem; }

/* ---- Forms ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: -8px; }
.payment-mock {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--surface-raised);
}

/* ---- FAQ accordion ---- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question .icon { color: var(--gold); font-size: 1.3rem; transition: transform 0.2s ease; }
.faq-item.is-open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { padding-bottom: 18px; margin: 0; }

/* ---- Info blocks (lodging) ---- */
.info-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 10px; padding: 8px 0; color: var(--text-muted); font-size: 0.92rem; }
.info-list li strong { color: var(--text); min-width: 92px; }
.code-badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.12);
  border: 1px dashed var(--gold-dim);
  color: var(--gold);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 1rem;
}

/* ---- The Grown-Up Groove (adult track) ---- */
.after-hours {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 45, 85, 0.16), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(109, 56, 217, 0.20), transparent 55%),
    #0d0a12;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.after-hours .eyebrow { color: var(--coral); }
.new-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: #ffffff;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.ah-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
}
.ah-points li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,0.09);
  color: var(--text-muted);
  font-size: 0.95rem;
}
.ah-points li:first-child { border-top: none; }
.ah-points b {
  color: var(--text);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  font-size: 1rem;
  min-width: 116px;
  flex-shrink: 0;
}
.maturity-note {
  border-left: 3px solid var(--coral);
  padding: 10px 0 10px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ---- Closing CTA band ---- */
.cta-band {
  position: relative;
  text-align: center;
  padding: 76px 0 80px;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(139, 92, 246, 0.20), transparent 60%),
    radial-gradient(ellipse at 70% 100%, rgba(255, 45, 85, 0.16), transparent 60%),
    var(--surface);
  border-top: 1px solid var(--border);
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p {
  max-width: 46ch;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  margin-top: 40px;
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--text); font-size: 0.85rem; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text-muted); font-size: 0.92rem; }
.social-row { display: flex; gap: 14px; margin-top: 14px; }
.social-row a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.social-row a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- Misc ---- */
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.stat-badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.divider { height: 1px; background: var(--border); margin: 48px 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Parent-site link bar (above the CTE header) ---------- */
.org-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 24px;
  background: #050d18;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.org-bar a { color: #f0ebe1; opacity: 0.75; text-decoration: none; }
.org-bar a:hover, .org-bar a:focus-visible { opacity: 1; text-decoration: underline; }
@media (max-width: 560px) {
  .org-bar { padding: 7px 16px; font-size: 0.64rem; letter-spacing: 0.08em; }
}

/* ---------- Save-the-date page ---------- */
.name-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.name-grid li { padding: 18px 0; border-top: 1px solid var(--border); }
@media (max-width: 860px) { .name-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .name-grid { grid-template-columns: 1fr; } }

.coming-list { list-style: none; margin: 0; padding: 0; }
.coming-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.coming-list li:last-child { border-bottom: 1px solid var(--border); }
.coming-list h3 { margin: 0 0 4px; }
.coming-list p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.status-pill {
  flex: none;
  padding: 6px 14px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 520px) { .coming-list li { flex-direction: column; align-items: flex-start; gap: 12px; } }

.notify { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; text-align: left; }
.cta-band .notify-text p { margin: 0; }
@media (max-width: 860px) { .notify { grid-template-columns: 1fr; gap: 28px; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--coral); border-radius: 8px; color: #ffc2cd; font-size: 0.92rem; }
.form-error[hidden], .form-done[hidden] { display: none; }
.form-done { padding: 28px; border: 1px solid var(--gold); border-radius: var(--radius-lg); background: var(--surface); }
.cta-band .form-done p { margin: 8px 0 0; max-width: none; }

/* Test-mode notice on the register page (only while Stripe is on an sk_test_ key). */
.test-banner { background: #ffd23f; color: #1a1300; text-align: center; padding: 12px 20px; font-size: 0.95rem; line-height: 1.5; }
.test-banner strong { text-transform: uppercase; letter-spacing: 0.08em; }
