/* ---------- Tokens ---------- */
:root {
  --bg:        oklch(0.15 0.018 155);
  --bg-alt:    oklch(0.19 0.024 155);
  --surface:   oklch(0.22 0.026 155);
  --line:      oklch(0.32 0.03 155);
  --ink:       oklch(0.97 0.01 150);
  --muted:     oklch(0.78 0.03 150);

  --court:     oklch(0.86 0.23 142);   /* padel-court green, buttons/marks */
  --court-ink: oklch(0.18 0.05 142);   /* text-on-court */
  --court-text: var(--court);          /* accent text, adapts per section */
  --court-deep: oklch(0.46 0.15 142);  /* accent text on light sections */
  --volt:      oklch(0.80 0.13 224);   /* sky/electric blue */

  --bg-light:    oklch(0.985 0.004 150);
  --ink-light:   oklch(0.17 0.02 150);
  --muted-light: oklch(0.40 0.02 150);
  --line-light:  oklch(0.88 0.01 150);
  --surface-light: oklch(0.96 0.006 150);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --wrap: 1160px;
  --radius: 18px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --z-nav: 100;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--court);
  color: var(--court-ink);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Site loader ---------- */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  opacity: 1;
  transition: opacity 0.6s var(--ease-out-expo);
}
.site-loader.is-hidden { opacity: 0; pointer-events: none; }
.loader-stage {
  position: relative;
  width: 220px;
  height: 160px;
}
.loader-racket {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 142px;
  animation: loader-racket 1.24s 1 both;
}
.loader-ball-track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  opacity: 0;
  animation: loader-ball-x 1.24s linear 1 both;
}
.loader-ball {
  display: block;
  width: 100%;
  height: 100%;
  animation: loader-ball-arc 1.24s 1 both;
}
.loader-impact {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  transform: translateX(48px) scale(0.3);
  opacity: 0;
  background: repeating-conic-gradient(var(--court) 0deg 8deg, transparent 8deg 45deg);
  -webkit-mask: radial-gradient(circle, transparent 40%, #000 42%, #000 55%, transparent 58%);
          mask: radial-gradient(circle, transparent 40%, #000 42%, #000 55%, transparent 58%);
  animation: loader-impact 1.24s ease-out 1 both;
}

/* Racket now closes the last stretch of the gap itself — sits still while
   the ball crosses in, dips left to meet it right at contact, then eases
   back to rest. Starts moving ~600ms, just as the ball arrives, rather
   than waiting until after — impact ~930ms, racket settled by 1240ms
   (0%/48.4%/75%/100% of the 1.24s duration). */
@keyframes loader-racket {
  0%, 48.4% { transform: translate(3%, calc(-50% + 10px)) translateX(0); animation-timing-function: ease-in; }
  75%       { transform: translate(3%, calc(-50% + 10px)) translateX(-14px); animation-timing-function: ease-out; }
  100%      { transform: translate(3%, calc(-50% + 10px)) translateX(0); }
}
/* Ball motion is split across two elements so each axis gets the easing it
   actually needs: this (the track) covers X position, opacity, squash and
   the trail — all `linear` per segment, so horizontal speed is constant
   rather than ramping up/down at each waypoint. The ball crosses in at one
   constant speed, arrives and waits near the racket while the racket
   closes the last stretch (matching the storyboard's 700-930ms beat),
   bounces off at contact, then leaves at one constant speed. The arc (Y)
   lives on the child element, animated independently, so it never fights
   the constant X speed. */
@keyframes loader-ball-x {
  0%     { transform: translateX(-170px) scale(0.85); opacity: 0; }
  3%     { opacity: 1; }
  18%    { transform: translateX(20px) scale(1); }  /* arrives ~223ms (was 350ms) — even faster entry, same distance */
  75%    { transform: translateX(48px) scale(1); }  /* impact ~930ms — unchanged, ball waits here longer now */
  77%    { transform: translateX(46px) scale(0.78); }
  79%    { transform: translateX(44px) scale(1); }
  92%    { opacity: 1; }
  95.16% { transform: translateX(-180px) scale(0.85); opacity: 0; }
  100%   { transform: translateX(-180px) scale(0.85); opacity: 0; }
}
/* The arc (Y) and the trail (box-shadow) live together here, on the child
   element, because the trail has to follow the ball's *actual* on-screen
   position — X (inherited from the parent track) plus this element's own
   Y — not just trail flat behind the horizontal motion. The shadow's
   offset direction rotates through each phase to stay opposite the ball's
   instantaneous heading: down-left while climbing, pure left at the peak
   (purely horizontal there), up-left while descending into the racket,
   then the mirror image — up-right/right/down-right — on the way out. */
@keyframes loader-ball-arc {
  0% {
    transform: translateY(0);
    box-shadow:
      -6px 4px 8px -3px color-mix(in oklch, var(--court) 40%, transparent),
      -10px 7px 10px -5px color-mix(in oklch, var(--court) 20%, transparent);
    animation-timing-function: ease-out;
  }
  4.8% {
    transform: translateY(-14px);
    box-shadow:
      -14px 8px 10px -3px color-mix(in oklch, var(--court) 65%, transparent),
      -26px 14px 14px -5px color-mix(in oklch, var(--court) 35%, transparent),
      -36px 18px 16px -7px color-mix(in oklch, var(--court) 15%, transparent);
    animation-timing-function: ease-in;
  }
  10.3% {
    transform: translateY(-20px);
    box-shadow:
      -16px 0 12px -3px color-mix(in oklch, var(--court) 65%, transparent),
      -32px 0 16px -5px color-mix(in oklch, var(--court) 35%, transparent),
      -46px 0 20px -7px color-mix(in oklch, var(--court) 15%, transparent);
    animation-timing-function: ease-in;
  }
  15.9% {
    transform: translateY(-8px);
    box-shadow:
      -12px -8px 10px -3px color-mix(in oklch, var(--court) 55%, transparent),
      -22px -14px 12px -5px color-mix(in oklch, var(--court) 25%, transparent);
    animation-timing-function: linear;
  }
  18% {
    /* arrived, waiting at racket height — pure horizontal creep, small trail */
    transform: translateY(0);
    box-shadow:
      -8px 0 10px -3px color-mix(in oklch, var(--court) 40%, transparent),
      -16px 0 12px -5px color-mix(in oklch, var(--court) 18%, transparent);
    animation-timing-function: linear;
  }
  75% {
    transform: translateY(0);
    box-shadow:
      -6px 0 8px -3px color-mix(in oklch, var(--court) 35%, transparent),
      -12px 0 10px -5px color-mix(in oklch, var(--court) 15%, transparent);
    animation-timing-function: ease-out;
  }
  78% {
    /* impact squash — trail collapses to a neutral glow, no direction yet */
    transform: translateY(0);
    box-shadow: 0 0 12px 1px color-mix(in oklch, var(--court) 55%, transparent);
  }
  80% {
    transform: translateY(-4px);
    box-shadow:
      10px 6px 8px -3px color-mix(in oklch, var(--court) 55%, transparent),
      18px 10px 10px -5px color-mix(in oklch, var(--court) 25%, transparent);
    animation-timing-function: ease-in;
  }
  85% {
    transform: translateY(-20px);
    box-shadow:
      16px 0 12px -3px color-mix(in oklch, var(--court) 65%, transparent),
      32px 0 16px -5px color-mix(in oklch, var(--court) 35%, transparent),
      46px 0 20px -7px color-mix(in oklch, var(--court) 15%, transparent);
    animation-timing-function: ease-in;
  }
  92% {
    transform: translateY(-6px);
    box-shadow:
      12px -8px 10px -3px color-mix(in oklch, var(--court) 55%, transparent),
      22px -14px 12px -5px color-mix(in oklch, var(--court) 25%, transparent);
  }
  95.16% {
    transform: translateY(0);
    box-shadow:
      8px 0 10px -3px color-mix(in oklch, var(--court) 35%, transparent),
      16px 0 12px -5px color-mix(in oklch, var(--court) 15%, transparent);
  }
  100% { transform: translateY(0); }
}
@keyframes loader-impact {
  0%, 72%   { transform: translateX(48px) scale(0.3); opacity: 0; }
  75%       { transform: translateX(48px) scale(1);   opacity: 0.9; }
  82%, 100% { transform: translateX(48px) scale(1.5); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out-expo), background-color 0.35s var(--ease-out-expo), border-color 0.35s var(--ease-out-expo);
}
.btn-primary {
  background: var(--court);
  color: var(--court-ink);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--court); color: var(--court); }
.btn-white {
  background: #fff;
  color: oklch(0.17 0.02 150);
}
.btn-white:hover { transform: translateY(-2px) scale(1.02); }
.btn-small { padding: 11px 22px; font-size: 0.85rem; white-space: nowrap; }
.btn-text-short { display: none; }
@media (max-width: 480px) {
  .btn-text-full { display: none; }
  .btn-text-short { display: inline; }
}
.btn-block { width: 100%; }

/* ---------- Light sections ---------- */
.section-light {
  background: var(--bg-light);
  color: var(--ink-light);
  --ink: var(--ink-light);
  --muted: var(--muted-light);
  --line: var(--line-light);
  --bg-alt: var(--surface-light);
  --surface: #fff;
  --court-text: var(--court-deep);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  backdrop-filter: blur(14px);
  background: color-mix(in oklch, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 16px;
  max-width: none;
}
.header-row > .btn {
  margin-left: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand-mark { width: 34px; height: 34px; color: var(--muted); flex-shrink: 0; }
.brand-ball { animation: bounce 2.6s var(--ease-out-expo) infinite; transform-origin: center; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  35% { transform: translateY(9px); }
  55% { transform: translateY(0); }
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  font-size: 1.05rem;
  text-transform: uppercase;
}
.brand-word em { font-style: normal; color: var(--court); }

.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.25s var(--ease-out-expo);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--court); }
.main-nav-cta { display: none; }

/* Mobile nav toggle: hidden on desktop, shown + wired up below 760px */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle-icon {
  position: relative;
  width: 28px;
  height: 20px;
}
.nav-toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  transition: transform 0.25s var(--ease-out-expo), opacity 0.2s var(--ease-out-expo), top 0.25s var(--ease-out-expo);
}
.nav-toggle-icon span:nth-child(1) { top: 0; }
.nav-toggle-icon span:nth-child(2) { top: 8.5px; }
.nav-toggle-icon span:nth-child(3) { top: 17px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
  top: 8.5px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
  top: 8.5px;
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-row > .btn { display: none; }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    gap: 4px;
    padding: 14px clamp(20px, 5vw, 40px) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open a {
    padding: 16px 4px;
    font-size: 1.1rem;
    border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
  }
  .main-nav.is-open a:last-child { border-bottom: none; }
  .main-nav.is-open .main-nav-cta {
    display: block;
    margin-top: 10px;
    padding: 15px 4px;
    text-align: center;
    background: var(--court);
    color: var(--court-ink);
    border-radius: 12px;
    font-weight: 700;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 80px);   /* fill the screen below the sticky header */
  min-height: calc(100svh - 80px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(120px, 16vw, 200px) clamp(40px, 6vw, 72px);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 85% at 0% 100%,
      color-mix(in oklch, var(--bg) 94%, transparent) 0%,
      color-mix(in oklch, var(--bg) 78%, transparent) 40%,
      color-mix(in oklch, var(--bg) 30%, transparent) 70%,
      transparent 100%),
    linear-gradient(0deg, color-mix(in oklch, var(--bg) 85%, transparent) 0%, transparent 45%),
    linear-gradient(180deg, color-mix(in oklch, var(--bg) 55%, transparent) 0%, transparent 22%);
}
@media (max-width: 760px) {
  /* Copy block is taller on phones and climbs into the brighter part of the
     photo, so darken the whole image more evenly from the bottom up. */
  .hero-scrim {
    background:
      linear-gradient(0deg,
        color-mix(in oklch, var(--bg) 92%, transparent) 0%,
        color-mix(in oklch, var(--bg) 80%, transparent) 55%,
        color-mix(in oklch, var(--bg) 50%, transparent) 100%);
  }
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
}
.glow-a {
  width: 480px; height: 480px;
  background: var(--court);
  top: -160px; right: -120px;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(40px, 30px); }
}

.hero-inner { position: relative; z-index: 2; max-width: 780px; width: 100%; min-width: 0; margin-inline: 0; padding-left: clamp(32px, 5vw, 80px); }
.hero-kicker {
  color: var(--muted);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  margin-bottom: 16px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line span,
.hero-title .line {
  animation: rise 0.9s var(--ease-out-expo) both;
}
.hero-title .line:nth-child(2) { animation-delay: 0.12s; }
@keyframes rise {
  from { transform: translateY(115%); }
  to { transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 22px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}


/* ---------- Section shared ---------- */
section { padding-block: clamp(70px, 10vw, 120px); }
section[id] { scroll-margin-top: 84px; }
.section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-wrap: balance;
}
.section-lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 14px;
  max-width: 55ch;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- What happens ---------- */
.session-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.session-copy p { color: var(--muted); margin-top: 20px; max-width: 54ch; }
.session-copy p:first-of-type { margin-top: 22px; }
.session-photo img {
  width: 100%;
  height: clamp(320px, 34vw, 460px);
  object-fit: cover;
  border-radius: var(--radius);
}
.photo-crop-lower { object-position: center 70%; }

/* Homepage: the group photo is 4:3 and wide, so give it a wider column and
   show all of it (no side crop, nobody cut out). */
.session-photo-group img {
  height: auto;
  aspect-ratio: 4 / 3;
}
@media (min-width: 821px) {
  /* The rewritten copy runs much longer than the photo, so centering it
     (the base .session-grid behaviour) floated the photo with empty space
     above and below. Pin it level with the heading instead. */
  .session-grid-wide { grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
}

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

/* ---------- Hosts ---------- */
.hosts-row {
  display: flex;
  align-items: center;
  gap: 44px;
}
.host-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--court);
  color: var(--court-ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.7rem;
  border: 3px solid var(--bg);
  flex-shrink: 0;
}
.host-avatar-b { background: var(--volt); }
.host-avatar-c { background: oklch(0.8 0.18 60); }
.host-avatar-photo { object-fit: cover; width: 218px; height: 218px; }
.hosts-avatars-right { display: flex; gap: 20px; flex-shrink: 0; }
.hosts-row .section-title { margin-bottom: 16px; }
.hosts-row p { color: var(--muted); max-width: 56ch; }

@media (max-width: 640px) {
  .hosts-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  /* Two fixed 218px photos (+ gap) are wider than a phone screen and forced
     the whole page to scroll sideways - let them share the row instead. */
  .hosts-avatars-right { width: 100%; flex-shrink: 1; gap: 12px; }
  .host-avatar-photo {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: auto;
    max-width: 218px;
    aspect-ratio: 1;
  }
}


/* ---------- Videos ---------- */
.video-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.video-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9 / 12;
  text-decoration: none;
  color: var(--ink);
}
.video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.video-card:hover img { transform: scale(1.04); }
.video-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, oklch(0.1 0.02 150 / 0.85) 0%, oklch(0.1 0.02 150 / 0.15) 45%, transparent 70%);
}
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: color-mix(in oklch, var(--bg) 55%, transparent);
  border: 1.5px solid color-mix(in oklch, #fff 40%, transparent);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease-out-expo), background-color 0.35s var(--ease-out-expo);
}
.video-play svg { width: 24px; height: 24px; color: #fff; margin-left: 3px; }
.video-card:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--court); }
.video-card:hover .video-play svg { color: var(--court-ink); }
.video-card-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.video-card-title { font-weight: 700; font-size: 1.05rem; }
.video-card-sub { color: var(--court); font-size: 0.85rem; font-weight: 600; }

/* ---------- Venue ---------- */
.venue-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.venue-copy p { color: var(--muted); margin-top: 18px; max-width: 48ch; }
.venue-address {
  margin: 0 !important;
  font-weight: 700;
  color: var(--ink) !important;
  line-height: 1.5;
}
.map-picker { position: relative; display: inline-block; margin-top: 22px; }
.map-picker-trigger {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.map-picker-trigger::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out-expo);
}
.map-picker-trigger[aria-expanded="true"]::after { transform: rotate(-135deg); }
.map-picker-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  min-width: 180px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.map-picker-menu[hidden] { display: none; }
.map-picker-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background-color 0.2s var(--ease-out-expo), color 0.2s var(--ease-out-expo);
}
.map-picker-menu a:hover { background: var(--surface); color: var(--court-text); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  text-decoration: none;
  font-weight: 700;
  color: var(--court-text);
  transition: gap 0.3s var(--ease-out-expo);
}
.link-arrow:hover { gap: 14px; }

.venue-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.venue-photos img {
  width: 100%;
  height: clamp(220px, 24vw, 460px);
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface);
}
.venue-photo-signage {
  /* The green "We are Rocket Padel" sign sits left-of-centre in the
     source photo — bias the crop that way so it never gets cut off. */
  object-position: 25% 50%;
}
.venue-photos.no-photos {
  background: linear-gradient(155deg, var(--bg-alt), color-mix(in oklch, var(--bg-alt) 70%, var(--line)));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 320px;
}
.venue-photos.no-photos img { display: none; }

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

/* ---------- Join ---------- */
.join-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.join-copy p { color: var(--muted); margin-top: 18px; max-width: 46ch; }
.join-checklist { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.join-checklist li {
  padding-left: 26px;
  position: relative;
  color: var(--muted);
}
.join-checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--court);
}
.join-checklist + .btn { margin-top: 30px; }

.join-form {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 700; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--ink);
  transition: border-color 0.25s var(--ease-out-expo);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--court);
}
.form-note { text-align: center; color: var(--muted); font-size: 0.82rem; margin: 0; }
.botcheck { display: none; }
.form-error {
  color: oklch(0.72 0.19 25);
  background: color-mix(in oklch, oklch(0.72 0.19 25) 14%, transparent);
  border: 1px solid color-mix(in oklch, oklch(0.72 0.19 25) 45%, transparent);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.88rem;
  margin: 0;
}
.join-form .btn[disabled] { opacity: 0.7; cursor: not-allowed; }
.form-success {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}
.form-success h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--court);
  line-height: 1.15;
}
.form-success p { color: var(--muted); margin-top: 10px; }

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

/* ---------- Sub-page intro banner (About / Partners) ---------- */
.page-intro {
  padding-block: clamp(64px, 9vw, 100px) clamp(50px, 8vw, 80px);
}
.about-photo { padding-bottom: clamp(50px, 8vw, 80px); }
.about-photo-img {
  display: block;
  width: 100%;
  height: clamp(260px, 34vw, 480px);
  object-fit: cover;
}
.page-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  text-wrap: balance;
  max-width: 16ch;
}
.page-lede {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 58ch;
  margin-top: 20px;
}

/* ---------- About: organiser profile cards (James / Yinka) ---------- */
.profiles-header { text-align: center; margin-bottom: 44px; }
.profiles-kicker {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.profile-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
/* Dark spotlight card regardless of the section's own light/dark theme -
   re-establish the dark tokens locally, same pattern .section-light uses. */
.profile-card {
  --bg-alt: oklch(0.15 0.018 155);
  --ink: oklch(0.97 0.01 150);
  --muted: oklch(0.78 0.03 150);
  --line: oklch(0.32 0.03 155);
  --court-text: var(--court);
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
}
.profile-card-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
}
.profile-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, transparent 48%);
}
.profile-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: color-mix(in oklch, black 45%, transparent);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
}
.profile-card-name {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: #fff;
  line-height: 1;
}
.profile-card-body { padding: 28px 26px 32px; }
.profile-card-body p { color: var(--muted); margin-top: 14px; }
.profile-card-body .about-sponsor-row { justify-content: flex-start; margin-inline: 0; }

.profile-footnote {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.profile-footnote-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.profile-footnote p { color: var(--muted); margin-top: 8px; max-width: 56ch; }

@media (max-width: 760px) {
  .profile-card-grid { grid-template-columns: 1fr; }
  .profile-footnote { flex-direction: column; align-items: flex-start; text-align: left; }
}

.about-role {
  color: var(--court-text);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.about-sponsor-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
}
.about-sponsor-logo {
  background: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  transition: transform 0.3s var(--ease-out-expo);
}
.about-sponsor-logo:hover { transform: translateY(-2px); }
.about-sponsor-logo img { height: 28px; width: auto; }

/* ---------- Coaches ---------- */
.coach-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 44px;
}
.coach-avatar { margin-bottom: 20px; }
.coach-avatar-photo {
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
}
.coach h3 { font-size: 1.25rem; margin-bottom: 4px; }
.coach p { color: var(--muted); margin-top: 4px; max-width: 46ch; }
.coach .btn { margin-top: 20px; }

/* ---------- Members marquee ----------
   Placeholder slots (dashed circle, "+") ready for real member photos —
   deliberately not filled with fake names. Two identical tracks side by
   side, scrolled -50% for a seamless loop; pauses on hover. */
.members-section { padding-bottom: clamp(50px, 8vw, 80px); }
.members-marquee-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.members-marquee {
  display: flex;
  width: max-content;
  animation: members-scroll 28s linear infinite;
}
.members-marquee:hover { animation-play-state: paused; }
.members-track {
  display: flex;
  gap: 28px;
  padding-inline: 14px;
}
@keyframes members-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.member-card {
  width: 150px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1.5rem;
}
.member-name { font-weight: 700; color: var(--muted); font-size: 0.9rem; font-style: italic; }
.member-role { color: var(--muted); font-size: 0.8rem; opacity: 0.7; }

@media (prefers-reduced-motion: reduce) {
  .members-marquee { animation: none; }
}

/* ---------- About CTA ---------- */
.about-cta-inner { text-align: center; }
.about-cta-inner .btn { margin-top: 26px; }

/* ---------- Partners ---------- */
.partner-benefits-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.partner-benefits-grid p { color: var(--muted); margin-top: 18px; max-width: 50ch; }

.partner-current { padding-block: clamp(50px, 8vw, 80px); }
.partner-current-label {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.partner-current-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.partner-current-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 32px;
  transition: transform 0.3s var(--ease-out-expo);
}
.partner-current-logo:hover { transform: translateY(-2px); }
.partner-current-logo img { height: 48px; width: auto; }
.partner-current-logo span {
  color: oklch(0.17 0.02 150);
  font-weight: 700;
  font-size: 1.1rem;
}

.partner-cta-inner { text-align: center; }
.partner-cta-inner p { color: var(--muted); margin-top: 14px; max-width: 46ch; margin-inline: auto; }
.partner-cta-inner .btn { margin-top: 26px; }

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

/* ---------- Events ---------- */
.events-more { padding-block: clamp(60px, 9vw, 100px); }

/* ---------- Blog ---------- */
.blog-empty-inner p { color: var(--muted); margin-top: 18px; max-width: 52ch; }
.blog-empty-inner .link-arrow { margin-top: 22px; }

.post-list { display: flex; flex-direction: column; }
.post-row {
  display: block;
  padding-block: 30px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.post-list .post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row h2 { font-size: 1.3rem; transition: color 0.2s var(--ease-out-expo); }
.post-row:hover h2 { color: var(--court-text); }
.post-row p { color: var(--muted); margin-top: 8px; max-width: 62ch; }
.post-row .post-kicker {
  display: block;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--court-text);
  margin-bottom: 8px;
}

.post-body { max-width: 68ch; }
.post-body p { color: var(--ink); font-size: 1.02rem; margin-top: 22px; text-wrap: pretty; }
.post-body p:first-of-type { margin-top: 0; }
.post-body a:not(.btn) { color: var(--court-text); font-weight: 600; }
.post-body .btn { margin-top: 34px; }

/* ---------- Contact ---------- */
.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-block: 34px;
}
.contact-row-b { border-top: 1px solid var(--line); }
.contact-row p { color: var(--muted); margin-top: 8px; max-width: 42ch; }
.contact-row .btn { flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 72px 32px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  max-width: none;
}
.brand-footer .brand-mark { color: var(--muted); }
.footer-tagline { color: var(--muted); margin-top: 18px; max-width: 32ch; }
.footer-col h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.footer-col a:not(.btn) {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding-block: 7px;
  transition: color 0.2s var(--ease-out-expo);
}
.footer-col a:not(.btn):hover { color: var(--ink); }
.footer-col .btn { margin-top: 4px; }
.footer-address {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 22px;
}
.footer-sponsor {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 24px;
}
.footer-sponsor a {
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  transition: transform 0.3s var(--ease-out-expo);
}
.footer-sponsor a:hover { transform: translateY(-2px); }
.footer-sponsor img { height: 22px; width: auto; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: none;
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand-ball, .glow-a { animation: none; }
  .hero-title .line { animation: none; }
  [data-reveal] {
    transition: opacity 0.4s linear;
    transform: none;
  }
  .btn, .link-arrow, .footer-sponsor a { transition: none; }
}

/* Notice banner at the top of an article (e.g. an event that has passed) */
.post-notice {
  padding: 14px 18px;
  border-left: 4px solid var(--court-deep);
  background: var(--surface-light);
  border-radius: 0 10px 10px 0;
  color: var(--ink-light);
}
.post-notice a { font-weight: 700; color: var(--court-deep); white-space: nowrap; }

/* ---------- How a Friday works ---------- */
.steps-list {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  counter-reset: none;
}
.steps-list li {
  border-top: 2px solid var(--line);
  padding-top: 18px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--court);
  letter-spacing: 0.04em;
}
.steps-list h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.5rem;
  margin: 6px 0 8px;
}
.steps-list p { color: var(--muted); font-size: 0.95rem; }
.steps .link-arrow { margin-top: 40px; }
@media (max-width: 980px) { .steps-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-list { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-alt); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-intro p { color: var(--muted); margin-top: 16px; max-width: 34ch; }
.faq-intro a { color: var(--court-text); font-weight: 700; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--court);
  transition: transform 0.25s var(--ease-out-expo);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--court); outline-offset: 2px; border-radius: 4px; }
.faq-item p { color: var(--muted); padding: 0 40px 22px 0; max-width: 62ch; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } }

.field textarea { resize: vertical; min-height: 120px; font: inherit; }
.message { background: var(--bg); }

/* ---------- Testimonials (placeholders until real quotes arrive) ---------- */
.testimonials { background: var(--bg-alt); }
.quote-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote-card {
  margin: 0;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.quote-card blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
}
.quote-card blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.8;
  color: var(--court);
  margin-bottom: 8px;
}
.quote-card figcaption { display: flex; flex-direction: column; font-size: 0.9rem; color: var(--muted); }
.quote-card figcaption strong { color: var(--ink); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
