/* nkba-public.css
 * Marketing surface components. Built on nkba-tokens.css — do NOT redefine
 * token values here. If a value is missing from tokens, add it there first.
 *
 * Mobile-first. Two breakpoints: tablet ≥720px, desktop ≥1024px.
 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-fg); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--color-accent-dark); }
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Layout primitives ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}
.container--prose { max-width: var(--container-prose); }

.section {
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}
.section--soft { background: var(--color-bg-soft); }
.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-fg-inverse);
}
.section--dark .section-title,
.section--dark h2,
.section--dark h3 { color: var(--color-fg-inverse); }
.section--dark .muted { color: rgba(255,255,255,0.7); }

.section-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-5);
  color: var(--color-fg);
}
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-fg-muted);
  margin: 0 0 var(--space-2);
}
.muted { color: var(--color-fg-muted); }
.lead { font-size: var(--text-lg); color: var(--color-fg-muted); }

/* ── Nav bar (sticky top, shared across all marketing pages) ───────────── */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.nav-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 60px;
}
.nav-bar__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-fg);
}
.nav-bar__mark {
  height: 38px;
  width: 38px;
  display: block;
  flex-shrink: 0;
}
.nav-bar__name {
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  letter-spacing: -0.025em;
  line-height: 1;
  color: #000;
}
.nav-bar__links {
  display: none;
  gap: var(--space-5);
}
.nav-bar__links a {
  text-decoration: none;
  font-weight: var(--weight-medium);
  color: var(--color-fg);
  padding: var(--space-2) 0;
}
.nav-bar__links a[aria-current="page"] { color: var(--color-accent-dark); }
.nav-bar__cta { display: flex; align-items: center; gap: var(--space-2); }
.nav-bar__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: var(--text-base);
}
.nav-bar__mobile {
  display: none;
  border-top: 1px solid var(--color-border);
  padding: var(--space-3) 0;
}
.nav-bar__mobile.is-open { display: block; }
.nav-bar__mobile a {
  display: block;
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  font-weight: var(--weight-medium);
  color: var(--color-fg);
  min-height: 44px;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-fg-inverse);
}
.btn-primary:hover { background: var(--color-accent-dark); color: var(--color-fg-inverse); }

.btn-secondary {
  background: transparent;
  color: var(--color-fg);
  border-color: var(--color-border-strong);
}
.btn-secondary:hover { border-color: var(--color-fg); }

.btn--on-dark { color: var(--color-fg-inverse); border-color: rgba(255,255,255,0.4); }
.btn--on-dark:hover { border-color: var(--color-fg-inverse); }

.btn--full { width: 100%; }
.btn--lg { font-size: var(--text-lg); padding: var(--space-4) var(--space-6); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--color-bg-dark);
  color: var(--color-fg-inverse);
  overflow: hidden;
  /* Placeholder: court-line gradient. Swap with photo by replacing this
   * background-image rule once Garrett provides the seasonal asset. */
  background-image:
    linear-gradient(135deg, rgba(15,17,21,0.85), rgba(15,17,21,0.65)),
    repeating-linear-gradient(
      90deg,
      rgba(35,168,224,0.08) 0 1px,
      transparent 1px 80px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(35,168,224,0.06) 0 1px,
      transparent 1px 80px
    );
}
.hero__inner {
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
  max-width: var(--container-prose);
  margin: 0 auto;
  text-align: left;
}
.hero__eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: var(--weight-bold);
  margin: 0 0 var(--space-3);
}
.hero__title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-4);
}
.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  margin: 0 0 var(--space-6);
  max-width: 32rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow);
}

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

/* Program tile (two-up on home) */
.program-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.program-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.program-card__eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-fg-muted);
  font-weight: var(--weight-bold);
}
.program-card__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  margin: 0;
}
.program-card__price {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-fg);
}
.program-card__meta { color: var(--color-fg-muted); font-size: var(--text-sm); }
.program-card__cta {
  margin-top: auto;
  align-self: flex-start;
  color: var(--color-accent-dark);
  font-weight: var(--weight-bold);
  text-decoration: none;
}
.program-card__cta::after { content: " \2192"; }

/* Pricing tier cards (PD program page) */
.tier-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
.tier-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: relative;
}
/* Featured tier highlight — uses a corner-anchored badge + subtle elevation
 * instead of an orange border (which historically read as a "selected" radio
 * state and confused parents into thinking the other tiers were disabled).
 * The eyebrow text already says "MOST PICKED"; this just lifts the card. */
.tier-card--featured {
  border-color: var(--color-border);
  box-shadow: 0 8px 24px -8px rgba(241, 88, 34, 0.18), 0 2px 6px rgba(0,0,0,0.06);
  background: #fff;
}
.tier-card--featured::before {
  content: "Most picked";
  position: absolute;
  top: -10px;
  left: var(--space-5);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier-card__name { font-size: var(--text-lg); font-weight: var(--weight-bold); margin: 0; }
.tier-card__price {
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  line-height: var(--leading-tight);
}
.tier-card__price small { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-fg-muted); }
.tier-card__price-was {
  text-decoration: line-through;
  color: var(--color-fg-muted);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  margin-right: var(--space-2);
}
.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--color-fg-muted);
  font-size: var(--text-sm);
}
.tier-card li::before { content: "•  "; color: var(--color-accent); font-weight: var(--weight-bold); }

/* Per-card CTA — anchored at the bottom of each tier card so the buttons
 * align horizontally across cards even when feature lists differ in length.
 * margin-top: auto pushes it down when the card is a flex column. */
.tier-card__cta {
  margin-top: auto;
  align-self: stretch;
  text-align: center;
  white-space: nowrap;
}

/* Trainer card (mini + full) */
.trainer-strip {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, 1fr);
}
.trainer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
}
.trainer-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  color: var(--color-fg-inverse);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
}
.trainer-card__name { font-weight: var(--weight-bold); }
.trainer-card__role { color: var(--color-fg-muted); font-size: var(--text-sm); }
.trainer-card--full {
  align-items: flex-start;
  text-align: left;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: var(--color-bg);
}
.trainer-card--full .trainer-card__avatar { margin-bottom: var(--space-2); }
/* When the avatar slot is a real photo (img), crop to the circle and align faces near top. */
img.trainer-card__avatar { object-fit: cover; object-position: center 20%; }
.trainer-card__bio { color: var(--color-fg-muted); font-size: var(--text-sm); }
.trainer-card__quote {
  font-style: italic;
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-3);
  margin-top: var(--space-3);
  color: var(--color-fg);
}

/* Testimonial */
.testimonial {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.testimonial__quote { font-size: var(--text-lg); line-height: 1.45; }
.testimonial__author { font-weight: var(--weight-bold); font-size: var(--text-sm); }
.testimonial__author small { display: block; color: var(--color-fg-muted); font-weight: var(--weight-regular); }

/* ── Split-asymmetric hero (home) ────────────────────────────────────────
 * Orange-to-black gradient panel left + photo right. Stacks on mobile
 * (panel on top, photo below). Per Designer hero spec. */
.hero-split {
  background: #000;
  color: #fff;
  overflow: hidden;
}
.hero-split__grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 460px;
}
@media (min-width: 720px) {
  .hero-split__grid { grid-template-columns: 5fr 7fr; min-height: 540px; }
}
@media (min-width: 1024px) {
  .hero-split__grid { grid-template-columns: 1fr 1fr; min-height: 600px; }
}
.hero-split__panel {
  background: linear-gradient(135deg, var(--color-accent) 0%, #c8470b 35%, #000 100%);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
}
@media (min-width: 720px) {
  .hero-split__panel { padding: var(--space-7) var(--space-6); }
}
@media (min-width: 1024px) {
  .hero-split__panel { padding: var(--space-8); }
}
.hero-split__eyebrow {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-split__title {
  font-size: 2rem;
  font-weight: var(--weight-black);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
@media (min-width: 720px) {
  .hero-split__title { font-size: 2.5rem; }
}
@media (min-width: 1024px) {
  .hero-split__title { font-size: 3.25rem; }
}
.hero-split__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.92);
  margin: 0;
  max-width: 36rem;
  line-height: 1.45;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.hero-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.hero-split__image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: 60% 60%;
  display: block;
}
@media (max-width: 719px) {
  .hero-split__image { object-position: 50% 65%; min-height: 260px; }
}
/* Hero-specific button overrides for high contrast on the orange-to-black panel. */
.hero-split .btn-primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.hero-split .btn-primary:hover { background: #f4f4f5; color: #000; }
.hero-split .btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.hero-split .btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ── Coaching band — full-bleed mid-page band (hero-coaching.jpg) ────────
 * Per Designer spec: 360px desktop / 280px mobile with corner radial
 * vignette + optional single-line right-aligned white caption. */
.coaching-band {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #000;
}
@media (min-width: 720px) {
  .coaching-band { height: 360px; }
}
.coaching-band__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  display: block;
}
.coaching-band__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.coaching-band__caption {
  position: absolute;
  right: var(--space-5);
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  max-width: 60%;
  text-align: right;
  margin: 0;
}
@media (min-width: 720px) {
  .coaching-band__caption {
    font-size: var(--text-2xl);
    right: var(--space-7);
    max-width: 45%;
  }
}

/* ── Pipeline section — three Will frames + JJ second-proof row ─────────
 * Per Strategist recommendation: showcase the closed-loop pipeline as
 * concrete proof. */
.pipeline__grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  margin-top: var(--space-6);
}
@media (min-width: 720px) {
  .pipeline__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
}
.pipeline__frame { display: flex; flex-direction: column; gap: var(--space-3); }
.pipeline__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-lg);
  background: var(--color-bg-soft);
  display: block;
}
.pipeline__year {
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}
.pipeline__caption {
  color: var(--color-fg);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  margin: 0;
  line-height: 1.4;
}
.pipeline__parallel {
  margin-top: var(--space-7);
  padding: var(--space-5);
  background: #000;
  color: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-direction: column;
  text-align: center;
}
@media (min-width: 720px) {
  .pipeline__parallel {
    flex-direction: row;
    padding: var(--space-6);
    text-align: left;
  }
}
.pipeline__parallel-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
}
@media (min-width: 720px) {
  .pipeline__parallel-photo { width: 120px; height: 120px; }
}
.pipeline__parallel-text {
  font-size: var(--text-lg);
  margin: 0;
  line-height: 1.5;
}
.pipeline__parallel-text strong { color: var(--color-accent); }

/* Founders section — ONE horizontal family image anchors both bios.
 * Garrett's bio leads (full weight), Ellen's bio sits paired underneath
 * (smaller). No separate photos per founder — the family image at top
 * represents both. */
.founders-section { padding: var(--space-7) 0; }
.founders-section__photo {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  /* Bias the crop toward the top so heads stay in frame on the wide aspect. */
  object-position: center 15%;
  background: var(--color-bg-soft);
}
@media (min-width: 720px) {
  .founders-section__photo { aspect-ratio: 21 / 9; margin-bottom: var(--space-7); }
}
.founder-bio { max-width: var(--container-prose); margin: 0 auto; }
.founder-bio + .founder-bio {
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
}
.founder-bio__eyebrow {
  color: var(--color-fg-muted);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: var(--weight-medium);
  margin: 0 0 var(--space-3);
}
.founder-bio__name {
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 var(--space-3);
}
@media (min-width: 720px) {
  .founder-bio__name { font-size: var(--text-4xl); }
}
.founder-bio--cofounder .founder-bio__name { font-size: var(--text-xl); }
@media (min-width: 720px) {
  .founder-bio--cofounder .founder-bio__name { font-size: var(--text-2xl); }
}
.founder-bio__lede {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  line-height: 1.3;
  margin: 0 0 var(--space-4);
}
.founder-bio__quote {
  font-style: italic;
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-4);
  margin: var(--space-3) 0 0;
  color: var(--color-fg-muted);
  font-size: var(--text-lg);
}

/* Trainer bricks — full-width horizontal section per trainer. Big photo on
 * one side, copy on the other. Alternates left/right for visual rhythm.
 * Replaces the old 2-up trainer-card grid. */
.trainer-brick { padding: var(--space-7) 0; border-top: 1px solid var(--color-border); }
.trainer-brick:first-of-type { border-top: 0; padding-top: var(--space-5); }
.trainer-brick__grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .trainer-brick__grid { grid-template-columns: 5fr 7fr; gap: var(--space-7); }
  .trainer-brick--reverse .trainer-brick__grid { grid-template-columns: 7fr 5fr; }
  .trainer-brick--reverse .trainer-brick__photo { order: 2; }
  .trainer-brick--reverse .trainer-brick__copy { order: 1; }
}
.trainer-brick__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  background: var(--color-bg-soft);
}
.trainer-brick__copy { display: flex; flex-direction: column; gap: var(--space-3); }
.trainer-brick__role {
  color: var(--color-fg-muted);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: var(--weight-medium);
  margin: 0;
}
.trainer-brick__name {
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  margin: 0;
}
@media (min-width: 720px) {
  .trainer-brick__name { font-size: var(--text-3xl); }
}
.trainer-brick__bio {
  color: var(--color-fg);
  font-size: var(--text-lg);
  line-height: 1.55;
  margin: 0;
}
.trainer-brick__quote {
  font-style: italic;
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-4);
  margin: var(--space-2) 0 0;
  color: var(--color-fg-muted);
}

/* Why-we-built closer — full-bleed black moment near the bottom of /about.
 * Single big statement with an orange accent on the headline. */
.section--why-built {
  background: #000;
  color: var(--color-fg-inverse);
  padding: var(--space-8) 0;
}
.section--why-built .section-eyebrow {
  color: var(--color-accent);
}
.why-built__statement {
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: var(--space-3) 0 var(--space-4);
  color: #fff;
}
@media (min-width: 720px) {
  .why-built__statement { font-size: var(--text-3xl); }
}
.why-built__statement .accent { color: var(--color-accent); }
.why-built__follow { color: rgba(255,255,255,0.78); margin: 0; max-width: 38rem; }

/* Camp sold-out band — sits immediately under /about-camp hero.
 * Full-bleed NKBA orange so a parent who arrived expecting to enroll sees
 * the status before they scroll. Bold headline, secondary line carries the
 * 2027 early-notify CTA. */
.camp-soldout {
  background: var(--color-accent);
  color: #fff;
  padding: var(--space-5) 0;
}
.camp-soldout__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 52rem;
}
.camp-soldout__badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(0,0,0,0.22);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0;
}
.camp-soldout__headline {
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
}
@media (min-width: 720px) {
  .camp-soldout__headline { font-size: var(--text-3xl); }
}
.camp-soldout__body {
  color: rgba(255,255,255,0.94);
  margin: 0;
  max-width: 42rem;
  font-size: var(--text-base);
}
.camp-soldout__body a {
  color: #fff;
  text-decoration: underline;
  font-weight: var(--weight-bold);
}
.camp-soldout__body a:hover { text-decoration: none; }

/* ── Testimonial carousel — crossfade + dots + auto-advance ────────────
 * Per Designer spec: cross-fade with 4px slide-from-right, 7s auto-advance,
 * pause on hover/focus/document-hidden, pagination dots (44px tap targets),
 * prev/next arrows on ≥720px only. prefers-reduced-motion disables auto
 * and transitions.
 * Grid-area: stack pattern lets all slides occupy the same cell — the
 * viewport sizes to the tallest slide, no JS height measurement needed. */
.testimonial-carousel {
  position: relative;
  margin: var(--space-5) 0 0;
  padding: 0 var(--space-5);
}
.testimonial-carousel__viewport {
  display: grid;
  grid-template-areas: "stack";
  max-width: 56rem;
  margin: 0 auto;
}
.testimonial-carousel__slide {
  grid-area: stack;
  margin: 0;
  padding: var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  opacity: 0;
  transform: translateX(4px);
  visibility: hidden;
  transition: opacity 300ms var(--ease-out-soft),
              transform 300ms var(--ease-out-soft),
              visibility 0s linear 300ms;
}
.testimonial-carousel__slide.is-active {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  z-index: 2;
  transition: opacity var(--transition-slow),
              transform var(--transition-slow),
              visibility 0s;
}
.testimonial-carousel__quote {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  line-height: 1.4;
  margin: 0;
  color: var(--color-fg);
}
@media (min-width: 720px) {
  .testimonial-carousel__quote { font-size: var(--text-2xl); line-height: 1.35; }
}
.testimonial-carousel__author {
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  margin: 0;
}
.testimonial-carousel__author small {
  display: block;
  color: var(--color-fg-muted);
  font-weight: var(--weight-regular);
  margin-top: var(--space-1);
}
/* Pagination dots — 44px tap target, 12px visible dot. */
.testimonial-carousel__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.testimonial-carousel__dot {
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-carousel__dot::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-border-strong);
  transition: background 200ms var(--ease-out-soft);
}
.testimonial-carousel__dot.is-active::before { background: var(--color-accent); }
.testimonial-carousel__dot:hover::before { background: var(--color-fg-muted); }
.testimonial-carousel__dot.is-active:hover::before { background: var(--color-accent); }
.testimonial-carousel__dot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 50%;
}
/* Prev/Next arrows — hidden on mobile, ≥720px shown. */
.testimonial-carousel__nav {
  display: none;
  position: absolute;
  top: calc(50% - var(--space-5));
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  color: var(--color-fg);
}
@media (min-width: 720px) {
  .testimonial-carousel__nav {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.testimonial-carousel__nav:hover { background: var(--color-bg-soft); }
.testimonial-carousel__nav:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.testimonial-carousel__nav--prev { left: 0; }
.testimonial-carousel__nav--next { right: 0; }
@media (prefers-reduced-motion: reduce) {
  .testimonial-carousel__slide {
    transition: none;
    transform: none;
  }
}

/* Horizontal scroll-snap testimonials — bigger quotes, swipe to see more.
 * Used on the home page where the testimonial story matters more than density. */
.testimonial-scroll {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--space-5);
  padding: var(--space-3) var(--space-5) var(--space-6);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border-strong) transparent;
}
.testimonial-scroll::-webkit-scrollbar { height: 6px; }
.testimonial-scroll::-webkit-scrollbar-track { background: transparent; }
.testimonial-scroll::-webkit-scrollbar-thumb {
  background: var(--color-border-strong);
  border-radius: 3px;
}
.testimonial-scroll > .testimonial {
  flex: 0 0 88%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  padding: var(--space-6);
  margin: 0;
}
.testimonial-scroll .testimonial__quote {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  line-height: 1.4;
}
@media (min-width: 720px) {
  .testimonial-scroll > .testimonial { flex-basis: 62%; }
  .testimonial-scroll .testimonial__quote { font-size: var(--text-2xl); line-height: 1.35; }
}
@media (min-width: 1024px) {
  .testimonial-scroll > .testimonial { flex-basis: 48%; }
}
.testimonial-scroll-hint {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-fg-muted);
  margin-top: var(--space-2);
}
@media (min-width: 1024px) {
  /* On wide screens we don't need a swipe hint — both cards visible at once */
  .testimonial-scroll-hint { display: none; }
}

/* Camp tile */
.camp-tile {
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: linear-gradient(135deg, #1a1f2e, #0f1115);
  color: var(--color-fg-inverse);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.camp-tile__title { font-size: var(--text-2xl); font-weight: var(--weight-black); margin: 0; }
.camp-tile__sub { color: rgba(255,255,255,0.8); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: var(--space-3); }
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-4);
  background: var(--color-bg);
}
.faq details[open] { border-color: var(--color-border-strong); }
.faq summary {
  cursor: pointer;
  font-weight: var(--weight-bold);
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: var(--weight-black);
  color: var(--color-fg-muted);
  font-size: var(--text-xl);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > *:not(summary) {
  margin-top: var(--space-3);
  color: var(--color-fg-muted);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.8);
  padding: var(--space-7) 0 var(--space-6);
  font-size: var(--text-sm);
}
.footer a { color: var(--color-fg-inverse); }
.footer__grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
.footer__col h4 {
  color: var(--color-fg-inverse);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 var(--space-3);
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.footer__bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  color: rgba(255,255,255,0.6);
}

/* ── Sticky mobile CTA (program pages) ───────────────────────────────────── */
.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 40;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-lg);
}
.sticky-cta .btn { width: 100%; }

/* ── Soft-retire banner (skills/elite app pages) ─────────────────────────── */
.retire-banner {
  background: #fff7e6;
  border-bottom: 1px solid #f4c87a;
  color: #6b4a08;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  text-align: center;
}
.retire-banner a { color: #6b4a08; font-weight: var(--weight-bold); }

/* ── Live preview row (PD program page) ──────────────────────────────────── */
.preview-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  margin-top: var(--space-4);
}
.preview-row__label { color: var(--color-fg-muted); font-size: var(--text-sm); }
.preview-row__price {
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  color: var(--color-fg);
}
.preview-row__meta {
  width: 100%;
  font-size: var(--text-sm);
  color: var(--color-fg-muted);
}

/* ── Tablet ≥720px ──────────────────────────────────────────────────────── */
@media (min-width: 720px) {
  .container { padding-left: var(--space-5); padding-right: var(--space-5); }
  .section { padding-top: var(--space-8); padding-bottom: var(--space-8); }
  .hero__inner { padding-top: var(--space-8); padding-bottom: var(--space-8); }
  .hero__title { font-size: var(--text-4xl); }

  .card-grid--2 { grid-template-columns: 1fr 1fr; }
  .tier-grid { grid-template-columns: 1fr 1fr 1fr; }
  .trainer-strip { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

  /* Mobile menu disappears, inline links show */
  .nav-bar__links { display: flex; }
  .nav-bar__menu-btn { display: none; }
  .nav-bar__mobile { display: none !important; }
}

/* ── Desktop ≥1024px ─────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  .hero__inner { max-width: var(--container-wide); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Print: collapse interactive chrome ─────────────────────────────────── */
@media print {
  .nav-bar, .sticky-cta, .footer { display: none; }
}
