/* ============================================================
   VANGUARD ACADEMY — Design System
   London BJJ · Muay Thai · Strength
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette */
  --charcoal: #15161a;
  --charcoal-2: #1b1d23;
  --charcoal-3: #23262e;
  --charcoal-4: #2d313b;
  --bone: #efeae0;
  --oxblood: #9e2b25;
  --oxblood-bright: #c2362e;
  --oxblood-deep: #7a1f1b;
  --steel: #3d6e8e;
  --steel-bright: #5a91b3;
  --chalk: #d7d2c6;

  /* Supporting */
  --surface: #1a1c22;
  --surface-2: #20232b;
  --surface-warm: #f6f2ea;
  --line: rgba(215, 210, 198, 0.12);
  --line-strong: rgba(215, 210, 198, 0.22);
  --ink-1: #efeae0;
  --ink-2: #b7b3a9;
  --ink-3: #87837b;
  --ink-on-light: #15161a;

  /* Belt colours */
  --belt-white: #efeae0;
  --belt-blue: #3d6e8e;
  --belt-purple: #6a4a8c;
  --belt-brown: #6e4a32;
  --belt-black: #0c0d10;

  /* Typography */
  --font-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Spacing rhythm (8px) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;
  --sp-8: 128px;

  /* Layout */
  --container: 1180px;
  --radius: 4px;
  --radius-lg: 10px;
  --radius-xl: 18px;

  /* Effects */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 0 1px var(--line-strong);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--charcoal);
  color: var(--ink-1);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Hex-mat texture base layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--charcoal);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(158, 43, 37, 0.10), transparent 42%),
    radial-gradient(circle at 86% 84%, rgba(61, 110, 142, 0.10), transparent 46%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cg fill='none' stroke='%23d7d2c6' stroke-opacity='0.045' stroke-width='1'%3E%3Cpath d='M28 0L56 16v34L28 66 0 50V16z'/%3E%3Cpath d='M28 66v34'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 100px;
  pointer-events: none;
}

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

::selection { background: var(--oxblood); color: var(--bone); }
:focus-visible {
  outline: 3px solid var(--steel-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--bone);
}
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.05rem; letter-spacing: 0.01em; }
p { color: var(--ink-2); }

.kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oxblood-bright);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--oxblood);
  display: inline-block;
}
.kicker.center::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--oxblood);
  display: inline-block;
}
.kicker.center { justify-content: center; }

.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--ink-1);
  line-height: 1.55;
}
.muted { color: var(--ink-3); }
.accent { color: var(--oxblood-bright); }
.mono { font-family: var(--font-mono); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-3);
}
.section { padding-block: clamp(var(--sp-6), 11vw, var(--sp-8)); }
.section-tight { padding-block: var(--sp-6); }
.section-head { max-width: 760px; margin-bottom: var(--sp-5); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: var(--sp-2); }
.section-head p { margin-top: var(--sp-2); font-size: 1.1rem; }

.grid { display: grid; gap: var(--sp-3); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
}

.divider-slash {
  height: 3px;
  width: 100%;
  background: repeating-linear-gradient(
    -60deg,
    var(--oxblood) 0 14px,
    transparent 14px 26px
  );
  opacity: 0.5;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  position: relative;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--oxblood);
  color: var(--bone);
  box-shadow: 0 8px 24px rgba(158, 43, 37, 0.32);
}
.btn-primary:hover {
  background: var(--oxblood-bright);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(158, 43, 37, 0.46);
}
.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--bone);
  background: rgba(239, 234, 224, 0.06);
  transform: translateY(-3px);
}
.btn-light {
  background: var(--bone);
  color: var(--charcoal);
}
.btn-light:hover { background: #fff; transform: translateY(-3px); }
.btn-steel { background: var(--steel); color: var(--bone); }
.btn-steel:hover { background: var(--steel-bright); transform: translateY(-3px); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 18px; font-size: 0.78rem; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-1);
  letter-spacing: 0.01em;
}
.chip svg { width: 16px; height: 16px; color: var(--oxblood-bright); }
.chip-steel svg { color: var(--steel-bright); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

.tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
  background: rgba(158, 43, 37, 0.16);
  color: var(--oxblood-bright);
  font-weight: 500;
  border: 1px solid rgba(158, 43, 37, 0.3);
}
.tag-steel { background: rgba(61, 110, 142, 0.18); color: var(--steel-bright); border-color: rgba(61, 110, 142, 0.34); }
.tag-pop { background: var(--oxblood); color: var(--bone); border-color: var(--oxblood); }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: rgba(158, 43, 37, 0.14);
  border: 1px solid rgba(158, 43, 37, 0.28);
  margin-bottom: var(--sp-2);
}
.card-icon svg { width: 26px; height: 26px; color: var(--oxblood-bright); }
.card h3 { margin-bottom: var(--sp-1); }
.card p { font-size: 0.98rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 22, 26, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--line);
  background: rgba(21, 22, 26, 0.92);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bone);
}
.brand .mark {
  width: 34px;
  height: 34px;
  flex: none;
}
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  font-weight: 400;
  margin-top: 2px;
}
.brand .brand-txt { line-height: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--oxblood);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--bone); }
.nav-cta { margin-left: var(--sp-1); }

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--bone);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.hamburger span:nth-child(1) { transform: translate(-50%, -7px); }
.hamburger span:nth-child(3) { transform: translate(-50%, 5px); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(82vw, 360px);
  background: var(--charcoal-2);
  border-left: 1px solid var(--line-strong);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  padding: calc(var(--header-h) + var(--sp-3)) var(--sp-3) var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--oxblood-bright); padding-left: 8px; }
.mobile-nav a.active::before { content: "▸ "; color: var(--oxblood); }
.mobile-nav .btn { margin-top: var(--sp-3); }
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.nav-overlay.open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(var(--sp-6), 12vw, 180px) var(--sp-7);
  overflow: hidden;
  isolation: isolate;
}
.hero-slashes {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero-slashes svg { width: 100%; height: 100%; }
.slash {
  transform-origin: center;
  animation: slashSlide 6s var(--ease) infinite;
}
.slash:nth-child(2) { animation-delay: 1.2s; }
.slash:nth-child(3) { animation-delay: 2.4s; }
.slash:nth-child(4) { animation-delay: 3.6s; }
@keyframes slashSlide {
  0%, 100% { opacity: 0.08; transform: translateX(0); }
  50% { opacity: 0.22; transform: translateX(40px); }
}
.hero-inner { max-width: 880px; position: relative; }
.hero h1 { margin: var(--sp-3) 0; }
.hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--chalk);
}
.hero .lead { max-width: 600px; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

/* Pulsing belt stripe */
.belt-pulse {
  display: flex;
  gap: 5px;
  margin-top: var(--sp-4);
  max-width: 320px;
}
.belt-pulse span {
  height: 8px;
  flex: 1;
  border-radius: 2px;
  background: var(--charcoal-4);
  position: relative;
  overflow: hidden;
}
.belt-pulse span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--oxblood);
  transform: translateX(-100%);
  animation: beltFill 3.6s var(--ease) infinite;
}
.belt-pulse span:nth-child(2)::after { animation-delay: 0.4s; }
.belt-pulse span:nth-child(3)::after { animation-delay: 0.8s; background: var(--steel); }
.belt-pulse span:nth-child(4)::after { animation-delay: 1.2s; }
.belt-pulse span:nth-child(5)::after { animation-delay: 1.6s; background: var(--belt-black); }
@keyframes beltFill {
  0% { transform: translateX(-100%); }
  40%, 60% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(var(--sp-6), 10vw, 150px) var(--sp-6);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(-60deg, rgba(158, 43, 37, 0.05) 0 2px, transparent 2px 80px),
    radial-gradient(circle at 80% 10%, rgba(61, 110, 142, 0.12), transparent 50%);
}
.page-hero h1 { margin: var(--sp-2) 0; font-size: clamp(2.4rem, 6vw, 4.4rem); }
.page-hero .lead { max-width: 640px; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.breadcrumb a:hover { color: var(--oxblood-bright); }
.breadcrumb span { color: var(--oxblood-bright); }

/* ---------- Trust strip ---------- */
.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.trust-item {
  background: var(--charcoal);
  padding: var(--sp-3);
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-item svg { width: 30px; height: 30px; color: var(--oxblood-bright); flex: none; }
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--bone);
}
.trust-item span { font-size: 0.8rem; color: var(--ink-3); }
@media (max-width: 820px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ---------- Discipline preview cards ---------- */
.disc-card {
  display: block;
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: var(--sp-3);
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.disc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.6;
  transition: opacity 0.4s, transform 0.6s var(--ease);
}
.disc-card.bjj::before {
  background:
    repeating-linear-gradient(45deg, rgba(61,110,142,0.16) 0 18px, transparent 18px 36px),
    linear-gradient(160deg, var(--surface-2), var(--charcoal));
}
.disc-card.muay::before {
  background:
    repeating-linear-gradient(-45deg, rgba(158,43,37,0.18) 0 18px, transparent 18px 36px),
    linear-gradient(160deg, var(--surface-2), var(--charcoal));
}
.disc-card.strength::before {
  background:
    radial-gradient(circle at 30% 30%, rgba(215,210,198,0.1), transparent 40%),
    linear-gradient(160deg, var(--surface-2), var(--charcoal));
}
.disc-card.kids::before {
  background:
    repeating-linear-gradient(90deg, rgba(106,74,140,0.16) 0 16px, transparent 16px 32px),
    linear-gradient(160deg, var(--surface-2), var(--charcoal));
}
.disc-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.disc-card:hover::before { opacity: 0.9; transform: scale(1.04); }
.disc-card > * { position: relative; z-index: 1; }
.disc-card .disc-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--oxblood-bright);
  letter-spacing: 0.1em;
}
.disc-card h3 { margin: var(--sp-1) 0; }
.disc-card p { font-size: 0.92rem; margin-bottom: var(--sp-3); }
.disc-card .disc-link {
  position: absolute;
  bottom: var(--sp-3);
  left: var(--sp-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bone);
}
.disc-card .disc-link svg { width: 16px; transition: transform 0.25s var(--ease); }
.disc-card:hover .disc-link svg { transform: translateX(5px); }

/* ---------- Tale of the tape / stats ---------- */
.tape {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tape-head {
  background: var(--charcoal-2);
  padding: var(--sp-2) var(--sp-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.tape-head .mono { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--ink-3); text-transform: uppercase; }
.tape-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.tape-cell {
  padding: var(--sp-4) var(--sp-2);
  text-align: center;
  border-right: 1px solid var(--line);
  position: relative;
}
.tape-cell:last-child { border-right: none; }
.tape-cell .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--bone);
  line-height: 1;
  display: block;
}
.tape-cell .num .unit { color: var(--oxblood-bright); }
.tape-cell .label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: var(--sp-1);
  display: block;
}
@media (max-width: 760px) {
  .tape-grid { grid-template-columns: repeat(2, 1fr); }
  .tape-cell:nth-child(2) { border-right: none; }
  .tape-cell:nth-child(1), .tape-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* Tale-of-the-tape comparison (boxing style) */
.tote {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tote-side { padding: var(--sp-3); }
.tote-side.left { text-align: right; }
.tote-mid {
  background: var(--charcoal-2);
  display: flex;
  flex-direction: column;
}
.tote-row {
  display: contents;
}
.tote-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: var(--sp-2) var(--sp-3);
  text-align: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  min-width: 130px;
}
.tote-val {
  padding: var(--sp-2) var(--sp-3);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--bone);
  display: flex;
  align-items: center;
  font-size: 1rem;
}
.tote-val.left { justify-content: flex-end; text-align: right; }
.tote-head {
  padding: var(--sp-3);
  border-bottom: 1px solid var(--line);
}
.tote-head h3 { font-size: 1.3rem; }
.tote-head .mono { font-size: 0.7rem; color: var(--oxblood-bright); letter-spacing: 0.14em; }
@media (max-width: 700px) {
  .tote-label { min-width: 90px; font-size: 0.56rem; }
  .tote-val { font-size: 0.82rem; padding: var(--sp-1) var(--sp-2); }
}

/* ---------- Belt grading row ---------- */
.grading {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.grading-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.belt {
  position: relative;
  padding: var(--sp-4) var(--sp-2) var(--sp-3);
  text-align: center;
  border-right: 1px solid rgba(0,0,0,0.4);
  transition: transform 0.3s var(--ease);
  overflow: hidden;
}
.belt:last-child { border-right: none; }
.belt:hover { transform: translateY(-4px); }
.belt::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 16px;
}
.belt::after {
  content: "";
  position: absolute;
  right: 18%; bottom: 0;
  width: 22px; height: 16px;
  background: var(--charcoal);
  opacity: 0.85;
}
.belt.b-white::before { background: var(--belt-white); }
.belt.b-blue::before { background: var(--belt-blue); }
.belt.b-purple::before { background: var(--belt-purple); }
.belt.b-brown::before { background: var(--belt-brown); }
.belt.b-black::before { background: var(--belt-black); }
.belt .b-name {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--bone);
}
.belt .b-meta {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-top: 6px;
  display: block;
}
@media (max-width: 700px) {
  .grading-row { grid-template-columns: 1fr; }
  .belt { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.4); }
  .belt::before { height: 10px; }
  .belt::after { height: 10px; }
}

/* Belt-stripe progress bar (generic) */
.belt-bar {
  height: 10px;
  border-radius: 3px;
  background: var(--charcoal-4);
  position: relative;
  overflow: hidden;
}
.belt-bar > i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--oxblood), var(--oxblood-bright));
}
.belt-bar.steel > i { background: linear-gradient(90deg, var(--steel), var(--steel-bright)); }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  position: relative;
}
.quote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--oxblood);
  opacity: 0.5;
  position: absolute;
  top: 6px;
  left: var(--sp-3);
  line-height: 1;
}
.quote blockquote {
  font-size: 1.02rem;
  color: var(--ink-1);
  margin: var(--sp-3) 0 var(--sp-3);
  position: relative;
  line-height: 1.6;
}
.quote .who {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: var(--sp-2);
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--bone);
  flex: none;
  background: linear-gradient(140deg, var(--oxblood), var(--oxblood-deep));
}
.avatar.steel { background: linear-gradient(140deg, var(--steel), #2a5169); }
.avatar.purple { background: linear-gradient(140deg, var(--belt-purple), #4a3163); }
.quote .who strong { display: block; font-size: 0.92rem; color: var(--bone); font-weight: 600; }
.quote .who span { font-size: 0.78rem; color: var(--ink-3); }
.stars { display: flex; gap: 3px; }
.stars svg { width: 15px; height: 15px; color: var(--oxblood-bright); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: clamp(var(--sp-5), 7vw, var(--sp-7)) var(--sp-4);
  text-align: center;
  background: linear-gradient(135deg, var(--oxblood-deep), var(--charcoal) 70%);
  border: 1px solid var(--line-strong);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-60deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 40px);
  pointer-events: none;
}
.cta-band h2 { position: relative; margin-bottom: var(--sp-2); }
.cta-band p { position: relative; max-width: 560px; margin: 0 auto var(--sp-4); color: var(--chalk); }
.cta-band .hero-ctas { position: relative; justify-content: center; }

/* ---------- Services rows ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}
.service-row:hover {
  transform: translateX(6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.service-row.popular {
  border-color: var(--oxblood);
  box-shadow: 0 0 0 1px var(--oxblood), 0 14px 40px rgba(158,43,37,0.18);
}
.service-row .s-main { min-width: 0; }
.service-row .s-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.service-row h3 { font-size: 1.3rem; }
.service-row .s-meta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--steel-bright);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-row .s-meta svg { width: 15px; height: 15px; }
.service-row p { font-size: 0.95rem; margin-top: 6px; }
.service-row .s-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
}
.service-row .price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--bone);
  line-height: 1;
}
.service-row .price small { font-size: 0.95rem; color: var(--ink-3); font-weight: 500; }
.service-row .price.free { color: var(--oxblood-bright); }
@media (max-width: 640px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row .s-side { align-items: flex-start; text-align: left; flex-direction: row; justify-content: space-between; width: 100%; }
}

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: var(--sp-3) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--bone);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--oxblood-bright); }
.faq-q .ico {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex: none;
  position: relative;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.faq-q .ico::before, .faq-q .ico::after {
  content: "";
  position: absolute;
  background: var(--bone);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.faq-q .ico::before { width: 12px; height: 2px; }
.faq-q .ico::after { width: 2px; height: 12px; }
.faq-q[aria-expanded="true"] .ico { background: var(--oxblood); border-color: var(--oxblood); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .ico::after { transform: scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a-inner { padding-bottom: var(--sp-3); }
.faq-a p { font-size: 1rem; max-width: 720px; }

/* ---------- About story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--sp-5);
  align-items: start;
}
@media (max-width: 880px) { .story-grid { grid-template-columns: 1fr; } }
.story-body p { font-size: 1.08rem; margin-bottom: var(--sp-3); color: var(--ink-1); }
.story-body p strong { color: var(--bone); font-weight: 600; }
.pull-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--oxblood);
  border-radius: var(--radius);
  padding: var(--sp-3);
  position: sticky;
  top: calc(var(--header-h) + var(--sp-2));
}
.pull-card .mono { font-size: 0.68rem; letter-spacing: 0.18em; color: var(--ink-3); text-transform: uppercase; }
.pull-card .big-q {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--bone);
  margin: var(--sp-2) 0;
}

/* Values */
.value {
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.value:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.value .v-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--oxblood);
  line-height: 1;
}
.value h3 { font-size: 1.2rem; margin: var(--sp-1) 0 8px; }
.value p { font-size: 0.95rem; }

/* Team */
.coach {
  text-align: center;
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.coach:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.coach .c-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto var(--sp-2);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--bone);
  position: relative;
  border: 2px solid var(--line-strong);
}
.coach .c-avatar.a1 { background: linear-gradient(140deg, var(--oxblood), var(--oxblood-deep)); }
.coach .c-avatar.a2 { background: linear-gradient(140deg, var(--steel), #2a5169); }
.coach .c-avatar.a3 { background: linear-gradient(140deg, var(--belt-purple), #4a3163); }
.coach .c-avatar.a4 { background: linear-gradient(140deg, var(--belt-brown), #4a3122); }
.coach h3 { font-size: 1.2rem; }
.coach .c-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oxblood-bright);
  margin: 6px 0 var(--sp-1);
}
.coach p { font-size: 0.9rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }
.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  display: block;
}
.tile.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
@media (max-width: 520px) { .tile.wide { grid-column: span 1; aspect-ratio: 1/1; } }
.tile-art { position: absolute; inset: 0; transition: transform 0.6s var(--ease); }
.tile:hover .tile-art, .tile:focus-visible .tile-art { transform: scale(1.07); }
.tile-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-3) var(--sp-2) var(--sp-2);
  background: linear-gradient(to top, rgba(10,11,13,0.92), transparent);
  transform: translateY(34%);
  opacity: 0.92;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { transform: translateY(0); opacity: 1; }
.tile-cap .tag { margin-bottom: 8px; }
.tile-cap h3 { font-size: 1.05rem; }
.tile-cap p { font-size: 0.82rem; max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), margin 0.3s; }
.tile:hover .tile-cap p, .tile:focus-visible .tile-cap p { max-height: 60px; margin-top: 6px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-5);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.contact-method:hover { border-color: var(--line-strong); transform: translateX(4px); }
.contact-method .cm-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  background: rgba(158,43,37,0.14);
  border: 1px solid rgba(158,43,37,0.28);
  display: grid; place-items: center; flex: none;
}
.contact-method .cm-icon svg { width: 22px; height: 22px; color: var(--oxblood-bright); }
.contact-method .mono { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.contact-method strong { display: block; font-size: 1.05rem; color: var(--bone); margin-top: 3px; }
.contact-method span { font-size: 0.86rem; color: var(--ink-2); }

/* Hours table */
.hours { width: 100%; border-collapse: collapse; margin-top: var(--sp-2); }
.hours th, .hours td { text-align: left; padding: 11px var(--sp-2); border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.hours th { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.hours td:last-child, .hours th:last-child { text-align: right; color: var(--ink-1); }
.hours tr.today { background: rgba(158,43,37,0.12); }
.hours tr.today td { color: var(--bone); font-weight: 600; }
.hours tr.today td:first-child { position: relative; }
.hours tr.today td:first-child::before { content: "● "; color: var(--oxblood-bright); font-size: 0.7rem; }

/* Forms */
.field { margin-bottom: var(--sp-2); }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.field label .req { color: var(--oxblood-bright); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  background: var(--charcoal-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink-1);
  font-size: 0.98rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(61,110,142,0.25);
  background: var(--charcoal-3);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.invalid input, .field.invalid textarea { border-color: var(--oxblood-bright); box-shadow: 0 0 0 3px rgba(194,54,46,0.2); }
.field-error {
  display: none;
  color: var(--oxblood-bright);
  font-size: 0.78rem;
  margin-top: 6px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.field.invalid .field-error { display: block; }
.form-note { font-size: 0.78rem; color: var(--ink-3); margin-top: var(--sp-1); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  padding: var(--sp-3);
  background: rgba(61,110,142,0.14);
  border: 1px solid var(--steel);
  border-radius: var(--radius-lg);
  margin-top: var(--sp-2);
}
.form-success.show { display: flex; }
.form-success svg { width: 26px; height: 26px; color: var(--steel-bright); flex: none; margin-top: 2px; }
.form-success strong { display: block; color: var(--bone); font-family: var(--font-display); text-transform: uppercase; font-size: 1rem; margin-bottom: 4px; }
.form-success p { font-size: 0.9rem; }

/* Map placeholder */
.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  position: relative;
  min-height: 280px;
}
.map-art { position: absolute; inset: 0; }
.map-art svg { width: 100%; height: 100%; }
.map-chip {
  position: absolute;
  left: var(--sp-2); bottom: var(--sp-2);
  background: var(--charcoal-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - var(--sp-4));
}
.map-chip svg { width: 20px; height: 20px; color: var(--oxblood-bright); flex: none; }
.map-chip strong { display: block; font-size: 0.85rem; color: var(--bone); }
.map-chip span { font-size: 0.74rem; color: var(--ink-3); }
.map-pin {
  position: absolute;
  left: 50%; top: 44%;
  transform: translate(-50%, -100%);
}
.map-pin svg { width: 40px; height: 40px; color: var(--oxblood-bright); filter: drop-shadow(0 6px 10px rgba(0,0,0,0.5)); }
.map-pin .pulse {
  position: absolute;
  left: 50%; bottom: -4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--oxblood);
  transform: translateX(-50%);
  animation: pinPulse 2s ease-out infinite;
}
@keyframes pinPulse {
  0% { box-shadow: 0 0 0 0 rgba(158,43,37,0.6); }
  100% { box-shadow: 0 0 0 22px rgba(158,43,37,0); }
}

/* ---------- Checkout ---------- */
#checkout-page .checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: var(--sp-4);
  align-items: start;
}
@media (max-width: 900px) { #checkout-page .checkout-grid { grid-template-columns: 1fr; } }
.co-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.co-panel h2 { font-size: 1.25rem; margin-bottom: var(--sp-2); }
.co-panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-2); }
.co-panel-head .step-n {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--oxblood);
  color: var(--bone);
  font-family: var(--font-display);
  font-weight: 800;
  display: grid; place-items: center;
  font-size: 0.9rem; flex: none;
}
.co-panel-head h2 { margin: 0; }

/* Summary */
.summary {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-2));
}
.summary-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.summary-top { padding: var(--sp-3); border-bottom: 1px solid var(--line); }
.summary-top .mono { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.summary-top h3 { margin-top: 8px; font-size: 1.4rem; }
.summary-lines { padding: var(--sp-3); }
.sline { display: flex; justify-content: space-between; padding: 9px 0; font-size: 0.92rem; color: var(--ink-2); }
.sline span:last-child { color: var(--ink-1); font-variant-numeric: tabular-nums; }
.sline.discount span { color: var(--steel-bright); }
.sline.total {
  border-top: 1px solid var(--line-strong);
  margin-top: var(--sp-1);
  padding-top: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: var(--bone);
}
.sline.total span:last-child { color: var(--bone); }
.summary-foot { padding: 0 var(--sp-3) var(--sp-3); }

.secure-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.74rem; color: var(--ink-3);
  margin-top: var(--sp-2); justify-content: center;
}
.secure-row svg { width: 15px; height: 15px; color: var(--steel-bright); }
.gateway-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-2); justify-content: center; }
.gw {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border-radius: 3px;
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 500;
}
.demo-note {
  font-size: 0.72rem;
  color: var(--ink-3);
  text-align: center;
  margin-top: var(--sp-2);
  font-style: italic;
}

/* Segmented control */
.segmented {
  display: inline-flex;
  background: var(--charcoal-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 4px;
  gap: 4px;
  width: 100%;
}
.segmented button {
  flex: 1;
  padding: 11px 14px;
  border-radius: 3px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  transition: background 0.25s var(--ease), color 0.25s;
}
.segmented button[aria-pressed="true"] { background: var(--oxblood); color: var(--bone); }

/* Slot pills */
.slots { display: flex; flex-wrap: wrap; gap: 10px; }
.slot {
  padding: 11px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--charcoal-2);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-1);
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s var(--ease);
  position: relative;
}
.slot:hover:not(:disabled) { border-color: var(--steel); transform: translateY(-2px); }
.slot[aria-pressed="true"] { background: var(--oxblood); border-color: var(--oxblood); color: var(--bone); }
.slot:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.slot .sold { display: block; font-size: 0.56rem; letter-spacing: 0.1em; color: var(--oxblood-bright); }

/* Promo */
.promo-row { display: flex; gap: 10px; }
.promo-row input { flex: 1; }
.promo-msg { font-size: 0.78rem; margin-top: 8px; font-family: var(--font-mono); display: none; }
.promo-msg.ok { display: block; color: var(--steel-bright); }
.promo-msg.bad { display: block; color: var(--oxblood-bright); }

/* Payment tabs */
.pay-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--sp-3); }
.pay-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--charcoal-2);
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pay-tab svg { width: 18px; height: 18px; }
.pay-tab[aria-selected="true"] { border-color: var(--oxblood); color: var(--bone); background: rgba(158,43,37,0.12); }
.pay-notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius);
  background: rgba(61,110,142,0.12);
  border: 1px solid rgba(61,110,142,0.3);
  font-size: 0.88rem;
}
.pay-notice svg { width: 20px; height: 20px; color: var(--steel-bright); flex: none; margin-top: 2px; }

.free-notice {
  display: flex; gap: 14px; align-items: flex-start;
  padding: var(--sp-3);
  border-radius: var(--radius-lg);
  background: rgba(61,110,142,0.12);
  border: 1px solid var(--steel);
  margin-bottom: var(--sp-3);
}
.free-notice svg { width: 28px; height: 28px; color: var(--steel-bright); flex: none; }
.free-notice strong { display: block; font-family: var(--font-display); text-transform: uppercase; color: var(--bone); font-size: 1.05rem; margin-bottom: 4px; }
.free-notice p { font-size: 0.9rem; }

.btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(239,234,224,0.3);
  border-top-color: var(--bone);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn.loading .btn-spinner { display: inline-block; }
.btn.loading .btn-label { opacity: 0.6; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Success page ---------- */
#success-page { text-align: center; }
.success-wrap { max-width: 640px; margin: 0 auto; padding-block: var(--sp-7); }
.check-mark { width: 110px; height: 110px; margin: 0 auto var(--sp-3); }
.check-mark circle {
  fill: none;
  stroke: var(--steel);
  stroke-width: 4;
  stroke-dasharray: 326;
  stroke-dashoffset: 326;
  animation: drawCircle 0.8s var(--ease) forwards;
}
.check-mark path {
  fill: none;
  stroke: var(--bone);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: drawCheck 0.5s var(--ease) 0.6s forwards;
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .check-mark circle, .check-mark path { animation: none; stroke-dashoffset: 0; }
}
.success-ref {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  color: var(--steel-bright);
  background: rgba(61,110,142,0.12);
  border: 1px solid rgba(61,110,142,0.3);
  border-radius: var(--radius);
  padding: 8px 16px;
  margin-top: var(--sp-2);
}
.success-summary {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  margin: var(--sp-4) 0;
}
.success-summary h3 { font-size: 1.1rem; margin-bottom: var(--sp-2); }
.success-summary .sline.total { font-size: 1.1rem; }
.steps-list { text-align: left; margin: var(--sp-4) 0; counter-reset: step; }
.step-item {
  display: flex;
  gap: 16px;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.step-item:last-child { border-bottom: none; }
.step-item .step-badge {
  counter-increment: step;
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  background: rgba(158,43,37,0.14);
  border: 1px solid rgba(158,43,37,0.3);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--oxblood-bright);
}
.step-item .step-badge::before { content: counter(step); }
.step-item h4 { color: var(--bone); margin-bottom: 3px; }
.step-item p { font-size: 0.92rem; }
.success-ctas { display: flex; gap: var(--sp-2); justify-content: center; flex-wrap: wrap; margin-top: var(--sp-4); }

/* ---------- Timetable ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: var(--sp-3); }
.legend-item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--ink-2); }
.legend-dot { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.dot-bjj { background: var(--steel); }
.dot-muay { background: var(--oxblood); }
.dot-nogi { background: var(--belt-purple); }
.dot-strength { background: var(--belt-brown); }
.dot-kids { background: #6f8f3a; }
.dot-open { background: var(--ink-3); }

.tt-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }
.timetable { width: 100%; border-collapse: collapse; min-width: 760px; }
.timetable th, .timetable td { border: 1px solid var(--line); padding: 12px 10px; text-align: center; vertical-align: middle; }
.timetable thead th {
  background: var(--charcoal-2);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--bone);
  position: sticky;
  top: 0;
}
.timetable tbody th {
  background: var(--charcoal-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-2);
  white-space: nowrap;
  text-align: right;
  letter-spacing: 0.04em;
}
.timetable td { background: var(--surface); }
.cls {
  display: block;
  border-radius: var(--radius);
  padding: 8px 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--bone);
  line-height: 1.15;
}
.cls small { display: block; font-family: var(--font-mono); font-size: 0.6rem; font-weight: 400; opacity: 0.85; margin-top: 2px; letter-spacing: 0.04em; }
.cls.bjj { background: rgba(61,110,142,0.85); }
.cls.muay { background: rgba(158,43,37,0.85); }
.cls.nogi { background: rgba(106,74,140,0.85); }
.cls.strength { background: rgba(110,74,50,0.85); }
.cls.kids { background: rgba(111,143,58,0.85); }
.cls.open { background: var(--charcoal-4); color: var(--ink-1); }

/* Membership tiers */
.tier {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.tier:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.tier.featured {
  border-color: var(--oxblood);
  box-shadow: 0 0 0 1px var(--oxblood), 0 20px 50px rgba(158,43,37,0.2);
}
.tier-pop {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
}
.tier .t-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; color: var(--bone); }
.tier .t-desc { font-size: 0.86rem; color: var(--ink-3); margin-top: 4px; }
.tier .t-price { font-family: var(--font-display); font-weight: 900; font-size: 3rem; color: var(--bone); line-height: 1; margin: var(--sp-3) 0 4px; }
.tier .t-price small { font-size: 0.9rem; color: var(--ink-3); font-weight: 500; }
.tier ul { margin: var(--sp-3) 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-1); }
.tier li svg { width: 18px; height: 18px; color: var(--steel-bright); flex: none; margin-top: 2px; }
.tier li.off { color: var(--ink-3); }
.tier li.off svg { color: var(--ink-3); }
.tier .btn { margin-top: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal-2);
  border-top: 1px solid var(--line);
  padding-block: var(--sp-6) var(--sp-3);
  margin-top: var(--sp-4);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: repeating-linear-gradient(-60deg, var(--oxblood) 0 14px, transparent 14px 26px);
  opacity: 0.5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-4); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: var(--sp-2); }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oxblood-bright);
  margin-bottom: var(--sp-2);
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { font-size: 0.9rem; color: var(--ink-2); transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: var(--bone); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 11px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--oxblood-bright); flex: none; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: var(--sp-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.footer-bottom p { font-size: 0.8rem; color: var(--ink-3); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.socials a:hover { background: var(--oxblood); border-color: var(--oxblood); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; color: var(--ink-2); }
.socials a:hover svg { color: var(--bone); }

/* ---------- Sticky mobile book bar ---------- */
.book-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(21,22,26,0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-strong);
  padding: 12px var(--sp-2);
}
.book-bar .btn { width: 100%; }
@media (max-width: 820px) {
  .book-bar { display: block; }
  body { padding-bottom: 74px; }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mobile nav visibility ---------- */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}

/* ---------- Utility ---------- */
.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;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 300;
  background: var(--oxblood);
  color: var(--bone);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: var(--sp-3); }
.center-txt { text-align: center; }
