/* ==========================================================================
   Booster Club — landing page
   Tokens mirror the handoff spec; layout is fluid (clamp + auto-fit) rather
   than breakpoint-driven, per the responsive requirements.
   ========================================================================== */

:root {
  --bg:        #0a0a0a;
  --surface:   #111;
  --text:      #fafafa;
  --body:      #c9c9c9;
  --body-2:    #d6d6d6;
  --muted:     #9a9a9a;
  --muted-2:   #6b6b6b;
  --accent:    #4de08a;
  --border:    rgba(255, 255, 255, 0.08);

  --gutter:    clamp(20px, 4vw, 56px);
  --display:   'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  --ui:        'Archivo', Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  /* Keep anchor targets clear of the 72px sticky nav. */
  scroll-padding-top: 72px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

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

/* --------------------------------------------------------------------------
   Pills — the only rounded elements in the system
   -------------------------------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.pill-white {
  background: var(--text);
  color: var(--bg);
  font-size: 15px;
  padding: 16px 32px;
}
.pill-white:hover { background: var(--accent); color: var(--bg); }

.pill-accent {
  background: var(--accent);
  color: var(--bg);
}
.pill-accent:hover { background: var(--text); color: var(--bg); }

.pill-ghost {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--text);
}
.pill-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Hero CTAs — ghost pill loses 2px to its border, so its padding is 2px less. */
.pill-lg           { font-size: 16px; padding: 18px 36px; }
.pill-ghost.pill-lg { padding: 16px 34px; }
.pill-xl           { font-size: 17px; padding: 20px 44px; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 var(--gutter);
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid var(--border);
}

@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
  .nav {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

.wordmark {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1;
}
.wordmark:hover { color: var(--text); }
.dot { color: var(--accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links a { color: var(--body); }
.nav-links a:hover { color: var(--accent); }

.nav-cta { font-size: 14px; padding: 12px 22px; }

/* Hamburger — revealed by JS only (see .js gate below). */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}
.nav-toggle[aria-expanded="true"] .bar { background: var(--accent); }

/* Mobile nav treatment.
   Only engages when JS is present — without it the links stay inline so the
   page is never left without navigation. */
@media (max-width: 720px) {
  .js .nav-toggle { display: flex; }

  .js .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: rgba(10, 10, 10, 0.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .js .nav-links.open { display: flex; }

  /* 44px minimum touch target */
  .js .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
  }
  .js .nav-links a:last-child { border-bottom: 0; }
}

/* 44px minimum touch targets.
   Keyed to pointer type, not width, so tablets (768/834) — which keep the
   inline desktop nav — get them too. Padding alone leaves the CTA at ~36px,
   the wordmark at ~22px and the text links at ~16px. */
@media (pointer: coarse), (max-width: 720px) {
  .nav-cta { min-height: 44px; }
  .wordmark,
  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Very narrow phones: keep the wordmark + CTA + burger on one line. */
@media (max-width: 380px) {
  .nav { gap: 12px; }
  .nav-right { gap: 10px; }
  .nav-cta { font-size: 13px; padding: 11px 16px; }
  .wordmark { font-size: 22px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: 88vh;
}
/* svh keeps the hero from being pushed under mobile browser chrome. */
@supports (min-height: 88svh) {
  .hero { min-height: 88svh; }
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.25) 40%,
    rgba(10, 10, 10, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  max-width: 1100px;
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(56px, 7vw, 88px);
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  text-wrap: pretty;
}

h1.display {
  margin: 0 0 20px;
  font-size: clamp(40px, 6.2vw, 88px);
  line-height: 1.02;
  letter-spacing: 0.005em;
}

.hero-sub {
  margin: 0 0 36px;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--body-2);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Content sections (Players / Revenue share the grid pattern)
   -------------------------------------------------------------------------- */

.section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) var(--gutter);
}

.h2 {
  margin: 0 0 22px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
}

.body {
  margin: 0 0 32px;
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
}
.body-last { margin-bottom: 0; }

.gym {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1);
}

/* Revenue */

.revenue {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.revenue .section {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Stat table — 1px gaps show the container colour through as hairlines. */
.stats {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stat {
  display: flex;
  align-items: baseline;
  gap: clamp(12px, 3vw, 20px);
  padding: 28px clamp(20px, 4vw, 32px);
  background: var(--bg);
}

.stat-big {
  font-family: var(--display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.1;
  color: var(--accent);
  /* Spec is 120px; scales down on narrow screens so the label keeps room. */
  min-width: clamp(88px, 24vw, 120px);
}

.stat-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--body-2);
}

/* --------------------------------------------------------------------------
   Huddle CTA
   -------------------------------------------------------------------------- */

.huddle {
  text-align: center;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}

.huddle-h2 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5.5vw, 76px);
  line-height: 1.02;
}

.huddle-sub {
  margin: 0 0 36px;
  font-size: 18px;
  color: var(--body);
}

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

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 48px var(--gutter);
  border-top: 1px solid var(--border);
}

.footer-mark { font-size: 20px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 13px;
  color: var(--muted);
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }

.copyright {
  font-size: 13px;
  color: var(--muted-2);
}

/* Give footer links a 44px touch target on any touch device. */
@media (pointer: coarse), (max-width: 720px) {
  .footer-links { gap: 0 24px; }
  .footer-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}
