/* ============================================================
   THE MMA DISTRICT — styles.css
   Bespoke cinematic-fight hybrid (cinematic-fight + training-lab + taste-skill + championship-heritage)
   Brand kit: burnt-orange #BC6025 single accent on obsidian.
   Type: Anton (poster) + Fraunces (editorial) + Inter (body) + JetBrains Mono (spec)
   ============================================================ */

/* -- DESIGN TOKENS ---------------------------------------------------------- */
:root {
  /* Color — brand kit */
  --bg: #0A0A0A;
  --bg-card: #141414;
  --bg-elevated: #1C1C1C;
  --bg-deep: #050505;
  --bg-overlay: rgba(10, 10, 10, 0.88);
  --border: #2D2D2D;
  --border-strong: #3A3A3A;
  --border-accent: rgba(188, 96, 37, 0.28);
  --hairline: rgba(232, 226, 213, 0.08);
  --hairline-strong: rgba(232, 226, 213, 0.16);

  --text-primary: #E8E2D5;
  --text-bright: #FFFFFF;
  --text-muted: #9CA0A8;
  --text-subtle: #6B6E76;
  --text-disabled: #5A5D65;

  --accent: #BC6025;
  --accent-hover: #D17434;
  --accent-pressed: #9F4F1C;
  --accent-subtle: rgba(188, 96, 37, 0.12);
  --accent-glow: rgba(188, 96, 37, 0.32);
  --accent-ring: rgba(188, 96, 37, 0.55);

  --success: #6A8161;
  --success-subtle: rgba(106, 129, 97, 0.14);
  --danger: #C84A2A;

  /* Spacing — 8pt grid */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Layout */
  --container-max: 1280px;
  --container-gutter: clamp(24px, 4vw, 48px);
  --nav-h: 72px;
  --duty-banner-h: 40px;
  --top-stack-h: calc(var(--nav-h) + var(--duty-banner-h));
  --section-py: clamp(64px, 10vw, 128px);
  --section-py-tight: clamp(48px, 7vw, 80px);

  /* Type */
  --font-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --font-editorial: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Motion */
  --ease-cinema: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-precise: cubic-bezier(0.83, 0, 0.17, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 220ms;
  --t-base: 400ms;
  --t-slow: 800ms;
  --t-cinema: 1200ms;

  /* Photo cinema filter */
  --filter-cinema: contrast(1.12) brightness(0.92) grayscale(0.2) sepia(0.06);
  --filter-cinema-bw: contrast(1.18) brightness(0.88) grayscale(0.45) sepia(0.05);
}

/* -- RESET & BASE ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--bg); }

/* -- GRAIN OVERLAY (cinematic-fight) --------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.85'/></svg>");
  mix-blend-mode: overlay;
}

/* -- TYPOGRAPHY ------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;            /* Anton only ships at 400, weight comes from the cut */
  letter-spacing: -0.005em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text-bright);
}
.editorial {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text-primary);
  font-variation-settings: "opsz" 144, "wght" 500, "SOFT" 35, "WONK" 0;
}
.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}
.mono-bright { color: var(--accent); }
.mono-flag::before { content: '// '; color: var(--accent); }

h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 var(--space-md); }
p:last-child { margin-bottom: 0; }

/* -- LAYOUT PRIMITIVES ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-gutter);
}
.section {
  padding-block: var(--section-py);
  position: relative;
}
.section-tight { padding-block: var(--section-py-tight); }
.section-deep {
  background: var(--bg-deep);
  border-block: 1px solid var(--border);
}
.section-flag {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  color: var(--text-muted);
}
.section-flag .rule {
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

/* -- ACTIVE DUTY BANNER (fixed top strip — above the nav, dismissable) ------ */
.duty-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;             /* above the nav so it never gets overlapped */
  height: var(--duty-banner-h);
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  /* When dismissed via JS (display:none), the .banner-dismissed class on <body>
     resets the layout (see :root override + media queries below) */
}
.duty-banner__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  padding: 0 var(--container-gutter);
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.duty-banner__pill {
  display: inline-block;
  background: var(--success-subtle);
  border: 1px solid rgba(106, 129, 97, 0.4);
  color: var(--success);
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
}
.duty-banner__price {
  color: var(--accent);
  font-weight: 700;
}
.duty-banner__link {
  color: var(--text-primary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color var(--t-fast) var(--ease-cinema);
}
.duty-banner__link:hover { color: var(--accent); }

/* -- NAV -------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: var(--duty-banner-h);
  left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: top var(--t-base) var(--ease-cinema),
              background var(--t-base) var(--ease-cinema),
              border-color var(--t-base) var(--ease-cinema),
              backdrop-filter var(--t-base) var(--ease-cinema);
}
/* When duty banner is dismissed, nav slides up to top: 0 */
body.banner-dismissed .nav { top: 0; }
.nav.scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom-color: var(--border);
}
/* Top-of-page scrim that fades on scroll */
.nav::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.78) 0%, rgba(5, 5, 5, 0.4) 55%, rgba(5, 5, 5, 0) 100%);
  pointer-events: none;
  z-index: -1;
  transition: opacity var(--t-base) var(--ease-cinema);
}
.nav.scrolled::before { opacity: 0; }
/* CRITICAL: drop backdrop-filter when mobile menu open — escapes containing-block trap */
.nav.open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--bg);
}

.nav__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-bright);
  position: relative;
  z-index: 2;
}
.nav__brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* The real logo is a complete stamp/medallion — no ring around it */
}
/* Fallback only — shows if image fails to load */
.nav__brand-mark:has(.nav__brand-img[style*="display: none"])::before,
.nav__brand-mark:not(:has(.nav__brand-img))::before {
  content: 'D';
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-deep);
}
.nav__brand-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  /* Subtle drop shadow to lift the stamp off the dark backdrop */
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.4)) drop-shadow(0 4px 8px rgba(0,0,0,0.35));
}
/* Footer brand-mark — has no <img>, render the logo as a background instead */
.footer__brand-mark .nav__brand-mark {
  width: 56px;
  height: 56px;
  background-image: url('images/logo/mma-district-logo.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.45));
}
.footer__brand-mark .nav__brand-mark::before { content: none; }
.nav__brand-name { display: inline-block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-links a {
  color: var(--text-primary);
  position: relative;
  padding-block: 4px;
  transition: color var(--t-fast) var(--ease-cinema);
}
.nav:not(.scrolled) .nav-links a {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.4);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--t-base) var(--ease-cinema);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.is-active { color: var(--accent); }
.nav-links a.is-active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background var(--t-fast) var(--ease-cinema),
              transform var(--t-fast) var(--ease-cinema);
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.nav-cta:active { transform: translateY(0) scale(0.98); }
.nav-cta__arrow { transition: transform var(--t-fast) var(--ease-cinema); }
.nav-cta:hover .nav-cta__arrow { transform: translateX(3px); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t-fast) var(--ease-cinema);
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle svg { width: 18px; height: 18px; stroke-width: 1.5; }
.nav-toggle .icon-close { display: none; }
.nav.open .nav-toggle .icon-open { display: none; }
.nav.open .nav-toggle .icon-close { display: inline-block; }

/* Mobile menu — base hidden on desktop */
.nav-mobile { display: none; }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-mobile {
    display: flex;
    position: fixed;
    inset: calc(var(--top-stack-h)) 0 0 0;
    background: var(--bg);
    flex-direction: column;
    padding: var(--space-2xl) var(--container-gutter);
    gap: var(--space-md);
    overflow-y: auto;
    z-index: 200;
  }
  body.banner-dismissed .nav.open .nav-mobile { inset: var(--nav-h) 0 0 0; }
  .nav-mobile__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-primary);
  }
  .nav-mobile__link.is-active { color: var(--accent); }
  .nav-mobile__cta {
    margin-top: var(--space-xl);
    padding: var(--space-md) var(--space-lg);
    background: var(--accent);
    color: var(--bg);
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
  }
  .nav-mobile__meta {
    margin-top: auto;
    padding-top: var(--space-xl);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.8;
  }
  .nav-mobile__meta a { color: var(--text-primary); }
}

/* -- BUTTONS ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease-cinema),
              background var(--t-fast) var(--ease-cinema),
              border-color var(--t-fast) var(--ease-cinema),
              color var(--t-fast) var(--ease-cinema),
              box-shadow var(--t-base) var(--ease-cinema);
  min-height: 48px;
  white-space: nowrap;
}
.btn__arrow {
  font-family: var(--font-mono);
  transition: transform var(--t-fast) var(--ease-cinema);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px var(--accent-glow);
}
.btn-primary:active { transform: translateY(0) scale(0.98); background: var(--accent-pressed); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.btn-ghost:active { transform: translateY(0) scale(0.98); }

/* Ghost over photo backdrop */
.hero-ctas .btn-ghost {
  background: rgba(14, 16, 18, 0.40);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: color var(--t-fast) var(--ease-cinema), letter-spacing var(--t-base) var(--ease-cinema);
}
.btn-link:hover { color: var(--accent-hover); }
.btn-link__arrow { transition: transform var(--t-fast) var(--ease-cinema); }
.btn-link:hover .btn-link__arrow { transform: translateX(4px); }

/* -- HERO (letterboxed cinematic) ------------------------------------------ */
.hero {
  position: relative;
  min-height: clamp(640px, 72vh, 920px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--top-stack-h) + var(--space-xl));
  padding-bottom: clamp(48px, 7vw, 96px);
  overflow: hidden;
}
body.banner-dismissed .hero { padding-top: calc(var(--nav-h) + var(--space-xl)); }
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The real photos are studio-lit — heavier cinematic treatment to land the documentary feel */
  filter: contrast(1.28) brightness(0.72) grayscale(0.42) sepia(0.10) saturate(0.88);
  /* Animate a slow Ken Burns zoom for cinematic motion */
  animation: heroKenBurns 22s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  0%   { transform: scale(1.02); transform-origin: 30% 60%; }
  100% { transform: scale(1.10); transform-origin: 35% 55%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg img { animation: none; }
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Ellipse vignette right where the headline sits (bottom-left) */
    radial-gradient(ellipse 65% 75% at 22% 72%, rgba(0, 0, 0, 0.72), transparent 70%),
    /* Horizontal scrim — heavy on left where copy lives, lighter on right where the action can breathe */
    linear-gradient(95deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.78) 28%, rgba(5, 5, 5, 0.32) 58%, rgba(5, 5, 5, 0.58) 100%),
    /* Vertical fade — soft top scrim under the nav, deep bottom fade into the next section */
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.08) 18%, rgba(5, 5, 5, 0.08) 50%, rgba(10, 10, 10, 0.98) 100%);
}
/* Subtle burnt-orange edge glow on the hero — keys the photo to the brand accent without coloring it */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 200px 24px rgba(188, 96, 37, 0.06);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__eyebrow {
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.hero h1.display {
  font-size: clamp(2.75rem, 8.5vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.015em;
  max-width: 14ch;
  margin: 0 0 var(--space-lg);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.6),
    0 2px 12px rgba(0, 0, 0, 0.55),
    0 24px 48px rgba(0, 0, 0, 0.45);
}
.hero h1 .accent { color: var(--accent); }
.hero__lead {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  color: var(--text-primary);
  max-width: 48ch;
  margin-bottom: var(--space-xl);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.75);
  font-variation-settings: "opsz" 100, "wght" 400, "SOFT" 50, "WONK" 0;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Hero corner data badge (cinematic-fight title-card flavor) */
.hero__corner {
  position: absolute;
  bottom: clamp(24px, 4vw, 56px);
  right: clamp(24px, 4vw, 56px);
  z-index: 2;
  border-left: 1px solid var(--accent-border);
  padding-left: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.8;
  text-align: right;
  display: none;
}
@media (min-width: 960px) {
  .hero__corner { display: block; text-align: left; }
}

/* -- PAGE HEADER (for non-home pages) -------------------------------------- */
.page-header {
  position: relative;
  padding-top: calc(var(--top-stack-h) + 64px);
  padding-bottom: 80px;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
body.banner-dismissed .page-header { padding-top: calc(var(--nav-h) + 64px); }
.page-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-header__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.22) brightness(0.74) grayscale(0.38) sepia(0.08) saturate(0.85);
}
.page-header__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Soft text-zone vignette */
    radial-gradient(ellipse 60% 80% at 22% 72%, rgba(0, 0, 0, 0.62), transparent 70%),
    /* Horizontal scrim biased left */
    linear-gradient(95deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.55) 50%, rgba(5, 5, 5, 0.30) 100%),
    /* Vertical fade into next section */
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.10) 30%, rgba(10, 10, 10, 0.95) 100%);
}
.page-header__inner { position: relative; z-index: 2; width: 100%; }
.page-header-crumb {
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}
.page-header h1.display {
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-lg);
  max-width: 20ch;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.6),
    0 2px 12px rgba(0, 0, 0, 0.55);
}
.page-header-lead {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.45;
  color: var(--text-primary);
  max-width: 52ch;
  margin-top: var(--space-md);
  font-variation-settings: "opsz" 100, "wght" 400, "SOFT" 50, "WONK" 0;
}

/* -- KINETIC MARQUEE ------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--bg-deep);
  padding-block: var(--space-md);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
  gap: 0;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex: 0 0 auto;
  padding-inline: var(--space-2xl);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
}
.marquee__item .dot { color: var(--accent); margin-inline: var(--space-md); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* -- FOUNDER SECTION (championship-heritage) ------------------------------- */
.founder {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.founder__portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-card);
}
.founder__portrait::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid var(--border-accent);
  pointer-events: none;
  z-index: 2;
}
.founder__portrait::after {
  /* Soft vertical scrim so the portrait reads cinematically */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,0) 50%, rgba(5,5,5,0.45) 100%);
  pointer-events: none;
  z-index: 1;
}
.founder__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bias the framing toward Hanny — she's center-front in the group shot */
  object-position: 50% 35%;
  filter: contrast(1.08) brightness(0.92) saturate(0.85) sepia(0.18);
  border: 1px solid var(--border);
  transition: transform var(--t-cinema) var(--ease-cinema), filter var(--t-base) var(--ease-cinema);
}
.founder__portrait:hover img {
  transform: scale(1.02);
  filter: contrast(1.12) brightness(0.95) saturate(0.92) sepia(0.14);
}
.founder__content > .mono { margin-bottom: var(--space-md); }
.founder__head {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text-bright);
  margin-bottom: var(--space-lg);
  font-variation-settings: "opsz" 144, "wght" 500, "SOFT" 30, "WONK" 1;
  max-width: 18ch;
}
.founder__body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-primary);
  max-width: 62ch;
  margin-bottom: var(--space-xl);
}
.founder__stats {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.founder__stat-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.founder__stat-pill .accent { color: var(--accent); font-weight: 700; }

/* -- CURRICULUM BENTO (2x2) ------------------------------------------------ */
.curriculum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.curriculum__tile {
  position: relative;
  background: var(--bg);
  padding: clamp(28px, 3.5vw, 48px);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background var(--t-base) var(--ease-cinema);
  overflow: hidden;
}
.curriculum__tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--tile-bg);
  background-size: cover;
  background-position: center;
  filter: contrast(1.18) brightness(0.78) grayscale(0.35) sepia(0.08) saturate(0.85);
  opacity: 0.55;
  z-index: 0;
  transition: opacity var(--t-base) var(--ease-cinema),
              transform var(--t-slow) var(--ease-cinema),
              filter var(--t-base) var(--ease-cinema);
}
.curriculum__tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.94) 100%),
    radial-gradient(circle at 80% 20%, rgba(188, 96, 37, 0.10), transparent 60%);
  z-index: 1;
}
.curriculum__tile > * { position: relative; z-index: 2; }
.curriculum__tile:hover::before {
  opacity: 0.82;
  transform: scale(1.05);
  filter: contrast(1.22) brightness(0.85) grayscale(0.20) sepia(0.05) saturate(0.95);
}
.curriculum__tile-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.curriculum__tile-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin: var(--space-md) 0 var(--space-sm);
}
.curriculum__tile-sub {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
  font-variation-settings: "opsz" 100, "wght" 400;
  margin-bottom: var(--space-md);
}
.curriculum__tile-blurb {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-primary);
  max-width: 42ch;
  margin-bottom: var(--space-lg);
}
.curriculum__tile-link {
  margin-top: auto;
  align-self: flex-start;
}

/* -- COACHES PORTRAIT GRID ------------------------------------------------- */
.coaches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.coach {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-card);
  display: block;
}
.coach__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Different framing per discipline image to keep variety */
  object-position: center;
  filter: contrast(1.16) brightness(0.82) grayscale(0.30) sepia(0.07) saturate(0.88);
  transition: transform var(--t-slow) var(--ease-cinema), filter var(--t-base) var(--ease-cinema);
}
/* Coach card specific object-position hints by image content */
.coach__img[src*="muay-thai"] { object-position: 50% 40%; }
.coach__img[src*="jiu-jitsu-submission"] { object-position: 50% 35%; }
.coach__img[src*="mma-action"] { object-position: 50% 35%; }
.coach__img[src*="mma-class"] { object-position: 50% 50%; }
.coach__img[src*="jiu-jitsu-class"] { object-position: 50% 40%; }
.coach__img[src*="group-class"] { object-position: 50% 35%; }
.coach:hover .coach__img {
  transform: scale(1.05);
  filter: contrast(1.18) brightness(0.92) grayscale(0.18) sepia(0.05) saturate(0.95);
}
/* Top accent bar on each coach card — keys it to the brand */
.coach::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-cinema);
  z-index: 3;
}
.coach:hover::before { transform: scaleX(1); }
.coach__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0) 35%, rgba(5, 5, 5, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
}
.coach__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin-bottom: var(--space-sm);
}
.coach__role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}
.coach__creds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.coach__pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 4px 8px;
  border: 1px solid var(--border-accent);
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(4px);
  border-radius: 2px;
}
.coach__hairline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-cinema);
}
.coach:hover .coach__hairline { transform: scaleX(1); }

/* -- ACTIVE DUTY OFFER BAND ------------------------------------------------ */
.duty-band {
  background: var(--bg-deep);
  border-block: 1px solid var(--border);
  padding-block: var(--section-py);
  position: relative;
}
.duty-band__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.duty-band__head {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin: var(--space-md) 0 var(--space-lg);
  max-width: 14ch;
}
.duty-band__body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-primary);
  max-width: 56ch;
  margin-bottom: var(--space-xl);
}
.duty-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: clamp(28px, 3vw, 40px);
}
.duty-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--success);
  background: var(--success-subtle);
  border: 1px solid rgba(106, 129, 97, 0.4);
  border-radius: 2px;
  margin-bottom: var(--space-lg);
}
.duty-card__pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.duty-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.duty-card__amount {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.duty-card__unit {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.duty-card__regular {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
  text-decoration: line-through;
  margin-bottom: var(--space-md);
}
.duty-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  border-top: 1px solid var(--border);
}
.duty-card__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.duty-card__list li .v { color: var(--accent); font-weight: 700; }

/* -- FIGHT FIT BLOCK ------------------------------------------------------- */
.fight-fit {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.fight-fit__bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.fight-fit__tile {
  background: var(--bg-card);
  padding: clamp(20px, 2.5vw, 32px);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.fight-fit__tile-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.fight-fit__tile-body {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin-top: auto;
}
.fight-fit__content > .mono { margin-bottom: var(--space-md); }
.fight-fit__head {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin: 0 0 var(--space-lg);
  max-width: 16ch;
}
.fight-fit__body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
  max-width: 50ch;
}

/* -- PULL QUOTE ------------------------------------------------------------ */
.pull-quote {
  text-align: center;
  max-width: 24ch;
  margin: 0 auto;
}
.pull-quote__text {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 0;
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 30, "WONK" 1;
}
.pull-quote__attr {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pull-quote__attr::before,
.pull-quote__attr::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

/* -- FINAL CTA / VISIT ----------------------------------------------------- */
.visit {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.visit__head {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin: var(--space-md) 0 var(--space-lg);
  max-width: 12ch;
}
.visit__body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-primary);
  max-width: 56ch;
  margin-bottom: var(--space-xl);
}
.visit__card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: clamp(24px, 3vw, 36px);
}
.visit__card-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}
.visit__card-row:last-child { border-bottom: 0; }
.visit__card-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 80px;
}
.visit__card-value {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-primary);
  text-align: right;
}
.visit__card-value strong { color: var(--accent); }

/* -- FOOTER ---------------------------------------------------------------- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: clamp(56px, 8vw, 96px) 0 var(--space-2xl);
  color: var(--text-muted);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 56px);
  margin-bottom: var(--space-3xl);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.footer__brand-mark {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-bright);
}
.footer__brand-mark .nav__brand-mark { width: 36px; height: 36px; }
.footer__tag {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-primary);
  max-width: 28ch;
  font-variation-settings: "opsz" 100, "wght" 400;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-md);
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.875rem; }
.footer__col a {
  color: var(--text-primary);
  transition: color var(--t-fast) var(--ease-cinema);
}
.footer__col a:hover { color: var(--accent); }
.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-primary);
  transition: border-color var(--t-fast) var(--ease-cinema), color var(--t-fast) var(--ease-cinema), background var(--t-fast) var(--ease-cinema);
}
.footer__social a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-subtle); }
.footer__social svg { width: 18px; height: 18px; }

.footer__bottom {
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.powered-by {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
  margin: 0;
}
.powered-by a {
  color: var(--text-primary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color var(--t-fast) var(--ease-cinema);
}
.powered-by a:hover { color: var(--accent); }

/* -- LEAD MODAL ------------------------------------------------------------ */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--container-gutter);
}
.lead-modal.is-open { display: flex; }
.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-cinema);
}
.lead-modal.is-open .lead-modal__backdrop { opacity: 1; }
.lead-modal__card {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--accent);
  transform: translateY(24px);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-cinema), transform var(--t-base) var(--ease-cinema);
}
.lead-modal.is-open .lead-modal__card { opacity: 1; transform: translateY(0); }
.lead-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-primary);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease-cinema), color var(--t-fast) var(--ease-cinema);
}
.lead-modal__close:hover { border-color: var(--accent); color: var(--accent); }
.lead-modal__close svg { width: 18px; height: 18px; stroke-width: 1.5; }
.lead-modal__flag { margin-bottom: var(--space-md); }
.lead-modal__head {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin: 0 0 var(--space-sm);
}
.lead-modal__sub {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
  font-variation-settings: "opsz" 100, "wght" 400;
}
.lead-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.lead-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-md);
}
.lead-modal__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.lead-modal__input,
.lead-modal__select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color var(--t-fast) var(--ease-cinema), box-shadow var(--t-fast) var(--ease-cinema);
  min-height: 44px;
}
.lead-modal__input:focus,
.lead-modal__select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}
.lead-modal__select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4 L6 8 L10 4' stroke='%23E8E2D5' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.lead-modal__submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-md);
}
.lead-modal__legal {
  margin-top: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  text-align: center;
}

/* -- INSTRUCTOR DETAIL (full instructors page) ----------------------------- */
.instructor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.instructor-card {
  display: flex;
  flex-direction: column;
}
.instructor-card .coach {
  margin-bottom: var(--space-md);
}
.instructor-card__bio {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}
.instructor-card__specialties {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.instructor-card__spec {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 2px;
}

/* -- PROGRAM DETAIL (class pages) ----------------------------------------- */
.program {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.program__why {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: var(--space-2xl);
  font-variation-settings: "opsz" 100, "wght" 400, "SOFT" 50, "WONK" 0;
}
.program__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}
.program__list li {
  position: relative;
  padding: var(--space-md) 0 var(--space-md) 48px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-primary);
  counter-increment: pls;
}
.program__list { counter-reset: pls; }
.program__list li::before {
  content: counter(pls, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
}
.program-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: clamp(24px, 3vw, 36px);
  margin-bottom: var(--space-lg);
}
.program-card__head {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin-bottom: var(--space-md);
}
.program-card__body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* -- MEMBERSHIPS TIERS ----------------------------------------------------- */
.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
.tier {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  transition: border-color var(--t-base) var(--ease-cinema);
}
.tier:hover { border-color: var(--border-strong); }
.tier.is-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(188, 96, 37, 0.04) 100%);
}
.tier.is-featured::before {
  content: 'Best Value';
  position: absolute;
  top: -10px; left: 24px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.tier__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-bright);
}
.tier__sub {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
  font-variation-settings: "opsz" 100, "wght" 400;
}
.tier__blurb {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-primary);
}
.tier__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.tier__list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.tier__list li::before {
  content: '/';
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
}
.tier__cta { margin-top: auto; padding-top: var(--space-md); }

/* -- CONTACT GRID --------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-lg);
}
.contact-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: clamp(24px, 3vw, 36px);
}
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}
.contact-card__value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin-bottom: var(--space-sm);
}
.contact-card__sub {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* -- SIMPLE FORM (Contact, Sign-Up) --------------------------------------- */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 640px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label,
.form-field .label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color var(--t-fast) var(--ease-cinema), box-shadow var(--t-fast) var(--ease-cinema);
  min-height: 44px;
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-body);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

/* -- BOOKING PAGE --------------------------------------------------------- */
.booking-progress {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}
.booking-progress__step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.booking-progress__step.is-done { color: var(--text-primary); }
.booking-progress__step.is-active { color: var(--accent); }
.booking-progress__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 0.7rem;
}
.booking-progress__step.is-active .booking-progress__num { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.booking-progress__bar { flex: 1; height: 1px; background: var(--border); position: relative; }
.booking-progress__bar::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: var(--accent);
}

.booking-calendar {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: clamp(24px, 3vw, 40px);
  min-height: 720px;
  margin-bottom: var(--space-xl);
  display: none;
}
.booking-calendar.is-active { display: block; }
.calendar-placeholder {
  border: 1.5px dashed var(--border-accent);
  background: var(--accent-subtle);
  padding: clamp(40px, 6vw, 80px);
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}
.calendar-placeholder__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.calendar-placeholder__head {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-bright);
}
.calendar-placeholder__body {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-primary);
  max-width: 50ch;
  font-variation-settings: "opsz" 100, "wght" 400;
}

.program-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.program-switcher button {
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease-cinema), color var(--t-fast) var(--ease-cinema);
}
.program-switcher button:hover { border-color: var(--accent); color: var(--accent); }
.program-switcher button.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* -- WHAT-TO-EXPECT TRIO (booking page) ----------------------------------- */
.expect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-lg);
}
.expect-card {
  border: 1px solid var(--border);
  padding: clamp(20px, 2.5vw, 32px);
  background: var(--bg-card);
}
.expect-card__icon {
  width: 32px; height: 32px;
  margin-bottom: var(--space-md);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  border: 1px solid var(--accent);
  border-radius: 50%;
}
.expect-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin-bottom: var(--space-sm);
}
.expect-card p { font-size: 0.875rem; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* -- VALUE PILLARS (home) -------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.pillar {
  padding: clamp(28px, 3.5vw, 48px);
  border-right: 1px solid var(--border);
}
.pillar:last-child { border-right: 0; }
.pillar__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}
.pillar__head {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin: 0 0 var(--space-md);
}
.pillar__body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* -- SCROLL REVEAL (GSAP ScrollTrigger targets) --------------------------- */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in-view { opacity: 1; transform: translateY(0); transition: opacity 800ms var(--ease-cinema), transform 800ms var(--ease-cinema); }
.stagger > * { opacity: 0; transform: translateY(18px); }
.stagger.in-view > * { opacity: 1; transform: translateY(0); transition: opacity 700ms var(--ease-cinema), transform 700ms var(--ease-cinema); }
.stagger.in-view > *:nth-child(1) { transition-delay: 0ms; }
.stagger.in-view > *:nth-child(2) { transition-delay: 100ms; }
.stagger.in-view > *:nth-child(3) { transition-delay: 200ms; }
.stagger.in-view > *:nth-child(4) { transition-delay: 300ms; }
.stagger.in-view > *:nth-child(5) { transition-delay: 400ms; }
.stagger.in-view > *:nth-child(6) { transition-delay: 500ms; }

/* -- RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .founder, .fight-fit, .visit, .program { grid-template-columns: 1fr; }
  .duty-band__grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: 0; }
  .instructor-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .expect-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  /* Hero on mobile — anchor to top under nav, size to content */
  .hero {
    align-items: flex-start;
    min-height: auto;
    padding-top: calc(var(--top-stack-h) + var(--space-lg));
    padding-bottom: var(--space-3xl);
  }
  body.banner-dismissed .hero { padding-top: calc(var(--nav-h) + var(--space-lg)); }
  .hero h1.display { font-size: clamp(2.5rem, 11vw, 4.5rem); line-height: 0.9; }
  /* Mobile page-header padding */
  .page-header {
    padding-top: calc(var(--top-stack-h) + var(--space-lg));
    padding-bottom: var(--space-2xl);
    min-height: 320px;
  }
  body.banner-dismissed .page-header { padding-top: calc(var(--nav-h) + var(--space-lg)); }
  .page-header h1.display { font-size: clamp(2.25rem, 10vw, 4rem); }
  /* 3-col → 1-col / scroll */
  .coaches, .instructor-grid, .tiers {
    grid-template-columns: 1fr;
  }
  /* Coaches → horizontal scroll snap */
  .coaches.scroll-snap {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .coaches.scroll-snap::-webkit-scrollbar { display: none; }
  .coaches.scroll-snap > * { scroll-snap-align: start; }
  /* 2-col bentos → 1-col on mobile */
  .curriculum, .fight-fit__bento {
    grid-template-columns: 1fr;
  }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  /* Forms — single col */
  .form-row, .lead-modal__row { grid-template-columns: 1fr; }
  .hero__corner { display: none; }
  .marquee__item { font-size: 0.8rem; padding-inline: var(--space-xl); }
}

@media (max-width: 720px) {
  /* On narrower viewports, hide the verbose banner copy — keep the price + claim */
  .duty-banner__verbose { display: none; }
  .duty-banner__inner { gap: var(--space-sm); }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  /* Smaller banner pill on tiny screens */
  .duty-banner { font-size: 0.62rem; letter-spacing: 0.1em; }
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Safety — never invisible cards */
.coach, .tier, .program-card, .contact-card, .expect-card, .visit__card, .duty-card, .founder__portrait, .curriculum__tile, .fight-fit__tile, .pillar { opacity: 1 !important; }
