/* ==========================================================================
   RCC PADEL — design tokens
   Theme: locked dark (single theme, brand-driven — see reference mockups)
   Accent: single lime accent, used identically across every section
   Radius: pills for interactive controls, 20px for cards, 12px for inputs
   ========================================================================== */

:root {
  /* brand navy, sampled from the RCC Padel reference boards */
  --bg: #0a1128;
  --bg-elevated: #111a38;
  --bg-elevated-2: #182349;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* vivid royal blue from the RCC Padel wordmark badge, one shared
     blue family with --bg rather than a second competing accent */
  --brand-blue: #1c22a0;
  --brand-blue-bright: #2c35d6;

  --text-primary: #f6f7ff;
  --text-secondary: #a3aad0;
  --text-tertiary: #7e85af;

  --accent: #d4f52e;
  --accent-dim: #aecb26;
  --accent-ink: #0e1600;

  --radius-card: 20px;
  --radius-input: 12px;
  --radius-pill: 999px;

  --container: 1280px;
  --nav-h: 76px;

  /* Apple-ish motion: --ease-out for reveals/entrances (smooth, no
     overshoot), --ease-spring for interactive feedback (a soft bounce
     on hover/press, the "liquid" part of liquid glass) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* liquid glass material, tuned for our navy (see Appendix C skeleton) */
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)), rgba(17, 26, 56, 0.5);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(255, 255, 255, 0.03);

  color-scheme: dark;
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 768px) {
  .container { padding-inline: 40px; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 20px;
  border-radius: var(--radius-input);
  font-weight: 700;
}

.skip-link:focus {
  left: 24px;
  top: 16px;
}

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

/* film grain, fixed, pointer-events none — never on a scrolling container */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Liquid glass material (approximation, see Appendix C of the reference
   skill: backdrop-filter + layered border + inner highlight, not the
   real Apple platform material). Solid-fill fallback under
   prefers-reduced-transparency.
   ========================================================================== */

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

/* cursor-tracking spotlight: a soft highlight that follows the pointer,
   set via --spot-x/--spot-y in main.js. Feedback, not decoration: it
   tells you which card is about to respond to a click. Applied to every
   glass card via these selectors so no extra class is needed in markup. */
.bento__card,
.trainer-card,
.price-tile {
  position: relative;
  overflow: hidden;
}

.bento__card::before,
.trainer-card::before,
.price-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}

.bento__card:hover::before,
.bento__card:focus-within::before,
.trainer-card:hover::before,
.trainer-card:focus-within::before,
.price-tile:hover::before,
.price-tile:focus-within::before {
  opacity: 1;
}

@media (prefers-reduced-transparency: reduce) {
  .glass {
    background: var(--bg-elevated);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  border-radius: var(--radius-pill);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  transition: transform 0.5s var(--ease-spring), background-color 0.3s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s var(--ease-out);
  will-change: transform;
}

.btn:active { transform: scale(0.96); transition-duration: 0.2s; }

.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 17px 32px; font-size: 15.5px; }

.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(212, 245, 46, 0);
}

.btn--accent::after {
  /* liquid highlight sweep, primary CTA only so it reads as an accent
     rather than a tic repeated on every button */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}

.btn--accent:hover::after { transform: translateX(120%); }

.btn--accent:hover {
  box-shadow: 0 14px 34px -10px rgba(212, 245, 46, 0.5);
  transform: translateY(-2px) scale(1.015);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--bg);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn--dark:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   Section rhythm
   ========================================================================== */

.section-title {
  font-size: clamp(28px, 4.2vw, 44px);
  max-width: 20ch;
}

.section-lead {
  margin-top: 16px;
  max-width: 46ch;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out), backdrop-filter 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(10, 17, 40, 0.6);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom-color: var(--border);
}

.nav__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Stacked lockup matching the club's real mark: RCC wordmark over a
   blue PADEL pill, rather than the two set side by side. */
.nav__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  flex-shrink: 0;
}

.nav__logo-rcc {
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.nav__logo-padel {
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.09em;
  color: #fff;
  background: var(--brand-blue);
  padding: 5px 10px 4px;
  border-radius: 4px;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.nav__links a { transition: color 0.2s; }
.nav__links a:hover { color: var(--text-primary); }

@media (min-width: 1024px) {
  .nav__links { display: flex; }
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__cta { display: none; }
@media (min-width: 860px) {
  .nav__cta { display: inline-flex; }
}

.nav__burger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .nav__burger { display: none; }
}

.nav__burger span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 0 32px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mobile-menu nav a {
  font-family: 'Unbounded', sans-serif;
  font-size: 32px;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .mobile-menu { display: none; }
}

/* ==========================================================================
   Hero — full-bleed ambient video background (racket + ball, slowed and
   looped) with a navy scrim so the headline stays readable everywhere
   the footage lands. Editorial manifesto layout: one focused column.
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  opacity: 0;
}

.hero__video.is-active { opacity: 1; }

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 640px at 78% 30%, rgba(44, 53, 214, 0.28), transparent 65%),
    linear-gradient(100deg, var(--bg) 6%, rgba(10, 17, 40, 0.86) 34%, rgba(10, 17, 40, 0.32) 62%, rgba(10, 17, 40, 0.7) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 16%, transparent 82%, rgba(10, 17, 40, 0.55) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 24px;
  padding-bottom: 24px;
}

.hero__copy { max-width: 640px; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.8vw, 19px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__eyebrow .icon { width: 18px; height: 18px; flex-shrink: 0; }

.hero__title {
  font-size: clamp(40px, 6.4vw, 74px);
  color: var(--text-primary);
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__subtitle {
  margin-top: 24px;
  max-width: 46ch;
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Stats strip
   ========================================================================== */

.stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
  padding-block: 40px;
}

@media (min-width: 700px) {
  .stats__inner { grid-template-columns: repeat(4, 1fr); padding-block: 48px; }
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   Directions — bento (1 large + 4 small, exact cell count)
   ========================================================================== */

.directions {
  padding-block: 100px;
  position: relative;
  overflow: hidden;
}

.directions__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.directions__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  opacity: 0;
}

.directions__video.is-active { opacity: 1; }

.directions__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(10, 17, 40, 0.72) 18%, rgba(10, 17, 40, 0.72) 82%, var(--bg) 100%);
}

.directions > .container {
  position: relative;
  z-index: 1;
}

.bento {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(150px, auto));
  }
  .bento__card--lg { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 719px) {
  .bento__card--accent { order: -1; }
}

.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  border-radius: var(--radius-card);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: border-color 0.35s var(--ease-out), transform 0.55s var(--ease-spring), box-shadow 0.5s var(--ease-out);
}

.bento__card:hover {
  border-color: var(--border-strong);
  transform: translateY(-6px) scale(1.012);
  box-shadow: var(--glass-highlight), 0 20px 44px -18px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-transparency: reduce) {
  .bento__card { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.bento__card--lg {
  min-height: 320px;
}

/* Small contained photo box inside the card (not full-bleed), with
   its own prev/next controls. The card itself is a plain div now, not
   a link, since nested interactive controls inside an <a> would be
   invalid; the corner arrow badge is the actual link to #courts. */
.bento__photo-frame {
  position: relative;
  flex: 1;
  min-height: 150px;
  margin-top: 4px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
}

.bento__photo-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.bento__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.bento__photo.is-active { opacity: 1; }

.bento__photo-arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 17, 40, 0.55);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.5s var(--ease-spring);
}

.bento__photo-arrow:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.08); }
.bento__photo-arrow .icon { width: 15px; height: 15px; }
.bento__photo-arrow--prev { left: 10px; }
.bento__photo-arrow--next { right: 10px; }

.bento__card--accent {
  background: linear-gradient(155deg, var(--accent) 0%, #d9ff85 100%);
  color: var(--accent-ink);
  border-color: transparent;
}

.bento__card--accent p { color: rgba(14, 22, 0, 0.72); }
.bento__card--accent .bento__icon { color: var(--accent-ink); }

.bento__icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.bento__card--lg .bento__icon { width: 46px; height: 46px; }

.bento__card .icon { width: 100%; height: 100%; }

.bento__card h3 {
  font-size: 19px;
  font-weight: 700;
}

.bento__card--lg h3 { font-size: 26px; }

.bento__card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 40ch;
}

.bento__arrow {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.55s var(--ease-spring);
}

.bento__arrow .icon { width: 15px; height: 15px; }

.bento__card--lg:hover .bento__arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: rotate(45deg);
}

/* ==========================================================================
   Courts / specs — real venue photo as a full-bleed background, spec
   grid floats on a frosted panel on top (distinct family from bento)
   ========================================================================== */

.courts {
  padding-block: 100px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.courts__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.courts__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

.courts__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-elevated) 0%, rgba(17, 26, 56, 0.55) 22%, rgba(17, 26, 56, 0.4) 65%, var(--bg-elevated) 100%),
    linear-gradient(100deg, rgba(10, 17, 40, 0.75) 0%, rgba(10, 17, 40, 0.25) 55%);
}

.courts__inner { position: relative; z-index: 1; }

.courts__copy { max-width: 640px; }

.specs {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

@media (min-width: 720px) {
  .specs { grid-template-columns: repeat(4, 1fr); }
}

.spec-card {
  background: rgba(17, 26, 56, 0.82);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-card__value {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--text-primary);
}

.spec-card__label {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spec-card p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Facility gallery — single-slide slider with dot pagination (distinct
   family: one large photo at a time, not a multi-card row like Trainers)
   ========================================================================== */

.facility { padding-block: 100px; }

.facility-slider { margin-top: 44px; }

.facility-slider__viewport {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
}

@media (min-width: 720px) {
  .facility-slider__viewport { aspect-ratio: 21 / 9; }
}

.facility-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.6s var(--ease-out);
}

.facility-slide {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
}

.facility-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-slider__arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 17, 40, 0.55);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.5s var(--ease-spring);
}

.facility-slider__arrow:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.1); }
.facility-slider__arrow .icon { width: 18px; height: 18px; }
.facility-slider__arrow--prev { left: 16px; }
.facility-slider__arrow--next { right: 16px; }

@media (min-width: 640px) {
  .facility-slider__arrow--prev { left: 24px; }
  .facility-slider__arrow--next { right: 24px; }
}

.facility-slider__foot {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.facility-slider__caption {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 20px);
  max-width: 44ch;
}

.facility-slider__dots {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.facility-slider__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background-color 0.25s, transform 0.25s;
}

.facility-slider__dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

/* ==========================================================================
   Trainers — horizontal scroll-snap carousel (distinct family)
   ========================================================================== */

.trainers { padding-block: 100px; }

.trainers__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.trainers__nav { display: flex; gap: 10px; }

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.5s var(--ease-spring);
}

.carousel-btn .icon { width: 18px; height: 18px; }

.carousel-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.08);
}

.carousel-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.trainers__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 24px 4px;
  margin-inline: -24px;
  scrollbar-width: none;
}

.trainers__track::-webkit-scrollbar { display: none; }

@media (min-width: 640px) {
  .trainers__track { grid-auto-columns: 46%; }
}

@media (min-width: 1024px) {
  .trainers__track {
    grid-auto-flow: initial;
    grid-template-columns: repeat(3, 1fr);
    margin-inline: 0;
    padding: 4px 0;
    overflow: visible;
  }
}

.trainer-card {
  scroll-snap-align: start;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--radius-card);
  padding: 20px;
  transition: transform 0.55s var(--ease-spring), border-color 0.35s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.trainer-card:hover {
  transform: translateY(-6px) scale(1.012);
  border-color: var(--border-strong);
  box-shadow: var(--glass-highlight), 0 20px 44px -18px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-transparency: reduce) {
  .trainer-card { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.trainer-card__photo {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-elevated-2);
}

/* Photos not shot yet: a deliberately monochrome placeholder (no brand
   blue, no lime) so it reads as "coming soon", not as finished content. */
.trainer-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, #1c1c1c 0px, #1c1c1c 1px, #262626 1px, #262626 42px);
}

.trainer-card__photo--placeholder span:not(.sr-only) {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 15vw;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .trainer-card__photo--placeholder span:not(.sr-only) { font-size: 7vw; }
}

@media (min-width: 1024px) {
  .trainer-card__photo--placeholder span:not(.sr-only) { font-size: 46px; }
}

.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;
}

.trainer-card h3 {
  margin-top: 20px;
  font-size: 19px;
}

.trainer-card__role {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trainer-card__bio {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   League + events — split (2nd split of the page, not adjacent to hero)
   ========================================================================== */

.league {
  padding-block: 100px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.league__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.league__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
}

.league__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-elevated) 0%, rgba(17, 26, 56, 0.5) 16%, rgba(17, 26, 56, 0.5) 84%, var(--bg-elevated) 100%),
    linear-gradient(100deg, rgba(10, 17, 40, 0.88) 0%, rgba(10, 17, 40, 0.4) 55%, rgba(10, 17, 40, 0.65) 100%);
}

.league__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 900px) {
  .league__inner { grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
}

.league__copy .btn { margin-top: 32px; }

.events {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.event-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: rgba(17, 26, 56, 0.78);
  flex-wrap: wrap;
}

.event-row__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.event-row__date span {
  font-family: 'Unbounded', sans-serif;
  font-size: 19px;
  color: var(--text-primary);
  font-weight: 700;
}

.event-row__body { flex: 1; min-width: 180px; }

.event-row__body h3 { font-size: 17px; }

.event-row__body p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.pill--open {
  background: rgba(212, 245, 46, 0.14);
  color: var(--accent);
}

.pill--limited {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

/* ==========================================================================
   Pricing — symmetric glass grid (distinct family: no featured cell,
   unlike the Directions bento, so it doesn't repeat that layout)
   ========================================================================== */

.pricing {
  padding-block: 100px;
  position: relative;
  background:
    radial-gradient(ellipse 700px 500px at 15% 15%, rgba(44, 53, 214, 0.16), transparent 60%),
    var(--bg);
}

.pricing__head { max-width: 640px; }

.pricing__grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 479px) {
  .pricing__grid { grid-template-columns: 1fr; }
}

.price-tile {
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: transform 0.55s var(--ease-spring), border-color 0.35s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.price-tile:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: var(--border-strong);
  box-shadow: var(--glass-highlight), 0 22px 48px -20px rgba(0, 0, 0, 0.55);
}

.price-tile__row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.price-tile__value {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.price-tile__unit {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

.price-tile__label {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.pricing__cta {
  margin-top: 40px;
  display: flex;
  width: fit-content;
}

/* ==========================================================================
   CTA banner — full-width statement (distinct family)
   ========================================================================== */

.cta-banner {
  padding-block: 120px;
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
}

.cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.cta-banner__title {
  font-size: clamp(36px, 6.5vw, 72px);
  color: var(--accent-ink);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { padding-top: 80px; }

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 720px) {
  .footer__inner { grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr; gap: 32px; }
}

.footer__brand p {
  margin-top: 18px;
  max-width: 32ch;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
}

.footer__social {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, color 0.25s;
}

.footer__social .icon { width: 17px; height: 17px; }
.footer__social a:hover { border-color: var(--accent); color: var(--accent); }

.footer__col { display: flex; flex-direction: column; gap: 14px; }

.footer__col h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.footer__col a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--text-primary); }
.footer__col .icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-tertiary); }

.footer__col span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.footer__form label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer__form-row {
  display: flex;
  gap: 8px;
}

.footer__form-row input {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-input);
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--text-primary);
  transition: border-color 0.25s;
}

.footer__form-row input::placeholder { color: var(--text-secondary); }
.footer__form-row input:focus { border-color: var(--accent); outline: none; }

.footer__form-row button {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: var(--radius-input);
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out);
}

.footer__form-row button:hover { transform: translateX(2px); }
.footer__form-row .icon { width: 18px; height: 18px; }

.footer__form-note {
  font-size: 13px;
  color: var(--accent);
  min-height: 16px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  padding-block: 28px;
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ==========================================================================
   Scroll-reveal (IntersectionObserver driven, see main.js)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .facility-slider__track { transition: none; }
}
