/* ============================================================
   Pure Padel: website concept v2
   Brand system: deep green dominant, court-green panels,
   lime as a disciplined accent, warm white light surfaces.
   Type: Neue Haas Display, with readable weights and calm tracking.
   ============================================================ */

@font-face {
  font-family: "Neue Haas Display";
  src: url("fonts/NeueHaasDisplay-Roman.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Neue Haas Display";
  src: url("fonts/NeueHaasDisplay-Mediu.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Neue Haas Display";
  src: url("fonts/NeueHaasDisplay-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --green: #133529;           /* Pure Padel deep green: primary canvas */
  --green-raise: #1a4234;     /* raised surface on deep green */
  --court: #003e2e;           /* court green: tonal panels */
  --footer: #00291f;          /* deepest band */
  --lime: #97ff5b;            /* energy lime: accent only */
  --lime-line: rgba(151, 255, 91, 0.34);
  --lime-tint: rgba(151, 255, 91, 0.12);
  --heritage: #7fb848;        /* secondary green accent */
  --paper: #f6f6f1;           /* warm white light surface */
  --mistp: #e6ece8;           /* quiet light panel */
  --ink: #101412;             /* text on light */
  --ink-soft: rgba(16, 20, 18, 0.7);
  --white: #ffffff;
  --milk: rgba(248, 250, 248, 0.86);      /* body text on dark */
  --milk-dim: rgba(248, 250, 248, 0.62);
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(16, 20, 18, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 44px);
  --haas: "Neue Haas Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* one consistent type scale, used identically on every page */
  --fs-hero: clamp(40px, 4.9vw, 72px);
  --fs-h2: clamp(30px, 3.3vw, 48px);
  --fs-h3: clamp(22px, 2.2vw, 28px);
  --fs-h4: 20px;
  --fs-lede: clamp(17px, 1.5vw, 19px);
  --fs-body: 16.5px;
  --fs-small: 14.5px;
  --fs-tag: 12.5px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--green);
  color: var(--milk);
  font-family: var(--haas);
  font-size: var(--fs-body);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { font-weight: 400; }
::selection { background: var(--lime); color: var(--green); }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- typography ---------- */

h1, h2, h3, h4 { font-family: var(--haas); margin: 0; }

.display-xl {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.015em;
  word-spacing: 0.04em;
}
.display-lg {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  word-spacing: 0.03em;
}
.display-md {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.display-sm { font-size: var(--fs-h4); font-weight: 700; line-height: 1.25; }

.em { color: var(--lime); }
.band-paper .em, .band-mist .em {
  color: inherit;
  background-image: linear-gradient(var(--lime), var(--lime));
  background-size: 100% 0.16em;
  background-position: 0 90%;
  background-repeat: no-repeat;
}

.lede { font-size: var(--fs-lede); line-height: 1.62; max-width: 33em; font-weight: 400; }
.small { font-size: var(--fs-small); }

.tag {
  font-family: var(--mono);
  font-size: var(--fs-tag);
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.kicker {
  font-family: var(--mono);
  font-size: var(--fs-tag);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--lime); }
.band-paper .kicker, .band-mist .kicker { color: var(--court); }
.band-paper .kicker::before, .band-mist .kicker::before { background: var(--heritage); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.scrolled {
  background: rgba(0, 41, 31, 0.96);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  max-width: calc(var(--shell) + 120px);
  margin: 0 auto;
}
.logo img { height: 42px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--milk);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a.btn { color: var(--green); }
.main-nav a.btn::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--milk);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  padding: 10px 18px;
  cursor: pointer;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 24px;
  border-radius: 10px;
  font-family: var(--haas);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--green); font-weight: 700; }
.btn-lime:hover { box-shadow: 0 10px 30px rgba(151, 255, 91, 0.3); }
.btn-outline { border-color: rgba(255, 255, 255, 0.32); color: var(--white); background: rgba(255,255,255,0.07); }
.btn-outline:hover { border-color: var(--lime-line); background: rgba(151,255,91,0.1); }
.btn-dark { background: var(--court); color: var(--white); }
.btn-dark:hover { box-shadow: 0 10px 26px rgba(0, 62, 46, 0.35); }
.band-paper .btn-outline, .band-mist .btn-outline { border-color: var(--line-light); color: var(--ink); background: transparent; }
.band-paper .btn-outline:hover, .band-mist .btn-outline:hover { border-color: var(--court); background: rgba(0,62,46,0.06); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.main-nav .btn { height: 42px; padding: 0 18px; font-size: 14px; letter-spacing: 0; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  font-size: 15px;
  color: var(--lime);
}
.band-paper .arrow-link, .band-mist .arrow-link { color: var(--court); font-weight: 700; }

/* CSS-drawn arrows avoid platform emoji fallback and keep every CTA consistent. */
.arrow {
  --arrow-angle: 0deg;
  --arrow-shift-x: 4px;
  --arrow-shift-y: 0px;
  position: relative;
  display: inline-block;
  align-self: center;
  width: 0.8em;
  height: 0.8em;
  flex: 0 0 0.8em;
  line-height: 0;
  pointer-events: none;
  transform: rotate(var(--arrow-angle));
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}
.arrow::before {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.06em;
  top: 50%;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(-50%);
}
.arrow::after {
  content: "";
  position: absolute;
  right: 0.05em;
  top: 50%;
  width: 0.36em;
  height: 0.36em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.arrow--external {
  --arrow-angle: -45deg;
  --arrow-shift-x: 2px;
  --arrow-shift-y: -2px;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover .arrow,
  .arrow-link:hover .arrow {
    transform: translate(var(--arrow-shift-x), var(--arrow-shift-y)) rotate(var(--arrow-angle));
  }
}

@media (max-width: 820px) {
  .arrow--external {
    --arrow-angle: 0deg;
    --arrow-shift-x: 4px;
    --arrow-shift-y: 0px;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 96svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: var(--footer);
}

/* Desktop: hero is exactly one screen tall, so the ticker always sits on the bottom edge */
@media (min-width: 821px) {
  .hero { height: 100svh; min-height: 0; }
  .hero-content { padding-bottom: 44px; }
}
/* Shorter laptop screens: compress hero content so nothing pushes the ticker off */
@media (min-width: 821px) and (max-height: 900px) {
  .hero .display-xl { font-size: clamp(34px, 4.4vw, 58px); }
  .hero-content { padding-top: 96px; padding-bottom: 32px; }
  .hero .lede { margin: 16px 0 22px; }
  .hero-meta { margin-top: 24px; padding-top: 14px; }
}
@media (min-width: 821px) and (max-height: 740px) {
  .hero .display-xl { font-size: clamp(30px, 3.6vw, 44px); }
  .hero .lede { font-size: 15.5px; max-width: 40em; margin: 12px 0 18px; }
  .hero-content { padding-top: 84px; padding-bottom: 24px; }
  .hero-meta { margin-top: 18px; padding-top: 12px; }
  .hero-ctas .btn { height: 46px; }
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 30s var(--ease) infinite alternate;
  will-change: transform;
}
.hero--team .hero-media img { object-position: 56% 50%; }
.hero--court-duo .hero-media img { object-position: 40% 42%; }
.hero--home-padel-pair .hero-media img { object-position: 50% 100%; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,41,31,0.68) 0%, rgba(0,41,31,0.18) 40%, rgba(0,41,31,0.85) 92%);
}
.hero--team .hero-scrim {
  background:
    linear-gradient(90deg, rgba(0,41,31,0.88) 0%, rgba(0,41,31,0.68) 42%, rgba(0,41,31,0.12) 76%),
    linear-gradient(180deg, rgba(0,41,31,0.52) 0%, rgba(0,41,31,0.10) 42%, rgba(0,41,31,0.84) 92%);
}
.hero-glow {
  position: absolute; z-index: -1;
  width: 56vw; height: 56vw;
  right: -16vw; top: -20vw;
  background: radial-gradient(circle, rgba(151,255,91,0.13) 0%, transparent 62%);
  animation: glowpulse 7s ease-in-out infinite;
  pointer-events: none;
}
.hero-content { padding-top: 140px; padding-bottom: 56px; position: relative; }
.hero .display-xl { color: var(--white); }
.hero .lede { color: var(--milk); margin: 24px 0 34px; max-width: 46em; }
@media (min-width: 821px) {
  .hero .hero-line { white-space: nowrap; }
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}
.hero-meta .tag { color: var(--milk-dim); display: flex; align-items: center; gap: 9px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }
.dot-pulse { animation: pulse 2.4s ease-in-out infinite; }
.dot-hollow { background: transparent; border: 2px solid var(--lime); }
.dot-dim { background: var(--milk-dim); }

/* staged hero entrance */
.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: block; transform: translateY(110%); animation: riseup 0.9s var(--ease) forwards; }
.hero-line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-line .em { display: inline; }
.hero-enter { opacity: 0; animation: fadeup 0.9s var(--ease) forwards; }
.hero-enter-1 { animation-delay: 0.3s; }
.hero-enter-2 { animation-delay: 0.45s; }
.hero-enter-3 { animation-delay: 0.6s; }

@keyframes riseup { to { transform: translateY(0); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes glowpulse { 0%, 100% { opacity: 0.8; } 50% { opacity: 1.15; } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(151,255,91,0.5); }
  55% { box-shadow: 0 0 0 9px rgba(151,255,91,0); }
}

/* animated ball trajectory (hero motion graphic) */
.trajectory {
  position: absolute;
  right: 4vw;
  top: 16vh;
  width: min(520px, 40vw);
  z-index: -1;
  pointer-events: none;
}
.trajectory .path {
  fill: none;
  stroke: rgba(151, 255, 91, 0.4);
  stroke-width: 2;
  stroke-dasharray: 7 9;
  animation: dashmove 2.6s linear infinite;
}
.trajectory .ball-dot {
  fill: var(--lime);
  filter: drop-shadow(0 0 8px rgba(151,255,91,0.7));
}
.trajectory .ball-mover {
  offset-rotate: 0deg;
  animation: ballfly 6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes dashmove { to { stroke-dashoffset: -32; } }
@keyframes ballfly {
  0% { offset-distance: 0%; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* status ticker */
.ticker {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  background: rgba(0, 41, 31, 0.72);
  backdrop-filter: blur(6px);
}
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-item {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--milk-dim);
  padding: 13px 0;
  display: inline-block;
  white-space: nowrap;
}
.ticker-item b { color: var(--lime); font-weight: 500; }
.ticker-item::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.7;
  margin: 0 26px;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- bands & sections ---------- */

.band { padding: clamp(76px, 9vw, 118px) 0; position: relative; }
.band-tight { padding: clamp(56px, 6.6vw, 84px) 0; }
.band-paper { background: var(--paper); color: var(--ink); }
.band-paper .lede, .band-paper p { color: var(--ink-soft); }
.band-paper h2, .band-paper h3, .band-paper h4 { color: var(--ink); }
.band-mist { background: var(--mistp); color: var(--ink); }
.band-mist .lede, .band-mist p { color: var(--ink-soft); }
.band-mist h2, .band-mist h3 { color: var(--ink); }
.band-court { background: var(--court); }
.band-deep { background: var(--footer); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(40px, 4.6vw, 64px);
}
.section-head h2 { color: var(--white); max-width: 15em; }
.band-paper .section-head h2, .band-mist .section-head h2 { color: var(--ink); }
.section-head .lede { margin: 0; }

.index-num {
  font-family: var(--mono);
  font-size: var(--fs-tag);
  letter-spacing: 0.11em;
  color: var(--lime);
}
.band-paper .index-num, .band-mist .index-num { color: var(--heritage); }

/* ---------- imagery ---------- */

.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
  background: var(--court);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.photo:hover img { transform: scale(1.04); }

/* subtle brand grade for stock photography (kept natural on venue shots) */
.grade::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(170deg, rgba(0,62,46,0.16) 0%, rgba(0,41,31,0.42) 100%);
  pointer-events: none;
}

/* glass sweep on hover: the reflective feel */
.sweep::before {
  content: "";
  position: absolute;
  top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease);
  z-index: 2;
  pointer-events: none;
}
.sweep:hover::before { left: 130%; }

/* ---------- cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.loc-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-raise);
  border: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.loc-card:hover {
  transform: translateY(-6px);
  border-color: var(--lime-line);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.35);
}
.loc-card .photo { border-radius: 0; aspect-ratio: 16 / 10; }
.loc-card .photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,41,31,0.24) 0%, transparent 36%);
  pointer-events: none;
}
.loc-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.loc-body h3 { color: var(--white); }
.loc-body p { margin: 0; color: var(--milk-dim); font-size: var(--fs-small); line-height: 1.6; flex: 1; }
.loc-city { color: var(--milk-dim); }

/* About: founders feature and coaching team */
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.people-feature {
  --people-pointer: clamp(72px, 9vw, 126px);
  grid-column: 1 / -1;
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--green-raise);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}
.people-feature-media {
  position: relative;
  overflow: hidden;
  background: var(--court);
}
.people-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(0, 41, 31, 0.2) 100%);
  pointer-events: none;
}
.people-feature-media img {
  display: block;
  width: 100%;
  height: auto;
}
.people-feature-labels {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--green-raise);
  border-top: 1px solid var(--line-dark);
}
.people-feature-person {
  position: relative;
  min-width: 0;
  padding: 24px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.people-feature-person + .people-feature-person {
  border-left: 1px solid var(--line-dark);
}
.people-feature-person--right {
  align-items: flex-end;
  text-align: right;
}
.people-feature-person h3 { color: var(--white); }
.people-feature-person::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 8px);
  width: 2px;
  height: var(--people-pointer);
  background: var(--lime);
  box-shadow: 0 0 18px rgba(151, 255, 91, 0.28);
}
.people-feature-person::after {
  content: "";
  position: absolute;
  bottom: calc(100% + var(--people-pointer) + 3px);
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--lime);
  border-left: 2px solid var(--lime);
  transform: rotate(45deg);
}
.people-feature-person--left::before { left: 78%; }
.people-feature-person--left::after { left: calc(78% - 4px); }
.people-feature-person--right::before { left: 22%; }
.people-feature-person--right::after { left: calc(22% - 4px); }
.people-grid > .loc-card .photo { aspect-ratio: 1; }

@media (max-width: 620px) {
  .people-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .people-feature { grid-column: auto; }
  .people-feature-person {
    padding: 18px 14px 20px;
  }
  .people-feature-person h3 {
    font-size: clamp(20px, 6vw, 28px);
  }
  .people-feature-person::before,
  .people-feature-person::after {
    display: none;
  }
}

.chip {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--lime);
  border-radius: 7px;
  padding: 8px 13px;
}
.chip-ghost { background: rgba(0,41,31,0.78); color: var(--white); border: 1px solid var(--line-dark); }

/* "your town next?" scout tile */
.scout-visual {
  aspect-ratio: 16 / 10;
  background: radial-gradient(85% 95% at 62% 18%, #00473a 0%, var(--court) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.scout-visual .qmark {
  font-weight: 700;
  font-size: clamp(64px, 6vw, 92px);
  color: var(--lime);
  line-height: 1;
}

/* numbered cells */
.cell-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.band-paper .cell-grid, .band-mist .cell-grid { background: var(--line-light); border-color: var(--line-light); }
.cell {
  background: var(--green);
  padding: 30px 28px 34px;
  display: flex;
  flex-direction: column;
  gap: 38px;
  transition: background 0.3s var(--ease);
}
.cell:hover { background: var(--green-raise); }
.band-court .cell { background: var(--court); }
.band-court .cell:hover { background: #00473a; }
.band-paper .cell { background: var(--paper); }
.band-paper .cell:hover { background: var(--white); }
.band-mist .cell { background: var(--mistp); }
.band-mist .cell:hover { background: var(--white); }
/* cards variant: separated white cards for light bands (higher contrast) */
.cell-grid.cards { background: transparent; border: none; border-radius: 0; gap: 16px; overflow: visible; }
.cell-grid.cards .cell {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(16, 20, 18, 0.06);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cell-grid.cards .cell:hover { background: var(--white); transform: translateY(-4px); border-color: var(--heritage); }
.cell-grid.cards .index-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--court);
  color: var(--lime);
  font-size: 14px;
}
.cell h3 { color: var(--white); font-size: var(--fs-h4); }
.band-paper .cell h3, .band-mist .cell h3 { color: var(--ink); }
.cell p { margin: 8px 0 0; font-size: var(--fs-small); line-height: 1.6; color: var(--milk-dim); }
.band-paper .cell p, .band-mist .cell p { color: var(--ink-soft); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  position: relative;
  padding: 28px 26px 32px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--green-raise);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--lime-line); }
.step .index-num { display: block; margin-bottom: 34px; }

/* process flow: numbered badges + arrows between steps */
.steps-flow { gap: 34px; }
.steps-flow .step .index-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--court);
  color: var(--lime);
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 26px;
}
.steps-flow .step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  width: 26px;
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  color: var(--heritage);
  z-index: 2;
}
@media (max-width: 1060px) {
  .steps-flow .step:not(:last-child)::after { display: none; }
}
@media (max-width: 620px) {
  .steps-flow .step:not(:last-child)::after {
    display: block;
    content: "↓";
    top: auto;
    bottom: -31px;
    right: 50%;
    transform: translateX(50%);
  }
}
.step h3 { color: var(--white); font-size: var(--fs-h4); margin-bottom: 8px; }
.step p { margin: 0; font-size: var(--fs-small); line-height: 1.6; color: var(--milk-dim); }
.band-paper .step, .band-mist .step { background: var(--white); border-color: var(--line-light); box-shadow: 0 2px 10px rgba(16,20,18,0.05); }
.band-paper .step:hover, .band-mist .step:hover { border-color: var(--heritage); }
.band-paper .step h3, .band-mist .step h3 { color: var(--ink); }
.band-paper .step p, .band-mist .step p { color: var(--ink-soft); }

/* action panel: high-contrast booking area */
.action-panel {
  background: var(--paper);
  color: var(--ink);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(36px, 4.5vw, 64px);
  position: relative;
  overflow: hidden;
}
.action-panel h2, .action-panel h3 { color: var(--ink); }
.action-panel p { color: var(--ink-soft); }
.action-panel .kicker { color: var(--court); }
.action-panel .kicker::before { background: var(--heritage); }
.action-panel .step { background: var(--white); border-color: var(--line-light); box-shadow: 0 2px 10px rgba(16,20,18,0.05); }
.action-panel .step h3 { color: var(--ink); }
.action-panel .step p { color: var(--ink-soft); }
.action-panel .index-num { color: var(--heritage); }
.action-panel .btn-outline { border-color: var(--line-light); color: var(--ink); background: transparent; }
.action-panel .btn-outline:hover { border-color: var(--court); background: rgba(0,62,46,0.06); }
.action-panel .arrow-link { color: var(--court); font-weight: 700; }
.action-panel .em {
  color: inherit;
  background-image: linear-gradient(var(--lime), var(--lime));
  background-size: 100% 0.16em;
  background-position: 0 90%;
  background-repeat: no-repeat;
}

/* spec list */
.spec-list { display: grid; margin: 0; }
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 15.5px;
}
.spec-row dt { color: var(--milk-dim); }
.spec-row dd { margin: 0; color: var(--white); font-weight: 500; text-align: right; }
.band-paper .spec-row, .band-mist .spec-row { border-color: var(--line-light); }
.band-paper .spec-row dt, .band-mist .spec-row dt { color: var(--ink-soft); }
.band-paper .spec-row dd, .band-mist .spec-row dd { color: var(--ink); }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 4.6vw, 64px); align-items: center; }
.split > .photo { aspect-ratio: 4 / 3.3; }

/* stats strip with count-up */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border-block: 1px solid var(--line-dark); }
.stat { background: var(--green); padding: 30px 24px; }
.stat .num {
  font-family: var(--haas);
  font-weight: 700;
  font-size: clamp(32px, 3.2vw, 46px);
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat .lbl { margin-top: 10px; font-size: var(--fs-small); color: var(--milk-dim); }

/* ---------- render frame (product shots fit fully, deliberate backdrop) ---------- */

.render-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(95% 110% at 50% 0%, #124233 0%, #071f17 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.render-frame img, .render-frame canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4%;
  box-sizing: border-box;
}

/* cover dimension diagrams: contain on their own grey studio bg */
.diagram {
  position: relative;
  aspect-ratio: 16 / 10.5;
  background: #4b4b4d;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.diagram img { width: 100%; height: 100%; object-fit: contain; }

/* image cycler (hover for arrows, click to rotate) */
.cycler { cursor: pointer; }
.cycler img { transition: opacity 0.25s var(--ease); }
.cycler img.swapping { opacity: 0; }
.cyc-count {
  position: absolute;
  bottom: 10px; right: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.45);
  padding: 4px 8px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
}
.cyc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  z-index: 3;
}
.cyc-arrow:hover { background: var(--lime); color: var(--green); }
.cycler:hover .cyc-arrow { opacity: 1; }
.cyc-prev { left: 10px; }
.cyc-next { right: 10px; }

/* ---------- court colour configurator ---------- */

.configurator {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.config-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(0, 41, 31, 0.72);
  color: var(--white);
  border: 1px solid var(--line-dark);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.config-arrow:hover { background: var(--lime); color: var(--green); }
.config-prev { left: 14px; }
.config-next { right: 14px; }
.config-dots { position: absolute; bottom: 16px; left: 18px; display: flex; gap: 8px; z-index: 3; }
.config-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.config-dot.active { background: var(--lime); transform: scale(1.25); }
.config-count {
  position: absolute;
  bottom: 14px; right: 16px;
  z-index: 3;
  color: var(--milk-dim);
  background: rgba(0, 41, 31, 0.72);
  padding: 6px 10px;
  border-radius: 7px;
}
.swatches { display: flex; flex-wrap: wrap; gap: 14px; }
.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.swatch .chipc {
  width: 46px; height: 46px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.swatch:hover .chipc { transform: translateY(-3px); }
.swatch.active .chipc { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(151, 255, 91, 0.25); }
.swatch .slbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--milk-dim);
}
.swatch.active .slbl { color: var(--lime); }

/* expand-to-fullscreen */
.config-expand {
  position: absolute;
  top: 14px; right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 41, 31, 0.72);
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 13px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.config-expand:hover { background: var(--lime); color: var(--green); }

.config-ticker { display: none; }

.config-wrap.config-full {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: var(--footer);
  display: flex !important;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: clamp(14px, 2.5vw, 30px) clamp(14px, 2.5vw, 30px) 0;
  transform: none !important;
  opacity: 1 !important;
}
.config-full .config-stage { flex: 1; aspect-ratio: auto; min-height: 0; }
.config-full .config-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.config-full .config-controls .spec-list,
.config-full .config-controls .preview-note,
.config-full .config-controls .tag { display: none; }
.config-full .swatches { justify-content: center; }
.config-full .config-ticker { display: block; margin: 0 calc(clamp(14px, 2.5vw, 30px) * -1); }

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

/* bare configurator: transparent court floating on the band, no frame box */
.config-bare .config-stage {
  position: relative;
  aspect-ratio: 16 / 10.5;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.config-bare .config-stage canvas { width: 100%; height: 100%; object-fit: contain; }
.config-bare.config-full .config-stage { aspect-ratio: auto; }
.config-bare .config-stage canvas {
  padding: 0;
  filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.4));
}
.config-bare .config-count { background: rgba(0, 41, 31, 0.5); }
.config-bare.config-full .config-stage canvas { filter: none; }

/* ---------- club automation UI mock ---------- */

.auto-ui {
  background: #0a1f18;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.auto-ui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-dark);
}
.auto-ui-head .tag { color: var(--milk-dim); }
.auto-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}
.auto-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.auto-row:last-child { border-bottom: none; }
.auto-row .icon-chip {
  width: 38px; height: 38px;
  background: rgba(151, 255, 91, 0.1);
  color: var(--lime);
  border-radius: 9px;
}
.auto-row .icon-chip svg { width: 19px; height: 19px; }
.auto-row .auto-name { font-weight: 500; color: var(--white); font-size: 15px; line-height: 1.3; }
.auto-row .auto-sub { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em; color: var(--milk-dim); margin-top: 3px; }
.auto-row .auto-state {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--milk-dim);
  white-space: nowrap;
}
.auto-state.on { color: var(--lime); }
.auto-ui-foot {
  padding: 13px 20px;
  background: rgba(0, 0, 0, 0.25);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--milk-dim);
}
.auto-ui-foot b { color: var(--lime); font-weight: 500; }

/* "how players get in" entry cards */
.entry-card {
  background: var(--green-raise);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.entry-card:hover { transform: translateY(-4px); border-color: var(--lime-line); }
.entry-card .visual { height: 158px; display: flex; align-items: center; justify-content: center; }

/* mini phone mock */
.phone-mock {
  width: 108px;
  border-radius: 18px;
  border: 3px solid #041008;
  background: #0a1f18;
  padding: 12px 9px 10px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}
.phone-mock .notch { width: 34px; height: 4px; border-radius: 3px; background: rgba(255,255,255,0.18); margin: 0 auto 9px; }
.phone-mock .app-title {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--milk-dim);
  text-align: left;
  margin-bottom: 7px;
}
.phone-mock .app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 5px 7px;
  margin-bottom: 5px;
}
.phone-mock .app-row .nm { font-size: 8.5px; font-weight: 500; color: var(--milk); }
.phone-mock .app-row .op {
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--lime);
  color: var(--green);
  border-radius: 4px;
  padding: 2px 5px;
  font-weight: 700;
}

/* sms bubble mock */
.sms-mock { width: 100%; max-width: 190px; }
.sms-mock .bubble {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  border-bottom-left-radius: 4px;
  padding: 12px 14px;
  text-align: left;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--milk);
}
.sms-mock .bubble b { color: var(--lime); font-family: var(--mono); font-weight: 500; }
.sms-mock .tap {
  display: inline-block;
  margin-top: 9px;
  background: var(--lime);
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 6px;
  padding: 5px 9px;
}
.sms-mock .meta {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: var(--milk-dim);
  margin-top: 6px;
  text-align: left;
}

/* stylised access keypad */
.keypad-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  background: var(--green-raise);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.keypad {
  display: grid;
  grid-template-columns: repeat(3, 26px);
  gap: 6px;
  background: #0a1f18;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 12px;
  flex: none;
}
.keypad span {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--milk-dim);
}
.keypad span.lit { background: var(--lime); color: var(--green); font-weight: 700; }
.keypad-copy .auto-name { font-weight: 500; color: var(--white); font-size: 15px; }
.keypad-copy .auto-sub { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em; color: var(--milk-dim); margin-top: 5px; line-height: 1.6; }

/* ---------- hover inversions: mega contrast ---------- */

.invert-hover .cell h3, .invert-hover .cell p, .invert-hover .cell .index-num,
.invert-hover .step h3, .invert-hover .step p { transition: color 0.3s var(--ease); }
.invert-hover .cell:hover { background: var(--lime) !important; }
.invert-hover .cell:hover h3 { color: var(--green); }
.invert-hover .cell:hover p { color: rgba(6, 17, 12, 0.72); }
.invert-hover .cell:hover .index-num { color: var(--court); }
.invert-hover .step:hover { background: var(--lime); border-color: transparent; }
.invert-hover .step:hover h3 { color: var(--green); }
.invert-hover .step:hover p { color: rgba(6, 17, 12, 0.72); }
.steps-flow.invert-hover .step:hover .index-num { background: var(--green); color: var(--lime); }
.steps-flow.invert-hover .step .index-num { transition: background 0.3s var(--ease), color 0.3s var(--ease); }

.invert-hover-dark .step h3, .invert-hover-dark .step p,
.invert-hover-dark .cell h3, .invert-hover-dark .cell p { transition: color 0.3s var(--ease); }
.invert-hover-dark .cell:hover { background: var(--court) !important; }
.invert-hover-dark .cell:hover h3 { color: var(--white); }
.invert-hover-dark .cell:hover p { color: var(--milk-dim); }
.cards.invert-hover-dark .cell:hover .index-num { background: var(--lime); color: var(--green); }
.invert-hover-dark .step:hover { background: var(--court); border-color: var(--court); }
.invert-hover-dark .step:hover h3 { color: var(--white); }
.invert-hover-dark .step:hover p { color: var(--milk-dim); }
.invert-hover-dark .step:hover .icon-chip { background: rgba(151, 255, 91, 0.14); color: var(--lime); }
.icon-chip { transition: background 0.3s var(--ease), color 0.3s var(--ease); }

/* ---------- icon chips & pop cards ---------- */

.icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(0, 62, 46, 0.08);
  color: var(--court);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.icon-chip svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-chip.corner { position: absolute; top: 22px; right: 22px; }

/* white cards that pop on dark bands */
.steps-pop .step {
  background: var(--white);
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.steps-pop .step h3 { color: var(--ink); }
.steps-pop .step p { color: var(--ink-soft); }
.steps-pop .step:not(:last-child)::after { color: var(--lime); }
.steps-pop .step:hover { transform: translateY(-5px); }

/* Playtomic partner button */
.playtomic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: #0e2433;
  border-radius: var(--radius);
  padding: clamp(44px, 5.5vw, 80px) clamp(34px, 4.5vw, 64px);
  box-shadow: 0 18px 48px rgba(14, 36, 51, 0.35);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.playtomic-card:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(14, 36, 51, 0.45); }
.playtomic-card img { height: 48px; width: auto; }
.playtomic-card .tag { color: rgba(255, 255, 255, 0.72); }
.playtomic-card .btn { margin-top: 6px; }

/* ---------- lighting browser ---------- */

.light-browser {
  display: grid;
  grid-template-columns: 220px 1.35fr 1fr;
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}
.light-tabs { display: flex; flex-direction: column; gap: 10px; }
.light-tab {
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--milk);
  font-family: var(--haas);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.light-tab:hover { border-color: var(--lime-line); }
.light-tab.active { background: var(--lime); color: var(--green); font-weight: 700; border-color: transparent; }
.light-tab .count-note {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 5px;
  opacity: 0.65;
}
.light-stage {
  position: relative;
  aspect-ratio: 16 / 11.5;
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.light-stage img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 9%;
  box-sizing: border-box;
  transition: opacity 0.25s var(--ease);
}
.light-stage img.swapping { opacity: 0; }
.light-info h3 { color: var(--white); margin: 10px 0 4px; }
.light-info .lede { margin: 10px 0 0; font-size: 15.5px; }

@media (max-width: 1060px) {
  .light-browser { grid-template-columns: 1fr 1fr; }
  .light-tabs { grid-column: 1 / -1; flex-direction: row; }
  .light-tab { flex: 1; }
}
@media (max-width: 820px) {
  .light-browser { grid-template-columns: 1fr; }
  .light-tabs { flex-direction: column; }
}

/* ---------- drag carousel ---------- */

.carousel-wrap { position: relative; }
.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  cursor: grab;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel > * { flex: 0 0 min(540px, 78vw); scroll-snap-align: start; }
.carousel .photo { aspect-ratio: 16 / 10.5; }
.drag-cue {
  position: absolute;
  right: 16px; top: -58px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--milk-dim);
}
.drag-cue::after { content: "⟷"; font-size: 16px; color: var(--lime); }
.band-paper .drag-cue { color: var(--ink-soft); }
.band-paper .drag-cue::after { color: var(--court); }
.carousel-caption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--milk-dim);
}

/* ---------- event carousel ---------- */

.event-carousel { display: grid; }
.event-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.event-slide.active { opacity: 1; pointer-events: auto; }
.event-nav { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.event-arrow {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-light);
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.event-arrow:hover { background: var(--lime); color: var(--green); border-color: transparent; }
.event-dots { display: flex; gap: 8px; }
.event-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(16, 20, 18, 0.22);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.event-dot.active { background: var(--court); transform: scale(1.25); }

/* ---------- video embed ---------- */

.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-dark);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }

/* ---------- instagram embed ---------- */

.ig-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-dark);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}
.ig-frame iframe { width: 100%; height: 500px; border: 0; display: block; }

/* ---------- news / momentum ---------- */

.news-list { display: grid; gap: 1px; background: var(--line-dark); border-block: 1px solid var(--line-dark); }
.news-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--green);
  padding: 24px 8px;
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.news-row:hover { background: var(--green-raise); padding-left: 20px; }
.news-row .date { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--milk-dim); }
.news-row .headline { font-weight: 700; font-size: clamp(18px, 1.9vw, 23px); color: var(--white); letter-spacing: -0.005em; }
.news-row .arrow { color: var(--lime); font-size: 20px; }

/* ---------- closing split CTA ---------- */

.cta-split { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); }
.cta-half {
  padding: clamp(44px, 5vw, 68px) clamp(28px, 3.6vw, 54px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 340px;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.cta-half h3 { font-size: clamp(26px, 2.9vw, 40px); line-height: 1.1; letter-spacing: -0.01em; font-weight: 700; }
.cta-play { background: var(--court); }
.cta-play h3 { color: var(--white); }
.cta-play p { color: var(--milk); }
.cta-build { background: var(--paper); }
.cta-build h3, .cta-build .kicker { color: var(--ink); }
.cta-build p { color: var(--ink-soft); }
.cta-half .btn { align-self: flex-start; }
.cta-court-lines {
  position: absolute;
  right: -60px; bottom: -70px;
  width: 280px;
  opacity: 0.14;
  pointer-events: none;
}

/* ---------- forms (preview only) ---------- */

/* ---------- contact page ---------- */

.contact-page .arrow--down {
  --arrow-angle: 90deg;
  --arrow-shift-x: 0;
  --arrow-shift-y: 4px;
}
.contact-hero {
  height: auto;
  min-height: clamp(580px, 76svh, 760px);
  justify-content: center;
}
.contact-hero .hero-media img { object-position: 58% 44%; }
.contact-hero .hero-scrim {
  background:
    linear-gradient(90deg, rgba(0,41,31,0.91) 0%, rgba(0,41,31,0.68) 47%, rgba(0,41,31,0.2) 78%),
    linear-gradient(180deg, rgba(0,41,31,0.48) 0%, rgba(0,41,31,0.1) 50%, rgba(0,41,31,0.72) 100%);
}
.contact-hero .hero-content {
  width: 100%;
  padding-top: clamp(128px, 16vh, 176px);
  padding-bottom: clamp(68px, 9vh, 96px);
}
.contact-hero .display-xl { max-width: 10em; }
.contact-hero .lede { max-width: 38em; }

.contact-routes { padding-block: clamp(68px, 8vw, 104px); }
.contact-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.contact-route {
  min-height: 340px;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 34px;
  box-shadow: 0 4px 18px rgba(16, 20, 18, 0.05);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-route:is(:hover, :focus-within) {
  transform: translateY(-5px);
  border-color: var(--court);
  background: var(--court);
  box-shadow: 0 18px 42px rgba(16, 20, 18, 0.1);
}
.contact-route-number {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--court);
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.contact-route-label {
  margin: 0 0 12px;
  color: var(--court);
}
.contact-route h3 { color: var(--ink); }
.contact-route p:not(.contact-route-label) {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.62;
}
.contact-route .arrow-link { margin-top: auto; color: var(--court); font-weight: 700; }
.contact-route:is(:hover, :focus-within) .contact-route-number {
  background: var(--lime);
  color: var(--court);
}
.contact-route:is(:hover, :focus-within) .contact-route-label,
.contact-route:is(:hover, :focus-within) .arrow-link { color: var(--lime); }
.contact-route:is(:hover, :focus-within) h3 { color: var(--white); }
.contact-route:is(:hover, :focus-within) p:not(.contact-route-label) { color: rgba(255, 255, 255, 0.78); }

.contact-enquiry { background: var(--court); }
.contact-enquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: start;
}
.contact-enquiry-copy .lede { margin: 22px 0 0; }
.contact-email-link {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}
.contact-email-link .tag { color: var(--milk-dim); }
.contact-email-link strong {
  color: var(--white);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
}
.contact-email-link:hover strong { color: var(--lime); }
.contact-form {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line-dark);
  border-radius: calc(var(--radius) + 4px);
  background: var(--green);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.22);
}
.contact-form .field label span {
  font-family: var(--haas);
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.72;
}
.contact-form .contact-consent { margin-top: 20px; }
.contact-form > .btn { margin-top: 24px; }
.contact-form .preview-note { margin: 20px 0 0; }

.contact-email-band { background: var(--green); }
.contact-email-panel {
  padding: clamp(30px, 4.2vw, 54px);
  border-radius: calc(var(--radius) + 4px);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.contact-email-panel .kicker { color: var(--court); margin-bottom: 12px; }
.contact-email-panel .kicker::before { background: var(--heritage); }
.contact-email-panel h2 { color: var(--ink); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--milk-dim);
}
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--haas);
  font-size: 15.5px;
  padding: 14px 16px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--lime-line);
  background: rgba(151,255,91,0.06);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select option { color: var(--ink); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-small); color: var(--milk-dim); }
.consent input { margin-top: 4px; accent-color: var(--lime); width: 16px; height: 16px; }
.preview-note {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--milk-dim);
  border: 1px dashed var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

/* ---------- footer ---------- */

.site-footer { background: var(--footer); border-top: 1px solid var(--line-dark); }
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 1.1fr 1.4fr;
  gap: 40px;
  padding: clamp(56px, 6.6vw, 84px) 0 52px;
}
.footer-brand img { height: 46px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--milk-dim); font-size: var(--fs-small); max-width: 24em; line-height: 1.65; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--milk-dim);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--milk); font-size: 15px; transition: color 0.2s; }
.footer-col a:hover { color: var(--lime); }
.footer-news p { color: var(--milk-dim); font-size: var(--fs-small); margin: 0 0 16px; }
.footer-news .newsletter { display: flex; gap: 10px; }
.footer-news input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  color: var(--white);
  padding: 0 18px;
  height: 46px;
  font-size: 15px;
  font-family: var(--haas);
}
.footer-news input:focus { outline: none; border-color: var(--lime-line); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  color: var(--milk-dim);
}
.footer-social { display: flex; gap: 18px; }
.footer-social a { color: var(--milk-dim); transition: color 0.2s; display: inline-flex; }
.footer-social a:hover { color: var(--lime); }
.footer-social svg { width: 19px; height: 19px; fill: currentColor; }

/* ---------- ball scroll indicator ---------- */

.ball-track {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  height: 170px;
  width: 2px;
  background: var(--line-dark);
  border-radius: 2px;
  z-index: 55;
}
.ball-track .ball {
  position: absolute;
  left: 50%;
  top: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--lime);
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(151,255,91,0.55);
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* court-line SVG draw-on animation */
.court-draw path, .court-draw line, .court-draw rect {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}
.court-draw.in path, .court-draw.in line, .court-draw.in rect {
  animation: drawline 2.4s var(--ease) forwards;
}
@keyframes drawline { to { stroke-dashoffset: 0; } }

/* ---------- inner-page heroes (one consistent recipe) ---------- */

.page-hero {
  position: relative;
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 60px;
  isolation: isolate;
  overflow: hidden;
  background: var(--footer);
}
.page-hero > .shell { width: 100%; }
.page-hero .display-xl { color: var(--white); }
.page-hero .lede { margin-top: 22px; color: var(--milk); }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,41,31,0.82) 0%, rgba(0,41,31,0.55) 52%, var(--green) 100%);
}

/* facts strip (venue detail) */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact { background: var(--green-raise); padding: 24px 24px 28px; }
.fact .tag { color: var(--milk-dim); display: block; margin-bottom: 10px; }
.fact .val { font-weight: 700; font-size: 21px; color: var(--white); letter-spacing: -0.005em; }
.fact .val.lit { color: var(--lime); }

/* checklist */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; line-height: 1.6; color: var(--milk-dim); }
.check-list li::before {
  content: "";
  flex: none;
  width: 19px; height: 19px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--lime-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2397ff5b' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
.band-paper .check-list li { color: var(--ink-soft); }
.band-paper .check-list li::before {
  background-color: rgba(0,62,46,0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003e2e' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}

/* column-count utilities (responsive-safe) */
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }

/* Site-wide WhatsApp click-to-chat */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 58;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: var(--lime);
  color: var(--green);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}
.whatsapp-fab:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}
.whatsapp-fab .arrow { color: currentColor; }

/* ---------- responsive ---------- */

@media (min-width: 821px) and (max-width: 1180px) {
  .header-bar { gap: 14px; }
  .logo img { height: 38px; }
  .main-nav { gap: clamp(9px, 1.25vw, 16px); }
  .main-nav a { font-size: 13.5px; }
  .main-nav .btn { height: 40px; padding-inline: 12px; font-size: 13px; }
}
@media (max-width: 1060px) {
  .card-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .cell-grid, .cols-4, .cols-5 { grid-template-columns: repeat(2, 1fr); }
  .contact-route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-route:last-child { grid-column: 1 / -1; min-height: 280px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .ball-track { display: none; }
  .trajectory { display: none; }
}
@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(0, 41, 31, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(18px, 3.5vh, 30px);
    padding: 92px var(--gutter) 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s;
    z-index: 70;
  }
  .main-nav .btn { flex: 0 0 auto; }
  .main-nav.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .main-nav a { font-size: 24px; font-weight: 700; }
  .nav-toggle { display: inline-flex; z-index: 80; position: relative; }
  .split { grid-template-columns: 1fr; }
  .cta-split { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .news-row { grid-template-columns: 1fr auto; }
  .news-row .date { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-enquiry-layout { grid-template-columns: 1fr; }
  .contact-enquiry-copy .lede { max-width: 38em; }
  .contact-hero {
    min-height: 600px;
    justify-content: flex-end;
  }
  .contact-hero .hero-media img { object-position: 66% 50%; }
  .contact-hero .hero-scrim {
    background: linear-gradient(180deg, rgba(0,41,31,0.68) 0%, rgba(0,41,31,0.48) 43%, rgba(0,41,31,0.94) 100%);
  }
  .contact-hero .hero-content { padding-top: 124px; padding-bottom: 62px; }
}
@media (max-width: 620px) {
  .card-grid, .steps, .cell-grid, .cols-4, .cols-5 { grid-template-columns: 1fr; }
  .contact-route-grid { grid-template-columns: 1fr; }
  .contact-route, .contact-route:last-child { grid-column: auto; min-height: 0; }
  .contact-route { gap: 26px; }
  .contact-form { padding: 26px 20px; }
  .contact-email-panel { align-items: flex-start; flex-direction: column; }
  .contact-email-panel .btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .stat-strip, .facts { grid-template-columns: 1fr 1fr; }
  .hero-content { padding-top: 116px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas .arrow-link, .hero-ctas .small, .hero-ctas .tag, .hero-ctas .chip { align-self: flex-start; width: auto; }
  .section-head .btn { width: 100%; }
  .action-panel { padding: 28px 22px 34px; }
  .cta-half { min-height: 0; }
  .whatsapp-fab {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 46px;
    padding-inline: 16px;
    font-size: 14px;
  }
}

@media (max-width: 820px) {
  .hero--team .hero-media img {
    object-position: 70% 50%;
    animation: none;
  }
  .hero--court-duo .hero-media img {
    object-position: 47% 50%;
  }
  .hero--home-padel-pair .hero-media img {
    object-position: 48% 50%;
  }
  .hero--team .hero-scrim {
    background: linear-gradient(180deg, rgba(0,41,31,0.72) 0%, rgba(0,41,31,0.56) 48%, rgba(0,41,31,0.90) 92%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img, .ticker-track, .dot-pulse, .hero-glow,
  .trajectory .path, .trajectory .ball-mover { animation: none; }
  .hero-line span { transform: none; animation: none; }
  .hero-enter { opacity: 1; animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .arrow { transition: none; }
  .whatsapp-fab { transition: none; }
  .btn:hover .arrow,
  .arrow-link:hover .arrow { transform: rotate(var(--arrow-angle)); }
  .court-draw path, .court-draw line, .court-draw rect { stroke-dashoffset: 0; }
  * { scroll-behavior: auto; }
}
