/* ═══════════════════════════════════════════════════════════════
   PRALLEY — LANDING (home.css)
   The legal/support pages keep using main.css; this file is the home page only.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --ink: #0B1F1A;
  --court: #0E3B2E;
  --court-2: #134A3A;      /* court surface, one step lighter */
  --court-3: #1B5A47;      /* kitchen / bezel highlights */
  --court-dk: #082A20;
  --paper: #F4EFE6;
  --paper-2: #EBE3D3;
  --paper-3: #E2D8C4;
  --chalk: #FFFEF7;
  --signal: #E8FF52;
  --clay: #C8512B;

  --ink-80: rgba(11, 31, 26, .80);
  --ink-66: rgba(11, 31, 26, .68);
  --ink-12: rgba(11, 31, 26, .12);
  --ink-08: rgba(11, 31, 26, .08);
  --chalk-86: rgba(255, 254, 247, .86);
  --chalk-72: rgba(255, 254, 247, .74);
  --chalk-50: rgba(255, 254, 247, .5);
  --chalk-20: rgba(255, 254, 247, .2);
  --chalk-10: rgba(255, 254, 247, .1);

  --f-display: 'Fraunces', Georgia, serif;
  --f-ui: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.32, .72, 0, 1);

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --section: clamp(96px, 13vw, 176px);

  --r-shell: 28px;
  --r-core: 22px;
  --shadow: 0 1px 1px rgba(11, 31, 26, .04), 0 12px 32px -8px rgba(11, 31, 26, .14), 0 40px 80px -24px rgba(11, 31, 26, .12);
  --shadow-dark: 0 2px 2px rgba(0, 0, 0, .12), 0 24px 60px -12px rgba(0, 0, 0, .45);
}

/* ─── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body {
  font-family: var(--f-ui);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* paper grain, fixed so it never repaints on scroll */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 90;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .courts :focus-visible, .sports :focus-visible, .get :focus-visible, .foot :focus-visible { outline-color: var(--signal); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.display { font-family: var(--f-display); font-optical-sizing: auto; font-weight: 400; letter-spacing: -.02em; }
.display em, .h2 em, .h3 em { font-style: italic; font-weight: 300; }
.mono { font-family: var(--f-mono); font-size: .78em; letter-spacing: .01em; }
.soft { color: var(--ink-66); }

.h2 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.02;
  text-wrap: balance;
  max-width: 15ch;
}
.h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-80); max-width: 54ch; text-wrap: pretty; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--signal); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-ui); font-weight: 600; letter-spacing: -.005em;
  text-decoration: none; border-radius: 999px; white-space: nowrap;
  transition: transform .5s var(--ease-spring), background-color .3s var(--ease-out), box-shadow .5s var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn-sm { font-size: 14px; padding: 10px 18px; min-height: 40px; }
.btn-lg { font-size: 16px; padding: 8px 8px 8px 24px; min-height: 56px; }
.btn-ink { background: var(--ink); color: var(--chalk); }
.btn-ink:hover { background: var(--court); }
.btn-signal { background: var(--signal); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(232, 255, 82, .55); }
.btn-signal:hover { box-shadow: 0 14px 40px -10px rgba(232, 255, 82, .75); }
.btn-orb {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--ink); color: var(--signal);
  transition: transform .5s var(--ease-spring);
}
.btn:hover .btn-orb { transform: translateY(2px) scale(1.05); }
.link-chalk {
  color: var(--chalk-86); font-weight: 500; text-decoration: none;
  padding: 14px 4px; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: color .3s, background-size .4s var(--ease-out);
}
.link-chalk:hover { color: var(--chalk); background-size: 0 1px; background-position: 100% calc(100% - 10px); }

/* ─── Nav: floating island ────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px var(--gutter) 0; pointer-events: none; }
.nav-island {
  pointer-events: auto;
  max-width: 920px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 7px 7px 20px;
  border-radius: 999px;
  background: rgba(244, 239, 230, .78);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 0 0 1px var(--ink-08), 0 10px 30px -12px rgba(11, 31, 26, .25);
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nav.scrolled .nav-island { background: rgba(244, 239, 230, .92); }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-80);
  padding: 9px 14px; border-radius: 999px; transition: background-color .25s, color .25s;
}
.nav-links a:hover { background: var(--ink-08); color: var(--ink); }
.nav-cta { margin-left: 6px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; margin-left: auto; background: var(--ink); }
.burger span {
  position: absolute; left: 14px; right: 14px; height: 1.6px; background: var(--chalk); border-radius: 2px;
  transition: transform .5s var(--ease-spring), top .5s var(--ease-spring);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(14, 59, 46, .97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px var(--gutter) 40px;
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.menu.open { opacity: 1; }
.menu nav { display: flex; flex-direction: column; gap: 4px; }
.menu a {
  font-family: var(--f-display); font-size: clamp(40px, 11vw, 64px); line-height: 1.12; letter-spacing: -.02em;
  color: var(--chalk); text-decoration: none; padding: 4px 0;
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-spring);
  transition-delay: calc(80ms + var(--i) * 50ms);
}
.menu.open a { opacity: 1; transform: none; }
.menu .menu-get { font-style: italic; color: var(--signal); }
.menu-foot { margin-top: 40px; color: var(--chalk-72); font-size: 15px; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate;
  min-height: 100dvh;
  background:
    radial-gradient(120% 80% at 85% 30%, #175440 0%, transparent 60%),
    var(--court);
  color: var(--chalk);
  padding: clamp(120px, 15vh, 168px) 0 0;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero-grid {
  flex: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
}
.hero-title { font-size: clamp(52px, 8.4vw, 116px); line-height: .94; letter-spacing: -.035em; }
.hero-title .line { display: block; }
.hero-title em { color: var(--signal); font-weight: 300; }
.hero-sub { margin-top: 28px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: var(--chalk-86); max-width: 33em; text-wrap: pretty; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero-facts { margin-top: 28px; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-facts li {
  font-size: 13px; font-weight: 500; color: var(--chalk-86);
  padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--chalk-20);
}

/* stage: tilted court */
.stage { position: relative; height: clamp(440px, 64vh, 640px); margin: 0; }
.stage-3d {
  position: absolute; inset: 0;
  perspective: 1400px; perspective-origin: 50% 20%;
  display: grid; place-items: center;
}
.plane {
  --cw: clamp(190px, 19vw, 270px);
  position: relative; width: var(--cw); height: calc(var(--cw) * 2.2);
  translate: 10% 0;
  transform: rotateX(56deg) rotateZ(-32deg) translateY(-4%);
  transform-style: preserve-3d;
  background: var(--court-2);
  border-radius: 3px;
  box-shadow: 0 0 0 calc(var(--cw) * .07) #0F4234, 30px 50px 80px rgba(0, 0, 0, .35);
}
.plane-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plane-lines rect, .plane-lines line { fill: none; stroke: var(--chalk); stroke-width: 2; opacity: .9; vector-effect: non-scaling-stroke; }
.plane-lines .net { stroke-width: 3; opacity: 1; stroke-dasharray: 1 3; }
.kitchen { position: absolute; left: 0; right: 0; background: var(--court-3); opacity: .55; }
.kitchen-a { top: calc(150 / 440 * 100%); height: calc(70 / 440 * 100%); }
.kitchen-b { top: 50%; height: calc(70 / 440 * 100%); }

.spot {
  position: absolute; left: var(--x); top: var(--y);
  width: 0; height: 0;
  transform-style: preserve-3d;
}
.spot .ring {
  position: absolute; width: 54px; height: 54px; left: -27px; top: -27px; border-radius: 50%;
  border: 1.5px dashed var(--chalk-72);
  transition: border-color .4s, background-color .4s, transform .6s var(--ease-spring);
}
.spot.is-in .ring { border-style: solid; border-color: var(--signal); background: rgba(232, 255, 82, .14); transform: scale(.82); }
/* billboard: stand the avatar up out of the court */
.spot .who {
  position: absolute; left: 0; top: 0;
  transform: rotateZ(32deg) rotateX(-56deg) translate(-50%, -100%);
  transform-origin: 0 0;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  opacity: 0; transition: opacity .35s var(--ease-out);
}
.spot .who b { transform: translateY(14px) scale(.6); transition: transform .7s var(--ease-spring); }
.spot .who i {
  font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  color: var(--ink); background: var(--chalk); padding: 2px 8px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.spot.is-in .who { opacity: 1; }
.spot.is-in .who b { transform: none; }

.av {
  --c: var(--court);
  display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c); color: var(--chalk);
  font: 600 13px/1 var(--f-ui); letter-spacing: .02em;
  box-shadow: 0 0 0 2.5px var(--chalk), 0 8px 18px rgba(0, 0, 0, .3);
}
.av-you { background: var(--signal); color: var(--ink); }
.av.sm { width: 30px; height: 30px; font-size: 10.5px; box-shadow: 0 0 0 2px var(--chalk); }

.ball { position: absolute; left: 30%; top: 30%; width: 0; height: 0; opacity: 0; transform-style: preserve-3d; }
.ball span {
  position: absolute; width: 12px; height: 12px; left: -6px; top: -6px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 1px rgba(11,31,26,.25);
}
.ball.rally { animation: rally 2.6s var(--ease-out) 1 forwards; }
.ball.rally span { animation: hop 1.3s ease-in-out 2; }
@keyframes rally {
  0% { opacity: 0; left: 30%; top: 28%; }
  8% { opacity: 1; }
  50% { left: 66%; top: 74%; }
  92% { opacity: 1; }
  100% { opacity: 0; left: 34%; top: 26%; }
}
@keyframes hop { 0%, 100% { transform: translateZ(0); } 50% { transform: translateZ(48px); } }

.ticket {
  position: absolute; left: 0; bottom: 8%;
  width: min(300px, 78%);
  background: var(--paper); color: var(--ink);
  border-radius: 20px; padding: 18px 18px 16px;
  box-shadow: var(--shadow-dark);
  transform: rotate(-2.5deg);
}
.ticket::before, .ticket::after { /* ticket notches */
  content: ''; position: absolute; top: 58%; width: 16px; height: 16px; border-radius: 50%; background: var(--court);
}
.ticket::before { left: -8px; } .ticket::after { right: -8px; }
.ticket-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ticket-sport { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-80); white-space: nowrap; }
.ticket-status {
  font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-80); white-space: nowrap;
  transition: background-color .4s, color .4s, transform .6s var(--ease-spring);
}
.ticket.full .ticket-status { background: var(--signal); color: var(--ink); transform: scale(1.06); }
.ticket-when { margin-top: 12px; font-size: 28px; line-height: 1.05; }
.ticket-when em { color: var(--court); }
.ticket-meta { margin-top: 6px; display: flex; align-items: center; gap: 6px; color: var(--ink-66); font-size: 12px; }
.ticket-bottom {
  margin-top: 16px; padding-top: 14px; border-top: 1.5px dashed var(--ink-12);
  display: flex; align-items: center; justify-content: space-between;
}
.ticket-avs { display: flex; }
.ticket-avs .av { margin-right: -6px; transition: opacity .3s, transform .5s var(--ease-spring); }
.ticket-avs .av.out { opacity: .18; transform: scale(.8); background: var(--ink-12); color: transparent; }
.ticket-count { font-size: 12px; font-weight: 600; color: var(--ink-80); }
.stage-note {
  position: absolute; right: 0; bottom: 2%;
  font: 500 11px/1 var(--f-mono); color: var(--chalk-50); letter-spacing: .02em;
}

.hero-sports {
  display: flex; flex-wrap: wrap; gap: 10px 36px;
  padding-top: 28px; padding-bottom: 28px; margin-top: 24px;
  border-top: 1px solid var(--chalk-10);
}
.hero-sports span { display: inline-flex; align-items: center; gap: 10px; color: var(--chalk-86); font-weight: 500; font-size: 15px; }
.hero-sports svg { color: var(--signal); }

/* ─── Double-bezel shells ─────────────────────────────────── */
.shell {
  padding: 7px; border-radius: var(--r-shell);
  background: rgba(11, 31, 26, .045);
  box-shadow: inset 0 0 0 1px var(--ink-08);
}
.core {
  border-radius: var(--r-core);
  background: var(--chalk);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), var(--shadow);
  padding: 22px;
}
.shell-dark { background: rgba(0, 0, 0, .18); box-shadow: inset 0 0 0 1px var(--chalk-10); }

.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.tag-signal { background: var(--signal); color: var(--ink); }
.tag-court { background: var(--court); color: var(--chalk); }
.tag-clay { background: rgba(200, 81, 43, .12); color: #9C3A1A; }
.tag-open { background: rgba(232, 255, 82, .16); color: var(--signal); box-shadow: inset 0 0 0 1px rgba(232, 255, 82, .35); }

/* ─── Group chat vs one card ──────────────────────────────── */
.chat-vs { padding: var(--section) 0; }
.chat-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.chat-copy .lede { margin-top: 24px; }
.chat-visual { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr); align-items: center; gap: 16px; }
.thread {
  background: var(--paper-2); border-radius: 24px; padding: 16px 14px 18px;
  display: flex; flex-direction: column; gap: 6px;
  transform: rotate(-2deg);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.thread-head { font-size: 11px; color: var(--ink-66); text-align: center; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--ink-08); }
.bub { font-size: 13.5px; line-height: 1.35; padding: 8px 12px; border-radius: 16px; max-width: 88%; }
.bub.l { background: var(--chalk); align-self: flex-start; border-bottom-left-radius: 5px; }
.bub.r { background: #D9DFC9; align-self: flex-end; border-bottom-right-radius: 5px; }
.bub.dim { opacity: .8; } .bub.dimmer { opacity: .6; } .bub.dimmest { opacity: .45; }
.arrow-to { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--signal); }
.game-card { padding: 22px 22px 18px; }
.gc-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gc-sport { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-80); }
.gc-when { margin-top: 14px; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.05; }
.gc-when em { color: var(--court); }
.gc-list { margin-top: 16px; display: grid; }
.gc-list div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--ink-08); font-size: 14px; }
.gc-list dt { color: var(--ink-66); font-weight: 500; }
.gc-list dd { font-weight: 600; }

/* ─── How: walk the court ─────────────────────────────────── */
.how { padding: 0 0 var(--section); }
.how-head { max-width: 860px; }
.how-head .h2 { max-width: 16ch; }
.how-head .lede { margin-top: 20px; }

.walk { position: relative; margin-top: clamp(56px, 8vw, 104px); display: grid; gap: clamp(72px, 10vw, 136px); }
.rail {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-1px);
  background: repeating-linear-gradient(to bottom, var(--ink-12) 0 10px, transparent 10px 18px);
}
.rail-ball {
  position: absolute; left: 50%; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--ink-12);
  transform: translateY(var(--p, 0px));
  will-change: transform;
}
.station {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(64px, 9vw, 128px); align-items: center;
}
.station .mark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 1;
}
.station .mark span {
  display: block; font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 19px;
  background: var(--paper); color: var(--court); padding: 6px 2px;
}
.st-copy { max-width: 440px; justify-self: end; }
.st-copy p { margin-top: 16px; color: var(--ink-80); font-size: 17px; text-wrap: pretty; }
.st-vis { max-width: 420px; width: 100%; }
.station.flip .st-copy { order: 2; justify-self: start; }
.station.flip .st-vis { order: 1; justify-self: end; }

.ui-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.games { list-style: none; display: grid; }
.games li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ink-08); }
.g-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--court); flex: none; }
.g-main { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.g-main b { font-size: 14.5px; font-weight: 600; }
.g-main span { font-size: 13px; }
.g-spots { font-size: 12px; font-weight: 700; color: var(--court); background: rgba(14, 59, 46, .08); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.ui-cta { margin-top: 12px; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 13px; border-radius: 14px; background: var(--court); color: var(--chalk); font-weight: 600; font-size: 14.5px; }

.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--paper); }
.levels span { text-align: center; font-size: 12px; font-weight: 600; padding: 10px 2px; border-radius: 10px; color: var(--ink-66); min-width: 0; overflow-wrap: anywhere; }
.levels .on { background: var(--court); color: var(--chalk); }
.level-blurb { margin-top: 12px; font-size: 14px; color: var(--ink-80); }
.ratings { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11.5px; }
.ratings span { padding: 4px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ink-12); }
.ratings i { font-style: normal; color: var(--ink-66); }
.match-row, .req { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ink-08); }
.req { margin-top: 0; padding-top: 4px; border-top: 0; }
.req-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.chip-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--ink-12); }
.chip-go { background: var(--court); color: var(--chalk); box-shadow: none; }
.waitlist { display: flex; justify-content: space-between; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: 12px; color: var(--ink-80); }

.cb { font-size: 14px; line-height: 1.35; padding: 9px 13px; border-radius: 16px; max-width: 80%; margin-top: 6px; }
.cb b { display: block; font-size: 11.5px; color: var(--clay); margin-bottom: 2px; }
.cb-l { background: var(--paper); border-bottom-left-radius: 5px; }
.cb-r { background: var(--court); color: var(--chalk); margin-left: auto; border-bottom-right-radius: 5px; width: fit-content; }
.sub-post { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 12px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--ink-12); }
.rel { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rel div { background: var(--paper); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; min-width: 0; }
.rel span { font-size: 11.5px; }
.rel b { font-size: 22px; line-height: 1.15; font-weight: 400; overflow-wrap: anywhere; }

/* ─── Courts ──────────────────────────────────────────────── */
.courts {
  background: var(--court); color: var(--chalk);
  padding: var(--section) 0;
  position: relative; overflow: hidden;
}
.courts::before { /* service-box chalk in the background */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background:
    linear-gradient(var(--chalk), var(--chalk)) 0 30% / 100% 2px no-repeat,
    linear-gradient(var(--chalk), var(--chalk)) 0 70% / 100% 2px no-repeat,
    linear-gradient(var(--chalk), var(--chalk)) 38% 0 / 2px 100% no-repeat;
}
.courts-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.courts .h2 { max-width: 14ch; }
.courts .h2 em { color: var(--signal); }
.courts .lede { color: var(--chalk-86); margin-top: 24px; }
.venue { max-width: 440px; width: 100%; justify-self: end; }
.venue-core { background: var(--court-dk); color: var(--chalk); box-shadow: inset 0 1px 0 var(--chalk-10), var(--shadow-dark); padding: 24px; }
.venue-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.venue-name { font-size: 30px; line-height: 1.05; }
.venue-sub { margin-top: 8px; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--chalk-72); flex-wrap: wrap; }
.venue-sub svg { color: var(--signal); }
.venue-hours { margin-top: 18px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--chalk-86); padding: 12px 14px; border-radius: 12px; background: var(--chalk-10); }
.busy { margin-top: 18px; }
.busy-label { font-size: 13px; font-weight: 600; color: var(--chalk-72); }
.busy-times { margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.busy-times button {
  min-height: 44px; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: var(--chalk-86);
  box-shadow: inset 0 0 0 1px var(--chalk-20);
  transition: background-color .3s var(--ease-out), color .3s, box-shadow .3s, transform .4s var(--ease-spring);
}
.busy-times button:hover { box-shadow: inset 0 0 0 1px var(--chalk-50); }
.busy-times button:active { transform: scale(.97); }
.busy-times button[aria-checked="true"] { background: var(--chalk); color: var(--ink); box-shadow: none; }
.busy-out { margin-top: 14px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.busy-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 20px; }
.busy-bars i { width: 5px; border-radius: 2px; background: var(--chalk-20); transition: background-color .35s var(--ease-out); }
.busy-bars i:nth-child(1) { height: 25%; } .busy-bars i:nth-child(2) { height: 50%; } .busy-bars i:nth-child(3) { height: 75%; } .busy-bars i:nth-child(4) { height: 100%; }
.busy-bars[data-lvl="1"] i:nth-child(-n+1),
.busy-bars[data-lvl="2"] i:nth-child(-n+2),
.busy-bars[data-lvl="3"] i:nth-child(-n+3),
.busy-bars[data-lvl="4"] i:nth-child(-n+4) { background: var(--signal); }
.book { margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 14px; background: var(--signal); color: var(--ink); font-weight: 700; font-size: 14.5px; }
.fig-note { margin-top: 14px; font: 500 11px/1.4 var(--f-mono); color: var(--chalk-50); text-align: center; }

/* ─── Sports to scale ─────────────────────────────────────── */
.sports { background: var(--court-dk); color: var(--chalk); padding: var(--section) 0; }
.sports-head .h2 { max-width: 13ch; }
.sports-head .h2 em { color: var(--signal); }
.sports-head .lede { margin-top: 20px; color: var(--chalk-86); }
.scale-row {
  --ft: clamp(2.3px, .33vw + .9px, 4.4px);
  margin-top: clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; align-items: end;
  gap: 40px 24px;
}
.sport { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.court-box { height: calc(78 * var(--ft)); display: flex; align-items: flex-end; }
.court { overflow: visible; }
.c-pk { width: calc(20 * var(--ft)); height: calc(44 * var(--ft)); }
.c-pd { width: calc(32.81 * var(--ft)); height: calc(65.62 * var(--ft)); }
.c-tn { width: calc(36 * var(--ft)); height: calc(78 * var(--ft)); }
.c-gf { width: calc(40 * var(--ft)); height: calc(78 * var(--ft)); }
.court .surf { fill: var(--court-2); }
.court .kz { fill: var(--court-3); opacity: .7; }
.court .ln rect, .court .ln line { fill: none; stroke: var(--chalk); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.court .netl { stroke: var(--chalk); stroke-width: 2.5; stroke-dasharray: 1 2.5; vector-effect: non-scaling-stroke; }
.court .wall path { fill: none; stroke: rgba(190, 230, 255, .55); stroke-width: 5; vector-effect: non-scaling-stroke; }
.c-gf .fair { fill: var(--court-2); }
.c-gf .bunker { fill: var(--paper-3); opacity: .85; }
.c-gf .green { fill: var(--court-3); stroke: var(--chalk-20); stroke-width: 1; vector-effect: non-scaling-stroke; }
.c-gf .tee { fill: var(--court-3); stroke: var(--chalk-50); stroke-width: 1; vector-effect: non-scaling-stroke; }
.c-gf .flag-pole { stroke: var(--chalk); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.c-gf .flag { fill: var(--signal); }
.c-gf .cup { fill: var(--ink); }
.sport figcaption { display: flex; flex-direction: column; gap: 4px; max-width: 220px; }
.sp-name { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; line-height: 1.1; }
.sp-name svg { color: var(--signal); flex: none; }
.sport .dim { color: var(--chalk-50); font-size: 12px; }
.sp-facts { margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: var(--chalk-86); }

/* ─── Fine print ──────────────────────────────────────────── */
.fine { padding: var(--section) 0 calc(var(--section) * .6); }
.fine-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.fine .h2 { max-width: 10ch; position: sticky; top: 120px; }
.fine .h2 em { color: var(--court); }
.rules { display: grid; border-top: 1.5px solid var(--ink); }
.rule { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--ink-12); }
.rule dt { font-family: var(--f-display); font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
.rule dd { color: var(--ink-80); font-size: 16.5px; max-width: 52ch; padding-top: 3px; }

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq { padding: calc(var(--section) * .5) 0 var(--section); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.qa { border-top: 1.5px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--ink-12); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; min-height: 44px;
  font-size: clamp(17px, 1.5vw, 19px); font-weight: 600; letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ''; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.6px 12px no-repeat,
    var(--paper-2);
  transition: transform .5s var(--ease-spring), background-color .3s;
}
.qa details[open] summary::after { transform: rotate(135deg); background-color: var(--signal); }
.qa summary:hover::after { background-color: var(--paper-3); }
.qa details[open] summary:hover::after { background-color: var(--signal); }
.qa p { padding: 0 56px 24px 0; color: var(--ink-80); max-width: 62ch; }
.qa a { color: var(--court); font-weight: 600; }

/* ─── Get ─────────────────────────────────────────────────── */
.get {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--court); color: var(--chalk);
  padding: clamp(120px, 16vw, 200px) 0;
  text-align: center;
}
.get-court { position: absolute; inset: 8% 4%; width: 92%; height: 84%; z-index: -1; opacity: .07; }
.get-court rect, .get-court line { fill: none; stroke: var(--chalk); stroke-width: 2; vector-effect: non-scaling-stroke; }
.get-court .netl { stroke-dasharray: 2 6; stroke-width: 3; }
.get-inner { display: flex; flex-direction: column; align-items: center; }
.get-title { font-size: clamp(54px, 10vw, 140px); line-height: .92; letter-spacing: -.035em; }
.get-title em { color: var(--signal); }
.get-sub { margin-top: 28px; font-size: clamp(17px, 1.6vw, 21px); color: var(--chalk-86); max-width: 36ch; }
.stores { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px 22px 12px 18px; border-radius: 16px; min-width: 200px;
  background: var(--court-dk); box-shadow: inset 0 0 0 1px var(--chalk-20);
  color: var(--chalk); cursor: default;
}
.store span { display: flex; flex-direction: column; font-size: 19px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.store small { font-size: 11px; font-weight: 500; color: var(--signal); letter-spacing: .02em; margin-bottom: 3px; }
.get-mail { margin-top: 32px; color: var(--chalk-72); }
.get-mail a { color: var(--chalk); font-weight: 600; }

/* ─── Footer ──────────────────────────────────────────────── */
.foot { background: var(--ink); color: var(--chalk-72); padding: 72px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-brand img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.foot-brand p { margin-top: 16px; line-height: 1.6; }
.foot h3 { font-size: 13px; font-weight: 700; color: var(--chalk); margin-bottom: 14px; }
.foot nav { display: flex; flex-direction: column; gap: 2px; }
.foot nav a { text-decoration: none; padding: 6px 0; transition: color .25s; width: fit-content; }
.foot nav a:hover { color: var(--chalk); }
.foot-note { margin-top: 56px; font-size: 13px; color: var(--chalk-50); max-width: 70ch; }
.foot-bottom { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--chalk-10); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--chalk-50); }

/* ─── Reveal (only when JS runs and motion is allowed) ────── */
@media (prefers-reduced-motion: no-preference) {
  html.js .rv { opacity: 0; transform: translateY(32px); filter: blur(6px); }
  html.js .rv-l { transform: translateX(-36px) rotate(-1deg); }
  html.js .rv-r { transform: translateX(36px) rotate(1deg); }
  html.js .rv.in {
    opacity: 1; transform: none; filter: none;
    transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-spring), filter .9s var(--ease-out);
  }
  html.js .thread.rv.in { transform: rotate(-2deg); }
  .stage { animation: fade 1.2s var(--ease-out) .2s both; }
}
@keyframes fade { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .ball { display: none; }
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1060px) {
  .scale-row { grid-template-columns: repeat(2, auto); justify-content: space-around; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav-island { padding: 6px 6px 6px 18px; }

  .hero { min-height: auto; padding-top: 112px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .stage { height: clamp(330px, 88vw, 480px); margin-top: -8px; }
  .plane { --cw: clamp(150px, 40vw, 220px); }
  .ticket { left: 0; bottom: 4%; width: min(280px, 76%); }
  .stage-note { bottom: 0; }

  .chat-grid, .courts-grid, .fine-grid, .faq-grid { grid-template-columns: 1fr; }
  .venue { justify-self: start; }
  .fine .h2 { position: static; }

  /* the walk becomes a left rail */
  .rail { left: 11px; }
  .rail-ball { left: 12px; }
  .walk { padding-left: 44px; gap: 72px; }
  .station { grid-template-columns: 1fr; row-gap: 28px; }
  .station .mark { left: -44px; top: 0; transform: none; }
  .station .mark span { font-size: 15px; writing-mode: vertical-rl; transform: rotate(180deg); padding: 4px 2px; }
  .st-copy, .station.flip .st-copy { order: 1; justify-self: start; max-width: 560px; }
  .st-vis, .station.flip .st-vis { order: 2; justify-self: start; }
}

@media (max-width: 640px) {
  html.js .rv-l, html.js .rv-r { transform: translateY(32px); }
  body { font-size: 16px; }
  .hero-title { font-size: clamp(46px, 14vw, 64px); }
  .btn-lg { font-size: 15px; white-space: normal; text-align: left; }
  .hero-actions { gap: 4px 20px; }
  .hero-facts { margin-top: 20px; }
  .hero-sports { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .hero-sports span { flex-direction: column; gap: 6px; font-size: 13px; }

  .chat-visual { grid-template-columns: 1fr; gap: 0; }
  .thread { max-width: 300px; transform: rotate(-2deg); }
  .arrow-to { transform: rotate(90deg); margin: -8px auto 12px; position: relative; z-index: 1; }
  .shell { padding: 6px; border-radius: 24px; }
  .core { padding: 18px; border-radius: 19px; }
  .game-card { padding: 18px; }

  .walk { padding-left: 32px; }
  .station .mark { left: -32px; }
  .g-ic { width: 34px; height: 34px; border-radius: 10px; }
  .games li { gap: 10px; }
  .g-main b { font-size: 14px; }
  .g-main .mono { white-space: nowrap; font-size: 11.5px; }
  .rail { left: 7px; }
  .rail-ball { left: 8px; }
  .levels span { font-size: 11px; padding: 9px 1px; }
  .rel b { font-size: 18px; }

  .scale-row { gap: 40px 16px; justify-content: space-between; }
  .sp-name { font-size: 22px; }
  .sp-facts { font-size: 13.5px; }

  .rule { grid-template-columns: 1fr; padding: 20px 0; }
  .rule dt { font-size: 22px; }
  .qa p { padding-right: 0; }

  .store { min-width: 0; flex: 1 1 200px; justify-content: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  .busy-times button { font-size: 12.5px; }
  .ticket-when { font-size: 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   LONG-FORM PAGES (privacy, terms, cookies, support)
   Generated by scripts/gen_legal_web.py; they share the nav and footer.
   ═══════════════════════════════════════════════════════════════ */
.doc-head {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 90% 0%, #175440 0%, transparent 60%), var(--court);
  color: var(--chalk);
  padding: clamp(132px, 16vw, 184px) 0 clamp(56px, 7vw, 88px);
}
.doc-head::after { /* a baseline and center line in chalk */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background:
    linear-gradient(var(--chalk), var(--chalk)) 0 100% / 100% 2px no-repeat,
    linear-gradient(var(--chalk), var(--chalk)) 72% 0 / 2px 100% no-repeat;
}
.doc-crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--chalk-72); text-decoration: none; min-height: 44px; }
.doc-crumb:hover { color: var(--chalk); }
.doc-crumb svg { transform: rotate(180deg); }
.doc-title { margin-top: 12px; font-size: clamp(44px, 7vw, 88px); line-height: .98; letter-spacing: -.03em; max-width: 14ch; }
.doc-sub { margin-top: 18px; font: 500 13px/1.5 var(--f-mono); color: var(--chalk-72); }
.doc-sub strong { color: var(--chalk); font-weight: 600; }

.doc-grid {
  display: grid; grid-template-columns: 240px minmax(0, 720px); justify-content: space-between;
  gap: clamp(32px, 6vw, 96px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: var(--section);
}
.doc-grid.no-toc { grid-template-columns: minmax(0, 720px); justify-content: center; }
.doc-toc { position: sticky; top: 104px; align-self: start; }
.doc-toc p { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.doc-toc ol { list-style: none; display: grid; gap: 2px; border-left: 1.5px solid var(--ink-12); }
.doc-toc a {
  display: block; padding: 6px 0 6px 14px; margin-left: -1.5px; border-left: 1.5px solid transparent;
  font-size: 14px; line-height: 1.35; color: var(--ink-66); text-decoration: none;
  transition: color .2s, border-color .2s;
}
.doc-toc a:hover { color: var(--ink); border-left-color: var(--ink-66); }
.doc-toc a[aria-current="true"] { color: var(--court); font-weight: 600; border-left-color: var(--court); }

.legal-body { min-width: 0; }
.legal-body h2 {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.015em;
  margin: 56px 0 16px; scroll-margin-top: 104px; text-wrap: balance;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 16.5px; line-height: 1.75; color: var(--ink-80); text-wrap: pretty; }
.legal-body p { margin-bottom: 16px; }
.legal-body ul { margin: 0 0 20px; padding-left: 20px; display: grid; gap: 8px; }
.legal-body li::marker { color: var(--court); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--court); font-weight: 500; overflow-wrap: anywhere; text-underline-offset: 3px; }
.legal-body code { font-family: var(--f-mono); font-size: 13.5px; background: var(--paper-2); padding: 2px 7px; border-radius: 6px; }
.doc-help {
  margin-top: 64px; padding: 24px; border-radius: var(--r-core);
  background: var(--paper-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.doc-help p { font-size: 16px; color: var(--ink-80); }
.doc-help strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 22px; color: var(--ink); }

@media (max-width: 900px) {
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .doc-toc { position: static; padding: 18px 20px; border-radius: 18px; background: var(--paper-2); }
  .doc-toc ol { border-left: 0; }
  .doc-toc a { padding: 9px 0; margin-left: 0; border-left: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   404: out of bounds
   ═══════════════════════════════════════════════════════════════ */
.oob {
  min-height: 100dvh; display: grid; place-items: center; text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, #175440 0%, transparent 60%), var(--court);
  color: var(--chalk); padding: 120px var(--gutter) 64px; position: relative; overflow: hidden;
}
.oob-court { position: absolute; left: 50%; top: 50%; width: min(560px, 120vw); height: auto; transform: translate(-50%, -50%); opacity: .1; }
.oob-court rect, .oob-court line { fill: none; stroke: var(--chalk); stroke-width: 2; vector-effect: non-scaling-stroke; }
.oob-ball { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--signal); right: 12%; top: 20%; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.oob-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.oob-code { font: 600 13px/1 var(--f-mono); color: var(--signal); letter-spacing: .04em; }
.oob h1 { margin-top: 18px; font-size: clamp(56px, 11vw, 132px); line-height: .92; letter-spacing: -.035em; }
.oob h1 em { color: var(--signal); }
.oob p { margin-top: 22px; max-width: 34ch; font-size: clamp(17px, 1.6vw, 20px); color: var(--chalk-86); }
.oob .btn { margin-top: 32px; }
