/* ==========================================================================
   Clickit — clickit.ltd
   Brand source of truth: Obsidian "Designing the brand" + src/index.css.
   Court Black base · Net White text · Rally Lime accents/CTAs ·
   Match Orange = RECORDING STATE ONLY (rec-dot, REC indicator, capture flash).
   Display: Anton · Body/UI: Barlow. Structure motif: padel court lines.
   ========================================================================== */

:root {
  --black:   #0D0D0D;   /* Court Black  — base surface            */
  --panel:   #141414;   /* lifted panel                            */
  --line:    #21211f;   /* court-line hairline                     */
  --white:   #F5F2EC;   /* Net White    — text / "Click"           */
  --muted:   #9a978f;   /* dimmed body text                        */
  --lime:    #C8F135;   /* Rally Lime    — CTAs, accents, "it"      */
  --orange:  #FF5C1A;   /* Match Orange  — RECORDING ONLY           */
  --orange-rgb: 255, 92, 26;

  --font-display: 'Anton', system-ui, sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 72px);
  --logo-mask: var(--black);  /* must equal the surface behind the wordmark */

  /* THE LEADING RULE — Anton is a tall, condensed face whose glyphs nearly fill
     the em box, so a sub-1 line-height makes multi-line headings collide.
     Every Anton (display) heading uses this; never set a display line-height
     below it. Keeps multi-line headlines breathing naturally. */
  --leading-display: 1.12;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 400;
  line-height: var(--leading-display); letter-spacing: 0.01em; margin: 0; }

a { color: inherit; }
img, video { display: block; max-width: 100%; }

::selection { background: var(--lime); color: var(--black); }

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

/* a11y: keyboard skip-to-content (hidden until focused) */
.skip-link { position: absolute; left: 10px; top: -64px; z-index: 100;
  background: var(--lime); color: var(--black); padding: 10px 16px; border-radius: 6px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; text-decoration: none;
  transition: top .15s ease; }
.skip-link:focus { top: 10px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter); }

/* ---- shared bits --------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-block;
}

/* The wordmark — exact technique from src/components/Logo.module.css */
.logo { font-family: var(--font-display); letter-spacing: 0.04em; line-height: 1;
  display: inline-flex; align-items: baseline; white-space: nowrap; }
.lg-click { color: var(--white); }
.lg-it { color: var(--lime); }
.lg-iwrap { position: relative; display: inline-block; }
.lg-iwrap::before { content: ''; position: absolute; top: 0; left: 0.121em;
  transform: translateX(-50%); width: 0.28em; height: 0.16em;
  background: var(--logo-mask); z-index: 1; }
.lg-dot { position: absolute; top: -0.115em; left: 0.121em; transform: translateX(-50%);
  width: 0.25em; height: 0.25em; border-radius: 50%; background: var(--orange);
  z-index: 2; animation: idleBlink 3.2s ease-in-out infinite; }

@keyframes idleBlink {
  0%, 92%, 100% { box-shadow: 0 0 0 0 rgba(var(--orange-rgb), 0); }
  96% { box-shadow: 0 0 0 0.12em rgba(var(--orange-rgb), 0.35); }
}

/* Buttons */
.btn { font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.04em; text-decoration: none; display: inline-flex;
  align-items: center; gap: 0.5em; padding: 0.95em 1.5em; border-radius: 4px;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease,
  background .15s ease, color .15s ease; }
.btn-primary { background: var(--lime); color: var(--black); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line);
  border-color: #34342f; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

/* ---- nav ----------------------------------------------------------------- */

.nav { position: sticky; top: 0; z-index: 50;
  background: rgba(13,13,13,0.72); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between;
  height: 68px; }
.nav .logo { font-size: 1.55rem; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav-links a { font-family: var(--font-body); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.03em; text-decoration: none; color: var(--white); opacity: 0.82; }
.nav-links a:hover { opacity: 1; color: var(--lime); }
/* The lime button takes Court Black text (brand law). This selector (0,2,1) must
   out-specify `.nav-links a` (0,1,1), which would otherwise paint it white. */
.nav-links a.nav-cta { opacity: 1; color: var(--black); }
.nav-links a.nav-cta:hover { color: var(--black); }
.nav-text { display: contents; }
@media (max-width: 760px) { .nav-text { display: none; } }

/* ---- hero ---------------------------------------------------------------- */

.hero { position: relative; text-align: center; overflow: hidden;
  padding-top: clamp(40px, 7vw, 92px); padding-bottom: clamp(30px, 5vw, 60px); }
/* a soft warm glow behind the hero (centre service line removed) */
.hero::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 0%, rgba(var(--orange-rgb),0.06), transparent 60%);
}
.hero-top { position: relative; z-index: 1; max-width: 780px; margin-inline: auto; }
.hero .eyebrow { justify-content: center; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 7rem); margin: 0.7rem 0 0; }
.hero h1 .lime { color: var(--lime); }
.hero-sub { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  margin: 1.3rem auto 1.8rem; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.hero-hint { font-family: var(--font-body); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 1.4rem 0 0; }
.hero-reel { position: relative; z-index: 1; margin-top: clamp(30px, 4.5vw, 56px); }

/* landscape clip frame — Clickit shoots 16:9 (the "See it work" demo) */
.hero-stage { position: relative; width: 100%; max-width: 540px; margin-inline: auto; text-align: center; }
.see-head { text-align: center; max-width: 56ch; margin-inline: auto; }
.see-head .eyebrow { justify-content: center; }
.see-head p { margin-inline: auto; }
.clip-frame { position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--panel); border-radius: 18px; border: 2px solid #2b2b27;
  padding: 8px; box-shadow: 0 40px 90px -45px rgba(0,0,0,0.9); }
.clip-screen { position: relative; width: 100%; height: 100%; border-radius: 11px;
  overflow: hidden; background: #000; }
.clip-screen video.clip-media, .clip-screen .court-scene { position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; }

/* Animated court placeholder (stands in until a real clip is dropped in). A live
   padel-court scene: net + tramlines, a slow light sweep, a drifting ball. */
.court-scene { background:
  radial-gradient(130% 90% at 50% 15%, #1d3315, #0c150a 62%, #070a05 100%); overflow: hidden; }
.court-lines { position: absolute; inset: 12% 14%; border: 1.5px solid rgba(200,241,53,0.16);
  border-radius: 2px; }
.court-lines::before { content: ''; position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; background: rgba(245,242,236,0.22); }   /* the net line */
.court-lines::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1.5px; background: rgba(200,241,53,0.10); }    /* centre service line */
.court-scan { position: absolute; left: 0; right: 0; height: 38%; top: -38%;
  background: linear-gradient(180deg, transparent, rgba(200,241,53,0.10), transparent);
  animation: scan 4.6s ease-in-out infinite; }
@keyframes scan { 0% { top: -38%; } 60%, 100% { top: 100%; } }
.court-ball { position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 10px rgba(200,241,53,0.6); left: 42%; top: 38%;
  animation: ball 3.4s ease-in-out infinite; }
@keyframes ball {
  0% { left: 30%; top: 58%; } 25% { left: 60%; top: 30%; }
  50% { left: 44%; top: 62%; } 75% { left: 22%; top: 34%; } 100% { left: 30%; top: 58%; } }

/* the in-clip Clickit watermark, the real growth loop, shown for authenticity */
.clip-frame .wm { position: absolute; right: 12px; bottom: 10px; font-size: 0.78rem;
  z-index: 3; --logo-mask: #000; opacity: 0.95; filter: drop-shadow(0 1px 2px #000a); }

/* "saving" shimmer shown briefly during the demo press sequence */
.saving { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center;
  justify-content: center; gap: 8px; background: rgba(6,8,5,0.78); color: var(--white);
  font-family: var(--font-body); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.saving::before { content: ''; width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid rgba(245,242,236,0.25); border-top-color: var(--lime);
  animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.clip-screen.saving-on .saving { opacity: 1; }

/* REC indicator */
.rec { position: absolute; top: 14px; left: 14px; z-index: 3; display: inline-flex;
  align-items: center; gap: 7px; font-family: var(--font-body); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.12em; color: var(--white);
  background: rgba(0,0,0,0.45); padding: 5px 9px; border-radius: 30px; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange);
  animation: recPulse 1.4s ease-in-out infinite; }
@keyframes recPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--orange-rgb), 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(var(--orange-rgb), 0); }
}
/* rolling-buffer timeline under the REC pill */
.buffer { position: absolute; top: 40px; left: 14px; z-index: 3; width: 92px; height: 3px;
  border-radius: 3px; background: rgba(255,255,255,0.18); overflow: hidden; }
.buffer::after { content: ''; position: absolute; inset: 0; width: 38%; background: var(--orange);
  animation: buffer 4s linear infinite; }
@keyframes buffer { from { transform: translateX(-100%); } to { transform: translateX(360%); } }

/* the interactive court button */
.court-btn { position: relative; margin-top: 22px; display: inline-flex; flex-direction: column;
  align-items: center; gap: 7px; justify-self: center; background: var(--black);
  border: 2.5px solid var(--lime); border-radius: 16px; padding: 16px 26px;
  cursor: pointer; transition: transform .12s ease, border-color .2s ease;
  -webkit-tap-highlight-color: transparent; overflow: visible; }
.court-btn:hover { transform: translateY(-2px); }
.court-btn:active { transform: scale(0.97); }
.court-btn .logo { font-size: 1.5rem; --logo-mask: var(--black); }
.court-btn-label { font-family: var(--font-body); font-weight: 700; font-size: 0.62rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
/* lime ring ripple off the button on press (JS adds .rippling) */
.court-ripple { position: absolute; inset: 0; border-radius: 16px; z-index: -1;
  pointer-events: none; }
.court-btn.rippling .court-ripple { animation: ripple .6s ease-out; }
@keyframes ripple {
  from { box-shadow: 0 0 0 0 rgba(200,241,53,0.55); }
  to { box-shadow: 0 0 0 26px rgba(200,241,53,0); } }

/* demo press sequence: button glows orange (recording) then the screen flashes */
.court-btn.capturing { border-color: var(--orange); }
.hero-stage.capturing .clip-screen::after { content: ''; position: absolute; inset: 0;
  background: rgba(var(--orange-rgb), 0.5); z-index: 4; animation: flash .5s ease-out; }
@keyframes flash { from { opacity: 1; } to { opacity: 0; } }

.demo-hint { text-align: center; margin: 14px 0 0; font-family: var(--font-body);
  font-weight: 600; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); transition: color .2s ease, opacity .2s ease; }
.hero-stage.capturing .demo-hint { color: var(--lime); }
.demo-hint.hide { opacity: 0; visibility: hidden; }

/* result state: the captured clip "plays" and Replay/Share appear on the frame */
.clip-screen.played .court-ball { animation-duration: 1.7s; }
.clip-actions { position: absolute; left: 10px; right: 10px; bottom: 11px; z-index: 6;
  display: flex; gap: 8px; justify-content: center; opacity: 0; transform: translateY(6px);
  pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.clip-screen.played .clip-actions { opacity: 1; transform: none; }
.clip-screen.played .clip-act { pointer-events: auto; }
.clip-act { font-family: var(--font-body); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.04em; padding: 0.5em 0.95em; border-radius: 7px; border: 0;
  cursor: pointer; transition: transform .12s ease; }
.clip-act:hover { transform: translateY(-1px); }
.clip-act[data-act="share"] { background: var(--lime); color: var(--black); }
.clip-act[data-act="replay"] { background: rgba(0,0,0,0.55); color: var(--white);
  border: 1px solid rgba(255,255,255,0.28); }

/* ---- generic section ----------------------------------------------------- */

.section { padding-block: clamp(64px, 9vw, 128px); border-top: 1px solid var(--line); }
.section-head { max-width: 56ch; margin-bottom: clamp(34px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); margin-top: 0.7rem; }
.section-head p { color: var(--muted); margin: 1rem 0 0; font-size: 1.15rem; max-width: 50ch; }
.lead-em { color: var(--white); }

/* what-it-is: problem -> solution */
.pivot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); }
.pivot .card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: clamp(24px, 3vw, 38px); }
.pivot .card h3 { font-family: var(--font-body); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.4; }
.pivot .problem h3 { color: var(--muted); }
.pivot .solution { border-color: #34401a; }
.pivot .solution h3 { color: var(--lime); }
.pivot .card p { margin: 0.8rem 0 0; font-size: 1.18rem; line-height: 1.5; }

/* how it works — a real sequence, so numbered markers are earned */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 30px);
  counter-reset: step; }
.step { padding-top: 18px; border-top: 2px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--lime);
  margin-bottom: 16px; }
.step.capture::before { color: var(--orange); }   /* the recording moment */
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.3rem;
  letter-spacing: 0.01em; }
.step p { color: var(--muted); margin: 0.5rem 0 0; font-size: 1rem; }
.step .tag { display: inline-block; margin-top: 10px; font-family: var(--font-body);
  font-weight: 700; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange); }

/* clips reel — a seamless auto-scrolling feed, broken out to full-bleed width */
.clips-reel { position: relative; overflow: hidden; width: 100vw; margin-left: calc(50% - 50vw);
  padding-inline: clamp(20px, 5vw, 72px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.clips-track { display: flex; width: max-content; gap: clamp(14px, 2vw, 22px);
  animation: reel 42s linear infinite; }
.clips-reel:hover .clips-track, .clips-reel:focus-within .clips-track { animation-play-state: paused; }
.clips-set { display: flex; gap: clamp(14px, 2vw, 22px); padding-right: clamp(14px, 2vw, 22px); }
@keyframes reel { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.clip { position: relative; flex: 0 0 auto; width: clamp(260px, 30vw, 360px);
  aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease; }
.clip:hover { transform: translateY(-4px); border-color: #34401a; }
.clip video, .clip .clip-poster { width: 100%; height: 100%; object-fit: cover; }
.clip .wm { position: absolute; right: 8px; bottom: 8px; font-size: 0.7rem; z-index: 2;
  --logo-mask: #000; filter: drop-shadow(0 1px 2px #000a); }
/* placeholder slots = a live mini court (until a real clip is dropped in) */
.clip.placeholder { background:
    linear-gradient(0deg, transparent calc(50% - 1px), rgba(245,242,236,0.16) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    radial-gradient(120% 95% at 50% 12%, #1d3315, #0b0b0b 74%); }
.clip.placeholder::before { content: ''; position: absolute; inset: 15% 11%;
  border: 1.5px solid rgba(200,241,53,0.14); border-radius: 2px; }
.clip.placeholder::after { content: ''; position: absolute; width: 7px; height: 7px;
  border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px rgba(200,241,53,0.5);
  animation: ball 3.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.clip.placeholder .ph-rec { position: absolute; top: 9px; left: 9px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-body);
  font-weight: 700; font-size: 0.55rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); background: rgba(0,0,0,0.4); padding: 3px 7px; border-radius: 20px; }
.clip.placeholder .ph-rec i { width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); font-style: normal; animation: recPulse 1.4s ease-in-out infinite; }

/* for clubs — an asymmetric bento (2 wide on top, 3 on the bottom row) */
.clubs-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.club-card { grid-column: span 2; background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: clamp(22px, 2.6vw, 32px);
  transition: transform .25s ease, border-color .25s ease; }
.club-card.wide { grid-column: span 3; }
.club-card:hover { transform: translateY(-4px); border-color: #2c2c28; }
.club-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.18rem; }
.club-card.wide h3 { font-size: 1.4rem; }
.club-card p { color: var(--muted); margin: 0.6rem 0 0; font-size: 1rem; }

/* ---- lime contrast band — the free-marketing hook ----------------------- */
.band { background: var(--lime); color: var(--black); padding-block: clamp(56px, 8vw, 108px); }
.band-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 68px);
  align-items: center; }
.band-eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(13,13,13,0.55); }
.band-title { font-family: var(--font-display); font-weight: 400; color: var(--black);
  font-size: clamp(2.4rem, 5vw, 4.2rem); margin: 0.7rem 0 0; }
.band-sub { color: rgba(13,13,13,0.78); font-size: 1.18rem; line-height: 1.5;
  max-width: 40ch; margin: 1.2rem 0 0; }
.band-demo { justify-self: center; width: 100%; max-width: 420px; }
.band-clip { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: radial-gradient(120% 95% at 50% 14%, #1d3315, #0b0b0b 72%);
  box-shadow: 0 34px 64px -34px rgba(0,0,0,0.55); }
.band-yourlogo { position: absolute; top: 12px; right: 12px; font-family: var(--font-body);
  font-weight: 700; font-size: 0.6rem; letter-spacing: 0.16em; color: var(--white);
  border: 1.5px dashed rgba(245,242,236,0.55); border-radius: 5px; padding: 5px 8px; }
.band-clip .wm { position: absolute; right: 12px; bottom: 10px; --logo-mask: #0b0b0b;
  filter: drop-shadow(0 1px 2px #000a); }

/* sports row — all equal; lime fill on hover */
.sports { display: flex; flex-wrap: wrap; gap: 12px; }
.sport { font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.02em; padding: 0.55em 1.1em; border: 1px solid var(--line);
  border-radius: 30px; color: var(--white); cursor: default;
  transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.sport:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.markets { margin-top: 22px; color: var(--muted); font-size: 0.98rem; }
.markets b { color: var(--white); font-family: var(--font-body); }

/* final CTA */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 5rem); }
.cta p { color: var(--muted); margin: 1rem auto 2rem; font-size: 1.2rem; max-width: 40ch; }
.disclaimer { margin-top: 26px; color: #6f6c66; font-size: 0.82rem; }

/* footer */
.footer { border-top: 1px solid var(--line); padding-block: 48px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between;
  align-items: center; }
.footer .logo { font-size: 1.4rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-family: var(--font-body); font-weight: 600; font-size: 0.85rem;
  text-decoration: none; opacity: 0.8; }
.footer-links a:hover { opacity: 1; color: var(--lime); }
.footer-meta { width: 100%; color: #6f6c66; font-size: 0.82rem; border-top: 1px solid var(--line);
  padding-top: 22px; margin-top: 6px; }

/* ---- scroll reveal ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- hero load sequence (only when JS is on, so no-JS still shows) -------- */
.js .hero-top > *, .js .hero-reel { opacity: 0; transform: translateY(16px); }
.js body.loaded .hero-top > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.js body.loaded .hero-top > *:nth-child(1) { animation-delay: .04s; }
.js body.loaded .hero-top > *:nth-child(2) { animation-delay: .12s; }
.js body.loaded .hero-top > *:nth-child(3) { animation-delay: .20s; }
.js body.loaded .hero-top > *:nth-child(4) { animation-delay: .28s; }
.js body.loaded .hero-top > *:nth-child(5) { animation-delay: .36s; }
.js body.loaded .hero-reel { animation: rise .8s cubic-bezier(.2,.7,.2,1) .44s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero { padding-top: clamp(32px, 7vw, 56px); }
  .hero h1 { font-size: clamp(2.5rem, 11.5vw, 4.4rem); }
  .hero-stage { max-width: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pivot, .clubs-grid { grid-template-columns: 1fr; }
  .club-card, .club-card.wide { grid-column: auto; }
  .band-inner { grid-template-columns: 1fr; }
  .band-demo { order: -1; max-width: 360px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .nav .logo { font-size: 1.35rem; }
}

/* ---- legal pages (privacy / terms) -------------------------------------- */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.legal .updated { color: var(--muted); font-family: var(--font-body); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 14px; }
.legal section { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 34px; }
.legal h2 { font-family: var(--font-body); font-weight: 700; font-size: 1.35rem; color: var(--lime); }
.legal p { color: #cfccc4; margin: 0.9rem 0 0; }
.legal a { color: var(--lime); }
.back-home { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; text-decoration: none;
  color: var(--white); }
.back-home:hover { color: var(--lime); }

/* ---- reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .lg-dot, .rec-dot, .buffer::after, .court-scan, .court-ball, .clips-track,
  .clip.placeholder .ph-rec i, .clip.placeholder::after, .court-btn.rippling .court-ripple,
  .saving::before {
    animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero-top > *, .js .hero-reel { opacity: 1; transform: none; animation: none; }
  .btn, .court-btn, .club-card, .clip, .sport, .clip-act, .demo-hint { transition: none; }
  .clip-actions { transition: none; }
}
