/* ============================================================================
   TortureGym — Design System
   Tokens, base, components, utilities
   ============================================================================ */

/* ─── Design tokens (extracted from Figma) ─────────────────────────────────── */
:root {
  /* Colors */
  --bg: #0A0A0A;
  --bg-2: #111111;
  --bg-3: #1A1A1A;
  --bg-4: #222222;
  --yellow: #FFB800;
  --yellow-dim: rgba(255, 184, 0, 0.12);
  --yellow-border: rgba(255, 184, 0, 0.35);
  --white: #FFFFFF;
  --gray-100: #EEEEEE;
  --gray-300: #CCCCCC;
  --gray-500: #888888;
  --gray-700: #444444;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --green: #00C864;
  --red: #FF4444;

  /* Type */
  --font-body: 'Barlow', system-ui, sans-serif;
  --font-display: 'Barlow Condensed', 'Barlow', sans-serif;

  /* Spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 80px; --s-10: 120px;

  /* Layout */
  --container: 1280px;
  --container-narrow: 960px;
  --nav-h: 80px;
}

/* ─── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ─── Typography ───────────────────────────────────────────────────────────── */
.h1, .h2, .h3, .h4, .h5, .display, .eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1;
}
.display {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: -0.01em;
}
.h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 900; }
.h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 900; }
.h3 { font-size: 28px; font-weight: 800; }
.h4 { font-size: 20px; font-weight: 800; letter-spacing: 0.02em; }
.h5 { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--yellow);
}
.eyebrow-line {
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow-line::before {
  content: ''; width: 24px; height: 2px; background: var(--yellow);
}
.lead { font-size: 17px; color: var(--gray-300); line-height: 1.6; }
.muted { color: var(--gray-500); }
.accent { color: var(--yellow); }

/* ─── Layout ───────────────────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; }
.section { padding: var(--s-9) 0; }
.section-tight { padding: var(--s-7) 0; }
.row { display: flex; align-items: center; gap: var(--s-4); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.stack { display: flex; flex-direction: column; gap: var(--s-4); }
.stack-tight { display: flex; flex-direction: column; gap: var(--s-2); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.gap-tight { gap: 2px; }

/* ─── Navbar ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-5);
}
.nav-left, .nav-right {
  display: flex; align-items: center; gap: var(--s-6);
}
.nav-right { justify-content: flex-end; }
.nav-link {
  font-family: var(--font-display);
  font-weight: 600; font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-300);
  cursor: pointer;
  transition: color 0.15s;
  position: relative;
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--yellow); }
.nav-link.active::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -28px; height: 2px;
  background: var(--yellow);
}
.nav-logo {
  display: flex; align-items: center;
  justify-content: center;
}
.nav-logo img { height: 38px; }
.nav-cart {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--white);
}
.nav-cart-count {
  background: var(--yellow);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 8px;
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  justify-self: end;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 16px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-300);
  border-bottom: 1px solid var(--border);
}
.mobile-link.active { color: var(--yellow); }

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 11px; }
.btn-lg { padding: 18px 36px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-yellow { background: var(--yellow); color: #000; }
.btn-yellow:hover { background: #FFD000; transform: translateY(-1px); }
.btn-outline { color: var(--yellow); border-color: var(--yellow); }
.btn-outline:hover { background: var(--yellow-dim); }
.btn-ghost { color: var(--gray-300); border-color: var(--border-strong); }
.btn-ghost:hover { color: var(--white); border-color: var(--white); }
.btn-arrow::after { content: '→'; font-size: 16px; }

/* ─── Forms ────────────────────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .form-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
}
.input, .textarea, .select {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 14px 16px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--yellow);
}
.input::placeholder, .textarea::placeholder { color: var(--gray-500); }
.textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.field-error .input { border-color: var(--red); }

/* ─── Cards ────────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-2);
  padding: var(--s-5);
  border: 1px solid var(--border);
}
.card-yellow {
  background: var(--bg-2);
  border: 1px solid var(--yellow-border);
  padding: var(--s-5);
}
.event-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  padding: var(--s-4);
}
.event-feature-media { aspect-ratio: 4/3; overflow: hidden; }
.event-feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-feature-body { display: flex; flex-direction: column; justify-content: center; padding: var(--s-4) var(--s-4) var(--s-4) 0; }
@media (max-width: 900px) {
  .event-feature { grid-template-columns: 1fr; gap: var(--s-4); }
  .event-feature-media { aspect-ratio: 16/10; }
  .event-feature-body { padding: 0 var(--s-2) var(--s-2); }
}
.card-tile {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  cursor: pointer;
  transition: transform 0.25s;
}
.card-tile:hover { transform: translateY(-2px); }
.card-tile img { width: 100%; display: block; }

/* ─── Badges / pills ───────────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
}
.pill-yellow { background: var(--yellow); color: #000; }
.pill-outline { border: 1px solid var(--yellow); color: var(--yellow); }
.pill-dark { background: var(--bg-3); color: var(--gray-300); }
.pill-green { background: rgba(0,200,100,.15); color: var(--green); border: 1px solid rgba(0,200,100,.35); }

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: var(--s-8) 0 var(--s-5);
  margin-top: var(--s-10);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: var(--s-7);
}
.footer-brand img { height: 56px; margin-bottom: var(--s-3); }
.footer-brand p { color: var(--gray-500); font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer-hours { margin-top: var(--s-4); max-width: 280px; }
.footer-hours .row-between { padding: 4px 0; font-size: 12px; color: var(--gray-500); }
.footer-hours .row-between span:last-child { color: var(--gray-300); }
.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: var(--s-4);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: var(--gray-300);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.15s;
}
.footer-col ul a:hover { color: var(--yellow); }
.elite-status {
  margin-top: var(--s-4);
  padding: 12px 14px;
  background: var(--bg-3);
  border-left: 3px solid var(--yellow);
}
.elite-status .label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.elite-status .text { font-size: 11px; color: var(--gray-300); line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--gray-500);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.social-icons {
  display: flex; gap: 12px; margin-top: var(--s-4);
}
.social-icons a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gray-300);
  transition: all 0.15s;
}
.social-icons a:hover { color: var(--yellow); border-color: var(--yellow); }

/* ─── Hero (homepage) ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 780px;
  display: flex; align-items: center;
  overflow: hidden;
}
@media (max-width: 900px) {
  /* Mobile: hug the content instead of stretching to a fixed height — the
     next section shows up above the fold. !important beats inline min-heights. */
  .hero { min-height: 0 !important; padding: 52px 0 44px; }
}

/* Rotating accent word in the hero headline (CSS only). The track stacks the
   words vertically; the container clips to one line and the track rolls one
   word at a time. Last word duplicates the first for a seamless loop. */
.hero-rotator {
  display: inline-flex;
  overflow: hidden;
  height: 1em;
  vertical-align: baseline;
}
.hero-rotator-track {
  display: flex;
  flex-direction: column;
  animation: hero-roll 9s cubic-bezier(.7, 0, .3, 1) infinite;
}
.hero-rotator-track span { display: block; height: 1em; line-height: 1; }
@keyframes hero-roll {
  0%, 27%   { transform: translateY(0); }
  33%, 60%  { transform: translateY(-1em); }
  66%, 94%  { transform: translateY(-2em); }
  100%      { transform: translateY(-3em); }
}

/* Staggered entrance for the hero content + slow Ken Burns zoom on the photo */
.hero-content > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in .6s ease forwards;
}
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .24s; }
.hero-content > :nth-child(4) { animation-delay: .36s; }
.hero-content > :nth-child(5) { animation-delay: .48s; }
.hero-content > :nth-child(6) { animation-delay: .6s; }
@keyframes hero-in { to { opacity: 1; transform: none; } }
.hero-bg img { animation: hero-ken 18s ease-out forwards; }
@keyframes hero-ken { from { transform: scale(1); } to { transform: scale(1.08); } }

/* Social-proof line under the hero buttons → links to /reviews */
.hero-proof {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-300);
}
.hero-proof:hover { color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  .hero-rotator-track, .hero-content > *, .hero-bg img { animation: none; }
  .hero-content > * { opacity: 1; transform: none; }
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-video-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-video-tint { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); pointer-events: none; }
.hero-video-wrap iframe {
  position: absolute; top: 50%; left: 50%; border: 0;
  width: 100vw; height: 56.25vw; /* 16:9 by width */
  min-width: 177.78vh; min-height: 100%; /* 16:9 by height — whichever covers */
  transform: translate(-50%, -50%);
}
@media (max-width: 900px) {
  /* Static image on mobile: avoids extra data/battery cost and inconsistent
     inline-autoplay behavior on mobile browsers for a purely decorative background. */
  .hero-video-wrap { display: none; }
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.55) 60%, transparent 100%);
}
@media (max-width: 900px) {
  /* On mobile the copy spans the full width, so the left-weighted desktop
     gradient isn't enough — use a light uniform dark veil over the photo. */
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.86) 100%);
  }
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 640px;
  padding: 0 32px;
  margin: 0 auto 0 max(32px, calc((100vw - var(--container)) / 2 + 32px));
}
.hero h1 { font-size: clamp(56px, 7vw, 96px); font-weight: 900; line-height: 0.95; margin-bottom: var(--s-4); font-family: var(--font-display); text-transform: uppercase; }
.hero h1 .accent { color: var(--yellow); }
.hero p { color: var(--gray-300); font-size: 16px; max-width: 520px; line-height: 1.6; margin-bottom: var(--s-5); }
.hero-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero-trainer {
  margin-top: var(--s-7);
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: rgba(10,10,10,.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  width: fit-content;
}
.hero-trainer .avatars { display: flex; }
.hero-trainer .avatars img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; object-fit: cover; }
.hero-trainer .avatars img:first-child { margin-left: 0; }
.hero-trainer .plus {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow); color: #000;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; margin-left: -10px;
}
.hero-trainer .meta { font-size: 12px; color: var(--gray-300); }
.hero-trainer .meta strong { display: block; color: var(--white); font-family: var(--font-display); letter-spacing: 1px; font-size: 13px; }

/* ─── Video embed ──────────────────────────────────────────────────────────── */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-3);
  border: 1px solid var(--yellow-border);
  box-shadow: 0 0 80px rgba(255, 184, 0, 0.07);
  overflow: hidden;
}
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ─── Section header ───────────────────────────────────────────────────────── */
.section-header {
  margin-bottom: var(--s-7);
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: var(--s-5); flex-wrap: wrap;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  max-width: 720px;
}

/* ─── Tiles (program cards, etc.) ──────────────────────────────────────────── */
.tile {
  position: relative;
  aspect-ratio: 387/517;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.tile:hover img { transform: scale(1.04); }
.tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0.05) 70%);
}
.tile-tag {
  position: absolute; top: 16px; left: 16px;
}
.tile-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px;
}
.tile-content h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 6px;
}
.tile-content p { font-size: 13px; color: var(--gray-300); margin-bottom: 12px; max-width: 320px; }
.tile-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
}

/* ─── Plan cards (membership pricing) ──────────────────────────────────────── */
.plan {
  background: var(--bg-2);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  position: relative;
}
.plan.featured {
  background: linear-gradient(180deg, rgba(255,184,0,0.06), transparent 60%);
  border: 1px solid var(--yellow);
}
.plan .pill { position: absolute; top: -1px; right: 16px; }
.plan-name { font-family: var(--font-display); font-weight: 900; font-size: 26px; text-transform: uppercase; margin-bottom: 4px; }
.plan-eyebrow { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--gray-500); text-transform: uppercase; margin-bottom: 8px; }
.plan-price { font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 1; color: var(--yellow); }
.plan-price small { font-size: 14px; color: var(--gray-300); font-weight: 500; margin-left: 4px; }
.plan-features { margin: 20px 0 24px; }
.plan-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--gray-300);
  display: flex; align-items: center; gap: 10px;
}
.plan-features li::before { content: '✓'; color: var(--yellow); font-weight: 700; }
.plan-features li:last-child { border-bottom: none; }

/* ─── Product cards (shop) ─────────────────────────────────────────────────── */
.product {
  background: var(--bg-2);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.2s;
}
.product:hover { border-color: var(--yellow-border); transform: translateY(-2px); }
.product-img {
  aspect-ratio: 4 / 5;
  background: var(--bg-3);
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 16px; }
.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 6px;
}
.product-desc { font-size: 12px; color: var(--gray-500); line-height: 1.4; margin-bottom: 12px; min-height: 32px; }
.product-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.product-price { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--yellow); }
.product-rating { font-size: 11px; color: var(--yellow); letter-spacing: 1px; }
.product-actions { display: flex; gap: 6px; }
.product .pill { position: absolute; top: 10px; left: 10px; z-index: 1; }
.icon-btn {
  width: 36px; height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--gray-300);
  transition: color 0.15s, border-color 0.15s;
}
.icon-btn:hover { color: var(--yellow); border-color: var(--yellow); }

/* ─── Testimonial ──────────────────────────────────────────────────────────── */
.testimonial-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
.testimonial-card {
  background: var(--bg-3);
  padding: 24px;
}
.testimonial-card .stars { color: var(--yellow); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p { font-size: 14px; line-height: 1.6; color: var(--gray-300); margin-bottom: 16px; }
.testimonial-card .author { font-family: var(--font-display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.testimonial-card .author small { display: block; font-size: 11px; color: var(--gray-500); letter-spacing: 1px; }

/* ─── Stat strip ───────────────────────────────────────────────────────────── */
.stat-strip {
  background: var(--bg-2);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: var(--s-6) var(--s-5);
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  color: var(--yellow);
  line-height: 1;
}
.stat-lbl {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gray-500);
  text-transform: uppercase;
  margin-top: 6px;
}

/* ─── Location card ────────────────────────────────────────────────────────── */
.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-2);
  border: 1px solid var(--border);
  overflow: hidden;
}
.location-info { padding: var(--s-6) var(--s-6) var(--s-7); display: flex; flex-direction: column; gap: var(--s-3); }
.location-info h3 { font-family: var(--font-display); font-size: 32px; font-weight: 900; text-transform: uppercase; }
.location-info p { color: var(--gray-300); font-size: 14px; line-height: 1.6; }
.location-info dl { display: grid; grid-template-columns: 80px 1fr; gap: 8px 16px; font-size: 13px; }
.location-info dt { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 1.5px; color: var(--yellow); text-transform: uppercase; padding-top: 2px; }
.location-info dd { color: var(--gray-300); }
.location-map { background: var(--bg-3); position: relative; min-height: 420px; }
.location-map img { width: 100%; height: 100%; object-fit: cover; }
.location-map iframe { display: block; width: 100%; height: 100%; min-height: 420px; }

/* ─── Final CTA banner ─────────────────────────────────────────────────────── */
.final-cta {
  position: relative;
  padding: var(--s-9) 0;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute; inset: 0; z-index: 0;
}
.final-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.9) 100%);
}
.final-cta-content {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}
.final-cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 14px;
}
.final-cta-content p { color: var(--gray-300); font-size: 16px; max-width: 540px; margin: 0 auto 28px; }

/* ─── Step indicator (registration) ────────────────────────────────────────── */
.step-bar { display: flex; gap: 6px; margin-bottom: var(--s-6); }
.step-bar div { flex: 1; height: 2px; background: var(--bg-3); transition: background 0.2s; }
.step-bar div.done { background: var(--yellow); }
.step-bar div.current { background: var(--yellow); }

/* ─── Toggle / switch ──────────────────────────────────────────────────────── */
.switch {
  width: 44px; height: 24px;
  background: var(--bg-3);
  border: 2px solid var(--border);
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  transition: all 0.15s;
}
.switch::after {
  content: ''; position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gray-500);
  top: 3px; left: 3px;
  transition: all 0.15s;
}
.switch.on { background: var(--yellow-dim); border-color: var(--yellow); }
.switch.on::after { background: var(--yellow); left: 23px; }

/* ─── Choice cards (goal selection) ────────────────────────────────────────── */
.choice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.choice {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s;
}
.choice img { width: 100%; height: 100%; object-fit: cover; }
.choice-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.1) 60%); }
.choice-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; }
.choice-content h4 { font-family: var(--font-display); font-size: 22px; font-weight: 900; text-transform: uppercase; margin-bottom: 4px; }
.choice-content p { font-size: 12px; color: var(--gray-300); line-height: 1.4; }
.choice.selected { border-color: var(--yellow); }
.choice .check {
  position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--yellow); color: #000;
  display: none;
  align-items: center; justify-content: center;
  font-weight: 900; font-size: 14px;
}
.choice.selected .check { display: inline-flex; }

/* ─── Radio rows ───────────────────────────────────────────────────────────── */
.radio-list { display: flex; flex-direction: column; gap: 6px; }
.radio-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.15s;
}
.radio-row.selected { border-color: var(--yellow); background: var(--yellow-dim); }
.radio-row strong { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; display: block; }
.radio-row small { font-size: 12px; color: var(--gray-500); }
.radio-dot {
  width: 18px; height: 18px;
  border: 2px solid var(--gray-500);
  border-radius: 50%;
}
.radio-row.selected .radio-dot { background: var(--yellow); border-color: var(--yellow); }

/* ─── Pill group ───────────────────────────────────────────────────────────── */
.pill-group { display: flex; gap: 6px; flex-wrap: wrap; }
.pill-btn {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gray-300);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
}
.pill-btn:hover { color: var(--white); border-color: var(--border-strong); }
.pill-btn.selected { background: var(--yellow); color: #000; border-color: var(--yellow); }

/* ─── Check item ───────────────────────────────────────────────────────────── */
.check-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.15s;
}
.check-item.checked { border-color: var(--yellow); }
.check-box {
  width: 16px; height: 16px;
  border: 2px solid var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #000;
}
.check-item.checked .check-box { background: var(--yellow); border-color: var(--yellow); }
.check-label { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

/* ─── Page header (inner pages) ────────────────────────────────────────────── */
.page-banner {
  position: relative;
  padding: var(--s-9) 0 var(--s-7);
  overflow: hidden;
}
.page-banner-bg {
  position: absolute; inset: 0; z-index: 0;
}
.page-banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.92) 100%);
}
.page-banner > .container { position: relative; z-index: 1; }
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 12px;
}
.page-banner p { color: var(--gray-300); font-size: 15px; max-width: 580px; }

/* ─── Inline notice / alert ────────────────────────────────────────────────── */
.notice {
  display: flex; gap: 12px;
  padding: 14px 16px;
  background: var(--bg-2);
  border-left: 3px solid var(--yellow);
}
.notice strong { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; color: var(--yellow); display: block; margin-bottom: 4px; }
.notice p { font-size: 13px; color: var(--gray-300); line-height: 1.5; }

/* ─── Admin panel ──────────────────────────────────────────────────────────── */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-side {
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 20px 0;
  position: sticky; top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-side-head {
  padding: 0 20px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.admin-side-close { display: none; font-size: 16px; color: var(--gray-500); }
.admin-nav-link {
  display: block;
  padding: 11px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-300);
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: all 0.15s;
}
.admin-nav-link:hover { color: var(--white); background: rgba(255,255,255,0.03); }
.admin-nav-link.active { color: var(--yellow); border-left-color: var(--yellow); background: var(--yellow-dim); }
.admin-main { min-width: 0; }
.admin-topbar {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  position: sticky; top: 0; z-index: 20;
}
.admin-burger { display: none; font-size: 20px; color: var(--white); }
.admin-content { padding: 28px; }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.admin-stat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 18px;
}
.admin-stat-ic { font-size: 20px; margin-bottom: 8px; }
.admin-stat-num { font-family: var(--font-display); font-weight: 900; font-size: 30px; color: var(--yellow); line-height: 1; }
.admin-stat-lbl { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-500); margin-top: 5px; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--border); }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 640px;
}
.admin-table th {
  text-align: left;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: 12px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.admin-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 300;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}
.admin-modal {
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  width: 100%;
  max-width: 640px;
}
.admin-modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: var(--bg-2);
}
.admin-modal-body { padding: 24px; }
.rep-item { display: flex; gap: 6px; margin-bottom: 6px; align-items: center; }
.rep-item .input { flex: 1; }
.rep-row { display: grid; gap: 6px; margin-bottom: 6px; align-items: center; }
.rep-row-head { margin-bottom: 2px; }
.rep-row-head .form-label { font-size: 9px; }
.rep-list, .rep-rows { padding: 10px; background: var(--bg-3); border: 1px solid var(--border); }
@media (max-width: 700px) {
  .rep-row { grid-template-columns: 1fr !important; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
  .rep-row-head { display: none !important; }
}
@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side {
    position: fixed; left: 0; top: 0; bottom: 0;
    width: 260px; z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.25s;
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
    overflow-y: auto;
  }
  .admin-side.open { transform: translateX(0); }
  .admin-side-close { display: block; }
  .admin-burger { display: block; }
  .admin-content { padding: 14px 12px calc(24px + env(safe-area-inset-bottom, 0px)); }
  .admin-topbar { padding: 12px 14px; gap: 10px; }
  .admin-topbar-email { display: none; }
  #admin-push-btn { margin-left: auto !important; }
  .admin-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .admin-stat { padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
  .admin-stat-ic { font-size: 18px; margin-bottom: 0; }
  .admin-stat-num { font-size: 22px; }
  .admin-stat-lbl { margin-top: 2px; font-size: 10px; }
  .admin-table { min-width: 520px; font-size: 12px; }
  .admin-modal { max-width: 100% !important; margin: 0 10px; max-height: 88vh; overflow-y: auto; }
}

/* ─── College landing: hero reassurance checks ───────────────────────────── */
/* Side by side on desktop, stacked on mobile — always clearly separated from
   the yellow CTA below (min 16px). */
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 22px;
}
.hero-checks span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-300);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .hero-checks { flex-direction: column; gap: 8px; }
}

/* ─── College landing: sticky mobile CTA ─────────────────────────────────── */
#college-sticky-cta,
.landing-sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(10,10,10,.96);
  border-top: 1px solid var(--yellow);
  backdrop-filter: blur(8px);
  transition: transform .25s ease;
}
@media (max-width: 900px) {
  #college-sticky-cta,
.landing-sticky-cta { display: flex; }
}

/* Installed as a PWA (Add to Home Screen): no browser chrome, so the sticky
   bars must clear the iPhone notch / status bar themselves. */
@media (display-mode: standalone) {
  .admin-topbar { padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
  .nav { padding-top: env(safe-area-inset-top, 0px); }
}

/* ─── Toast ────────────────────────────────────────────────────────────────── */
#tg-toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--yellow);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 24px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
  z-index: 999;
}
#tg-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ─── Utilities ────────────────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: var(--s-5) 0; }
.text-center { text-align: center; }
.mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); } .mt-8 { margin-top: var(--s-8); }
.mb-4 { margin-bottom: var(--s-4); } .mb-5 { margin-bottom: var(--s-5); } .mb-6 { margin-bottom: var(--s-6); }

/* ─── Responsive ───────────────────────────────────────────────────────────── */
/* Fixed small grids that keep their columns at every breakpoint */
.thumbs-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

/* Cart / checkout table layout */
.cart-cols {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .nav-left, .nav-right { display: none; }
  .nav-inner { grid-template-columns: 1fr 44px; }
  .nav-burger { display: flex; grid-column: 2; }
  .nav-logo { grid-column: 1; justify-self: start; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-hero { grid-template-columns: 1fr; }
  .location-card { grid-template-columns: 1fr; }
  .choice-cards { grid-template-columns: 1fr; }
  .hero-content { margin: 0 auto; }

  /* Linearize any remaining fixed multi-column inline grids on small screens.
     Pages set specific desktop layouts inline; on mobile everything stacks.
     min-width:0 on the direct children is required too: grid items default to
     min-width:auto, so their own content's intrinsic width can force the 1fr
     track (and the whole page) wider than the viewport otherwise. */
  main [style*="grid-template-columns"]:not(.cart-cols) { grid-template-columns: 1fr !important; }
  main [style*="grid-template-columns"]:not(.cart-cols) > * { min-width: 0; }

  /* Flex rows (button groups, label/value pairs) don't have a stacking rule of
     their own — let them wrap instead of pushing the page wider than the viewport. */
  .row, .row-between { flex-wrap: wrap; }

  /* Cart rows: product spans full width, controls flow beneath */
  .cart-head { display: none; }
  .cart-cols { grid-template-columns: 1fr auto auto; gap: 10px; }
  .cart-cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .container, .container-narrow { padding: 0 20px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .section { padding: var(--s-7) 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
