/* ============================================================
   Family First Martial Arts - Spring Hill, TN
   Dark premium design system (reshape-inspired)
   Palette: warm charcoal, off-white type, FFMA dojo red, belt gold
   ============================================================ */

:root {
  --bg: #0D0809;          /* near smokey black, blends with photo backgrounds */
  --bg-deep: #0A0203;     /* Smokey Black (brand) */
  --paper: #181112;       /* panel */
  --panel-2: #221A1B;
  --cream: #F5F2F0;       /* primary type */
  --ink: #F5F2F0;         /* alias: text on dark */
  --ink-soft: #B0A7A4;    /* muted type */
  --red: #E11400;         /* Ruby Red (brand) */
  --red-deep: #840C08;    /* Red Warrior (brand) */
  --gold: #E13D00;        /* Deep Orange (brand accent) */
  --gold-soft: rgba(225, 61, 0, .16);
  --line: rgba(245, 242, 240, .12);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
  --radius: 4px;
  --radius-sm: 4px;
  --font-display: "Cabin", "Gill Sans", "Trebuchet MS", sans-serif;
  --font-body: "Cabin", "Gill Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: min(1280px, 94%); margin: 0 auto; }
.container-narrow { width: min(860px, 92%); margin: 0 auto; }

::selection { background: var(--red); color: #fff; }

/* ---------- Typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.3; }

.accent-i { font-style: normal; color: var(--red); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--ink-soft); max-width: 62ch; font-weight: 400; }

.section { padding: clamp(76px, 9vw, 130px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { margin-top: 16px; }

/* Vertical side label (reshape-style) */
.side-label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: .55;
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 1100px) { .side-label { display: none; } }

/* ---------- Buttons: thin outlined pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid var(--cream);
  color: var(--cream);
  background: transparent;
  cursor: pointer;
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
  will-change: transform;
}
.btn svg { transition: transform .3s ease; }
.btn:hover svg { transform: translateX(5px); }

.btn-primary {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
  box-shadow: 0 16px 36px -16px rgba(225, 20, 0, .6);
}
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-2px); }

.btn-ghost { border-color: rgba(244, 238, 227, .5); }
.btn-ghost:hover { border-color: var(--red); color: #fff; background: var(--red); transform: translateY(-2px); }

.btn-light { border-color: #fff; color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--bg); transform: translateY(-2px); }

.btn-sm { padding: 11px 24px; font-size: .7rem; }

/* ---------- Header ---------- */

.topbar {
  background: var(--bg-deep);
  color: var(--ink-soft);
  font-size: .78rem;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--line);
}
.topbar a { color: var(--gold); font-weight: 700; text-decoration: none; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.topbar a:hover { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 2, 3, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { background: rgba(10, 2, 3, .97); box-shadow: 0 14px 34px -22px rgba(0,0,0,.8); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-text { line-height: 1.15; }
.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--cream);
}
.logo-text span {
  font-size: .58rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a {
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 10px 13px;
  transition: color .2s ease;
}
.main-nav > a:hover { color: var(--cream); }
.main-nav > a.active { color: var(--red); }
.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px; height: 44px;
  border-radius: 8px;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cream);
  margin: 5px auto;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero: split layout with action sidebar ---------- */

.hero { position: relative; padding: 0; overflow: hidden; background: var(--bg-deep); }
.hero-shell {
  display: grid;
  grid-template-columns: 1fr 330px;
  min-height: min(86vh, 820px);
}
.hero-main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(48px, 6vw, 90px) clamp(24px, 5vw, 80px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(200deg, rgba(10,2,3,.15) 0%, rgba(10,2,3,.45) 55%, rgba(10,2,3,.9) 100%);
}
.hero-main > * { position: relative; z-index: 3; }
.hero h1 { margin: 0 0 26px; max-width: 15ch; text-wrap: balance; }
.hero h1 .accent-i { display: inline; }
.hero .lead { margin-bottom: 36px; max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-note { margin-top: 22px; font-size: .84rem; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.hero-note svg { color: var(--gold); flex-shrink: 0; }

.hero-side {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: var(--bg-deep);
}
.hero-side-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 34px 36px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
  position: relative;
  overflow: hidden;
}
.hero-side-card:last-child { border-bottom: 0; }
.hero-side-card::after {
  content: "";
  position: absolute;
  left: 36px; right: 36px; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.hero-side-card:hover { background: var(--paper); }
.hero-side-card:hover::after { transform: scaleX(1); }
.hero-side-card strong { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--cream); }
.hero-side-card span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Dot navigation (right edge, home) */
.dot-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dot-nav a {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-soft);
  opacity: .55;
  transition: all .3s ease;
  display: block;
}
.dot-nav a.active {
  opacity: 1;
  background: transparent;
  border: 1.5px solid var(--gold);
  transform: scale(1.7);
}
@media (max-width: 1100px) { .dot-nav { display: none; } }

/* ---------- Media / imagery: dark duotone ---------- */

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(130% 110% at 15% 0%, rgba(225, 61, 0, .16), transparent 55%),
    radial-gradient(120% 130% at 90% 100%, rgba(255, 21, 0, .22), transparent 60%),
    linear-gradient(160deg, #171112, #050203);
}
.media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: saturate(.82) contrast(1.05) brightness(.9);
}
.media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(10,2,3,.05), rgba(10,2,3,.4));
  pointer-events: none;
}
.media::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: rgba(244, 238, 227, .5);
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  z-index: 0;
}

/* ---------- Marquee ---------- */

.marquee {
  background: var(--bg-deep);
  color: var(--cream);
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track em { color: var(--red); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Trust bar ---------- */

.trustbar { padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.trust-item .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  color: var(--red);
  line-height: 1;
}
.trust-item p { font-size: .82rem; color: var(--ink-soft); margin-top: 10px; letter-spacing: .04em; }

/* ---------- Program cards: image tiles with centered titles ---------- */

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.program-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
  display: block;
  min-height: 460px;
}
.program-card .media {
  position: absolute;
  inset: 0;
  border-radius: 0;
  aspect-ratio: auto;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.program-card:hover .media { transform: scale(1.05); }
.program-card-body {
  position: relative;
  z-index: 3;
  height: 100%;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 40px 30px;
  background: linear-gradient(180deg, rgba(10,2,3,.15) 0%, rgba(10,2,3,.5) 60%, rgba(10,2,3,.9) 100%);
  transition: background .4s ease;
}
.program-card:hover .program-card-body { background: linear-gradient(180deg, rgba(10,2,3,.35), rgba(10,2,3,.92)); }
.program-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; }
.program-card h3::after { content: ""; display: block; width: 44px; height: 2px; background: var(--red); margin: 14px auto 0; }
.age-pill {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
}
.program-card p {
  color: var(--ink-soft);
  font-size: .9rem;
  max-width: 34ch;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .5s ease, opacity .5s ease;
}
.program-card:hover p { max-height: 140px; opacity: 1; }
.card-link {
  font-weight: 700;
  color: var(--cream);
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.card-link svg { transition: transform .3s ease; color: var(--red); }
.program-card:hover .card-link svg, .blog-card:hover .card-link svg { transform: translateX(5px); }

.program-card.secondary { min-height: 0; background: var(--paper); border: 1px solid var(--line); }
.program-card.secondary .program-card-body { min-height: 0; background: none; }

/* ---------- Why cards ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.why-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 36px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: background .3s ease, transform .3s ease;
}
.why-card:hover { background: var(--panel-2); transform: translateY(-4px); }
.why-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--red);
  color: var(--red);
  background: transparent;
  display: grid;
  place-items: center;
}
.why-card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.why-card p { color: var(--ink-soft); font-size: .92rem; }

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.split .media { aspect-ratio: 4 / 4.6; }
.split.flip .split-media { order: 2; }
.split h2 { margin-bottom: 18px; }
.split p + p { margin-top: 14px; }
.split .btn { margin-top: 30px; }
.checklist { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); font-size: .96rem; }
.checklist svg { color: var(--red); flex-shrink: 0; margin-top: 4px; }
.checklist strong { color: var(--cream); }

/* ---------- Steps: numbered photo strip ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.step-card {
  background:
    radial-gradient(120% 120% at 80% 100%, rgba(255, 21, 0, .12), transparent 60%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px 34px 38px;
  position: relative;
  transition: background .3s ease;
}
.step-card:hover { background: var(--panel-2); }
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .3em;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
}
.step-num::after { content: ""; display: block; width: 30px; height: 1px; background: var(--gold); margin-top: 12px; }
.step-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.step-card p { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Testimonials ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote-card .stars { color: var(--gold); letter-spacing: 4px; font-size: .9rem; }
.quote-card blockquote { font-size: 1rem; line-height: 1.65; flex: 1; color: var(--cream); }
.quote-card cite { font-style: normal; font-weight: 700; font-size: .86rem; }
.quote-card cite span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .76rem; margin-top: 3px; letter-spacing: .1em; text-transform: uppercase; }

.endorsement {
  margin-top: 4px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 72px);
  display: block;
  text-align: center;
}
.endorsement .mark {
  width: auto; height: auto;
  background: none;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  line-height: .5;
  display: block;
  margin-bottom: 18px;
}
.endorsement .mark::before { content: "\201D"; }
.endorsement blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.45;
  max-width: 30ch;
  margin: 0 auto;
}
.endorsement blockquote .hl { color: var(--gold); }
.endorsement cite { display: block; margin-top: 20px; font-style: normal; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

/* ---------- Schedule ---------- */

.sched-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 4px;
}
.sched-head {
  padding: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}
.sched-head h3 { font-size: 1.2rem; }
.sched-body { padding: 12px 32px 26px; }
.sched-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: .94rem;
}
.sched-row:last-child { border-bottom: 0; }
.sched-row .day { font-weight: 700; letter-spacing: .06em; }
.sched-row .times { color: var(--ink-soft); }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  align-items: stretch;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: background .3s ease, transform .3s ease;
}
.price-card:hover { background: var(--panel-2); transform: translateY(-5px); }
.price-card.featured { background: var(--bg-deep); border-color: var(--red); }
.price-flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.25rem; }
.price-term { font-size: .72rem; color: var(--gold); letter-spacing: .22em; text-transform: uppercase; font-weight: 700; }
.price-amount { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; margin: 16px 0 6px; }
.price-amount span { font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.price-note { font-size: .82rem; color: var(--ink-soft); }
.price-list { list-style: none; margin: 24px 0 30px; display: grid; gap: 11px; flex: 1; }
.price-list li { display: flex; gap: 12px; font-size: .9rem; color: var(--ink-soft); align-items: flex-start; }
.price-list svg { color: var(--red); flex-shrink: 0; margin-top: 4px; }
.price-card.featured .price-list li { color: var(--cream); }

/* ---------- Coaches ---------- */

.coach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.coach-card { text-decoration: none; }
.coach-card .media { aspect-ratio: 4 / 5; margin-bottom: 18px; }
.coach-card h3 { font-size: 1.1rem; }
.coach-role { color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; margin: 6px 0 10px; }
.coach-card p { color: var(--ink-soft); font-size: .9rem; }

.coach-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(36px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--line);
}
.coach-row:last-child { border-bottom: 0; }
.coach-row .media { aspect-ratio: 4 / 5; }
.coach-row h3 { font-size: 1.7rem; margin-bottom: 6px; }
.coach-row .coach-role { margin-bottom: 16px; }
.coach-row p + p { margin-top: 12px; }
.coach-row p { color: var(--ink-soft); }

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

.faq-list { display: grid; gap: 4px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  color: var(--cream);
}
.faq-q .chev {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
  display: grid;
  place-items: center;
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.faq-item.open .chev { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.2, .7, .2, 1); }
.faq-a-inner { padding: 0 28px 26px; color: var(--ink-soft); }
.faq-a-inner p + p { margin-top: 10px; }
.faq-a-inner a { color: var(--red); font-weight: 700; }

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

.cta-band {
  background:
    radial-gradient(90% 150% at 85% 0%, rgba(225, 20, 0, .32), transparent 55%),
    radial-gradient(70% 120% at 10% 100%, rgba(225, 61, 0, .12), transparent 55%),
    var(--bg-deep);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(56px, 8vw, 100px) clamp(28px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { max-width: 54ch; margin: 0 auto 34px; color: var(--ink-soft); }
.cta-band .sub { margin-top: 22px; font-size: .84rem; color: var(--ink-soft); }
.cta-band .sub a { color: var(--cream); font-weight: 700; }

/* ---------- Page hero (interior) ---------- */

.page-hero {
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.breadcrumbs { font-size: .72rem; color: var(--ink-soft); margin-bottom: 26px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { margin: 0 10px; color: var(--line); }
.page-hero h1 { max-width: 18ch; margin-bottom: 20px; text-wrap: balance; }
.page-hero .lead { max-width: 62ch; }

/* section band fix: interior sections that used light paper backgrounds */
main .section[style*="--paper"] { border-color: var(--line); }

/* ---------- Answer box (AEO) ---------- */

.answer-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin: 28px 0;
  font-size: .98rem;
  color: var(--ink-soft);
}
.answer-box strong { color: var(--cream); }

.prose h2 { margin: clamp(40px, 6vw, 56px) 0 18px; font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--ink-soft); }
.prose ul { margin: 16px 0 16px 22px; color: var(--ink-soft); }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--red); font-weight: 700; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-deep);
  color: var(--ink-soft);
  padding: clamp(60px, 8vw, 100px) 0 40px;
  margin-top: clamp(60px, 8vw, 110px);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr 1.1fr;
  gap: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}
.footer-about { font-size: .9rem; margin-top: 18px; max-width: 34ch; }
.footer-col h4 {
  color: var(--gold);
  font-size: .68rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-col ul { list-style: none; display: grid; gap: 11px; font-size: .92rem; }
.footer-col a { color: var(--ink-soft); text-decoration: none; transition: color .2s ease; }
.footer-col a:hover { color: var(--cream); }
.footer-col address { font-style: normal; font-size: .92rem; line-height: 1.8; }
.footer-bottom {
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .74rem;
  letter-spacing: .08em;
  color: rgba(180, 169, 149, .6);
}

/* ---------- Map / contact ---------- */

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  filter: saturate(.85) contrast(1.02);
}
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  margin-bottom: 4px;
}
.contact-card h3 { margin-bottom: 14px; display: flex; align-items: center; gap: 14px; font-size: 1.1rem; }
.contact-card h3 svg { color: var(--red); }
.contact-card p, .contact-card address { color: var(--ink-soft); font-style: normal; }
.contact-card a { color: var(--red); font-weight: 700; text-decoration: none; }

/* ---------- Blog ---------- */

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: background .3s ease, transform .35s ease;
}
.blog-card:hover { background: var(--panel-2); transform: translateY(-6px); }
.blog-card .media { aspect-ratio: 16 / 7; border-radius: 0; }
.blog-card-body { padding: 30px 32px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.blog-card h3 { font-size: 1.3rem; }
.blog-card p { color: var(--ink-soft); font-size: .92rem; flex: 1; }
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
}
.cat-pill {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
}
.cat-pill.red { border-color: var(--red); color: var(--red); }
.cat-pill.ink { border-color: var(--ink-soft); color: var(--ink-soft); }

.post-hero { padding: clamp(52px, 6vw, 84px) 0 clamp(32px, 4vw, 48px); background: var(--bg-deep); border-bottom: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 56px); }
.post-hero h1 { max-width: 24ch; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.post-hero .blog-meta { margin: 24px 0 0; }

.post-body { padding-bottom: clamp(40px, 6vw, 70px); }
.post-body .prose { font-size: 1.02rem; }
.post-body .prose > p:first-of-type { font-size: 1.14rem; color: var(--cream); }
.post-body .prose h3 { margin: 28px 0 10px; }
.post-body .prose blockquote {
  border-left: 3px solid var(--red);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin: 26px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--cream);
}

.author-box {
  margin-top: 48px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.author-box .logo-mark { width: 56px; height: 56px; font-size: 1.2rem; }
.author-box strong { display: block; font-size: 1.02rem; color: var(--cream); }
.author-box p { color: var(--ink-soft); font-size: .88rem; margin-top: 4px; }

.post-nav-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-group > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}
.reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-group.in > *:nth-child(2) { transition-delay: .12s; }
.reveal-group.in > *:nth-child(3) { transition-delay: .24s; }
.reveal-group.in > *:nth-child(4) { transition-delay: .36s; }
.reveal-group.in > *:nth-child(5) { transition-delay: .48s; }
.reveal-group.in > *:nth-child(6) { transition-delay: .6s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-group > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .programs-grid, .steps-grid, .quote-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .coach-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-shell { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; border-left: 0; border-top: 1px solid var(--line); }
  .hero-side-card { border-bottom: 0; border-right: 1px solid var(--line); padding: 26px 28px; }
  .hero-side-card:last-child { border-right: 0; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(340px, 86vw);
    background: var(--bg-deep);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 110px 36px 36px;
    gap: 10px;
    transform: translateX(105%);
    transition: transform .4s cubic-bezier(.2, .7, .2, 1);
    box-shadow: -30px 0 60px rgba(0, 0, 0, .5);
    z-index: 90;
  }
  .main-nav > a { font-size: 1rem; width: 100%; }
  .nav-open .main-nav { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .7); }
  /* The header blur made the menu panel only as tall as the header, so the
     page showed through. On phones the header is solid and the panel is full height. */
  .site-header { background: #0A0203; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .main-nav { height: 100vh; height: 100dvh; overflow-y: auto; }
  .main-nav > a { color: var(--cream); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav > a.active { color: var(--red); }
  .main-nav > a.nav-cta { border-bottom: 0; color: #fff; padding: 14px 22px; width: 100%; text-align: center; }

  .nav-cta { margin: 16px 0 0; }
  .nav-toggle { display: grid; position: relative; z-index: 95; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .coach-row { grid-template-columns: 1fr; }
  .coach-row .media { max-width: 380px; }
}

@media (max-width: 620px) {
  .programs-grid, .steps-grid, .quote-grid, .pricing-grid, .why-grid, .coach-grid, .footer-grid, .blog-grid { grid-template-columns: 1fr; }
  .sched-row { grid-template-columns: 1fr; gap: 4px; }
  .btn { width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .topbar { font-size: .7rem; }
  .hero-side { flex-direction: column; }
  .hero-side-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .program-card, .program-card-body { min-height: 380px; }
}

/* secondary program card (BJJ band) overrides */
.program-card.secondary p { max-height: none; opacity: 1; }
.program-card.secondary h3::after { display: none; }
.program-card.secondary:hover { background: var(--panel-2); }

/* ---------- Brand logo image ---------- */
.logo-img { height: 44px; width: auto; display: block; }
.logo-img-lg { height: 56px; }
.hero-bg { background: #000; }
.hero-bg img { object-fit: contain; object-position: 78% center; }
@media (max-width: 860px) {
  .logo-img { height: 36px; }
  .hero-bg img { object-position: center bottom; opacity: .55; }
}

/* program tiles: title band covers the slot, hide placeholder label */
.program-card .media::after { display: none; }

/* Spark form slot on contact.html#book */
.spark-form-slot { border: 2px dashed var(--line); border-radius: 12px; padding: 28px 22px; min-height: 120px; display: grid; place-items: center; }
.spark-form-slot iframe { width: 100%; min-height: 640px; border: 0; }

/* Keep the off-screen mobile menu and marquee from causing sideways scroll on phones */
html, body { overflow-x: clip; }

/* Hero photo: keep it behind the text (the generic child rule was overriding it) */
.hero-main > .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { object-fit: cover; object-position: 65% 35%; }
.hero-bg::before { background: linear-gradient(100deg, rgba(10,2,3,.96) 0%, rgba(10,2,3,.86) 40%, rgba(10,2,3,.35) 75%, rgba(10,2,3,.55) 100%); }
@media (max-width: 860px) { .hero-bg img { opacity: .5; object-position: center; } }

/* Hero background video: muted loop, poster shows first; reduced motion and slow data get the still */
.hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 40%; z-index: 1; filter: saturate(.85) contrast(1.05) brightness(.85); }
.hero-bg .hero-fallback { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-bg video { display: none; } .hero-bg .hero-fallback { display: block; } }
@media (max-width: 860px) { .hero-bg video { opacity: .5; object-position: center; } }

/* Spark trial form, styled to match the site */
.spark-form { text-align: left; }
.spark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.spark-form input[type="text"], .spark-form input[type="tel"], .spark-form input[type="email"] {
  width: 100%; font: inherit; font-size: 1rem; color: #fff; background: rgba(255,255,255,.04);
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; min-height: 50px; }
.spark-form input::placeholder { color: rgba(245,242,240,.5); }
.spark-form input:focus { outline: none; border-color: var(--red); background: rgba(255,255,255,.07); }
.spark-form .ab-optin-submit-button { width: 100%; justify-content: center; cursor: pointer; border: 0; }
.spark-form .form-note { text-align: center; margin: 12px auto 0; font-size: .85rem; color: var(--ink-soft); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 600px) { .spark-grid { grid-template-columns: 1fr; } }

/* Google rating strip (fills from the FFMA settings in js/main.js) */
.google-strip { margin-top: 36px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px 28px; align-items: center; padding: 22px 28px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 14px; }
.google-strip[hidden] { display: none; }
.gs-score { display: flex; align-items: baseline; gap: 10px; }
.gs-num { font-size: 2.4rem; font-weight: 800; color: var(--cream); line-height: 1; }
.gs-score .stars { color: var(--gold); letter-spacing: 3px; }
.gs-text { margin: 0; color: var(--cream); }
.gs-links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.gs-write { font-size: .82rem; color: var(--ink-soft); }
.gs-write[hidden] { display: none; }
@media (max-width: 760px) { .google-strip { grid-template-columns: 1fr; text-align: left; } .gs-links { align-items: flex-start; } }

/* Blog post lead photo */
.post-photo { margin: 0 auto clamp(32px, 4vw, 48px); }
.post-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
