/* VOICE   the launch of a tennis brand: confident, exact, a little playful
   IDEA    tennis seen from above: the court is the one coloured object, drawn to scale (2.17 to 1, the shape of a phone)
   PICTURE the court in the hero, then the product itself: real screens for Live, the Record, the Draw, Tiebreak and Qualie
   COLOUR  paper and ink; court blue only for the court and Melbourne; ink for Live; orange only for the ball and live
   TYPE    Archivo: Expanded for headlines, SemiExpanded for names and numbers, Normal for reading
   LAYOUT  laptop: words left, court right, then alternating bands. Phone: the court is the first screen */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --paper: #F4F4F1;
  --paper-2: #E9E9E3;
  --ink: #0E1217;
  --graphite: #2A323C;
  --slate: #4A535E;
  --mesh: #8A949F;
  --hair: rgba(14, 18, 23, .16);
  --chalk: #F4F4F1;
  --orange: #FF6A1A;
  --run: #1D4A86;
  --court: #2D68BD;
  --hard-run: #1D4A86;
  --hard: #2D68BD;
  --gap: 72px;
  --pad: 16px;
  --cw: min(100vw - 2 * var(--inset), 560px);
  --inset: 16px;
  --pp: 22px;
  --frame: 12px;
  --r-panel: 28px;
  --r-card: 22px;
  --r-in: 12px;
  --hh: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.36, .5, 1);
  color-scheme: light;
}
:root[data-surface="clay"] { --run: #95411F; --court: #B04E2B; }
:root[data-surface="grass"] { --run: #23603C; --court: #2F7D4F; }

* { box-sizing: border-box; min-width: 0; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--orange); color: var(--ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
img, svg { display: block; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 60; border-radius: 999px; background: var(--ink); color: var(--paper); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- buttons and links ---------- */
.button, .head-cta { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: inherit; font-size: 16px; font-weight: 700; font-stretch: 112.5%; text-decoration: none; cursor: pointer; transition: background-color .2s ease, transform .25s var(--ease-out); -webkit-tap-highlight-color: transparent; }
.button:active, .head-cta:active, .btn:active { transform: scale(.97); transition-duration: .08s; }
.button:hover, .head-cta:hover { background: var(--graphite); text-decoration: none; }
.button.light { background: var(--paper); color: var(--ink); }
.button.light:hover { background: #fff; }
.text-link { font-weight: 650; font-stretch: 112.5%; text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 30px; }

/* ---------- header and menu ---------- */
.site-head { position: sticky; top: 0; z-index: 50; height: var(--hh); background: rgba(244, 244, 241, .93); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 transparent; transition: box-shadow .3s ease, background-color .3s ease; view-transition-name: site-head; }
.site-head.scrolled { box-shadow: 0 1px 0 var(--hair); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; max-width: calc(1240px + 2 * var(--pad)); margin: 0 auto; padding: 0 calc(var(--pad) - 13px) 0 var(--pad); }
.head-brand { display: block; line-height: 0; color: var(--ink); border-radius: 6px; }
.head-logo { display: block; height: 21px; width: auto; margin-left: -3.5px; }
.head-nav { display: none; align-items: center; gap: 30px; }
.head-nav a:not(.head-cta) { position: relative; font-size: 16px; font-weight: 650; font-stretch: 112.5%; text-decoration: none; }
.head-nav a:not(.head-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .4s var(--ease-out); }
.head-nav a:not(.head-cta):hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.head-nav a[aria-current="page"]::after { transform: scaleX(1); }
.head-nav .head-cta { height: 42px; padding: 0 20px; font-size: 15px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the burger: two lines that meet and cross */
.burger { position: relative; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .2s ease; }
.burger:active .burger-lines { opacity: .55; }
.burger-lines { position: relative; width: 22px; height: 12px; }
.burger-lines i { position: absolute; left: 0; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: translate .16s var(--ease) .12s, rotate .16s ease 0s, width .16s var(--ease) .12s; }
.burger-lines i:first-child { top: 0; }
.burger-lines i:last-child { bottom: 0; width: 15px; }
.menu-open .burger-lines i { transition: translate .16s var(--ease) 0s, rotate .2s cubic-bezier(.2, .8, .2, 1) .12s, width .16s var(--ease) 0s; }
.menu-open .burger-lines i:first-child { translate: 0 5px; rotate: 45deg; }
.menu-open .burger-lines i:last-child { translate: 0 -5px; rotate: -45deg; width: 22px; }

/* the menu unrolls from under the header; the links follow it down */
.menu { position: fixed; z-index: 45; top: var(--hh); left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 24px; padding: 2px var(--pad) calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .2s cubic-bezier(.4, 0, 1, 1), visibility 0s linear .2s; }
.menu-open .menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .32s cubic-bezier(.2, .8, .2, 1); }
.menu-open .site-head { background: var(--paper); box-shadow: 0 1px 0 var(--hair); }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { border-bottom: 1px solid var(--hair); }
.menu-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 15px 0 16px; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.ml-t { display: flex; align-items: center; gap: 10px; font-size: clamp(28px, 8.2vw, 34px); font-weight: 740; font-stretch: 125%; letter-spacing: -.035em; line-height: 1.05; }
.ml-d { display: block; margin-top: 5px; font-size: 13.5px; line-height: 1.35; color: var(--slate); }
.menu-list a[aria-current="page"] .ml-t::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.ml-a { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: translate .2s var(--ease-out); }
.menu-list a:active .ml-a { translate: 4px 0; }
.menu-foot { margin-top: auto; display: grid; gap: 14px; }
.menu-cta { width: 100%; height: 52px; }
.menu-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.menu-mail { font-size: 15px; color: var(--graphite); text-decoration: none; }
.menu-social { display: flex; gap: 2px; margin: 0 -11px 0 0; padding: 0; list-style: none; }
.menu-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); }
.menu-social svg { width: 18px; height: 18px; fill: currentColor; }
.menu-list li, .menu-foot { opacity: 0; translate: 0 8px; transition: opacity .1s ease, translate .1s ease; }
.menu-open .menu-list li, .menu-open .menu-foot { opacity: 1; translate: 0 0; transition: opacity .26s ease, translate .34s cubic-bezier(.2, .8, .2, 1); }
.menu-open .menu-list li:nth-child(1) { transition-delay: .05s; }
.menu-open .menu-list li:nth-child(2) { transition-delay: .08s; }
.menu-open .menu-list li:nth-child(3) { transition-delay: .11s; }
.menu-open .menu-list li:nth-child(4) { transition-delay: .14s; }
.menu-open .menu-list li:nth-child(5) { transition-delay: .17s; }
.menu-open .menu-foot { transition-delay: .2s; }
.menu-open, .menu-open body { overflow: hidden; }
@media (max-height: 720px) { .menu { gap: 18px; } .menu-list a { padding: 11px 0 12px; } .ml-t { font-size: 26px; } .ml-d { margin-top: 3px; font-size: 13px; } .menu-cta { height: 48px; } .menu-foot { gap: 8px; } }
@media (min-width: 900px) {
  :root { --hh: 76px; }
  .head-in { padding-right: var(--pad); }
  .head-logo { height: 22px; margin-left: -3.7px; }
  .head-nav { display: flex; }
  .burger, .menu { display: none; }
}

/* page to page: the header stays, the page underneath crossfades */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .16s ease both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; translate: 0 10px; } }

/* ---------- the court ---------- */
.stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.court-frame { width: var(--cw); padding: var(--frame); border-radius: var(--r-panel); background: var(--run); }
.court { position: relative; width: 100%; aspect-ratio: 1097 / 2377; container-type: inline-size; color: var(--chalk); }
.court-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; clip-path: inset(calc(-1 * var(--frame)) round var(--r-panel)); }
.surface { fill: var(--court); }
.sweep { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); }
.line { fill: var(--chalk); transform-box: fill-box; }
.line.h { transform-origin: 0 50%; }
.line.v { transform-origin: 50% 0; }
.mark { fill: var(--chalk); fill-opacity: .16; transform-box: fill-box; transform-origin: 50% 50%; }
.net-shadow { fill: #000; fill-opacity: .09; }
.tape, .post { fill: var(--chalk); }
.tape { transform-box: fill-box; transform-origin: 0 50%; }
.ball { fill: var(--orange); cursor: pointer; }
.ball-shadow { fill-opacity: 1; }
:root[data-surface="clay"] .ball { stroke: var(--chalk); stroke-width: 6; }
.intro-on .line.h, .intro-on .tape { transform: scaleX(0); }
.intro-on .line.v { transform: scaleY(0); }
.intro-on .mark { transform: scale(0); }
.intro-on .post, .intro-on .net-shadow, .intro-on .ball-g, .intro-on .box, .intro-on .zone-far, .intro-on .intro, .intro-on .join, .intro-on .scale-note { opacity: 0; }

.zone { position: absolute; left: 12.9%; right: 12.9%; }
.zone-far { top: 0; height: 23%; display: flex; flex-direction: column; align-items: center; padding-top: 10.5cqw; }
.brand { display: none; line-height: 0; }
.brand-mark { display: block; height: max(16px, 4.4cqw); width: auto; }
.opening { margin: 0; font-size: clamp(12.5px, 3.3cqw, 16px); font-weight: 600; opacity: .9; }

.box { position: absolute; width: 37.1%; height: 26.6%; padding: 4.6cqw 3.4cqw; }
.box.tl { left: 12.9%; top: 23.4%; } .box.tr { left: 50.25%; top: 23.4%; }
.box.bl { left: 12.9%; top: 50.35%; } .box.br { left: 50.25%; top: 50.35%; }
.tense { display: flex; align-items: center; gap: 7px; margin: 0 0 1.6cqw; font-size: clamp(12px, 3.1cqw, 15px); font-weight: 600; opacity: .88; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; }
.box h2 { margin: 0; font-size: clamp(16px, 4.9cqw, 26px); font-weight: 700; font-stretch: 112.5%; letter-spacing: -.015em; line-height: 1.05; }
.box p.d { margin: 1.9cqw 0 0; font-size: clamp(12.5px, 3.35cqw, 16px); line-height: 1.36; opacity: .92; }
@container (max-width: 330px) { .box p.d { display: none; } }

.intro { position: absolute; top: 18cqw; left: 6cqw; right: 6cqw; text-align: center; }
.intro h1 { margin: 0; font-size: 8.9cqw; font-weight: 760; font-stretch: 125%; line-height: .95; letter-spacing: -.042em; }
.intro .lede { display: none; }

/* sign-up form: chalk on the court, ink on paper */
.join { position: absolute; top: 78.4%; left: 15.5%; right: 15.5%; color: var(--chalk); }
.join label { display: block; margin-bottom: 2.6cqw; font-size: clamp(13px, 3.5cqw, 16px); font-weight: 650; font-stretch: 112.5%; text-align: center; }
.field { display: block; width: 100%; height: max(44px, 11.6cqw); margin: 0; padding: 0 20px; border: 1.5px solid rgba(244, 244, 241, .6); border-radius: 999px; background: rgba(255, 255, 255, .06); transition: border-color .2s ease, background-color .2s ease; color: inherit; font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; }
.field::placeholder { color: currentColor; opacity: .7; }
.field:focus { outline: none; border-color: currentColor; background: rgba(255, 255, 255, .12); }
.field:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.field[aria-invalid="true"] { border-color: var(--orange); }
.btn { display: block; width: 100%; height: max(44px, 11.6cqw); margin: 2.2cqw 0 0; border: 0; border-radius: 999px; background: var(--chalk); transition: background-color .2s ease, transform .25s var(--ease-out); color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; font-stretch: 112.5%; cursor: pointer; -webkit-appearance: none; appearance: none; }
.btn:hover { background: #fff; }
.btn:disabled { cursor: progress; opacity: .8; }
.fine { margin: 2.6cqw 0 0; font-size: clamp(12.5px, 3.2cqw, 14px); line-height: 1.45; text-align: center; opacity: .92; }
.fine a { white-space: nowrap; }
.fine-more { display: none; }
.join-inline .fine-more { display: inline; }
.status { margin: 2cqw 0 0; font-size: 14px; font-weight: 650; text-align: center; }
.status:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: center; outline: none; }
.done h2 { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(19px, 5.4cqw, 26px); font-weight: 720; font-stretch: 125%; letter-spacing: -.03em; }
.done p { margin: 2.4cqw 0 0; font-size: clamp(13px, 3.4cqw, 16px); opacity: .92; }
.done-ball { display: inline-block; width: .62em; height: .62em; border-radius: 50%; background: var(--orange); flex: none; }
.join.is-done label, .join.is-done .field, .join.is-done .btn, .join.is-done .fine, .join.is-done .status, .join.is-done .ts { display: none; }
.ts { display: flex; justify-content: center; }
.ts > * { margin-top: 10px; }
.join-inline .ts { justify-content: flex-start; }
@media (min-width: 1100px) and (min-height: 680px) { .join .ts { justify-content: flex-start; } }
.confirm-form { margin: 32px 0 0; }
.page .note { max-width: 46ch; }
/* the sign-up on a small court; laptops keep it beside the court */
@media (max-width: 1099px), (max-height: 679px) {
  @container (max-width: 340px) { .join { top: 78%; } .field, .btn { height: 40px; } .btn { margin-top: 1.8cqw; } .join label { margin-bottom: 1.6cqw; } .fine { margin-top: 2cqw; } }
  @container (max-width: 290px) { .join { left: 13.4%; right: 13.4%; } .field, .btn { height: 36px; } .fine { font-size: 11.5px; } .join label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
}

.scale-note { display: none; }
.court-caption { width: var(--cw); margin: 0; padding: 14px var(--pad) 0; font-size: 14px; color: var(--slate); text-align: center; }

@media (min-width: 561px) { .stage { padding-top: 32px; } }
[data-page="home"] .stage { padding-top: 4px; }

/* laptop: words left, court right */
@media (min-width: 1100px) and (min-height: 680px) {
  :root {
    --frame: 34px;
    --r-panel: 36px;
    --ch: min(calc(100svh - 76px - 64px - 2 * var(--frame) - 62px), 1000px);
    --cw: calc(var(--ch) * 1097 / 2377);
    --flank: calc(min(100vw - 2 * var(--pad), 1240px) - var(--cw) - 2 * var(--frame) - var(--gap));
  }
  [data-page="home"] .stage { max-width: calc(1240px + 2 * var(--pad)); margin: 0 auto; padding: 32px var(--pad) 32px; min-height: calc(100svh - 76px); flex-direction: row; justify-content: flex-end; align-items: center; }
  .court-frame { width: auto; padding: var(--frame); }
  .court { width: var(--cw); }
  .zone-far { padding-top: 15cqw; }
  .brand { display: block; }
  .opening { margin-top: 3.6cqw; font-weight: 400; }
  .intro { top: calc(-1 * var(--frame)); left: auto; right: calc(100% + var(--frame) + var(--gap)); width: var(--flank); text-align: left; color: var(--ink); }
  .intro h1 { font-size: clamp(56px, calc(var(--flank) * .118), 104px); line-height: .92; letter-spacing: -.045em; }
  .intro .lede { display: block; margin: 28px 0 0; max-width: 34ch; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; color: var(--graphite); text-wrap: pretty; }
  .join { top: auto; bottom: calc(-1 * var(--frame)); left: auto; right: calc(100% + var(--frame) + var(--gap)); width: var(--flank); color: var(--ink); }
  .join > * { max-width: 470px; }
  .join label, .fine, .status, .done { text-align: left; }
  .join label { font-size: 16px; margin-bottom: 12px; }
  .join .field, .join .btn { height: 56px; }
  .join .field { border-color: rgba(14, 18, 23, .2); background: #fff; }
  .join .field:focus { border-color: var(--ink); background: #fff; }
  .join .btn { margin-top: 10px; background: var(--ink); color: var(--paper); }
  .join .btn:hover { background: var(--graphite); }
  .join .fine { font-size: 14px; margin-top: 14px; color: var(--slate); opacity: 1; }
  .join .status { font-size: 15px; margin-top: 12px; }
  .join .done h2 { font-size: 30px; }
  .join .done p { font-size: 16px; margin-top: 10px; }
  .scale-note { display: block; position: absolute; top: 81%; left: 14%; right: 14%; margin: 0; text-align: center; font-size: clamp(12.5px, 3.3cqw, 15px); line-height: 1.5; opacity: .92; }
  .court-caption { display: none; }
}

/* ---------- bands ---------- */
.band { padding: clamp(64px, 10vw, 144px) var(--pad); }
.band-in { max-width: 1240px; margin: 0 auto; }
.band { --pi: var(--pad); }
.band.ink, .band.paper2, .band.hard { --pi: var(--pp); margin: var(--inset); padding: 56px var(--pi); border-radius: var(--r-panel); }
@media (min-width: 900px) { .band.ink, .band.paper2, .band.hard { padding-block: clamp(80px, 10vw, 144px); } }
.band.ink { background: var(--ink); color: var(--paper); }
.band.paper2 { background: var(--paper-2); }
.band.hard { background: var(--hard); color: var(--chalk); }
@media (min-width: 600px) { :root { --pad: 28px; --inset: 28px; --pp: 32px; } }
@media (min-width: 900px) { :root { --pad: max(20px, 5vw); --inset: 14px; --pp: calc(var(--pad) - var(--inset)); --r-panel: 36px; } }
.band.tight { padding-top: 0; }
.kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 16px; font-weight: 650; font-stretch: 112.5%; color: var(--slate); }
.ink .kicker, .hard .kicker { color: inherit; opacity: .85; }
.h2 { margin: 0; font-size: clamp(38px, 5.2vw, 72px); font-weight: 780; font-stretch: 125%; letter-spacing: -.045em; line-height: .94; text-wrap: balance; }
.p-lg { margin: 22px 0 0; max-width: 40ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--graphite); text-wrap: pretty; }
.ink .p-lg, .hard .p-lg { color: inherit; opacity: .9; }
.note { margin: 18px 0 0; font-size: 14px; color: var(--slate); }
.ink .note { color: var(--mesh); }

.feature { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(56px, 8vw, 120px); }
  .feature.flip { grid-template-columns: auto minmax(0, 1fr); }
  .feature.flip > .feature-art { order: -1; }
}
.feature-art { display: flex; flex-direction: column; align-items: center; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 36px 0 0; max-width: 520px; border-top: 1px solid var(--hair); }
.facts div { padding: 14px 18px 14px 0; border-bottom: 1px solid var(--hair); }
.ink .facts, .ink .facts div { border-color: rgba(244, 244, 241, .16); }
.facts dt { font-size: 14px; color: var(--slate); }
.ink .facts dt { color: var(--mesh); }
.facts dd { margin: 3px 0 0; font-size: 17px; font-weight: 700; font-stretch: 112.5%; }

/* the games: a rail of screens */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: max-content; gap: 32px; margin: 56px calc(-1 * var(--pi, var(--pad))) 0; padding: 8px var(--pi, var(--pad)) 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: var(--pi, var(--pad)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > figure { margin: 0; scroll-snap-align: start; width: 320px; }
.rail figcaption { margin-top: 22px; }
.rail figcaption b { display: block; font-size: 24px; font-weight: 740; font-stretch: 125%; letter-spacing: -.03em; line-height: 1.05; }
.rail figcaption span { display: block; margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--graphite); }
@media (min-width: 1100px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 64px 0 0; padding: 0; overflow: visible; } .rail > figure { width: auto; display: flex; flex-direction: column; align-items: center; } .rail figcaption { width: 320px; } }

/* Australian Open band */
.countdown { display: flex; align-items: baseline; gap: 14px; margin: 40px 0 0; }
.countdown b { font-size: clamp(64px, 8vw, 116px); font-weight: 800; font-stretch: 125%; letter-spacing: -.05em; line-height: .8; font-variant-numeric: tabular-nums; }
.countdown span { font-size: clamp(20px, 2vw, 28px); font-weight: 700; font-stretch: 112.5%; }
.ao-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .ao-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; } }
.ao-when { margin: 16px 0 0; font-size: 18px; font-weight: 650; font-stretch: 112.5%; }

/* ---------- product screens ---------- */
.device { width: 320px; height: 693px; flex: none; padding: 9px; border-radius: 46px; background: #05070A; box-shadow: 0 0 0 1px rgba(14, 18, 23, .5), 0 30px 60px -20px rgba(14, 18, 23, .45); }
@media (max-width: 400px) { .device { zoom: .94; } }
@media (max-width: 370px) { .device { zoom: .88; } }
@media (max-width: 340px) { .device { zoom: .8; } }
.ink .device { box-shadow: 0 0 0 1px rgba(244, 244, 241, .14), 0 30px 60px -20px rgba(0, 0, 0, .6); }
.screen-wrap { height: 100%; border-radius: 37px; overflow: hidden; }
.screen { height: 100%; padding: 22px 18px; display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; font-stretch: 100%; text-align: left; }
.screen.dark { background: var(--ink); color: var(--paper); }
.screen.light { background: var(--paper); color: var(--ink); }
.s-top { display: flex; align-items: center; gap: 10px; min-height: 28px; margin-bottom: 14px; }
.s-back { width: 9px; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 4px 0 4px; flex: none; }
.s-title { flex: 1; font-size: 14px; font-weight: 650; font-stretch: 112.5%; }
.s-live { border-radius: 5px; background: var(--orange); color: var(--ink); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; }
.s-sub, .s-progress { font-size: 12px; color: var(--mesh); }
.light .s-sub, .light .s-progress { color: var(--slate); }
.s-progress { font-weight: 700; color: var(--ink); }
.s-icon { width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; }
.s-sec { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 8px; font-size: 12px; font-weight: 700; font-stretch: 112.5%; }
.s-tabs { display: flex; gap: 16px; margin-top: 14px; border-bottom: 1px solid var(--hair); font-size: 12.5px; font-weight: 600; }
.s-tabs span { padding-bottom: 8px; color: var(--slate); }
.s-tabs .on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }

.sb { border-radius: 14px; background: #161B22; padding: 12px 12px; display: grid; gap: 8px; }
.sb-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) repeat(3, 18px) 34px; align-items: center; gap: 6px; font-weight: 700; font-stretch: 112.5%; font-variant-numeric: tabular-nums; }
.sb-serve { width: 7px; height: 7px; border-radius: 50%; }
.sb-serve.on { background: var(--orange); }
.sb-name { font-size: 19px; letter-spacing: -.02em; }
.sb-set { font-size: 17px; text-align: right; }
.sb-set.dim { color: var(--mesh); }
.sb-pt { font-size: 17px; text-align: right; }
.sb-row:first-child .sb-pt { color: var(--orange); }
.sb-pt.tick { animation: tick .5s ease; }
@keyframes tick { from { transform: translateY(-6px); opacity: 0; } to { transform: none; opacity: 1; } }
.s-last { display: flex; justify-content: space-between; gap: 10px; margin: 10px 0 0; padding: 9px 0; border-bottom: 1px solid rgba(244, 244, 241, .14); font-size: 12.5px; }
.s-last-k { color: var(--mesh); flex: none; }
.momentum { width: 100%; height: auto; }
.momentum .m-up { fill: var(--paper); }
.momentum .m-dn { fill: var(--slate); }
.momentum .m-axis { stroke: rgba(244, 244, 241, .3); stroke-width: 1; }
.stat { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; row-gap: 5px; padding: 6px 0; }
.stat-v { font-weight: 700; font-stretch: 112.5%; font-variant-numeric: tabular-nums; }
.stat-v.r { text-align: right; }
.stat-l { text-align: center; color: var(--mesh); font-size: 12px; }
.stat-bars { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.stat-bars i { display: block; height: 4px; border-radius: 2px; }
.stat-bars .sb-a { justify-self: end; background: var(--paper); }
.stat-bars .sb-b { background: var(--slate); }

.pl-head { display: flex; align-items: center; gap: 12px; }
.pl-avatar { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 700; font-stretch: 112.5%; flex: none; }
.dark .pl-avatar { background: var(--graphite); }
.pl-avatar.sm { width: 30px; height: 30px; font-size: 11px; }
.pl-name { margin: 0; font-size: 19px; font-weight: 740; font-stretch: 112.5%; letter-spacing: -.02em; line-height: 1.1; }
.pl-meta { margin: 2px 0 0; font-size: 12px; color: var(--slate); }
.dark .pl-meta { color: var(--mesh); }
.pl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; border-top: 1px solid var(--hair); }
.pl-stats div { padding: 9px 0 0; }
.pl-stats b { display: block; font-size: 21px; font-weight: 760; font-stretch: 112.5%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pl-stats span { font-size: 11px; color: var(--slate); }
.rank-chart { width: 100%; height: auto; overflow: visible; }
.rc-area { fill: rgba(14, 18, 23, .07); }
.rc-line { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.rc-title { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.rc-lab { fill: var(--slate); font-size: 10px; }
.results { list-style: none; margin: 0; padding: 0; }
.results li { display: grid; grid-template-columns: 20px minmax(0, 1fr) 26px auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--hair); }
.wl { font-size: 11px; font-weight: 800; }
.wl.l { color: var(--slate); }
.rs-rd { color: var(--slate); font-size: 12px; }
.rs-sc { font-weight: 650; font-variant-numeric: tabular-nums; }

.dr-event { margin: 0; font-size: 12.5px; color: var(--slate); }
.dr-rounds { display: flex; gap: 6px; margin: 12px 0 12px; }
.dr-rounds span { flex: 1; text-align: center; padding: 6px 0; font-size: 12px; font-weight: 700; border: 1.5px solid var(--hair); border-radius: 999px; }
.dr-rounds .on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dr-list { display: grid; gap: 8px; }
.dr-match { display: grid; border: 1.5px solid var(--hair); border-radius: 12px; overflow: hidden; }
.dr-p { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 40px; padding: 0 12px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 650; font-stretch: 112.5%; text-align: left; cursor: pointer; }
.dr-p + .dr-p { border-top: 1px solid var(--hair); }
.dr-p i { font-style: normal; font-size: 11px; font-weight: 600; color: var(--slate); }
.dr-p.on { background: var(--ink); color: var(--paper); }
.dr-p.on i { color: var(--mesh); }
.dr-p:hover:not(.on) { background: rgba(14, 18, 23, .05); }
.dr-next { display: grid; gap: 6px; }
.dr-next p { display: flex; gap: 8px; align-items: baseline; margin: 0; font-size: 14px; font-weight: 700; font-stretch: 112.5%; }
.dr-next em { font-style: normal; font-weight: 500; color: var(--slate); }
.dr-next .tbd { color: var(--slate); font-weight: 500; font-stretch: 100%; }
.dr-lucky { margin: auto 0 0; padding: 12px 14px; border-radius: 12px; background: var(--paper-2); font-size: 12.5px; line-height: 1.45; }

.tb-score { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hair); margin-top: 4px; }
.tb-score div { padding-top: 10px; }
.tb-score span { font-size: 12px; color: var(--slate); }
.tb-score b { display: block; font-size: 64px; font-weight: 800; font-stretch: 125%; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.tb-dots { display: flex; gap: 6px; margin: 16px 0 0; }
.tb-dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); }
.tb-dots i.y { background: var(--ink); }
.tb-dots i.y.last { background: var(--orange); border-color: var(--orange); }
.tb-k { margin: 20px 0 6px; font-size: 12px; font-weight: 700; color: var(--slate); }
.tb-q { margin: 0; font-size: 18px; font-weight: 700; font-stretch: 112.5%; line-height: 1.25; letter-spacing: -.01em; }
.tb-a { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.tb-a button { height: 48px; border: 1.5px solid var(--ink); border-radius: 14px; transition: background-color .2s ease, color .2s ease, transform .25s var(--ease-out); background: transparent; color: var(--ink); font: inherit; font-size: 18px; font-weight: 750; font-stretch: 112.5%; cursor: pointer; }
.tb-a button:hover:not(:disabled) { background: rgba(14, 18, 23, .06); }
.tb-a button.right { background: var(--ink); color: var(--paper); }
.tb-a button.wrong { border-color: var(--slate); color: var(--slate); text-decoration: line-through; }
.tb-a button:disabled { cursor: default; }
.tb-msg { margin: auto 0 0; padding: 12px 14px; border-radius: 12px; background: var(--paper-2); font-size: 13px; }

.q-ladder { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; margin: 18px 0 2px; }
.q-step { padding: 7px 0; border-radius: 5px; text-align: center; font-size: 10px; font-weight: 700; background: #161B22; color: var(--mesh); }
.q-step.done { background: var(--graphite); color: var(--paper); }
.q-step.now { background: var(--paper); color: var(--ink); }
.q-next { padding: 12px 14px; border-radius: 14px; background: #161B22; }
.q-next p { margin: 0; }
.q-round { font-size: 12px; color: var(--mesh); }
.q-vs { margin-top: 4px !important; font-size: 19px; font-weight: 740; font-stretch: 112.5%; letter-spacing: -.02em; }
.q-vs em { font-style: normal; font-weight: 500; color: var(--mesh); font-size: 14px; }
.q-meta { margin-top: 4px !important; font-size: 12px; color: var(--mesh); }
.q-attr { display: grid; grid-template-columns: 70px minmax(0, 1fr) 24px; align-items: center; gap: 10px; padding: 5px 0; font-size: 12.5px; }
.q-attr b { text-align: right; font-variant-numeric: tabular-nums; }
.q-bar { height: 5px; border-radius: 3px; overflow: hidden; background: #161B22; }
.q-bar i { display: block; height: 100%; background: var(--paper); }
.q-buttons { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; margin-top: auto; padding-top: 14px; }
.q-buttons span { border-radius: 999px; display: flex; align-items: center; justify-content: center; height: 46px; font-weight: 750; font-stretch: 112.5%; font-size: 14.5px; }
.q-play { background: var(--paper); color: var(--ink); }
.q-train { border: 2px solid rgba(244, 244, 241, .5); }
.q-buttons.light { grid-template-columns: 1fr; }
.q-buttons.light .q-play { background: var(--ink); color: var(--paper); }
.q-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 14px -18px -22px; border-top: 1px solid rgba(244, 244, 241, .14); }
.q-modes span { padding: 12px 0 16px; text-align: center; font-size: 10.5px; font-weight: 650; color: var(--mesh); }
.q-modes .on { color: var(--paper); }

.fz-total { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.fz-total b { font-size: 46px; font-weight: 800; font-stretch: 125%; letter-spacing: -.04em; line-height: 1; }
.fz-total span { font-size: 12.5px; color: var(--slate); line-height: 1.4; }
.fz-squad { list-style: none; margin: 0; padding: 0; }
.fz-squad li { display: grid; grid-template-columns: 30px minmax(0, 1fr) 36px 30px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--hair); }
.fz-name { font-weight: 650; font-stretch: 112.5%; font-size: 14px; }
.fz-name em { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; margin-left: 6px; border-radius: 5px; background: var(--ink); color: var(--paper); font-style: normal; font-size: 10px; font-weight: 800; vertical-align: 1px; }
.fz-price { color: var(--slate); font-variant-numeric: tabular-nums; text-align: right; }
.fz-squad b { text-align: right; font-variant-numeric: tabular-nums; }
.fz-budget { margin: 12px 0 0; font-size: 12.5px; color: var(--slate); }
.fz-budget b { color: var(--ink); }

/* a Ballkid's fix */
.fix-card { width: min(100%, 420px); border-radius: var(--r-card); background: #fff; color: var(--ink); padding: 24px 26px; box-shadow: 0 0 0 1px var(--hair), 0 24px 48px -24px rgba(14, 18, 23, .35); }
.fix-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 650; font-stretch: 112.5%; }
.fix-ok { display: inline-flex; align-items: center; gap: 8px; }
.fix-ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.fix-match { margin: 14px 0 0; color: var(--slate); font-size: 15px; }
.fix-change { display: flex; align-items: center; gap: 14px; margin: 10px 0 18px; }
.fix-change .was { font-size: 44px; font-weight: 760; font-stretch: 125%; color: var(--mesh); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--orange); letter-spacing: -.03em; }
.fix-change .now { font-size: 44px; font-weight: 800; font-stretch: 125%; letter-spacing: -.03em; }
.fix-change sup { font-size: 18px; font-weight: 700; }
.fix-arrow { width: 34px; height: 2px; background: var(--ink); position: relative; }
.fix-arrow::after { content: ""; position: absolute; right: 0; top: -5px; width: 10px; height: 10px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }
.fix-dl { margin: 0; border-top: 1px solid var(--hair); }
.fix-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: 14.5px; }
.fix-dl dt { color: var(--slate); }
.fix-dl dd { margin: 0; font-weight: 650; text-align: right; }

/* line drawings on paper */
.art { display: block; width: 100%; height: auto; color: var(--ink); overflow: visible; }
.art .o, .mode-icon .o { fill: var(--orange); }
.art .os { stroke: var(--orange); }
.art .bgc { fill: var(--paper); }
.art text { fill: currentColor; font-family: inherit; }
.art-num { font-size: 46px; font-weight: 760; font-stretch: 125%; letter-spacing: -.03em; }
.art-dim { opacity: .5; }
.art-lab { font-size: 12.5px; font-weight: 600; }
.art-name { font-size: 20px; font-weight: 700; font-stretch: 112.5%; letter-spacing: -.01em; }
.art-sm { font-size: 15px; }
.art-score { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.art-big { font-size: 70px; font-weight: 760; font-stretch: 125%; letter-spacing: -.03em; }
.art-mid { font-size: 46px; font-weight: 760; font-stretch: 125%; }
.mode-icon { display: block; width: 120px; height: 72px; margin-bottom: 22px; color: var(--ink); }

/* ---------- inner pages ---------- */
.hero-page { padding: clamp(32px, 6vw, 88px) var(--pad) clamp(64px, 8vw, 112px); }
.hero-in { max-width: 1240px; margin: 0 auto; display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero-in { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(56px, 8vw, 120px); } }
.hero-page h1 { margin: 0 0 24px; font-size: clamp(60px, 10vw, 136px); font-weight: 800; font-stretch: 125%; letter-spacing: -.05em; line-height: .88; }
.hero-page .lede { margin: 0; max-width: 32ch; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.4; text-wrap: pretty; }
.hero-page .lede + p { margin: 20px 0 0; max-width: 46ch; font-size: 17px; line-height: 1.55; color: var(--graphite); }
.hero-side { display: flex; justify-content: center; }
.art-panel { width: min(100%, 520px); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-panel); background: var(--paper-2); }

.game { display: grid; gap: 44px; align-items: center; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--hair); scroll-margin-top: 16px; }
.game:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .game { grid-template-columns: auto minmax(0, 1fr); gap: clamp(56px, 8vw, 112px); } }
.game-side { display: flex; justify-content: center; }
.game .h2 { font-size: clamp(36px, 4.4vw, 60px); }
.game p.body { margin: 18px 0 0; max-width: 46ch; font-size: 18px; line-height: 1.55; color: var(--graphite); text-wrap: pretty; }

.modes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 700px) { .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .modes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mode { padding: 28px 26px 32px; border-radius: var(--r-card); background: var(--paper-2); }
.mode h3, .step h3 { margin: 0; font-size: 22px; font-weight: 740; font-stretch: 112.5%; letter-spacing: -.02em; line-height: 1.15; }
.mode p, .step p { margin: 10px 0 0; max-width: 36ch; font-size: 16px; line-height: 1.5; color: var(--graphite); text-wrap: pretty; }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { padding: 26px 26px 30px; border-radius: var(--r-card); background: var(--paper-2); }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 16px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 700; color: var(--slate); }
.ranks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .ranks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ranks li { padding: 22px 24px 26px; border-radius: var(--r-card); background: var(--paper-2); font-size: 22px; font-weight: 740; font-stretch: 112.5%; letter-spacing: -.02em; }
.ranks li span { display: block; margin-top: 6px; font-size: 15px; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--graphite); }
.sec-head { display: grid; gap: 16px 64px; margin-bottom: 44px; }
@media (min-width: 900px) { .sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } }
.sec-head .p-lg { margin: 0; }

.text-band .band-in { display: grid; gap: 28px 72px; border-top: 1px solid var(--hair); padding-top: 36px; }
@media (min-width: 900px) { .text-band .band-in { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.text-band { padding-top: 0; padding-bottom: clamp(56px, 7vw, 96px); }
.text-band h2 { margin: 0; font-size: clamp(26px, 2.8vw, 38px); font-weight: 760; font-stretch: 125%; letter-spacing: -.04em; line-height: 1; }
.prose { max-width: 66ch; }
.prose p, .prose li { font-size: 18px; line-height: 1.6; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose h2 { margin: 44px 0 10px; font-size: 22px; font-weight: 720; font-stretch: 112.5%; letter-spacing: -.015em; line-height: 1.2; }
.prose .updated { margin-top: 44px; font-size: 14px; color: var(--slate); }


.page { padding-block: clamp(36px, 7vw, 96px) 72px; }
.wrap { width: 100%; max-width: calc(1240px + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.page h1 { margin: 0 0 24px; font-size: clamp(48px, 8vw, 104px); font-weight: 800; font-stretch: 125%; letter-spacing: -.045em; line-height: .9; text-wrap: balance; }
.page .lede { margin: 0; max-width: 42ch; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; text-wrap: pretty; }
.page .text-link { display: inline-block; margin-top: 28px; font-size: 17px; }
.prose .lede { max-width: 52ch; margin-bottom: 8px; }

/* inline form on paper */
.join.join-inline { position: static; width: auto; max-width: 500px; left: auto; right: auto; top: auto; bottom: auto; color: var(--ink); }
.join-inline label, .join-inline .fine, .join-inline .status, .join-inline .done { text-align: left; }
.join-inline label { font-size: 16px; margin-bottom: 12px; }
.join-inline .field, .join-inline .btn { height: 56px; }
.join-inline .field { border-color: rgba(14, 18, 23, .2); background: #fff; }
.join-inline .field:focus { border-color: var(--ink); background: #fff; }
.join-inline .btn { margin-top: 10px; background: var(--ink); color: var(--paper); }
.join-inline .btn:hover { background: var(--graphite); }
.join-inline .fine { font-size: 14px; margin-top: 14px; color: var(--slate); opacity: 1; }
.join-inline .status { font-size: 15px; }
.join-inline .done h2 { font-size: 30px; }
.join-inline .done p { font-size: 16px; margin-top: 10px; }

/* ---------- footer ---------- */
.foot { margin: var(--inset); border-radius: var(--r-panel); background: var(--ink); color: var(--paper); padding: 44px var(--pp) 30px; }
@media (min-width: 900px) { .foot { padding: 56px var(--pp) 36px; } }
.foot-in { max-width: 1240px; margin: 0 auto; display: grid; gap: 32px; }
.foot-links { display: grid; grid-template-columns: repeat(3, max-content); gap: 12px 32px; margin: 0; padding: 0; list-style: none; font-size: 16px; }
@media (min-width: 600px) { .foot-links { display: flex; flex-wrap: wrap; gap: 10px 28px; } }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.legal { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--mesh); }
.legal a { color: inherit; }

/* ---------- footer ---------- */
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid rgba(244, 244, 241, .18); }
.foot-brand img { display: block; height: 24px; width: auto; margin-left: -4px; }
.foot-social { display: flex; gap: 4px; margin: 0 -11px; padding: 0; list-style: none; }
.foot-social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--paper); transition: background-color .15s; }
.foot-social a:hover { background: rgba(244, 244, 241, .12); }
.foot-social svg { width: 20px; height: 20px; fill: currentColor; }
.foot-mid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.foot-mail { font-size: 16px; text-decoration: none; }
.foot-mail:hover { text-decoration: underline; }

/* ---------- the surface switch, under the court ---------- */
.court-col { width: var(--cw); }
.court-tools { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 0 0; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--hair); }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--tw, 0); translate: var(--tx, 0) 0; border-radius: 999px; background: var(--hard); box-shadow: 0 1px 2px rgba(14, 18, 23, .2), 0 6px 14px -6px rgba(14, 18, 23, .35); }
.seg.ready .seg-thumb { transition: translate .55s var(--spring), width .45s var(--ease-out), background-color .5s ease; }
.seg[data-on="clay"] .seg-thumb { background: #B04E2B; }
.seg[data-on="grass"] .seg-thumb { background: #2F7D4F; }
.seg button { position: relative; z-index: 1; height: 38px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--graphite); font: inherit; font-size: 14.5px; font-weight: 650; font-stretch: 112.5%; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .3s ease; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { color: var(--chalk); }
.tools-note { margin: 0; font-size: 13px; color: var(--slate); text-align: center; }
.hero-first { display: none; }
.h-dot { display: inline-block; width: .2em; height: .2em; margin: 0 .22em .14em 0; border-radius: 50%; background: var(--orange); vertical-align: middle; }
@media (min-width: 1100px) and (min-height: 680px) {
  .court-col { width: calc(var(--cw) + 2 * var(--frame)); }
  .court-tools { padding: 16px 0 0; }
  .tools-note { display: none; }
  .fine-more { display: inline; }
}
@media (min-width: 1100px) and (min-height: 860px) {
  .hero-first { display: block; position: absolute; right: calc(100% + var(--frame) + var(--gap)); bottom: calc(240px - var(--frame)); width: var(--flank); padding-right: max(0px, calc(var(--flank) - 500px)); margin: 0; padding-top: 16px; border-top: 1px solid var(--hair); color: var(--ink); font-size: 16px; line-height: 1.5; }
  .hero-first a { white-space: nowrap; font-weight: 650; text-decoration-thickness: 2px; }
}

/* ---------- motion inside the screens and drawings, once, when they come into view ---------- */
.js-motion [data-anim] .rc-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.45, 0, .2, 1) .2s; }
.js-motion [data-anim] .rc-area { opacity: 0; transition: opacity .8s ease 1.3s; }
.js-motion [data-anim] .rc-title { transform-box: fill-box; transform-origin: 50% 50%; transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.js-motion [data-anim] .rc-title:nth-of-type(1) { transition-delay: .8s; }
.js-motion [data-anim] .rc-title:nth-of-type(2) { transition-delay: 1.15s; }
.js-motion [data-anim] .rc-title:nth-of-type(3) { transition-delay: 1.55s; }
.js-motion [data-anim].in .rc-line { stroke-dashoffset: 0; }
.js-motion [data-anim].in .rc-area { opacity: 1; }
.js-motion [data-anim].in .rc-title { transform: none; }

.momentum .m-up, .momentum .m-dn { transform-box: fill-box; }
.momentum .m-up { transform-origin: 50% 100%; }
.momentum .m-dn { transform-origin: 50% 0; }
.js-motion [data-anim] .m-up, .js-motion [data-anim] .m-dn { transform: scaleY(0); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.js-motion [data-anim].in .m-up, .js-motion [data-anim].in .m-dn { transform: none; }
.stat-bars .sb-a { transform-origin: 100% 50%; }
.stat-bars .sb-b { transform-origin: 0 50%; }
.js-motion [data-anim] .stat-bars i { transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .7, .2, 1) 1s; }
.js-motion [data-anim].in .stat-bars i { transform: none; }

.q-bar i { transform-origin: 0 50%; }
.js-motion [data-anim] .q-bar i { transform: scaleX(0); transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.js-motion [data-anim].in .q-bar i { transform: none; }
.js-motion [data-anim] .q-step.now { background: #161B22; color: var(--mesh); transition: background-color .4s ease 1.2s, color .4s ease 1.2s; }
.js-motion [data-anim].in .q-step.now { background: var(--paper); color: var(--ink); }

.fix-change .was { position: relative; text-decoration: none; }
.fix-change .was::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 4px; margin-top: -2px; background: var(--orange); transform-origin: 0 50%; }
.js-motion [data-anim] .was::after { transform: scaleX(0); transition: transform .5s cubic-bezier(.6, 0, .3, 1) .4s; }
.js-motion [data-anim] .now, .js-motion [data-anim] .fix-arrow { opacity: 0; transform: translateX(-8px); transition: opacity .5s ease 1s, transform .5s ease 1s; }
.js-motion [data-anim].in .was::after { transform: none; }
.js-motion [data-anim].in .now, .js-motion [data-anim].in .fix-arrow { opacity: 1; transform: none; }

.art .dp { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js-motion .art[data-anim] .dp { stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s cubic-bezier(.45, 0, .2, 1) .15s; }
.js-motion .art[data-anim] .o { transform-box: fill-box; transform-origin: 50% 50%; transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) 1.5s; }
.js-motion .art[data-anim].in .dp { stroke-dashoffset: 0; }
.js-motion .art[data-anim].in .o { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .court-frame, .surface { transition: none; }
  .sb-pt.tick { animation: none; }
}

.w0 { width: 0%; }
.w5 { width: 5%; }
.w10 { width: 10%; }
.w15 { width: 15%; }
.w20 { width: 20%; }
.w25 { width: 25%; }
.w30 { width: 30%; }
.w35 { width: 35%; }
.w40 { width: 40%; }
.w45 { width: 45%; }
.w50 { width: 50%; }
.w55 { width: 55%; }
.w60 { width: 60%; }
.w65 { width: 65%; }
.w70 { width: 70%; }
.w75 { width: 75%; }
.w80 { width: 80%; }
.w85 { width: 85%; }
.w90 { width: 90%; }
.w95 { width: 95%; }
.w100 { width: 100%; }
.after-court { width: min(100%, 560px); padding: 32px var(--pad) 8px; }
.after-court .p-lg { margin: 0; }
@media (min-width: 1100px) and (min-height: 680px) { .after-court { display: none; } }

.p-lg.first { margin: 0 0 28px; }
.hero-side .art-panel { width: min(100%, 520px); }
@media (min-width: 900px) { .hero-side .art-panel { width: 480px; } }

/* short laptop screens: give the court the height, the season picks the surface */
@media (min-width: 1100px) and (min-height: 680px) and (max-height: 819px) {
  :root { --ch: min(calc(100svh - 76px - 64px - 2 * var(--frame)), 1000px); }
  .court-tools { display: none; }
}
@media (min-width: 1100px) and (min-height: 680px) {
  .intro h1 { font-size: min(calc(var(--flank) * .118), calc(var(--ch) * .17), 104px); }
}
@container (max-width: 260px) { .scale-note { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  .menu, .menu-open .menu, .menu-list li, .menu-foot, .burger-lines i, .ml-a, .seg.ready .seg-thumb, .head-nav a::after { transition: none !important; }
  .menu-list li, .menu-foot { translate: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
