/* Public legal pages: no JavaScript, no external assets, readable on a phone. */
:root {
  --paper: #f7f5ee;
  --card: #ffffff;
  --ink: #17191c;
  --graphite: #4c5157;
  --rule: #dedbd2;
  --accent: #176b3a;
  --focus: #0e76c4;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14161a;
    --card: #1b1e23;
    --ink: #f4f2ec;
    --graphite: #c3c7cc;
    --rule: #31353c;
    --accent: #7fd3a0;
    --focus: #64cbf7;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--card);
  padding: 0.5rem 1rem;
}
.skip:focus { left: 0; z-index: 10; }

.site-header,
.site-footer,
main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

.brand { margin: 0; font-weight: 700; letter-spacing: 0.01em; }
.brand a { color: var(--ink); text-decoration: none; }

.site-header nav { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.95rem; }
.site-header nav a { color: var(--graphite); text-decoration: none; }
.site-header nav a:hover { color: var(--accent); text-decoration: underline; }

main { padding-top: 2rem; padding-bottom: 3rem; }

.kicker {
  margin: 0 0 0.5rem;
  color: var(--graphite);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.2; margin: 0 0 0.75rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.6rem; }
h3, h4, h5, h6 { font-size: 1rem; margin: 1.5rem 0 0.5rem; }

.meta, .language { color: var(--graphite); font-size: 0.9rem; margin: 0 0 1rem; }
.language a { color: var(--graphite); }

.lede { font-size: 1.05rem; color: var(--graphite); margin: 0 0 1.5rem; }

.document { margin-top: 1.5rem; }
.document p { margin: 0 0 0.9rem; }

.clause { display: flex; gap: 0.6rem; align-items: baseline; }
.clause-label { flex: 0 0 2.4rem; font-weight: 700; color: var(--ink); }
.clause-body { flex: 1 1 auto; min-width: 0; }

.document ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.document li { margin-bottom: 0.35rem; }

.note {
  margin: 0 0 1.25rem;
  padding: 0.6rem 0 0.6rem 1rem;
  border-left: 3px solid var(--rule);
  color: var(--graphite);
  font-style: italic;
}
.note p { margin: 0; }

.index { list-style: none; padding: 0; margin: 0 0 2rem; }
.index li { border-bottom: 1px solid var(--rule); }
.index a { display: block; padding: 0.9rem 0; font-size: 1.05rem; text-decoration: none; }
.index a:hover { text-decoration: underline; }

.changelog { margin-top: 1.5rem; }

.release {
  margin-bottom: 0.75rem;
  padding: 0 1rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--card);
}

.release summary { padding: 0.85rem 0; cursor: pointer; }
.release summary::marker { color: var(--graphite); }

.release-version { font-weight: 700; }

.release-current {
  margin-left: 0.4rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--card);
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: 0.1em;
}

.release-date { float: right; color: var(--graphite); font-size: 0.9rem; }

.release ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.release li { margin-bottom: 0.35rem; }

.site-footer {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--rule);
  color: var(--graphite);
  font-size: 0.9rem;
}
.site-footer p { margin: 0 0 0.5rem; }
.site-footer .fine { font-size: 0.85rem; }

@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header nav, .language, .skip { display: none; }
  a { color: #000; }
}

/* ---------------------------------------------------------------- front page
   The club's public front page. It is mobile-first and committed to the app's
   own world: cool chalk paper, the deep navy of the next-match card, court blue
   for actions, the open-match lime and the ball yellow. Display type is a
   self-hosted Archivo, so the page does not depend on a third-party font host.
   Motion is CSS only (the page ships without JavaScript): the hero draws its
   court and scroll reveals run only where the browser supports scroll-driven
   animation. Everything is visible without them. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 400 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("fonts/archivo-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body.public {
  color-scheme: light;
  --ink: #0b1b2b;
  --ink-2: #123f63;
  --chalk: #eef3f9;
  --chalk-deep: #dee7f1;
  --graphite: #3e4c5f;
  --graphite-soft: #4f6076;
  --line: #cbd8e6;
  --court: #1f6fb2;
  --lime: #a0ff61;
  --ball: #ffd21c;
  --on-ink: #e7eef6;
  --on-ink-soft: #b9c8d8;
  --focus: #0e76c4;
  --display: 'Archivo', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --body: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --band: radial-gradient(ellipse at 50% 0%, #244e61 0%, #123047 58%);
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Front-page colours sampled from the club logo. */
body.public--home {
  --brand-yellow: #ffe327;
  --lime: var(--brand-yellow);
  --ball: var(--brand-yellow);
  --brand-blue: #1f6fb2;
  --focus: var(--brand-blue);
}

body.public main { max-width: none; margin: 0; padding: 0; }

body.public ::selection { background: var(--lime); color: var(--ink); }
body.public a { color: var(--court); }
body.public :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
body.public img { max-width: 100%; }
body.public h2 { text-wrap: balance; }
body.public p { text-wrap: pretty; }

@media (prefers-reduced-motion: no-preference) {
  html:has(body.public) { scroll-behavior: smooth; }
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--card);
  padding: 0.5rem 1rem;
}
.skip:focus { left: 0; z-index: 100; }
body.public .skip { background: var(--chalk); color: var(--ink); }

body.public .wrap {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

/* ------------------------------------------------------------------- header */
body.public .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--chalk);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.6rem;
}

body.public .brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand img { display: block; width: auto; height: 2.65rem; border-radius: 0.35rem; }
.brand__text {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 0.82rem;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

body.public .site-nav { display: none; }
body.public .lang { display: none; }

.header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.3rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 1.05em; height: 1.05em; flex: none; }
.btn--small { padding: 0.62rem 0.95rem; font-size: 0.78rem; }
body.public .btn--primary { background: var(--lime); color: var(--ink); }
body.public .btn--ink { background: var(--ink); color: var(--chalk); }
body.public--home .btn--ink { background: var(--brand-blue); color: #fff; }
body.public .btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--chalk); }
body.public .btn--outline { border-color: var(--ink); color: var(--ink); }

@media (hover: hover) {
  .btn--primary:hover { background: #8ff04f; }
  .btn--ink:hover { background: #173350; }
  .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
  .btn--outline:hover { background: var(--ink); color: var(--lime); }
  body.public--home .btn--primary:hover { background: #f3d619; }
  body.public--home .btn--ink:hover { background: #175c97; }
}

/* --------------------------------------------------------------------- hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(36rem, 94svh, 56rem);
  padding-block: clamp(5rem, 14vh, 9rem) clamp(2.5rem, 7vh, 4.5rem);
  overflow: hidden;
  background: var(--ink);
  color: var(--chalk);
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 27, 43, 0.1) 0%, rgba(11, 27, 43, 0.38) 44%, rgba(11, 27, 43, 0.9) 100%),
    linear-gradient(90deg, rgba(11, 27, 43, 0.72) 0%, rgba(11, 27, 43, 0.24) 62%, rgba(11, 27, 43, 0.02) 100%);
}

.hero__inner { position: relative; z-index: 1; width: 100%; }

.hero__title {
  margin: 0 0 1.25rem;
  max-width: 15ch;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2.9rem, 13.2vw, 8.4rem);
  line-height: 0.87;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.hero__title em { font-style: italic; color: var(--lime); font-weight: 800; }

.hero__lede {
  max-width: 35rem;
  margin: 0;
  font-size: clamp(1.02rem, 2.4vw, 1.28rem);
  line-height: 1.5;
  color: var(--on-ink);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1.3rem 0 0;
  font-size: 0.84rem;
  color: var(--on-ink-soft);
}
.hero__note .icon { width: 1rem; height: 1rem; color: var(--lime); }

body.public .hero :focus-visible { outline-color: var(--lime); }

/* ------------------------------------------------------------------- ticker */
.ticker {
  position: relative;
  overflow: hidden;
  background: var(--lime);
  color: var(--ink);
  border-block: 2px solid var(--ink);
}
.public--home .ticker {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}
.public--home .ticker__seed { background: var(--brand-yellow); }
.ticker__track {
  display: flex;
  width: max-content;
  padding-block: 0.7rem;
}
.ticker__set { display: flex; align-items: center; }
.ticker__set > span {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 108%;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__seed {
  width: 0.45rem;
  height: 0.45rem;
  margin-inline: 1.35rem;
  border-radius: 50%;
  background: var(--ink);
  flex: none;
}

/* ----------------------------------------------------------------- sections */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }

.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head .lede { margin-top: 0.9rem; }

body.public .lede {
  color: var(--graphite);
  font-size: clamp(1rem, 2.3vw, 1.14rem);
  line-height: 1.6;
  margin: 0;
}

body.public h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 106%;
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.028em;
}

/* ------------------------------------------------------------------- what */
.what { background: var(--chalk); }

.what__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.what__media {
  position: relative;
  width: min(19rem, 72vw);
  margin-inline: auto;
}
.what__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 1.6rem;
  background: #e8f1f8;
  box-shadow: 0 24px 60px -32px rgba(11, 27, 43, 0.55);
}

.what__copy h2 { margin-bottom: 1.1rem; }

.facts {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.facts li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.85rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line);
}
.facts .icon { width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; color: var(--court); }
.facts h3 {
  margin: 0 0 0.1rem;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.facts p { margin: 0; color: var(--graphite-soft); font-size: 0.94rem; line-height: 1.5; }

/* ------------------------------------------------------------------ steps */
/* The steps intro runs to the top-right on a phone, so this band's pale corner
   stays small and in the bottom padding instead of behind the copy. */
.steps { background: var(--band); color: var(--chalk); }
body.public .steps .lede { color: var(--on-ink-soft); }
.steps h2 { color: var(--chalk); }

.steps__list {
  list-style: none;
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.step {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.step h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 104%;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.step p { margin: 0; max-width: 27rem; color: var(--on-ink-soft); }
body.public .steps :focus-visible { outline-color: var(--lime); }

/* ---------------------------------------------------------------- gallery */
.gallery { background: var(--chalk); padding-bottom: clamp(3rem, 6vw, 5rem); }
.gallery h2 { margin-bottom: 2rem; }

.gallery__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 22rem);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.9rem;
  scrollbar-width: thin;
  scrollbar-color: var(--court) transparent;
}
.gallery__grid::-webkit-scrollbar { height: 6px; }
.gallery__grid::-webkit-scrollbar-thumb { background: var(--court); border-radius: 999px; }

.shot {
  position: relative;
  min-height: 19rem;
  margin: 0;
  overflow: hidden;
  border-radius: 1.15rem;
  background: var(--chalk-deep);
  scroll-snap-align: start;
}
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 3rem 1.1rem 1rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  background: linear-gradient(transparent, rgba(11, 27, 43, 0.88));
}

/* ---------------------------------------------------------------- offers */
.offers { background: var(--chalk); }
.offers__grid { display: grid; gap: 1.25rem; }

.panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 26rem;
  overflow: hidden;
  border-radius: 1.25rem;
  color: #fff;
}
.panel img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 27, 43, 0.02) 22%, rgba(11, 27, 43, 0.9) 100%);
}
.panel__body { padding: clamp(1.3rem, 4vw, 2.4rem); max-width: 34rem; }
.panel--classes img { object-position: 50% 42%; }
.panel h2 { color: #fff; margin-bottom: 0.7rem; }
.panel p { margin: 0; color: #dce9f5; font-size: 0.98rem; }

body.public .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid color-mix(in srgb, var(--lime) 50%, transparent);
  color: var(--lime);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 200ms var(--ease-out); }
.panel :focus-visible { outline-color: var(--lime); }

@media (hover: hover) {
  .panel:hover img { transform: scale(1.045); }
  .link-arrow:hover .icon { transform: translateX(3px); }
}

/* -------------------------------------------------------------------- app */
.app { background: var(--chalk-deep); }

.app__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
.app h2 { margin-bottom: 1.1rem; }

.app__features {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin: 1.7rem 0 0;
  padding: 0;
}
.app__features li { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 600; }
.app__features .icon { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; flex: none; color: var(--court); }

.app__note { margin: 1.5rem 0 0; font-size: 0.88rem; color: var(--graphite-soft); }

.app__phone {
  position: relative;
  justify-self: center;
  width: min(16.5rem, 68vw);
  aspect-ratio: 620 / 1102;
  overflow: hidden;
  border: 9px solid var(--ink);
  border-radius: 2.4rem;
  background: var(--ink);
  box-shadow: 0 30px 70px -30px rgba(11, 27, 43, 0.6);
}
.app__phone::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 50%;
  z-index: 2;
  width: 32%;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--ink);
  transform: translateX(-50%);
}
.app__phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.8rem;
}

/* ------------------------------------------------------------------ where */
.where { background: var(--band); color: var(--chalk); }
.where__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
.where h2 { color: var(--chalk); }
body.public .where .lede { color: var(--on-ink-soft); margin-top: 1.1rem; }
.where__address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.6rem 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 104%;
  font-size: clamp(1.12rem, 2.6vw, 1.5rem);
  letter-spacing: -0.01em;
}
.where__address .icon { width: 1.35rem; height: 1.35rem; color: var(--lime); flex: none; }
.where__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.where__map {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.1rem;
}
.where__map img { display: block; width: 100%; height: auto; filter: saturate(0.92); }
body.public .where :focus-visible { outline-color: var(--lime); }

/* ------------------------------------------------------------- calendar teaser */
.calendar-teaser { background: var(--band); color: var(--chalk); }
.calendar-teaser__inner { display: grid; gap: 1.5rem; align-items: center; }
.calendar-teaser h2 { color: var(--chalk); }
body.public .calendar-teaser .lede { color: var(--on-ink-soft); margin-top: 0.8rem; }
.calendar-teaser .btn { justify-self: start; }
body.public .calendar-teaser :focus-visible { outline-color: var(--lime); }

/* ----------------------------------------------------------------- prices */
.prices { background: var(--chalk-deep); }
.prices h2 { margin-bottom: 1rem; }
.prices__grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.price-card {
  padding: 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.price-card h3 {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table th,
.price-table td { padding: 0.7rem 0; border-top: 1px solid var(--line); vertical-align: baseline; }
.price-table tr:first-child th,
.price-table tr:first-child td { border-top: 0; }
.price-table th { text-align: left; font-size: 0.92rem; font-weight: 600; color: var(--graphite); }
.price-table td { text-align: right; white-space: nowrap; }
.price-table strong { font-family: var(--display); font-size: 1.05rem; }
.price-table td span { display: block; font-size: 0.72rem; font-weight: 400; color: var(--graphite-soft); }
.prices__note { margin: 1.2rem 0 1.5rem; font-size: 0.88rem; color: var(--graphite-soft); }

/* ------------------------------------------------------------ calendar page */
.page-head {
  padding-block: clamp(4rem, 10vw, 7rem) clamp(3rem, 7vw, 5rem);
  background: var(--band);
  color: var(--chalk);
}
.page-head h1 {
  margin: 0 0 1.2rem;
  max-width: 14ch;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2.6rem, 9vw, 6rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}
body.public .page-head .lede { max-width: 42rem; color: var(--on-ink-soft); }

.calendar-page { background: var(--chalk); }

.calendar-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
}
.calendar-range {
  flex: 1;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: capitalize;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
}
.calendar-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.calendar-nav--next { flex-direction: row; }
.calendar-nav:hover:not(:disabled) { border-color: var(--court); }
.calendar-nav:disabled { opacity: 0.38; cursor: default; }
.calendar-nav .icon { width: 1rem; height: 1rem; }
body.public .calendar-nav:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.calendar-shell {
  overflow-x: auto;
  padding: 0.35rem;
  background: var(--chalk);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
}
.calendar-status { margin: 1rem; color: var(--graphite); }
.calendar-status.is-error { color: #8a2b2b; }
.calendar-status[hidden] { display: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.calendar { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; }
.calendar th,
.calendar td { padding: 0; }
.calendar__corner { width: 2.1rem; }
.calendar__day {
  padding: 0.3rem 0.1rem 0.45rem;
  font-family: var(--display);
  font-weight: 700;
  color: var(--graphite);
  text-align: center;
}
.calendar__weekday {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.calendar__date {
  display: block;
  font-size: 0.95rem;
  line-height: 1.15;
  color: var(--ink);
}
.calendar__day.is-today .calendar__date {
  color: var(--court);
}
.calendar__hour {
  width: 2.1rem;
  padding-right: 0.2rem;
  background: var(--chalk);
  color: var(--graphite-soft);
  font-size: 0.62rem;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
  vertical-align: middle;
}
.calendar__cell {
  height: 2.1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}
.calendar__cell.is-reserved { background: var(--graphite); border-color: var(--graphite); }
.calendar__cell.is-class { background: #8fd3a8; border-color: #7fc696; }
.calendar__cell.is-open { background: var(--lime); border-color: #7fd94a; }
.calendar__cell.is-closed,
.calendar__cell.is-unknown { background: var(--chalk-deep); color: var(--graphite-soft); }
.calendar__cell.is-past { background: var(--chalk-deep); border-color: var(--line); }
.calendar__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.1rem 0.05rem;
  border-radius: 3px;
  color: var(--ink);
  font-size: 0.68rem;
  font-stretch: 78%;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-wrap: balance;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  text-decoration: none;
}
.calendar__cell.is-reserved .calendar__mark { color: var(--chalk); font-weight: 500; }
.calendar__cell.is-closed .calendar__mark,
.calendar__cell.is-past .calendar__mark,
.calendar__cell.is-unknown .calendar__mark { color: var(--graphite-soft); font-weight: 500; }
.calendar__mark[href]:hover { outline: 2px solid var(--court); outline-offset: 1px; }
.calendar-help,
.calendar-hours { margin: 0.9rem 0 0; font-size: 0.88rem; color: var(--graphite-soft); }
.calendar-price-note { color: var(--graphite); }

.slot-modal {
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.slot-modal::backdrop { background: rgba(9, 26, 41, 0.55); }
.slot-modal__panel {
  position: relative;
  width: min(30rem, calc(100vw - 2rem));
  padding: 2.1rem 2rem 2rem;
  border-radius: 1.25rem;
  background: var(--chalk);
  box-shadow: 0 24px 60px rgba(9, 26, 41, 0.3);
}
.slot-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--graphite);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.slot-modal__close:hover { background: var(--chalk-deep); color: var(--ink); }
.slot-modal__when {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 4.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.slot-modal__state { margin: 0 0 1.5rem; font-size: 1rem; color: var(--graphite); }
.slot-modal__actions { display: grid; gap: 0.7rem; }
.slot-modal__actions .btn { justify-content: center; padding-block: 1.05rem; font-size: 1rem; }
.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff;
  border: 1.5px solid #25d366;
  color: var(--ink);
}
.btn--whatsapp .icon { width: 1.15rem; height: 1.15rem; color: #25d366; }
body.public .slot-modal :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 34rem) {
  .calendar-bar { flex-wrap: wrap; row-gap: 0.45rem; }
  .calendar-nav { padding: 0.45rem 0.6rem; font-size: 0.75rem; }
  .calendar-nav .icon { width: 0.85rem; height: 0.85rem; }
  .calendar-range { order: 3; flex: 1 0 100%; font-size: 1rem; }
  .calendar-nav--next { margin-left: auto; }
}
@media (min-width: 48rem) {
  .calendar__mark { font-size: 0.8rem; font-stretch: 100%; }
  .calendar__hour { font-size: 0.72rem; }
  .calendar__cell { height: 2.4rem; }
  .calendar__weekday { font-size: 0.68rem; }
  .calendar__date { font-size: 1.05rem; }
}
.calendar-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
body.public .calendar-actions :focus-visible { outline-color: var(--focus); }

/* ---------------------------------------------------------------- closing */
.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7rem);
  background: var(--chalk);
  color: var(--ink);
}
.closing__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.closing__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.7) 48%, rgba(255, 255, 255, 0.22) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.28) 100%);
}
.closing__inner { position: relative; z-index: 1; }
.closing h2 {
  margin-bottom: 1rem;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(3rem, 11vw, 7rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
body.public .closing .lede { color: rgba(11, 27, 43, 0.82); }
.closing__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
body.public .closing :focus-visible { outline-color: var(--ink); }

/* ----------------------------------------------------------------- footer */
body.public .site-footer--landing {
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--on-ink-soft);
  border: 0;
}
.footer__grid {
  display: grid;
  gap: 2rem;
  padding-block: 3rem;
}
.footer__brand img { display: block; margin-bottom: 1rem; border-radius: 0.4rem; }
.footer__brand p { margin: 0; font-size: 0.88rem; max-width: 22rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.55rem; }
body.public .footer__links a { color: var(--chalk); font-size: 0.88rem; text-decoration: none; }
body.public .footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lang--footer { display: flex; gap: 1rem; font-size: 0.88rem; }
body.public .lang--footer a { color: var(--on-ink-soft); text-decoration: none; }
body.public .lang--footer a:hover { color: var(--chalk); }

/* ------------------------------------------------------------- responsive */
@media (min-width: 40rem) {
  .facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.75rem; }
  .facts li:nth-last-child(-n+2) { border-bottom: 0; }

  body.public .site-nav { display: flex; gap: 1.25rem; margin-inline: 1rem 0.5rem; }
  body.public .site-nav a { color: var(--ink); font-size: 0.86rem; font-weight: 600; text-decoration: none; }
  body.public .site-nav a:hover { color: var(--court); }
}

@media (min-width: 52rem) {
  .calendar-teaser__inner { grid-template-columns: 1fr auto; gap: 3rem; }
  .prices__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 60rem) {
  body.public .site-nav { gap: 1.5rem; }
  body.public .lang { display: flex; gap: 0.8rem; }
  body.public .lang a {
    color: var(--graphite-soft);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
  }
  body.public .lang a:hover { color: var(--court); }

  .hero__title { max-width: 13ch; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(11, 27, 43, 0.06) 0%, rgba(11, 27, 43, 0.26) 38%, rgba(11, 27, 43, 0.88) 100%),
      linear-gradient(90deg, rgba(11, 27, 43, 0.78) 0%, rgba(11, 27, 43, 0.3) 55%, rgba(11, 27, 43, 0.01) 100%);
  }

  .what__grid { grid-template-columns: 0.85fr 1.15fr; }
  .what__media { width: min(21rem, 100%); }
  .what__photo { aspect-ratio: 9 / 16; }

  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 2.25rem; }

  .gallery__grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 15.5rem);
    gap: 1.25rem;
    overflow: visible;
    padding-bottom: 0;
  }
  .shot--venue { grid-column: span 7; grid-row: span 2; }
  .shot--community { grid-column: span 5; grid-row: span 2; }

  .offers__grid { grid-template-columns: 1.08fr 0.92fr; align-items: start; }
  .panel--classes, .panel--matches { min-height: 35rem; }

  .app__grid { grid-template-columns: 1.1fr 0.9fr; }
  .app__copy { max-width: 34rem; }
  .app__phone { width: 17.5rem; }

  .where__grid { grid-template-columns: 1.02fr 0.98fr; }

  .footer__grid { grid-template-columns: 1.3fr 1fr auto; align-items: start; }
}

/* ---------------------------------------------------------------- motion */
@keyframes headerGrow {
  from { padding-block: 1.15rem; }
  to { padding-block: 0.6rem; }
}
@keyframes logoGrow {
  from { height: 5.3rem; }
  to { height: 2.65rem; }
}
@keyframes brandGrow {
  from { font-size: 1.08rem; }
  to { font-size: 0.82rem; }
}
@keyframes headerButtonGrow {
  from { padding: 0.8rem 1.15rem; font-size: 0.9rem; }
  to { padding: 0.62rem 0.95rem; font-size: 0.78rem; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}
@keyframes floatPhone {
  from { transform: translateY(-6px); }
  to { transform: translateY(6px); }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__photo { animation: heroZoom 1.8s var(--ease-out) both; }
  .hero__title { animation: rise 900ms var(--ease-out) 80ms both; }
  .hero__lede { animation: rise 900ms var(--ease-out) 200ms both; }
  .hero__actions { animation: rise 900ms var(--ease-out) 310ms both; }
  .hero__note { animation: rise 900ms var(--ease-out) 410ms both; }


  .ticker__track { animation: ticker 28s linear infinite; }
  .app__phone { animation: floatPhone 6s var(--ease-in-out) infinite alternate; }

  @supports (animation-timeline: scroll()) {
    .header__inner {
      animation: headerGrow linear both;
      animation-timeline: scroll();
      animation-range: 0 90px;
    }
    .brand img {
      animation: logoGrow linear both;
      animation-timeline: scroll();
      animation-range: 0 90px;
    }
    .brand__text {
      animation: brandGrow linear both;
      animation-timeline: scroll();
      animation-range: 0 90px;
    }
    body.public .header__actions .btn--small {
      animation: headerButtonGrow linear both;
      animation-timeline: scroll();
      animation-range: 0 90px;
    }
  }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry calc(3% + var(--i, 0) * 3%) cover calc(24% + var(--i, 0) * 3%);
    }
  }
}

@media (hover: hover) {
  .ticker:hover .ticker__track { animation-play-state: paused; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__set--dup { display: none; }
  .ticker__track { padding-block: 0.75rem; }
  .reveal { opacity: 1; transform: none; }
  .gallery__grid { scroll-behavior: auto; }
}

@media print {
  body.public .site-header, .ticker { display: none; }
  body.public { background: #fff; color: #000; }
}

.public-class-list { margin-block: 1rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.public-class-list h2 { width: 100%; margin: 0; }
.public-class-modal .slot-modal__panel { max-height: 85dvh; overflow: auto; }
.public-class-modal label { display: grid; gap: .25rem; margin-block: .7rem; }
.public-class-modal input { width: 100%; padding: .6rem; font: inherit; }
.public-class-photo { display: block; width: 100%; max-height: 240px; object-fit: cover; border-radius: .6rem; }
button.calendar__mark { background: transparent; border: 0; cursor: pointer; overflow: hidden; }
