/* ==========================================================================
   West Horsley Padel - site system
   Layout language measured off nike.com (Sept 2026):
     nav 96px total, display 76px at 0.90 line-height uppercase,
     body 16/24, fully-round pill CTAs (r:30px, pad 6px 16px),
     full-bleed square image cards on a 12px gutter, 45px outer margin,
     no borders, no shadows, no rounded cards. Imagery does the work.
   ========================================================================== */

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--forest);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* Nothing may widen the page: a drawing set partly off the edge must
   never let the page slide sideways. iPad Safari ignores overflow on the
   body alone, so the page itself is clipped too (clip, unlike hidden,
   keeps sticky parts working). */
html { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
/* The rule above is an author style, so it beats the UA stylesheet's
   [hidden] { display: none }. Without this the hidden hero <video> still
   takes up space and pushes the fallback artwork out of the hero. */
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

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

.skip {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -140%);
  z-index: 999; background: var(--forest); color: var(--cream);
  padding: 0.85rem 1.5rem; font-weight: 600; text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.skip:focus { transform: translate(-50%, 0); }

.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------- typography -- */
h1, h2, h3, h4 { font-weight: 800; line-height: var(--lh-tight); letter-spacing: var(--tr-display); }

.display {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--tr-display);
  text-transform: uppercase;
  font-weight: 800;
}
.display--hero { font-size: var(--fs-hero); }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-display); text-transform: uppercase; }
h1, h2, h3, .h2 { text-wrap: balance; }
.stat b, .hours dd { font-variant-numeric: tabular-nums; }
.h3 { font-size: var(--fs-h3); }
.h4 { font-size: var(--fs-h4); }

.eyebrow {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.3;
  display: block;
}
.eyebrow--olive { color: var(--olive-ink); }
.on-dark .eyebrow--olive, .sec--forest .eyebrow--olive { color: var(--olive-lt); }

.lead { font-size: var(--fs-lead); line-height: 1.5; }
.muted { color: var(--on-cream-muted); }
.on-dark .muted, .sec--forest .muted { color: var(--on-forest-muted); }
.measure { max-width: var(--maxw-text); }
/* No running text on the site runs wider than a comfortable line, whatever
   box it sits in. Anything that sets its own, narrower, measure keeps it. */
main p, .faq__a p, .prose li { max-width: var(--maxw-text); }
.measure-sm { max-width: 46ch; }

/* -------------------------------------------------------------- layout -- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--edge); }
.wrap--wide { max-width: 1800px; }
.bleed { width: 100%; }

.sec { padding-block: var(--sec-y); }
.sec--forest { background: var(--forest); color: var(--cream); }
.sec--deep { background: var(--forest-deep); color: var(--cream); }
.sec--cream2 { background: var(--cream-2); }
.sec--flush { padding-block: 0; }

.sec-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sec-head .eyebrow { margin-bottom: 1rem; }
.sec-head p { margin-top: 1.25rem; }

/* --------------------------------------------------------------- pills -- */
.pill {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-size: var(--fs-body); font-weight: 600; line-height: 1;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease-out);
  white-space: nowrap;
}
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: translateY(0); }

.pill--forest { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.pill--forest:hover { background: var(--forest-mid); border-color: var(--forest-mid); }

.pill--cream { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.pill--cream:hover { background: #fff; border-color: #fff; }

/* Brand olive cannot carry 16px text: forest-deep on #728948 measures
   4.18:1. The text-safe olive is used instead, at 5.03:1 with cream. */
.pill--olive { background: var(--olive-ink); color: var(--cream); border-color: var(--olive-ink); }
.pill--olive:hover { background: var(--forest); border-color: var(--forest); }

.pill--ghost-cream { background: transparent; color: var(--cream); border-color: rgba(254,246,231,0.5); }
.pill--ghost-cream:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }

.pill--ghost-forest { background: transparent; color: var(--forest); border-color: var(--cream-line-2); }
.pill--ghost-forest:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }

.pill--sm { padding: 0.6rem 1.15rem; font-size: var(--fs-sm); }

/* Nike's arrow-less pills are the default. This is the one flourish. */
.pill .arw { transition: transform 0.25s var(--ease-out); }
.pill:hover .arw { transform: translateX(3px); }

/* ----------------------------------------------------------------- nav -- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.topbar.is-stuck { background: var(--cream-2); }

/* The time and weather at the courts (site.js). Until 1.59 this sat in a
   green strip above the nav; it now sits on one quiet line at the foot of
   the home hero and in the footer (.now, in the 1.60 block below), and at
   the foot of the phone menu. */
.u-now { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.u-now__label { opacity: 0.72; }
.u-now__time { font-weight: 700; font-variant-numeric: tabular-nums; }
.u-now__wx { display: inline-flex; align-items: center; gap: 0.35rem; }
.u-now__wx[hidden] { display: none; }
.u-now__wx svg { width: 16px; height: 16px; color: var(--olive-lt); }
.u-now--menu { margin-top: 1rem; color: var(--forest); font-size: var(--fs-sm); justify-content: center; }
.u-now--menu .u-now__wx svg { color: var(--olive-ink); }

.nav {
  height: var(--nav-main);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img.mark { height: 42px; width: auto; }
.brand .brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-txt b {
  font-size: 0.9375rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
}
.brand .brand-txt span {
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--olive-ink); margin-top: 3px;
}

.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-links a {
  text-decoration: none; font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: 0.02em; padding: 0.4rem 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--olive); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--olive-ink); }
/* Every menu label stays on one line ("About us", "How to play"), centred
   on its own spot. On a narrow desktop window the gaps between them close
   up a little so they all still fit between the logo and the button. */
@media (min-width: 901px) {
  .nav-links a { text-align: center; white-space: nowrap; flex: none; }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .nav-links { gap: clamp(0.75rem, 1.4vw, 1.25rem); }
}

.nav-cta { display: flex; align-items: center; gap: 0.6rem; }
/* The .m-cta block inside .nav-links is the mobile menu's booking button.
   It must not appear in the desktop nav next to the real one. */
.nav-links .m-cta { display: none; }

.burger {
  display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.burger span {
  display: block; width: 22px; height: 2px; background: var(--forest);
  position: relative; transition: background-color 0.2s;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--forest);
  transition: transform 0.28s var(--ease-out), top 0.2s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: flex; justify-self: end; margin-right: -0.5rem; }
  .nav { grid-template-columns: auto 1fr; }
  .nav-cta { display: none; }
  /* The menu hangs from the bottom of the top bar, under the menu button
     at the right-hand end,
     and rolls down like a blind; the page behind it dims, so the eye goes
     to the choices. */
  .nav-links {
    position: fixed; top: var(--nav-main); right: var(--edge); left: auto; bottom: auto;
    width: clamp(260px, 34vw, 360px); max-height: calc(100svh - var(--nav-main) - 1rem);
    background: var(--cream);
    flex-direction: column; justify-content: flex-start; align-items: stretch;
    gap: 0; padding: 0.75rem 1.5rem 1.5rem;
    border-radius: 0 0 18px 18px; border-top: 1px solid var(--cream-line);
    box-shadow: 0 22px 44px rgb(9 37 24 / 0.25);
    clip-path: inset(0 0 100% 0 round 0 0 18px 18px); visibility: hidden;
    /* Closing runs the opening backwards: the links lift away last first,
       then the panel rolls back up into the bar. */
    transition: clip-path 0.45s var(--ease-out) 0.3s, visibility 0s linear 0.75s;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav-links.is-open { clip-path: inset(0 0 0 0 round 0 0 18px 18px); visibility: visible; transition: clip-path 0.5s var(--ease-out), visibility 0s; }
  /* Once the panel is down, the links settle in one after another. */
  .nav-links > a, .nav-links .m-cta { opacity: 0; transform: translateY(-14px); transition: opacity 0.2s, transform 0.22s var(--ease-out); }
  .nav-links.is-open > a, .nav-links.is-open .m-cta { opacity: 1; transform: none; transition: opacity 0.4s var(--ease-out), transform 0.5s cubic-bezier(.22,1,.36,1); }
  .nav-links .m-cta { transition-delay: 0s; }
  .nav-links > a:nth-child(5) { transition-delay: 0.04s; }
  .nav-links > a:nth-child(4) { transition-delay: 0.08s; }
  .nav-links > a:nth-child(3) { transition-delay: 0.12s; }
  .nav-links > a:nth-child(2) { transition-delay: 0.16s; }
  .nav-links > a:nth-child(1) { transition-delay: 0.2s; }
  .nav-links.is-open > a:nth-child(1) { transition-delay: 0.14s; }
  .nav-links.is-open > a:nth-child(2) { transition-delay: 0.19s; }
  .nav-links.is-open > a:nth-child(3) { transition-delay: 0.24s; }
  .nav-links.is-open > a:nth-child(4) { transition-delay: 0.29s; }
  .nav-links.is-open > a:nth-child(5) { transition-delay: 0.34s; }
  .nav-links.is-open .m-cta { transition-delay: 0.42s; }
  .nav-links a {
    font-size: 1.25rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: var(--tr-display);
    width: 100%; padding: 0.8rem 0; border-bottom: 1px solid var(--cream-line);
  }
  .nav-links a::after { display: none; }
  .nav-links .m-cta { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
  .nav-links .m-cta a { border-bottom: 0; }
  .nav-links .m-cta .pill { justify-content: center; }
  /* While the menu is open the page stays still. The lock goes on the page
     itself, not the body: the page is clipped sideways (see the top of this
     file), so a body that hid its overflow would become its own scroller
     and the sticky top bar would scroll away with it. */
  html:has(body.nav-open) { overflow: hidden; }
  body::after {
    content: ""; position: fixed; inset: var(--nav-main) 0 0 0; z-index: 99;
    background: rgb(9 37 24 / 0.5); opacity: 0; pointer-events: none;
    transition: opacity 0.4s var(--ease-out) 0.3s;
  }
  body.nav-open::after { opacity: 1; pointer-events: auto; transition-delay: 0s; }
}

/* Any section that can be jumped to has to clear the sticky header. */
section[id], [id].sec { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ---------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  min-height: min(94svh, 980px);
  display: grid; place-items: center;
  background: var(--forest-deep);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video, .hero__media svg {
  width: 100%; height: 100%; object-fit: cover;
}
/* Forest scrim. Keeps the cream lockup at full contrast over any footage.
   Tuned so it darkens photography without flattening the artwork behind it:
   heavier at the edges, lightest through the middle where the lockup sits. */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(9,37,24,0.52) 0%, rgba(9,37,24,0.12) 42%, rgba(9,37,24,0.62) 100%),
    radial-gradient(ellipse at 50% 46%, rgba(9,37,24,0) 0%, rgba(9,37,24,0.42) 100%);
}

.hero__inner {
  position: relative; z-index: 2;
  text-align: center; color: var(--cream);
  padding: calc(var(--nav-h) * 0.4) var(--edge) clamp(5rem, 10vh, 8rem);
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.hero__lockup { width: min(210px, 42vw); height: auto; }
/* The display line. Nike sets its hero at a 0.90 line-height, which is what
   gives it the weight; the cream palette wants a little tracking back, so
   this runs looser than the section headings elsewhere on the site. */
.hero__line {
  font-size: clamp(1.875rem, 7.2vw, 6.5rem);
  font-weight: 800; text-transform: uppercase;
  line-height: var(--lh-display); letter-spacing: var(--tr-display);
  max-width: 17ch; margin-top: 0.5rem;
}
.hero__tag {
  font-size: var(--fs-lead); font-weight: 500; max-width: 44ch;
  color: var(--cream);
}
.hero__rule { display: none; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 0.75rem; }

/* The scroll cue stands at the right-hand side, clear of the photo note
   along the bottom left. */
.hero__scroll {
  position: absolute; right: clamp(16px, 4vw, 48px); bottom: 1.75rem;
  z-index: 2; color: rgba(254,246,231,0.78);
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero__scroll .line {
  width: 2px; height: 34px; background: rgba(254,246,231,0.6); transform-origin: top;
  animation: drift 2.4s var(--ease) infinite;
}
@keyframes drift { 0%,100% { transform: scaleY(1); opacity: 0.75; } 50% { transform: scaleY(0.55); opacity: 0.3; } }

/* --------------------------------------------------- stat banner strip -- */
/* Structure follows the padelfarm.club banner the client flagged, rebuilt
   in the WHP palette: olive numerals, cream labels, forest ground.        */
.statband { background: var(--forest); color: var(--cream); border-top: 3px solid var(--olive); }
.statband__grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.6fr) repeat(4, 1fr);
  align-items: center;
  padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
.statband__title .eyebrow { color: var(--olive-lt); margin-bottom: 0.75rem; }
.statband__title h2 { font-size: clamp(1.5rem, 2.4vw, 2.125rem); text-transform: uppercase; line-height: var(--lh-display); }
.stat { padding-left: clamp(1.25rem, 2.5vw, 2.5rem); }
.stat b {
  display: block; font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 800;
  color: var(--olive-lt); line-height: 1; letter-spacing: var(--tr-display);
}
.stat span {
  display: block; margin-top: 0.6rem; font-size: var(--fs-body); font-weight: 600;
  line-height: 1.35; color: var(--cream);
}
@media (max-width: 1080px) {
  .statband__grid { grid-template-columns: repeat(2, 1fr); }
  .statband__title { grid-column: 1 / -1; }
  .stat:nth-child(2), .stat:nth-child(4) { padding-left: 0; }
}
@media (max-width: 520px) {
  .statband__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .stat { padding-left: 0; }
}

/* ------------------------------------------------------------ bookband -- */
.bookband { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .bookband { grid-template-columns: minmax(0, 1fr); } }
.bookband__steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.bookband__step { background: var(--cream-2); padding: 1.35rem 1.5rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: baseline; }
.bookband__step b { font-size: var(--fs-h4); font-weight: 800; color: var(--olive-ink); font-variant-numeric: tabular-nums; }
.bookband__step p { font-size: var(--fs-body); }
.bookband__step strong { font-weight: 700; }

.hours {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
  margin-top: var(--gutter);
}
@media (max-width: 560px) { .hours { grid-template-columns: 1fr; } }
.hours__cell {
  background: var(--cream); padding: 1.5rem clamp(1.25rem, 2vw, 2rem);
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  border-top: 3px solid var(--olive);
}
.hours__cell dt { font-weight: 600; font-size: var(--fs-body); }
.hours__cell dd { margin: 0; font-weight: 800; font-size: var(--fs-h4); letter-spacing: var(--tr-display); }

/* ------------------------------------------------------ editorial grid -- */
/* Nike's signature: square full-bleed image, text overlaid bottom-left. */
.edgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.edgrid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .edgrid, .edgrid--3 { grid-template-columns: 1fr; } }
/* An upright tablet (up to an iPad Pro held upright): two panels side by
   side. */
@media (min-width: 561px) and (max-width: 900px), (orientation: portrait) and (min-width: 561px) and (max-width: 1100px) {
  .edgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); --edw: calc((100vw - 2 * var(--edge) - var(--gutter)) / 2); }
}
/* Phones and upright tablets: the drawing stands above the words instead
   of behind them, so however the words wrap they never meet it. The
   drawing gets the same share of its panel as it has on a screen held
   sideways: its space grows with the panel's width, clear of the photo
   note at the top, and it fills that space nearly edge to edge. */
@media (max-width: 900px), (orientation: portrait) and (max-width: 1100px) {
  .edgrid { --edw: calc(100vw - 2 * var(--edge)); }
  .edgrid .edcard, .edgrid .edcard--wide { aspect-ratio: auto; display: flex; flex-direction: column; }
  .edgrid .edcard__media { position: relative; inset: auto; height: calc(var(--edw) * 0.62 + 4.25rem); flex: none; }
  .edgrid .edcard__media img[src*="/art/"], .edgrid .edcard__media svg.edart { height: 100%; padding: 4rem 6% 0.25rem; }
  .edgrid .edcard__media:has(img[src*="/art/"])::after, .edgrid .edcard__media:has(svg.edart)::after { display: none; }
  .edgrid .edcard__body { height: auto; padding-top: 0.75rem; }
  .edgrid .edcard:has(img[src*="/art/"]), .edgrid .edcard:has(svg.edart) { background: var(--forest); }
}
@media (min-width: 561px) and (max-width: 900px), (orientation: portrait) and (min-width: 561px) and (max-width: 1100px) {
  .edgrid { --edw: calc((100vw - 2 * var(--edge) - var(--gutter)) / 2); }
}

.edcard {
  position: relative; display: block; text-decoration: none;
  aspect-ratio: 1 / 1; overflow: hidden; background: var(--forest-deep);
  color: var(--cream); isolation: isolate;
}
.edcard--wide { aspect-ratio: 16 / 10; }
@media (max-width: 560px) { .edcard, .edcard--wide { aspect-ratio: 4 / 5; } }
.edcard__media { position: absolute; inset: 0; z-index: 0; }
.edcard__media img, .edcard__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.edcard:hover .edcard__media img, .edcard:hover .edcard__media svg { transform: scale(1.045); }
.edcard__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,37,24,0.88) 0%, rgba(9,37,24,0.34) 46%, rgba(9,37,24,0.06) 100%);
}
.edcard__body {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  gap: 0.85rem; padding: clamp(1.5rem, 3vw, 2.75rem);
}
.edcard__body .eyebrow { color: var(--olive-lt); }
.edcard__body h3 { font-size: clamp(1.625rem, 2.8vw, 2.5rem); text-transform: uppercase; line-height: var(--lh-display); }
.edcard__body p { font-size: var(--fs-body); color: rgba(254,246,231,0.86); max-width: 40ch; }
.edcard__body .pill { margin-top: 0.5rem; }
/* Until the client's photographs arrive, the cards carry drawings: shown
   whole above the words rather than cropped like a photograph. */
.edcard__media:has(img[src*="/art/"]), .edcard__media:has(svg.edart) { background: var(--forest); }
.edcard__media img[src*="/art/"], .edcard__media svg.edart { object-fit: contain; height: 50%; padding: 3.25rem 10% 0; }
.edcard:hover .edcard__media img[src*="/art/"], .edcard:hover .edcard__media svg.edart { transform: scale(1.03); }
/* A drawing sits clear of the words, so only the lower part, under the
   words, is shaded: the drawing keeps its own colours. */
.edcard__media:has(img[src*="/art/"])::after, .edcard__media:has(svg.edart)::after {
  background: linear-gradient(to top, rgba(9,37,24,0.88) 0%, rgba(9,37,24,0.5) 30%, rgba(9,37,24,0) 52%);
}

/* ------------------------------------------------------------ location -- */
.loc { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--gutter); align-items: stretch; }
@media (max-width: 900px) { .loc { grid-template-columns: 1fr; } }
.loc__panel { background: var(--forest); color: var(--cream); padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; gap: 2rem; }
.loc__map { min-height: 440px; background: var(--forest-deep); position: relative; overflow: hidden; }
.loc__map__art { position: absolute; inset: 0; z-index: 0; }
.loc__map__art img { width: 100%; height: 100%; object-fit: cover; }
.loc__map__pin {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; color: var(--cream); text-align: center; padding: 2rem;
}
.loc__map__pin svg { width: 46px; height: 46px; color: var(--olive-lt); }
.loc__map__pin b { font-size: var(--fs-body); font-weight: 700; }
.loc__map iframe {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0;
  filter: saturate(0.72) contrast(1.04);
}
.loc__list { list-style: none; padding: 0; display: grid; gap: 1.5rem; }
.loc__list li { display: grid; grid-template-columns: 28px 1fr; gap: 1rem; align-items: start; }
.loc__list svg { width: 20px; height: 20px; margin-top: 3px; color: var(--olive-lt); }
.loc__list b { display: block; font-size: var(--fs-body); font-weight: 700; margin-bottom: 0.3rem; }
.loc__list p { font-size: var(--fs-body); color: var(--on-forest-muted); }
/* Find us: the address and the directions button on one line, then
   parking, getting here and arriving early as three tiles, each with a
   large sign in a soft olive disc; the map underneath. On a phone the
   tiles stack with the sign beside the words. */
.loc--b { grid-template-columns: 1fr; }
.loc--b .loc__panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; }
.loc--b .loc__panel > .pill { grid-column: 2; grid-row: 1; }
.loc--b .loc__list { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); }
.loc--b .loc__list li { grid-template-columns: 1fr; align-content: start; gap: 0.9rem; border-top: 1px solid rgba(254, 246, 231, 0.16); padding-top: 1.5rem; }
.loc--b .loc__list .pts__n { font-size: clamp(2rem, 3vw, 2.75rem); color: var(--olive-lt); }
.loc--b .loc__list b { font-family: var(--font); font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.15; }
.loc--b .loc__map { min-height: 300px; }
@media (max-width: 560px) {
  .loc--b .loc__panel { grid-template-columns: 1fr; }
  .loc--b .loc__panel > .pill { grid-column: 1; grid-row: 3; justify-self: start; }
  .loc--b .loc__list { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .loc--b .loc__list li { grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1rem; padding-block: 1.5rem 0; }
  .loc--b .loc__list li > div { min-width: 0; }
}

/* ------------------------------------------------------------- policy --- */
.refund { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
@media (max-width: 760px) { .refund { grid-template-columns: 1fr; } }
.refund__col { padding: clamp(1.75rem, 3vw, 2.5rem); }
.refund__col--yes { background: var(--cream-2); border-top: 4px solid var(--olive); }
.refund__col--no  { background: var(--forest); color: var(--cream); border-top: 4px solid var(--olive-lt); }
.refund__col h3 { font-size: var(--fs-h3); text-transform: uppercase; margin-bottom: 1.5rem; }
.refund__col ul { list-style: none; padding: 0; display: grid; gap: 1rem; }
.refund__col li { display: grid; grid-template-columns: 22px 1fr; gap: 0.85rem; align-items: start; font-size: var(--fs-body); line-height: 1.55; }
.refund__col li svg { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.refund__col--yes li svg { color: var(--olive-ink); }
.refund__col--no li svg { color: var(--olive-lt); }
.refund__note {
  grid-column: 1 / -1; background: var(--forest-deep); color: var(--cream);
  padding: clamp(1.5rem, 2.5vw, 2rem); display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center;
}
.refund__note svg { width: 32px; height: 32px; color: var(--olive-lt); flex: none; }
.refund__note p { font-size: var(--fs-body); }
.refund__note strong { font-weight: 700; }

/* ---------------------------------------------------------------- FAQ --- */
/* Questions: open rows between fine lines, no boxes. Each has a ball where
   a plus would be; opening a question spins the ball half a turn and turns
   it olive, and the question grows to heading size while its answer opens
   and fades up, all on the same timing, so the row is plainly the one being
   read. */
.faq { display: grid; border-top: 2px solid var(--forest); }
.faq__item { border-bottom: 1px solid var(--cream-line); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  padding: 1.6rem 3.5rem 1.6rem 0; position: relative;
  font-size: var(--fs-lead); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3;
  display: block; color: inherit;
  transition: font-size 0.4s var(--ease-out), color 0.3s var(--ease), padding 0.4s var(--ease-out);
}
.faq__q::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; border-radius: 50%;
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M1 11 C8.6 12 8.6 21.5 13 27' stroke='%23fef6e7' stroke-width='1.9' fill='none'/%3E%3Cpath d='M27 17 C19.4 16 19.4 6.5 15 1' stroke='%23fef6e7' stroke-width='1.9' fill='none'/%3E%3C/svg%3E") center / 100% no-repeat;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.5s var(--ease-out), background-color 0.3s var(--ease);
}
.faq__q:hover { color: var(--olive-ink); }
.faq__q:hover::after { transform: translateY(-50%) rotate(-30deg); }
.faq__q[aria-expanded="true"] { font-size: var(--fs-h3); color: var(--forest); padding-top: 1.9rem; }
.faq__q[aria-expanded="true"]::after { transform: translateY(-50%) rotate(180deg); background-color: var(--olive); }
/* Height driven from JS. The grid 0fr/1fr accordion trick is not usable
   here: overflow:hidden on a grid item zeroes its automatic minimum size,
   so the open state resolves to 0px. Measured, not assumed. */
.faq__a { height: 0; overflow: hidden; transition: height 0.4s var(--ease-out); }
.faq__a > div { opacity: 0; transform: translateY(-6px); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out); }
.faq__a[data-open="true"] > div { opacity: 1; transform: none; transition-delay: 0.08s; }
.faq__a p { padding-bottom: 1.8rem; max-width: var(--maxw-text); font-size: var(--fs-lead); line-height: 1.55; }
.faq__a p + p { padding-top: 0; margin-top: -0.75rem; }
@media (prefers-reduced-motion: reduce) {
  .faq__q, .faq__q::after, .faq__a > div { transition: none; }
}

/* FAQs: the group names are headings, set like the other pages' section
   headings, a size down so the longer names sit on two lines. */
.split:has(.faq) .split__aside > .eyebrow--feature { font-size: var(--fs-h2); max-width: 12ch; }

/* -------------------------------------------------------------- forms --- */
.field { display: grid; gap: 0.5rem; }
.field label { font-size: var(--fs-sm); font-weight: 700; }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 2px solid var(--cream-line-2);
  padding: 0.75rem 0; font-size: var(--fs-body); border-radius: 0;
  transition: border-color 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--olive);
}
.field textarea { resize: vertical; min-height: 120px; }
.on-dark .field input, .on-dark .field select, .on-dark .field textarea {
  border-bottom-color: rgba(254,246,231,0.42); color: var(--cream);
}
.on-dark .field input:focus, .on-dark .field textarea:focus, .on-dark .field select:focus { border-bottom-color: var(--olive-lt); }
.on-dark .field input::placeholder, .on-dark .field textarea::placeholder { color: rgba(254,246,231,0.45); }

.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 2rem); }
.formgrid .span2 { grid-column: 1 / -1; }
/* The send button and the line that reports back, side by side. */
.form-foot { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.form-foot .form-msg { margin: 0; }
@media (max-width: 640px) { .formgrid { grid-template-columns: 1fr; } .formgrid .span2 { grid-column: auto; } }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: var(--fs-sm); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--olive); }

.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- newsletter --- */
.news {
  background: var(--forest-deep); color: var(--cream);
  border-top: 3px solid var(--olive);
}
.news__bar {
  width: 100%; background: none; border: 0; cursor: pointer; color: inherit;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left;
}
.news__bar h2 { font-size: clamp(1.375rem, 2.6vw, 2.25rem); text-transform: uppercase; line-height: var(--lh-display); }
.news__bar .eyebrow { color: var(--olive-lt); margin-bottom: 0.6rem; }
.news__toggle {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  border: 2px solid rgba(254,246,231,0.4); display: grid; place-items: center;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.35s var(--ease-out);
}
.news__bar:hover .news__toggle { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.news__bar[aria-expanded="true"] .news__toggle { transform: rotate(45deg); background: var(--olive); border-color: var(--olive); color: var(--forest-deep); }
.news__panel { height: 0; overflow: hidden; transition: height 0.4s var(--ease-out); }
.news__panel form { padding-bottom: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.75rem; max-width: 820px; }
.news__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1.5rem; align-items: end; }
@media (max-width: 760px) { .news__row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------ pre-launch ------ */
/* The club is not open yet. These three pieces carry the "opening soon"
   story: the badge in the hero, the beginner steps, and the founding list.
   In the theme they switch off with one tick on Site Content > Club details. */
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--fs-body); font-weight: 600; color: var(--cream);
}
.hero__badge i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--olive-lt);
  box-shadow: 0 0 0 0 rgba(143,166,97,0.7); animation: beacon 2s var(--ease-out) infinite;
}
@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(143,166,97,0.7); } 80%,100% { box-shadow: 0 0 0 10px rgba(143,166,97,0); } }

/* Your first game. Three things a beginner wants to know, in no order, so
   no numbers: each card carries a plan of a real padel court instead. */
.firstgame { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
@media (max-width: 900px) { .firstgame { grid-template-columns: 1fr; } }
/* An upright tablet: each card is a row, its drawing beside its words,
   instead of three tall cards. */
@media (min-width: 521px) and (max-width: 900px) {
  .firstgame > .firstgame__step { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 1.5rem; align-items: start; }
  .firstgame > .firstgame__step > .firstgame__fig { grid-row: 1 / span 2; margin-bottom: 0; }
  .firstgame > .firstgame__step > h3 { align-self: end; }
}
.firstgame__step {
  background: var(--cream-2); padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: background 0.3s var(--ease-out);
}
.firstgame__step:hover { background: var(--cream-3); }
.firstgame__fig { display: grid; gap: 0.75rem; margin-bottom: 0.75rem; }
.firstgame__fig figcaption {
  font-size: var(--fs-sm); font-weight: 700;
  color: var(--olive-ink); font-variant-numeric: tabular-nums;
}
.firstgame__step h3 { font-size: var(--fs-h3); text-transform: uppercase; line-height: var(--lh-display); }
.firstgame__step p { font-size: var(--fs-body); }

/* The court plan. Forest floor, cream lines, olive for whatever the card is about. */
.court { width: 100%; height: auto; display: block; }
.court .c-floor { fill: var(--forest); }
.court .c-line { stroke: rgba(254,246,231,0.55); stroke-width: 1.2; fill: none; }
.court .c-mesh { stroke: rgba(254,246,231,0.45); stroke-width: 1.5; stroke-dasharray: 2 3; fill: none; }
.court .c-glass { stroke: var(--cream); stroke-width: 2.5; fill: none; }
.court .c-glass.c-hi { stroke: var(--olive-lt); stroke-width: 5; }
.court .c-net { stroke: var(--cream); stroke-width: 2.5; }
.court .c-kit ellipse, .court .c-kit rect { fill: var(--cream); }
.court .c-holes circle { fill: var(--forest); }
.court .c-ball { fill: var(--olive-lt); }
.court .c-p1 { fill: var(--cream); }
.court .c-p2 { fill: var(--olive-lt); }
.court .c-path { stroke: var(--cream); stroke-width: 1.6; stroke-dasharray: 4 4; fill: none; }
.court .c-hit { fill: var(--forest); stroke: var(--olive-lt); stroke-width: 1.6; }
.firstgame__step:hover .c-path { animation: serve 1.6s linear infinite; }
@keyframes serve { to { stroke-dashoffset: -16; } }
/* The three first-game cards play as each comes up the screen, at the
   steady pace site.js sets from the scroll, and back on the way up: the
   racket slides onto the court and the ball drops softly in; the
   players run in from the back glass; the serve's line draws itself
   behind the ball. site.js marks the cards .fg-anim (never with reduced
   motion) and holds these animations still, setting how far through each
   one is. */
.firstgame .court g, .firstgame .court circle { transform-box: view-box; }
.fg-anim .c-drop { transform-origin: 158px 48px; }
.fg-anim .c-serve { transform-origin: 205px 92px; }
.fg-anim .h1 { transform-origin: 78px 36px; }
.fg-anim .h2 { transform-origin: 20px 26px; }
.fg-anim .c-swing { animation: fg-slide 0.9s cubic-bezier(.2,.8,.2,1) 0.15s both paused; }
.fg-anim .c-drop { animation: fg-drop 1.1s cubic-bezier(.22,1,.36,1) 0.55s both paused; }
.fg-anim .c-p1 { animation: fg-in-l 0.8s cubic-bezier(.2,.8,.2,1) var(--d) both paused; }
.fg-anim .c-p2 { animation: fg-in-r 0.8s cubic-bezier(.2,.8,.2,1) var(--d) both paused; }
.fg-anim .c-reveal { animation: fg-draw 1.4s linear 0.3s both paused; }
.fg-anim .c-serve { animation: fg-serve 2.6s linear 0.3s both paused; }
.fg-anim .h1 { animation: fg-pop 0.45s cubic-bezier(.22,1,.36,1) 1.04s both paused; }
.fg-anim .h2 { animation: fg-pop 0.45s cubic-bezier(.22,1,.36,1) 1.35s both paused; }
@keyframes fg-slide { from { transform: translate(-70px, 0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fg-drop {
  0% { transform: scale(1.15); opacity: 0; }
  80%, 100% { transform: scale(1); opacity: 1; }
}
@keyframes fg-in-l { from { transform: translate(-48px, 0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fg-in-r { from { transform: translate(48px, 0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fg-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fg-serve {
  0% { transform: translate(0, 0); opacity: 1; }
  28.5% { transform: translate(-127px, -56px); }
  40.5% { transform: translate(-185px, -66px); }
  53.8% { transform: translate(-131px, -30px); opacity: 1; }
  66% { transform: translate(-131px, -30px); opacity: 0; }
  70% { transform: translate(0, 0); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}
@keyframes fg-pop { 0% { transform: scale(.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .fg-anim .c-swing, .fg-anim .c-drop, .fg-anim .c-p1, .fg-anim .c-p2 { opacity: 1; transform: none; }
  .fg-anim .c-reveal { stroke-dashoffset: 0; }
}
.firstgame__cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: clamp(2rem, 4vw, 3rem); }

/* The founding list. Open, not tucked into a dropdown: pre-launch it is
   the most important thing on the page. */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .founders { grid-template-columns: 1fr; } }
.founders .h2 { margin-top: 1rem; }
.founders__perks { list-style: none; padding: 0; display: grid; gap: 1rem; margin-top: 2rem; }
.founders__perks li { display: grid; grid-template-columns: 22px 1fr; gap: 0.85rem; align-items: start; line-height: 1.5; }
.founders__perks svg { width: 22px; height: 22px; color: var(--olive-lt); margin-top: 0.1em; }
.founders__form {
  background: var(--forest-deep);
  padding: clamp(1.75rem, 3.5vw, 3rem);
}
.founders__form form { display: grid; gap: 1.75rem; }
.founders__form .news__row { grid-template-columns: 1fr; }
.founders__form .pill { justify-self: start; }

/* ----------------------------------------------------------- partners --- */
.partners { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; justify-content: center; }
.partner {
  text-decoration: none; display: grid; gap: 0.35rem; justify-items: center; text-align: center;
  padding: 1.25rem 1.5rem; min-width: 180px;
  background: var(--cream-2); transition: background-color 0.25s var(--ease);
}
.partner:hover { background: var(--cream-3); }
.partner b { font-size: var(--fs-body); font-weight: 800; }
.partner span { font-size: var(--fs-sm); }

/* --------------------------------------------------------------- book --- */
/* The always-present booking toggle the client asked for, bottom right.   */
.booknow {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 90;
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--forest); color: var(--cream);
  padding: 1rem 1.6rem; border-radius: var(--radius-pill);
  border: 2px solid var(--olive);
  font-weight: 700; font-size: var(--fs-body);
  text-decoration: none;
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(0.94);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-out),
              visibility 0.35s, background-color 0.25s var(--ease);
}
.booknow.is-on { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.booknow:hover { background: var(--olive-lt); color: var(--forest-deep); border-color: var(--olive-lt); }
.booknow svg { width: 17px; height: 17px; }
/* Phones: a compact pill in the corner rather than a bar across the
   content, and it steps aside while the reader scrolls down, so it never
   sits on a heading they are reading. Scrolling up brings it back. */
@media (max-width: 560px), (max-height: 520px) {
  .booknow { padding: 0.8rem 1.15rem; }
  .booknow.is-hiding { opacity: 0; visibility: hidden; transform: translateY(18px) scale(0.94); }
}

/* ------------------------------------------------------------- footer --- */
.footer { background: var(--forest); color: var(--cream); padding-top: clamp(3.5rem, 6vw, 5.5rem); }
/* The partners, with the way back to the top on the right of them. */
.footer__mid { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap;
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.footer__mid > .assoc { padding: 0; }
.footer__mid > .totop { margin-left: auto; }
.totop {
  display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none;
  font-size: var(--fs-body); font-weight: 700;
  padding-bottom: 0.5rem; border-bottom: 2px solid rgba(254,246,231,0.3);
  transition: border-color 0.2s var(--ease);
}
.totop:hover { border-bottom-color: var(--olive); }
.totop svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease-out); }
.totop:hover svg { transform: translateY(-3px); }

.footer__cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem); padding-top: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 860px) { .footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer__cols { grid-template-columns: 1fr; } }
.footer__col h4 { font-size: var(--fs-body); color: var(--olive-lt); margin-bottom: 1.1rem; font-weight: 700; letter-spacing: 0; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 0.8rem; }
.footer__col a { text-decoration: none; font-size: var(--fs-body); color: rgba(254,246,231,0.86); transition: color 0.2s; }
.footer__col a:hover { color: var(--cream); }
.footer__col address { font-style: normal; font-size: var(--fs-body); color: rgba(254,246,231,0.86); line-height: 1.7; }

.socials { display: flex; gap: 0.65rem; margin-top: 1.25rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--forest-mid);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.socials a:hover { background: var(--cream); color: var(--forest); }
.socials svg { width: 18px; height: 18px; }

.assoc { padding-block: 0 clamp(2.5rem, 4vw, 3.5rem); }
.assoc h4 { font-size: var(--fs-body); color: var(--olive-lt); margin-bottom: 1.1rem; font-weight: 700; letter-spacing: 0; }
.assoc__row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
/* A partner with no website still gets the pill, so the row does not look
   half finished while the client is still gathering the links. */
.assoc__row a, .assoc__row span {
  text-decoration: none; font-size: var(--fs-sm); font-weight: 600;
  padding: 0.65rem 1.15rem; background: var(--forest-mid); border-radius: var(--radius-pill);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.assoc__row span { color: rgba(254,246,231,0.78); }
.assoc__row a:hover { background: var(--cream); color: var(--forest); }

.legal {
  position: relative;
  padding-block: 1.75rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: var(--fs-sm); color: rgba(254,246,231,0.72);
}
/* The band runs the full width while its words stay on the page margin. */
.legal::before { content: ""; position: absolute; inset: 0 -100vmax; background: var(--forest-deep); z-index: -1; }
.footer { isolation: isolate; overflow: clip; }
.legal a { text-decoration: none; }
.legal a:hover { color: var(--cream); text-decoration: underline; }
.legal__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
/* The club's logo sits in the middle of the bar, between the copyright and
   the legal links (and, in WordPress, the credit under them). */
.legal { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding-block: 1.5rem; }
.legal > .footer__lockup { width: 96px; height: auto; justify-self: center; }
.legal > .legal__links, .legal__end { justify-self: end; }
.legal__end { display: grid; justify-items: end; gap: 0.75rem; }
@media (max-width: 720px) {
  .legal { grid-template-columns: 1fr; justify-items: start; row-gap: 1rem; }
  .legal > .footer__lockup { order: -1; justify-self: start; }
  .legal > .legal__links, .legal__end { justify-self: start; justify-items: start; }
}

/* --------------------------------------------------------- page header -- */
.pagehead {
  background: var(--forest); color: var(--cream);
  padding-block: clamp(3.5rem, 8vw, 7rem);
  position: relative; overflow: hidden;
}
.pagehead__art { position: absolute; inset: 0; opacity: 0.16; z-index: 0; }
.pagehead__art svg, .pagehead__art img { width: 100%; height: 100%; object-fit: cover; }
.pagehead .wrap { position: relative; z-index: 1; }
.pagehead .eyebrow { color: var(--olive-lt); margin-bottom: 1.25rem; }
.pagehead h1 { font-size: var(--fs-display); text-transform: uppercase; line-height: var(--lh-display); }
/* Phones: a page title is two lines at most, so it steps down a size. */
@media (max-width: 520px) {
  .pagehead h1 { font-size: 1.875rem; }
}
.pagehead p { margin-top: 1.5rem; max-width: 52ch; color: var(--cream); font-size: var(--fs-lead); }

.crumbs { font-size: var(--fs-sm); margin-bottom: 2rem; color: rgba(254,246,231,0.72); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cream); text-decoration: underline; }

/* ------------------------------------------------------ background art -- */
/* Drawn pictures of the game set into a section's own background rather
   than framed: no edges, no boxes. The section holds them under its words
   (it is its own stacking layer, so they sit above its colour and below
   everything else), and they are decoration, hidden from screen readers. */
section:has(> .bgart) { position: relative; isolation: isolate; overflow: hidden; }
.bgart { position: absolute; z-index: -1; pointer-events: none; }
.bgart img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Giant: the racket drawn in a deeper green of the section's own colour,
   larger than the section and cropped by its edges. */
.bgart--giant { top: -30%; right: -6%; height: 160%; aspect-ratio: 400 / 760; transform: rotate(-24deg); }
.bgart--giant img { object-fit: contain; }
/* On the left, for a split whose words sit on the right. */
.bgart--giant.bgart--l { right: auto; left: -13%; top: -10%; height: 112%; transform: rotate(24deg); }
/* Its mirror image on the left, so a pair of rackets frames the words. */
.bgart--giant.bgart--mirror { right: auto; left: -6%; transform: rotate(24deg) scaleX(-1); }
/* As the screen narrows the pair eases outward, so the words always have
   clear green between them (from about 1200px wide down to phones). */
section:has(> .bgart--mirror) > .bgart--giant { right: min(-6%, calc(50vw - 640px)); }
section:has(> .bgart--mirror) > .bgart--giant.bgart--mirror { right: auto; left: min(-6%, calc(50vw - 640px)); }

/* Bleed: a scene comes in from the top right and melts into the section
   colour towards the words and towards the content below. */
.bgart--bleed { top: 0; right: 0; width: 62%; height: 58%; }
.bgart--bleed img {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 45%), linear-gradient(to top, transparent, #000 45%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 45%), linear-gradient(to top, transparent, #000 45%);
          mask-composite: intersect;
}

/* Horizon: a scene rises from the bottom edge behind centred words. */
.bgart--horizon { left: 0; right: 0; bottom: 0; height: 80%; opacity: 0.6; }
.bgart--horizon.bgart--low { height: 52%; opacity: 0.42; }
.bgart--horizon img {
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent);
          mask-image: linear-gradient(to top, #000 30%, transparent);
}

/* In play: a racket, the ball it has just struck and the flight between
   them, set beside a heading or under a split's label with no frame. */
.play { display: block; width: min(100%, 380px); height: auto; }
.sec-head--play { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.sec-head--play > .play { width: clamp(200px, 20vw, 300px); }
.split__aside { align-self: start; display: grid; gap: 2rem; }
.split__aside > .eyebrow { font-size: var(--fs-h3); font-weight: 800; line-height: var(--lh-tight); letter-spacing: var(--tr-display); }
@media (max-width: 900px) {
  .split__aside > .eyebrow { font-size: var(--fs-lead); }
  .split__aside .play { width: 260px; justify-self: center; }
}
.pagehead__play { position: absolute; z-index: 0; top: 8%; right: var(--edge); bottom: 8%; width: min(40%, 640px); pointer-events: none; }
.pagehead__play img { width: 100%; height: 100%; object-fit: contain; object-position: right center; }
/* A tablet held sideways or a small laptop: the words keep to the left of
   the drawing, a size down so the title still fits on two lines. */
@media (min-width: 901px) and (max-width: 1440px) {
  .pagehead:has(.pagehead__play) h1 { font-size: clamp(2.5rem, 4.6vw, 5rem); }
}
/* Any screen held sideways or wider (an iPad Pro landscape, a phone on its
   side, a laptop): the words stop short of where the drawing begins. */
@media (min-width: 901px), (min-width: 761px) and (orientation: landscape) {
  .pagehead:has(.pagehead__play) .wrap > * { max-width: 54%; }
}
@media (min-width: 761px) and (max-width: 900px) and (orientation: landscape) {
  .pagehead:has(.pagehead__play) h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
}
/* Upright screens (a tablet held upright, a phone): the drawing goes above
   the words, large, across the width of the page. */
/* Upright screens (a tablet held upright, a phone): the drawing sits top
   right and the title beside it, so no space is left empty; the intro then
   runs the full width beneath both. */
@media (max-width: 760px), (max-width: 900px) and (orientation: portrait) {
  .pagehead { --head-top: clamp(1.25rem, 3.5vw, 2.25rem); --head-w: calc((100vw - 2 * var(--edge)) * 0.48); --head-art: calc(var(--head-w) * 0.8); }
  .pagehead:has(.pagehead__play) { padding-top: var(--head-top); }
  .pagehead:has(.pagehead__play) .wrap { display: grid; grid-template-columns: minmax(0, 1fr) var(--head-w); grid-template-rows: auto 1fr auto auto auto; column-gap: 0.75rem; }
  .pagehead:has(.pagehead__play) .wrap::before { content: ""; grid-column: 2; grid-row: 1 / 5; min-height: var(--head-art); }
  .pagehead:has(.pagehead__play) .wrap > .crumbs { grid-column: 1; grid-row: 1; margin-bottom: 1rem; }
  .pagehead:has(.pagehead__play) .wrap > .eyebrow { grid-column: 1; grid-row: 3; margin-bottom: 0.75rem; }
  .pagehead:has(.pagehead__play) .wrap > h1 { grid-column: 1; grid-row: 4; font-size: clamp(1.6rem, 6.4vw, 3.5rem); }
  .pagehead:has(.pagehead__play) .wrap > p:not(.crumbs) { grid-column: 1 / -1; grid-row: 5; }
  .pagehead__play { top: var(--head-top); bottom: auto; left: auto; right: var(--edge); width: var(--head-w); height: var(--head-art); }
  .pagehead__play { display: flex; justify-content: flex-end; align-items: center; }
  .pagehead__play img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
  /* The open book has room round it in its drawing: drawn larger, it
     fills the space it is given. */
  .pagehead__play img[src*="head-howto"], .pagehead__play img[data-src*="head-howto"] { transform: scale(1.3); transform-origin: 70% 50%; }
}
@media (max-width: 520px) {
  .pagehead { --head-w: calc((100vw - 2 * var(--edge)) * 0.42); }
  .pagehead:has(.pagehead__play) .wrap > h1 { font-size: clamp(1.45rem, 6.6vw, 1.875rem); }
}

/* Phones: the words fill the width, so a picture steps back behind them. */
@media (max-width: 760px) {
  .bgart--giant { opacity: 0.6; height: 110%; top: auto; bottom: -30%; right: -30%; }
  /* A pair: each racket kept to its own edge, so they never cross behind
     the words. */
  section:has(> .bgart--mirror) > .bgart--giant { right: -58%; bottom: -24%; }
  section:has(> .bgart--mirror) > .bgart--giant.bgart--mirror { right: auto; left: -58%; }
  .sec-head--play { grid-template-columns: 1fr; }
  .sec-head--play > .play, .split__aside .play { width: 240px; justify-self: center; }
  .bgart--bleed { width: 100%; height: 60%; opacity: 0.45; }
  .bgart--horizon { opacity: 0.45; }
}

/* Upright screens (a tablet held upright, a phone): no drawing sits on a
   line of its own. It goes beside its heading, and the words run under
   both at full width. */
:root { --side-art: clamp(120px, 36vw, 260px); }
@media (max-width: 900px) {
  /* A long label beside its drawing breaks a long word rather than run
     into the drawing. */
  .split__aside:has(> .play) > .eyebrow { hyphens: manual; overflow-wrap: normal; min-width: 0; }
  /* The question-group names are the headings of their groups: as large
     as the column beside the drawing allows, and "Cancellations" always
     whole on one line. */
  .split:has(.faq) .split__aside > .eyebrow--feature { font-size: clamp(1.3rem, 5.6vw, 2.75rem); max-width: none; }
  /* About: "Who we are" heads its section, so it is set as a heading. */
  .split__aside > .eyebrow:not(.eyebrow--feature) { font-size: clamp(1.5rem, 4.6vw, 2.25rem); }
  .split__aside:has(> .play) { grid-template-columns: minmax(0, 1fr) var(--side-art); align-items: center; column-gap: 1rem; }
  .split__aside:has(> .play) > .play { width: 100%; justify-self: end; }
}
/* Phones: the question-group labels are long ("Cancellations and
   weather"), so they step down a size and their drawing narrows a little,
   and every word fits whole beside it. */
@media (max-width: 520px) {
  .split:has(.faq) .split__aside:has(> .play) { grid-template-columns: minmax(0, 1fr) min(var(--side-art), 112px, 28vw); }
  .split:has(.faq) .split__aside > .eyebrow--feature { font-size: clamp(1.3rem, 6.3vw, 1.7rem); max-width: none; }
}
@media (max-width: 760px), (max-width: 900px) and (orientation: portrait) {
  .sec-head--play {
    grid-template-columns: minmax(0, 1fr) var(--side-art); grid-template-areas: "label art" "head art" "text text";
    column-gap: 1rem; row-gap: 0; align-items: center;
  }
  .sec-head--play > div { display: contents; }
  .sec-head--play > div > .eyebrow { grid-area: label; align-self: end; }
  .sec-head--play > div > h2 { grid-area: head; align-self: start; }
  .sec-head--play > div > p { grid-area: text; }
  .sec-head--play > .play { grid-area: art; width: 100%; justify-self: end; }
}
/* Upright screens: a heading with no paragraph under it is short, so its
   drawing is drawn smaller and the section starts a little closer to the
   one above, leaving no empty band round the heading. */
@media (max-width: 760px), (max-width: 900px) and (orientation: portrait) {
  .sec-head--play:not(:has(p)) { grid-template-columns: minmax(0, 1fr) clamp(110px, 27vw, 200px); }
  .sec:has(> .wrap > .sec-head--play:first-child) { padding-top: clamp(3rem, 7vw, 4.25rem); }
}

/* ---------------------------------------------------------------- misc -- */
.prose h2 { font-size: var(--fs-h2); text-transform: uppercase; margin-top: 3rem; margin-bottom: 1.25rem; line-height: var(--lh-display); }
.prose h2:first-child { margin-top: 0; }
@media (max-width: 520px) { .prose h2 { font-size: 1.625rem; } }
.prose h3 { font-size: var(--fs-h3); margin-top: 2.25rem; margin-bottom: 0.85rem; }
.prose p { margin-bottom: 1.15rem; max-width: var(--maxw-text); }
.prose ul, .prose ol { margin: 0 0 1.5rem 1.25rem; display: grid; gap: 0.6rem; max-width: var(--maxw-text); }
.prose li { padding-left: 0.35rem; }
.prose li::marker { color: var(--olive-ink); }
/* How to play, Five things: the numbered balls bounce in turn while on
   screen (site.js), and turn olive as their points are read. With reduced
   motion, only the colour changes. */
.five__ball { transform-box: fill-box; transform-origin: 50% 100%; cursor: default; }
/* Each ball in the row bounces a little higher than the one before. */
.five__ball[data-n="1"] { --hop: -24px; }
.five__ball[data-n="2"] { --hop: -40px; }
.five__ball[data-n="3"] { --hop: -56px; }
.five__ball[data-n="4"] { --hop: -72px; }
.five__ball[data-n="5"] { --hop: -88px; }
.five__core { transition: fill 0.35s var(--ease-out); }
.five__ball.is-read .five__core { fill: var(--olive-lt); }
@media (prefers-reduced-motion: no-preference) {
  .five__ball.is-hop { animation: five-hop 0.7s var(--ease-out); }
  @keyframes five-hop {
    0% { transform: none; animation-timing-function: cubic-bezier(.22,1,.36,1); }
    48% { transform: translateY(var(--hop, -34px)); animation-timing-function: cubic-bezier(.55,0,.85,.35); }
    78%, 100% { transform: none; }
  }
}
.prose ol.list-big > li { transition: color 0.3s var(--ease-out); }
.prose ol.list-big > li.is-read::before { color: var(--forest); }

/* How to play, the basics: after the opening part, each part with a heading
   of its own sits beside its own looping drawing, alternating sides down the
   page (text, drawing; drawing, text). On a phone the drawing comes first. */
.zig { display: grid; gap: 0; margin-top: clamp(2rem, 4vw, 2.75rem); }
/* Each part sits between fine rules. */
.zig__row { border-top: 1px solid var(--cream-line); padding-block: clamp(1.75rem, 3vw, 2.5rem); }
.zig__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.zig__row--flip > .zig__art { order: -1; }
.zig .prose > h3:first-child { margin-top: 0; }
.zig .prose > p { font-size: var(--fs-lead); line-height: 1.55; }
.zig__art { display: block; width: min(100%, 500px); height: auto; justify-self: center; }
/* Narrower screens: each drawing with its title beside it, and the words
   underneath across the full width. */
@media (max-width: 900px) {
  .zig__row, .zig__row--flip {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr); grid-template-areas: "art head" "body body";
    column-gap: clamp(1rem, 4vw, 2rem); row-gap: 1rem;
  }
  .zig__row > .prose { display: contents; }
  .zig__row > .zig__art { grid-area: art; width: 100%; justify-self: start; }
  .zig__row > .prose > h3 { grid-area: head; align-self: center; margin: 0; }
  .zig__row > .prose > p { grid-area: body; margin: 0; }
}
/* The rally drawing beside the opening part sits close under its heading. */
.split__aside:has(> .eyebrow--feature) { gap: 1rem; }
/* The basics opening: label and heading side by side, then the drawing and
   the paragraphs side by side, centred on each other. */
.basics-intro { grid-template-areas: "label head" "art body"; row-gap: 1.5rem; align-items: center; }
.basics-intro > .eyebrow--feature { grid-area: label; align-self: start; }
.basics-intro > .basics-intro__head { grid-area: head; align-self: start; }
.basics-intro > .play { grid-area: art; justify-self: center; width: min(100%, 400px); }
.basics-intro > .basics-intro__body { grid-area: body; }
.basics-intro > .basics-intro__body > p:last-child { margin-bottom: 0; }
/* Wide screens: the drawing's empty sky is trimmed, so the court sits
   level with the first paragraph, close under the heading. */
@media (min-width: 901px) {
  .basics-intro { row-gap: 0.25rem; }
  .basics-intro > .basics-intro__head > h2 { margin-bottom: 0; }
  .basics-intro > .play { aspect-ratio: 400 / 280; height: auto; object-fit: cover; object-position: 50% 75%; align-self: start; }
}
/* On a phone each part of the basics fits on one screen, so a reader who
   stops on it sees all of it: the label sits beside a smaller drawing, the
   drawings shrink, and the page settles on the start of a part when the
   reader stops near one. */
@media (max-width: 900px) {
  .basics-intro { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label art" "head head" "body body"; row-gap: 1rem; column-gap: 1rem; }
  .basics-intro > .eyebrow--feature { align-self: center; }
  .basics-intro > .play { width: var(--side-art); justify-self: end; }
  .basics-intro > .basics-intro__body > p { font-size: var(--fs-body); }
  .basics-intro { row-gap: 0.75rem; }
  .basics-intro > .basics-intro__head > h2 { margin-bottom: 0; }
  .basics-intro > .basics-intro__body > p { margin-bottom: 0.8rem; line-height: 1.5; }
  .zig { margin-top: 1.5rem; }
  .zig__row, .zig__row--flip { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); }
}
@media (max-width: 900px) and (max-height: 720px) {
  .basics-intro > .basics-intro__body > p { font-size: 0.9375rem; line-height: 1.42; margin-bottom: 0.6rem; }
  .basics-intro > .play { width: 88px; }
  .basics-intro, .zig__row { scroll-margin-top: calc(var(--nav-main) + 6px); }
}

/* The basics as cards (scoring, serve, walls, out of court): each part is
   its drawing, then its title, then its words. Held upright (tablet or
   phone) they run one under another, centred; held sideways, and on a
   laptop, the four sit as a two by two grid. This overrides the side by
   side rows above. */
.zig .zig__row, .zig .zig__row--flip {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(0.9rem, 2vw, 1.25rem); grid-template-areas: none;
}
.zig .zig__row > .zig__art { order: -1; width: min(100%, 380px); justify-self: auto; }
.zig .zig__row > .prose { display: grid; gap: 0.9rem; justify-items: center; max-width: 56ch; }
.zig .zig__row > .prose > * { grid-area: auto; }
.zig .zig__row > .prose > h3 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); text-transform: uppercase; line-height: 0.98; letter-spacing: -0.01em; margin: 0; }
.zig .zig__row > .prose > p { margin: 0; }
@media (min-width: 901px), (min-width: 700px) and (orientation: landscape) {
  .zig { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 3rem); }
  .zig .zig__row, .zig .zig__row--flip { align-items: flex-start; text-align: left; }
  .zig .zig__row > .prose { justify-items: start; }
  .zig .zig__row > .zig__art { width: min(100%, 420px); align-self: center; }
  .zig .zig__row > .prose > h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
  .zig .zig__row > .prose > p { font-size: var(--fs-body); }
}

/* A numbered list read as steps: larger text, each number set big in olive. */
.prose ol.list-big { list-style: none; margin-left: 0; counter-reset: step; gap: 1.5rem; }
.prose ol.list-big > li { counter-increment: step; position: relative; padding-left: 4rem; font-size: var(--fs-lead); line-height: 1.5; }
.prose ol.list-big > li::before {
  content: counter(step); position: absolute; left: 0; top: -0.1em;
  font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--olive);
}
.prose a { color: var(--olive-ink); text-underline-offset: 3px; }
.prose strong { font-weight: 700; }

.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split--even { grid-template-columns: 1fr 1fr; }
/* Running story beside a label is set a size up, so the words fill the
   column they are given rather than sitting small inside it. */
.split .prose > p { font-size: var(--fs-lead); line-height: 1.55; }
.doc .prose > p { font-size: var(--fs-body); line-height: var(--lh-body); }

/* A split whose first column holds only its label: the label is set at
   heading size and stays beside the text while it is read, so the column
   carries the section instead of standing empty. */
.split > div:first-child:has(> .eyebrow:only-child) { align-self: stretch; }
.split > div:first-child > .eyebrow:only-child {
  position: sticky; top: calc(var(--nav-h) + 2rem);
  font-size: var(--fs-h3); font-weight: 800; line-height: var(--lh-tight); letter-spacing: var(--tr-display);
}
@media (max-width: 900px) {
  .split > div:first-child > .eyebrow:only-child { position: static; font-size: var(--fs-lead); }
}

/* A section label promoted to the headline of its section (About: "Why padel?"):
   set like the other headings (capitals, display size), left aligned and
   level with the top of the text beside it, with an olive question mark
   and an olive rule beneath. It slides in from the left as it arrives. */
.split > div:first-child > .eyebrow--feature:only-child,
.split__aside > .eyebrow--feature, .basics-intro > .eyebrow--feature {
  position: static; font-size: var(--fs-display); line-height: var(--lh-display);
  text-transform: uppercase; color: var(--cream);
}
.sec:not(.sec--forest) .split__aside > .eyebrow--feature, .sec:not(.sec--forest) .basics-intro > .eyebrow--feature { color: var(--forest); }
.sec:not(.sec--forest) .split__aside > .eyebrow--feature::after, .sec:not(.sec--forest) .basics-intro > .eyebrow--feature::after { background: var(--olive); }
.eyebrow--feature .q { color: var(--olive-lt); }
.split > div:first-child > .eyebrow--feature:only-child::after,
.split__aside > .eyebrow--feature::after, .basics-intro > .eyebrow--feature::after {
  content: ""; display: block; width: 2.2em; height: 0.12em; margin-top: 0.4em;
  border-radius: 99px; background: var(--olive-lt);
}
@media (max-width: 900px) {
  .split > div:first-child > .eyebrow--feature:only-child, .split__aside > .eyebrow--feature, .basics-intro > .eyebrow--feature { font-size: var(--fs-h2); }
}

/* Floodlights over a closing section: two lamps in the top corners whose
   beams cross on the words and the court below. They fade on with the
   scroll as the section arrives, left lamp, right lamp, then the pool of
   light on the court, and fade off again on the way back up: site.js sets
   --lit from 0 to 1. Without script, or with reduced motion, they are on. */
.beams { --lit: 1; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* The section waits in the dark and comes up as the lamps come on. */
  background: rgb(6 26 17 / calc((1 - var(--lit)) * 0.62)); }
.beams__beam { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(254 246 231 / 0.26), rgb(254 246 231 / 0.07) 70%, rgb(254 246 231 / 0)); }
.beams__beam--l { clip-path: polygon(4% 0, 11% 0, 70% 100%, 22% 100%); opacity: clamp(0, var(--lit) / 0.55, 1); }
.beams__beam--r { clip-path: polygon(96% 0, 89% 0, 30% 100%, 78% 100%); opacity: clamp(0, (var(--lit) - 0.2) / 0.55, 1); }
.beams__pool { position: absolute; left: 50%; top: 38%; width: 70%; height: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgb(254 246 231 / 0.12), transparent);
  opacity: clamp(0, (var(--lit) - 0.45) / 0.55, 1); }
.beams__lamp { position: absolute; top: 0; width: min(12vw, 120px); height: auto; }
/* A lamp is dim until it comes on. */
.beams__lamp--l { filter: brightness(clamp(0.45, 0.45 + var(--lit) / 0.55 * 0.55, 1)); }
.beams__lamp--r { filter: brightness(clamp(0.45, 0.45 + (var(--lit) - 0.2) / 0.55 * 0.55, 1)); }
.beams__lamp--l { left: 2%; transform: scaleX(-1); }
.beams__lamp--r { right: 2%; }
/* The glow round each lamp's face, on with its beam. */
.beams::before, .beams::after { content: ""; position: absolute; top: calc(min(12vw, 120px) * -0.2);
  width: min(16vw, 160px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(254 246 231 / 0.4), rgb(254 246 231 / 0)); }
.beams::before { left: calc(2% + min(12vw, 120px) * 0.5 - min(16vw, 160px) / 2); opacity: clamp(0, var(--lit) / 0.55, 1); }
.beams::after { right: calc(2% + min(12vw, 120px) * 0.5 - min(16vw, 160px) / 2); opacity: clamp(0, (var(--lit) - 0.2) / 0.55, 1); }

/* Policies: the contents stay in view beside the text, on a rail with a
   dot for each policy. A ball sits on the policy being read and a racket
   waits beside it; moving into the next policy, the racket swings, the ball
   is hit along the rail to it and the racket follows (site.js builds the
   rail). On a phone the contents are a slim bar that stays under the
   header, the current policy marked and slid into view. */
.doc { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: clamp(3rem, 7vw, 8rem); }
.doc .prose p, .doc .prose ul { max-width: 72ch; }
.doc__nav { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; }
.doc__nav ul { list-style: none; padding: 0 0 0 4.4rem; margin: 0; display: grid; gap: 0; position: relative; }
.doc__nav ul::before { content: ""; position: absolute; left: 3.1rem; top: 1.3rem; bottom: 1.3rem; width: 2px; background: var(--cream-line); margin-left: -1px; }
.doc__nav li { position: relative; }
.doc__nav li::before {
  content: ""; position: absolute; left: -1.3rem; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 2px var(--cream-line);
}
.doc__nav a {
  display: block; padding: 0.85rem 0; text-decoration: none; font-weight: 600; font-size: 1.0625rem;
  color: var(--forest); transition: color 0.2s var(--ease), font-weight 0.2s var(--ease);
}
.doc__nav a:hover { color: var(--olive-ink); }
.doc__nav a[aria-current="true"] { font-weight: 800; }
.doc__rail { position: absolute; left: 0; top: 0; width: 4.4rem; height: 100%; pointer-events: none; }
.doc__ball, .doc__racket { position: absolute; top: 0; will-change: transform; }
.doc__ball { left: calc(3.1rem - 13px); width: 26px; height: 26px; transition: transform 0.55s cubic-bezier(0.3, 0.7, 0.3, 1); }
.doc__ball > i { display: block; width: 100%; height: 100%; }
.doc__ball svg, .doc__racket svg { display: block; width: 100%; height: 100%; }
.doc__racket { left: 0.15rem; width: 24px; height: 46px; transition: transform 0.5s cubic-bezier(0.3, 0.7, 0.3, 1) 0.28s; }
.doc__racket > i { display: block; width: 100%; height: 100%; transform-origin: 50% 92%; transform: rotate(18deg); }
.doc__racket.is-hit > i { animation: doc-swing 0.5s cubic-bezier(.45,0,.25,1); }
.doc__ball.is-flying > i { animation: doc-arc 0.55s var(--ease-out); }
@keyframes doc-swing { 0% { transform: rotate(18deg); } 35% { transform: rotate(-26deg); } 100% { transform: rotate(18deg); } }
@keyframes doc-arc { 0%, 100% { transform: translateX(0) rotate(0); } 50% { transform: translateX(-14px) rotate(200deg); } }
.doc.has-rail .doc__nav li:has(a[aria-current="true"])::before { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .doc__ball, .doc__racket { transition: none; }
  .doc__racket.is-hit > i, .doc__ball.is-flying > i { animation: none; }
}
@media (max-width: 900px) {
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc > * { min-width: 0; }
  .doc__rail { display: none; }
  .doc__nav {
    position: sticky; top: var(--nav-main); z-index: 5; background: var(--cream);
    margin: 0 calc(-1 * var(--edge)); padding: 0.6rem var(--edge); border-bottom: 1px solid var(--cream-line);
  }
  .doc__nav ul { display: flex; flex-wrap: nowrap; gap: 6px; padding: 0; overflow-x: auto; scrollbar-width: none; }
  .doc__nav ul::-webkit-scrollbar { display: none; }
  .doc__nav ul::before, .doc__nav li::before { display: none; }
  .doc__nav li { flex: none; }
  .doc__nav a {
    padding: 0.55rem 0.95rem; font-size: var(--fs-sm); border-radius: var(--radius-pill);
    background: var(--cream-2); font-weight: 600;
  }
  .doc__nav a[aria-current="true"] { background: var(--forest); color: var(--cream); font-weight: 700; }
  /* A heading reached from a link clears the header and the sticky row
     of section pills under it, not the header alone. */
  .prose.policies h2 { scroll-margin-top: calc(var(--nav-main) + 4.5rem); }
}

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
/* Exactly four people sit four across, then two by two; three or six stay
   three across down to a phone. No row leaves one portrait on its own. */
.people:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .people:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .people, .people:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; } }
/* position:relative matters: .shot is absolutely positioned and without
   it the caption escapes to the viewport instead of sitting on the card. */
.person__media { position: relative; aspect-ratio: 4 / 5; background: var(--forest-deep); overflow: hidden; }
.person__media img, .person__media svg { width: 100%; height: 100%; object-fit: cover; }
.person__body { padding-top: 1.25rem; }
.person__body .eyebrow { color: var(--olive-ink); margin-bottom: 0.5rem; }
.person__body h3 { font-size: var(--fs-h4); margin-bottom: 0.6rem; }
.person__body p { font-size: var(--fs-body); }

.timetable { width: 100%; border-collapse: collapse; font-size: var(--fs-body); }
.timetable th, .timetable td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--cream-line); vertical-align: top; }
.timetable thead th {
  font-size: var(--fs-sm); font-weight: 800;
  border-bottom: 2px solid var(--forest); white-space: nowrap;
}
.timetable td b { font-weight: 700; display: block; }
.timetable td span { color: var(--on-cream-muted); }
.timetable tbody tr:hover { background: var(--cream-2); }
.tablewrap { overflow-x: auto; }
/* Each day is its own band, alternate days a shade apart, the day named in
   capitals against an olive edge, and an olive dot beside each session. */
.timetable { border-collapse: separate; border-spacing: 0 8px; }
.timetable tbody th, .timetable tbody td { border-bottom: 0; }
.timetable tbody tr { background: var(--cream); }
.timetable tbody tr:nth-child(even) { background: var(--cream-2); }
.timetable tbody tr:hover { background: var(--cream-3); }
.timetable tbody th { font-size: var(--fs-h4); text-transform: uppercase; letter-spacing: var(--tr-display); box-shadow: inset 6px 0 0 var(--olive); }
.timetable td b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--olive); margin-right: 0.5rem; vertical-align: 0.1em; }
/* An upright tablet: each session on as few lines as possible, so the whole
   week fits on one screen. */
@media (min-width: 641px) and (max-width: 900px) {
  .timetable { border-spacing: 0 5px; font-size: 0.9375rem; }
  .timetable th, .timetable td { padding: 0.6rem 0.75rem; line-height: 1.35; }
  .timetable thead th { padding-block: 0.4rem; }
  .timetable tbody th { font-size: 1.05rem; width: 8.5rem; vertical-align: middle; padding-left: 1.1rem; }
  .timetable td b::before { width: 7px; height: 7px; margin-right: 0.4rem; }
}
@media (max-width: 640px) {
  .timetable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .timetable, .timetable tbody, .timetable tr, .timetable th, .timetable td { display: block; }
  .timetable tbody { display: grid; gap: 6px; }
  .timetable tr { padding: 1.1rem 1.25rem 1.1rem 1.6rem; box-shadow: inset 6px 0 0 var(--olive); }
  .timetable tbody th { box-shadow: none; }
  .timetable th, .timetable td { border: 0; padding: 0; }
  .timetable tbody th { font-size: var(--fs-h4); margin-bottom: 0.6rem; }
  .timetable td { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.75rem; padding-block: 0.4rem; }
  .timetable td::before { font-weight: 600; color: var(--olive-ink); }
  .timetable td:nth-of-type(1)::before { content: "Morning"; }
  .timetable td:nth-of-type(2)::before { content: "Afternoon"; }
  .timetable td:nth-of-type(3)::before { content: "Evening"; }
  .timetable td > * { grid-column: 2; }
}

/* Reveal on scroll. Only hidden once the head script has run (.whp-js), so
   without scripts the cards are simply there. */
.whp-js .rise { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.whp-js .rise.is-in { opacity: 1; transform: none; }

/* Placeholder art caption. Removed once real photography lands. */
.shot {
  position: absolute; left: var(--edge); bottom: 1rem; z-index: 3;
  max-width: calc(100% - 2 * var(--edge));
  background: rgba(9,37,24,0.9); color: var(--cream);
  font-size: var(--fs-xs); font-weight: 600;
  padding: 0.35rem 0.7rem; pointer-events: none;
}
body.hide-shots .shot { display: none; }
/* On a panel the words and button sit at the foot, so the note goes to the
   top corner, clear of them. */
.edcard .shot { top: 1rem; bottom: auto; left: 1rem; max-width: calc(100% - 2rem); }

/* To-be-confirmed markers. Everything wearing this class is waiting on the
   client or on the LTA templates. Search the repo for "tbc" before launch. */
.tbc {
  display: inline-block;
  border-left: 3px solid var(--olive);
  padding-left: 0.85rem;
  background: rgba(114, 137, 72, 0.09);
}
.sec--forest .tbc, .on-dark .tbc { border-left-color: var(--olive-lt); background: rgba(143, 166, 97, 0.14); }
body.hide-shots .tbc { border-left-color: transparent; background: none; padding-left: 0; }

/* =========================================================================
   WordPress theme additions
   Everything below exists only in the theme build, not the static prototype.
   ========================================================================= */

/* ------------------------------------------------------ footer credit --- */
/* Our credit, under the client's legal links. Sized to the cap height of
   the type beside it and held below full opacity. A credit that competes
   with the client's own small print is a credit that gets removed. */
.footer-credit {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-decoration: none; flex: 0 0 auto;
}
/* The opacity goes on the LABEL, never on the whole link. Dimming the link
   dims the mark with it, which reads as something washed over the logo
   rather than as a quiet credit. Same note is on the CLP build. The label
   is the part that should stay quiet; the mark is a brand and gets rendered
   at full strength. */
.footer-credit span {
  font-size: var(--fs-sm);
  font-weight: 600; color: rgba(254, 246, 231, 0.72);
  transition: color 0.25s var(--ease);
}
.footer-credit:hover span { color: var(--cream); }
.footer-credit img { width: auto; height: 24px; display: block; opacity: 1; }

/* ------------------------------------------------------ contact page ---- */
.contact__details {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.5rem; margin: 2.5rem 0;
}
@media (max-width: 520px) { .contact__details { grid-template-columns: 1fr; } }
.contact__details .eyebrow { color: var(--olive-ink); margin-bottom: 0.5rem; }
.contact__details p { font-weight: 600; line-height: 1.5; }
.contact__details a { text-decoration: none; }
.contact__details a:hover { color: var(--olive-ink); text-decoration: underline; }
.contact__note { font-size: var(--fs-sm); margin-bottom: 2rem; }

/* Shown after a no-JavaScript form post. */
.formnote {
  padding: 1rem 1.25rem; margin-bottom: 2.5rem; font-weight: 600;
  border-left: 4px solid var(--olive);
  background: var(--cream-2);
}
.formnote--bad { border-left-color: #a4352b; }

/* ------------------------------------------------ editor / wp content --- */
/* The policies page and any generic page render whatever the client writes
   in the block editor, so the prose styles have to cover blocks too. */
.prose figure, .prose .wp-block-image { margin: 2rem 0; }
.prose .wp-block-image img { width: 100%; height: auto; }
.prose blockquote {
  margin: 2rem 0; padding-left: 1.5rem; border-left: 3px solid var(--olive);
  font-size: var(--fs-lead); line-height: 1.5;
}
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--cream-line); }
.prose hr { border: 0; border-top: 1px solid var(--cream-line); margin: 3rem 0; }
.policies h2 { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* WordPress core alignment classes. */
.alignwide { max-width: min(100%, 1200px); margin-inline: auto; }
.alignfull { width: 100%; }
.aligncenter { display: block; margin-inline: auto; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Pagination on the fallback archive template. */
.pagination { display: flex; gap: 0.5rem; margin-top: 2.5rem; }
.pagination .page-numbers {
  padding: 0.5rem 0.9rem; text-decoration: none; border: 1px solid var(--cream-line-2);
  border-radius: var(--radius-pill); font-size: var(--fs-sm); font-weight: 600;
}
.pagination .page-numbers.current { background: var(--forest); color: var(--cream); border-color: var(--forest); }

/* The admin bar must not hide the sticky header. */
body.admin-bar .topbar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .topbar { top: 46px; } }

/* ------------------------------------------------------- rules in 3D --- */
/* How to play. Without .is-3d this is a plain grid of four cream cards on
   forest, each with a flat court plan: what search engines, screen readers,
   reduced motion and older devices get. js/rules3d.js adds .is-3d, pins a
   3D court behind the cards and lets them scroll over it.                 */
.rules3d { position: relative; background: var(--forest-deep); color: var(--cream); }
.rules3d__head { padding-block: var(--sec-y) clamp(2rem, 4vw, 3rem); }
.rules3d__head .h2 { margin-top: 1rem; }
.rules3d__head .eyebrow--olive { color: var(--olive-lt); }
.rules3d__head .muted { color: var(--on-forest-muted); margin-top: 1.25rem; }

.rules3d__stage { display: none; }
.rules3d__steps {
  list-style: none; padding: 0 var(--edge) var(--sec-y); margin: 0 auto; max-width: var(--maxw);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter);
}
@media (max-width: 900px) { .rules3d__steps { grid-template-columns: 1fr; } }

.rules3d__card {
  background: var(--cream); color: var(--forest);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-direction: column; gap: 0.85rem; height: 100%;
}
.rules3d__count {
  font-size: var(--fs-body); font-weight: 600;
  color: var(--olive-ink); font-variant-numeric: tabular-nums;
}
.rules3d__card h3 { font-size: var(--fs-h3); text-transform: uppercase; line-height: var(--lh-tight); }
.rules3d__card p { font-size: var(--fs-body); color: var(--on-cream-muted); max-width: 52ch; }
.rules3d__fig { margin-top: auto; padding-top: 0.5rem; }

/* The verdict: what the rule means for the point, shown as a chip. */
.rules3d__chip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 700;
  background: var(--cream-3); color: var(--forest);
}
[data-verdict="good"] .rules3d__chip { background: var(--olive-lt); color: var(--forest-deep); }
[data-verdict="good"] .rules3d__chip::before { content: "\2713"; }
[data-verdict="fault"] .rules3d__chip { background: var(--forest); color: var(--cream); }
[data-verdict="fault"] .rules3d__chip::before { content: "\2715"; }

/* Extra marks for the plans. */
.court .c-box { fill: var(--olive-lt); opacity: 0.38; }
.court .c-fence { stroke: var(--olive-lt); stroke-width: 3; fill: none; }
.court .c-ghost { opacity: 0.55; }
.court .c-x { stroke: var(--cream); stroke-width: 2.6; stroke-linecap: round; fill: none; }

/* -------------------------------------------------------------- motion --- */
/* Entrances: site.js moves the parts of each section with the scroll
   (opacity and a short rise), so they play forwards and in reverse. With
   reduced motion set, nothing moves. */
@media (prefers-reduced-motion: no-preference) {
  /* The page arrives in order, at a calm, even pace, once its fonts and
     main picture are in (site.js adds .is-ready; a script in the head adds
     .whp-arrive, and readies the page after 2s whatever happens): the
     header settles in, the background comes up, then the first screen's
     words one line after another, then its drawing. Coming from another
     page of the site, the header stays put (.via-vt). */
  .hero__inner > *, .pagehead .wrap > * { animation: arrive 0.9s var(--ease-out) 0.25s both; }
  .hero__inner > :nth-child(2), .pagehead .wrap > :nth-child(2) { animation-delay: 0.36s; }
  .hero__inner > :nth-child(3), .pagehead .wrap > :nth-child(3) { animation-delay: 0.47s; }
  .hero__inner > :nth-child(4), .pagehead .wrap > :nth-child(4) { animation-delay: 0.58s; }
  .hero__inner > :nth-child(5), .pagehead .wrap > :nth-child(5) { animation-delay: 0.69s; }
  .hero__inner > :nth-child(6), .pagehead .wrap > :nth-child(6) { animation-delay: 0.8s; }
  .hero__scroll { animation: arrive 0.9s var(--ease-out) 1s both; }
  /* The header drawing comes up with the words, a beat behind them. */
  .pagehead__play { animation: arrive-art 1.1s var(--ease-out) 0.4s both; }
  .hero__media, .pagehead__art { animation: media-in 1.2s var(--ease) both; }
  /* Held only before it starts (backwards), never after it ends: an
     animation left holding a transform on the header would make it the
     frame for the fixed menu inside it, and the menu would open off screen. */
  .whp-arrive .topbar { animation: bar-in 0.6s var(--ease-out) backwards; }
  /* The sections under the first screen stay clear until the page is
     ready (the browser can paint once before site.js runs), then fade up
     behind their parts, which site.js brings in one after another. */
  .whp-arrive main > section:not(.hero):not(.pagehead) { transition: opacity 0.7s var(--ease); }
  .whp-arrive:not(.is-ready) main > section:not(.hero):not(.pagehead) { opacity: 0; }
  .whp-arrive.via-vt .topbar { animation: none; }
  .whp-arrive:not(.is-ready) .hero__inner > *, .whp-arrive:not(.is-ready) .pagehead .wrap > *,
  .whp-arrive:not(.is-ready) .hero__scroll, .whp-arrive:not(.is-ready) .pagehead__play,
  .whp-arrive:not(.is-ready) .hero__media, .whp-arrive:not(.is-ready) .pagehead__art,
  .whp-arrive:not(.is-ready) .topbar { animation-play-state: paused; }
  @keyframes arrive-art { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
  @keyframes arrive { from { opacity: 0; transform: translateY(18px); } }
  @keyframes media-in { from { opacity: 0; } }
  @keyframes bar-in { from { opacity: 0; transform: translateY(-10px); } }
}
/* The hero line under the scroll cue keeps its own drift once it is in. */
.hero__scroll .line { animation-delay: 1.4s; }

/* A press answers the finger, not only the hover. */
.pill:active { transform: translateY(0) scale(0.98); }

/* Moving between pages: the page settles in rather than cutting, and the
   header stays where it is. Browsers without page transitions simply
   change page as before. */
@view-transition { navigation: auto; }
.topbar { view-transition-name: site-header; }
/* Behind both pages during the change is the same forest green as the
   panel, so the old page clears to green before the new one comes up out
   of it: the two never show through each other. */
html { background-color: var(--forest); }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: page-out 0.28s var(--ease) both; }
  ::view-transition-new(root) { animation: page-in 0.55s var(--ease-out) 0.12s both; }
  ::view-transition-old(site-header) { animation: none; opacity: 0; }
  ::view-transition-new(site-header) { animation: none; }
  ::view-transition-group(site-header) { animation: none; }
  @keyframes page-out { to { opacity: 0; } }
  @keyframes page-in { from { opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}


/* --- 3D mode ---------------------------------------------------------- */
/* The court fills the stage. Each rule's words sit on the stage beside the
   ball, not in a box: left or right on a landscape screen, above or below
   on a portrait one, alternating rule by rule (rules3d.js sets data-side).
   They arrive in order as the rule plays: the rule's name, then what it
   means, then the verdict at the moment the ball decides it.
   The court sits in the page like a video player, sized so the rule names
   above it and the buttons below it fit on the screen with it. */
.rules3d.is-3d .rules3d__player { position: relative; touch-action: pan-y; outline: none; }
.rules3d.is-3d .rules3d__stage {
  display: block; position: relative;
  height: clamp(17rem, calc(100svh - var(--nav-h) - 10rem), 56rem); overflow: hidden;
}
.rules3d.is-3d .rules3d__stage canvas { display: block; width: 100%; height: 100%; }
/* Going back a rule, or back up above the rules: a short fade of the court
   to its own colour while the rally is put back (rules3d.js fades the words
   with it). */
.rules3d__dip { display: none; }
.rules3d.is-3d .rules3d__dip {
  display: block; position: absolute; inset: 0; background: var(--forest-deep);
  opacity: 0; pointer-events: none; z-index: 3;
}
.rules3d.is-3d .rules3d__steps {
  display: block; position: absolute; inset: 0; z-index: 2; max-width: none; padding: 0; margin: 0;
  overflow: hidden; pointer-events: none;
}
.rules3d.is-3d .rules3d__step { display: block; padding: 0; }

.rules3d.is-3d .rules3d__card {
  position: absolute; z-index: 3; height: auto;
  background: none; color: var(--cream); padding: 0; gap: 1rem;
  width: min(30rem, 34vw);
  left: var(--edge); top: 50%; transform: translateY(-50%);
  /* Hidden: faded and moved right off the screen, so nothing invisible
     lies over the page; still in the page for screen readers. */
  opacity: 0; translate: 0 130vh; pointer-events: none;
  /* Hidden outright, not only faded: Safari on iPad could leave faded parts
     of a card painted over the page after the court had scrolled away. */
  visibility: hidden;
}
.rules3d.is-3d .rules3d__card[data-side="right"] { left: auto; right: calc(var(--edge) + 1.5rem); }
.rules3d.is-3d .rules3d__card[data-side="bottom"],
.rules3d.is-3d .rules3d__card[data-side="top"] {
  width: auto; left: var(--edge); right: calc(var(--edge) + 1.5rem); transform: none; gap: 0.6rem;
}
.rules3d.is-3d .rules3d__card[data-side="bottom"] { top: auto; bottom: 1.25rem; }
.rules3d.is-3d .rules3d__card[data-side="top"] { top: 1.25rem; }
.rules3d.is-3d.is-pinned .rules3d__step.is-active .rules3d__card,
.rules3d.is-3d.is-pinned .rules3d__step.is-next .rules3d__card {
  opacity: 1; translate: none; pointer-events: auto; visibility: visible;
}
/* The next rule's words come in while the last rule's leave. */
.rules3d.is-3d.is-pinned .rules3d__step.is-next .rules3d__card { pointer-events: none; }
/* No fade on the block itself: its parts are brought in and out by the
   script, line by line, from the scroll position alone. While the court is
   held each part is its own layer, so moving and fading it is left to the
   graphics card and nothing is repainted. */
.rules3d.is-3d.is-pinned .rules3d__card > * { will-change: transform, opacity; }
.rules3d.is-3d .rules3d__count { color: var(--olive-lt); }
.rules3d.is-3d .rules3d__card h3 {
  font-size: clamp(2.5rem, 4.8vw, 4.5rem); line-height: 0.92; letter-spacing: var(--tr-display); color: var(--cream);
}
.rules3d.is-3d .rules3d__card p { font-size: var(--fs-lead); line-height: 1.45; color: var(--cream); max-width: 30ch; }
.rules3d.is-3d .rules3d__card[data-side="bottom"] h3,
.rules3d.is-3d .rules3d__card[data-side="top"] h3 { font-size: clamp(2rem, 7.5vw, 3.25rem); }
.rules3d.is-3d .rules3d__card[data-side="bottom"] p,
.rules3d.is-3d .rules3d__card[data-side="top"] p { font-size: var(--fs-body); max-width: 46ch; }
.rules3d.is-3d .rules3d__fig { display: none; }

/* A shade of the court's own deep green behind the words, on their side
   only, so they read over the court. Its strength follows the words. */
.rules3d__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0; will-change: opacity;   /* its own layer: its strength changes every frame */
}
.rules3d__stage[data-scrim="left"] > .rules3d__scrim   { background: linear-gradient(90deg, rgba(9,37,24,0.86) 0%, rgba(9,37,24,0.62) 30%, rgba(9,37,24,0) 50%); }
.rules3d__stage[data-scrim="right"] > .rules3d__scrim  { background: linear-gradient(270deg, rgba(9,37,24,0.86) 0%, rgba(9,37,24,0.62) 30%, rgba(9,37,24,0) 50%); }
.rules3d__stage[data-scrim="bottom"] > .rules3d__scrim { background: linear-gradient(0deg, rgba(9,37,24,0.9) 0%, rgba(9,37,24,0.7) 30%, rgba(9,37,24,0) 52%); }
.rules3d__stage[data-scrim="top"] > .rules3d__scrim    { background: linear-gradient(180deg, rgba(9,37,24,0.9) 0%, rgba(9,37,24,0.7) 30%, rgba(9,37,24,0) 52%); }

/* Names for the parts of the court, set to the side of it with a fine
   pointer to the spot, placed by rules3d.js clear of the ball, the words
   and each other. */
.rules3d__labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.rules3d__leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rules3d__leaders path { fill: none; stroke: var(--cream); stroke-width: 1.5; opacity: 0; transition: opacity 0.35s var(--ease-out); }
.rules3d__leaders circle { fill: var(--cream); opacity: 0; transition: opacity 0.35s var(--ease-out); }
.rules3d__leaders .is-on { opacity: 0.85; }
.rules3d__label {
  position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform;
  padding: 0.35rem 0.75rem; border-radius: var(--radius-pill);
  background: var(--cream); color: var(--forest);
  font-size: var(--fs-sm); font-weight: 700;
  opacity: 0; transition: opacity 0.35s var(--ease-out);
}
.rules3d__label.is-on { opacity: 1; }

/* Which rule is showing: a short column at the right edge of the court. */
.rules3d__dots {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); z-index: 2;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.rules3d__dots i {
  width: 4px; height: 28px; border-radius: 2px; background: rgba(254,246,231,0.25);
  transition: background 0.3s var(--ease-out);
  cursor: pointer; position: relative;
}
/* A bigger tap target than the 4px bar. */
.rules3d__dots i::before { content: ""; position: absolute; inset: -2px -14px; }
.rules3d__dots i:hover { background: rgba(254,246,231,0.5); }
.rules3d__dots i.is-on { background: var(--olive-lt); }

/* The player's controls: the rules by name above the court, Back, Replay
   and Next below it. Made by rules3d.js, so they only appear with the court. */
.rules3d__tabs, .rules3d__controls { display: none; }
.rules3d.is-3d .rules3d__dots { display: none; }
.rules3d.is-3d .rules3d__tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
  padding: 0 var(--edge) 1rem;
}
.rules3d.is-3d .rules3d__controls {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  max-width: 44rem; margin-inline: auto;
  padding: 1rem var(--edge) clamp(2.5rem, 6vw, 4.5rem);
}
/* Tabs and buttons in the site's pill manner: 2px edge, semibold, the
   plain arrow. Back and Next are matching olive pills; Replay is a quiet
   round button between them. */
.rules3d__tab, .rules3d__ctl {
  font: inherit; font-weight: 600; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease-out), opacity 0.22s var(--ease);
}
.rules3d__tab:focus-visible, .rules3d__ctl:focus-visible { outline: 2px solid var(--olive-lt); outline-offset: 4px; }

.rules3d__tab {
  font-size: var(--fs-sm); min-height: 2.75rem; padding: 0.6rem 1.15rem;
  background: transparent; color: var(--cream); border-color: rgba(254,246,231,0.3);
}
.rules3d__tab:hover { border-color: rgba(254,246,231,0.7); }
.rules3d__tabn { opacity: 0.6; font-variant-numeric: tabular-nums; }
.rules3d__tab.is-on { background: var(--olive-lt); color: var(--forest-deep); border-color: var(--olive-lt); }
.rules3d__tab.is-on .rules3d__tabn { opacity: 0.75; }

.rules3d__ctl { font-size: var(--fs-body); min-height: 3.25rem; padding: 0.95rem 1.6rem; }
.rules3d__ctl:hover { transform: translateY(-2px); }
.rules3d__ctl:active { transform: translateY(0) scale(0.98); }
.rules3d__ctl--back, .rules3d__ctl--next { background: var(--olive-lt); color: var(--forest-deep); border-color: var(--olive-lt); }
.rules3d__ctl--back:hover, .rules3d__ctl--next:hover { background: var(--cream); border-color: var(--cream); }
.rules3d__ctl .arw { display: inline-block; transition: transform 0.25s var(--ease-out); }
.rules3d__ctl--next:hover .arw { transform: translateX(3px); }
.rules3d__ctl--back:hover .arw { transform: translateX(-3px); }
.rules3d__short { display: none; }
.rules3d__ctl--again {
  width: 3.25rem; flex: none; padding: 0; background: transparent; color: var(--cream); border-color: rgba(254,246,231,0.5);
}
.rules3d__ctl--again:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.rules3d__ctl svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rules3d__ctl[aria-disabled="true"] { opacity: 0.3; cursor: default; transform: none; }
.rules3d__ctl[aria-disabled="true"]:hover { background: var(--olive-lt); border-color: var(--olive-lt); transform: none; }
.rules3d__ctl[aria-disabled="true"]:hover .arw { transform: none; }
/* Phones: the rule showing keeps its name, the others just their number,
   and Back and Next say just that. */
@media (max-width: 600px) {
  .rules3d.is-3d .rules3d__tabs { gap: 0.4rem; flex-wrap: nowrap; }
  .rules3d__tab { padding-inline: 0.95rem; }
  .rules3d__tab:not(.is-on) .rules3d__tabt { display: none; }
  .rules3d__ctl--back, .rules3d__ctl--next { padding-inline: 1.3rem; }
  .rules3d__long { display: none; }
  .rules3d__short { display: inline; }
}

/* Short phones held upright (an iPhone SE): the rule's words a size
   smaller, so the court keeps a fair share of the screen above them. */
@media (orientation: portrait) and (max-height: 640px) {
  .rules3d.is-3d .rules3d__card { gap: 0.4rem; }
  .rules3d.is-3d .rules3d__card[data-side="bottom"] h3,
  .rules3d.is-3d .rules3d__card[data-side="top"] h3 { font-size: clamp(1.6rem, 8vw, 2rem); }
  .rules3d.is-3d .rules3d__card[data-side="bottom"] p,
  .rules3d.is-3d .rules3d__card[data-side="top"] p { font-size: var(--fs-sm); line-height: 1.4; }
}
/* The shortest phones (iPhone SE, first edition): the tabs step aside too
   (the words still say "Rule 1 of 4"), so the court has room above them. */
@media (orientation: portrait) and (max-height: 600px) {
  .rules3d.is-3d .rules3d__tabs { display: none; }
  .rules3d.is-3d .rules3d__stage { height: calc(100svh - var(--nav-h) - 6.5rem); }
}
/* Phones on their side, and any very short window: no room for the tabs,
   the court and the buttons one above another. The court fills the screen
   and Back, Replay and Next sit over its foot (rules3d.js keeps the ball
   clear of them); the words name the rule ("Rule 2 of 4"), so the tabs
   step aside. */
@media (orientation: landscape) and (max-height: 540px) {
  .rules3d.is-3d .rules3d__tabs { display: none; }
  .rules3d.is-3d .rules3d__stage { height: max(15rem, calc(100svh - var(--nav-h))); }
  .rules3d.is-3d .rules3d__controls {
    position: relative; z-index: 4; height: 4rem; max-width: none;
    margin: -4rem 0 clamp(2rem, 5vw, 3rem); padding: 0 var(--edge); pointer-events: none;
  }
  .rules3d.is-3d .rules3d__controls > * { pointer-events: auto; }
  .rules3d__ctl { min-height: 2.75rem; font-size: var(--fs-sm); }
  .rules3d__ctl--back, .rules3d__ctl--next { padding: 0.6rem 1.15rem; }
  .rules3d__ctl--again { width: 2.75rem; }
  .rules3d.is-3d .rules3d__card { top: calc((100% - 4rem) / 2); gap: 0.45rem; width: min(24rem, 38vw); }
  .rules3d.is-3d .rules3d__card h3 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); }
  .rules3d.is-3d .rules3d__card p { font-size: var(--fs-sm); line-height: 1.4; }
}

body.rules3d-on .booknow { opacity: 0 !important; pointer-events: none !important; }

/* A long email address may wrap on the narrowest phones rather than push
   the page sideways. */
a[href^="mailto:"] { overflow-wrap: anywhere; }

/* ===================================================== 1.59 conversion ==
   Booking buttons at every decision point, and the finish around them.
   ======================================================================= */

/* A row of buttons in a page: the main button and a quieter second one.
   Every booking button is printed by whp_cta(), so its link and wording
   follow Club details (founding list before launch, Playtomic after). */
.ctarow { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 2rem; }
.ctarow--center { justify-content: center; margin-top: 0; }
.ctarow--after { margin-top: clamp(2.25rem, 4vw, 3.25rem); }
.ctarow--head { margin-top: clamp(1.75rem, 3vw, 2.25rem); }
.firstgame__cta.ctarow { margin-top: clamp(2.25rem, 4vw, 3.25rem); }

/* The closing block at the foot of a page. */
.ctablock { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.75rem; }
.ctablock .display { max-width: 18ch; }

/* Phones: buttons in a row take the full width, one under another, so a
   pair never reads as two different sized lozenges. */
@media (max-width: 560px) {
  .ctarow, .hero__cta { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .ctarow .pill, .hero__cta .pill { justify-content: center; }
  .hero__cta { max-width: 22rem; margin-inline: auto; }
  .ctablock .ctarow { max-width: 22rem; }
}

.h2--gap { margin-top: 1rem; }
.tt-note { margin-top: 2rem; font-size: var(--fs-sm); }

/* Contact strip on the home page: the email address is long, so on a phone
   the label sits above the value instead of squeezing it mid word. */
.bookband__link { text-decoration: none; font-weight: 600; }
.bookband__link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .bookband__steps--contact .bookband__step { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
}

/* One confirmed person: a single portrait beside the words, not a lone
   card in a three column grid. */
.people--one { grid-template-columns: minmax(0, 1fr); }
.people--one .person { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 30rem); gap: clamp(1.5rem, 4vw, 3rem); align-items: end; }
.people--one .person__body { padding-top: 0; }
@media (max-width: 640px) {
  .people--one .person { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .people--one .person__media { max-width: 17rem; }
}
/* Two or more people on a phone sit two across, so a team of six is three
   rows rather than six screens of portraits. */
@media (max-width: 640px) {
  .people:not(.people--one), .people:not(.people--one):has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people:not(.people--one) .person__body h3 { font-size: 1.0625rem; }
  .people:not(.people--one) .person__body p { font-size: var(--fs-sm); }
}

/* Footer on a phone: the three link lists two across, the address under
   them full width. Four single columns ran to two screens of links. */
@media (max-width: 480px) {
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; row-gap: 2.25rem; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer__col ul { gap: 0.95rem; }
  .footer__col a { font-size: 0.9375rem; }
}
/* The footer links are tap targets too. */
.footer__col li a { display: inline-block; padding-block: 0.15rem; }

/* Hover and keyboard focus agree on the dark sections. */
.sec--forest :focus-visible, .on-dark :focus-visible, .pagehead :focus-visible, .footer :focus-visible, .hero :focus-visible { outline-color: var(--olive-lt); }
.pill:focus-visible { outline-offset: 4px; }

/* Page heads on a phone are a grid (drawing top right, words under it):
   the button row takes its own row under the intro. */
@media (max-width: 760px), (max-width: 900px) and (orientation: portrait) {
  .pagehead:has(.pagehead__play) .wrap > .ctarow { grid-column: 1 / -1; grid-row: 6; max-width: none; }
}
/* A closing block over the dusk court: on a phone the buttons sit above
   the court drawing rather than on its lines. */
@media (max-width: 560px) {
  .sec--forest:has(> .bgart--horizon) .ctablock { padding-bottom: clamp(4.5rem, 26vw, 7rem); }
}
/* Footer, phone: Legal runs full width in two columns of its own. */
@media (max-width: 480px) {
  .footer__col:nth-child(3) { grid-column: 1 / -1; }
  .footer__col:nth-child(3) ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
}

/* Closing block over the dusk court: a soft pool of forest sits under the
   words, so the court lines fade out behind them instead of striking
   through the text. The floodlights still cross over the top. */
.ctablock .lead, .ctablock .display { position: relative; }
.sec--forest:has(> .bgart--horizon) .ctablock .lead::before,
.sec--forest:has(> .bgart--horizon) .ctablock .display::before {
  content: ""; position: absolute; inset: -1.25rem -3rem; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(14, 59, 42, 0.92) 55%, rgba(14, 59, 42, 0));
}
.ctablock .lead, .pagehead p, .sec-head .lead { text-wrap: pretty; }
.ctablock .lead { text-wrap: balance; }

/* FAQs contact, phone: the form starts as its own block, with a rule
   above it, rather than running on from the booking button. */
@media (max-width: 900px) {
  .contact { row-gap: 3rem; }
  .contact > form { padding-top: 2.5rem; border-top: 1px solid var(--cream-line); }
}

/* Stat band with three stats (the fourth is empty until the club confirms
   one): three even columns, so there is no empty slot on the right on a
   desktop and no lone stat on its own row on a phone. */
.statband__grid:has(> .stat:nth-child(4):last-child) { grid-template-columns: minmax(300px, 1.6fr) repeat(3, 1fr); }
/* Numbers on one line whatever the length of the label under them. */
.statband__grid:has(> .stat:nth-child(4):last-child) .stat { align-self: start; }
@media (max-width: 1080px) {
  .statband__grid:has(> .stat:nth-child(4):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .statband__grid:has(> .stat:nth-child(4):last-child) .stat { padding-left: 0; }
}
@media (max-width: 520px) {
  .statband__grid:has(> .stat:nth-child(4):last-child) { column-gap: 0.75rem; }
  .statband__grid:has(> .stat:nth-child(4):last-child) .stat span { font-size: var(--fs-sm); }
}

/* Newsletter bar, phone: the typed line break plus the narrow column left a
   one word line ("SOCIALS"). Let the heading wrap on its own, balanced. */
@media (max-width: 480px) {
  .news__bar h2 br { display: none; }
  .news__bar h2 { text-wrap: balance; }
}

/* Second action in a section's button row: a quiet text link with a hairline
   underline rather than a second lozenge, so each section carries one clear
   button. The closing blocks and the hero keep their pair of pills. */
.ctarow:not(.ctarow--center) > .pill--ghost-forest {
  background: none; border-color: transparent; padding-inline: 0.35rem;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.45em;
  text-decoration-color: rgba(14, 59, 42, 0.32);
  transition: text-decoration-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.ctarow:not(.ctarow--center) > .pill--ghost-forest:hover {
  background: none; border-color: transparent; color: var(--forest); transform: none;
  text-decoration-color: currentColor;
}
@media (max-width: 560px) {
  .ctarow:not(.ctarow--center) > .pill--ghost-forest { padding-block: 0.5rem; }
}

/* ======================================================= 1.60 luxury ===
   A finish layer over 1.59: same layout, images, drawings and colours.
   Notes for each change are in docs/felipe-review-notes.md.
   ======================================================================= */

/* A drawing that loops for ever rests while it is out of sight (site.js). */
svg.is-away, svg.is-away * { animation-play-state: paused !important; }

/* --- Type: Satoshi for the reading text, Outfit for the headlines ------ */
/* Body copy, nav, buttons, eyebrows, forms and the footer's small print
   take Satoshi (--font-body). Every headline, figure and the wordmark keep
   Outfit exactly as they were. */
body { font-family: var(--font-body); text-rendering: optimizeLegibility; font-kerning: normal; }
h1, h2, h3, h4, .display, .h2, .h3, .h4,
.hero__line, .stat b, .bookband__step b, .hours__cell dd,
.split__aside > .eyebrow, .prose ol.list-big > li::before,
.brand .brand-txt, .rules3d__card h3 { font-family: var(--font); }
/* Small headings that are really labels read as Satoshi. */
.footer__col h4, .assoc h4 { font-family: var(--font-body); }
/* Running text breaks without a lone word on its last line. */
main p, .faq__a p, .prose li { text-wrap: pretty; }

/* Satoshi sits a touch lighter than Outfit, so it is set at 500 where
   Outfit was at 600, with a hair more air between the letters at the
   small sizes. */
.eyebrow { font-weight: 500; letter-spacing: 0.005em; }
.lead, .hero__tag { letter-spacing: -0.003em; }
.hero__tag { font-weight: 500; }
.nav-links a { font-weight: 500; letter-spacing: 0.01em; font-size: 0.875rem; }
.pill { font-weight: 500; letter-spacing: 0.01em; }
.field label { font-weight: 500; letter-spacing: 0.015em; font-size: 0.8125rem; }
.crumbs { font-size: 0.8125rem; letter-spacing: 0.02em; }
.faq__q { letter-spacing: -0.012em; }
.partner b { font-weight: 700; }
.timetable thead th { font-weight: 700; letter-spacing: 0.02em; }
.doc__nav a[aria-current="true"] { font-weight: 700; }
.rules3d__label { font-weight: 500; letter-spacing: 0.01em; }
@media (max-width: 900px) {
  /* The phone menu: the same Satoshi as the desktop nav, set large. */
  .nav-links a { font-family: var(--font-body); font-size: 1.375rem; font-weight: 500; text-transform: none; letter-spacing: -0.01em; }
  .nav-links .m-cta .pill { font-size: var(--fs-body); }
}

/* --- The header: frosted cream with a hairline once the page moves ---- */
/* The cream and the hairline sit on a layer behind the bar. The frost
   (backdrop blur) has to go on the bar itself, because the bar carries the
   page-change name that keeps it still between pages, and that stops a
   layer inside it from seeing the page behind. A blur on the bar would
   also become the frame for the phone menu inside it and open the menu in
   the wrong place, so the frost is for wide screens; on a phone the bar
   simply turns to solid cream with the hairline. */
.topbar, .topbar.is-stuck { background: transparent; }
.topbar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(14, 59, 42, 0);
  transition: background-color 0.5s var(--ease-calm), box-shadow 0.5s var(--ease-calm);
}
/* Without the frost (phones), the bar is solid: a cream that is nearly
   opaque lets the page show through as a smudge rather than as glass. */
.topbar.is-stuck::before { background: var(--cream); box-shadow: 0 1px 0 var(--hair); }
@media (min-width: 901px) {
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .topbar { transition: -webkit-backdrop-filter 0.5s var(--ease-calm), backdrop-filter 0.5s var(--ease-calm); }
    .topbar.is-stuck { -webkit-backdrop-filter: saturate(1.5) blur(20px); backdrop-filter: saturate(1.5) blur(20px); }
    .topbar.is-stuck::before { background: rgba(254, 246, 231, 0.88); }
  }
}

/* --- Buttons: a quiet lift on hover, a soft press under the finger ----- */
/* The border is a hairline now; the padding grows by the pixel it gave
   back, so every button keeps its size. */
.pill {
  border-width: 1px;
  padding: calc(1rem + 1px) calc(1.75rem + 1px);
  transition: background-color 0.35s var(--ease-calm), color 0.35s var(--ease-calm),
              border-color 0.35s var(--ease-calm), box-shadow 0.45s var(--ease-calm),
              transform 0.45s var(--ease-calm);
}
.pill--sm { padding: calc(0.6rem + 1px) calc(1.15rem + 1px); }
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: translateY(0) scale(0.97); transition-duration: 0.12s; }
.pill--forest:hover { box-shadow: 0 12px 24px -14px rgba(9, 37, 24, 0.6); }
.pill--cream:hover { box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.45); }
.pill--ghost-cream { border-color: rgba(254, 246, 231, 0.6); }
.pill--ghost-forest { border-color: rgba(14, 59, 42, 0.42); }
.pill .arw { transition: transform 0.45s var(--ease-calm); }
@media (hover: none) { .pill:hover { transform: none; box-shadow: none; } }

/* --- Hairlines where a line only separates ----------------------------- */
.faq { border-top: 1px solid var(--cream-line-2); }
.faq__item { border-bottom-color: var(--hair); }
.field input, .field select, .field textarea {
  border-bottom-width: 1px;
  transition: border-color 0.3s var(--ease-calm), box-shadow 0.3s var(--ease-calm);
}
/* Focus thickens the line to two pixels without moving anything. */
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 1px 0 0 var(--olive); }
.on-dark .field input:focus, .on-dark .field textarea:focus, .on-dark .field select:focus { box-shadow: 0 1px 0 0 var(--olive-lt); }
.timetable thead th { border-bottom-width: 1px; }
.totop { border-bottom-width: 1px; }
.news__toggle { border-width: 1px; }

/* --- The place, the time and the weather: one quiet line --------------- */
.now {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem;
  margin: 0; max-width: none;
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.02em; line-height: 1.2; font-variant-numeric: tabular-nums;
}
.now .u-now { gap: 0.75rem; }
.now .u-now::before, .now .u-now__wx::before {
  content: ""; width: 1px; height: 0.8em; background: currentColor; opacity: 0.32;
}
.now .u-now__wx { gap: 0.75rem; }
.now .u-now__wx svg { width: 15px; height: 15px; margin-right: -0.35rem; }
.now .u-now__label { opacity: 0.7; }
.now .u-now__time { font-weight: 700; }
/* It comes in softly once the script has the time, never with a jump. */
@media (prefers-reduced-motion: no-preference) {
  .now .u-now { animation: now-in 0.8s var(--ease-calm) both; }
  .now .u-now__wx:not([hidden]) { animation: now-in 0.8s var(--ease-calm) both; }
}
@keyframes now-in { from { opacity: 0; } }

/* At the foot of the home hero, opposite the scroll cue and on its line. */
.hero__now {
  position: absolute; z-index: 2; left: var(--edge); bottom: calc(1.75rem + 34px + 0.5rem + 3px);
  color: rgba(254, 246, 231, 0.78);
}
.hero__now .u-now__wx svg { color: var(--olive-lt); }
@media (max-width: 600px) {
  .hero__now { right: calc(var(--edge) + 56px); }
  .hero__now .u-now__label, .hero__now .u-now__words { display: none; }
}
@media (max-width: 360px) { .hero__now .now__place { display: none; } .hero__now .u-now::before { display: none; } }

/* In the footer, under the copyright. */
.legal__start { display: grid; gap: 0.6rem; justify-items: start; }
.legal__now { color: rgba(254, 246, 231, 0.6); }
.legal__now .u-now__wx svg { color: var(--olive-lt); }

/* --- The footer: a calm close ------------------------------------------ */
.footer { padding-top: clamp(4.5rem, 8vw, 7rem); }
.footer__col h4, .assoc h4 {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--olive-lt); margin-bottom: 1.35rem;
}
.footer__col ul { gap: 0.85rem; }
.footer__col a, .footer__col address {
  font-size: 0.9375rem; font-weight: 400; letter-spacing: 0.005em; color: rgba(254, 246, 231, 0.74);
  transition: color 0.3s var(--ease-calm);
}
.footer__col a:hover { color: var(--cream); }
.footer__mid { border-bottom: 1px solid var(--hair-dark); }
.assoc__row a, .assoc__row span {
  background: transparent; box-shadow: inset 0 0 0 1px rgba(254, 246, 231, 0.18);
  font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.01em;
  transition: background-color 0.35s var(--ease-calm), color 0.35s var(--ease-calm), box-shadow 0.35s var(--ease-calm);
}
.assoc__row a:hover { box-shadow: inset 0 0 0 1px var(--cream); }
.socials a { background: transparent; box-shadow: inset 0 0 0 1px rgba(254, 246, 231, 0.18); }
.totop { font-weight: 500; font-size: 0.9375rem; border-bottom-color: rgba(254, 246, 231, 0.24); }
/* The base bar's small print: Satoshi, smaller and spaced, so it reads as
   finished rather than as leftover body text. */
.legal { font-size: 0.8125rem; letter-spacing: 0.02em; color: rgba(254, 246, 231, 0.6); padding-block: 1.75rem; }
.legal__links { gap: 1.5rem; }
.legal__links a { font-weight: 500; color: rgba(254, 246, 231, 0.7); transition: color 0.3s var(--ease-calm); }
.legal a:hover { color: var(--cream); text-decoration: none; }
.footer-credit span {
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(254, 246, 231, 0.55);
}
.footer-credit img { height: 20px; }

/* --- The FAQs page head: a plain, lit forest in place of the dot grid -- */
.pagehead__art--calm { opacity: 1; }

/* --- In-page links land clear of the header ---------------------------- */
/* Sections and policy headings already carry scroll-margin-top (nav height
   plus 12px, above); a scroll-padding on the page as well counted the
   header twice and left a band of the section before showing. */

/* --- The landing --------------------------------------------------------- */
/* One entrance: the artwork settles from a hair larger while it fades up,
   then the words come into focus one line after another on a long, soft
   curve, then the scroll cue and the place line. Same order and the same
   stagger as before; only the curve and the focus are new. */
@media (prefers-reduced-motion: no-preference) {
  .hero__inner > *, .pagehead .wrap > * { animation-name: arrive-soft; animation-duration: 1.1s; animation-timing-function: var(--ease-out); }
  .hero__scroll, .hero__now { animation: arrive-soft 1.1s var(--ease-out) 1s both; }
  .hero__media { animation: media-settle 1.8s var(--ease-calm) both; }
  .whp-arrive:not(.is-ready) .hero__now { animation-play-state: paused; }
  @keyframes arrive-soft { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }
  @keyframes media-settle { from { opacity: 0; transform: scale(1.035); } }
}
/* The way back up the site sits small above the page title. */
.pagehead .crumbs { font-size: 0.8125rem; letter-spacing: 0.02em; margin-top: 0; }
.hero__tag { max-width: 29.5em; }
.footer-credit img { height: 22px; }
/* A label promoted to a section headline ("Why padel, and why here?")
   stays in Outfit at its own weight, exactly as before. */
.eyebrow--feature { font-family: var(--font); font-weight: 600; letter-spacing: normal; }
/* On a phone the footer line takes two rows: the place, then the time and
   weather, so no divider is left hanging at the start of a row. */
@media (max-width: 600px) {
  .legal__now { flex-direction: column; align-items: flex-start; }
  .legal__now .u-now::before { display: none; }
}

/* ===================================================== 1.61 community ===
   The Community page: membership and the members app. The screens are
   real captures of the app in a drawn phone. Motion: the hero phones
   arrive after the words and drift apart a little on scroll, the six
   points come up in a stagger, and on a wide screen one phone is pinned
   beside the six app screens and changes screen as each one is read. On a
   phone each screen sits under its words and rises in. Reduced motion
   shows everything still. Notes: docs/felipe-review-notes.md, 1.61.0.
   ======================================================================= */

/* --- A phone -------------------------------------------------------------
   --pw is the phone's width; the bezel and the corners follow it. */
.phone {
  --pw: 280px;
  position: relative; width: var(--pw); margin: 0;
  padding: calc(var(--pw) * 0.034);
  border-radius: calc(var(--pw) * 0.165);
  background: linear-gradient(160deg, #22352c 0%, #0a1611 45%, #050d09 100%);
  box-shadow:
    inset 0 0 0 1px rgba(254, 246, 231, 0.10),
    inset 0 1px 1px rgba(255, 255, 255, 0.10),
    0 2px 4px rgba(5, 13, 9, 0.18),
    0 30px 60px -24px rgba(5, 13, 9, 0.55),
    0 60px 110px -50px rgba(5, 13, 9, 0.45);
}
.phone img { display: block; width: 100%; height: auto; border-radius: calc(var(--pw) * 0.132); }
/* The side buttons, as a hairline of the frame. */
.phone::before, .phone::after {
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #15241c;
}
.phone::before { right: -2px; top: 24%; height: 11%; }
.phone::after { left: -2px; top: 19%; height: 7%; box-shadow: 0 calc(var(--pw) * 0.12) 0 #15241c; }

/* --- Quiet text link (the second action) --------------------------------- */
.textlink {
  display: inline-flex; align-items: center; gap: 0.4em; padding: 0.5rem 0.35rem;
  font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.45em;
  text-decoration-color: rgba(14, 59, 42, 0.32);
  transition: text-decoration-color 0.25s var(--ease-out);
}
.textlink:hover { text-decoration-color: currentColor; }
.textlink--cream { color: var(--cream); text-decoration-color: rgba(254, 246, 231, 0.4); }

/* --- Hero ------------------------------------------------------------------ */
.cmhero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--forest); color: var(--cream);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem);
}
.cmhero__art { position: absolute; inset: 0; z-index: -1; }
.cmhero__art img { width: 100%; height: 100%; object-fit: cover; }
.cmhero__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.cmhero .crumbs { margin-bottom: 2rem; }
.cmhero .eyebrow { color: var(--olive-lt); margin-bottom: 1.25rem; }
.cmhero h1 {
  font-size: clamp(2.75rem, 7.2vw, 6.75rem); line-height: var(--lh-display);
  text-transform: uppercase; max-width: 9.5ch;
}
.cmhero__intro { margin-top: 1.5rem; max-width: 40ch; font-size: var(--fs-lead); line-height: 1.55; color: rgba(254, 246, 231, 0.86); }
.cmhero__note { margin-top: 1.25rem; font-size: var(--fs-sm); color: rgba(254, 246, 231, 0.66); max-width: 44ch; }
.cmhero__phones { position: relative; height: clamp(28rem, 118vw, 34rem); margin-bottom: calc(-1 * clamp(3.5rem, 7vw, 6rem)); }
.cmhero__pool {
  position: absolute; inset: 8% -10% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 45% at 55% 45%, rgba(143, 166, 97, 0.30), rgba(143, 166, 97, 0) 70%);
}
.cmhero__back, .cmhero__front { position: absolute; will-change: transform; }
.cmhero__back { right: 0; top: 0; }
.cmhero__front { left: 0; top: 14%; }
.cmhero__back .phone { --pw: clamp(11.5rem, 52vw, 16rem); }
.cmhero__front .phone { --pw: clamp(13rem, 60vw, 18rem); }
.phone--back img { filter: saturate(0.9) brightness(0.92); }
@media (min-width: 640px) and (max-width: 999px) {
  .cmhero__phones { width: 34rem; max-width: 100%; margin-inline: auto; }
}
@media (min-width: 1000px) {
  .cmhero { padding-block: clamp(3rem, 5vw, 4.5rem) clamp(4rem, 6vw, 5.5rem); }
  .cmhero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); min-height: min(calc(100svh - var(--nav-h) - 8rem), 46rem); }
  .cmhero__phones { height: 42rem; align-self: end; }
  .cmhero__back { right: 2%; top: 0; }
  .cmhero__front { left: 4%; top: 13%; }
  .cmhero__back .phone { --pw: 18rem; }
  .cmhero__front .phone { --pw: 21rem; }
}
/* The arrival: the words as on every page head, then the phones rise. */
@media (prefers-reduced-motion: no-preference) {
  .cmhero__words > * { animation: arrive-soft 1.1s var(--ease-out) 0.25s both; }
  .cmhero__words > :nth-child(2) { animation-delay: 0.36s; }
  .cmhero__words > :nth-child(3) { animation-delay: 0.47s; }
  .cmhero__words > :nth-child(4) { animation-delay: 0.58s; }
  .cmhero__words > :nth-child(5) { animation-delay: 0.69s; }
  .cmhero__words > :nth-child(6) { animation-delay: 0.8s; }
  .cmhero__back > .phone { animation: phone-in 1.5s var(--ease-out) 0.55s both; }
  .cmhero__front > .phone { animation: phone-in 1.5s var(--ease-out) 0.75s both; }
  .cmhero__pool { animation: media-in 2s var(--ease) 0.4s both; }
  .whp-arrive:not(.is-ready) .cmhero__words > *, .whp-arrive:not(.is-ready) .cmhero .phone,
  .whp-arrive:not(.is-ready) .cmhero__pool { animation-play-state: paused; }
  @keyframes phone-in { from { opacity: 0; transform: translateY(48px) scale(0.97); } }
}

/* --- The app: six screens --------------------------------------------------- */
.cmapp {
  position: relative; overflow: clip;
  background: radial-gradient(60% 40% at 80% 18%, rgba(143, 166, 97, 0.14), rgba(143, 166, 97, 0) 70%), var(--forest-deep);
  color: var(--cream); padding-block: var(--sec-y);
}
.cmapp__head .h2 { max-width: 13ch; }
.cmapp__steps { list-style: none; padding: 0; display: grid; gap: clamp(4rem, 14vw, 6rem); }
.cmapp__n {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive-lt);
}
.cmapp__n i { width: 1.75rem; height: 1px; background: currentColor; opacity: 0.6; }
.cmapp__step h3 { font-size: clamp(1.625rem, 2.8vw, 2.5rem); line-height: 1.04; max-width: 16ch; }
.cmapp__step p { margin-top: 1rem; color: rgba(254, 246, 231, 0.78); max-width: 40ch; }
.cmapp__inline { margin-top: 2.25rem; display: flex; justify-content: center; }
.cmapp__inline .phone { --pw: min(72vw, 18rem); }
.cmapp__inline.rise { transform: translateY(40px) scale(0.98); transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out); }
.cmapp__inline.rise.is-in { transform: none; }
.cmapp__pin { display: none; }
.cmapp__foot { margin-top: clamp(3.5rem, 7vw, 5rem); text-align: center; display: grid; justify-items: center; gap: 1.25rem; }
.cmapp__note { font-size: var(--fs-sm); color: rgba(254, 246, 231, 0.64); }
@media (min-width: 1000px) {
  .cmapp { --ph: min(calc(100svh - var(--nav-h) - 6rem), 44rem); }
  .cmapp__story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
  .cmapp__steps { gap: 0; }
  .cmapp__step { min-height: 58vh; display: flex; align-items: center; opacity: 0.3; transition: opacity 0.6s var(--ease-calm); }
  .cmapp__step.is-on { opacity: 1; }
  .cmapp__inline { display: none; }
  .cmapp__pin {
    display: block; position: sticky; align-self: start;
    top: calc(var(--nav-h) + (100svh - var(--nav-h) - var(--ph)) / 2); height: var(--ph);
  }
  .cmapp__device { display: flex; align-items: center; justify-content: center; gap: 2rem; height: 100%; }
  .phone--stack { --pw: calc(var(--ph) * 0.44); display: grid; }
  .phone--stack img {
    grid-area: 1 / 1; opacity: 0; transform: translateY(14px) scale(1.015);
    transition: opacity 0.7s var(--ease-calm), transform 0.9s var(--ease-out);
  }
  .phone--stack img.is-on { opacity: 1; transform: none; }
  .cmapp__dots { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
  .cmapp__dots li { width: 6px; height: 6px; border-radius: 3px; background: rgba(254, 246, 231, 0.26); transition: height 0.5s var(--ease-calm), background-color 0.5s var(--ease-calm); }
  .cmapp__dots li.is-on { height: 22px; background: var(--olive-lt); }
}

/* --- Founding members ------------------------------------------------------ */
.cmfound__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.cmfound__card { perspective: 1400px; display: flex; justify-content: center; }
.cmfound__tilt {
  width: min(100%, 34rem); border-radius: 5.6% / 7.4%; overflow: hidden;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform;
  box-shadow: 0 2px 4px rgba(9, 37, 24, 0.12), 0 40px 70px -30px rgba(9, 37, 24, 0.55), 0 80px 120px -60px rgba(9, 37, 24, 0.4);
}
.cmfound__tilt img { display: block; width: 100%; height: auto; }
.cmfound__words .h2 { margin-top: 1rem; max-width: 10ch; }
.cmfound__words .lead { margin-top: 1.5rem; max-width: 44ch; }
@media (min-width: 1000px) { .cmfound__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* --- Families and juniors -------------------------------------------------- */
.cmfamily__grid { display: grid; gap: 1.75rem; }
.cmfamily__quote { margin: 0; }
.cmfamily__quote blockquote { margin: 0; }
.cmfamily__quote p {
  font-family: var(--font); font-weight: 700; font-size: clamp(1.875rem, 4.4vw, 3.75rem);
  line-height: 1.06; letter-spacing: var(--tr-display); color: var(--forest); max-width: 20ch; text-wrap: balance;
}
.cmfamily__quote p::before { content: "\201C"; display: block; color: var(--olive); font-size: 1.6em; line-height: 0.6; margin-bottom: 0.15em; }
.cmfamily__quote figcaption { margin-top: 1.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive-ink); }
.cmfamily__body p { color: var(--on-cream-muted); }
.cmfamily__body .textlink { margin-top: 1rem; margin-left: -0.35rem; }
@media (min-width: 1000px) {
  .cmfamily__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); column-gap: 5rem; align-items: end; }
  .cmfamily__grid > .eyebrow { grid-column: 1 / -1; }
}

/* --- Lit words: a statement that lights up as it is read ------------------
   site.js wraps each word; a word goes from faint to full as the line
   passes up the screen. Without the script, or with reduced motion, the
   words are simply there. */
.lit .w { opacity: var(--o, 1); transition: opacity 0.25s linear; }
.has-lit .lit .w { --o: 0.16; }
.has-lit .lit .w.is-lit { --o: 1; }

/* Home: Ben's words under the stat band. */
.litsec { padding-block: clamp(5rem, 11vw, 10rem); }
.litsec__fig { margin: 0; }
.litsec blockquote { margin: 0; }
.litsec .lit {
  font-family: var(--font); font-weight: 700; color: var(--forest);
  font-size: clamp(2rem, 5.4vw, 5rem); line-height: 1.04; letter-spacing: -0.028em;
  max-width: 19ch; text-wrap: balance;
}
.litsec figcaption { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

/* Home: the community band, two app screens beside the words. */
.hcband {
  position: relative; overflow: hidden; color: var(--cream);
  background: radial-gradient(55% 60% at 78% 40%, rgba(143, 166, 97, 0.18), rgba(143, 166, 97, 0) 70%), var(--forest-deep);
  padding-top: var(--sec-y);
}
.hcband__grid { display: grid; gap: clamp(3rem, 6vw, 4rem); align-items: center; }
.hcband .h2 { margin-top: 1rem; max-width: 11ch; }
.hcband .lead { margin-top: 1.5rem; max-width: 40ch; }
.hcband__words { padding-bottom: 0; }
.hcband__phones { display: flex; justify-content: center; gap: clamp(0.75rem, 3vw, 1.75rem); height: clamp(22rem, 95vw, 30rem); overflow: hidden; }
.hcband__phones .phone { --pw: clamp(10.5rem, 42vw, 15rem); }
.hcband__b { margin-top: 3.5rem; }
.hcband__b.rise { transition-delay: 0.12s; }
@media (min-width: 1000px) {
  .hcband__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .hcband__words { padding-bottom: var(--sec-y); }
  .hcband__phones { height: 38rem; }
  .hcband__phones .phone { --pw: 17rem; }
  .hcband__b { margin-top: 5rem; }
}
.cmfamily .lit { color: var(--forest); }

@media (max-width: 560px) { .ctarow > .textlink { justify-self: center; } }
/* --- The app story on phones and tablets: swipe through the screens -------
   Below 1000px the six screens are one row you swipe, each phone with its
   words under it and the next one showing at the edge, the way an app's own
   screenshots are shown. The hairline under the row follows the swipe. On a
   wide screen the pinned phone above takes over and none of this applies. */
@media (max-width: 999px) {
  .cmapp__story { margin-inline: calc(-1 * var(--edge)); }
  .cmapp__steps {
    display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
    padding: 0.5rem var(--edge) 1.5rem; scrollbar-width: none;
  }
  .cmapp__steps::-webkit-scrollbar { display: none; }
  .cmapp__step { flex: 0 0 min(72vw, 19rem); scroll-snap-align: start; display: flex; flex-direction: column; }
  .cmapp__step h3 { font-size: 1.5rem; }
  .cmapp__step p { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.55; }
  .cmapp__inline { order: -1; margin: 0 0 1.75rem; justify-content: flex-start; }
  .cmapp__inline .phone { --pw: min(72vw, 19rem); }
  .cmapp__inline.rise { opacity: 1; transform: none; }
  .cmapp__n { margin-bottom: 0.75rem; }
  .cmapp__track {
    position: relative; height: 2px; margin: 0.5rem var(--edge) 0; border-radius: 1px;
    background: rgba(254, 246, 231, 0.16); overflow: hidden;
  }
  .cmapp__track i {
    position: absolute; inset: 0 auto 0 0; width: calc(100% / 6); border-radius: 1px;
    background: var(--olive-lt); will-change: transform;
  }
}
@media (min-width: 640px) and (max-width: 999px) {
  .cmapp__step { flex-basis: 18rem; }
  .cmapp__inline .phone { --pw: 18rem; }
}
@media (min-width: 1000px) { .cmapp__track { display: none; } }

/* --- 1.62: a set of points is a numbered list --------------------------------
   Every set of points on the site (what you get, what we stand for, the four
   ways in, what to bring, what it feels like to belong) used to be a row of
   equal cards with an icon in a circle. Each is now the same editorial list:
   the heading (and Felipe's drawing, where the section has one) held beside
   the points on a wide screen, the points as numbered rows under a hairline,
   a large light numeral, the title in Outfit and the words in Satoshi. */
.pts { --pts-line: var(--cream-line); --pts-n: var(--olive); display: grid; row-gap: clamp(2.25rem, 6vw, 3rem); }
.sec--forest .pts, .on-dark .pts { --pts-line: rgba(254, 246, 231, 0.16); --pts-n: var(--olive-lt); }
.pts__aside .sec-head { margin-bottom: 0; }
.pts__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--pts-line); }
.pts__item {
  display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1rem;
  padding-block: 1.75rem; border-top: 1px solid var(--pts-line);
}
/* The numeral is a drawing of a number, so the brand olive is fine at this size. */
.pts__n {
  font-family: var(--font); font-weight: 300; font-size: 2.25rem; line-height: 0.8;
  letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--pts-n);
}
.pts__body { min-width: 0; }
.pts__body h3 {
  font-family: var(--font); font-weight: 700; text-transform: none;
  font-size: 1.3125rem; line-height: 1.15; letter-spacing: -0.02em;
}
.pts__body p { margin-top: 0.6rem; max-width: 46ch; }
.pts__body ul { list-style: none; padding: 0; margin: 0.9rem 0 0; display: grid; gap: 0.5rem; }
.pts__body li { position: relative; padding-left: 1.2rem; line-height: 1.5; color: color-mix(in srgb, currentColor 80%, transparent); }
.pts__body li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 0.55rem; height: 1px; background: var(--pts-n); }
.pts__main > .ctarow--after { margin-top: clamp(2rem, 4vw, 3rem); }
.pts__main > .hours { margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 640px) {
  .pts__item { grid-template-columns: 5rem minmax(0, 1fr); column-gap: 1.5rem; padding-block: 2.25rem; }
  .pts__n { font-size: 3rem; }
  .pts__body h3 { font-size: 1.5rem; }
}
@media (min-width: 1000px) {
  .pts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 6.5rem); align-items: start; }
  /* The heading stays beside the points while they pass. */
  .pts__aside { position: sticky; top: calc(var(--nav-h) + 2.5rem); }
  /* Half the width: the heading scales with the column, so no word is left on a line of its own. */
  .pts__aside .h2 { font-size: min(var(--fs-h2), 3.9vw); }
  .pts__aside .sec-head--play { grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 4vw, 3.5rem); align-items: start; }
  .pts__aside .sec-head--play > .play { width: clamp(240px, 22vw, 330px); justify-self: start; }
  .pts__item { grid-template-columns: 6rem minmax(0, 1fr); column-gap: 2rem; padding-block: 2.5rem; }
  .pts__n { font-size: clamp(3rem, 4.2vw, 4rem); }
  .pts__body h3 { font-size: clamp(1.5rem, 2vw, 1.875rem); }
  .pts__list > .pts__item:first-child { border-top: 0; padding-top: 0; }
}

/* --- 1.62: the header without lines ------------------------------------------
   No underline under the links, no hairline under the bar and no reading
   line: the page you are on is marked by a small dot, and once the page
   moves the bar lifts off it with a soft shadow. */
.nav-links a::after { display: none; }
.nav-links > a[aria-current="page"] { color: var(--forest); }
@media (min-width: 901px) {
  .nav-links > a[aria-current="page"]::before {
    content: ""; position: absolute; left: 50%; bottom: -0.3rem; width: 4px; height: 4px;
    margin-left: -2px; border-radius: 50%; background: var(--olive);
  }
}
.topbar.is-stuck::before { box-shadow: 0 14px 28px -22px rgba(9, 37, 24, 0.32); }
@media (max-width: 900px) {
  .nav-links { border-top: 0; }
  .nav-links a { border-bottom: 0; padding: 0.55rem 0; }
  .nav-links .m-cta { margin-top: 1.5rem; }
}

/* --- 1.62: the floating pill steps aside -----------------------------------
   site.js marks it .is-aside wherever it would sit on a button, a link, a
   field or a line of text, at any width; it comes back once it is clear. */
.booknow.is-on.is-aside { opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.95); pointer-events: none; }


/* The credit sits on the line with the place and the time at the courts,
   after them; where that line runs out of room it drops beneath. */
.legal__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.75rem; }
.legal__meta .legal__now { margin: 0; }
/* The logo file has clear space round the mark: drawn larger, with that
   space taken back, the mark stands about as tall as the words beside it. */
.legal__meta .footer-credit img { height: 34px; margin: -7px 0 -7px -9px; }

/* =========================================================================
   1.64.0: Ben's list (Nov 2026). The club app, free; add to your phone;
   opening day; photo places.
   ========================================================================= */

/* The app's own line under a main button: "Takes about a minute. No card
   details, ever." Quiet, never a second call to action. */
.ctanote { margin-top: 0.9rem; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-soft); max-width: 44ch; }
.on-dark .ctanote, .sec--forest .ctanote { color: rgba(254, 246, 231, 0.74); }
.ctanote--hero { margin-top: 0.25rem; text-align: center; color: rgba(254, 246, 231, 0.8); }
.ctarow .ctanote { margin-top: 0; align-self: center; }
.founders .ctarow { margin-top: 2.25rem; }

/* Home: the app's "Free to join" screen beside the words, in the Community
   page's phone frame at the Community hero's front-phone size. */
.founders__app { justify-self: center; align-self: center; }
.founders__app .phone { --pw: clamp(13rem, 60vw, 18rem); }
@media (min-width: 1000px) { .founders__app .phone { --pw: 21rem; } }

/* Opening day: the date set large under the heading. */
.odday__when { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1rem; }
.odday__date {
  font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.1; color: var(--forest);
}
.odday__time { font-weight: 700; font-size: var(--fs-sm); letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive-ink); }
.odday__when--tbc .odday__date { color: var(--olive-ink); }
.odday .sec-head .lead { margin-top: 1.25rem; }

/* Facilities: the courts now and what is coming, once Ben's photos are in. */
.nownext { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.nownext__fig { margin: 0; display: grid; gap: 0.75rem; }
.nownext__fig img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--forest-deep); }


/* Community: how to add the app to your phone. Written to be read by
   anyone: big type, short lines, one step per number. */
.addapp__head .lead { margin-top: 1.25rem; }
.addapp__reassure {
  margin-top: 1.25rem; padding-left: 1rem; border-left: 2px solid var(--olive-lt);
  max-width: 52ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--cream);
}
.addapp__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 1fr auto;
  gap: 0 clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); align-items: stretch;
}
/* Each card spans the three shared rows (title, words, phone), so every
   title, every first step and every phone starts on the same line. */
.addapp__card {
  grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: 1.5rem;
  background: var(--forest-deep); padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(254, 246, 231, 0.1), 0 24px 48px -32px rgba(0, 0, 0, 0.5);
}
@media (max-width: 1100px) {
  .addapp__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 1rem; }
  .addapp__card { grid-row: auto; grid-template-rows: auto auto auto; }
}
.addapp__card h3 {
  font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.15; color: var(--cream);
}
.addapp__card h3 span { color: var(--olive-lt); }
.addapp__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.addapp__steps li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem; align-items: start; }
.addapp__n {
  width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--forest); font-family: var(--font); font-weight: 700; font-size: 1.05rem;
}
.addapp__steps p, .addapp__aside p { font-size: 1.125rem; line-height: 1.55; color: rgba(254, 246, 231, 0.9); }
.addapp__steps strong, .addapp__aside strong, .addapp__foot strong { color: var(--cream); font-weight: 700; }
.addapp__aside { display: grid; gap: 0.5rem; }
.addapp__aside + .addapp__aside { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(254, 246, 231, 0.12); }
.addapp__aside h4 { font-weight: 700; font-size: 1.125rem; line-height: 1.4; color: var(--cream); }
.addapp__shot { justify-self: center; align-self: end; }
/* One size for all three, the Community phone at its smaller size. */
.addapp__shot .phone { --pw: 15rem; }
@media (max-width: 1100px) { .addapp__shot .phone { --pw: clamp(13rem, 60vw, 16rem); } }
.addapp__foot { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 1rem; max-width: 60ch; }
.addapp__foot p { font-size: 1.125rem; line-height: 1.55; color: rgba(254, 246, 231, 0.88); }
.addapp__foot b { color: var(--cream); }
.addapp__foot .ctarow { margin-top: 0.75rem; }


/* Real headshots on a white studio ground. The photo is untouched: it sits
   in a soft warm frame with rounded corners, so the white square reads as a
   studio portrait on the cream page instead of a hole in it. */
.person__media:has(img[src*="/photos/team-"]) {
  padding: 0.625rem; border-radius: var(--r-lg);
  background: var(--cream-2);
  box-shadow: inset 0 0 0 1px var(--cream-line), 0 18px 40px -28px rgba(14, 59, 42, 0.35);
}
.person__media img[src*="/photos/team-"] { border-radius: var(--r-md); }
/* A card still waiting for its photo takes the same shape, so a row lines up. */
.people .person__media { border-radius: var(--r-lg); }
/* Two portraits side by side on a phone: a role that wraps to two lines
   would push its name below its neighbour's, so every role keeps two. */
@media (max-width: 640px) {
  .people .person__body .eyebrow { min-height: calc(1.3em * 2); display: flex; align-items: flex-end; }
}
/* The team with real headshots: a touch smaller than the full column, so
   the portraits keep breathing room on wide screens. Same crop, all equal. */
@media (min-width: 641px) {
  .people:has(img[src*="/photos/team-"]) { grid-template-columns: repeat(3, minmax(0, 24.5rem)); justify-content: center; }
}
/* Place photos (village, countryside, courts): one treatment everywhere.
   Faded, softened and tinted into the section, fading out at the edges,
   behind the drawings. Ben's own photos take the same look. Nothing moves,
   so reduced motion needs nothing extra. */
.phototone {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; z-index: 0;
  filter: grayscale(0.6) contrast(0.92) blur(0.4px);
  mix-blend-mode: luminosity; opacity: 0.22;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 30%, transparent 100%);
}
.on-cream .phototone, .sec--cream2 .phototone { mix-blend-mode: multiply; opacity: 0.16; }
/* Hero: a texture over the drawing, fading into the top and bottom. */
.phototone--hero {
  opacity: 0.28;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 62%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 62%, transparent 100%);
}
.hero__media video:not([hidden]) ~ .phototone { display: none; }
/* Find us: the countryside under the location drawing. */
.phototone--place { opacity: 0.3; }
.loc__map__art .phototone + * { position: relative; }
/* Feature cards: behind the drawing, which keeps its place on top. */
.edcard__media .phototone--card { opacity: 0.3; }
.edcard__media .phototone--card ~ img, .edcard__media .phototone--card ~ svg { position: relative; z-index: 1; }
/* A forest section with a place photo: the section holds its own layers, the
   photo sits under the racket drawings (z -1) and the words, and is toned dark
   like the Community hero. */
.sec:has(> .phototone--band) { position: relative; isolation: isolate; overflow: hidden; }
.phototone--band {
  z-index: -2; opacity: 0.2;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.phototone--head { opacity: 0.22; }
.cmhero { position: relative; }
.cmhero > .phototone { z-index: 0; }
/* Playtomic's booking window, framed like the team portraits. */
.ptframe {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding: 0.625rem; border-radius: var(--r-lg);
  background: var(--cream-2); box-shadow: inset 0 0 0 1px var(--cream-line), 0 18px 40px -28px rgba(14, 59, 42, 0.35);
}
.ptframe iframe { display: block; width: 100%; height: 900px; border: 0; border-radius: var(--r-md); background: #fff; }
@media (max-width: 640px) { .ptframe iframe { height: 760px; } }

/* =========================================================================
   1.64.0 radius system (Tom, 17 Nov 2026). Three radii, set once:
   --r-lg  cards, panels, photo frames, embeds
   --r-md  a picture or frame inside one of those
   --r-sm  small boxes inside a panel (booking steps, notes)
   Pills stay pills, phones keep their own frame, and the court lines, the
   rules court and the timetable stay square on purpose.
   ========================================================================= */
:root { --r-lg: 1.5rem; --r-md: 1rem; --r-sm: 0.75rem; }
.edcard, .founders__form, .loc__panel, .loc__map, .refund__col, .refund__note, .partner {
  border-radius: var(--r-lg);
}
.edcard, .loc__map, .refund__col { overflow: hidden; }
.bookband__step { border-radius: var(--r-sm); }
/* Refund columns, rounded: the olive accent becomes a straight bar along the
   top (clipped by the corners) instead of a border that would curve, and the
   cream column gets a hairline so it reads as a card on the cream section. */
.refund__col { position: relative; border-top: 0; }
.refund__col::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--olive); }
.refund__col--no::before { background: var(--olive-lt); }
.refund__col--yes { background: var(--cream); box-shadow: inset 0 0 0 1px var(--cream-line); }

/* ==========================================================================
   1.67.0 "Where the build is up to" (whp_build_timeline): the coming soon
   page's The build panel, and the full site's Facilities before opening.
   Done: a tick. Now: a live dot. Next: quieter. Always on forest.
   Not in the static prototype (css/): WordPress only.
   ========================================================================== */
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.tl__stage {
  position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr);
  gap: clamp(0.9rem, 2vw, 1.25rem); align-items: start;
  padding-bottom: clamp(1.15rem, 2.4vw, 1.6rem);
}
.tl__stage:last-child { padding-bottom: 0; }
/* The rule joining each mark to the next one. */
.tl__stage:not(:last-child)::before {
  content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px;
  background: rgba(254, 246, 231, 0.16);
}
.tl__stage--done:not(:last-child)::before { background: var(--olive-lt); opacity: 0.75; }
.tl__mark {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid rgba(254, 246, 231, 0.28); color: var(--forest); background: transparent;
}
.tl__mark svg { width: 15px; height: 15px; }
.tl__stage--done .tl__mark { background: var(--olive-lt); border-color: var(--olive-lt); }
.tl__stage--now .tl__mark { border-color: var(--olive-lt); }
.tl__stage--now .tl__mark i {
  width: 10px; height: 10px; border-radius: 50%; background: var(--olive-lt);
  box-shadow: 0 0 0 0 rgba(143, 166, 97, 0.6); animation: tl-pulse 2.2s var(--ease) infinite;
}
@keyframes tl-pulse { 0% { box-shadow: 0 0 0 0 rgba(143, 166, 97, 0.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(143, 166, 97, 0); } }
.tl__words { padding-top: 2px; min-width: 0; }
.tl__name {
  margin: 0; font-family: var(--font); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.125rem, 1.7vw, 1.4rem); line-height: 1.12; letter-spacing: 0.01em; color: var(--cream);
  overflow-wrap: anywhere;
}
.tl__meta {
  margin: 0.4rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.55rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: rgba(254, 246, 231, 0.62); line-height: 1.5;
}
.tl__when::before { content: "\00b7"; margin-right: 0.55rem; opacity: 0.8; }
.tl__stage--done .tl__status { color: var(--olive-lt); }
.tl__stage--now .tl__status { color: var(--olive-lt); }
.tl__stage--now .tl__meta { color: var(--cream); }
.tl__stage--next .tl__name { color: rgba(254, 246, 231, 0.58); }
.tl__stage--next .tl__meta { color: rgba(254, 246, 231, 0.46); }
@media (prefers-reduced-motion: reduce) { .tl__stage--now .tl__mark i { animation: none; } }

/* Full site, Facilities, before opening: the same stages in a forest panel. */
.buildpanel {
  margin-top: clamp(2rem, 4vw, 3rem); background: var(--forest); color: var(--cream);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start;
  box-shadow: 0 30px 60px -40px rgba(9, 37, 24, 0.6);
}
.buildpanel__head .eyebrow { color: var(--olive-lt); }
.buildpanel__title {
  margin: 0.9rem 0 0; font-family: var(--font); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.02; letter-spacing: var(--tr-display, -0.01em); color: var(--cream);
}
.buildpanel__body { margin: 1rem 0 0; color: rgba(254, 246, 231, 0.72); line-height: 1.55; max-width: 40ch; }
@media (max-width: 760px) { .buildpanel { grid-template-columns: minmax(0, 1fr); } }
