/* Lec's Pickle demo. Night court: deep teal-black stage, lime brand, the paddle on screen lends its colour as --accent. */
:root {
  --night: #020608;
  --court: #06171c;
  --ink: #f3f7f5;
  --mute: #9fb1ad;
  --brand: #a4ef2f;
  --accent: #ff2e7e;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: -apple-system, "SF Pro Text", "Figtree", system-ui, sans-serif;
  --r-lg: 30px;
  --r-md: 18px;
  --dock-h: 64px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 17px/1.5 var(--body); overflow-x: hidden; }
img, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2 { font-family: var(--display); font-weight: 900; line-height: .92; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(3.4rem, 13vw, 9rem); }
h2 { font-size: clamp(2.6rem, 8vw, 5.5rem); }
h3 { font: 700 1.35rem/1.2 var(--body); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.fine { font-size: .82rem; color: var(--mute); line-height: 1.45; }
/* How to pay (after an order or a booking), from the ways Alec switched on in his HQ */
.pay { display: grid; gap: 12px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.12); }
.pay h3 { font-size: 1.5rem; margin: 6px 0 0; }
.pay__way { display: grid; gap: 8px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.pay__way h4 { margin: 0; font-size: 1.05rem; }
.pay__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.pay__row span { color: var(--mute); font-size: .88rem; min-width: 7.5em; }
.pay__row b { font-weight: 600; overflow-wrap: anywhere; }
.pay__copy { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: inherit; font: inherit; font-size: .82rem; cursor: pointer; }
.pay__qr { width: min(100%, 240px); aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 12px; padding: 8px; }
.pay__note { margin: 0; white-space: pre-line; color: var(--mute); font-size: .9rem; }
.linkish { background: none; border: 0; padding: 10px 0; min-height: 44px; color: var(--accent, #b8f03a); font: inherit; text-decoration: underline; cursor: pointer; }

/* Glass: frosted panel with a lit top edge */
.glass {
  background: linear-gradient(140deg, rgba(255,255,255,.16), rgba(255,255,255,.05) 45%, rgba(255,255,255,.08));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), inset 0 -1px 0 rgba(255,255,255,.05), 0 18px 44px rgba(0,0,0,.45);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
  border-radius: 999px; font: 600 1rem/1 var(--body); color: var(--ink); text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .3s ease, box-shadow .3s ease;
}
.btn:active { transform: scale(.96); }
.btn--solid { background: var(--accent); color: #05090a; border: 0; box-shadow: 0 10px 34px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn--line { background: transparent; border: 1px solid rgba(255,255,255,.3); }
.btn--big { min-height: 58px; width: 100%; font-size: 1.08rem; }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 60; display: grid; place-content: center; justify-items: center; gap: 20px; background: var(--night); transition: opacity .6s ease, visibility .6s; }
/* the score every game starts on: a nod to players */
.loader__call { font: 900 1.5rem/1 var(--display); letter-spacing: .14em; color: var(--mute); }
.loader img { border-radius: 50%; box-shadow: 0 0 0 2px var(--brand), 0 0 60px color-mix(in srgb, var(--brand) 55%, transparent); animation: pulse 1.2s ease-in-out infinite alternate; }
.loader.is-done { opacity: 0; visibility: hidden; }
@keyframes pulse { to { transform: scale(1.06); } }

/* Dock: top pill on wide screens, bottom bar on phones */
.dock {
  position: fixed; z-index: 40; left: 50%; top: 14px; translate: -50% 0;
  display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px;
}
.dock a, .dock button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: none; color: var(--ink); font: 600 .95rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.dock a:hover, .dock button:hover { background: rgba(255,255,255,.1); }
.dock a[aria-current] { background: rgba(255,255,255,.16); box-shadow: inset 0 -2px 0 var(--accent); }
.dock__brand { padding-left: 4px !important; }
.fly { position: fixed; z-index: 80; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 26px var(--accent); pointer-events: none; }
.dock__brand img { border-radius: 50%; }
.dock__basket { background: rgba(255,255,255,.1) !important; }
.dock__basket b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #05090a; font-size: .8rem; }
@media (max-width: 700px) {
  .dock { top: auto; bottom: calc(10px + env(safe-area-inset-bottom)); width: calc(100% - 20px); justify-content: space-between; }
  .dock__brand span { display: none; }
  .dock__brand { flex: none; }
  .dock a, .dock button { padding: 0 11px; }
  /* the count sits on the corner of Basket, so the bar still fits a narrow phone once something is in it */
  .dock__basket { position: relative; }
  .dock__basket b { position: absolute; top: -7px; right: -3px; box-shadow: 0 0 0 2px var(--night); }
}
@media (max-width: 360px) {
  .dock a, .dock button { padding: 0 8px; font-size: .86rem; }
}

/* Scroll films: a tall section with a sticky full-screen stage */
.film { position: relative; height: 320vh; background: var(--night); }
.film--inside { height: 300vh; }
.film--grips { height: 240vh; }
.film__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; background: radial-gradient(ellipse 70% 60% at 50% 45%, var(--court), var(--night) 75%); }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 60%, transparent 100%); }
@media (orientation: portrait) {
  /* wide clips: show the middle 60% rather than a thin slice */
  .film__video--wide { inset: auto; left: 50%; top: 50%; width: 168vw; height: auto; max-width: none; translate: -50% -50%; object-fit: contain;
    -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
}
/* What's inside, upright phones: the tall clip is sized so the paddle starts under the title and the grip ends above the labels.
   In the clip the paddle's top is 20% down and the loose grip ends 94% down; 368px = title + labels + dock. */
@media (orientation: portrait) {
  .film--inside .film__title { top: 5vh; }
  .film--inside .film__video { --h: calc((100svh - 368px) / 0.74); inset: auto; top: calc(95px - var(--h) * 0.2); left: 50%; translate: -50% 0; width: auto; height: var(--h); aspect-ratio: 9 / 16; max-width: none; }
}
.film__cue { position: absolute; bottom: calc(var(--dock-h) + 40px); left: 0; right: 0; text-align: center; color: var(--mute); font-weight: 500; }
.film__cue::after { content: ""; display: block; width: 1px; height: 34px; margin: 10px auto 0; background: linear-gradient(var(--brand), transparent); animation: drip 1.6s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(1); opacity: 0; } }
.film__title { position: absolute; top: 14vh; left: 0; right: 0; padding: 0 20px; text-align: center; }

.hero { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 22px calc(var(--dock-h) + 38px); text-align: center; background: linear-gradient(transparent, rgba(2,6,8,.86) 38%); padding-top: 110px; }
.hero p { max-width: 34ch; margin: 14px auto 0; color: #d6e2de; font-size: 1.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
@media (min-width: 900px) and (orientation: landscape) {
  .hero { text-align: left; background: none; padding: 0 0 0 7vw; bottom: 16vh; right: auto; max-width: 46vw; }
  .hero p { margin-left: 0; }
  .hero__actions { justify-content: flex-start; }
  .hero h1 { font-size: clamp(4rem, 8.4vw, 9rem); }
}

.chips { position: absolute; left: 0; right: 0; bottom: calc(var(--dock-h) + 36px); display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 0 16px; }
.chips li { padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.chips li:nth-child(3) { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }

/* Paddle swiper */
.swiper { position: relative; min-height: 100vh; min-height: 100svh; padding: 96px 20px 110px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: start;
  background: radial-gradient(ellipse 60% 46% at 50% 44%, color-mix(in srgb, var(--accent) 26%, var(--court)), var(--night) 78%); transition: background .6s ease; }
.swiper__head { position: relative; z-index: 2; text-align: center; }
.swiper__head p { color: var(--mute); margin-top: 8px; }
.swiper__ghost { position: absolute; z-index: 0; left: 50%; top: 24%; translate: -50% 0; --chars: 4; font: 900 min(30rem, 44vw, calc(150vw / var(--chars)))/.8 var(--display); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent) 55%, transparent); white-space: nowrap; pointer-events: none; user-select: none; transition: opacity .35s ease, translate .5s cubic-bezier(.2,.8,.2,1); }
.swiper__ghost.is-out { opacity: 0; translate: -50% 6%; }
.swiper__court { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.swiper__court path { fill: none; stroke: color-mix(in srgb, var(--accent) 38%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.swiper__stage { position: relative; z-index: 1; height: min(62vh, 640px); touch-action: pan-y; cursor: grab; outline-offset: -4px; }
.swiper__stage:active { cursor: grabbing; }
.swiper__stage canvas, .swiper__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.swiper__fallback { object-fit: contain; mix-blend-mode: screen; }
/* No 3D: the stand-in film or picture is on black and is screen-blended, so its black melts away instead of showing as a box.
   The stage must not be its own layer for that to work, and whatever is behind would show through the paddle's black face,
   so the glow, the ghost word and the court lines are cleared and it sits on the plain page. */
.swiper.is-flat { background-image: none; }
.swiper.is-flat .swiper__stage { z-index: auto; }
.swiper.is-flat .swiper__ghost, .swiper.is-flat .swiper__court { display: none; }
.swiper__arrow { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); cursor: pointer; }
.swiper__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.swiper__arrow--prev { left: 0; }
.swiper__arrow--next { right: 0; }
.swiper__card { position: relative; z-index: 2; width: min(100%, 520px); margin: 0 auto; padding: 22px; border-radius: var(--r-lg); display: grid; gap: 16px; }
.swiper__title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.swiper__title p { color: var(--accent); font-weight: 700; transition: color .4s; }
.swiper__actions { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px; }
.swiper__ask, .finder__ask, .vs__ask { grid-column: 1 / -1; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.facts div { padding: 10px 6px; border-radius: 14px; background: rgba(255,255,255,.07); text-align: center; }
.facts dt { font-size: .74rem; color: var(--mute); }
.facts dd { font-weight: 700; font-size: .95rem; margin-top: 2px; }
.dots { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.dots button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); background: var(--dot); cursor: pointer; padding: 0; transition: transform .2s, box-shadow .2s; }
.dots button[aria-selected="true"], .dots button[aria-checked="true"] { transform: scale(1.18); border-color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot) 35%, transparent); }
.dots--big button { width: 38px; height: 38px; }
@media (min-width: 1000px) {
  .swiper { grid-template-columns: 1.25fr minmax(360px, .75fr); grid-template-rows: auto auto 1fr; column-gap: 4vw; padding: 120px 6vw 80px; align-items: center; }
  .swiper__head { grid-column: 2; text-align: left; align-self: end; }
  .swiper__stage { grid-column: 1; grid-row: 1 / span 3; height: min(78vh, 820px); }
  .swiper__card { grid-column: 2; margin: 0; align-self: start; }
  .swiper__ghost { left: 36%; top: 18%; font-size: min(30rem, 26vw, calc(104vw / var(--chars))); }
}

/* The hit */
.film--hit { height: 260vh; background: #000; }
.film--hit .film__stage { background: #000; }
.hit__word { position: absolute; inset: 0; display: grid; place-items: center; font: 900 clamp(10rem, 46vw, 40rem)/.8 var(--display); color: #fff; opacity: calc(.04 + var(--p, 0) * .07); scale: calc(.86 + var(--p, 0) * .34); user-select: none;
  will-change: opacity, scale; }   /* opacity, not a colour change: the graphics chip fades it, the giant word is not repainted every frame */
/* phone: the ball and the burst sit left of centre in the clip, so show a little more of the left */
/* Upright phones get V10p, cut to just the part they show (14% to 74% across), so 40% less film to decode while you scroll */
@media (orientation: portrait) { .film--hit .film__video--wide { width: 100vw; translate: -50% -50%; } }
/* wide screens: keep the clip in the top 80% so the quote sits under the paddle, not on it */
@media (orientation: landscape) { .film--hit .film__video { inset: 0 0 auto; height: 80%; object-fit: contain; } .film--hit .hit__quote { bottom: 26px; } }
.hit__quote { position: absolute; left: 0; right: 0; bottom: calc(var(--dock-h) + 56px); margin: 0; text-align: center; font: 900 clamp(2rem, 7vw, 4.5rem)/1 var(--display); padding: 0 20px; }
/* Line-up: the fan of all seven, then a card each */
.lineup { position: relative; overflow: hidden; background: radial-gradient(ellipse 80% 50% at 50% 30%, var(--court), var(--night) 80%); padding: 100px 16px 110px; }
.lineup__inner { display: grid; gap: 12px; justify-items: center; text-align: center; }
.lineup__inner p { color: var(--mute); max-width: 38ch; }
.lineup__fan { width: min(100%, 1100px); margin: 34px auto 0; }
.lineup__video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; max-width: 1180px; margin: 26px auto 0; }
@media (min-width: 900px) { .wall { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; } }
/* Phones: the seven tiles are one sideways row you swipe through, so the page does not grow by four rows of tiles */
@media (max-width: 699px) {
  .wall { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(66vw, 270px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 12px; scroll-padding-inline: 16px; }
  .wall::-webkit-scrollbar { display: none; }
  .tile { scroll-snap-align: start; }
}
.tile { border-radius: var(--r-md); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .25s ease, border-color .3s; }
.tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.tile__media { position: relative; aspect-ratio: 9 / 16; background: radial-gradient(ellipse 70% 55% at 50% 45%, color-mix(in srgb, var(--accent) 30%, var(--court)), #030a0c 80%); }
.tile__media img, .tile__media video { width: 100%; height: 100%; object-fit: cover; }
.tile__media img.is-cut { object-fit: contain; padding: 12% 14%; filter: drop-shadow(0 18px 24px rgba(0,0,0,.6)); }
.tile__badge { position: absolute; left: 8px; top: 8px; padding: 5px 9px; border-radius: 999px; background: rgba(2,6,8,.72); font-size: .68rem; font-weight: 700; letter-spacing: .02em; }
.tile__badge--brand { background: var(--brand); color: #05090a; top: auto; bottom: 8px; }
.tile__body { padding: 12px 12px 14px; display: grid; gap: 4px; align-content: start; }
.tile__body small { color: var(--accent); font-weight: 700; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.tile__body h3 { font: 900 1.6rem/1 var(--display); }
.tile__body p { color: var(--mute); font-size: .8rem; line-height: 1.3; }
.tile__actions { display: grid; gap: 8px; margin-top: 8px; }
.tile__actions .btn { min-height: 44px; padding: 0 12px; font-size: .9rem; }
@media (min-width: 900px) { .tile__actions { grid-template-columns: 1.5fr 1fr; } }

/* Rating bars: they grow in from nothing each time they are drawn */
.bars { display: grid; gap: 7px; }
.bar { display: grid; grid-template-columns: 6.4em 1fr 1.2em; align-items: center; gap: 10px; font-size: .86rem; }
.bar span { color: var(--mute); }
.bar b { text-align: right; font-variant-numeric: tabular-nums; }
.bar i, .vs__row i { position: relative; height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.bar i::before, .vs__row i::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, #fff), var(--accent)); transform-origin: left; transform: scaleX(var(--v)); animation: grow .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.bars .bars__demo { font: italic 400 .72rem/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--mute); }
.bars--mini { gap: 4px; margin-top: 6px; }
.bars--mini .bar { grid-template-columns: 5.6em 1fr 1em; gap: 6px; font-size: .7rem; }
.bars--mini .bar i { height: 5px; }

/* Showroom additions: the names rail, brand line, pitch and best-for */
.rail { position: relative; z-index: 2; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 6px; margin: 0 -20px; padding-inline: 20px; scroll-snap-type: x proximity; }
.rail::-webkit-scrollbar { display: none; }
.rail__chip { flex: none; scroll-snap-align: center; display: grid; justify-items: start; gap: 1px; padding: 8px 16px 9px 30px; border-radius: 16px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: var(--ink); cursor: pointer; position: relative; text-align: left; transition: background-color .3s, border-color .3s; }
.rail__chip::before { content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--dot); }
.rail__chip small { font-size: .68rem; color: var(--mute); letter-spacing: .05em; text-transform: uppercase; }
.rail__chip b { font: 900 1.15rem/1 var(--display); letter-spacing: .01em; }
.rail__chip[aria-selected="true"] { background: color-mix(in srgb, var(--dot) 22%, transparent); border-color: var(--dot); }
@media (min-width: 1000px) { .rail { grid-column: 2; margin: 0; padding-inline: 2px; flex-wrap: wrap; overflow: visible; } }
.swiper__brand { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.swiper__title h3 { font: 900 2rem/1 var(--display); }
.swiper__pitch { color: #d6e2de; font-size: .95rem; }
.swiper__best { font-size: .9rem; color: #d6e2de; }
.swiper__best b { color: var(--accent); }
.swiper__fallback.is-cut { mix-blend-mode: normal; padding: 4% 0; }
.facts dd { overflow-wrap: anywhere; }

/* Finder */
.finder { padding: 110px 20px; display: grid; gap: 28px; justify-items: center; background: linear-gradient(var(--night), #04100f 50%, var(--night)); }
.finder__head { text-align: center; }
.finder__head p { color: var(--mute); margin-top: 8px; }
.finder__card { width: min(100%, 560px); min-height: 360px; padding: 26px 22px; border-radius: var(--r-lg); display: grid; gap: 16px; align-content: start; }
.finder__card.is-in { animation: stepIn .45s cubic-bezier(.2,.9,.25,1); }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } }
.finder__step { color: var(--brand); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.finder__card h3 { font: 900 clamp(2rem, 7vw, 2.8rem)/1 var(--display); }
.finder__opts { display: grid; gap: 10px; }
.finder__opts button { min-height: 58px; padding: 0 20px; border-radius: 18px; color: var(--ink); font: 600 1.05rem var(--body); text-align: left; cursor: pointer; transition: transform .15s, border-color .2s; }
.finder__opts button:hover { border-color: var(--brand); }
.finder__opts button:active { transform: scale(.98); }
.finder__back { justify-self: start; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--mute); font: 600 .95rem var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.finder__match { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.finder__match img { width: 96px; height: auto; filter: drop-shadow(0 14px 20px rgba(0,0,0,.6)); }
.finder__match small { color: var(--accent); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .76rem; }
.finder__match p { color: #d6e2de; font-size: .92rem; margin-top: 4px; }
.finder__alt { color: var(--mute); font-size: .92rem; }
.finder__link { border: 0; background: none; padding: 0; min-height: 44px; margin-block: 4px; color: var(--ink); font: 700 .92rem var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.finder__actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }

/* Head to head */
.versus { padding: 100px 20px 110px; display: grid; gap: 22px; justify-items: center; background: radial-gradient(ellipse 70% 50% at 50% 60%, var(--court), var(--night) 80%); }
.versus__head { text-align: center; }
.versus__head p { color: var(--mute); margin-top: 8px; }
.versus__pick { width: min(100%, 640px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.versus__board { width: min(100%, 640px); padding: 22px 18px; border-radius: var(--r-lg); display: grid; gap: 12px; }
.vs__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; margin-bottom: 6px; }
.vs__top figure { margin: 0; display: grid; justify-items: center; gap: 8px; text-align: center; }
.vs__top img { height: min(34vw, 220px); width: auto; filter: drop-shadow(0 16px 22px rgba(0,0,0,.6)) drop-shadow(0 0 26px color-mix(in srgb, var(--accent) 40%, transparent)); }
.vs__top figcaption { font: 900 1.4rem/1 var(--display); }
.vs__top small { display: block; font: 700 .7rem var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.vs__mark { align-self: center; font: 900 2.2rem/1 var(--display); color: var(--brand); }
.vs__row { display: grid; grid-template-columns: 1.4em 1fr 6.6em 1fr 1.4em; align-items: center; gap: 8px; font-size: .9rem; }
.vs__row span { text-align: center; color: var(--mute); }
.vs__row b { font-variant-numeric: tabular-nums; color: var(--mute); text-align: center; }
.vs__row b.is-win { color: var(--brand); }
.vs__row i { height: 10px; }
.vs__l::before { transform-origin: right !important; }
.vs__fact { display: grid; grid-template-columns: 1fr 6.6em 1fr; gap: 8px; align-items: center; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); font-size: .9rem; }
.vs__fact span:first-child { text-align: right; } .vs__fact small { text-align: center; color: var(--mute); font-size: .74rem; }
.vs__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.vs__actions .btn { padding: 0 10px; font-size: .9rem; }

.hit__quote cite { display: block; margin-top: 12px; font: 500 .95rem/1.3 var(--body); color: var(--mute); }

/* Grips */
.grips { position: absolute; left: 50%; bottom: calc(var(--dock-h) + 30px); translate: -50% 0; width: min(calc(100% - 32px), 460px); padding: 22px; border-radius: var(--r-lg); display: grid; gap: 14px; }
.grips h2 { font-size: clamp(2.2rem, 7vw, 3.4rem); }
/* The grip film sits in its own 16:9 box, so the colour layer lines up with the clip exactly at every screen size.
   The box is blended onto the stage as one piece, so the colour can only ever touch the clip, never the page behind it. */
.grips__film { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: max(100%, 177.78vh); width: max(100%, calc(100svh * 16 / 9)); aspect-ratio: 16 / 9; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 60%, transparent 100%); }
@media (orientation: portrait) { .grips__film { top: 35%; width: 168vw; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); } }
.grips__clip { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Colours the new wrap only: white x colour = colour. It stops just behind the glowing ring (--front, set from the clip's time),
   so the grip underneath, to the right of the ring, stays white. */
.grips__tint { position: absolute; inset: 0; background-color: #fff; mix-blend-mode: multiply; pointer-events: none; transition: background-color .5s ease;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--front, 8.4%) - 5%), transparent calc(var(--front, 8.4%) - .8%)); mask-image: linear-gradient(90deg, #000 calc(var(--front, 8.4%) - 5%), transparent calc(var(--front, 8.4%) - .8%)); }
.grips p { color: #d6e2de; }
@media (min-width: 1000px) { .grips { left: auto; right: 6vw; bottom: 6vh; translate: none; } .grips__film { top: 42%; } } /* wide screens: the handle sits above the card */

/* Extras */
.extras { padding: 110px 20px; background: var(--night); position: relative; overflow: hidden; }
.bgloop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; pointer-events: none; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.extras > :not(.bgloop), .foot > :not(.bgloop) { position: relative; }
.extras h2 { text-align: center; margin-bottom: 36px; }
.extras__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 980px; margin: 0 auto; }
.item { border-radius: var(--r-lg); overflow: hidden; display: grid; }
.item img, .item video { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #000; }
.item__body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.item__body p { color: var(--mute); }
.item__body .btn { margin-top: 10px; }

/* Coaching court */
.learn { position: relative; padding: 110px 20px 90px; background: linear-gradient(var(--night), var(--court) 50%, var(--night)); display: grid; gap: 20px; justify-items: center; }
.learn__head { text-align: center; }
.learn__head p { color: var(--mute); margin-top: 8px; }
.learn__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.learn__chips button { min-height: 46px; padding: 0 18px; border-radius: 999px; color: var(--ink); font: 600 .98rem var(--body); cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.learn__chips button[aria-checked="true"] { background: var(--accent); border-color: transparent; color: #05090a; }
.learn__stage { width: min(100%, 720px); display: grid; gap: 10px; justify-items: center; }
.learn__court { width: 100%; aspect-ratio: 10 / 8.8; }
/* the match's score: near team (your paddle's colour), the call as a player would say it, far team. A lime ring marks who has the serve. */
.learn__live { width: min(100%, 420px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.learn__side { display: inline-flex; align-items: center; gap: 10px; font: 900 1.7rem/1 var(--display); font-variant-numeric: tabular-nums; }
.learn__side--far { justify-content: flex-end; }
.learn__side i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); transition: box-shadow .3s ease, background-color .4s ease; }
.learn__side--far i { background: #eef3f1; }
.learn__side.is-serving i { box-shadow: 0 0 0 3px var(--night), 0 0 0 5px #c8f53a; }
.learn__call { display: grid; justify-items: center; gap: 3px; }
.learn__call b { font: 900 1.5rem/1 var(--display); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.learn__call small { color: var(--mute); font-size: .8rem; min-height: 1.2em; white-space: nowrap; }
.learn__toggle { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.learn__real { color: var(--mute); font-size: .92rem; font-weight: 600; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.learn__real:hover { color: var(--ink); }
/* Booking sheet: the same match plays in a band across the top of the sheet, with the title sitting over its lower edge.
   Close button, band and title share the first row, so the band costs little height. */
#book > form[method="dialog"], #bookTitle, .book__live { grid-row: 1; grid-column: 1; }
#bookTitle { align-self: end; position: relative; z-index: 1; }
#book .sheet__close { z-index: 2; }
.book__live { position: relative; height: 140px; margin: -26px -22px 0; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; background: radial-gradient(ellipse 80% 120% at 65% 100%, var(--court), #000 90%); }
.book__live::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 42%, rgba(6,12,14,.92)); pointer-events: none; }
.book__live canvas { position: absolute; left: 26%; top: 0; width: 74%; height: 100%; }
.book__live span { position: absolute; left: 22px; top: 16px; display: grid; gap: 2px; z-index: 1; }
.book__live small { color: var(--mute); font-size: .74rem; }
.book__live b { font: 900 1.25rem/1 var(--display); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
/* short screens: no band, so the form keeps its room */
@media (max-height: 760px) { .book__live { display: none; } }
@media (max-width: 700px) { #book .form { gap: 12px; } #book .field input, #book .field select { min-height: 46px; } }
.learn__card { width: min(100%, 520px); padding: 22px; border-radius: var(--r-lg); display: grid; gap: 10px; }
.learn__when { color: var(--accent); font-weight: 700; transition: color .4s; }
.learn__actions { display: grid; gap: 10px; margin-top: 8px; }
@media (min-width: 1000px) {
  .learn { grid-template-columns: 1.2fr minmax(360px, .8fr); column-gap: 4vw; padding: 130px 6vw 110px; align-items: center; justify-items: stretch; }
  .learn__head { grid-column: 2; text-align: left; align-self: end; }
  .learn__chips { grid-column: 2; justify-content: flex-start; }
  .learn__stage { grid-column: 1; grid-row: 1 / span 3; width: 100%; }
  .learn__card { grid-column: 2; align-self: start; width: 100%; }
}

/* Dink rally game */
.rally__stage { position: relative; height: min(44svh, 330px); border-radius: var(--r-md); overflow: hidden; background: radial-gradient(ellipse 90% 90% at 50% 100%, var(--court), #000 85%); border: 1px solid rgba(255,255,255,.12); touch-action: manipulation; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.rally__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rally__count { position: absolute; top: 4px; left: 0; right: 0; text-align: center; font: 900 clamp(4rem, 22vw, 7rem)/1 var(--display); color: rgba(255,255,255,.16); pointer-events: none; font-variant-numeric: tabular-nums; }
.rally__call { position: absolute; top: 42%; left: 0; right: 0; text-align: center; font: 900 1.9rem/1 var(--display); letter-spacing: .02em; pointer-events: none; opacity: 0; }
.rally__row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.rally__row .btn { padding: 0 14px; white-space: nowrap; }
#bookFocusNote { color: var(--accent); font-weight: 600; }

/* Train */
.train { position: relative; min-height: 100vh; overflow: hidden; display: grid; align-items: end; }
.train__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* upright phones: the section is much taller than the screen, so a clip stretched over all of it would only show its middle strip.
   The tall clip fills the first screen instead and fades into the dark below. */
@media (orientation: portrait) { .train__video { height: 100vh; height: 100svh; -webkit-mask-image: linear-gradient(#000 68%, transparent); mask-image: linear-gradient(#000 68%, transparent); } }
.train__veil { position: absolute; inset: 0; background: linear-gradient(rgba(2,6,8,.25), rgba(2,6,8,.55) 40%, rgba(2,6,8,.94)); }
.train__inner { position: relative; width: min(100%, 760px); margin: 0 auto; padding: 46vh 20px 120px; display: grid; gap: 20px; }
.train__lede { font-size: 1.15rem; max-width: 40ch; color: #e3ece9; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stats li { padding: 16px 18px; border-radius: var(--r-md); }
.stats b { display: block; font: 900 clamp(2.4rem, 9vw, 4rem)/1 var(--display); color: var(--brand); font-variant-numeric: tabular-nums; }
.stats span { color: #d6e2de; font-size: .92rem; }
/* the net-cord clip between the numbers and the session cards: a wide window, a little shorter on big screens */
.train__clip { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.14); }
@media (min-width: 700px) { .train__clip { aspect-ratio: 2 / 1; } }
.sessions { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.sessions button { text-align: left; padding: 16px 18px; border-radius: var(--r-md); color: var(--ink); cursor: pointer; font: inherit; transition: transform .18s; }
.sessions button:active { transform: scale(.97); }
.sessions b { display: block; font-size: 1.05rem; }
.sessions span { color: var(--mute); font-size: .92rem; }
.train .btn--solid, .closing .btn--solid { background: var(--brand); box-shadow: 0 10px 34px color-mix(in srgb, var(--brand) 40%, transparent); }

/* Closing */
.closing { position: relative; min-height: 100vh; display: grid; place-items: end center; overflow: hidden; background: #000; }
.closing__video { position: absolute; inset: 4vh 0 auto; width: 100%; height: 66%; object-fit: contain; }
/* upright phones use the tall clip: sized so the paddle ends above the words, with its edges faded into the black */
@media (orientation: portrait) { .closing__video { inset: auto; top: 1vh; left: 50%; translate: -50% 0; width: auto; height: 51svh; aspect-ratio: 9 / 16; max-width: none;
  -webkit-mask-image: radial-gradient(ellipse 64% 56% at 50% 48%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 64% 56% at 50% 48%, #000 60%, transparent 100%); } }
.closing__inner { position: relative; padding: 0 20px 130px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.closing__event b { color: var(--brand); }
.closing__event { padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem; max-width: 34ch; }

.foot { position: relative; overflow: hidden; padding: 50px 20px 130px; display: grid; gap: 12px; justify-items: center; text-align: center; color: #d6e2de; border-top: 1px solid rgba(255,255,255,.08); }
.foot img { border-radius: 50%; }

/* Sheets (native dialog) */
.sheet { width: min(100%, 520px); max-height: 88svh; margin: auto auto 0; padding: 26px 22px calc(26px + env(safe-area-inset-bottom)); border-radius: var(--r-lg) var(--r-lg) 0 0; color: var(--ink); overflow: auto; }
.sheet[open] { display: grid; gap: 16px; animation: rise .42s cubic-bezier(.2,.9,.25,1); }
.sheet::backdrop { background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet h2 { font-size: 2.6rem; }
.sheet__close { position: absolute; right: 16px; top: 16px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: rgba(255,255,255,.12); color: var(--ink); font: 600 .9rem var(--body); cursor: pointer; }
@keyframes rise { from { transform: translateY(40%); opacity: 0; } }
@media (min-width: 700px) { .sheet { margin: auto; border-radius: var(--r-lg); } }
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.35); color: var(--ink); font: 500 1rem var(--body); }
.basket { display: grid; gap: 10px; }
.basket li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.07); }
.basket small { display: block; color: var(--mute); }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.basket__empty { color: var(--mute); }

.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(var(--dock-h) + 30px + env(safe-area-inset-bottom)); translate: -50% 0; padding: 14px 20px; border-radius: 999px; font-weight: 600; max-width: calc(100% - 32px); text-align: center; animation: rise .3s ease; }

/* Buy bar: above the dock while the paddle shows and the card's buttons do not */
.buybar { position: fixed; z-index: 39; left: 50%; bottom: calc(var(--dock-h) + 14px + env(safe-area-inset-bottom)); translate: -50% 18px; width: min(calc(100% - 20px), 420px); display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 999px; opacity: 0; visibility: hidden; transition: opacity .25s ease, translate .35s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s; }
.buybar.is-on { opacity: 1; visibility: visible; translate: -50% 0; transition-delay: 0s; }
.buybar__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.buybar__name { flex: 1; min-width: 0; font: 900 1.15rem/1 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .btn { flex: none; min-height: 44px; padding: 0 18px; }
.toast.is-high { bottom: calc(var(--dock-h) + 80px + env(safe-area-inset-bottom)); }
@media (min-width: 701px) { .buybar { bottom: 22px; } .toast.is-high { bottom: 92px; } }

/* Reduce Motion: keep every moment visible, swap travel for fades. Scroll films still follow the finger. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader img, .film__cue::after { animation: none !important; }
  .sheet[open], .toast { animation: fadeOnly .3s ease !important; }
  .swiper__ghost { transition: opacity .35s ease !important; }
  .bar i::before, .vs__row i::before { animation: none; }
  .finder__card.is-in { animation: fadeOnly .3s ease; }
  .tile:hover { transform: none; }
  .buybar { translate: -50% 0; }
  .btn:active, .sessions button:active { transform: none; }
}
@keyframes fadeOnly { from { opacity: 0; } }
@media (max-width: 420px) { .form__row { grid-template-columns: 1fr; } }
.sent__text { width: 100%; padding: 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.35); color: var(--ink); font: 500 .95rem/1.45 var(--body); resize: none; }

/* Shop notice and prices: shown only when Alec has set them in /admin (the site's own server) */
.notice { position: relative; z-index: 5; margin: 0; padding: 10px 16px; border-radius: 0; text-align: center; font-weight: 600; }
.tile__price { margin: 4px 0 0; font-weight: 700; color: var(--ink); }
.tile__price:empty { display: none; }
