/* ============================================================
   STEP MAKERS DANCE ACADEMY — Global Stylesheet
   ============================================================ */

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

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --yellow: #FFE500;
  --black: #0A0A0A;
  --charcoal: #111111;
  --dark: #161616;
  --card: #1A1A1A;
  --white: #F0F0F0;
  --gray: #555555;
  --mid-gray: #888888;
  --light-gray: #AAAAAA;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t: all 0.35s var(--ease-in-out);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

@media (hover: none) {
  body { cursor: auto; }
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button, input, select, textarea {
  font-family: var(--font-body);
  border: none;
  outline: none;
}

button { cursor: none; }

ul { list-style: none; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 229, 0, 0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  will-change: transform;
  transition: width 0.25s ease, height 0.25s ease, border-color 0.2s ease;
}

.cursor.is-hovering {
  width: 22px;
  height: 22px;
}

.cursor-ring.is-hovering {
  width: 56px;
  height: 56px;
  border-color: var(--yellow);
}

@media (hover: none) {
  .cursor, .cursor-ring { display: none; }
}

/* ============================================================
   FILM GRAIN OVERLAY
   ============================================================ */
.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
  pointer-events: none;
  z-index: 9997;
  animation: grainMove 1.2s steps(2) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

@keyframes grainMove {
  0%   { background-position: 0 0; }
  50%  { background-position: 100px 50px; }
  100% { background-position: 0 0; }
}

/* ============================================================
   PAGE TRANSITION
   ============================================================ */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9996;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

body {
  animation: pageFadeIn 0.4s ease forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   INTRO ANIMATION (Home only)
   ============================================================ */
#intro-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
}

#intro-overlay.done {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.intro-text-wrap {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 120px);
  color: var(--yellow);
  letter-spacing: 0.08em;
  line-height: 1;
  display: flex;
  align-items: center;
}

.intro-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(-70px) scaleY(1.5);
  will-change: transform, opacity;
}

.intro-letter.space { width: 0.3em; }

.intro-letter.slammed {
  animation: slamLetter 0.22s var(--ease-out) forwards;
}

@keyframes slamLetter {
  0%   { opacity: 0; transform: translateY(-70px) scaleY(1.5); }
  55%  { opacity: 1; transform: translateY(6px) scaleY(0.93); }
  78%  { transform: translateY(-3px) scaleY(1.03); }
  100% { opacity: 1; transform: translateY(0) scaleY(1); }
}

.intro-sub {
  font-family: var(--font-body);
  font-size: clamp(10px, 1.4vw, 13px);
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gray);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.intro-sub.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.yellow { color: var(--yellow); }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--yellow);
  display: block;
  margin-bottom: 20px;
}

.yellow-bar {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--yellow);
  margin-bottom: 28px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.12em;
  padding: 14px 36px;
  border-radius: 0;
  transition: var(--t);
  text-transform: uppercase;
  cursor: none;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--black);
}

.btn-yellow:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(240,240,240,0.5);
}

.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal-left.in { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal-right.in { opacity: 1; transform: translateX(0); }

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
.d6 { transition-delay: 0.6s; }
.d7 { transition-delay: 0.7s; }
.d8 { transition-delay: 0.8s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10,10,10,0.94);
  border-bottom-color: var(--yellow);
  padding: 18px 48px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--yellow);
  letter-spacing: 0.1em;
  text-decoration: none;
  line-height: 1;
  z-index: 1001;
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(240,240,240,0.8);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--yellow);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--yellow); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active {
  color: var(--yellow);
}
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.18em;
  padding: 10px 24px;
  background: var(--yellow);
  color: var(--black);
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1001;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--t);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 110px 48px 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  object-position: center 30%;
  transition: transform 0.1s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.45) 45%, rgba(10,10,10,0.72) 100%),
    linear-gradient(to top,    rgba(10,10,10,0.98) 0%, rgba(10,10,10,0.20) 55%, rgba(10,10,10,0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 132px);
  line-height: 0.92;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  margin-left: -4px;
}

.hero-title .accent { color: var(--yellow); }

.hero-sub {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Ticker */
.hero-ticker {
  position: absolute;
  bottom: 28px; left: 48px;
  z-index: 2;
  overflow: hidden;
  max-width: 600px;
}

.hero-ticker-inner {
  display: inline-flex;
  white-space: nowrap;
  animation: tickerRoll 24s linear infinite;
}

.hero-ticker-text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--yellow);
  padding-right: 40px;
}

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

/* Scroll hint */
.hero-scroll {
  position: absolute;
  right: 48px; bottom: 80px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--mid-gray);
  writing-mode: vertical-lr;
}

.scroll-line {
  width: 1px;
  height: 70px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50%       { opacity: 0.3; transform: scaleY(0.4); transform-origin: top; }
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  background: var(--yellow);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--black);
  white-space: nowrap;
  padding: 0 0 0 56px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.marquee-sep {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--black);
  border-radius: 50%;
  flex-shrink: 0;
}

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

/* ============================================================
   ABOUT TEASER
   ============================================================ */
.about-teaser {
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

.about-teaser::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--yellow), transparent);
  opacity: 0.3;
}

.about-teaser-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.about-big-text {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 90px);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: -0.01em;
}

.about-big-text .yellow { color: var(--yellow); }

.about-right {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-body-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--light-gray);
  font-weight: 300;
  margin-bottom: 22px;
}

.about-body-text strong {
  color: var(--white);
  font-weight: 600;
}

.stats-row {
  display: flex;
  gap: 0;
  margin-top: 52px;
  padding-top: 48px;
  border-top: 1px solid #1f1f1f;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding-right: 24px;
  border-right: 1px solid #1f1f1f;
}

.stat-item:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 24px;
}

.stat-item:not(:first-child):not(:last-child) {
  padding-left: 24px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--yellow);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ============================================================
   CLASSES PREVIEW
   ============================================================ */
.classes-preview {
  padding: 100px 48px;
  background: var(--charcoal);
  position: relative;
  clip-path: polygon(0 4%, 100% 0%, 100% 96%, 0% 100%);
  margin: -24px 0;
}

.classes-preview-header {
  max-width: 1400px;
  margin: 0 auto 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.classes-preview-title {
  font-family: var(--font-display);
  font-size: clamp(60px, 10vw, 148px);
  color: var(--yellow);
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.classes-preview-link {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--mid-gray);
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;
  padding-bottom: 8px;
  position: relative;
}

.classes-preview-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--yellow);
  transition: width 0.3s var(--ease-out);
}

.classes-preview-link:hover { color: var(--yellow); }
.classes-preview-link:hover::after { width: 100%; }

.classes-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1400px;
  margin: 0 auto;
  background: #1e1e1e;
}

.class-mini-card {
  background: var(--black);
  padding: 36px 32px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.35s var(--ease-out);
}

.class-mini-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--yellow);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.class-mini-card:hover {
  transform: translateY(-5px);
  border-left-color: var(--yellow);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.class-mini-card:hover::before { opacity: 0.04; }
.class-mini-card:hover .cmc-name { color: var(--yellow); }
.class-mini-card:hover .cmc-explore { opacity: 1; transform: translateY(0); }

.cmc-num {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.3em;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.cmc-name {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 40px);
  color: var(--white);
  line-height: 1;
  margin-bottom: 14px;
  transition: color 0.35s ease;
  position: relative;
  z-index: 1;
}

.cmc-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gray);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cmc-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid currentColor;
  position: relative;
  z-index: 1;
}

.tag-beginner { color: #4ade80; }
.tag-intermediate { color: var(--yellow); }
.tag-advanced { color: #f87171; }
.tag-all { color: var(--mid-gray); }

.cmc-explore {
  position: absolute;
  bottom: 24px; right: 24px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--yellow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1;
  text-transform: uppercase;
}

/* ============================================================
   VIBE / GALLERY
   ============================================================ */
.vibe-section {
  padding: 72px 0 60px;
  overflow: hidden;
}

.vibe-header {
  padding: 0 48px;
  max-width: 1400px;
  margin: 0 auto 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.vibe-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 130px);
  color: var(--white);
  line-height: 0.9;
}

.vibe-hint {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gray);
  padding-bottom: 14px;
  white-space: nowrap;
}

.gallery-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 48px 24px;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  user-select: none;
}

.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.grabbing { cursor: grabbing; }

.gallery-item {
  flex: 0 0 auto;
  width: clamp(260px, 34vw, 480px);
  height: clamp(300px, 44vw, 580px);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  filter: grayscale(75%) brightness(0.65);
  transition: filter 0.5s ease, transform 0.6s var(--ease-out);
  object-position: center top;
}

.gallery-item:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

.gallery-item-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(10,10,10,0.8), transparent);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-item-cap {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 80px 48px;
  background: var(--charcoal);
  position: relative;
}

.testimonials-header {
  max-width: 1400px;
  margin: 0 auto 48px;
  display: flex;
  align-items: flex-end;
  gap: 32px;
}

.testimonials-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 88px);
  color: var(--white);
  line-height: 0.95;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1400px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--dark);
  padding: 52px 44px 44px;
  position: relative;
  border-left: 3px solid var(--yellow);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.tcard-quote {
  font-family: var(--font-display);
  font-size: 140px;
  color: var(--yellow);
  opacity: 0.1;
  line-height: 0.6;
  position: absolute;
  top: 20px; left: 28px;
  pointer-events: none;
  user-select: none;
}

.tcard-text {
  font-size: 16px;
  font-style: italic;
  line-height: 1.8;
  color: var(--light-gray);
  font-weight: 300;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.tcard-author-name {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--white);
  letter-spacing: 0.05em;
}

.tcard-author-batch {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 4px;
}

/* ============================================================
   JOIN CTA
   ============================================================ */
.join-cta {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 48px;
  overflow: hidden;
}

.join-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.join-cta-bg img {
  object-position: center center;
  filter: grayscale(40%);
}

.join-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.84);
  z-index: 1;
}

.join-cta-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.join-cta-title {
  font-family: var(--font-display);
  font-size: clamp(58px, 9.5vw, 136px);
  color: var(--white);
  line-height: 0.9;
  margin-bottom: 24px;
}

.join-cta-sub {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 28px;
}

/* ============================================================
   FOOTER — compact two-row strip
   ============================================================ */
.footer {
  background: var(--black);
  border-top: 1px solid #1e1e1e;
  padding: 28px 48px 20px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* Row 1: logo | nav links | social icons */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-brand {}

.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--yellow);
  letter-spacing: 0.1em;
  line-height: 1;
  display: block;
  margin-bottom: 2px;
}

.footer-brand-line {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gray);
}

/* Inline nav links */
.footer-nav-cols {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-nav-col h4 { display: none; } /* labels hidden in compact mode */

.footer-nav-col ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav-col a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-nav-col a:hover { color: var(--yellow); }

/* Only show first nav-col (Navigate) — hide the rest */
.footer-nav-col:nth-child(2),
.footer-nav-col:nth-child(3) { display: none; }

/* Social icons — icon only, no text */
.footer-socials {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #252525;
  font-size: 16px;
  color: var(--mid-gray);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

/* Hide the text label inside social links */
.social-link > :not(.social-icon-wrap) { display: none; }

.social-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.social-link:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(255,229,0,0.07);
}

/* Row 2: copyright */
.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.06em;
}

.footer-copy .yellow { color: var(--yellow); }

.footer-tagline-right {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gray);
}

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  padding: 168px 48px 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--yellow) 0%, transparent 60%);
}

.page-hero-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.45em;
  color: var(--gray);
  margin-bottom: 24px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 168px);
  color: var(--white);
  line-height: 0.88;
  max-width: 1400px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

.page-hero-title span { color: var(--yellow); }

.page-hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--light-gray);
  max-width: 520px;
  margin: 28px 0 0 0;
  line-height: 1.7;
}

/* ============================================================
   CLASSES PAGE — FILTER BAR
   ============================================================ */
.filter-bar {
  padding: 52px 48px 0;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.18em;
  padding: 10px 26px;
  background: transparent;
  color: var(--gray);
  border: 1px solid #1f1f1f;
  text-transform: uppercase;
  transition: var(--t);
  cursor: none;
}

.filter-btn:hover {
  color: var(--white);
  border-color: #333;
}

.filter-btn.active {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

/* ============================================================
   CLASSES PAGE — FULL CARDS GRID
   ============================================================ */
.classes-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: 1400px;
  margin: 48px auto 80px;
  padding: 0 48px;
  background: #181818;
}

.class-full-card {
  background: var(--black);
  padding: 52px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.class-full-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.class-full-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(255, 229, 0, 0.06);
  z-index: 2;
}

.class-full-card:hover::before { transform: scaleX(1); }
.class-full-card:hover .cfc-name { color: var(--yellow); }

.class-full-card.hidden { display: none; }

.class-full-card.show {
  animation: cardReveal 0.4s var(--ease-out) forwards;
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cfc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.cfc-name {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 58px);
  color: var(--white);
  line-height: 1;
  transition: color 0.35s ease;
}

.cfc-origin {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 8px;
}

.cfc-learn-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}

.cfc-learn-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.cfc-learn-list li {
  font-size: 14px;
  color: var(--light-gray);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.cfc-learn-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-size: 12px;
}

.cfc-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid #1a1a1a;
}

.cfc-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cfc-meta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gray);
}

.cfc-meta-value {
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: flex-end;
  padding: 0 48px 80px;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero-bg img {
  object-position: center top;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.5) 55%, rgba(10,10,10,0.15) 100%),
    linear-gradient(to top, rgba(10,10,10,0.98) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.about-hero-name {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 168px);
  color: var(--white);
  line-height: 0.88;
  letter-spacing: -0.01em;
}

.about-hero-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 20px;
}

.about-story {
  padding: 110px 48px;
}

.about-story-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.about-story-label {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  color: var(--yellow);
  line-height: 1.1;
  position: sticky;
  top: 130px;
  align-self: start;
}

.about-story-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-story-body p {
  font-size: 18px;
  line-height: 1.85;
  color: var(--light-gray);
  font-weight: 300;
}

.about-story-body p strong {
  color: var(--white);
  font-weight: 600;
}

.about-pull-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px) !important;
  color: var(--white) !important;
  line-height: 1.2 !important;
  border-left: 4px solid var(--yellow);
  padding-left: 28px;
  margin: 16px 0 !important;
  font-style: normal !important;
  font-weight: normal !important;
}

.about-pull-quote .yellow { color: var(--yellow); }

.about-crew {
  position: relative;
  height: 72vh;
  overflow: hidden;
}

.about-crew img {
  object-position: center center;
  transition: transform 8s ease;
}

.about-crew:hover img {
  transform: scale(1.04);
}

.about-crew-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.about-mission {
  text-align: center;
  max-width: 1000px;
}

.about-mission-text {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, 76px);
  color: var(--white);
  line-height: 1.1;
}

.about-mission-text .yellow { color: var(--yellow); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 148px 48px 110px;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}

.contact-big-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 140px);
  color: var(--white);
  line-height: 0.88;
  margin-bottom: 64px;
  letter-spacing: -0.01em;
}

.contact-big-title span { color: var(--yellow); }

.contact-info-block {
  margin-bottom: 52px;
}

.contact-info-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}

.contact-info-val {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 38px);
  color: var(--white);
  line-height: 1.2;
  display: block;
  transition: color 0.25s ease;
}

.contact-info-val:hover { color: var(--yellow); }

.contact-info-detail {
  font-size: 14px;
  color: var(--gray);
  font-weight: 300;
  margin-top: 6px;
  line-height: 1.6;
}

/* Form */
.contact-form-title {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 44px;
}

.form-group {
  margin-bottom: 40px;
}

.form-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 10px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid #252525;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.35s ease;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-bottom-color: var(--yellow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray);
  font-weight: 300;
}

.form-select {
  cursor: pointer;
  color: var(--gray);
}

.form-select option {
  background: #1a1a1a;
  color: var(--white);
}

.form-textarea {
  resize: none;
  height: 90px;
}

.form-submit {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.18em;
  padding: 18px 0;
  background: var(--yellow);
  color: var(--black);
  text-transform: uppercase;
  width: 100%;
  cursor: none;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.form-submit.sent {
  background: #4ade80;
  color: #0a0a0a;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1100px) {
  .classes-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .classes-full-grid { grid-template-columns: 1fr; }
  .footer-nav-col ul { gap: 18px; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  /* Global */
  html { overflow-x: hidden; }
  body { overflow-x: hidden; }
  .container { padding: 0 20px; }

  /* Nav */
  .nav { padding: 18px 20px; }
  .nav.scrolled { padding: 14px 20px; }
  .nav-toggle { display: flex; cursor: pointer; }
  .nav-logo { font-size: 22px; }

  .nav-links-wrap {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 999;
  }

  .nav-links-wrap.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .nav-links a {
    font-size: 18px;
    letter-spacing: 0.2em;
  }

  .nav-cta { font-size: 20px; padding: 14px 40px; }

  /* Hero */
  .hero {
    padding: 100px 20px 60px;
    min-height: 100svh;
    min-height: 100vh;
  }

  .hero-title {
    font-size: clamp(42px, 12vw, 72px);
    margin-bottom: 16px;
    line-height: 0.94;
  }

  .hero-sub { font-size: 10px; letter-spacing: 0.3em; margin-bottom: 28px; }

  .hero-btns { flex-direction: column; gap: 12px; }
  .hero-btns .btn { width: 100%; justify-content: center; font-size: 16px; padding: 14px 24px; }

  .hero-ticker { left: 20px; max-width: 75vw; bottom: 20px; }
  .hero-scroll { display: none; }

  /* Marquee */
  .marquee-item { font-size: 17px; }

  /* About teaser */
  .about-teaser { padding: 64px 20px; }
  .about-teaser::before { display: none; }
  .about-teaser-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-body-text { font-size: 15px; }

  .stats-row {
    flex-wrap: wrap;
    gap: 0;
  }
  .stat-item {
    flex: 0 0 50%;
    padding: 0 0 24px 0 !important;
    border-right: none !important;
  }
  .stat-num { font-size: 38px; }

  /* Classes preview */
  .classes-preview {
    clip-path: none;
    margin: 0;
    padding: 64px 20px;
  }

  .classes-preview-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .classes-preview-title { font-size: clamp(48px, 14vw, 80px); }
  .classes-mini-grid { grid-template-columns: 1fr; background: none; gap: 2px; }
  .class-mini-card {
    border-left: none !important;
    border-bottom: 1px solid #1e1e1e;
    padding: 28px 20px;
    transform: none !important;
  }
  .cmc-name { font-size: 32px; }

  /* Vibe / Gallery */
  .vibe-section { padding: 64px 0 48px; }
  .vibe-header { padding: 0 20px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .vibe-title { font-size: clamp(48px, 14vw, 80px); }
  .vibe-hint { display: none; }
  .gallery-track { padding: 0 20px 20px; gap: 8px; }
  .gallery-item { width: 80vw; height: 56vw; min-height: 200px; }

  /* Testimonials */
  .testimonials { padding: 64px 20px; }
  .testimonials-header { margin-bottom: 48px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 2px; }
  .testimonial-card { padding: 36px 28px 32px; }
  .tcard-text { font-size: 15px; }

  /* Join CTA */
  .join-cta { padding: 48px 20px; min-height: 40vh; }
  .join-cta-title { font-size: clamp(36px, 11vw, 64px); }

  /* Footer — single compact row on mobile */
  .footer { padding: 18px 20px 14px; }
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 14px;
  }
  .footer-nav-cols { display: none; } /* hide nav links on mobile — nav is in hamburger */
  .footer-socials { flex-direction: row; gap: 6px; align-items: center; }
  .social-link { width: 30px; height: 30px; font-size: 13px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 12px; }
  .footer-tagline-right { display: none; }
  .footer-copy { font-size: 10px; letter-spacing: 0; line-height: 1.5; }

  /* Inner pages — page hero */
  .page-hero { padding: 120px 20px 48px; }
  .page-hero-title { font-size: clamp(52px, 14vw, 96px); }
  .page-hero-sub { font-size: 15px; }

  /* Classes page */
  .filter-bar { padding: 32px 20px 0; gap: 6px; }
  .filter-btn { font-size: 14px; padding: 9px 18px; }
  .classes-full-grid { grid-template-columns: 1fr; padding: 0 20px; margin: 32px auto 48px; }
  .class-full-card { padding: 32px 24px; }
  .cfc-name { font-size: clamp(32px, 9vw, 48px); }
  .cfc-meta { gap: 20px; }

  /* About page */
  .about-hero { padding: 0 20px 48px; min-height: 85vh; }
  .about-hero-name { font-size: clamp(56px, 16vw, 96px); }
  .about-story { padding: 56px 20px; }
  .about-story-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-story-label { position: static; font-size: clamp(28px, 8vw, 48px); }
  .about-story-body p { font-size: 16px; }
  .about-pull-quote { font-size: clamp(22px, 6vw, 36px) !important; }
  .about-crew { height: 60vw; min-height: 240px; }
  .about-mission-text { font-size: clamp(22px, 7vw, 48px) !important; }

  /* Contact page */
  .contact-section { padding: 110px 20px 72px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-big-title { font-size: clamp(52px, 16vw, 100px); margin-bottom: 44px; }
  .contact-info-val { font-size: clamp(18px, 5vw, 28px) !important; }
  .contact-form-title { font-size: 28px; }

  /* Values section in about.html */
  .values-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(48px, 16vw, 80px); }
  .classes-mini-grid { grid-template-columns: 1fr; }
  .footer-nav-col ul { flex-wrap: wrap; gap: 10px; }
}

/* ============================================================
   SUPPLEMENTAL RESPONSIVE — values grid, CTA strip
   ============================================================ */
@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .cta-strip {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 40px 28px !important;
  }
  .about-crew {
    height: 55vw;
    min-height: 260px;
  }
  .contact-visual {
    height: 220px !important;
  }
}
