/* ============================================================
   BAZA JIU-JITSU — Global Design System
   "Black Belt Minimalism" — Nike × Apple × Sports Editorial
   ============================================================ */

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

/* --- CSS Custom Properties --- */
:root {
  /* Color Palette — White-Dominant */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F5;
  --surface: #FFFFFF;
  --border: #E5E5E5;
  --text-primary: #000000;
  --text-secondary: #555555;
  --text-muted: #999999;
  --accent: #000000;
  --accent-hover: #333333;

  /* Typography */
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Spacing Scale */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 80px;
  --space-3xl: 120px;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;
  --nav-height: 72px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-base: 0.3s;
  --duration-slow: 0.7s;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- Accessibility --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 4px;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  z-index: 10001;
  transition: none;
}

/* --- Noise Texture Overlay --- */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 clamp(24px, 4vw, 60px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background var(--duration-base) ease, backdrop-filter var(--duration-base) ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 28px;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  text-decoration: none;
  line-height: 1;
  transition: color var(--duration-base) ease;
}

.nav.scrolled .nav__logo {
  color: #000000;
}

.nav__logo img {
  height: 28px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color var(--duration-base) ease;
}

.nav.scrolled .nav__link {
  color: #000000;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #FFFFFF;
  transition: width var(--duration-base) var(--ease-out), background var(--duration-base) ease;
}

.nav.scrolled .nav__link::after {
  background: #000000;
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  background: transparent;
  border: 1px solid #FFFFFF;
  padding: 10px 24px;
  text-decoration: none;
  transition: background var(--duration-base) ease, color var(--duration-base) ease, border-color var(--duration-base) ease;
}

.nav.scrolled .nav__cta {
  color: #000000;
  border-color: #000000;
}

.nav__cta:hover {
  background: #FFFFFF;
  color: #000000;
}

.nav.scrolled .nav__cta:hover {
  background: #000000;
  color: #FFFFFF;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1002;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: #FFFFFF;
  transition: transform var(--duration-base) ease, opacity var(--duration-base) ease, background var(--duration-base) ease;
}

.nav.scrolled .nav__hamburger span {
  background: #000000;
}

.nav__hamburger.open span {
  background: #000000;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.nav__mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) ease;
}

.nav__mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color var(--duration-fast) ease;
}

.nav__mobile-menu.open .nav__mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.nav__mobile-menu.open .nav__mobile-link:nth-child(1) { transition-delay: 0.1s; }
.nav__mobile-menu.open .nav__mobile-link:nth-child(2) { transition-delay: 0.15s; }
.nav__mobile-menu.open .nav__mobile-link:nth-child(3) { transition-delay: 0.2s; }
.nav__mobile-menu.open .nav__mobile-link:nth-child(4) { transition-delay: 0.25s; }
.nav__mobile-menu.open .nav__mobile-link:nth-child(5) { transition-delay: 0.3s; }
.nav__mobile-menu.open .nav__mobile-link:nth-child(6) { transition-delay: 0.35s; }

.nav__mobile-link:hover {
  color: var(--text-secondary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #000000;
  color: #FFFFFF;
  padding: var(--space-3xl) clamp(24px, 4vw, 60px) 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
  padding-bottom: var(--space-xl);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 60px;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.footer__tagline {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #666666;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #FFFFFF;
  margin-bottom: var(--space-md);
}

.footer__link {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: #999999;
  text-decoration: none;
  padding: 6px 0;
  transition: color var(--duration-fast) ease;
}

.footer__link:hover {
  color: #FFFFFF;
}

.footer__contact-item {
  font-size: 14px;
  font-weight: 300;
  color: #999999;
  padding: 4px 0;
  line-height: 1.6;
}

.footer__contact-item a {
  color: #999999;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.footer__contact-item a:hover {
  color: #FFFFFF;
}

.footer__socials {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer__social-icon {
  width: 20px;
  height: 20px;
  color: #999999;
  transition: color var(--duration-fast) ease;
}

.footer__social-icon:hover {
  color: #FFFFFF;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--space-md) 0;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copyright {
  font-size: 13px;
  font-weight: 300;
  color: #666666;
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal a {
  font-size: 13px;
  font-weight: 300;
  color: #666666;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.footer__legal a:hover {
  color: #999999;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.text-display {
  font-family: var(--font-display);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.text-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
}

.text-label {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
}

.text-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.text-outlined {
  -webkit-text-stroke: 1px var(--text-primary);
  color: transparent;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 60px);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section--dark {
  background: var(--bg-primary);
}

.section--alt {
  background: var(--bg-secondary);
}

/* ============================================================
   DARK OVERLAY TEXT — Explicit white for content over images
   ============================================================ */
.hero__content,
.parallax-cta__content,
.program-card__content {
  color: #FFFFFF;
}

.hero__content .text-display,
.hero__content h1,
.parallax-cta__content .text-display,
.parallax-cta__content h2 {
  color: #FFFFFF;
}

/* ============================================================
   HERO COMPONENTS
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero--full {
  min-height: 100vh;
  min-height: 100dvh;
}

.hero--medium {
  min-height: 60vh;
}

.hero--short {
  min-height: 50vh;
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__overlay--left {
  background: linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0.35) 100%);
}

.hero__overlay--center {
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.75) 100%);
}

.hero__overlay--strong {
  background: rgba(0,0,0,0.7);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__breadcrumb {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-md);
}

.hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.hero__breadcrumb a:hover {
  color: #FFFFFF;
}

.hero__breadcrumb span {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 40px;
  text-decoration: none;
  transition: all var(--duration-base) ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.btn--primary:hover {
  background: transparent;
  color: var(--text-primary);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.btn--outline:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn--large {
  padding: 20px 60px;
  font-size: 15px;
}

.btn--full {
  width: 100%;
}

.btn--accent {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.btn--accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Buttons on dark overlays (hero, parallax CTA) */
.hero__content .btn--primary {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.hero__content .btn--primary:hover {
  background: transparent;
  color: #FFFFFF;
}

.hero__content .btn--outline {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.hero__content .btn--outline:hover {
  background: #FFFFFF;
  color: #000000;
}


.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ============================================================
   SECTION LABELS (Decorative Numbers)
   ============================================================ */
.section-label {
  margin-bottom: var(--space-lg);
}

.section-label__number {
  font-family: var(--font-display);
  font-size: 200px;
  line-height: 0.75;
  color: #F0F0F0;
  position: absolute;
  top: var(--space-xl);
  left: -10px;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.section-label__text {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.section-title--lg {
  font-size: clamp(36px, 5vw, 52px);
}

.section-title--md {
  font-size: clamp(32px, 4vw, 48px);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: #000000;
  padding: var(--space-xl) 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 60px);
}

.stats-bar__item {
  text-align: center;
  padding: var(--space-md);
  position: relative;
}

.stats-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, 0.3);
}

.stats-bar__number {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  color: #FFFFFF;
  line-height: 1;
}

.stats-bar__label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: var(--space-sm) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

.marquee__track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}

.marquee__text {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  padding-right: 60px;
  flex-shrink: 0;
}

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

/* ============================================================
   PROGRAM CARDS
   ============================================================ */
.program-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.program-card {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
}

.program-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.program-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.program-card:hover .program-card__bg img {
  transform: scale(1.05);
}

.program-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
  transition: background var(--duration-base) ease;
}

.program-card:hover .program-card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.3) 100%);
}

.program-card__corner {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  width: 40px;
  height: 40px;
  border-left: 1px solid rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.4);
  z-index: 2;
}

.program-card__content {
  position: relative;
  z-index: 2;
}

.program-card__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 80px);
  color: #FFFFFF;
  line-height: 0.9;
}

.program-card__title-outline {
  -webkit-text-stroke: 1px #FFFFFF;
  color: transparent;
}

.program-card__desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: #CCCCCC;
  line-height: 1.7;
  max-width: 400px;
  margin: var(--space-sm) 0 var(--space-md);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.program-card:hover .program-card__desc {
  opacity: 1;
  transform: translateY(0);
}

.program-card__link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #FFFFFF;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.program-card__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #FFFFFF;
  transition: width var(--duration-base) var(--ease-out);
}

.program-card__link:hover::after {
  width: 100%;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-item {
  text-align: center;
}

.feature-item__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  color: var(--text-primary);
}

.feature-item__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.feature-item__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.feature-item__desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* Feature Ticker */
.feature-ticker {
  border-top: 1px solid var(--border);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.feature-ticker__item {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.feature-ticker__item::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--text-muted);
}

.feature-ticker__item:first-child::before {
  display: none;
}

/* ============================================================
   ROSE BACKGROUND ZONE (sections 3–6)
   ============================================================ */
.rose-bg-zone {
  position: relative;
}

.rose-bg-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/rose.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  opacity: 0.13;
  z-index: 0;
  pointer-events: none;
}

.rose-bg-zone .section--dark,
.rose-bg-zone .section--alt {
  background: transparent;
}

.rose-cta {
  background: transparent;
}

/* ============================================================
   YOUTH CAROUSEL
   ============================================================ */
.youth-carousel {
  overflow: hidden;
  background: var(--bg-primary);
  padding: var(--space-xl) 0;
}

.youth-carousel__track {
  display: flex;
  gap: 4px;
  width: max-content;
  animation: carousel-scroll 30s linear infinite;
}

.youth-carousel:hover .youth-carousel__track {
  animation-play-state: paused;
}

.youth-carousel__slide {
  flex-shrink: 0;
  width: 380px;
  height: 320px;
  overflow: hidden;
}

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

@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .youth-carousel__track {
    animation: none;
  }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.testimonials-header__stars {
  display: flex;
  gap: 4px;
  color: var(--accent);
  font-size: 20px;
}

.testimonials-header__rating {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--text-primary);
  line-height: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--space-lg);
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  background: #F0F0F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
  font-size: 14px;
  margin-top: 4px;
}

.testimonial-card__text {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

.testimonial-card__attribution {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) 0;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-item__icon {
  font-size: 24px;
  font-weight: 300;
  color: var(--text-secondary);
  transition: transform var(--duration-base) ease;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item__answer-inner {
  padding-bottom: var(--space-md);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 650px;
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.final-cta {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(60px, 10vw, 110px);
  color: var(--text-primary);
  line-height: 0.9;
}

.final-cta__subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  color: var(--text-secondary);
  margin: var(--space-md) 0 var(--space-lg);
}

.final-cta__divider {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin: var(--space-lg) auto;
}

.final-cta__address {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
}

/* ============================================================
   WELCOME SECTION (TWO COLUMN)
   ============================================================ */
.welcome-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.welcome-image {
  position: relative;
  overflow: hidden;
}

.welcome-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.inline-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  display: inline-block;
  margin-top: var(--space-md);
}

.inline-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: width var(--duration-base) var(--ease-out);
}

.inline-link:hover::after {
  width: 100%;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.story-image {
  overflow: hidden;
  border-radius: 16px;
}

.story-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

.instructor-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-xl);
  align-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
}

.instructor-card__image {
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

.instructor-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.instructor-card__content {
  padding: var(--space-xl);
}

.instructor-card__name {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  color: var(--text-primary);
  line-height: 1;
}

.instructor-card__rank {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin: var(--space-xs) 0 var(--space-md);
}

.instructor-card__bio {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
}

.instructor-card__credentials {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.instructor-card__credential {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.instructor-card__credential::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--accent);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.value-pillar {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.value-pillar__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.value-pillar__desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   PROGRAMS PAGE
   ============================================================ */
.program-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.program-detail--reverse {
  direction: rtl;
}

.program-detail--reverse > * {
  direction: ltr;
}

.program-detail__image {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.program-detail__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-detail__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--space-xl);
  background: var(--bg-primary);
}

.program-detail__list {
  margin: var(--space-md) 0 var(--space-lg);
}

.program-detail__list li {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.program-detail__list li::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   SCHEDULE TABLE
   ============================================================ */
.schedule-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 700px;
}

.schedule-table th {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  padding: var(--space-sm) var(--space-md);
  text-align: center;
  border-bottom: 2px solid var(--text-primary);
  background: var(--bg-secondary);
}

.schedule-table td {
  padding: var(--space-sm);
  text-align: center;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  vertical-align: top;
  min-width: 120px;
}

.schedule-table td:last-child {
  border-right: none;
}

.schedule-table__time {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  white-space: nowrap;
}

.schedule-cell {
  padding: 8px;
}

.schedule-cell__name {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.schedule-cell__badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  margin-top: 4px;
}

.schedule-cell__badge--gi {
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--text-primary);
}

.schedule-cell__badge--nogi {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.schedule-cell__level {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   SCHEDULE PAGE — Interactive Day View
   ============================================================ */

/* --- Header + Legend --- */
.sched-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.sched-header__legend {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.sched-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sched-legend-dot {
  width: 8px;
  height: 8px;
}

.sched-legend-dot--gi {
  background: var(--text-primary);
}

.sched-legend-dot--nogi {
  background: transparent;
  border: 2px solid var(--text-primary);
}

/* --- Category Filters --- */
.sched-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: var(--space-sm) 0;
}

.sched-filter {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 22px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 999px;
  transition: all var(--duration-base) var(--ease-out);
}

.sched-filter:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.sched-filter--active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: #FFFFFF;
}

/* --- Day Tabs --- */
.sched-tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  overflow: visible;
  padding: 18px 0 4px;
}

.sched-tabs::-webkit-scrollbar {
  display: none;
}

.sched-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  min-width: 68px;
  flex-shrink: 0;
}

.sched-tab:hover {
  border-color: var(--text-primary);
}

.sched-tab--active {
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.sched-tab--active .sched-tab__name,
.sched-tab--active .sched-tab__type {
  color: #FFFFFF;
}

.sched-tab--closed {
  opacity: 0.5;
}

.sched-tab--closed:hover {
  opacity: 0.8;
}

.sched-tab--closed.sched-tab--active {
  opacity: 1;
  background: var(--text-secondary);
  border-color: var(--text-secondary);
}

.sched-tab__name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  transition: color var(--duration-base) var(--ease-out);
}

.sched-tab__type {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color var(--duration-base) var(--ease-out);
}

/* Today marker */
.sched-tab--today::before {
  content: 'TODAY';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  background: var(--text-primary);
  color: #FFFFFF;
  padding: 2px 8px;
  white-space: nowrap;
}

/* --- Panels --- */
.sched-panels {
  padding: var(--space-md) 0 0;
}

.sched-panel {
  display: none;
}

.sched-panel--active {
  display: block;
  animation: schedFadeIn 0.4s var(--ease-out);
}

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

/* --- Day Info Header --- */
.sched-day-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--text-primary);
}

.sched-day-info__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

.sched-day-info__badge {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
}

.sched-day-info__badge--gi {
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
}

.sched-day-info__badge--nogi {
  background: var(--text-primary);
  color: #FFFFFF;
}

.sched-day-info__count {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-left: auto;
}

/* --- Timeline --- */
.sched-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-left: 0;
}

/* Timeline vertical line (desktop) */
.sched-timeline::before {
  content: '';
  position: absolute;
  left: 82px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: var(--border);
}

/* --- Class Cards --- */
.sched-card {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  position: relative;
}

.sched-card__time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 72px;
  padding-top: 14px;
  position: relative;
  z-index: 1;
}

/* Timeline dot */
.sched-card__time::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 21px;
  width: 7px;
  height: 7px;
  background: var(--text-primary);
  border-radius: 50%;
  z-index: 2;
}

.sched-card__hour {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--text-primary);
}

.sched-card__period {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 2px;
}

.sched-card__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--text-primary);
  transition: all var(--duration-base) var(--ease-out);
}

.sched-card > .sched-card__body:hover {
  border-left-width: 5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateX(2px);
}

.sched-card__info {
  flex: 1;
  min-width: 0;
}

.sched-card__name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

.sched-card__meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.sched-card__badge {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  flex-shrink: 0;
  white-space: nowrap;
}

.sched-card__badge--gi {
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--text-primary);
}

.sched-card__badge--nogi {
  background: var(--text-primary);
  color: #FFFFFF;
}

/* --- Grouped Cards (dual classes at same time) --- */
.sched-card-group {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  position: relative;
}

.sched-card-group > .sched-card__time {
  min-width: 72px;
  padding-top: 14px;
  position: relative;
  z-index: 1;
}

.sched-card-group > .sched-card__time::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 21px;
  width: 7px;
  height: 7px;
  background: var(--text-primary);
  border-radius: 50%;
  z-index: 2;
}

.sched-card-group__stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-left: 3px solid var(--text-primary);
  background: var(--surface);
  transition: all var(--duration-base) var(--ease-out);
}

.sched-card-group__stack:hover {
  border-left-width: 5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateX(2px);
}

.sched-card-group__stack > .sched-card__body {
  border: none;
  border-left: none;
  background: transparent;
}

.sched-card-group__stack > .sched-card__body:hover {
  box-shadow: none;
  transform: none;
  border-left-width: 0;
}

.sched-card-group__stack > .sched-card__body + .sched-card__body {
  border-top: 1px solid var(--border);
}

/* --- "NOW" / "NEXT UP" Status Indicators --- */
.sched-card--now > .sched-card__body {
  border-left-color: var(--text-primary);
  border-left-width: 5px;
}

.sched-card-group--now .sched-card-group__stack {
  border-left-width: 5px;
}

.sched-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.sched-card__status--now {
  color: var(--text-primary);
}

.sched-card__status--now::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--text-primary);
  border-radius: 50%;
  animation: schedPulse 2s ease-in-out infinite;
}

@keyframes schedPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.sched-card__status--next {
  color: var(--text-muted);
}

/* --- Closed Day --- */
.sched-closed {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  color: var(--text-muted);
}

.sched-closed svg {
  margin-bottom: var(--space-md);
  opacity: 0.25;
}

.sched-closed__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.sched-closed__text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.7;
}

.sched-closed__subtext {
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-top: var(--space-md);
}

/* --- Toggle Table Button --- */
.sched-toggle-table {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 10px 20px;
  transition: all var(--duration-base) var(--ease-out);
}

.sched-toggle-table:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.sched-toggle-table svg {
  transition: transform var(--duration-base) var(--ease-out);
}

.sched-toggle-table[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* --- Table Container (collapsible) --- */
.sched-table-container {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out), opacity 0.4s var(--ease-out);
  opacity: 0;
}

.sched-table-container > * {
  overflow: hidden;
}

.sched-table-container--open {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-top: var(--space-sm);
}

/* --- Enhanced Table --- */
.sched-table--enhanced tbody tr {
  transition: background var(--duration-fast) ease;
}

.sched-table--enhanced tbody tr:hover td {
  background: rgba(0, 0, 0, 0.02);
}

.sched-table--enhanced th[data-today],
.sched-table--enhanced td[data-today] {
  background: rgba(0, 0, 0, 0.04);
}

.sched-table--enhanced th[data-today] {
  background: var(--text-primary);
  color: #FFFFFF;
}

/* --- Disclaimer --- */
.sched-disclaimer {
  text-align: center;
  padding: var(--space-lg) 0 var(--space-xl);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
}

.sched-disclaimer a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) ease;
}

.sched-disclaimer a:hover {
  color: var(--text-primary);
}

/* --- Info Cards Grid --- */
.sched-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.sched-info-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.sched-info-card__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-md);
  color: var(--text-primary);
}

.sched-info-card__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.sched-info-card__text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.sched-info-card__text--muted {
  color: var(--text-muted);
}

/* --- Card Stagger Animations --- */
.sched-panel--active .sched-timeline > :nth-child(1) { animation: schedCardSlide 0.4s var(--ease-out) 0ms both; }
.sched-panel--active .sched-timeline > :nth-child(2) { animation: schedCardSlide 0.4s var(--ease-out) 60ms both; }
.sched-panel--active .sched-timeline > :nth-child(3) { animation: schedCardSlide 0.4s var(--ease-out) 120ms both; }
.sched-panel--active .sched-timeline > :nth-child(4) { animation: schedCardSlide 0.4s var(--ease-out) 180ms both; }
.sched-panel--active .sched-timeline > :nth-child(5) { animation: schedCardSlide 0.4s var(--ease-out) 240ms both; }
.sched-panel--active .sched-timeline > :nth-child(6) { animation: schedCardSlide 0.4s var(--ease-out) 300ms both; }

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

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .sched-panel--active {
    animation: none;
  }
  .sched-panel--active .sched-timeline > * {
    animation: none;
  }
  @keyframes schedPulse {
    0%, 100% { opacity: 1; }
  }
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .sched-header {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }

  .sched-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 18px 0 4px;
    gap: 4px;
  }

  .sched-tabs::-webkit-scrollbar {
    display: none;
  }

  .sched-tab {
    padding: 10px 14px;
    min-width: 52px;
  }

  .sched-tab__name {
    font-size: 13px;
  }

  .sched-tab__type {
    font-size: 9px;
  }

  .sched-tab--today::before {
    font-size: 8px;
    padding: 1px 6px;
    top: -9px;
  }

  .sched-day-info {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }

  .sched-day-info__title {
    font-size: 22px;
  }

  .sched-day-info__count {
    width: 100%;
    margin-left: 0;
  }

  /* Remove timeline on mobile */
  .sched-timeline::before {
    display: none;
  }

  .sched-card__time::after,
  .sched-card-group > .sched-card__time::after {
    display: none;
  }

  /* Stack card layout vertically */
  .sched-card {
    flex-direction: column;
    gap: 0;
  }

  .sched-card__time {
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    min-width: auto;
    padding-top: 0;
    margin-bottom: 6px;
  }

  .sched-card__hour {
    font-size: 22px;
  }

  .sched-card__body {
    padding: 14px 18px;
  }

  .sched-card-group {
    flex-direction: column;
    gap: 0;
  }

  .sched-card-group > .sched-card__time {
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    min-width: auto;
    padding-top: 0;
    margin-bottom: 6px;
  }

  .sched-card-group > .sched-card__time .sched-card__hour {
    font-size: 22px;
  }

  .sched-info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .sched-info-card {
    padding: var(--space-md);
  }

  .sched-closed {
    padding: var(--space-xl) var(--space-md);
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-xl);
}

.contact-info__item {
  margin-bottom: var(--space-md);
}

.contact-info__label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-primary);
}

.contact-info__value a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.contact-info__value a:hover {
  color: var(--text-secondary);
}

.contact-map {
  margin-top: var(--space-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  outline: none;
  transition: border-color var(--duration-fast) ease;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--text-secondary);
}

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

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--surface);
  color: var(--text-primary);
}

/* ============================================================
   FREE CLASS MODAL
   ============================================================ */

/* --- Backdrop --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out);
}

.modal-backdrop--open {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* --- Modal Panel --- */
.modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s var(--ease-out);
}

.modal-backdrop--open .modal {
  transform: translateY(0) scale(1);
}

/* Custom scrollbar inside modal */
.modal::-webkit-scrollbar {
  width: 4px;
}

.modal::-webkit-scrollbar-track {
  background: transparent;
}

.modal::-webkit-scrollbar-thumb {
  background: var(--border);
}

/* --- Close Button --- */
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--duration-fast) ease;
  z-index: 1;
}

.modal__close:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

/* --- Header --- */
.modal__header {
  padding: var(--space-lg) var(--space-lg) 0;
  text-align: center;
}

.modal__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: var(--space-sm);
}

.modal__label-dot {
  width: 6px;
  height: 6px;
  background: var(--text-primary);
}

.modal__label-text {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.modal__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 48px);
  line-height: 0.95;
  color: var(--text-primary);
}

.modal__subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  margin-top: var(--space-xs);
  line-height: 1.6;
}

/* --- Form Body --- */
.modal__body {
  padding: var(--space-lg);
}

.modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* --- Success State --- */
.modal__success {
  display: none;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.modal__success--visible {
  display: block;
  animation: schedFadeIn 0.4s var(--ease-out);
}

.modal__success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  color: var(--text-primary);
}

.modal__success-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.modal__success-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 360px;
  margin: 0 auto;
}

/* --- Footer Note --- */
.modal__footer {
  text-align: center;
  padding: 0 var(--space-lg) var(--space-lg);
}

.modal__footer-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

.modal__footer-text a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Validation Error State --- */
.modal .form-group--error input,
.modal .form-group--error select {
  border-color: var(--text-primary);
}

.modal .form-group__error {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
  display: none;
}

.modal .form-group--error .form-group__error {
  display: block;
}

/* --- Responsive --- */
@media (max-width: 560px) {
  .modal {
    max-height: 95vh;
  }

  .modal__header {
    padding: var(--space-lg) var(--space-md) 0;
  }

  .modal__body {
    padding: var(--space-md);
  }

  .modal__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .modal__footer {
    padding: 0 var(--space-md) var(--space-md);
  }

  .modal__close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

.anim-fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.anim-fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

.anim-fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.anim-text-reveal {
  overflow: hidden;
}

.anim-text-reveal > * {
  transform: translateY(100%);
  transition: transform 0.6s var(--ease-out);
}

.anim-text-reveal.visible > * {
  transform: translateY(0);
}

/* Stagger delays */
.anim-delay-1 { transition-delay: 0.1s !important; }
.anim-delay-2 { transition-delay: 0.2s !important; }
.anim-delay-3 { transition-delay: 0.3s !important; }
.anim-delay-4 { transition-delay: 0.4s !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .anim-fade-up,
  .anim-fade-left,
  .anim-fade-right {
    opacity: 1;
    transform: none;
  }

  .anim-text-reveal > * {
    transform: none;
  }

  .marquee__track {
    animation: none;
  }
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet: 1024px */
@media (max-width: 1024px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .welcome-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .welcome-image img {
    min-height: 350px;
    clip-path: none;
  }

  .program-cards {
    grid-template-columns: 1fr;
  }

  .program-card {
    height: 420px;
  }

  .program-card__desc {
    opacity: 1;
    transform: translateY(0);
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .instructor-card {
    grid-template-columns: 1fr;
  }

  .instructor-card__image {
    min-height: 400px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .program-detail {
    grid-template-columns: 1fr;
  }

  .program-detail--reverse {
    direction: ltr;
  }

  .program-detail__image {
    height: 400px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar__item:nth-child(2)::after {
    display: none;
  }
}

/* Mobile: 768px */
@media (max-width: 768px) {
  :root {
    --space-3xl: 80px;
    --space-2xl: 60px;
  }

  .section-label__number {
    font-size: 120px;
  }

  .hero--full {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .feature-ticker {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    text-align: center;
  }

  .parallax-cta {
    height: 350px;
  }
}

/* Small Mobile: 375px */
@media (max-width: 480px) {
  :root {
    --space-3xl: 60px;
    --space-2xl: 48px;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stats-bar__item::after {
    display: none;
  }

  .program-card {
    height: 360px;
  }

  .instructor-card__image {
    min-height: 300px;
  }
}
