/* ==========================================================================
   Ippon Sports Academy — site stylesheet
   Dark, editorial, photo-led. Built around the academy's own photography,
   which is mostly 3:4 portrait, so layouts favour tall media.
   ========================================================================== */

:root {
  --ink:        #0d0f12;
  --ink-2:      #14181d;
  --ink-3:      #1c2128;
  --line:       #262c34;

  --gold:       #c8a951;
  --gold-lt:    #e3c877;
  --gold-dk:    #9c7f33;

  --paper:      #f6f4ef;
  --paper-2:    #ece8e0;
  --white:      #ffffff;

  --text:       #1a1d22;
  --text-2:     #565e6b;
  --text-inv:   #f2efe9;
  --text-inv-2: #9aa3b0;

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

  --wrap: 1240px;
  --r: 4px;
  --r-lg: 10px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 18px 50px rgba(0,0,0,.14);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--gold); color: var(--ink); padding: 12px 20px; font-weight: 700;
}
.skip:focus { left: 8px; top: 8px; }

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

/* --------------------------------------------------------- type */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: .95;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: .6875rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-dk);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; flex: none; }
.on-dark .eyebrow, .dark .eyebrow { color: var(--gold); }

.lede { font-size: 1.0625rem; color: var(--text-2); line-height: 1.75; }
.dark .lede { color: var(--text-inv-2); }

/* --------------------------------------------------------- topbar */

.topbar {
  background: var(--ink);
  color: var(--text-inv-2);
  font-size: .8125rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 38px; text-align: center; flex-wrap: wrap;
}
.topbar strong { color: var(--gold); font-weight: 700; }
.topbar-link { color: var(--text-inv); font-weight: 600; white-space: nowrap; }
.topbar-link:hover { color: var(--gold); }

/* --------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(13,15,18,.92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.stuck { box-shadow: 0 12px 40px rgba(0,0,0,.4); background: rgba(13,15,18,.98); }

.header-inner {
  display: flex; align-items: center; gap: 28px;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--text-inv); flex: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 1.15rem; line-height: 1;
  border-radius: var(--r);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.brand:hover .brand-mark { background: var(--gold); color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.35rem; letter-spacing: .12em; color: var(--white);
}
.brand-text small {
  font-size: .625rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-top: 2px;
}
.brand-lg .brand-text strong { font-size: 1.6rem; }

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a {
  position: relative;
  font-size: .875rem; font-weight: 500; color: #cdd4de;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--gold); transition: right .28s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after, .nav a.active::after { right: 0; }
.nav a.active { color: var(--gold); }

.header-cta { flex: none; }

.burger { display: none; width: 42px; height: 42px; padding: 10px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--gold); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-nav {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 12px 0 24px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.mobile-nav a {
  display: block; padding: 14px 0;
  color: var(--text-inv); font-size: 1.0625rem; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:last-child { border: 0; }
/* Beat `.mobile-nav a { display:block }` so the CTA stays a centred button. */
.mobile-nav a.btn { display: flex; justify-content: center; margin-top: 18px; }

/* --------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--r);
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 17px 36px; font-size: .875rem; }
.btn-block { display: flex; width: 100%; }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(200,169,81,.32); }

.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--text-inv); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-dark { background: var(--ink); color: var(--text-inv); }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }

.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--text-inv); transform: translateY(-2px); }

/* --------------------------------------------------------- sections */

.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.dark { background: var(--ink); color: var(--text-inv); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--white); }
.tint { background: var(--paper-2); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2.25rem, 4.4vw, 3.4rem); margin-bottom: 18px; }
.section-head p { color: var(--text-2); font-size: 1.0625rem; line-height: 1.75; }
.dark .section-head p { color: var(--text-inv-2); }

.split-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 48px; }
.split-head h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* --------------------------------------------------------- hero (home) */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-inv);
  overflow: hidden;
  padding: 92px 0 96px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 12% 6%, rgba(200,169,81,.13), transparent 62%),
    radial-gradient(700px 480px at 92% 88%, rgba(200,169,81,.07), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr);
  gap: 64px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(200,169,81,.34);
  background: rgba(200,169,81,.1);
  color: var(--gold);
  font-size: .6875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 15px; border-radius: 100px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(3.2rem, 7.4vw, 6rem);
  line-height: .88;
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-copy { color: var(--text-inv-2); font-size: 1.125rem; line-height: 1.72; max-width: 30em; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-proof {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  color: var(--text-inv-2); font-size: .875rem;
}
.hero-proof .faces { display: flex; flex: none; }
.hero-proof > span:last-child { flex: 1 1 200px; min-width: 0; }
.hero-proof .faces img {
  flex: none;
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--ink); margin-left: -12px;
}
.hero-proof .faces img:first-child { margin-left: 0; }

/* Photo cluster — built for 3:4 source images */
.hero-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-media figure { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-3); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .m1 { grid-row: span 2; aspect-ratio: 3/4.6; }
.hero-media .m2 { aspect-ratio: 4/3; }
.hero-media .m3 { aspect-ratio: 1/1; }
.hero-media figure::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  border-radius: inherit;
}
.hero-stamp {
  position: absolute; left: -22px; bottom: 26px; z-index: 2;
  background: var(--gold); color: var(--ink);
  padding: 14px 18px; border-radius: var(--r);
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
  max-width: 190px;
}
.hero-stamp strong { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.hero-stamp span { font-size: .6875rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

/* --------------------------------------------------------- page hero (inner pages) */

.page-hero {
  position: relative; background: var(--ink); color: var(--text-inv);
  padding: 68px 0 72px; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(760px 420px at 8% 0%, rgba(200,169,81,.12), transparent 60%);
}
.page-hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  gap: 56px; align-items: center;
}
.page-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); color: var(--white); margin-bottom: 20px; line-height: .92; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { color: var(--text-inv-2); font-size: 1.0625rem; line-height: 1.72; max-width: 34em; margin-bottom: 30px; }
.page-hero-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3.4; background: var(--ink-3); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); border-radius: inherit; }

/* --------------------------------------------------------- breadcrumb */

.crumb {
  background: var(--ink-2);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .8125rem; color: var(--text-inv-2);
  padding: 13px 0;
}
.crumb a { color: var(--gold); }
.crumb a:hover { text-decoration: underline; }
.crumb .sep { margin: 0 9px; opacity: .4; }

/* --------------------------------------------------------- stats */

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 48px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: 4rem; line-height: 1; color: var(--gold); margin-bottom: 10px;
}
.stat span { font-size: .9375rem; color: var(--text-inv-2); letter-spacing: .04em; }

/* --------------------------------------------------------- program cards */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; }
.card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(200,169,81,.5); }
.card-media { position: relative; aspect-ratio: 4/3.5; overflow: hidden; background: var(--ink-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,15,18,.55), transparent 48%);
}
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.tag {
  align-self: flex-start;
  font-size: .625rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase;
  color: var(--gold-dk); background: rgba(200,169,81,.14);
  padding: 5px 11px; border-radius: 100px; margin-bottom: 13px;
}
.card h3 { font-size: 1.5rem; line-height: 1.04; margin-bottom: 10px; }
.card-near { color: var(--gold-dk); }
.card p { color: var(--text-2); font-size: .9375rem; line-height: 1.68; margin-bottom: 18px; }
.card-more {
  margin-top: auto;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 7px;
}
.card-more::after { content: '→'; transition: transform .25s var(--ease); }
.card:hover .card-more { color: var(--gold-dk); }
.card:hover .card-more::after { transform: translateX(5px); }

.dark .card { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
.dark .card p { color: var(--text-inv-2); }
.dark .card-more { color: var(--text-inv); }

/* --------------------------------------------------------- feature list / benefits */

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px; background: rgba(0,0,0,.08); border: 1px solid rgba(0,0,0,.08); border-radius: var(--r-lg); overflow: hidden; }
.dark .features { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.07); }
.feature { background: var(--paper); padding: 34px 30px; }
.dark .feature { background: var(--ink); }
.tint .feature { background: var(--paper-2); }
.feature-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: var(--r); font-size: 1.25rem;
  background: rgba(200,169,81,.14); border: 1px solid rgba(200,169,81,.3);
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.3rem; margin-bottom: 9px; }
.feature p { font-size: .9375rem; color: var(--text-2); line-height: 1.68; }
.dark .feature p { color: var(--text-inv-2); }

/* --------------------------------------------------------- instructors */

/* Each coach gets their own portrait — no shared photo, no ambiguous captions. */
.coaches { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px; }
.coach {
  display: grid; grid-template-columns: minmax(0, 176px) minmax(0, 1fr); gap: 26px;
  align-items: start;
}
.coach-media {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink-3); aspect-ratio: 4/5;
}
.coach-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.coach-media::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  border-radius: inherit;
}
.coach-media .belt {
  position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dk));
}
.coach h3 { font-size: 1.65rem; margin-bottom: 5px; }
.coach .role { color: var(--gold); font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.coach p { color: var(--text-inv-2); font-size: .9375rem; line-height: 1.72; margin-bottom: 16px; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; }
.creds li {
  font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid rgba(200,169,81,.35); color: var(--gold);
  padding: 5px 11px; border-radius: 100px;
}

/* --------------------------------------------------------- schedule */

.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid rgba(0,0,0,.09); background: var(--white); }
.dark .table-wrap { border-color: rgba(255,255,255,.09); background: var(--ink-2); }
.schedule { width: 100%; border-collapse: collapse; min-width: 620px; }
.schedule th {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1rem; letter-spacing: .13em; text-align: left;
  background: var(--ink); color: var(--gold);
  padding: 15px 22px;
}
.schedule td { padding: 16px 22px; border-top: 1px solid rgba(0,0,0,.07); font-size: .9375rem; }
.dark .schedule td { border-color: rgba(255,255,255,.07); }
.schedule tbody tr { transition: background .2s var(--ease); }
.schedule tbody tr:hover { background: rgba(200,169,81,.07); }
.schedule .day { font-weight: 600; }
.schedule .time { font-variant-numeric: tabular-nums; white-space: nowrap; }

.venues { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 18px; margin-top: 26px; }
.venue { padding: 22px 24px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); background: rgba(255,255,255,.03); }
.venue h4 { font-size: 1.2rem; margin-bottom: 5px; }
.venue p { font-size: .875rem; color: var(--text-inv-2); }
.venue .venue-classes { color: var(--gold); font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; margin-top: 8px; font-weight: 600; }

/* --------------------------------------------------------- photo strip */

.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr);
  gap: 14px; overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.strip-item { aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); scroll-snap-align: start; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.strip-item:hover img { transform: scale(1.05); }

/* --------------------------------------------------------- gallery */

.gallery { columns: 4; column-gap: 16px; }
.gallery figure {
  break-inside: avoid; margin-bottom: 16px;
  border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3);
  position: relative;
}
.gallery img { width: 100%; height: auto; transition: transform .6s var(--ease), filter .4s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 34px 16px 14px;
  background: linear-gradient(to top, rgba(13,15,18,.9), transparent);
  color: var(--text-inv); font-size: .8125rem; line-height: 1.4;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; transform: none; }

/* --------------------------------------------------------- locations */

.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px,1fr)); gap: 14px; }
.loc {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.03);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.loc:hover { border-color: var(--gold); background: rgba(200,169,81,.07); transform: translateY(-3px); }
.loc-name { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .04em; color: var(--white); }
.loc-sub { font-size: .8125rem; color: var(--text-inv-2); }

.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 12px; }
.link-grid a {
  display: flex; align-items: center; gap: 10px;
  padding: 15px 18px; background: var(--white);
  border: 1px solid rgba(0,0,0,.08); border-radius: var(--r);
  font-size: .9375rem; font-weight: 500;
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.link-grid a::before { content: '→'; color: var(--gold-dk); font-weight: 700; }
.link-grid a:hover { border-color: var(--gold); color: var(--gold-dk); transform: translateX(4px); }

/* --------------------------------------------------------- FAQ */

.faq { max-width: 860px; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.1); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 44px 22px 0; position: relative;
  font-size: 1.0625rem; font-weight: 600; color: var(--text-inv);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 8px; top: 50%;
  width: 13px; height: 13px; margin-top: -7px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .28s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-answer { padding: 0 40px 24px 0; }
.faq-answer p { color: var(--text-inv-2); font-size: .9375rem; line-height: 1.78; }
.faq.on-light .faq-item { border-color: rgba(0,0,0,.09); }
.faq.on-light summary { color: var(--text); }
.faq.on-light .faq-answer p { color: var(--text-2); }

/* --------------------------------------------------------- prose blocks */

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 56px; align-items: center; }
.duo-media { border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); }
.duo-media img { width: 100%; height: 100%; object-fit: cover; }
.checklist { display: grid; gap: 13px; margin-top: 26px; }
.checklist li { display: flex; gap: 12px; font-size: .9375rem; color: var(--text-2); line-height: 1.6; }
.dark .checklist li { color: var(--text-inv-2); }
.checklist li::before {
  content: '✓'; flex: none;
  width: 22px; height: 22px; display: grid; place-items: center;
  background: rgba(200,169,81,.16); color: var(--gold-dk);
  border-radius: 50%; font-size: .75rem; font-weight: 700; margin-top: 2px;
}
.dark .checklist li::before { color: var(--gold); }

/* --------------------------------------------------------- CTA band */

.cta {
  position: relative;
  background: linear-gradient(140deg, #101317 0%, #191d24 58%, #0f1216 100%);
  color: var(--text-inv);
  padding: 92px 0;
  overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; top: -40%; right: -12%;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,81,.14) 0%, transparent 68%);
}
.cta-inner { position: relative; text-align: center; max-width: 700px; }
.cta-inner { margin-left: auto; margin-right: auto; }
.cta h2 { font-size: clamp(2.4rem, 5.2vw, 4rem); color: var(--white); margin-bottom: 16px; }
.cta h2 span { color: var(--gold); }
.cta p { color: var(--text-inv-2); font-size: 1.0625rem; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-size: .8125rem; color: #7b8493; margin: 22px 0 0; letter-spacing: .03em; }
.cta-note a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cta-note a:hover { color: var(--gold-lt); }

/* --------------------------------------------------------- footer */

.site-footer { background: var(--ink); color: var(--text-inv-2); border-top: 3px solid var(--gold); padding: 76px 0 34px; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { font-size: .875rem; line-height: 1.75; margin: 20px 0 18px; max-width: 38em; }
.socials { display: flex; gap: 16px; }
.socials a { font-size: .8125rem; font-weight: 600; color: var(--gold); }
.socials a:hover { text-decoration: underline; }
.footer-col h4 { font-size: 1.05rem; letter-spacing: .13em; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: .875rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: grid; gap: 2px; font-size: .875rem; margin-bottom: 14px; }
.footer-contact strong { color: var(--text-inv); font-weight: 600; }
.footer-contact .muted { font-size: .75rem; color: #6f7887; letter-spacing: .04em; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; font-size: .8125rem; color: #6f7887;
}
.footer-bottom a:hover { color: var(--gold); }

/* --------------------------------------------------------- enrollment + waiver */

.enroll-narrow { max-width: 880px; margin: 0 auto; }

.hero-steps { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.hero-steps li {
  display: flex; align-items: center; gap: 9px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .04em;
  color: var(--text-inv-2);
}
.hero-steps b {
  display: grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(200,169,81,.16); border: 1px solid rgba(200,169,81,.4);
  color: var(--gold); font-family: var(--font-display); font-size: .875rem; font-weight: 400;
}

/* ---- notices ---- */

.notice {
  display: grid; gap: 6px;
  padding: 18px 22px; border-radius: var(--r-lg);
  border: 1px solid rgba(0,0,0,.1); background: var(--white);
  border-left: 4px solid var(--gold);
  font-size: .9375rem; line-height: 1.6;
  margin-bottom: 28px;
}
.notice strong { font-weight: 700; }
.notice a { text-decoration: underline; text-underline-offset: 2px; }
.notice ul { display: grid; gap: 5px; margin-top: 2px; }
.notice li { color: var(--text-2); }
.notice-error { border-left-color: #b3261e; background: #fdf3f2; }
.notice-error strong { color: #8c1d18; }
.notice-warn { border-left-color: var(--gold-dk); background: #fdf8ec; }

/* ---- form shell ---- */

.enroll-form { display: grid; gap: 30px; }
/* Grid items default to min-width:auto, which lets a wide input push the whole
   card past the viewport on narrow phones. The content reflows fine at 342px. */
.enroll-form > * { min-width: 0; }

.step {
  border: 1px solid rgba(0,0,0,.09);
  border-radius: var(--r-lg);
  background: var(--white);
  padding: 30px 32px 34px;
}
.step-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
.step-num {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--gold);
  font-family: var(--font-display); font-size: 1.15rem; line-height: 1;
}
.step-title {
  display: block;
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.6rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1.05;
}
.step-sub { display: block; font-size: .875rem; color: var(--text-2); line-height: 1.6; margin-top: 5px; }
.step-foot { font-size: .875rem; color: var(--text-2); margin-top: 20px; }
.step-foot a { color: var(--gold-dk); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.sub-head {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  font-size: 1.05rem; letter-spacing: .1em;
  padding-top: 26px; margin-bottom: 16px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.sub-head:first-of-type { padding-top: 0; border-top: 0; }
.sub-head span {
  font-family: var(--font-body); font-size: .75rem; font-weight: 500;
  letter-spacing: 0; text-transform: none; color: var(--text-2);
}

/* ---- plan picker ---- */

/* Each program is its own block. The rule and the generous gap between them
   stop a parent from reading a Mini Ninjas price as a BJJ Kids price. */
.plan-set + .plan-set {
  margin-top: 48px; padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,.1);
}

.plan-group {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  font-size: 1.15rem; letter-spacing: .1em; margin: 0 0 10px;
}

.plan-blurb {
  font-size: .9375rem; line-height: 1.7; color: var(--text-2);
  max-width: 64ch; margin: 0 0 18px;
}
.plan-group span {
  font-family: var(--font-body); font-size: .6875rem; font-weight: 700;
  letter-spacing: .14em; color: var(--gold-dk);
  background: rgba(200,169,81,.14); padding: 4px 10px; border-radius: 100px;
}

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan {
  position: relative; display: block; cursor: pointer;
  border: 1.5px solid rgba(0,0,0,.12); border-radius: var(--r-lg);
  background: var(--paper);
  padding: 18px 18px 20px;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.plan:hover { border-color: rgba(200,169,81,.7); transform: translateY(-2px); }
.plan input {
  position: absolute; top: 16px; right: 16px;
  width: 18px; height: 18px; accent-color: var(--gold-dk); cursor: pointer;
}
.plan:has(input:checked) {
  border-color: var(--gold-dk); background: rgba(200,169,81,.09);
  box-shadow: 0 10px 26px rgba(200,169,81,.16);
}
.plan:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.plan-body { display: block; padding-right: 26px; }
.plan-badge {
  display: inline-block;
  font-size: .5625rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  background: var(--ink); color: var(--gold);
  padding: 4px 9px; border-radius: 100px; margin-bottom: 9px;
}
.plan-term {
  display: block;
  font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 8px;
}
.plan-price { display: block; line-height: 1; color: var(--text-2); font-size: .75rem; margin-bottom: 10px; }
.plan-price b {
  font-family: var(--font-display); font-weight: 400;
  font-size: 2.3rem; letter-spacing: .01em; color: var(--ink); margin-right: 3px;
}
.plan-billing { display: block; font-size: .8125rem; font-weight: 600; margin-bottom: 4px; }
.plan-note { display: block; font-size: .8125rem; color: var(--text-2); line-height: 1.55; }

/* ---- fields ---- */

.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text);
}
.field label .opt { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--text-2); }
.field input, .field textarea, .field select {
  font: inherit; font-size: .9375rem; color: var(--text);
  width: 100%; padding: 12px 14px;
  border: 1.5px solid rgba(0,0,0,.14); border-radius: var(--r);
  background: var(--paper);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:hover, .field textarea:hover { border-color: rgba(0,0,0,.28); }
.field input:focus, .field textarea:focus {
  outline: 0; border-color: var(--gold-dk); background: var(--white);
  box-shadow: 0 0 0 3px rgba(200,169,81,.22);
}
.field input[readonly] { color: var(--text-2); background: var(--paper-2); border-style: dashed; }
.field-hint { font-size: .75rem; color: var(--text-2); line-height: 1.5; }
.field-error { display: block; font-size: .78125rem; font-weight: 600; color: #b3261e; line-height: 1.5; }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; background: #fdf5f4; }

.sign-grid { margin-top: 22px; }
.sig-input {
  font-style: italic; font-size: 1.25rem !important; letter-spacing: .01em;
  padding: 14px 16px !important;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- waiver document ---- */

.waiver-doc {
  max-height: 380px; overflow-y: auto;
  border: 1px solid rgba(0,0,0,.12); border-radius: var(--r-lg);
  background: var(--paper); padding: 26px 28px;
  /* A visible fade at the foot signals there is more to read. */
  background-image: linear-gradient(to top, rgba(13,15,18,.06), transparent 60px);
  background-repeat: no-repeat; background-position: bottom; background-attachment: local, scroll;
}
.waiver-doc h3 { font-size: 1.3rem; margin-bottom: 6px; }
.waiver-doc h4 {
  font-family: var(--font-body); font-size: .8125rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  margin: 20px 0 6px;
}
.waiver-doc p { font-size: .875rem; line-height: 1.75; color: var(--text-2); }
.waiver-meta {
  font-size: .6875rem !important; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-dk) !important; padding-bottom: 14px; border-bottom: 1px solid rgba(0,0,0,.08);
}

/* ---- acknowledgments ---- */

.acks { display: grid; gap: 2px; margin-top: 22px; background: rgba(0,0,0,.08); border: 1px solid rgba(0,0,0,.08); border-radius: var(--r-lg); overflow: hidden; }
.ack {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 16px 18px; background: var(--white); cursor: pointer;
  font-size: .875rem; line-height: 1.6; color: var(--text-2);
  transition: background .2s var(--ease);
}
.ack:hover { background: #fbf9f4; }
.ack input {
  flex: none; width: 19px; height: 19px; margin-top: 1px;
  accent-color: var(--gold-dk); cursor: pointer;
}
.ack:has(input:checked) { background: rgba(200,169,81,.08); color: var(--text); }
.ack.has-error { background: #fdf3f2; }
.ack .field-error { margin-top: 5px; }

/* Cancellation acknowledgment. Sits inside .acks as its own row, but only
   appears once a 6- or 12-month plan is selected. */
.clause-note { margin-top: 8px; font-size: .82rem; color: var(--text-2); font-style: italic; }
.ack-commit { background: var(--white); padding: 18px 18px 0; }
.ack-commit[hidden] { display: none; }
.ack-commit-head { margin: 0 0 10px; font-size: .875rem; line-height: 1.55; color: var(--text); }
.ack-commit-head b { color: var(--gold-dk); white-space: nowrap; }
.ack-commit-body {
  margin: 0 0 4px; padding: 12px 14px; font-size: .82rem; line-height: 1.7;
  color: var(--text-2); background: rgba(200,169,81,.1);
  border-left: 3px solid var(--gold); border-radius: 0 6px 6px 0;
}
.ack-commit .ack { padding-left: 0; padding-right: 0; background: transparent; }
.ack-commit:has(input:checked) { background: rgba(200,169,81,.08); }

/* ---- submit ---- */

.submit-bar {
  border: 1px solid rgba(0,0,0,.09); border-radius: var(--r-lg);
  background: var(--white); padding: 26px 32px 28px; text-align: center;
}
.submit-summary { font-size: .9375rem; color: var(--text-2); margin-bottom: 16px; }
.submit-summary strong { color: var(--text); font-weight: 700; }
.submit-note { font-size: .8125rem; color: var(--text-2); margin-top: 14px; }
.submit-note.blocked { color: #b3261e; font-weight: 600; }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .45; cursor: not-allowed; pointer-events: none;
}

/* ---- receipt ---- */

.receipt {
  border: 1px solid rgba(0,0,0,.1); border-top: 4px solid var(--gold);
  border-radius: var(--r-lg); background: var(--white);
  padding: 34px 36px 36px; box-shadow: var(--shadow);
}
.receipt-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-bottom: 22px; border-bottom: 1px solid rgba(0,0,0,.08);
}
.receipt-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.receipt-price { text-align: right; line-height: 1; }
.receipt-price b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; color: var(--ink); }
.receipt-price span { font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.receipt-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; padding: 22px 0; }
.receipt-meta dt {
  font-size: .6875rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 3px;
}
.receipt-meta dd { font-size: .9375rem; font-weight: 600; }
.receipt-meta code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875rem; letter-spacing: .04em; }
.receipt-billing { font-size: .875rem; color: var(--text-2); margin-bottom: 20px; }
.receipt-note { font-size: .8125rem; color: var(--text-2); margin-top: 14px; text-align: center; }
.receipt-details { margin-top: 24px; border-top: 1px solid rgba(0,0,0,.08); padding-top: 18px; }
.receipt-details summary {
  cursor: pointer; font-size: .8125rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dk);
}
.receipt-details pre {
  margin-top: 16px; padding: 20px; border-radius: var(--r);
  background: var(--paper-2); color: var(--text-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; line-height: 1.7;
  white-space: pre-wrap; word-break: break-word;
}

.next-steps { margin-top: 44px; }
.next-steps h3 { font-size: 1.6rem; margin-bottom: 18px; }
.steps-list { counter-reset: step; display: grid; gap: 14px; margin-bottom: 24px; }
.steps-list li {
  counter-increment: step; position: relative; padding-left: 42px;
  font-size: .9375rem; color: var(--text-2); line-height: 1.65;
}
.steps-list li::before {
  content: counter(step); position: absolute; left: 0; top: -1px;
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(200,169,81,.16); border: 1px solid rgba(200,169,81,.4);
  font-family: var(--font-display); font-size: .9375rem; color: var(--gold-dk);
}
.steps-list strong { color: var(--text); }
.steps-list a, .next-steps .lede a { color: var(--gold-dk); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.faq-follow {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(0,0,0,.09);
}
.faq-follow .lede { margin: 0; }

@media (max-width: 860px) {
  /* Stacked cards make the two programs run together, so the gap between them
     has to stay obviously larger than the gap between plans within one. */
  .plan-grid { grid-template-columns: 1fr; gap: 14px; }
  .plan-set + .plan-set { margin-top: 40px; padding-top: 34px; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .step { padding: 26px 22px 28px; }
  .receipt { padding: 26px 22px 28px; }
  .receipt-meta { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .step-title { font-size: 1.35rem; }
  .submit-bar { padding: 22px 18px 24px; }
  .receipt-head { align-items: flex-start; }
  .receipt-price { text-align: left; }
  .waiver-doc { padding: 20px 18px; max-height: 320px; }
}

/* --------------------------------------------------------- reveal on scroll */

/* Only hide content when JS is present to bring it back — never strand a no-JS reader. */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav a { font-size: .8125rem; }
  .gallery { columns: 3; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 64px 0 72px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-media { aspect-ratio: 4/3; }
  .coaches { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-head { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .section-sm { padding: 52px 0; }
  .section-head { margin-bottom: 38px; }
  .gallery { columns: 2; column-gap: 12px; }
  .gallery figure { margin-bottom: 12px; }
  /* Side-by-side portrait + bio leaves the text column too narrow to read. */
  .coach { grid-template-columns: 1fr; gap: 18px; }
  .coach-media { max-width: 190px; }
  .hero-media { grid-template-columns: 1fr 1fr; }
  .hero-media .m1 { grid-row: span 2; aspect-ratio: 3/4.4; }
  .hero-stamp { left: auto; right: 10px; bottom: 10px; }
  .cta { padding: 68px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .topbar-inner { font-size: .75rem; gap: 10px; }

  /* schedule collapses to stacked rows */
  .table-wrap { border: 0; background: none; overflow: visible; }
  .schedule { min-width: 0; }
  .schedule thead { display: none; }
  .schedule tbody, .schedule tr, .schedule td { display: block; width: 100%; }
  .schedule tr {
    background: var(--white); border: 1px solid rgba(0,0,0,.09);
    border-radius: var(--r-lg); padding: 14px 16px; margin-bottom: 12px;
  }
  .dark .schedule tr { background: var(--ink-2); border-color: rgba(255,255,255,.1); }
  .schedule td { border: 0; padding: 4px 0; font-size: .875rem; }
  .schedule td::before {
    content: attr(data-label) ' · ';
    font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--gold-dk);
  }
  .dark .schedule td::before { color: var(--gold); }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.9rem; }
  .btn { padding: 12px 20px; font-size: .75rem; }
  .btn-lg { padding: 15px 26px; }
}
