/* =====================================================
   HOOPS & RACKET MANDAUE — Court Energy
   Court red + graphite + bone · badminton & pickleball
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,0,0&display=block');

:root {
  /* Brand */
  --red: #EE3239;
  --red-deep: #C41F26;
  --red-dim: rgba(238, 50, 57, 0.14);

  /* Ground */
  --ink: #141414;
  --graphite: #1F1F1F;
  --char: #2A2A2A;

  /* Surfaces */
  --bone: #F4F1E8;
  --bone-soft: #ECE7DA;
  --cream: #FAF7EE;
  --paper: #FFFCF3;

  /* Accents */
  --lime: #DEFF1A;
  --lime-deep: #B8D900;
  --court-blue: #1E3A8A;
  --amber: #F59E0B;
  --slate: #64748b;
  --olive: #4A5828;

  /* Type */
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1480px;
  --radius: 22px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Material Symbols base */
.ms {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  user-select: none;
}

/* Grain overlay */
.grain { position: relative; }
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.14;
  mix-blend-mode: multiply;
  z-index: 1;
}
.grain.dark::after { mix-blend-mode: overlay; opacity: 0.18; }

/* Layout primitives */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: currentColor;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--red);
}
.eyebrow.no-rule::before { display: none; }
.eyebrow.lime::before { background: var(--lime); }

/* Display headings */
.h-display {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  font-variation-settings: 'wdth' 100;
}
.h-section {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 5.4vw, 4.6rem);
}
.h-card {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: none;
  border-radius: 6px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.2, 0.7, 0.3, 1), background 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn .ms { font-size: 18px; }

.btn-primary {
  background: var(--red);
  color: white;
}
.btn-primary:hover { background: var(--red-deep); box-shadow: 0 8px 24px -6px rgba(238, 50, 57, 0.45); }

.btn-light {
  background: white;
  color: var(--ink);
  border: 1px solid rgba(20, 20, 20, 0.1);
}
.btn-light:hover { background: var(--cream); box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.12); }

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid rgba(244, 241, 232, 0.3);
}
.btn-ghost:hover { background: rgba(244, 241, 232, 0.08); border-color: rgba(244, 241, 232, 0.55); }

.btn-lime {
  background: var(--lime);
  color: var(--ink);
}
.btn-lime:hover { background: #e8ff4a; }

.btn-ink {
  background: var(--ink);
  color: var(--bone);
}
.btn-ink:hover { background: var(--graphite); }

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: 10px var(--gutter);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--bone);
  position: relative;
  z-index: 1;
}
.nav-logo-img {
  display: block;
  height: 48px;
  width: auto;
  background: var(--bone);
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.nav-logo:hover .nav-logo-img { transform: translateY(-1px); }
.nav.scrolled .nav-logo-img { height: 42px; padding: 5px 10px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: var(--bone);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.2s;
  opacity: 0.85;
}
.nav-links a:hover { background: rgba(244, 241, 232, 0.08); opacity: 1; }
.nav-cta { margin-left: 6px; }

@media (max-width: 820px) {
  .nav { padding: 12px var(--gutter); }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.97);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 84px 22px 32px;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
    z-index: 99;
    max-height: 100vh;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { border-top: 1px solid rgba(244, 241, 232, 0.08); }
  .nav-links li:first-child { border-top: none; }
  .nav-links a {
    display: block;
    padding: 18px 6px;
    font-size: 18px;
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: 0;
    opacity: 1;
  }
  .nav-cta { display: none; }
  .nav-mobile-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: rgba(244,241,232,0.1);
    color: var(--bone);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 101;
  }
  .nav-mobile-toggle:active { transform: scale(0.94); }
  body.nav-menu-open { overflow: hidden; }
}
@media (min-width: 821px) {
  .nav-mobile-toggle { display: none; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  background: var(--ink);
  color: var(--bone);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 120px var(--gutter) 60px;
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(238, 50, 57, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 90%, rgba(222, 255, 26, 0.06), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, #0a0a0a 100%);
}
.hero-court-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
}
.hero-court-lines svg { width: 100%; height: 100%; }

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 38px;
}
.hero-meta-item {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
}
.hero-meta-item strong { color: var(--lime); font-weight: 500; opacity: 1; }

.hero-headline {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.2rem, 12vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin-bottom: 30px;
  font-variation-settings: 'wdth' 100;
}
.hero-headline .row {
  display: block;
  overflow: hidden;
}
.hero-headline .row span {
  display: inline-block;
  animation: hero-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.hero-headline .row:nth-child(1) span { animation-delay: 0.1s; }
.hero-headline .row:nth-child(2) span { animation-delay: 0.22s; }
.hero-headline .row:nth-child(3) span { animation-delay: 0.34s; }

.hero-headline .row.spaced {
  font-weight: 500;
  font-size: 0.16em;
  letter-spacing: 0.42em;
  margin-top: 10px;
  text-transform: uppercase;
  opacity: 0.75;
}
.hero-headline .row.large {
  letter-spacing: -0.06em;
}
.hero-headline .row.amp {
  color: var(--red);
  display: inline-block;
  font-weight: 700;
  margin: 0 0.05em;
  transform: rotate(-4deg);
}
.hero-headline .row.tag {
  font-weight: 500;
  font-size: 0.14em;
  letter-spacing: 0.14em;
  margin-top: 22px;
  text-transform: uppercase;
  color: var(--lime);
}

@keyframes hero-rise {
  from { transform: translateY(102%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.hero-subhead {
  font-family: var(--body);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 400;
  max-width: 540px;
  opacity: 0.85;
  margin-bottom: 36px;
  line-height: 1.55;
  animation: hero-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s backwards;
}
.hero-subhead em {
  font-style: normal;
  font-weight: 700;
  color: var(--red);
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: hero-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.75s backwards;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(244, 241, 232, 0.15);
  padding-top: 28px;
  animation: hero-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s backwards;
}
.hero-stat {
  padding-right: 24px;
  border-right: 1px solid rgba(244, 241, 232, 0.1);
}
.hero-stat:last-child { border-right: none; padding-right: 0; }
.hero-stat-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--bone);
}
.hero-stat-num sup {
  font-size: 0.4em;
  color: var(--red);
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0;
}
.hero-stat-num em {
  font-family: var(--mono);
  font-size: 0.45em;
  font-weight: 400;
  font-style: normal;
  color: var(--lime);
  letter-spacing: 0.05em;
  margin: 0 4px;
}
.hero-stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 8px;
  font-weight: 400;
}

/* Hero corner stamp — shuttle motif */
.hero-corner-stamp {
  position: absolute;
  bottom: 30px;
  right: var(--gutter);
  z-index: 3;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 241, 232, 0.2);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.85;
}
.hero-corner-stamp-text {
  position: absolute;
  inset: 0;
  animation: spin 28s linear infinite;
}
.hero-corner-stamp-text svg { width: 100%; height: 100%; overflow: visible; }
.hero-corner-stamp-text text { fill: var(--bone); font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.2em; }
.hero-corner-stamp-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--red);
  border-radius: 50%;
  position: relative;
  z-index: 2;
}
.hero-corner-stamp-icon .ms { color: white; font-size: 20px; }
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (max-width: 700px) {
  .hero-corner-stamp { display: none; }
}

/* Sport tags below hero */
.hero-sports {
  position: absolute;
  bottom: 46px;
  left: var(--gutter);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-sport-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(244, 241, 232, 0.25);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-sport-tag .ms { font-size: 14px; color: var(--lime); }
.hero-sport-tag .ms.red { color: var(--red); }
@media (max-width: 700px) {
  .hero-sports { position: static; margin-top: 16px; }
}

/* =====================================================
   MARQUEE
   ===================================================== */
.marquee {
  background: var(--lime);
  color: var(--ink);
  padding: 22px 0;
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.marquee.dark {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--red);
}
.marquee.red {
  background: var(--red);
  color: white;
  border-color: var(--ink);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4.4vw, 3.4rem);
  letter-spacing: -0.025em;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 32px;
  text-transform: uppercase;
}
.marquee-item::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--ink);
  border-radius: 50%;
  margin-left: 32px;
  flex-shrink: 0;
}
.marquee.dark .marquee-item::after { background: var(--lime); }
.marquee.red .marquee-item::after { background: white; }

/* Asterisk for badminton/pickleball alternation */
.marquee-item .ast {
  display: inline-block;
  font-size: 0.7em;
  color: var(--red);
  margin: 0 6px;
  transform: translateY(-2px);
}
.marquee.dark .marquee-item .ast { color: var(--lime); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================================================
   PRICING
   ===================================================== */
.pricing {
  background: var(--bone);
  padding: 110px var(--gutter);
  position: relative;
}
.pricing-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 56px;
  max-width: var(--max);
  margin-inline: auto;
}
.pricing-head-left { max-width: 700px; }
.pricing-head-left .eyebrow { color: var(--red); margin-bottom: 16px; }
.pricing-head-left h2 { color: var(--ink); }
.pricing-head-left h2 em { font-style: normal; color: var(--red); font-weight: 800; }
.pricing-head-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: right;
  opacity: 0.7;
}
.pricing-head-meta .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); border: 1px solid var(--ink); margin-right: 6px; vertical-align: middle; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  max-width: var(--max);
  margin-inline: auto;
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.08);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.price-card:hover { transform: translateY(-3px); }
.price-card.featured {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.price-card-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--lime);
  color: var(--ink);
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 24px;
  font-weight: 500;
}
.price-card.featured .price-card-tag {
  background: var(--red);
  color: white;
}
.price-card-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.price-card-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 6px;
}
.price-card-sub {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.5;
}

.price-mega {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.85;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 32px;
}
.price-mega .amount {
  font-size: clamp(4.5rem, 11vw, 9rem);
  color: var(--red);
}
.price-card.featured .price-mega .amount { color: var(--red); }
.price-mega .unit {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.65;
}

.price-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
}
.price-card.featured .price-features { border-color: rgba(244, 241, 232, 0.15); }
.price-feature {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 13px;
}
.price-feature .ms {
  color: var(--red);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: -1px;
}
.price-card.featured .price-feature .ms { color: var(--lime); }

.price-card-foot {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Add-on card */
.price-addon {
  background: var(--red);
  color: white;
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.price-addon::before {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}
.price-addon-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.2);
  padding: 5px 10px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 20px;
  font-weight: 500;
}
.price-addon-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin-bottom: 6px;
}
.price-addon-sub {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 30px;
}
.price-addon-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.price-addon-price small {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 4px;
  opacity: 0.7;
}
.price-addon-foot {
  font-size: 12px;
  opacity: 0.75;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.pricing-fineprint {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  text-align: center;
  margin-top: 36px;
  font-family: var(--mono);
  max-width: var(--max);
  margin-inline: auto;
}

/* =====================================================
   FACILITY
   ===================================================== */
.facility {
  background: var(--ink);
  color: var(--bone);
  padding: 130px var(--gutter);
  position: relative;
  overflow: hidden;
}
.facility-head {
  max-width: var(--max);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
@media (max-width: 880px) { .facility-head { grid-template-columns: 1fr; } }

.facility-head h2 { color: var(--bone); }
.facility-head h2 em { font-style: normal; color: var(--red); font-weight: 800; }
.facility-head-right p { font-size: 15px; opacity: 0.78; line-height: 1.7; max-width: 460px; }

.facility-features {
  max-width: var(--max);
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .facility-features { grid-template-columns: 1fr; } }

.facility-feature {
  background: var(--graphite);
  border: 1px solid rgba(244, 241, 232, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
}
.facility-feature:hover { background: var(--char); border-color: var(--red); }
.facility-feature-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.45;
  font-weight: 500;
}
.facility-feature .ms {
  font-size: 36px;
  color: var(--red);
  margin-bottom: 24px;
  display: block;
}
.facility-feature h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  line-height: 1.05;
}
.facility-feature p {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.6;
}

/* Court visual grid */
.facility-courts {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  height: clamp(400px, 60vw, 620px);
}
@media (max-width: 880px) {
  .facility-courts { grid-template-columns: 1fr; height: auto; }
}
.facility-court {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--graphite);
  min-height: 280px;
}
.facility-court video,
.facility-court-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
.facility-court video { z-index: 1; }
.facility-court-fallback { z-index: 0; }

/* Badminton court visual fallback */
.facility-court-fallback {
  background:
    linear-gradient(180deg, transparent 0%, rgba(20,20,20,0.7) 100%),
    repeating-linear-gradient(0deg, rgba(238,50,57,0.04) 0 22px, transparent 22px 80px),
    radial-gradient(ellipse at 50% 40%, #2a4a3d 0%, #0e1e15 80%);
  position: relative;
}
.facility-court-fallback::before {
  content: '';
  position: absolute;
  inset: 12% 18%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 2px;
}
.facility-court-fallback::after {
  content: '';
  position: absolute;
  left: 18%; right: 18%; top: 50%;
  height: 2px;
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}
.facility-court-fallback.pickleball {
  background:
    linear-gradient(180deg, transparent 0%, rgba(20,20,20,0.7) 100%),
    repeating-linear-gradient(0deg, rgba(238,50,57,0.04) 0 22px, transparent 22px 80px),
    radial-gradient(ellipse at 50% 40%, #4a3527 0%, #1c0e08 80%);
}

.facility-court-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(20, 20, 20, 0.92));
  z-index: 2;
}
.facility-court-overlay-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--red);
  color: white;
  padding: 4px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
  font-weight: 500;
}
.facility-court-overlay-tag.lime { background: var(--lime); color: var(--ink); }
.facility-court-overlay-name {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.facility-court-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 880px) { .facility-court-side { grid-template-rows: auto auto; } }

/* =====================================================
   STORIES
   ===================================================== */
.stories {
  background: var(--bone);
  padding: 130px var(--gutter);
  position: relative;
  overflow: hidden;
}
.stories-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 980px) { .stories-grid { grid-template-columns: 1fr; gap: 40px; } }

.stories-left .eyebrow { color: var(--red); margin-bottom: 14px; }
.stories-left h2 {
  margin-bottom: 50px;
}
.stories-left h2 em {
  font-style: normal;
  color: var(--red);
  font-weight: 800;
}

.stories-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 2px solid var(--ink);
}
.stories-stat {
  padding: 28px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.15);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}
.stories-stat:nth-child(odd) { padding-right: 24px; border-right: 1px solid rgba(20,20,20,0.15); }
.stories-stat:nth-child(even) { padding-left: 24px; }
.stories-stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 4.8vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stories-stat-num em { font-style: normal; color: var(--red); }
.stories-stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.65;
  text-align: right;
  flex: 1;
  font-weight: 500;
}

.stories-right { position: relative; }
.stories-card {
  background: var(--ink);
  color: var(--bone);
  padding: 48px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--red);
}
.stories-card-mark {
  position: absolute;
  top: 24px;
  right: 36px;
  font-family: var(--display);
  font-size: 8rem;
  font-weight: 800;
  line-height: 0.8;
  color: var(--red);
}
.stories-card-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}
.stories-card-rating .ms { color: var(--lime); font-size: 18px; font-variation-settings: 'FILL' 1; }
.stories-card-quote {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 32px;
  padding-right: 80px;
}
.stories-card-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 241, 232, 0.15);
}
.stories-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
  font-size: 18px;
}
.stories-card-author-info strong {
  display: block;
  font-weight: 600;
  font-size: 15px;
}
.stories-card-author-info span {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.7;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =====================================================
   CLUBS / EVENTS
   ===================================================== */
.clubs {
  background: var(--cream);
  padding: 130px var(--gutter);
}
.clubs-head {
  max-width: var(--max);
  margin: 0 auto 60px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.clubs-head .eyebrow { color: var(--red); margin-bottom: 14px; }
.clubs-head h2 em { font-style: normal; color: var(--red); font-weight: 800; }
.clubs-head-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--bone);
  padding: 10px 16px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.clubs-head-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
.clubs-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 980px) { .clubs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .clubs-grid { grid-template-columns: 1fr; } }

.club-card {
  background: white;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.club-card:hover { transform: translateY(-3px); border-color: var(--red); }
.club-card-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0.5;
  margin-bottom: 50px;
}
.club-card-day {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--lime);
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 600;
}
.club-card-day.red { background: var(--red); color: white; }
.club-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 8px;
}
.club-card p {
  font-size: 12px;
  opacity: 0.65;
  line-height: 1.55;
}
.club-card-time {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.club-card-time strong { color: var(--red); }

/* =====================================================
   FAQ
   ===================================================== */
.faq {
  background: var(--bone);
  padding: 130px var(--gutter);
}
.faq-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; gap: 40px; } }

.faq-left .eyebrow { color: var(--red); margin-bottom: 14px; }
.faq-left h2 { margin-bottom: 28px; }
.faq-left h2 em { font-style: normal; color: var(--red); font-weight: 800; }
.faq-left p { opacity: 0.7; line-height: 1.7; margin-bottom: 28px; max-width: 320px; }
.faq-help-card {
  background: var(--ink);
  color: var(--bone);
  padding: 22px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: background 0.2s;
}
.faq-help-card:hover { background: var(--graphite); }
.faq-help-card .ms { font-size: 28px; color: var(--lime); }
.faq-help-card-text strong { display: block; font-weight: 600; }
.faq-help-card-text span { font-family: var(--mono); font-size: 11px; opacity: 0.65; letter-spacing: 0.05em; }
.faq-help-card-arrow { margin-left: auto; }

.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid rgba(20, 20, 20, 0.18);
  padding: 24px 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid rgba(20, 20, 20, 0.18); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.faq-item:hover .faq-q { color: var(--red); }
.faq-q-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bone);
  border-radius: 50%;
  transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-q-icon { transform: rotate(45deg); background: var(--red); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.3s;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}
.faq-item.open .faq-a {
  max-height: 280px;
  opacity: 0.78;
  margin-top: 14px;
}

/* =====================================================
   FIND
   ===================================================== */
.find {
  background: var(--ink);
  color: var(--bone);
  padding: 130px var(--gutter);
}
.find-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 980px) { .find-grid { grid-template-columns: 1fr; } }

.find-left .eyebrow { color: var(--lime); margin-bottom: 14px; }
.find-left .eyebrow::before { background: var(--lime); }
.find-left h2 { color: var(--bone); margin-bottom: 36px; }
.find-left h2 em { font-style: normal; color: var(--red); font-weight: 800; }
.find-info { display: flex; flex-direction: column; gap: 0; max-width: 380px; }
.find-info-item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid rgba(244, 241, 232, 0.14);
}
.find-info-item:first-child { border-top: 2px solid var(--red); padding-top: 24px; }
.find-info-item .ms { color: var(--red); font-size: 26px; flex-shrink: 0; }
.find-info-item-text strong {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}
.find-info-item-text p { font-size: 14px; opacity: 0.72; line-height: 1.55; }
.find-info-item-text a {
  color: var(--lime);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-weight: 500;
}
.find-info-item-text a:hover { color: white; }

.find-map {
  background: var(--graphite);
  border-radius: var(--radius);
  height: 460px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 232, 0.08);
}
.find-map-inner {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(238, 50, 57, 0.16), transparent 60%),
    repeating-linear-gradient(45deg, rgba(244, 241, 232, 0.02) 0 20px, transparent 20px 40px),
    repeating-linear-gradient(-45deg, rgba(244, 241, 232, 0.025) 0 30px, transparent 30px 60px),
    var(--ink);
}
.find-map-roads {
  position: absolute;
  inset: 0;
}
.find-map-roads::before,
.find-map-roads::after {
  content: '';
  position: absolute;
  background: rgba(244, 241, 232, 0.12);
}
.find-map-roads::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 26px;
  transform: rotate(-6deg);
}
.find-map-roads::after {
  left: 35%;
  top: 0;
  bottom: 0;
  width: 18px;
  transform: rotate(8deg);
}
.find-map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
}
.find-map-pin-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid var(--bone);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  animation: pulse-pin 2s ease-in-out infinite;
}
@keyframes pulse-pin {
  0%, 100% { box-shadow: 0 6px 20px rgba(0,0,0,0.5), 0 0 0 0 rgba(238, 50, 57, 0.6); }
  50% { box-shadow: 0 6px 20px rgba(0,0,0,0.5), 0 0 0 18px rgba(238, 50, 57, 0); }
}
.find-map-pin-label {
  background: var(--bone);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 6px;
  white-space: nowrap;
}
.find-map-coords {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.55;
}
.find-map-cta {
  position: absolute;
  bottom: 20px;
  right: 20px;
}
.find-map-talisay {
  position: absolute;
  top: 22%;
  right: 18%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.55;
  z-index: 1;
}
.find-map-talisay-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--bone);
}
.find-map-talisay-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =====================================================
   CLOSING + NEWSLETTER + FOOTER
   ===================================================== */
.closing {
  background: var(--bone);
  padding: 100px var(--gutter) 0;
}
.closing-banner {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--red);
  color: white;
  border-radius: var(--radius);
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 40px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
@media (max-width: 880px) {
  .closing-banner { grid-template-columns: 1fr; padding: 50px 30px; }
}
.closing-banner h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.closing-banner h2 em {
  font-style: normal;
  font-weight: 800;
  color: var(--lime);
}
.closing-banner p {
  font-size: 14px;
  opacity: 0.85;
  margin: 16px 0 0;
  max-width: 380px;
  line-height: 1.6;
}
.closing-banner-bg {
  position: absolute;
  right: -100px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.closing-banner-bg::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.closing-banner-bg::after {
  content: '';
  position: absolute;
  inset: 80px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter {
  background: var(--bone);
  padding: 80px var(--gutter) 100px;
}
.newsletter-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
@media (max-width: 780px) { .newsletter-inner { grid-template-columns: 1fr; } }
.newsletter h2 em { font-style: normal; color: var(--red); font-weight: 800; }
.newsletter-form {
  display: flex;
  gap: 0;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 6px;
  align-items: center;
}
.newsletter-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 18px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(20,20,20,0.4); }
.newsletter-form button {
  border: none;
  background: var(--red);
  color: white;
  padding: 14px 24px;
  border-radius: 4px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--red-deep); }

.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 80px var(--gutter) 30px;
  border-top: 1px solid rgba(244, 241, 232, 0.06);
}
.footer-mark {
  max-width: var(--max);
  margin: 0 auto 60px;
  text-align: center;
}
.footer-mark-img {
  display: block;
  width: clamp(280px, 60%, 520px);
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 60px;
  border-top: 1px solid rgba(244, 241, 232, 0.12);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--bone);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.78;
  transition: opacity 0.15s, color 0.15s;
}
.footer-col a:hover { opacity: 1; color: var(--lime); }
.footer-col p { font-size: 13px; opacity: 0.65; line-height: 1.6; max-width: 280px; }

.footer-socials { display: flex; gap: 8px; margin-top: 16px; }
.footer-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid rgba(244,241,232,0.18);
  transition: background 0.2s, border-color 0.2s;
}
.footer-socials a:hover { background: var(--red); border-color: var(--red); }

.footer-bottom {
  max-width: var(--max);
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 241, 232, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: inherit; text-decoration: none; }
.footer-bottom-links a:hover { color: var(--lime); }

/* =====================================================
   BOOKING PAGE
   ===================================================== */
.booking-page {
  background: var(--bone);
  min-height: 100vh;
  padding: 100px var(--gutter) 60px;
}
.booking-shell {
  max-width: var(--max);
  margin: 0 auto;
}

.booking-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--ink);
}
.booking-head .eyebrow { color: var(--red); margin-bottom: 12px; }
.booking-head h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.booking-head h1 em { font-style: normal; color: var(--red); font-weight: 800; }
.booking-head-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
  text-align: right;
}

/* Stepper */
.stepper {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.stepper-item {
  flex: 1;
  min-width: 130px;
  padding: 14px 18px;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(20,20,20,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s, border-color 0.2s;
}
.stepper-item.active {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.stepper-item.done {
  background: white;
  color: var(--ink);
  border-color: var(--lime);
}
.stepper-item.done .stepper-num { background: var(--lime); color: var(--ink); }
.stepper-num {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: rgba(20, 20, 20, 0.08);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.stepper-item.active .stepper-num { background: var(--red); color: white; }
.stepper-label {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.stepper-sub {
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0.65;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
}
@media (max-width: 1080px) {
  .booking-grid { grid-template-columns: 1fr; }
}

/* Date selector */
.date-bar {
  background: white;
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(20,20,20,0.06);
  flex-wrap: wrap;
}
.date-bar-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bone);
  border-radius: 8px;
}
.date-bar-info { flex: 1; }
.date-bar-info strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.025em;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}
.date-bar-info span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
}
.date-bar-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--bone);
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.date-pill:hover { background: var(--graphite); }
.date-pill.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(20,20,20,0.15);
}
.date-pill.ghost:hover { background: rgba(20,20,20,0.05); }
.date-icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--cream);
  border: 1px solid rgba(20,20,20,0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.date-icon-btn:hover { background: var(--ink); color: var(--bone); }
.date-icon-btn .ms { font-size: 20px; }

.date-info-banner {
  background: var(--lime);
  border-left: 4px solid var(--ink);
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  color: var(--ink);
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 500;
}
.date-info-banner .ms { font-size: 18px; color: var(--red); }

/* Sport filter */
.sport-filter {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  background: white;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid rgba(20,20,20,0.06);
  width: fit-content;
}
.sport-filter button {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s, color 0.15s;
  color: var(--ink);
}
.sport-filter button .ms { font-size: 16px; }
.sport-filter button.active { background: var(--ink); color: var(--bone); }
.sport-filter button:not(.active):hover { background: var(--cream); }

/* Slot grid */
.slot-grid {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(20,20,20,0.06);
  position: relative;
}
.slot-scroll {
  overflow-x: auto;
}
.slot-grid-head {
  display: grid;
  grid-template-columns: 130px repeat(var(--cols, 16), minmax(72px, 1fr));
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
  min-width: max-content;
}
.slot-grid-corner {
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.55;
  border-right: 1px solid rgba(20,20,20,0.08);
  font-weight: 500;
}
.slot-hour {
  padding: 12px 8px 14px;
  text-align: center;
  border-right: 1px solid rgba(20,20,20,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.slot-hour-time {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.slot-hour-period { display: flex; align-items: center; gap: 4px; opacity: 0.55; }
.slot-hour-period .ms { font-size: 14px; }
.slot-hour-period span { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }

.slot-grid-body {
  min-width: max-content;
}
.slot-row {
  display: grid;
  grid-template-columns: 130px repeat(var(--cols, 16), minmax(72px, 1fr));
  border-bottom: 1px solid rgba(20,20,20,0.05);
  min-width: max-content;
}
.slot-row:last-child { border-bottom: none; }
.slot-row.section-divider { background: var(--bone); border-top: 2px solid var(--ink); }
.slot-row.section-divider .slot-court {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--bone);
}
.slot-row.section-divider .slot-court .ms { font-size: 16px; color: var(--red); margin-right: 4px; vertical-align: middle; }
.slot-court {
  padding: 16px;
  background: white;
  position: sticky;
  left: 0;
  border-right: 1px solid rgba(20,20,20,0.08);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
.slot-court-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.015em;
}
.slot-court-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}
.slot-court-tag .badge {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.slot-court-tag .badge.bad { background: var(--red); }
.slot-court-tag .badge.pkb { background: var(--lime); }

.slot-cell {
  border-right: 1px solid rgba(20,20,20,0.05);
  padding: 8px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s;
  min-height: 72px;
}
.slot-cell:active { transform: scale(0.96); }
.slot-cell-inner {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.slot-cell-inner small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.slot-cell-inner span {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  font-weight: 500;
}

.slot-cell.available .slot-cell-inner {
  background: rgba(222, 255, 26, 0.32);
  color: var(--ink);
}
.slot-cell.available:hover .slot-cell-inner {
  background: var(--lime);
  border-color: var(--ink);
}
.slot-cell.selected .slot-cell-inner {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.slot-cell.booked .slot-cell-inner {
  background: rgba(20, 20, 20, 0.85);
  color: rgba(255,255,255,0.7);
}
.slot-cell.booked .slot-cell-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 6px, rgba(255,255,255,0.08) 6px 7px);
  border-radius: 6px;
}
.slot-cell.pending .slot-cell-inner {
  background: rgba(245, 158, 11, 0.2);
  color: #92400e;
  border: 1px dashed rgba(245, 158, 11, 0.7);
}
.slot-cell.blocked .slot-cell-inner {
  background: rgba(20, 20, 20, 0.06);
  color: rgba(20, 20, 20, 0.4);
}
.slot-cell.closed { cursor: not-allowed; }
.slot-cell.closed .slot-cell-inner {
  background: rgba(100, 116, 139, 0.05);
  color: rgba(20, 20, 20, 0.25);
}
.slot-cell.closed .slot-cell-inner small { text-decoration: line-through; }

.slot-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 22px;
  border-top: 1px solid rgba(20,20,20,0.08);
  background: var(--cream);
}
.slot-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.slot-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}
.slot-legend-swatch.available { background: var(--lime); }
.slot-legend-swatch.selected { background: var(--red); }
.slot-legend-swatch.booked { background: rgba(20,20,20,0.85); }
.slot-legend-swatch.pending { background: rgba(245, 158, 11, 0.5); border: 1px dashed var(--amber); }
.slot-legend-swatch.blocked { background: rgba(20, 20, 20, 0.2); }

/* Cart */
.cart {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(20,20,20,0.06);
  position: sticky;
  top: 100px;
  align-self: start;
}
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 20px;
}
.cart-head h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}
.cart-count {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.cart-empty {
  text-align: center;
  padding: 30px 0;
}
.cart-empty .ms { font-size: 38px; opacity: 0.3; margin-bottom: 12px; display: block; }
.cart-empty p { font-size: 13px; opacity: 0.6; }

.cart-items { display: flex; flex-direction: column; gap: 8px; }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--cream);
  border-radius: 6px;
  font-size: 13px;
  gap: 8px;
  border-left: 3px solid var(--red);
}
.cart-item.bad { border-left-color: var(--red); }
.cart-item.pkb { border-left-color: var(--lime); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info strong { display: block; font-size: 13px; font-weight: 600; }
.cart-item-info span { font-family: var(--mono); font-size: 11px; opacity: 0.65; letter-spacing: 0.04em; }
.cart-item-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  margin-right: 8px;
}
.cart-item-remove {
  width: 24px; height: 24px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid rgba(20,20,20,0.12);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.15s;
}
.cart-item-remove:hover { background: var(--red); color: white; border-color: var(--red); }
.cart-item-remove .ms { font-size: 14px; }

.cart-paddle {
  margin-top: 18px;
  padding: 16px;
  background: var(--bone);
  border: 1px dashed rgba(20,20,20,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-paddle-info { flex: 1; }
.cart-paddle-info strong {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
}
.cart-paddle-info span {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.65;
  letter-spacing: 0.04em;
}
.cart-paddle-control { display: flex; align-items: center; gap: 6px; }
.cart-paddle-control button {
  width: 28px; height: 28px;
  border: 1px solid rgba(20,20,20,0.15);
  background: white;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.cart-paddle-control button:hover { background: var(--ink); color: var(--bone); }
.cart-paddle-control input {
  width: 32px;
  text-align: center;
  border: none;
  background: transparent;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  outline: none;
}

.cart-total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(20,20,20,0.1);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 13px;
  opacity: 0.75;
}
.cart-total-row.grand {
  font-size: 16px;
  opacity: 1;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}
.cart-total-row.grand strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.025em;
  color: var(--red);
}
.cart-cta {
  width: 100%;
  margin-top: 20px;
  justify-content: center;
}

/* Mobile bottom action bar */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ink);
  color: var(--bone);
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  z-index: 50;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.25);
}
.mobile-bar-info { line-height: 1.1; }
.mobile-bar-info strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.025em;
  display: block;
  color: var(--lime);
}
.mobile-bar-info span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}
.mobile-bar .btn { padding: 12px 20px; font-size: 13px; }
@media (max-width: 1080px) {
  .mobile-bar.has-items { display: flex; }
  .booking-page { padding-bottom: 110px; }
}

/* Form fields */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.75;
}
.field input {
  padding: 14px 18px;
  border: 1px solid rgba(20,20,20,0.15);
  border-radius: 6px;
  background: var(--cream);
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus { border-color: var(--red); background: white; }

.contact-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(20,20,20,0.06);
}
.contact-card-head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
}
.contact-card-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}
.contact-card-head p { font-size: 13px; opacity: 0.65; }
.turnstile-stub {
  background: var(--cream);
  border: 1px dashed rgba(20,20,20,0.2);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  font-size: 13px;
}
.turnstile-stub .check {
  width: 28px; height: 28px;
  background: var(--lime);
  border-radius: 4px;
  display: grid; place-items: center;
  color: var(--ink);
}
.turnstile-stub small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.55; }

/* Review */
.review-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(20,20,20,0.06);
}
.review-section {
  padding: 22px 0;
  border-top: 1px solid rgba(20,20,20,0.1);
}
.review-section:first-of-type { border-top: none; padding-top: 0; }
.review-section-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 10px;
  font-weight: 500;
}
.review-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
  gap: 12px;
}
.review-row strong { font-weight: 600; text-align: right; }
.review-total {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.review-total .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.65; }
.review-total .amt {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.035em;
  color: var(--red);
}

/* Payment */
.pay-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 700px) { .pay-grid { grid-template-columns: 1fr; } }
.pay-qr {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border: 1px solid rgba(20,20,20,0.06);
}
.pay-qr-frame {
  width: 100%;
  aspect-ratio: 1;
  background: white;
  border: 1px solid rgba(20,20,20,0.1);
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  position: relative;
}
.pay-qr-frame svg { width: 80%; height: 80%; }
.pay-qr-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--bone);
  padding: 5px 12px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 8px;
}
.pay-qr-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.pay-qr-text { font-size: 12px; opacity: 0.7; }

.pay-upload {
  background: var(--cream);
  border: 2px dashed rgba(20,20,20,0.2);
  border-radius: var(--radius);
  padding: 60px 20px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.pay-upload:hover { background: white; border-color: var(--red); }
.pay-upload .ms { font-size: 44px; color: var(--red); margin-bottom: 14px; display: block; }
.pay-upload-title { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.pay-upload-sub { font-size: 12px; opacity: 0.65; }
.pay-upload-meta { margin-top: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.5; }

.pay-policy {
  margin-top: 20px;
  background: rgba(238, 50, 57, 0.08);
  border-left: 3px solid var(--red);
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.55;
}
.pay-policy strong { color: var(--red); display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }

/* Booking foot actions */
.booking-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(20,20,20,0.08);
  gap: 12px;
  flex-wrap: wrap;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.modal-overlay.open { display: flex; animation: fade 0.2s; }
.modal {
  background: var(--bone);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  padding: 36px;
  position: relative;
  animation: scale-in 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  border-top: 4px solid var(--red);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
.modal h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.modal-sub { font-size: 13px; opacity: 0.65; margin-bottom: 24px; }
.modal-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 18px;
}
.modal-card .review-row { padding: 3px 0; font-size: 13px; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; justify-content: center; }

/* Success */
.success-screen {
  background: white;
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  border: 1px solid rgba(20,20,20,0.06);
  border-top: 4px solid var(--lime);
}
.success-mark {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid; place-items: center;
  margin: 0 auto 24px;
  animation: pop 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.success-mark .ms { font-size: 44px; font-variation-settings: 'wght' 600; }
@keyframes pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.success-screen h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.success-pending {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.18);
  color: #92400e;
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.success-pending::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}
.success-screen p { font-size: 14px; opacity: 0.75; max-width: 460px; margin: 0 auto 28px; line-height: 1.6; }

/* Step content fade */
.step-content { display: none; animation: fade 0.25s; }
.step-content.active { display: block; }

/* Reveal on scroll */
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.js-reveal-ready .reveal.in { opacity: 1; transform: none; }

/* Utility */
.spacer-lg { height: 80px; }
.text-red { color: var(--red); }
.text-lime { color: var(--lime); }
.text-ink { color: var(--ink); }

/* =====================================================
   MOBILE REFINEMENTS
   Consolidated tightening for ≤768px and ≤480px.
   ===================================================== */
@media (max-width: 768px) {
  /* Section padding */
  .pricing,
  .facility,
  .stories,
  .clubs,
  .faq,
  .find { padding-block: 72px; }
  .closing { padding-top: 64px; }
  .newsletter { padding-block: 56px 72px; }
  .footer { padding-block: 56px 24px; }

  /* Hero */
  .hero { padding: 96px var(--gutter) 56px; min-height: auto; }
  .hero-meta { margin-bottom: 24px; gap: 12px; }
  .hero-headline { margin-bottom: 22px; letter-spacing: -0.04em; }
  .hero-subhead { margin-bottom: 28px; }
  .hero-cta { margin-bottom: 40px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero-stats { padding-top: 20px; gap: 0; }
  .hero-stat { padding-right: 14px; }
  .hero-stat-num { font-size: clamp(1.6rem, 8vw, 2.4rem); gap: 3px; }
  .hero-stat-label { font-size: 9px; letter-spacing: 0.1em; margin-top: 6px; }
  .hero-sports { gap: 6px; flex-wrap: wrap; }
  .hero-sport-tag { padding: 6px 10px; font-size: 9px; }

  /* Marquee */
  .marquee { padding: 16px 0; }
  .marquee-item { padding: 0 18px; gap: 22px; }
  .marquee-item::after { margin-left: 22px; }

  /* Pricing */
  .pricing-head { margin-bottom: 36px; gap: 20px; }
  .pricing-head-meta { text-align: left; }
  .price-card { padding: 28px 22px; }
  .price-card-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
  .price-mega { margin-bottom: 24px; }
  .price-features { grid-template-columns: 1fr; gap: 12px; padding: 18px 0; }
  .price-card-foot { gap: 8px; }
  .price-card-foot .btn { flex: 1 1 auto; justify-content: center; }
  .price-addon { padding: 26px 22px; }
  .price-addon::before { width: 140px; height: 140px; bottom: -30px; right: -30px; }

  /* Facility */
  .facility-head { gap: 28px; margin-bottom: 40px; }
  .facility-feature { padding: 26px 22px; }
  .facility-feature h3 { font-size: 1.4rem; }
  .facility-courts { gap: 10px; }
  .facility-court { min-height: 220px; }
  .facility-court-overlay { padding: 18px; }
  .facility-court-side { gap: 10px; }

  /* Stories */
  .stories-grid { gap: 36px; }
  .stories-stats { grid-template-columns: 1fr; }
  .stories-stat { padding: 20px 0 !important; border-right: none !important; padding-left: 0 !important; padding-right: 0 !important; }
  .stories-card { padding: 32px 26px; }
  .stories-card-mark { font-size: 5rem; top: 14px; right: 22px; }
  .stories-card-quote { padding-right: 0; margin-bottom: 24px; }
  .stories-card-author { gap: 12px; padding-top: 18px; }

  /* Clubs */
  .clubs-head { margin-bottom: 36px; }
  .club-card { padding: 24px 20px 22px; }
  .club-card-num { margin-bottom: 32px; }

  /* FAQ */
  .faq-grid { gap: 28px; }
  .faq-q { gap: 14px; font-size: 1.05rem; }
  .faq-q-icon { width: 30px; height: 30px; }
  .faq-q-icon.ms { font-size: 18px; }
  .faq-item.open .faq-a { max-height: 600px; }
  .faq-a { font-size: 14px; }
  .faq-help-card { padding: 18px; gap: 12px; }

  /* Find */
  .find-info { max-width: none; }
  .find-map { height: 360px; }
  .find-map-cta { bottom: 16px; right: 16px; padding: 10px 16px; font-size: 12px; }

  /* Closing */
  .closing-banner { padding: 40px 26px; gap: 24px; }
  .closing-banner h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .closing-banner > a.btn { width: 100%; justify-content: center; padding: 16px 22px !important; }
  .closing-banner-bg { width: 220px; height: 220px; right: -80px; top: -60px; }

  /* Newsletter */
  .newsletter-inner { gap: 28px; }
  .newsletter-form { flex-direction: column; align-items: stretch; padding: 8px; gap: 6px; }
  .newsletter-form input { padding: 14px 16px; }
  .newsletter-form button { width: 100%; padding: 14px; }

  /* Footer */
  .footer-mark { margin-bottom: 40px; }
  .footer-grid { padding-top: 40px; }
  .footer-bottom { margin-top: 40px; flex-direction: column; align-items: flex-start; gap: 12px; }

  /* ===== BOOKING / SCHEDULES ===== */
  .booking-page { padding: 84px var(--gutter) 56px; overflow-x: hidden; }
  .booking-shell { width: 100%; min-width: 0; }
  /* Critical: prevent grid items from expanding to fit max-content children
     (the slot grid has min-width: max-content rows that would otherwise blow out the layout) */
  .booking-grid { min-width: 0; }
  .booking-grid > * { min-width: 0; }
  .slot-grid { max-width: 100%; }
  .booking-head {
    margin-bottom: 22px;
    padding-bottom: 20px;
    gap: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
  .booking-head h1 { font-size: clamp(1.8rem, 7vw, 2.6rem) !important; }
  /* Hide redundant meta on phones — mobile-bar shows the live info */
  .booking-head-meta { display: none; }

  /* Stepper — compact pill, only active step shows label */
  .stepper {
    background: white;
    border: 1px solid rgba(20,20,20,0.08);
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
    margin-bottom: 24px;
    overflow: hidden;
    align-items: stretch;
  }
  .stepper::-webkit-scrollbar { display: none; }
  .stepper-item {
    flex: 0 0 auto;
    min-width: 0;
    padding: 6px;
    background: transparent;
    border: none;
    border-radius: 999px;
    gap: 0;
    align-items: center;
  }
  .stepper-item:not(.active) .stepper-label,
  .stepper-item:not(.active) .stepper-sub { display: none; }
  .stepper-item.active {
    flex: 1 1 auto;
    background: var(--ink);
    color: var(--bone);
    padding: 6px 14px 6px 6px;
    gap: 10px;
  }
  .stepper-item.done .stepper-num { background: var(--lime); color: var(--ink); }
  .stepper-item.done { background: rgba(222, 255, 26, 0.18); }
  .stepper-num { width: 26px; height: 26px; font-size: 11px; }
  .stepper-label { font-size: 13px; line-height: 1; }
  .stepper-sub { display: none !important; }

  /* Date bar — controls wrap to a 2x2 grid if needed */
  .date-bar { padding: 14px 14px; gap: 10px; flex-wrap: wrap; }
  .date-bar-icon { width: 38px; height: 38px; flex-shrink: 0; }
  .date-bar-info { flex: 1 1 0; min-width: 0; }
  .date-bar-info strong {
    font-size: 1.05rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .date-bar-controls {
    width: 100%;
    display: grid;
    grid-template-columns: 40px 1fr 40px 1fr;
    gap: 6px;
    align-items: stretch;
  }
  .date-bar-controls > * { min-width: 0; }
  .date-icon-btn { width: 100%; height: 40px; }
  .date-pill { padding: 0 10px; height: 40px; font-size: 11px; justify-content: center; min-width: 0; }
  .date-pill .ms { flex-shrink: 0; }

  /* Info banner — block layout so text wraps naturally */
  .date-info-banner {
    display: block;
    padding: 12px 16px;
    font-size: 12px;
    line-height: 1.5;
  }
  .date-info-banner .ms {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    font-size: 16px;
  }

  /* Sport filter — full width, scrolls if needed */
  .sport-filter {
    width: 100%;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sport-filter::-webkit-scrollbar { display: none; }
  .sport-filter button { white-space: nowrap; flex: 1 0 auto; justify-content: center; }

  /* Slot grid — sticky corner + court column move together when scrolling */
  .slot-grid {
    position: relative;
    isolation: isolate;
  }
  .slot-scroll {
    -webkit-overflow-scrolling: touch;
  }
  .slot-grid-head,
  .slot-row { grid-template-columns: 92px repeat(var(--cols, 16), minmax(56px, 1fr)) !important; }

  /* Corner header cell becomes sticky too, so header + body align when scrolled.
     Opacity must be 1 (overriding desktop's 0.55) or scrolling cells bleed through. */
  .slot-grid-corner {
    position: sticky;
    left: 0;
    z-index: 3;
    background: var(--cream);
    opacity: 1;
    padding: 10px;
    font-size: 9px;
    box-shadow: 6px 0 8px -6px rgba(20,20,20,0.18);
    border-right: 1px solid rgba(20,20,20,0.12);
    color: var(--ink);
  }
  /* Compensate for the lost opacity by softening the text color slightly */
  .slot-grid-corner { color: rgba(20, 20, 20, 0.6); }
  .slot-court {
    padding: 10px 10px;
    background: white;
    box-shadow: 6px 0 8px -6px rgba(20,20,20,0.18);
    border-right: 1px solid rgba(20,20,20,0.12);
  }
  .slot-row.section-divider .slot-court {
    background: var(--bone);
    box-shadow: 6px 0 8px -6px rgba(20,20,20,0.18);
    padding: 8px 10px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .slot-court-name { font-size: 0.85rem; }
  .slot-court-tag { font-size: 8px; }
  .slot-cell {
    padding: 6px 4px;
    min-height: 56px;
  }
  /* Available cells: show price only — drop the redundant "open" line for cleaner look */
  .slot-cell.available .slot-cell-inner span,
  .slot-cell.selected .slot-cell-inner span { display: none; }
  .slot-cell-inner small { font-size: 10px; font-weight: 700; }
  .slot-cell-inner span { font-size: 8px; }
  .slot-hour { padding: 8px 4px 10px; }
  .slot-hour-time { font-size: 10px; font-weight: 600; }
  .slot-hour-period .ms { font-size: 11px; }
  .slot-hour-period span { font-size: 8px; }
  .slot-legend {
    padding: 12px 14px;
    gap: 10px 14px;
    font-size: 10px;
  }
  .slot-legend-item { font-size: 10px; }

  /* Hide step 1 cart on mobile — mobile-bar replaces it */
  #cart { display: none; }
  .cart { position: static; padding: 22px 20px; }

  /* Forms */
  .contact-card,
  .review-card { padding: 24px 22px; }
  .booking-actions { flex-direction: column-reverse; align-items: stretch; gap: 10px; padding-top: 20px; }
  .booking-actions .btn { width: 100%; justify-content: center; }
  .field input { font-size: 16px; } /* prevents iOS auto-zoom on focus */

  /* Payment */
  .pay-grid { gap: 20px; }
  .pay-qr { padding: 20px; }
  .pay-qr-frame { max-width: 220px; margin: 0 auto 16px; }
  .pay-upload { padding: 40px 16px; }
  .pay-upload .ms { font-size: 36px; }
  .pay-upload-title { font-size: 1.1rem; }

  /* Modal */
  .modal-overlay { padding: 16px; align-items: flex-end; }
  .modal {
    padding: 26px 22px;
    max-width: 100%;
    border-radius: var(--radius) var(--radius) 0 0;
    border-top-width: 4px;
    margin-bottom: 0;
  }
  .modal h3 { font-size: 1.4rem; }
  .modal-actions { flex-direction: column-reverse; gap: 8px; }
  .modal-actions .btn { width: 100%; }

  /* Success */
  .success-screen { padding: 44px 24px; }
  .success-screen h2 { font-size: 1.6rem; }
  .success-mark { width: 64px; height: 64px; margin-bottom: 18px; }
  .success-mark .ms { font-size: 36px; }

  /* Mobile bar — clearer hierarchy + safe-area */
  .mobile-bar {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(244,241,232,0.1);
  }
  .mobile-bar-info strong { font-size: 1.25rem; }
  .mobile-bar .btn { padding: 12px 18px; font-size: 12px; }
}

@media (max-width: 480px) {
  /* Hero: stats stack vertically for legibility */
  .hero-stats { grid-template-columns: 1fr; padding-top: 18px; }
  .hero-stat { padding: 14px 0; border-right: none; border-bottom: 1px solid rgba(244,241,232,0.1); }
  .hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .hero-stat-num { font-size: 2rem; }

  /* Pricing addon icon overflow */
  .price-addon::before { display: none; }
  .price-addon-name { font-size: 1.6rem; }
  .price-addon-price { font-size: 3rem; }

  /* Stories card mark even smaller */
  .stories-card-mark { font-size: 3.5rem; top: 8px; right: 16px; }
  .stories-card-quote { font-size: 1.2rem; }

  /* Find map — keep usable */
  .find-map { height: 320px; }
  .find-map-cta { position: static; margin: 14px 16px 16px; display: inline-flex; }
  .find-map-coords { bottom: 12px; left: 12px; font-size: 9px; }

  /* Footer mark image — tighter on small phones */
  .footer-mark-img { width: clamp(220px, 75%, 320px); }

  /* Booking — even tighter slot cells */
  .slot-grid-head,
  .slot-row { grid-template-columns: 76px repeat(var(--cols, 16), minmax(52px, 1fr)) !important; }
  .slot-court { padding: 10px 8px; }
  .slot-court-name { font-size: 0.78rem; letter-spacing: -0.01em; }
  .slot-court-tag { display: none; } /* drop the secondary label on small phones */
  .slot-cell { min-height: 52px; }
  .slot-cell-inner small { font-size: 9.5px; }
  .slot-grid-corner { padding: 8px; font-size: 8.5px; letter-spacing: 0.1em; }
  /* Section divider — compact label for small screens */
  .slot-row.section-divider .slot-court {
    padding: 7px 8px;
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }

  /* Stepper at very narrow widths — no label, just dots */
  .stepper-item.active { padding: 6px 10px 6px 6px; gap: 8px; }
  .stepper-item.active .stepper-label { font-size: 12px; }
  .stepper-num { width: 24px; height: 24px; }

  /* Date controls collapse: today pill loses border */
  .date-pill.ghost { font-size: 10px; padding: 0 10px; }

  /* Mobile bar — keep tight but readable */
  .mobile-bar-info strong { font-size: 1.15rem; }
  .mobile-bar .btn { padding: 11px 14px; font-size: 11px; }

  /* Booking head — drop bottom rule on phones for a cleaner look */
  .booking-head { border-bottom: 1px solid rgba(20,20,20,0.1); padding-bottom: 16px; }
}
