/* Pickleball Buddies: graphite and lilac. Full-screen path-traced renders sit behind the first screens and crossfade
   as you scroll; glass panels carry the text; then the renders dim into one continuous graphite ground with soft
   lilac light, so no section ever starts with an edge. */
:root {
  color-scheme: dark;
  /* graphite neutrals, biased a touch toward lilac */
  --g0: #121116; --g1: #19181e; --g2: #1f1e25; --g3: #27262e; --g4: #302f38; --g5: #3d3c46;
  /* text greys; white is kept for court lines, the logo core and small highlights */
  --stone: #8e8c98; --stone-2: #b3b0bc; --mist: #d7d4df; --chalk: #ebe8f1;
  /* Flieder: the tube colour of the founders' neon sign (assets/brand/pbb-neon.jpg). The renders use the same value
     for every LED, neon and lettering; --kitchen is the court paint as it shows in the renders, one step deeper. */
  --lilac: #d7a7f3; --lilac-hi: #ebd0fb; --kitchen: #c597e0;
  --lilac-wash: rgba(215, 167, 243, .08); --lilac-line: rgba(215, 167, 243, .26);
  /* the sign's violet halo, measured outwards from the tube */
  --halo-1: rgba(150, 76, 218, .85); --halo-2: rgba(118, 58, 186, .6); --halo-3: rgba(84, 42, 122, .5);
  --line: rgba(215, 212, 223, .09); --line-2: rgba(215, 212, 223, .16);
  --glass: rgba(25, 24, 30, .74);
  --court-line: #f4f1f9;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: max(20px, 5vw);
  --ease: cubic-bezier(.22, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--g5) var(--g1); }
html, body { margin: 0; background: var(--g1); }
body { color: var(--stone-2); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
::selection { background: var(--lilac); color: var(--g1); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; line-height: 1.1; margin: 0; text-wrap: balance; color: var(--chalk); }
p { margin: 0; text-wrap: pretty; }
.nav, .scene, .sheet, footer { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* the PBB signature as the neon sign shows it: one Flieder tube (--lw, in viewBox units of 640) with a violet halo.
   Small marks get a thicker tube than the sign's 10.87 so they stay legible. */
.pbb { display: block; width: 100px; height: auto; aspect-ratio: 640 / 423.6; overflow: visible; color: var(--lilac); --lw: 10.87; }

/* stage: the renders, stacked; JS sets each layer's opacity from the scroll position */
.stage { position: fixed; inset: 0; z-index: 0; background: var(--g1); overflow: hidden; }
.shot { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot[data-shot="hero"] { opacity: 1; }
.stage::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, rgba(25, 24, 30, 0) 55%, rgba(25, 24, 30, .45) 100%); }
/* the hero's darkening sits on the fixed stage and fades out with scroll, instead of scrolling away as a visible band */
.scrim { position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(180deg, rgba(25, 24, 30, .55), rgba(25, 24, 30, 0) 22%), linear-gradient(90deg, rgba(25, 24, 30, .8) 0%, rgba(25, 24, 30, .42) 42%, rgba(25, 24, 30, 0) 70%), linear-gradient(0deg, rgba(25, 24, 30, .7), rgba(25, 24, 30, 0) 45%); }
.veil { position: absolute; inset: 0; z-index: 5; background: var(--g1); opacity: 0; pointer-events: none; }
.viz-note { position: fixed; z-index: 4; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(14px, env(safe-area-inset-bottom, 0px)); font: 500 10.5px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: rgba(215, 212, 223, .62); padding: 7px 10px; border-radius: 999px; background: rgba(25, 24, 30, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity .6s var(--ease); }
.viz-note.off { opacity: 0; pointer-events: none; }
/* scroll progress: a Flieder pickleball on a hairline rail in the right margin, shown once the page moves */
.roll { position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right, 0px)); top: 104px; bottom: 64px; width: 18px; pointer-events: none; opacity: 0; transition: opacity .8s var(--ease); }
.roll.on { opacity: 1; pointer-events: auto; cursor: pointer; touch-action: none; }
/* it is also a handle: drag the ball to scroll, click the rail to go there; the hit area is wider than the hairline */
.roll::after { content: ''; position: absolute; top: -10px; bottom: -10px; left: -12px; right: -8px; }
.roll.on:hover::before { background: rgba(215, 167, 243, .22); }
.roll.on .roll-ball { cursor: grab; transition: filter .3s var(--ease); }
.roll.on:hover .roll-ball, .roll.drag .roll-ball { filter: drop-shadow(0 0 1px var(--halo-1)) drop-shadow(0 0 10px var(--halo-1)); }
.roll.drag, .roll.drag .roll-ball { cursor: grabbing; }
.roll::before, .roll-fill { content: ''; position: absolute; left: 50%; top: 0; width: 1.5px; margin-left: -.75px; height: 100%; border-radius: 1px; }
.roll::before { background: rgba(215, 167, 243, .12); }
.roll-fill { background: linear-gradient(rgba(215, 167, 243, 0), rgba(215, 167, 243, .6)); transform-origin: top; transform: scaleY(0); will-change: transform; }
.roll-ball { position: absolute; left: 0; top: 0; width: 100%; height: auto; aspect-ratio: 1; display: block; will-change: transform; filter: drop-shadow(0 0 1px var(--halo-1)) drop-shadow(0 0 6px var(--halo-2)); }

/* navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding-top: calc(16px + env(safe-area-inset-top, 0px)); padding-bottom: 16px; border-bottom: 1px solid transparent; transition: background-color .6s var(--ease), border-color .6s var(--ease); }
.nav.solid { background: rgba(25, 24, 30, .82); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
.nav .brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; opacity: 0; transform: translateY(-4px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.nav.solid .brand { opacity: 1; transform: none; }
.nav .brand .pbb { width: 50px; --lw: 24; filter: drop-shadow(0 0 1px var(--halo-1)) drop-shadow(0 0 5px var(--halo-2)); }
.nav .brand span { font: 500 10.5px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--stone); }
.nav nav { display: flex; gap: 26px; }
.nav nav a { font: 500 14px/1 var(--body); text-decoration: none; color: var(--mist); padding: 8px 0; position: relative; transition: color .35s var(--ease); }
.nav nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--lilac); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav nav a:hover { color: var(--lilac-hi); }
.nav nav a:hover::after { transform: scaleX(1); }
@media (max-width: 1120px) { .nav nav { display: none; } .nav .brand span { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 999px; padding: 15px 26px; font: 600 14px/1 var(--body); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--lilac); color: var(--g1); box-shadow: 0 10px 30px rgba(150, 76, 218, .3); }
.btn-primary:hover { background: var(--lilac-hi); box-shadow: 0 14px 38px rgba(150, 76, 218, .42); }
.btn-ghost { background: rgba(215, 212, 223, .06); border-color: var(--line-2); color: var(--mist); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(215, 167, 243, .14); border-color: var(--lilac-line); color: var(--chalk); }
.btn-dark { background: var(--g1); color: var(--chalk); }
.btn-dark:hover { background: var(--g3); }
.nav .btn { padding: 11px 20px; }

/* scenes over the renders */
main { position: relative; z-index: 2; }
.scene { min-height: 125vh; min-height: 125svh; display: flex; align-items: center; padding-top: 120px; padding-bottom: 120px; }
.scene.left { justify-content: flex-start; } .scene.right { justify-content: flex-end; }
.panel { width: min(500px, 100%); padding: 34px 34px 30px; border-radius: 26px; background: var(--glass); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(22px) saturate(1.15); backdrop-filter: blur(22px) saturate(1.15); box-shadow: inset 0 1px 0 rgba(215, 167, 243, .16), 0 30px 80px rgba(10, 9, 14, .4); }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font: 600 11.5px/1.5 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--lilac); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; }
.panel h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.02; margin-bottom: 16px; }
.panel p { color: var(--mist); }
.panel .statement { font: 600 clamp(22px, 2.3vw, 28px)/1.2 var(--display); letter-spacing: -.015em; color: var(--chalk); }
/* "Pickleball, Beats & Beyond": the initials spell PBB, in the court Flieder */
.pbb-line b { color: var(--kitchen); font-weight: 800; }
.panel.wide { width: min(640px, 100%); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.facts b { display: block; font: 650 clamp(26px, 3vw, 36px)/1.05 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--lilac-hi); white-space: nowrap; }
.facts span { font-size: 13px; color: var(--stone-2); }
/* signature events: white name with a Flieder word, a Flieder line icon each */
.events { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.events li { display: grid; gap: 22px; align-content: space-between; min-height: 132px; padding: 20px 20px 18px; border-radius: 18px; background: linear-gradient(150deg, rgba(215, 167, 243, .14), rgba(215, 167, 243, .04)); border: 1px solid var(--lilac-line); transition: background-color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease); }
.events li:hover { border-color: rgba(215, 167, 243, .55); transform: translateY(-2px); }
.events svg { width: 30px; height: 30px; fill: none; stroke: var(--kitchen); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(150, 76, 218, .5)); }
.events span { font: 650 clamp(20px, 2vw, 24px)/1.1 var(--display); letter-spacing: -.015em; color: var(--chalk); }
.events b { font-weight: inherit; color: var(--kitchen); display: block; }

/* hero */
.hero { min-height: 100vh; min-height: 100svh; align-items: flex-end; padding-bottom: clamp(60px, 11vh, 120px); position: relative; }
.hero-in { max-width: 820px; }
.hero .pbb { width: clamp(150px, 17vw, 250px); margin: 0 0 26px -6px; --lw: 12.5; filter: drop-shadow(0 0 1.5px var(--halo-1)) drop-shadow(0 0 8px var(--halo-2)) drop-shadow(0 0 22px var(--halo-3)); }
.hero .motto { display: flex; align-items: center; gap: 14px; font: 600 clamp(18px, 1.9vw, 25px)/1.2 var(--display); letter-spacing: -.01em; color: var(--chalk); margin-bottom: 18px; }
.hero .motto::before { content: ''; width: 28px; height: 1.5px; background: var(--kitchen); }
.hero h1 { font-size: clamp(52px, 8.4vw, 124px); line-height: .92; letter-spacing: -.035em; font-weight: 700; margin-bottom: 24px; padding-bottom: .04em;
  background: linear-gradient(100deg, #f0dafc 0%, var(--lilac) 34%, var(--kitchen) 72%, #b384d6 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(150, 76, 218, .32)); }
.hero .lede { font-size: clamp(17px, 1.7vw, 21px); max-width: 520px; color: var(--mist); margin-bottom: 34px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.scrollhint { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: 64px; display: flex; align-items: center; gap: 12px; font: 500 11px/1 var(--body); letter-spacing: .28em; text-transform: uppercase; color: var(--stone-2); writing-mode: vertical-rl; }
.scrollhint i { width: 1.5px; height: 56px; background: linear-gradient(var(--lilac), transparent); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* content bands: transparent over the dimmed stage; each carries a soft lilac light that spills past its edges */
.sheet { position: relative; z-index: 3; padding-top: clamp(96px, 11vw, 150px); padding-bottom: clamp(96px, 11vw, 150px); }
.sheet::before { content: ''; position: absolute; inset: -25% 0; z-index: -1; pointer-events: none; }
/* bands that sit between two renders need room to dim in and lift out again */
#pickleball, #vonwem { padding-top: clamp(150px, 20vh, 220px); padding-bottom: clamp(200px, 34vh, 340px); }
/* the drone clip: graded into graphite and Flieder, the court in the hall's look; no frame: its edges fade out on all
   four sides (two masks intersected), and the ground around the court is graphite, so it melts into the band */
.clip { position: relative; margin: 0 calc(-1 * clamp(0px, 4vw, 64px)); aspect-ratio: 16 / 9;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-composite: intersect; }
.clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
#regeln { padding-top: clamp(150px, 20vh, 220px); }
#vonwem::before { background: radial-gradient(56% 36% at 14% 44%, rgba(150, 76, 218, .09), rgba(150, 76, 218, 0) 100%); }
#regeln::before { background: radial-gradient(70% 38% at 18% 50%, rgba(150, 76, 218, .09), rgba(150, 76, 218, 0) 100%); }
#warteliste::before { bottom: 0; background: radial-gradient(60% 40% at 82% 70%, rgba(150, 76, 218, .1), rgba(150, 76, 218, 0) 100%); }
html:not(.js) .sheet, html:not(.js) footer { background: var(--g1); }
.sheet .wrap { max-width: 1240px; margin: 0 auto; }
.sheet h2 { font-size: clamp(36px, 5vw, 68px); line-height: 1; max-width: 15ch; }
.sheet h2 em { font-style: normal; color: var(--lilac); }
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px 64px; align-items: end; }
.intro { font-size: clamp(17px, 1.5vw, 19px); color: var(--stone-2); max-width: 54ch; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* target groups */
.groups { list-style: none; margin: 56px 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.groups li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px 32px; align-items: baseline; padding: 24px 16px; border-top: 1px solid var(--line); transition: background-color .5s var(--ease); }
.groups li:hover { background: var(--lilac-wash); }
.groups h3 { font-size: clamp(22px, 2.3vw, 30px); transition: color .4s var(--ease); }
.groups li:hover h3 { color: var(--lilac-hi); }
.tile { background: rgba(31, 30, 37, .78); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .5s var(--ease); }
.tile:hover { border-color: var(--lilac-line); }
.visual { aspect-ratio: 16 / 9; max-width: 100%; background: radial-gradient(70% 90% at 50% 100%, rgba(215, 167, 243, .12), rgba(215, 167, 243, 0) 70%), var(--g3); border-bottom: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.tile-body { padding: 26px 28px 30px; display: grid; gap: 10px; justify-items: start; align-content: start; }
.tile-body .eyebrow { margin-bottom: 4px; }
.tile h3 { font-size: clamp(24px, 2.4vw, 30px); }
.tile-body p:not(.eyebrow) { max-width: 46ch; }
/* wide tiles (merch, kids): picture left, text right */
.tile.wide { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.tile.wide .visual { aspect-ratio: 8 / 5; border-bottom: 0; border-right: 1px solid var(--line); }
.tile.wide .tile-body { align-content: center; padding: clamp(26px, 4vw, 48px); }
/* the PBB paddle: the photo's ground is mapped to the tile graphite and its light to Flieder, so the picture has no edge */
.visual.paddle { background: var(--g3); }
.visual.paddle img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* team + merch */
.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.person { background: rgba(31, 30, 37, .78); border: 1px solid var(--line); border-radius: 24px; padding: 12px 12px 22px; display: flex; flex-direction: column; gap: 18px; transition: border-color .5s var(--ease); }
.person:hover { border-color: var(--lilac-line); }
/* portraits are pre-cropped to one framing (assets/team), so the box shows each photo whole */
.person .photo { display: block; width: 100%; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--g3); }
.person .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person h3 { font-size: clamp(24px, 2.4vw, 30px); padding: 0 10px; }
.merch { background: var(--g3); }
.merch img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* rules */
.rules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; margin-top: 56px; }
.card { background: rgba(39, 38, 46, .6); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color .5s var(--ease), background-color .5s var(--ease); }
.card:hover { border-color: var(--lilac-line); background: rgba(44, 42, 52, .75); }
.rules .court { justify-content: space-between; }
.rules .side { display: flex; flex-direction: column; gap: 18px; }
.score { gap: 14px; }
.score .num { font-size: 40px; }
.kit-tile { flex: 1; }
.kit-tile .visual { aspect-ratio: 8 / 5; border-bottom: 1px solid var(--line); }
.kit-tile .visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kit-tile .tile-body { padding: 24px 26px 28px; }
.kit-tile .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card h3 { font-size: 22px; letter-spacing: -.015em; }
.card p { color: var(--stone-2); font-size: 16px; }
.card .num { font: 650 52px/1 var(--display); letter-spacing: -.03em; color: var(--lilac); font-variant-numeric: tabular-nums; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
/* equipment tile: two short lists, paddle and ball */
.kit { display: grid; gap: 20px; margin-top: 8px; }
.kit h4 { margin: 0 0 10px; font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.kit .points { gap: 8px; }
.points li { position: relative; padding-left: 20px; color: var(--stone-2); font-size: 16px; }
.points li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--kitchen); }
.court svg { width: 100%; max-height: 560px; flex: 1; }
/* the kitchen, explained in its own colour under the field */
.kitchen-note { background: var(--kitchen); color: var(--g1); border-radius: 16px; padding: 18px 20px 20px; display: grid; gap: 6px; }
.kitchen-note b { font: 650 30px/1 var(--display); letter-spacing: -.02em; }
.kitchen-note h4 { margin: 0; font: 600 13px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.card .kitchen-note p { color: rgba(25, 24, 30, .82); font-size: 15px; }
.court .dim { font: 600 13px var(--body); fill: var(--stone-2); }
.court .in { font: 600 13px var(--body); fill: var(--g1); }
.court .in.s { font-weight: 400; font-size: 11px; }
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.steps span { font: 600 13px/1 var(--body); padding: 9px 13px; border-radius: 999px; background: rgba(215, 167, 243, .12); border: 1px solid var(--lilac-line); color: var(--lilac-hi); }
.steps b { color: var(--stone); font-weight: 500; }

/* vision + waitlist */
.sheet .vision { font-size: clamp(40px, 6.2vw, 90px); line-height: .98; max-width: 17ch; }
.vision em { font-style: normal; color: var(--lilac); }
.join { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 4.5vw, 56px); border-radius: 30px; background: radial-gradient(120% 140% at 0% 0%, #eed7fb 0%, var(--lilac) 46%, var(--kitchen) 100%); color: var(--g1); box-shadow: 0 40px 110px rgba(150, 76, 218, .24); }
.join :focus-visible { outline-color: var(--g1); }
.join h3 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; color: var(--g1); margin-bottom: 16px; }
.join .eyebrow { color: var(--g1); opacity: .7; }
.join-text p { color: rgba(25, 24, 30, .8); max-width: 40ch; }
form { display: grid; gap: 14px; }
label { font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: rgba(25, 24, 30, .72); display: grid; gap: 9px; }
input, select { font: 400 17px/1.2 var(--body); color: var(--mist); background: var(--g1); border: 1px solid transparent; border-radius: 14px; padding: 15px 18px; width: 100%; transition: box-shadow .35s var(--ease), background-color .35s var(--ease); }
input::placeholder { color: var(--stone); }
input:focus, select:focus { outline: none; background: var(--g2); box-shadow: 0 0 0 4px rgba(25, 24, 30, .22); }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; letter-spacing: 0; text-transform: none; font: 400 14px/1.5 var(--body); color: rgba(25, 24, 30, .8); }
.check input { width: 20px; height: 20px; padding: 0; accent-color: var(--g1); margin-top: 1px; }
.note { font-size: 14px; color: var(--g1); min-height: 1.5em; }
.note.ok { font-weight: 600; }

footer { position: relative; z-index: 3; background: linear-gradient(180deg, rgba(18, 17, 22, 0), var(--g0) 80%); color: var(--stone); padding-top: 64px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.foot { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: center; padding-top: 40px; border-top: 1px solid var(--line); }
.foot .pbb { width: 66px; --lw: 20; filter: drop-shadow(0 0 1px var(--halo-1)) drop-shadow(0 0 6px var(--halo-2)); }
.foot .who { margin-right: auto; display: grid; gap: 2px; }
.foot .who > b { color: var(--mist); font-weight: 500; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; transition: color .35s var(--ease); } .foot a:hover { color: var(--lilac-hi); }
.foot .credit { width: 100%; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

.legal { position: fixed; inset: 0; z-index: 150; background: rgba(18, 17, 22, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; }
.legal > div { background: var(--g3); border: 1px solid var(--line-2); color: var(--stone-2); max-width: 520px; border-radius: 22px; padding: 30px; display: grid; gap: 14px; justify-items: start; }
.legal h3 { font-size: 26px; }

@media (max-width: 920px) { .head, .join { grid-template-columns: minmax(0, 1fr); } .rules { grid-template-columns: minmax(0, 1fr); } .rules .court { grid-row: auto; } .kit-tile .kit { grid-template-columns: minmax(0, 1fr); }
  .tile.wide { grid-template-columns: minmax(0, 1fr); } .tile.wide .visual { border-right: 0; border-bottom: 1px solid var(--line); } }
/* stacked on phones: a square frame trims only black from the sides, so the paddle shows larger */
@media (max-width: 600px) { .tile.wide .visual.paddle { aspect-ratio: 1; } }
@media (max-width: 720px) {
  .scene { padding-top: 100px; padding-bottom: 40px; min-height: 115vh; align-items: flex-end; }
  .hero { min-height: 100vh; min-height: 100svh; padding-bottom: 64px; }
  .panel { padding: 26px 22px 24px; border-radius: 22px; } .facts { gap: 12px; } .scrollhint { display: none; }
  .roll { right: max(4px, env(safe-area-inset-right, 0px)); top: 92px; bottom: max(28px, env(safe-area-inset-bottom, 0px)); width: 12px; }
  .events li { min-height: 112px; padding: 16px 14px 14px; gap: 16px; } .events span { font-size: 18px; }
  .groups li { grid-template-columns: minmax(0, 1fr); padding: 20px 4px; }
  .crew { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); } .person { border-radius: 16px; padding: 6px 6px 12px; gap: 10px; } .person .photo { border-radius: 11px; } .person h3 { font-size: 16px; padding: 0 4px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .scrollhint i { animation: none; } .js .reveal { opacity: 1; transform: none; transition: none; } }
