/* ============================================================================
   SPORTS CLUB DC — PADEL 001
   Design system. Tokens are the brief's palette, verbatim.
   ========================================================================= */

@font-face {
  font-family: 'Jost';
  src: url('/fonts/jost-var.woff2') format('woff2-variations');
  font-weight: 200 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:        #181918;
  --surface:   #292A28;
  --text:      #EEEAE2;
  --secondary: #C8C0B3;
  --accent:    #777B6C;
  /* Small text in the accent would sit at 4.06:1 on the background, under the
     4.5:1 AA floor. This is the same hue lightened until it clears AA on both
     the background (5.50:1) and the surface (4.50:1). The accent itself stays
     for rules, the court art and anything non-text. See DECISIONS.md D9. */
  --accent-text: #8D9280;

  /* Rules and edges. Surface vs bg is only 1.22:1, so edges are always lines. */
  --line:        rgba(238, 234, 226, 0.13);
  --line-strong: rgba(238, 234, 226, 0.26);
  --line-faint:  rgba(238, 234, 226, 0.07);

  --ff: 'Jost', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Fluid type. Headlines are 200 weight, uppercase, widely tracked. */
  --fs-display: clamp(3.1rem, 15.5vw, 12rem);
  --fs-h1:      clamp(2.1rem, 8.2vw, 5.4rem);
  --fs-h2:      clamp(1.7rem, 6vw, 3.6rem);
  --fs-h3:      clamp(1.12rem, 3.4vw, 1.7rem);
  --fs-lead:    clamp(1.05rem, 2.5vw, 1.35rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.6875rem;

  --tr-display: 0.12em;
  --tr-head:    0.16em;
  --tr-eyebrow: 0.28em;

  --gut:      clamp(1.25rem, 5vw, 5rem);
  --sec-y:    clamp(4.5rem, 11vw, 10.5rem);
  --measure:  38ch;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: 900ms;

  --bar-h: 4.25rem;   /* mobile sticky CTA bar */
  --nav-h: 4rem;
}

/* ── reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1.5rem); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--secondary);
  font-family: var(--ff);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--text); text-decoration: none; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

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

::selection { background: var(--text); color: var(--bg); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 0.75rem; top: -4rem; z-index: 200;
  background: var(--text); color: var(--bg);
  padding: 0.75rem 1.1rem;
  font-size: var(--fs-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 0.75rem; }

/* ── film grain + material ───────────────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background-image: url('/assets/grain.png');
  background-size: 128px 128px;
  opacity: 0.042;
  mix-blend-mode: overlay;
}

/* The stone is the material: hero, final CTA, nothing else. */
.stone {
  position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none;
}
.stone img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55;
}
.stone::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 85% at 50% 22%, rgba(119, 123, 108, 0.10), transparent 62%),
    linear-gradient(to bottom, rgba(24, 25, 24, 0.72), rgba(24, 25, 24, 0.90) 55%, var(--bg));
}

/* ── typography utilities ────────────────────────────────────────────────── */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--secondary);
  margin-right: calc(-1 * var(--tr-eyebrow));
}
.eyebrow--accent { color: var(--accent-text); font-size: 0.75rem; }

.h-display, .h1, .h2, .h3 {
  font-weight: 200;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.02;
  text-wrap: balance;
}
.h-display {
  font-size: var(--fs-display);
  letter-spacing: var(--tr-display);
  margin-right: calc(-1 * var(--tr-display));
}
.h1 { font-size: var(--fs-h1); letter-spacing: var(--tr-head); margin-right: calc(-1 * var(--tr-head)); line-height: 1.08; }
.h2 { font-size: var(--fs-h2); letter-spacing: var(--tr-head); margin-right: calc(-1 * var(--tr-head)); line-height: 1.1; }
.h3 { font-size: var(--fs-h3); letter-spacing: 0.14em; margin-right: -0.14em; line-height: 1.25; }
/* Used where a headline sits in a half-width column. */
.h1--split { font-size: clamp(2rem, 6.4vw, 3.5rem); }

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--secondary); max-width: 34ch; font-weight: 300; }
.body { max-width: var(--measure); }
.muted { color: var(--accent-text); }
.ivory { color: var(--text); }
.small { font-size: var(--fs-small); line-height: 1.65; }
.nowrap { white-space: nowrap; }

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* ── layout ──────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: 78rem; margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 56rem; }
section { position: relative; }
.section { padding-block: var(--sec-y); }
.section--tight { padding-block: clamp(3rem, 7vw, 6rem); }
.rule { border-top: 1px solid var(--line); }
.rule-faint { border-top: 1px solid var(--line-faint); }

.section-head { display: grid; gap: clamp(1.1rem, 2.4vw, 1.6rem); }
.section-head .eyebrow { color: var(--accent-text); }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 320ms var(--ease), border-color 320ms var(--ease), background-color 320ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn > span { position: relative; z-index: 1; margin-right: -0.2em; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: var(--text);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 420ms var(--ease);
}
.btn:hover:not([disabled])::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover:not([disabled]), .btn:focus-visible { color: var(--bg); border-color: var(--text); }
.btn--primary { --btn-bg: var(--text); --btn-fg: var(--bg); --btn-bd: var(--text); }
.btn--primary::before { background: transparent; }
.btn--primary:hover:not([disabled]), .btn--primary:focus-visible {
  color: var(--bg); background: var(--secondary); border-color: var(--secondary);
}
.btn--ghost { --btn-bd: var(--line); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.45; cursor: not-allowed; }
.btn[disabled]::before { display: none; }
.btn--soldout { --btn-bd: var(--line); color: var(--accent-text); cursor: default; }
.btn--soldout::before { display: none; }

.link-u {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 260ms var(--ease);
}
.link-u:hover, .link-u:focus-visible { border-color: var(--text); }

/* ── navigation ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background-color 420ms var(--ease), border-color 420ms var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(24, 25, 24, 0.88);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line-faint);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.wordmark {
  font-size: 0.75rem; font-weight: 300; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--text); margin-right: -0.42em; white-space: nowrap;
  transition: opacity 260ms var(--ease);
}
.wordmark:hover { opacity: 0.72; }
.nav__links { display: none; }
.nav__cta { display: none; }

.hamburger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; padding: 0 10px;
}
.hamburger span {
  display: block; height: 1px; width: 24px; background: var(--text);
  transition: transform 340ms var(--ease), opacity 200ms var(--ease);
}
.hamburger[aria-expanded='true'] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.hamburger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 79;
  background: var(--bg);
  display: grid; align-content: center;
  padding: var(--nav-h) var(--gut) calc(var(--bar-h) + 2rem);
  opacity: 0; visibility: hidden;
  transition: opacity 420ms var(--ease), visibility 0s linear 420ms;
}
.menu[data-open='true'] { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu__list { display: grid; gap: 0.35rem; }
.menu__list a {
  display: block; padding: 0.55rem 0;
  font-size: clamp(1.7rem, 8vw, 2.6rem); font-weight: 200; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--text);
  opacity: 0; transform: translateY(14px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease), color 240ms var(--ease);
}
.menu[data-open='true'] .menu__list a { opacity: 1; transform: none; }
.menu[data-open='true'] .menu__list a:nth-child(1) { transition-delay: 60ms; }
.menu[data-open='true'] .menu__list a:nth-child(2) { transition-delay: 110ms; }
.menu[data-open='true'] .menu__list a:nth-child(3) { transition-delay: 160ms; }
.menu[data-open='true'] .menu__list a:nth-child(4) { transition-delay: 210ms; }
.menu[data-open='true'] .menu__list a:nth-child(5) { transition-delay: 260ms; }
.menu[data-open='true'] .menu__list a:nth-child(6) { transition-delay: 310ms; }
.menu__list a:hover { color: var(--secondary); }
.menu__foot { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line-faint); display: grid; gap: 0.5rem; }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: var(--nav-h);
  padding-bottom: calc(var(--bar-h) + 1rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__art {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: end center;
  pointer-events: none;
  padding-bottom: 7%;
  overflow: hidden;
}
.hero__art .court {
  width: min(120%, 470px);
  max-width: none;
  height: auto;
  color: var(--secondary);
  opacity: 0.26;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 88%, transparent);
}
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(130% 80% at 50% 20%, rgba(24,25,24,0.25), rgba(24,25,24,0.72) 58%, rgba(24,25,24,0.94)),
    linear-gradient(to bottom, rgba(24,25,24,0.55), rgba(24,25,24,0.35) 40%, var(--bg));
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; align-content: center; justify-items: center;
  text-align: center;
  gap: clamp(1.1rem, 2.6vw, 1.7rem);
  padding-block: clamp(1.5rem, 4vw, 3rem);
}
.hero__title { display: grid; gap: 0.6rem; justify-items: center; }
.hero__facts {
  display: grid; gap: 0.15rem;
  font-size: clamp(0.8125rem, 2.6vw, 1rem);
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--text);
  margin-right: -0.22em; font-weight: 300;
}
.hero__count {
  font-size: clamp(0.6875rem, 2.2vw, 0.8125rem);
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-text);
  margin-right: -0.24em;
}
.hero__ctas { display: grid; gap: 0.75rem; width: min(100%, 26rem); }
.hero__note {
  font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--secondary); margin-right: -0.3em;
}
.hero__scroll {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  padding-block: 1rem;
  font-size: 0.625rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-text);
}
.hero__scroll i { display: block; width: 1px; height: 2rem; background: linear-gradient(var(--accent), transparent); }

/* stroke reveal */
.court [class*='ct-'] {
  stroke: currentColor;
  fill: none;
  vector-effect: non-scaling-stroke;
}
.ct-line  { stroke-width: 1.1; opacity: 0.95; }
.ct-outer { stroke-width: 1.5; }
.ct-net   { stroke-width: 1.1; }
.ct-net--cord { stroke-width: 0.6; opacity: 0.45; }
.ct-glass { stroke-width: 0.9; opacity: 0.55; }
.ct-glass--soft { stroke-width: 0.6; opacity: 0.3; }
.ct-post  { fill: currentColor; stroke: none; }
.court--plan [class*='ct-'] { vector-effect: non-scaling-stroke; }

.js .court--draw path, .js .court--draw line, .js .court--draw rect {
  stroke-dasharray: var(--dash, 400);
  stroke-dashoffset: var(--dash, 400);
}
.js .court--draw.is-drawn path,
.js .court--draw.is-drawn line,
.js .court--draw.is-drawn rect {
  animation: draw 1700ms var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ── reveal on scroll ────────────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 90ms; }
.rv-d2 { transition-delay: 180ms; }
.rv-d3 { transition-delay: 270ms; }
.rv-d4 { transition-delay: 360ms; }

/* ── intro ───────────────────────────────────────────────────────────────── */
.intro { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.intro__copy { display: grid; gap: 1.4rem; max-width: 46ch; }
.intro__copy p { font-size: var(--fs-lead); line-height: 1.6; font-weight: 300; }
.intro__stay { color: var(--text); }
.pillars { display: grid; }
.pillar {
  display: grid; grid-template-columns: 3.25rem 1fr; align-items: baseline; gap: 0.5rem;
  padding-block: clamp(0.9rem, 2.2vw, 1.25rem);
  border-top: 1px solid var(--line-faint);
}
.pillar:last-child { border-bottom: 1px solid var(--line-faint); }
.pillar__n { font-size: 0.75rem; letter-spacing: 0.16em; color: var(--accent-text); }
.pillar__t {
  font-size: clamp(1.25rem, 5vw, 2.1rem); font-weight: 200; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--text); margin-right: -0.16em;
}

/* ── detail grid ─────────────────────────────────────────────────────────── */
.facts { display: grid; }
.fact {
  display: grid; gap: 0.4rem;
  padding-block: clamp(1.1rem, 2.6vw, 1.5rem);
  border-top: 1px solid var(--line-faint);
}
.facts .fact:last-child { border-bottom: 1px solid var(--line-faint); }
.fact__k { font-size: var(--fs-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--accent-text); margin-right: calc(-1 * var(--tr-eyebrow)); }
.fact__v { font-size: clamp(1rem, 3.2vw, 1.25rem); color: var(--text); letter-spacing: 0.09em; text-transform: uppercase; font-weight: 300; }
.fact__note { font-size: var(--fs-small); color: var(--accent-text); }

/* ── registration options ────────────────────────────────────────────────── */
.options { display: grid; gap: 1px; background: var(--line-faint); border-block: 1px solid var(--line-faint); }
.option {
  position: relative;
  background: var(--bg);
  padding: clamp(1.9rem, 5vw, 3.25rem) clamp(1.25rem, 3vw, 2.5rem);
  display: grid; gap: 1.5rem; align-content: start;
  transition: background-color 500ms var(--ease);
}
.option:hover { background: var(--surface); }
.option__head { display: grid; gap: 0.9rem; }
.option__price { display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; }
.option__amount { font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 200; color: var(--text); letter-spacing: 0.04em; line-height: 1; text-transform: uppercase; }
.option__per { font-size: var(--fs-small); color: var(--accent-text); letter-spacing: 0.16em; text-transform: uppercase; }
.option__list { display: grid; gap: 0.5rem; }
.option__list li { display: flex; gap: 0.75rem; align-items: baseline; font-size: var(--fs-body); }
.option__list li::before { content: ''; flex: 0 0 auto; width: 14px; height: 1px; background: var(--accent); transform: translateY(-0.4em); }
.option__foot { margin-top: auto; padding-top: 0.5rem; display: grid; gap: 0.7rem; }
.option__status { font-size: var(--fs-small); color: var(--accent-text); }
.option__status strong { color: var(--text); font-weight: 400; }

/* The live capacity notice speaks in the site's voice, not in a sentence. */
.statusline {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.85rem;
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--line-faint);
  font-size: var(--fs-small); color: var(--secondary);
}
.statusline__k {
  font-size: var(--fs-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: var(--text); margin-right: calc(-1 * var(--tr-eyebrow));
}

/* ── format progression ─────────────────────────────────────────────────── */
.format__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.bigstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-faint); border-block: 1px solid var(--line-faint); }
.bigstat { background: var(--bg); padding: clamp(1.25rem, 3.4vw, 2.25rem) 0.5rem; text-align: center; display: grid; gap: 0.4rem; }
.bigstat__n { font-size: clamp(2rem, 8vw, 3.75rem); font-weight: 200; color: var(--text); line-height: 1; letter-spacing: 0.02em; }
.bigstat__l { font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-text); margin-right: -0.24em; }

.progression { display: grid; gap: 0; counter-reset: stage; }
.stage {
  display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: center;
  padding-block: clamp(1rem, 2.6vw, 1.4rem);
  border-top: 1px solid var(--line-faint);
  position: relative;
}
.progression .stage:last-child { border-bottom: 1px solid var(--line-faint); }
.stage__dot { position: relative; height: 100%; display: grid; place-items: center; }
.stage__dot::before {
  content: ''; width: 7px; height: 7px; border: 1px solid var(--accent); background: var(--bg);
  position: relative; z-index: 1;
}
.stage__dot::after {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: var(--line); transform: translateX(-50%);
}
.stage:first-child .stage__dot::after { top: 50%; }
.progression .stage:last-child .stage__dot::after { bottom: 50%; }
.stage--final .stage__dot::before { background: var(--text); border-color: var(--text); }
.stage__label { font-size: clamp(1.05rem, 4.2vw, 1.6rem); font-weight: 200; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text); margin-right: -0.18em; }
.stage__meta { font-size: var(--fs-small); color: var(--accent-text); }
.stage--muted .stage__label { color: var(--secondary); }
.format__note { font-size: var(--fs-small); color: var(--accent-text); max-width: 44ch; }
.court-plan-wrap { border: 1px solid var(--line-faint); padding: clamp(1.25rem, 4vw, 2.5rem); background: var(--surface); }
.court-plan-wrap .court { color: var(--secondary); opacity: 0.75; width: 100%; }
.court-plan-cap { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-text); }

/* ── spectate / experience / prize ───────────────────────────────────────── */
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.mediaframe {
  position: relative; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line-faint);
  aspect-ratio: 4 / 3;
}
.mediaframe img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
.mediaframe:hover img { transform: scale(1.03); }
.mediaframe--art { display: grid; place-items: center; padding: clamp(1rem, 3vw, 1.75rem); aspect-ratio: 16 / 11; }
.mediaframe--art .court { width: 100%; color: var(--secondary); opacity: 0.68; }
.mediaframe--art::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 50% 15%, rgba(119,123,108,0.12), transparent 60%);
}

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  border: 1px solid var(--line); padding: 0.5rem 0.9rem;
  font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--secondary);
  margin-right: -0.22em;
}

.prize { text-align: center; display: grid; gap: clamp(1.25rem, 3vw, 2rem); justify-items: center; }
.prize__amount { font-size: clamp(2.6rem, 12vw, 6rem); font-weight: 200; color: var(--text); letter-spacing: 0.04em; line-height: 1; }
.prize__stack { display: grid; gap: 1.1rem; justify-items: center; }
.prize__line { font-size: clamp(1.15rem, 4.6vw, 2.3rem); font-weight: 200; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text); margin-right: -0.2em; }
.prize__plus { color: var(--accent-text); font-size: 1.4rem; line-height: 1; }

/* ── partners ────────────────────────────────────────────────────────────── */
.partners { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.partners__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-faint); border: 1px solid var(--line-faint); }
.partner {
  background: var(--bg); padding: clamp(1.4rem, 4vw, 2.25rem) 1rem;
  display: grid; gap: 0.7rem; place-items: center; text-align: center; min-height: 8rem;
  align-content: center;
}
.partner img { max-height: 2.5rem; width: auto; filter: grayscale(1) brightness(1.7) contrast(0.85); opacity: 0.8; transition: opacity 400ms var(--ease); }
.partner:hover img { opacity: 1; }
.partner__name { font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); margin-right: -0.16em; }
.partner__cat { font-size: 0.5625rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-text); margin-right: -0.24em; }
.partners__tba {
  font-size: clamp(1.1rem, 4vw, 1.9rem); font-weight: 200; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--secondary); margin-right: -0.22em;
  text-align: center; padding-block: clamp(2.5rem, 7vw, 4.5rem);
  border-block: 1px solid var(--line-faint);
}

/* ── club / what next ────────────────────────────────────────────────────── */
.next { display: flex; flex-wrap: wrap; gap: clamp(0.9rem, 2.6vw, 2rem) clamp(1.25rem, 4vw, 2.75rem); align-items: baseline; }
.next__item {
  font-size: clamp(1.35rem, 6vw, 2.75rem); font-weight: 200; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--accent-text); margin-right: -0.16em; line-height: 1.1;
}
.next__item--now { color: var(--text); }
.next__note { font-size: var(--fs-small); color: var(--accent-text); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line-faint); }
.faq__item { border-bottom: 1px solid var(--line-faint); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.15rem, 3vw, 1.6rem) 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-size: clamp(0.875rem, 3.4vw, 1.0625rem); font-weight: 300; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text); margin-right: -0.12em;
  transition: color 240ms var(--ease);
}
.faq__q:hover { color: var(--secondary); }
.faq__chev { flex: 0 0 auto; width: 12px; height: 12px; color: var(--accent-text); transition: transform 380ms var(--ease); }
.faq__q[aria-expanded='true'] .faq__chev { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease); }
.faq__a[data-open='true'] { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: clamp(1.15rem, 3vw, 1.6rem); max-width: 62ch; }

/* ── final CTA ───────────────────────────────────────────────────────────── */
.final { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.final .wrap { position: relative; z-index: 2; }
.final__inner { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); justify-items: center; padding-block: clamp(5rem, 13vw, 11rem); }
.final__date { font-size: clamp(1.1rem, 5vw, 2rem); font-weight: 200; letter-spacing: 0.3em; color: var(--secondary); margin-right: -0.3em; }
.final__ctas { display: grid; gap: 0.75rem; width: min(100%, 26rem); }

/* ── footer ──────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line-faint); padding-block: clamp(3rem, 7vw, 5rem) calc(var(--bar-h) + 2rem); }
.footer__top { display: grid; gap: 2.5rem; }
.footer__brand { display: grid; gap: 1rem; justify-items: start; }
.footer__lockup { width: 10.5rem; opacity: 0.95; }
.footer__tag { font-size: 0.6875rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-text); margin-right: -0.26em; }
.footer__nav { display: grid; gap: 1.75rem; }
.footer__col { display: grid; gap: 0.7rem; align-content: start; }
.footer__col h3, .footer__col .footer__h { font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-text); font-weight: 400; margin-right: -0.24em; }
.footer__col a, .footer__col span { font-size: var(--fs-small); color: var(--secondary); transition: color 240ms var(--ease); }
.footer__col a:hover { color: var(--text); }
.footer__bottom { margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line-faint); display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; }
.footer__bottom p { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); }

/* ── sticky mobile CTA bar ───────────────────────────────────────────────── */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 78;
  padding: 0.6rem var(--gut) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(24, 25, 24, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-faint);
  transform: translateY(110%);
  transition: transform 460ms var(--ease);
}
.bar.is-shown { transform: none; }
.bar .btn { min-height: 3.1rem; }

/* ── legal pages ─────────────────────────────────────────────────────────── */
.legal { padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5rem)); }
.draft-banner {
  border: 1px solid #C2564B; background: rgba(194, 86, 75, 0.09);
  color: #F0B4AC; padding: 1rem 1.25rem; margin-bottom: 2.5rem;
  font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.7;
}
.prose { max-width: 66ch; display: grid; gap: 1.2rem; }
.prose p { white-space: pre-wrap; }
.prose h2 { font-size: 1.1rem; letter-spacing: 0.14em; }

/* ── desktop ─────────────────────────────────────────────────────────────── */
@media (min-width: 720px) {
  .options { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; align-items: center; }
  .split--wide-left { grid-template-columns: 1.15fr 1fr; }
  .partners__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__nav { grid-template-columns: repeat(3, 1fr); }
  .hero__ctas { grid-template-columns: 1fr 1fr; width: auto; }
  .final__ctas { grid-template-columns: 1fr 1fr; width: auto; }
  .facts { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4rem); }
  .facts .fact:nth-last-child(2) { border-bottom: 1px solid var(--line-faint); }
  .section-head--split { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
}

@media (min-width: 960px) {
  :root { --nav-h: 5rem; --bar-h: 0rem; }
  .nav__links { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.25rem); }
  .nav__links a {
    font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--secondary);
    margin-right: -0.2em; position: relative; padding-block: 0.35rem;
    transition: color 260ms var(--ease);
  }
  .nav__links a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--text);
    transform: scaleX(0); transform-origin: left; transition: transform 380ms var(--ease);
  }
  .nav__links a:hover { color: var(--text); }
  .nav__links a:hover::after { transform: scaleX(1); }
  .nav__cta { display: inline-flex; }
  .nav__cta.btn { min-height: 2.75rem; padding: 0.65rem 1.4rem; font-size: 0.6875rem; }
  .hamburger { display: none; }
  .bar { display: none; }
  .hero { padding-bottom: 0; }
  .hero__art .court { width: min(70%, 1000px); opacity: 0.30; }
  .intro { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 6rem); align-items: start; }
  .footer__top { grid-template-columns: 1fr 1.4fr; gap: clamp(3rem, 7vw, 6rem); }
  .wordmark { font-size: 0.8125rem; }
  .prose { max-width: 72ch; }
}

@media (min-width: 1280px) {
  .hero__art .court { width: min(64%, 1120px); }
}

/* ── motion off ──────────────────────────────────────────────────────────── */
@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;
  }
  .rv { opacity: 1; transform: none; }
  .js .court--draw path, .js .court--draw line, .js .court--draw rect { stroke-dasharray: none; stroke-dashoffset: 0; }
  .bar { transform: none; }
  .mediaframe:hover img { transform: none; }
}

/* ============================================================================
   FLOWS — full-screen sheet on mobile, side panel on desktop
   ========================================================================= */
.sheet { position: fixed; inset: 0; z-index: 100; }
.sheet[hidden] { display: none; }
.sheet__backdrop {
  position: absolute; inset: 0; background: rgba(12, 13, 12, 0.72);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity 380ms var(--ease);
}
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet__panel { outline: none; }
.sheet__panel {
  position: absolute; inset: 0;
  background: var(--bg);
  display: grid; grid-template-rows: auto 1fr;
  transform: translateY(100%);
  transition: transform 460ms var(--ease);
  will-change: transform;
}
.sheet.is-open .sheet__panel { transform: none; }
.sheet__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gut);
  border-bottom: 1px solid var(--line-faint);
  background: var(--bg);
}
.sheet__close {
  width: 44px; height: 44px; margin-right: -12px;
  display: grid; place-items: center;
  background: none; border: 0; color: var(--secondary); cursor: pointer;
  transition: color 240ms var(--ease);
}
.sheet__close:hover { color: var(--text); }
.sheet__scroll {
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: clamp(1.75rem, 6vw, 2.75rem) var(--gut) calc(3rem + env(safe-area-inset-bottom));
}
.sheet__title { margin-bottom: clamp(1.5rem, 5vw, 2.25rem); }

.steps { display: grid; }
.step { display: grid; gap: clamp(1.5rem, 4vw, 2rem); }
.step[hidden] { display: none; }
.step--center { justify-items: center; text-align: center; gap: 1.25rem; }
.step__actions { display: grid; gap: 0.6rem; margin-top: 0.5rem; }
.step__note { font-size: 0.75rem; line-height: 1.6; color: var(--accent-text); }

.fs { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.fs__legend {
  padding: 0 0 0.35rem 0; margin-bottom: 0.4rem; width: 100%;
  border-bottom: 1px solid var(--line-faint);
  font-size: var(--fs-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: var(--accent-text);
}

.f { display: grid; gap: 0.4rem; }
.f__label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--secondary); }
.f__opt { color: var(--accent-text); letter-spacing: 0.14em; }
.f__hint { font-size: 0.75rem; color: var(--accent-text); line-height: 1.5; }
.f__input {
  width: 100%; min-height: 3rem;
  padding: 0.75rem 0.9rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 1rem;              /* 16px keeps iOS from zooming on focus */
  letter-spacing: 0.01em;
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease);
  appearance: none; -webkit-appearance: none;
}
.f__input::placeholder { color: rgba(200, 192, 179, 0.4); }
.f__input:hover { border-color: var(--line-strong); }
.f__input:focus { outline: 2px solid var(--text); outline-offset: 1px; border-color: transparent; }
.f__textarea { min-height: 5.5rem; resize: vertical; line-height: 1.6; }
.f__selectwrap { position: relative; display: grid; }
.f__select { padding-right: 2.5rem; cursor: pointer; }
.f__chev { position: absolute; right: 1rem; top: 50%; width: 12px; height: 12px; margin-top: -6px; color: var(--accent-text); pointer-events: none; }
.f__err { font-size: 0.75rem; line-height: 1.5; color: #F0A79E; min-height: 0; }
.f__err:empty { display: none; }
.f.is-invalid .f__input { border-color: #C2564B; }
.f.is-invalid .f__label { color: #F0A79E; }

.f--check { gap: 0.25rem; }
.check { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.85rem; align-items: start; cursor: pointer; padding: 0.45rem 0; min-height: 44px; align-content: center; }
/* The real checkbox stays in flow in the first grid cell with the mark stacked
   on top of it — hiding it with position:absolute put it outside the viewport,
   which breaks click targeting and scroll-into-view. */
.check__box {
  grid-area: 1 / 1; width: 1.5rem; height: 1.5rem; margin: 0;
  opacity: 0; cursor: pointer; z-index: 1;
}
.check__mark {
  grid-area: 1 / 1; pointer-events: none;
  width: 1.5rem; height: 1.5rem; border: 1px solid var(--line-strong); background: var(--surface);
  display: grid; place-items: center; color: var(--bg);
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}
.check__mark svg { width: 12px; height: 12px; opacity: 0; transition: opacity 160ms var(--ease); }
.check__box:checked + .check__mark { background: var(--text); border-color: var(--text); }
.check__box:checked + .check__mark svg { opacity: 1; }
.check__box:focus-visible + .check__mark { outline: 2px solid var(--text); outline-offset: 2px; }
.check__text { grid-column: 2; font-size: 0.875rem; line-height: 1.6; color: var(--secondary); }
.consents { display: grid; gap: 0.4rem; }
.f--check.is-invalid .check__mark { border-color: #C2564B; }

.guide { border-top: 1px solid var(--line-faint); padding-top: 0.75rem; }
.guide__summary { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); cursor: pointer; list-style: none; padding: 0.5rem 0; min-height: 44px; display: flex; align-items: center; }
.guide__summary::-webkit-details-marker { display: none; }
.guide__summary::before { content: '+'; margin-right: .6em; }
.guide[open] .guide__summary::before { content: '\2212'; margin-right: .6em; }
.guide__list { display: grid; gap: 0.7rem; padding-bottom: 0.75rem; margin: 0; }
.guide__row dt { font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); }
.guide__row dd { margin: 0.15rem 0 0; font-size: 0.8125rem; line-height: 1.55; color: var(--accent-text); }

.notice { border: 1px solid var(--line-faint); background: var(--surface); padding: 1rem 1.15rem; display: grid; gap: 0.4rem; }
.notice__t { font-size: var(--fs-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--text); }
.notice p { font-size: 0.875rem; line-height: 1.6; color: var(--secondary); }

.summary { border: 1px solid var(--line); padding: clamp(1.25rem, 4vw, 1.75rem); display: grid; gap: 1rem; background: var(--surface); }
.summary__k { font-size: var(--fs-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--accent-text); }
.summary__amount { font-size: clamp(2.5rem, 12vw, 3.5rem); font-weight: 200; color: var(--text); line-height: 1; letter-spacing: 0.02em; }
.summary__rows { display: grid; gap: 0.6rem; margin: 0; }
.summary__rows > div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.875rem; }
.summary__rows dt { color: var(--accent-text); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.6875rem; padding-top: 0.15rem; }
.summary__rows dd { margin: 0; color: var(--text); text-align: right; }
.summary__note { font-size: 0.75rem; color: var(--accent-text); line-height: 1.6; }

.paysum { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; border-bottom: 1px solid var(--line-faint); padding-bottom: 0.9rem; }
.paysum__l { font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); }
.paysum__v { font-size: 1.25rem; color: var(--text); font-weight: 300; }

/* Stripe Checkout renders light and its theme is set in the Stripe dashboard,
   not over the API. Rather than fight it, the card fields sit in an ivory mat —
   ivory is already the palette's light tone — so the shift reads as a
   deliberate material change into Stripe's own frame. */
.paylabel {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-text);
  margin-right: -0.24em;
}
.paylabel::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--line-faint); }
.stripe-mount {
  min-height: 20rem;
  background: var(--text);
  padding: 0.75rem;
  border: 1px solid var(--text);
}
.stripe-mount:empty { background: transparent; border-color: var(--line-faint); display: grid; place-items: center; }

.form-error {
  border-left: 2px solid #C2564B; background: rgba(194, 86, 75, 0.08);
  padding: 0.85rem 1rem; font-size: 0.875rem; line-height: 1.6; color: #F0A79E;
}
.form-error[hidden] { display: none; }

.turnstile { min-height: 0; }
.turnstile:not(:empty) { margin-block: 0.5rem; }

/* success + state screens */
.done { display: grid; gap: 1.25rem; justify-items: center; }
.done__h { font-size: clamp(2.2rem, 11vw, 3.6rem); font-weight: 200; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-right: -0.1em; line-height: 1.05; }
.done__team { font-size: clamp(1.1rem, 5vw, 1.6rem); font-weight: 300; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text); margin-right: -0.2em; }
.done__meta { display: grid; gap: 0.2rem; font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--secondary); margin-right: -0.2em; }
.done__sub { font-size: 0.9375rem; line-height: 1.65; color: var(--secondary); max-width: 40ch; }
.done__actions { display: grid; gap: 0.6rem; width: min(100%, 22rem); margin-top: 0.5rem; }
.done__rule { width: 3rem; height: 1px; background: var(--line-strong); }
.spinner {
  width: 26px; height: 26px; border: 1px solid var(--line); border-top-color: var(--text);
  border-radius: 50%; animation: spin 900ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pending { display: grid; gap: 1rem; justify-items: center; padding-block: 2rem; }
.pending p { font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-text); }

.copied { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-text); }

body.is-locked { overflow: hidden; }

@media (min-width: 720px) {
  .sheet__panel {
    inset: 0 0 0 auto; width: min(34rem, 100%);
    border-left: 1px solid var(--line-faint);
    transform: translateX(100%);
  }
  .sheet.is-open .sheet__panel { transform: none; }
  .fs--2col { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sheet__panel { transform: none !important; }
  .sheet__backdrop { opacity: 1; }
  .spinner { animation-duration: 1.6s; }
}
