/* ==========================================================================
   10th Planet Tigard — Global Stylesheet
   Design System: Modern Athletic Clean
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. SELF-HOSTED FONTS — eliminates FOUT (Flash of Unstyled Text)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/bebas-neue-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 400 800;
  font-display: block;
  src: url('../fonts/urbanist-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Urbanist';
  font-style: italic;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/urbanist-400-italic.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette — dark, grounded, athletic */
  --color-paper: #F4F4F2;
  --color-ink: #111111;
  --color-stone: #6B6B6B;
  --color-ash: #D9D9D6;
  --color-moss: #4A5E4A;
  --color-moss-dark: #354435;
  --color-charcoal: #1A1A1A;
  --color-rice: #FAFAF8;
  --color-mat-blue: #3A6EA5;
  --color-mat-blue-dark: #2B5580;

  /* Accent — warm umber/brown tied to logo tones */
  --color-accent: #8E694B;
  --color-accent-light: #A47D5C;
  --color-accent-glow: rgba(142, 105, 75, 0.45);
  --color-accent-dim: rgba(142, 105, 75, 0.15);

  /* Schedule class-type colors */
  --color-class-fundamentals: #4A5E4A;
  --color-class-kids: #8BAF8B;
  --color-class-intermediate: #6B6B6B;
  --color-class-muay-thai: #111111;
  --color-class-competition: #C47A3A;
  --color-class-open-mat: #3A6EA5;
  --color-gold: #8E694B;

  /* Typography — Bebas Neue for display, Urbanist for body */
  --font-display: 'Bebas Neue', 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows — layered depth system */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lift: 0 20px 60px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.1);

  /* Spacing */
  --section-padding-y: clamp(5rem, 10vw, 10rem);
  --section-padding-x: clamp(1.5rem, 6vw, 8rem);
  --content-max-width: 1200px;

  /* Transitions */
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-stone);
  background-color: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: 1.1;
  font-weight: 400;
}

h3, h4, h5, h6 {
  font-family: var(--font-body);
  color: var(--color-ink);
  line-height: 1.1;
  font-weight: 800;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  display: block;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 2rem;
  display: block;
}

/* --------------------------------------------------------------------------
   4. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section {
  padding: var(--section-padding-y) var(--section-padding-x);
}

.section--paper {
  background-color: var(--color-paper);
  position: relative;
}
.section--rice {
  background-color: var(--color-rice);
  position: relative;
}
.section--charcoal {
  background-color: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}
.section--charcoal h2,
.section--charcoal h3 { color: #fff; }
.section--charcoal .section-label { color: var(--color-accent); }

.section--moss {
  background-color: var(--color-moss);
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}
.section--moss h2 { color: #fff; }

/* Subtle noise texture on sections */
.section--paper::after,
.section--rice::after,
.section--charcoal::after,
.section--dark-green::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  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.65' numOctaves='3' 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;
}

.section--charcoal::after,
.section--dark-green::after {
  opacity: 0.04;
}

/* Ensure section content stays above noise */
.section > .container {
  position: relative;
  z-index: 1;
}

/* Dark testimonials variant */
.section--dark-green {
  background-color: #141F14;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}
.section--dark-green h2,
.section--dark-green h3 { color: #fff; }
.section--dark-green .section-label { color: var(--color-accent); }

/* Horizontal rules — hidden by default, replaced by SVG dividers */
.divider {
  border: none;
  border-top: 1px solid var(--color-ash);
  margin: 0;
}

/* SVG section dividers */
.section-divider {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  line-height: 0;
  position: relative;
  z-index: 2;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   5. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.5rem clamp(1rem, 3vw, 2rem);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0.5rem clamp(1rem, 2.5vw, 1.5rem);
  z-index: 1;
}

/* Pill background — always present, fades in via opacity (GPU-accelerated) */
.header-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background-color: rgba(244, 244, 242, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.site-header.is-scrolled .header-inner::before {
  opacity: 1;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-ink);
}

.logo img {
  height: 30px;
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.1;
}

.logo-text-sub {
  display: block;
  font-size: 0.45rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-stone);
  line-height: 1;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-moss);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: color var(--transition-base);
}

.nav-dropdown-toggle:hover {
  color: var(--color-moss);
}

.nav-dropdown-arrow {
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition-base);
  margin-top: -2px;
}

.nav-dropdown.is-open .nav-dropdown-arrow {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-paper);
  border: 1px solid var(--color-ash);
  padding: 0.75rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  transition: color var(--transition-base), background-color var(--transition-base);
}

.nav-dropdown-menu a:hover {
  color: var(--color-moss);
  background: var(--color-rice);
}

/* Nav CTA button */
.nav-cta {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.55rem 1.1rem;
  background: var(--color-moss);
  border: 2px solid var(--color-moss);
  color: #fff;
  cursor: pointer;
  border-radius: 100px;
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-base);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--color-moss-dark);
  border-color: var(--color-moss-dark);
  color: #fff;
}

/* Mobile nav CTA */
.mobile-nav-cta {
  margin-top: auto;
  padding-top: 1.5rem;
}

.mobile-nav-cta .nav-cta {
  display: block;
  width: 100%;
  font-size: 0.72rem;
  padding: 1rem 1.5rem;
  text-align: center;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-ink);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: var(--color-paper);
  z-index: 105;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  padding: 6rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 26, 0.3);
  z-index: 104;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-ash);
  transition: color var(--transition-base);
}

.mobile-nav-link:hover {
  color: var(--color-moss);
}

.mobile-nav-dropdown-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
}

.mobile-nav-arrow {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.mobile-nav-dropdown.is-open .mobile-nav-arrow {
  transform: rotate(-135deg);
}

.mobile-nav-sub {
  padding-left: 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav-dropdown.is-open .mobile-nav-sub {
  max-height: 200px;
}

.mobile-nav-sub .mobile-nav-link {
  font-size: 0.75rem;
  color: var(--color-stone);
  padding: 0.75rem 0;
}

/* --------------------------------------------------------------------------
   6. HERO SECTIONS
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--color-charcoal);
  padding: var(--section-padding-y) var(--section-padding-x);
}

.hero--compact {
  min-height: 50vh;
  text-align: center;
  justify-content: center;
}

.hero--short {
  min-height: 40vh;
  text-align: center;
  justify-content: center;
}

.hero--minimal {
  min-height: 35vh;
  text-align: center;
  justify-content: center;
}

/* Hero cinematic overlay gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(17,17,17,0.62) 0%,
      rgba(20,31,20,0.65) 30%,
      rgba(17,17,17,0.75) 60%,
      rgba(17,17,17,0.92) 100%
    );
  pointer-events: none;
  z-index: 0;
}

/* Hero noise grain overlay */
.hero--has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  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.65' numOctaves='3' 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;
}

/* Hero vignette effect */
.hero--has-image .hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  box-shadow: inset 0 0 150px 60px rgba(0,0,0,0.4);
}

/* Hero background image support */
.hero--has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-max-width);
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Hero CTA button glow on hover */
.hero .btn {
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
}

.hero .btn:hover {
  box-shadow: 0 0 30px var(--color-accent-glow), 0 4px 15px rgba(0,0,0,0.3);
}

.hero--compact .hero-subtitle,
.hero--short .hero-subtitle,
.hero--minimal .hero-subtitle {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-offer {
  font-family: var(--font-body);
  font-weight: 600;
  font-style: normal;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  display: inline-block;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-body);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-scroll-indicator .scroll-chevron {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 0.8; }
}

/* Hero decorative element — torii gate silhouette */
.hero-decoration {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.07);
  z-index: 0;
}

.hero-decoration .deco-line-v {
  width: 1px;
  height: 120px;
  background: currentColor;
}

.hero-decoration .deco-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.hero-decoration .deco-line-h {
  width: 60px;
  height: 1px;
  background: currentColor;
}

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 1.05rem 2.5rem;
  border: 2px solid var(--color-moss);
  background: var(--color-moss);
  color: #fff;
  cursor: pointer;
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base),
              transform var(--transition-base);
  text-align: center;
  line-height: 1;
}

.btn:hover {
  background: var(--color-moss-dark);
  border-color: var(--color-moss-dark);
  color: #fff;
}

.btn:focus-visible {
  outline: 2px solid var(--color-moss);
  outline-offset: 4px;
}

/* Ghost variant */
.btn--ghost {
  background: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
}

.btn--ghost:hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #fff;
}

/* Ghost on dark */
.btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Full-width button */
.btn--full {
  display: block;
  width: 100%;
}

/* --------------------------------------------------------------------------
   8. TWO-COLUMN LAYOUTS
   -------------------------------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: auto 1fr;
    gap: 5rem;
  }
}

.two-col--equal {
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .two-col--equal {
    grid-template-columns: 1fr 1fr;
  }
}

/* Decorative large number */
.deco-number {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 400;
  color: var(--color-ash);
  line-height: 1;
  opacity: 0.25;
  user-select: none;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   9. PROGRAM CARDS
   -------------------------------------------------------------------------- */
.program-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .program-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.program-card {
  padding: clamp(2.5rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--color-moss), var(--color-accent)) 1;
}

.program-card--dark {
  background: radial-gradient(ellipse at 30% 20%, #222222 0%, var(--color-charcoal) 70%);
  color: rgba(255, 255, 255, 0.75);
  border: none;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--color-moss), var(--color-accent)) 1;
}

.program-card--dark h3 { color: #fff; }

.program-card--light {
  background: var(--color-paper);
  border: 1px solid var(--color-ash);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--color-accent), var(--color-moss)) 1;
  color: var(--color-stone);
}

.program-card .card-number {
  font-family: var(--font-display);
  font-size: clamp(5rem, 9vw, 8rem);
  font-weight: 400;
  line-height: 1;
  opacity: 0.07;
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  user-select: none;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, currentColor 0%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.program-card--dark .card-number {
  color: #fff;
  opacity: 0.1;
}
.program-card--light .card-number {
  color: var(--color-ink);
  opacity: 0.06;
}

/* Decorative diagonal line */
.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, transparent 49.5%, var(--color-accent-dim) 49.5%, var(--color-accent-dim) 50.5%, transparent 50.5%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.program-card:hover::before {
  opacity: 1;
}

.program-card h3 {
  margin-bottom: 1rem;
  position: relative;
}

.program-card p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Benefits list with left border */
.benefits-list {
  margin-bottom: 2rem;
}

.benefits-list li {
  padding: 0.5rem 0 0.5rem 1rem;
  border-left: 2px solid var(--color-moss);
  font-size: 0.875rem;
  font-weight: 400;
  color: inherit;
  margin-bottom: 0.5rem;
}

.program-card--dark .benefits-list li {
  border-left-color: rgba(74, 94, 74, 0.6);
  color: rgba(255, 255, 255, 0.65);
}

/* --------------------------------------------------------------------------
   10. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonials-row {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.testimonials-row::-webkit-scrollbar {
  height: 4px;
}

.testimonials-row::-webkit-scrollbar-track {
  background: transparent;
}

.testimonials-row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1.33rem);
  min-width: 280px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  position: relative;
  border-radius: 3px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-card .quote-mark {
  font-family: Georgia, serif;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.4;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  user-select: none;
}

.testimonial-card blockquote {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
  padding-top: 2rem;
  font-style: italic;
}

.testimonial-card .stars {
  color: var(--color-accent);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.testimonial-card .author {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   11. FAQ ACCORDION (Home page)
   -------------------------------------------------------------------------- */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .faq-layout {
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
  }
}

.faq-item {
  border-bottom: 1px solid var(--color-ash);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-ink);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-base);
  background: none;
  border: none;
}

.faq-question:hover {
  color: var(--color-moss);
}

.faq-question:focus-visible {
  outline: 2px solid var(--color-moss);
  outline-offset: 4px;
}

.faq-icon {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform var(--transition-base);
  color: var(--color-stone);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-stone);
  max-width: 600px;
}

/* --------------------------------------------------------------------------
   12. BENEFIT GRID (Program pages)
   -------------------------------------------------------------------------- */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.benefit-block {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-moss);
}

.benefit-block .benefit-number {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  display: block;
  letter-spacing: 0.1em;
}

.benefit-block h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.benefit-block p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   13. PULL QUOTE
   -------------------------------------------------------------------------- */
.pull-quote {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 0;
}

.pull-quote-line {
  width: 2px;
  flex-shrink: 0;
  background: var(--color-moss);
  align-self: stretch;
}

.pull-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  font-style: normal;
  color: var(--color-accent);
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   14. PHOTO GALLERY
   -------------------------------------------------------------------------- */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.photo-grid-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-grid-item:hover img {
  transform: scale(1.03);
}

/* Placeholder for photos not yet available */
.photo-placeholder {
  aspect-ratio: 4 / 3;
  background-color: var(--color-ash);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-stone);
}

/* Welcome editorial layout — image + text spread */
.welcome-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .welcome-layout {
    grid-template-columns: 5fr 6fr;
    gap: clamp(3rem, 5vw, 5rem);
  }
}

.welcome-image {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.welcome-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(74, 94, 74, 0.25) 0%,
    rgba(120, 90, 40, 0.2) 50%,
    rgba(40, 40, 30, 0.35) 100%
  );
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.welcome-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
  transition: transform 0.6s ease;
  filter: saturate(0.8) contrast(1.05);
}

.welcome-image:hover img {
  transform: scale(1.03);
}

.welcome-image-label {
  position: absolute;
  bottom: -0.25rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  opacity: 0.15;
  user-select: none;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.welcome-text h2 {
  margin-bottom: 1.5rem;
}

.welcome-text p {
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   15. VALUES / THREE-COLUMN
   -------------------------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.value-item .value-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--color-ash);
  margin-bottom: 1rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.value-item h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ink);
  margin-bottom: 0.75rem;
}

.value-item p {
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   16. SCHEDULE ACCORDION
   -------------------------------------------------------------------------- */
.schedule-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.schedule-day {
  border-bottom: 1px solid var(--color-ash);
}

.schedule-day-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--color-rice);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  cursor: pointer;
  border: none;
  border-left: 3px solid transparent;
  transition: border-color var(--transition-base), background-color var(--transition-base);
  text-align: left;
}

.schedule-day-header:hover {
  background: var(--color-paper);
}

.schedule-day-header:focus-visible {
  outline: 2px solid var(--color-moss);
  outline-offset: 4px;
}

.schedule-day.is-open .schedule-day-header {
  border-left-color: var(--color-moss);
}

.schedule-chevron {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--color-stone);
  border-bottom: 1.5px solid var(--color-stone);
  transform: rotate(45deg);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.schedule-day.is-open .schedule-chevron {
  transform: rotate(-135deg);
}

.schedule-day-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.schedule-class {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1.5rem 0.875rem 2rem;
  border-bottom: 1px solid rgba(212, 207, 200, 0.5);
  transition: background-color var(--transition-base);
}

.schedule-class:last-child {
  border-bottom: none;
}

.schedule-class:hover {
  background: var(--color-rice);
}

/* Class type color coding */
.schedule-class--fundamentals { border-left: 2px solid var(--color-moss); }
.schedule-class--kids { border-left: 2px solid #8BAF8B; }
.schedule-class--intermediate { border-left: 2px solid var(--color-stone); }
.schedule-class--muay-thai { border-left: 2px solid var(--color-ink); }
.schedule-class--competition { border-left: 2px solid #C47A3A; }
.schedule-class--open-mat { border-left: 2px solid var(--color-moss); }

.schedule-class-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-ink);
}

.schedule-class-time {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-stone);
  white-space: nowrap;
}

.schedule-note {
  padding: 0.75rem 1.5rem 0.75rem 2rem;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-stone);
}

/* Schedule legend */
.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-ash);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-stone);
}

.legend-swatch {
  width: 16px;
  height: 3px;
  flex-shrink: 0;
}

.legend-swatch--fundamentals { background: var(--color-moss); }
.legend-swatch--kids { background: #8BAF8B; }
.legend-swatch--intermediate { background: var(--color-stone); }
.legend-swatch--muay-thai { background: var(--color-ink); }
.legend-swatch--competition { background: #C47A3A; }
.legend-swatch--open-mat { background: var(--color-moss); }

/* --------------------------------------------------------------------------
   17. CONTACT FORM
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-ash);
  background: transparent;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: var(--color-ink);
  transition: border-color var(--transition-base);
  border-radius: 0;
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-bottom-color: var(--color-moss);
}

.form-input:focus-visible {
  outline: none;
  border-bottom-color: var(--color-moss);
}

.form-input.is-error {
  border-bottom-color: #B85450;
}

.form-error {
  font-size: 0.75rem;
  color: #B85450;
  margin-top: 0.35rem;
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

/* Radio group */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-ink);
}

.radio-label input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color-ash);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: border-color var(--transition-base);
}

.radio-label input[type="radio"]:checked {
  border-color: var(--color-moss);
}

.radio-label input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--color-moss);
  border-radius: 50%;
}

.radio-label input[type="radio"]:focus-visible {
  outline: 2px solid var(--color-moss);
  outline-offset: 4px;
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--color-stone);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--color-ash);
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  margin-top: 2px;
  transition: border-color var(--transition-base), background-color var(--transition-base);
}

.checkbox-label input[type="checkbox"]:checked {
  border-color: var(--color-moss);
  background-color: var(--color-moss);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-moss);
  outline-offset: 4px;
}

/* Form success */
.form-success {
  display: none;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--color-moss);
}

.form-success.is-visible {
  display: block;
}

.form-success h3 {
  color: var(--color-moss);
  margin-bottom: 0.5rem;
}

/* Contact info blocks */
.contact-info-block {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-ash);
  margin-bottom: 2rem;
}

.contact-info-block h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  margin-bottom: 0.75rem;
}

.contact-info-block p,
.contact-info-block a {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-stone);
}

.contact-info-block a:hover {
  color: var(--color-moss);
}

/* Map placeholder */
/* Replace with Google Maps iframe embed:
   <iframe src="https://www.google.com/maps/embed?pb=!1m18..."
           width="100%" height="280" style="border:0;"
           allowfullscreen="" loading="lazy"></iframe> */
.map-placeholder {
  background: var(--color-ash);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-stone);
}

/* --------------------------------------------------------------------------
   18. PHONE CALLOUT
   -------------------------------------------------------------------------- */
.phone-callout {
  margin: 2rem 0;
}

.phone-callout a {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--color-accent);
  transition: color var(--transition-base);
  letter-spacing: 0.04em;
}

.phone-callout a:hover {
  color: var(--color-moss-dark);
}

/* --------------------------------------------------------------------------
   19. MOSS CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) var(--section-padding-x);
}

.cta-band h2 {
  margin-bottom: 1rem;
}

.cta-band p {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   20. 7 DAYS STAT BAND
   -------------------------------------------------------------------------- */
.stat-band {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-moss) 0%, var(--color-moss-dark) 50%, var(--color-moss) 100%);
  background-size: 200% 200%;
  animation: statBandShift 8s ease-in-out infinite;
}

@keyframes statBandShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.stat-band .stat-bg-number {
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 14rem);
  font-weight: 400;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.12;
  color: var(--color-accent);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: 0.02em;
}

.stat-band h2 {
  position: relative;
  z-index: 1;
}

.stat-band p {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   21. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, #1e1e1e 0%, var(--color-charcoal) 5%);
  color: var(--color-ash);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  max-width: var(--content-max-width);
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    text-align: left;
  }
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--color-ash);
}

.footer-col a:hover {
  color: #fff;
}

.footer-col--center {
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

@media (min-width: 640px) {
  .footer-col--center {
    text-align: center;
  }
}

.footer-logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-stone);
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

.footer-social a {
  color: var(--color-ash);
  transition: color var(--transition-base);
}

.footer-social a:hover {
  color: #fff;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* Phone labels in footer */
.footer-phone-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  display: block;
  margin-top: 0.5rem;
  margin-bottom: 0.15rem;
}

.footer-phone-label:first-child {
  margin-top: 0;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  color: var(--color-stone);
}

.footer-bottom a {
  color: var(--color-stone);
  transition: color var(--transition-base);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   22. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-decoration {
    display: none;
  }

  /* On mobile, full-width bar instead of pill */
  .site-header {
    padding: 0.5rem 0;
  }

  .header-inner {
    padding: 0.5rem clamp(1.5rem, 4vw, 3rem);
  }

  .header-inner::before {
    border-radius: 0;
  }
}

@media (max-width: 639px) {
  .testimonial-card {
    flex: 0 0 85%;
  }

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

  .footer-legal {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   23. FOCUS & ACCESSIBILITY
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--color-moss);
  outline-offset: 4px;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-moss);
  color: #fff;
  padding: 0.75rem 1.5rem;
  z-index: 200;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.skip-link:focus {
  top: 0;
}

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

/* --------------------------------------------------------------------------
   24. DARK SECTION CTA BAND
   -------------------------------------------------------------------------- */
.cta-section-dark {
  text-align: center;
  background: radial-gradient(ellipse at 50% 50%, rgba(74, 94, 74, 0.15) 0%, transparent 70%), var(--color-charcoal);
}

.cta-section-dark h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section-dark p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   25. PHONE DISPLAY (Contact CTA)
   -------------------------------------------------------------------------- */
.phone-display {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.phone-display-item {
  text-align: center;
}

.phone-display-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.25rem;
  display: block;
}

.phone-display-number {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  color: #fff;
  transition: color var(--transition-base);
  letter-spacing: 0.04em;
}

.phone-display-number:hover {
  color: var(--color-ash);
}

@media (min-width: 640px) {
  .phone-display {
    flex-direction: row;
    gap: 4rem;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   26. TEXT WATERMARK SYSTEM
   -------------------------------------------------------------------------- */
.has-text-watermark {
  position: relative;
  overflow: hidden;
}

.has-text-watermark::before {
  content: attr(data-watermark);
  position: absolute;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(8rem, 18vw, 16rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-ink);
  opacity: 0.025;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-5deg);
  line-height: 1;
}

/* Light text watermark for dark sections */
.section--charcoal.has-text-watermark::before,
.section--dark-green.has-text-watermark::before {
  color: #fff;
  opacity: 0.03;
}

/* Ensure section content stays above the watermark */
.has-text-watermark > .container {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   27. SCHEDULE GRID SYSTEM
   -------------------------------------------------------------------------- */

/* Toolbar: filters + view toggle */
.schedule-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.schedule-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-ash);
  background: transparent;
  color: var(--color-stone);
  cursor: pointer;
  border-radius: 100px;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: var(--color-moss);
  color: var(--color-moss);
}

.filter-pill.is-active {
  background: var(--color-charcoal);
  border-color: var(--color-charcoal);
  color: #fff;
}

/* View toggle */
.view-toggle {
  display: flex;
  gap: 0;
  border: 1px solid var(--color-ash);
  border-radius: 4px;
  overflow: hidden;
}

.view-toggle-btn {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--color-stone);
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
}

.view-toggle-btn:first-child {
  border-right: 1px solid var(--color-ash);
}

.view-toggle-btn.is-active {
  background: var(--color-charcoal);
  color: #fff;
}

/* Grid container */
.schedule-grid {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  gap: 0;
  border: 1px solid var(--color-ash);
  background: #fff;
  overflow: hidden;
}

/* Grid header cells (day names) */
.grid-header {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 1rem 0.5rem;
  background: var(--color-rice);
  border-bottom: 1px solid var(--color-ash);
  color: var(--color-ink);
}

.grid-header--time {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--color-stone);
}

.grid-header.is-today {
  background: var(--color-moss);
  color: #fff;
  animation: todayPulse 3s ease-in-out infinite;
}

/* Grid time label cells */
.grid-time {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-stone);
  text-align: right;
  padding: 0.5rem 0.5rem 0.5rem 0;
  border-right: 1px solid var(--color-ash);
  border-bottom: 1px solid rgba(217, 217, 214, 0.4);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 60px;
}

/* Grid day cells */
.grid-cell {
  border-right: 1px solid rgba(217, 217, 214, 0.4);
  border-bottom: 1px solid rgba(217, 217, 214, 0.4);
  padding: 0.25rem;
  min-height: 60px;
  position: relative;
}

.grid-cell:last-child {
  border-right: none;
}

.grid-cell.is-today {
  background: rgba(74, 94, 74, 0.04);
}

/* Grid class blocks */
.grid-block {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.35rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 2px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity var(--transition-base);
  line-height: 1.3;
  position: relative;
  animation: gridBlockIn 0.4s ease backwards;
}

.grid-block:hover {
  transform: scale(1.03);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.grid-block.is-filtered-out {
  opacity: 0.08;
  pointer-events: none;
}

.grid-block-time {
  display: block;
  font-size: 0.55rem;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 1px;
}

/* Class-type block colors */
.grid-block--fundamentals {
  background: var(--color-class-fundamentals);
  color: #fff;
}

.grid-block--kids {
  background: var(--color-class-kids);
  color: #1a1a1a;
}

.grid-block--intermediate {
  background: var(--color-class-intermediate);
  color: #fff;
}

.grid-block--muay-thai {
  background: var(--color-class-muay-thai);
  color: #fff;
}

.grid-block--competition {
  background: var(--color-class-competition);
  color: #fff;
}

.grid-block--open-mat {
  background: var(--color-class-open-mat);
  color: #fff;
}

/* Tooltip */
.schedule-tooltip {
  position: fixed;
  z-index: 200;
  background: var(--color-charcoal);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-family: var(--font-body);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  max-width: 240px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.schedule-tooltip.is-visible {
  opacity: 1;
}

.schedule-tooltip-name {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.schedule-tooltip-time {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.schedule-tooltip-cta {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
}

/* List view */
.schedule-list {
  display: none;
}

.schedule-list.is-active {
  display: block;
}

.schedule-grid-wrapper {
  display: block;
}

.schedule-grid-wrapper.is-hidden {
  display: none;
}

.schedule-list-day {
  margin-bottom: 1.5rem;
}

.schedule-list-day-header {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  padding: 0.75rem 0;
  border-bottom: 2px solid var(--color-ash);
  margin-bottom: 0;
}

.schedule-list-day-header.is-today {
  color: var(--color-moss);
  border-bottom-color: var(--color-moss);
}

.schedule-list-class {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0 0.75rem 1rem;
  border-bottom: 1px solid rgba(217, 217, 214, 0.5);
  transition: background var(--transition-base), opacity var(--transition-base);
}

.schedule-list-class:hover {
  background: var(--color-rice);
}

.schedule-list-class.is-filtered-out {
  opacity: 0.08;
  pointer-events: none;
}

.schedule-list-class-indicator {
  width: 3px;
  height: 100%;
  min-height: 20px;
  border-radius: 2px;
  margin-right: 1rem;
  flex-shrink: 0;
  align-self: stretch;
}

.schedule-list-class-info {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0.75rem;
}

.schedule-list-class-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-ink);
}

.schedule-list-class-time {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-stone);
  white-space: nowrap;
}

.schedule-list-note {
  padding: 0.5rem 0 0.5rem 1.75rem;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-stone);
}

/* Mobile: hide grid, show list */
@media (max-width: 767px) {
  .schedule-grid-wrapper {
    display: none !important;
  }

  .schedule-list {
    display: block !important;
  }

  .view-toggle {
    display: none;
  }

  .schedule-filters {
    justify-content: center;
  }

  .schedule-toolbar {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   27. FEATURED TESTIMONIAL + CAROUSEL DOTS
   -------------------------------------------------------------------------- */
.testimonial-card--featured {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(142, 105, 75, 0.3);
  border-top: 2px solid var(--color-accent);
  color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 60px rgba(142, 105, 75, 0.08);
}

.testimonial-card--featured .quote-mark {
  color: var(--color-accent);
  opacity: 0.6;
}

.testimonial-card--featured blockquote {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.testimonial-card--featured .stars {
  color: var(--color-accent);
  font-size: 1rem;
}

.testimonial-card--featured .author {
  color: #fff;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-base), transform var(--transition-base);
}

.carousel-dot.is-active {
  background: var(--color-accent);
  transform: scale(1.3);
}

/* --------------------------------------------------------------------------
   28. PROGRAM CARD HOVER EFFECTS
   -------------------------------------------------------------------------- */
.program-card {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: var(--shadow-md);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

/* --------------------------------------------------------------------------
   29. STAT BAND "7" ANIMATION
   -------------------------------------------------------------------------- */
.stat-bg-number.is-animated {
  animation: statReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* --------------------------------------------------------------------------
   30. ABOUT PAGE VALUE ICONS
   -------------------------------------------------------------------------- */
.value-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--color-moss);
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.value-item:hover .value-icon {
  opacity: 1;
}

.value-item {
  padding-top: 1.5rem;
  border-top: 2px solid var(--color-ash);
  transition: border-color var(--transition-base);
}

.value-item:hover {
  border-top-color: var(--color-moss);
}

/* About page grayscale photo hover */
.photo-grid-item--grayscale img {
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.photo-grid-item--grayscale:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   31. WHY-JIU-JITSU GRID (Adult page)
   -------------------------------------------------------------------------- */
.why-bjj-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .why-bjj-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Stat inline block */
.stat-inline {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 2rem 0;
}

.stat-inline-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-inline-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-stone);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   32. WHY-KIDS ICON GRID (Kids page)
   -------------------------------------------------------------------------- */
.why-kids-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .why-kids-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.why-kids-item {
  text-align: center;
}

.why-kids-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: var(--color-moss);
  opacity: 0.8;
}

.why-kids-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.why-kids-item p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   33. CONTACT FORM CARD
   -------------------------------------------------------------------------- */
.contact-form-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-ash);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  border-radius: 3px;
  box-shadow: var(--shadow-lg);
}

.contact-form-card::before {
  content: 'Book Your Free Class';
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--color-moss);
  padding: 0.75rem 1.25rem;
  margin: calc(-1 * clamp(2rem, 4vw, 3rem));
  margin-bottom: 2rem;
  padding-left: clamp(2rem, 4vw, 3rem);
}

/* Map container */
.map-container {
  border: 1px solid var(--color-ash);
  overflow: hidden;
  margin-top: 1rem;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

/* --------------------------------------------------------------------------
   34. LEAD CAPTURE MODAL
   -------------------------------------------------------------------------- */
.lead-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lead-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.lead-modal {
  background: var(--color-paper);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border-radius: 3px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s ease;
}

.lead-modal-overlay.is-open .lead-modal {
  transform: translateY(0) scale(1);
}

.lead-modal-header {
  background: var(--color-moss);
  padding: 1.25rem clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lead-modal-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin: 0;
}

.lead-modal-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
  flex-shrink: 0;
  cursor: pointer;
}

.lead-modal-close:hover {
  color: #fff;
}

.lead-modal-close svg {
  width: 16px;
  height: 16px;
}

.lead-modal-body {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.lead-modal-body .form-group {
  margin-bottom: 1.5rem;
}

.lead-modal-body .form-group:last-of-type {
  margin-bottom: 0;
}

.lead-modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 400px) {
  .lead-modal-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Select dropdown — match form-input style */
.form-select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-ash);
  background: transparent;
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-ink);
  transition: border-color var(--transition-base);
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 10px;
  padding-right: 24px;
}

.form-select:focus {
  outline: none;
  border-bottom-color: var(--color-moss);
}

.form-select:focus-visible {
  outline: none;
  border-bottom-color: var(--color-moss);
}

.form-select.is-error {
  border-bottom-color: #B85450;
}

.form-select option[value=""] {
  color: var(--color-stone);
}

/* Modal submit area */
.lead-modal-submit {
  margin-top: 2rem;
}

.lead-modal-body .form-error {
  font-size: 0.75rem;
  color: #B85450;
  margin-top: 0.35rem;
  display: none;
}

.lead-modal-body .form-group.has-error .form-error {
  display: block;
}

/* Modal success state */
.lead-modal-success {
  display: none;
  padding: 3rem 2rem;
  text-align: center;
}

.lead-modal-success.is-visible {
  display: block;
}

.lead-modal-success-icon {
  width: 56px;
  height: 56px;
  border: 2px solid var(--color-moss);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.lead-modal-success-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-moss);
}

.lead-modal-success h3 {
  color: var(--color-moss);
  margin-bottom: 0.5rem;
}

.lead-modal-success p {
  color: var(--color-stone);
  font-size: 0.95rem;
}

/* Overscroll containment */
.lead-modal-overlay.is-open ~ * {
  pointer-events: none;
}

body.modal-open {
  overflow: hidden;
}
