/* TOBEDONE Production — r3 (owner's revision list 14–20 on top of 01–13).
   No new design system: the agency site's (explorations/hero) components, hovers, spacing rhythm, type tokens and tennis ball.
   Headings: Sofia Sans Extra Condensed, CAPS ONLY. Body: Geist. Lime only as accent / plate. No grey copy. */
:root {
  --black: #0F1113;
  --white: #FFFFFF;
  --off: #F4F3EF;
  --lime: #9EFF3D;
  --fg: var(--white);
  --bg: var(--black);
  --display: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif;
  --text: 'Geist', system-ui, sans-serif;

  /* type scale — one body size for every running text (owner r3 §18: the size of "Everyone on our side grew up…"), agency --body */
  --body: 18px;  --body-lh: 1.45;
  --lead: clamp(20px, 1.6vw, 25px);  --lead-lh: 1.35;      /* only the hero lead, the Point lead and the About line */
  --label: 17px;                                           /* small display caps: eyebrows, tags, meta, form labels */
  --h3: clamp(30px, 2.8vw, 44px);
  --h2: clamp(52px, 7.4vw, 128px);

  /* spacing rhythm (agency site-kit §7): every section --sec of air, every heading --hg above its content */
  --m: clamp(16px, 3vw, 40px);
  --sec: clamp(104px, 15vh, 180px);
  --hg: clamp(32px, 5vh, 56px);
  --gap: clamp(16px, 2vw, 28px);
  --pad: clamp(24px, 2.8vw, 44px);                         /* inner padding of every cell / card */

  --lw: clamp(4px, .45vw, 7px);                            /* heavy court line */
  --tw: 2px;                                               /* thin court line */
  --ease: cubic-bezier(.7, 0, .2, 1);
  --soft: cubic-bezier(.25, .8, .3, 1);
  --t: .45s;
}
@media (max-width: 1100px) { :root { --body: 17px; } }
@media (max-width: 640px) { :root { --body: 16px; --label: 15px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.rm { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 var(--body)/var(--body-lh) var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, ol, ul { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: var(--black); padding: 8px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1520px; margin: 0 auto; padding: 0 var(--m); }
.light { --fg: var(--black); --bg: var(--off); background: var(--bg); color: var(--fg); }

/* ---------- type ---------- */
.h1, .h2, .h3, .kicker, .eyebrow, .btn-st, .nav, .lang, .brand-tag, .vf-rec b, .n, .shot-tag, .shot b, .shot h3, .w, .faq summary, .chips legend, .field > span,
.wordmark, .foot-line, .slate b, .clients-label, .way-ex, .btn-ball, .player-close, .cur-st, .court-labels, .foot-nav, .foot-made, .ft-mail, .ft-links a, .ft-label, .mnav a, .cap, .tbd-link {
  font-family: var(--display); text-transform: uppercase;
}
.h1 { font-weight: 900; font-size: clamp(64px, min(11.2vw, 17.5vh), 196px); line-height: .84; letter-spacing: -.005em; }
.h1 > span { display: block; }
.h2 { font-weight: 900; font-size: var(--h2); line-height: .86; }
.h2-xl { font-size: clamp(64px, 10vw, 176px); }
.h3 { font-weight: 800; font-size: var(--h3); line-height: .92; letter-spacing: .005em; }
/* big caps carry a side bearing — app.js measures the first letter's ink and pulls the heading onto the grid edge (pixel-exact) */
.kicker, .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 800; font-size: var(--label); letter-spacing: .08em; line-height: 1; }
.lead { max-width: 34ch; margin-top: var(--hg); font-size: var(--lead); line-height: var(--lead-lh); }
.sec-head { margin-bottom: var(--hg); }
.sec-sub { max-width: 46ch; margin-top: 22px; }
section p, .cell p, .way p, .shot p, .faq details p, .form-note { font-size: var(--body); line-height: var(--body-lh); }

/* lime plate */
.mark { display: inline-block; background: var(--lime); color: var(--black); padding: .04em .1em 0; border-radius: 3px; rotate: -3deg; transition: rotate var(--t) var(--soft); }
:is(h1, h2, p):hover > .mark, :is(h1, h2):hover .mark, a:hover > .mark { rotate: 2deg; }

/* lime dots blink like the REC dot */
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); flex: none; display: inline-block; animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* rounded line arrow — the only arrow shape */
.arr { width: .8em; height: .8em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tri { width: .7em; height: .7em; fill: currentColor; flex: none; }

/* rolling word (agency menu hover) */
.roll { display: inline-block; overflow: hidden; height: 1em; line-height: 1; vertical-align: top; }
.roll > span { display: block; text-shadow: 0 1.25em 0 currentColor; transition: transform .45s var(--ease); }
a:hover .roll > span, a:focus-visible .roll > span, .case:hover .roll > span, .case:focus-visible .roll > span { transform: translateY(-1.25em); }

/* ---------- buttons: the lime sticker (agency C4) ---------- */
.btn-st { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .45em; padding: .55em .8em .45em; border: 0; border-radius: 3px; cursor: pointer; white-space: nowrap; text-decoration: none;
  background: none; color: var(--black); font-weight: 800; font-size: clamp(22px, 1.9vw, 30px); line-height: 1; letter-spacing: .03em; rotate: -3deg;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); transition: rotate var(--t) var(--soft), filter var(--t) var(--soft), scale .2s var(--soft); }
.btn-st::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 3px; background: var(--lime); clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%, 0 100%); transition: clip-path var(--t) var(--soft); }
.btn-st::after { content: ''; position: absolute; right: 0; bottom: 0; z-index: -1; width: .72em; height: .72em; border-radius: 0 0 0 2px;
  background: linear-gradient(135deg, #F6FFEA 30%, #CFF7A4 78%, #A9E070 100%); clip-path: polygon(0 0, 100% 0, 0 100%); scale: 0; transform-origin: 100% 100%; transition: scale var(--t) var(--soft); }
.btn-st .arr { width: .9em; height: .9em; transition: translate .35s var(--ease); }
.btn-st:hover { rotate: 0deg; filter: drop-shadow(0 4px 4px rgba(0,0,0,.3)); }
.btn-st:hover::before { clip-path: polygon(0 0, 100% 0, 100% calc(100% - .72em), calc(100% - .72em) 100%, 0 100%); }
.btn-st:hover::after { scale: 1; }
.btn-st:hover .arr { translate: .2em 0; }
.btn-st:active { scale: .96; }
.btn-sm { font-size: 20px; }
.btn-wide { width: 100%; margin-top: 10px; rotate: -1deg; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: var(--hg); }

/* felt-ball link (agency C6) */
.btn-ball { display: inline-flex; align-items: center; gap: .3em; text-decoration: none; font-weight: 900; line-height: .9; }
.fb { position: relative; flex: none; display: inline-grid; place-items: center; width: 1.1em; height: 1.1em; border-radius: 50%; color: var(--black); transition: translate .7s var(--soft), scale .15s var(--soft); }
.fb::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #C6F02E url(assets/felt/ball-neon.webp) 50% 50% / 112% auto no-repeat;
  box-shadow: inset -.14em -.18em .32em rgba(0,0,0,.34), inset .08em .08em .2em rgba(255,255,255,.25), 0 .12em .2em rgba(0,0,0,.25); transition: rotate .7s var(--soft); }
.fb .arr { position: relative; width: .5em; height: .5em; }
.btn-ball .tx { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 .06em; transition: background-size var(--t) var(--soft); }
.btn-ball:hover .fb, .tbd-link:hover .fb { translate: .25em 0; }
.btn-ball:hover .fb::before, .tbd-link:hover .fb::before { rotate: 150deg; }
.btn-ball:hover .tx { background-size: 100% .06em; }
.btn-ball:active .fb { scale: .9; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px var(--m); transition: background .3s, padding .3s; }
.top.scrolled { background: rgba(15,17,19,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand-logo { width: clamp(150px, 13vw, 200px); filter: invert(1); }
.brand-tag { background: var(--lime); color: var(--black); font-weight: 800; font-size: clamp(18px, 1.4vw, 22px); line-height: 1; letter-spacing: .06em; padding: 5px 8px 3px; border-radius: 3px; rotate: -3deg; transition: rotate var(--t) var(--soft); }
.brand:hover .brand-tag { rotate: 2deg; }
.nav { display: flex; gap: clamp(20px, 2.6vw, 40px); font-weight: 800; font-size: 22px; letter-spacing: .05em; }
.nav a { text-decoration: none; }
.top-right { display: flex; align-items: center; gap: 22px; }
.lang { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 20px; letter-spacing: .06em; line-height: 1; }
.lang a { text-decoration: none; }
.lang a[aria-current] { background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 100% / 100% 3px; padding-bottom: 4px; }
.lang-soon { cursor: help; padding-bottom: 4px; }
.lang .sl { padding-bottom: 4px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform .3s var(--soft); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 45; background: var(--black); display: flex; flex-direction: column; justify-content: center; padding: 90px var(--m) 40px; }
.mnav[hidden] { display: none; }
.mnav a { display: flex; align-items: center; min-height: 72px; border-top: var(--tw) solid var(--white); font: 900 clamp(44px, 13vw, 80px)/.95 var(--display); text-decoration: none; }
.mnav a:first-child { border-top-width: var(--lw); }
.mnav a:last-child { color: var(--lime); }
.mnav a:active { background: var(--lime); color: var(--black); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 130px 0 clamp(48px, 7vh, 80px); overflow: hidden; isolation: isolate; }
.hero-reel { position: absolute; inset: 0; z-index: -2; }
.hero-reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s linear; filter: saturate(.7); }
.hero-reel img.on { opacity: .26; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 30% 50%, rgba(15,17,19,.55), var(--black) 78%), linear-gradient(to bottom, rgba(15,17,19,.4), transparent 30%, var(--black)); }
.vf { position: absolute; inset: clamp(84px, 10vh, 104px) calc(var(--m) - 18px) 22px; pointer-events: none; z-index: 3; }
.vf i { position: absolute; width: 30px; height: 30px; border: 0 solid var(--lime); }
.vf i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; }
.vf i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; }
.vf i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; }
.vf i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.vf-rec { position: absolute; right: 44px; bottom: 14px; display: flex; align-items: center; gap: 12px; font: 500 14px/1 var(--text); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.vf-rec b { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; letter-spacing: .08em; }
.vf-rec b::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); animation: blink 1.2s steps(2, start) infinite; }
.hero-in { position: relative; z-index: 2; }
.hero-obj { position: absolute; z-index: 1; right: calc(var(--m) + 2vw); top: 50%; width: min(36vw, 62vh); translate: 0 -50%; rotate: 8deg; transform-origin: 30% 80%;
  filter: drop-shadow(0 0 22px rgba(158,255,61,.12)) drop-shadow(0 30px 40px rgba(0,0,0,.5)); animation: clap 3.6s var(--soft) infinite; pointer-events: none; }
@keyframes clap { 0%, 82%, 100% { rotate: 8deg; } 86% { rotate: 4deg; scale: 1.02; } 90% { rotate: 9.5deg; scale: 1; } 94% { rotate: 7.6deg; } }
.clients { display: flex; align-items: center; gap: 28px; margin-top: clamp(44px, 8vh, 96px); }
.clients-label { font-weight: 800; font-size: var(--label); letter-spacing: .08em; white-space: nowrap; }
.clients ul { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); padding: 0; list-style: none; }
.clients img { width: clamp(64px, 6vw, 90px); filter: invert(1); margin: -14px 0; }
.clients .txt { font: 900 clamp(26px, 2.3vw, 34px)/1 var(--display); letter-spacing: .04em; }

/* ---------- sections: one rhythm ---------- */
section { position: relative; padding: var(--sec) 0; }

/* The Point */
.st-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 110px); margin-top: var(--hg); align-items: start; }
.st-lead { max-width: 34ch; font-size: var(--lead); line-height: var(--lead-lh); }
.slate { list-style: none; padding: 0; border-top: var(--lw) solid var(--fg); }
.slate li { position: relative; isolation: isolate; display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: 14px; padding: 16px 16px 14px; border-bottom: var(--tw) solid var(--fg); }
.slate b { font-weight: 800; font-size: var(--label); }
.slate .w { font-weight: 900; font-size: var(--h3); line-height: .9; transform-origin: 0 100%; }
.slate em { font-style: normal; font-size: var(--body); text-align: right; }

/* lime-cell hover (agency v24 §01) */
@media (hover: hover) and (min-width: 901px) {
  .slate li::before, .cell::before { content: ''; position: absolute; z-index: -1; inset: 0; background: var(--lime); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
  .slate li > *, .cell > * { transition: color .3s var(--ease); }
  .slate .w, .cell .h3 { transition: color .3s var(--ease), rotate var(--t) var(--soft), scale var(--t) var(--soft); transform-origin: 0 100%; }
  .slate li:hover::before, .cell:hover::before { opacity: 1; }
  .slate li:hover > *, .cell:hover > * { color: var(--black); }
  .slate li:hover .w, .cell:hover .h3 { rotate: -2deg; scale: 1.03; }
}

/* ---------- work: more air, one caption height ---------- */
.cases { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(24px, 3vw, 48px); row-gap: clamp(64px, 8vw, 120px); align-items: start; }
.case { grid-column: span 4; position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; border: 0; background: none; cursor: pointer; }
.case.l { grid-column: span 6; }
.case.full { grid-column: 1 / -1; }
.case.full .case-media { aspect-ratio: 21 / 9; }
.case.xl { grid-column: span 8; grid-row: span 2; }
.case.xl .case-media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.case-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #17191C; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case:hover .case-media img, .case:focus-visible .case-media img { transform: scale(1.05); }
.play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(15,17,19,.5); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--white); transition: scale var(--t) var(--soft), background .25s, color .25s, box-shadow .25s; }
.play svg { width: 18px; height: 18px; margin-left: 3px; fill: currentColor; }
.case:hover .play, .case:focus-visible .play { scale: 1.12; background: var(--lime); color: var(--black); box-shadow: none; }
/* caption (agency .cap): client + format as quiet outlined tags on one line, the title under them in a fixed two-line box,
   so a one-line and a two-line title take the same height and the next row of films starts level */
.cap { display: grid; gap: 14px; padding-top: 20px; }
.cap-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; line-height: 1; letter-spacing: .06em; }
.cap-meta .client { margin-right: 4px; }
.tag { display: inline-block; padding: 5px 8px 4px; border-radius: 2px; border: 1px solid currentColor; }
.cap h3 { font-weight: 800; font-size: clamp(26px, 2.2vw, 36px); line-height: 1; letter-spacing: .005em; height: 2em; overflow: hidden; }
.case.full .cap h3 { font-size: clamp(32px, 3.2vw, 56px); height: 1em; }
.cap .note { font-family: var(--text); text-transform: none; font-size: 14px; line-height: 1.3; margin-top: -6px; }
.more { margin-top: var(--sec); font-size: clamp(44px, 5vw, 84px); }

/* ---------- boards with court lines ---------- */
.cell { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 16px; }
.cell .n { font-weight: 800; font-size: var(--label); line-height: 1; }
.cell p { max-width: 38ch; }
.why-court { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: var(--lw) solid var(--fg); --bs: clamp(48px, 4vw, 60px); }
.why-court .cell { padding: var(--pad) var(--pad) calc(var(--pad) * 1.3); }
.why-court .cell:nth-child(odd) { border-right: var(--lw) solid var(--fg); }
.why-court .cell:nth-child(-n+2) { border-bottom: var(--lw) solid var(--fg); }

/* ---------- ways (light) ---------- */
.ways-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); --bs: clamp(48px, 4vw, 60px); }
.way { position: relative; background: var(--white); border-radius: 4px; padding: var(--pad); display: flex; flex-direction: column; gap: 16px; min-height: 320px; box-shadow: inset 0 0 0 var(--lw) transparent; transition: box-shadow .3s var(--ease); }
.way.on { box-shadow: inset 0 0 0 var(--lw) var(--black); }
.way p { flex: 1; }
.way-ex { position: relative; z-index: 5; align-self: flex-start; display: inline-flex; align-items: center; gap: .45em; border: 0; cursor: pointer; background: var(--black); color: var(--white); font-weight: 800; font-size: var(--label); line-height: 1; letter-spacing: .05em; padding: 9px 14px 7px; border-radius: 999px; transition: background .25s, color .25s; }
.way-ex:hover { background: var(--lime); color: var(--black); }

/* ---------- rally: alternative cards (owner r3 §17, for review) — black with a heavy white line; hover = white fill, black type ---------- */
.court { position: relative; --bs: clamp(48px, 4vw, 62px); }
.court-labels { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 16px; border-bottom: var(--lw) solid var(--fg); margin-bottom: var(--hg); font-weight: 800; font-size: var(--label); line-height: 1; letter-spacing: .1em; }
.court-labels span:last-child { text-align: right; }
.net { position: absolute; left: 50%; top: 0; bottom: 0; width: var(--lw); translate: -50% 0; background: var(--fg); }
.shots { list-style: none; padding: 0; display: grid; gap: var(--gap); }
.shot { position: relative; width: calc(50% - clamp(70px, 6vw, 110px)); padding: var(--pad); border: var(--lw) solid var(--white); background: var(--black); color: var(--white); transition: background .3s var(--ease), color .3s var(--ease); }
.shot.us { margin-left: auto; }
.shot:hover, .shot.on { background: var(--white); color: var(--black); }
.shot-tag { display: inline-block; font-weight: 800; font-size: 15px; line-height: 1; letter-spacing: .1em; color: var(--black); background: var(--lime); padding: 4px 7px 3px; border-radius: 3px; rotate: -3deg; }
.shot b { display: block; margin-top: 14px; font-weight: 800; font-size: var(--label); }
.shot h3 { margin-top: 4px; font-weight: 900; font-size: clamp(36px, 3.6vw, 58px); line-height: .9; }
.shot p { margin-top: 12px; }

/* ---------- make (light) ---------- */
.make-list { list-style: none; padding: 0; border-top: var(--lw) solid var(--fg); }
.make-list li { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: clamp(14px, 1.6vw, 22px) 0 clamp(10px, 1.3vw, 18px); border-bottom: var(--tw) solid var(--fg); }
.make-list .w { position: relative; isolation: isolate; display: inline-block; font-weight: 900; font-size: clamp(42px, 5.6vw, 92px); line-height: .88; transition: translate var(--t) var(--soft); }
.make-list .w::before { content: ''; position: absolute; z-index: -1; inset: -.02em -.12em -.04em; border-radius: 3px; background: var(--lime); transform-origin: 0 50%; scale: 0 1; rotate: -2deg; transition: scale .45s var(--soft), rotate var(--t) var(--soft); }
.make-list li:hover .w { translate: .12em 0; }
.make-list li:hover .w::before { scale: 1 1; rotate: -3deg; }
.make-list em { font-style: normal; max-width: 32ch; text-align: right; }

/* ---------- safe ---------- */
.safe-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--lw) solid var(--fg); border-bottom: var(--lw) solid var(--fg); --bs: clamp(44px, 3.6vw, 56px); }
.safe-grid .cell { padding: var(--pad) clamp(18px, 2vw, 32px) calc(var(--pad) * 1.2); }
.safe-grid .cell + .cell { border-left: var(--lw) solid var(--fg); }
.safe-grid .h3 { font-size: clamp(28px, 2.3vw, 38px); }

/* ---------- about ---------- */
.team-lead { max-width: 40ch; margin-top: var(--hg); font-size: var(--lead); line-height: var(--lead-lh); }
.tbd-link { display: inline-flex; align-items: center; gap: .18em; vertical-align: -.08em; text-decoration: none; font-weight: 900; font-size: 1.35em; line-height: .9; }
.tbd-link .mark { padding: .06em .12em .02em; }
.tbd-link .fb { width: .9em; height: .9em; }

/* ---------- faq ---------- */
.faq-list { border-top: var(--lw) solid var(--fg); }
.faq details { border-bottom: var(--tw) solid var(--fg); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0 20px; font-weight: 800; font-size: clamp(28px, 3vw, 50px); line-height: .95; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 500 30px/1 var(--text); box-shadow: inset 0 0 0 2px currentColor; transition: rotate var(--t) var(--soft), background .25s, color .25s, box-shadow .25s; }
.faq summary:hover::after { background: var(--lime); color: var(--black); box-shadow: none; }
.faq details[open] summary::after { rotate: 45deg; background: var(--lime); color: var(--black); box-shadow: none; }
.faq details p { margin-bottom: 26px; max-width: 60ch; }

/* ---------- finale: brief + footer = one black space ---------- */
.finale { background: var(--black); box-shadow: 0 6px 0 var(--black); }
.brief { padding-bottom: var(--sec); }
.brief-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.form { display: grid; gap: 18px; border: var(--tw) solid var(--white); border-radius: 4px; padding: var(--pad); }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend, .field > span { display: block; width: 100%; margin-bottom: 8px; padding: 0; font-weight: 800; font-size: var(--label); letter-spacing: .08em; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label span { display: inline-block; padding: 9px 14px 8px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--white); font-size: 15px; transition: background .2s, color .2s, box-shadow .2s, rotate var(--t) var(--soft); }
.chips label:hover span { rotate: -2deg; }
.chips input:checked + span { background: var(--lime); color: var(--black); box-shadow: none; }
.chips input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; }
.field input, .field select, .field textarea { width: 100%; background: transparent; color: var(--white); border: 0; border-bottom: var(--tw) solid var(--white); padding: 8px 0 10px; font: 400 var(--body)/1.4 var(--text); border-radius: 0; transition: border-color .2s; }
.field ::placeholder { color: var(--white); opacity: .7; }
.field select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center / 16px; }
.field select option { color: var(--black); }
.field textarea { resize: vertical; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--lime); }
.field input[aria-invalid="true"] { border-color: #FF6B5B; }
.form-note { min-height: 1.4em; font-size: 15px; }

/* footer = the last screen: CTA + contacts on one grid, the menu row, the wordmark cut by the bottom edge (wordmark and ball unchanged) */
/* overflow: clip — the nailed ball reaches below the cut; without this it stretched the page and left empty black space under the footer */
.foot { min-height: 100svh; display: flex; flex-direction: column; color: var(--white); overflow: clip; }
.foot-top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; padding-top: var(--sec); }
.foot-line { grid-column: 1 / 8; font-weight: 900; font-size: clamp(56px, 7vw, 120px); line-height: .86; }
.fin-side { grid-column: 9 / 13; display: grid; gap: 14px; padding-bottom: .3em; }
.ft-label { font-weight: 800; font-size: var(--label); letter-spacing: .08em; line-height: 1; display: flex; align-items: center; gap: 10px; }
.ft-mail { justify-self: start; font-weight: 800; font-size: clamp(26px, 2.3vw, 38px); line-height: 1; letter-spacing: .01em; text-decoration: none; padding-bottom: .08em;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 .06em; transition: background-size var(--t) var(--soft); }
.ft-mail:hover, .ft-mail:focus-visible { background-size: 100% .06em; }
.ft-links { list-style: none; padding: 0; margin-top: 6px; border-top: var(--lw) solid var(--white); }
.ft-links li { border-bottom: var(--tw) solid var(--white); }
.ft-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 4px 0; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: .04em; line-height: 1; }
.ft-links a .arr { width: .75em; height: .75em; rotate: -45deg; transition: translate .35s var(--ease); }
.ft-links a:hover .arr { translate: .12em -.12em; }
.foot-b3 { position: relative; display: flex; flex-direction: column; margin-top: auto; padding-top: clamp(64px, 10vh, 140px); overflow-x: clip; clip-path: inset(-60vh 0 0 0); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 36px; position: relative; z-index: 3; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 800; font-size: 20px; line-height: 1; letter-spacing: .03em; }
.foot-nav a { text-decoration: none; }
.foot-made { font-weight: 800; font-size: 16px; letter-spacing: .08em; }
.wordmark { position: relative; display: flex; align-items: flex-end; justify-content: center; margin: clamp(8px, 2vh, 24px) -.02em -.2em; padding-top: .06em;
  font-weight: 800; font-size: calc((100vw - var(--m) * .5) * .279); line-height: .72; letter-spacing: -.012em; white-space: nowrap; }
.wordmark > span:not(.o) { position: relative; z-index: 1; }
.wordmark .o { position: relative; z-index: 2; display: inline-block; width: .62em; height: .7em; margin: 0 .015em .04em; }
.wordmark .o img { position: absolute; width: 1.42em; max-width: none; left: 50%; top: 50%; translate: -52.2% -52.1%; pointer-events: none; filter: drop-shadow(0 .03em .05em rgba(0,0,0,.45)); transition: rotate var(--t) var(--soft); }
.wordmark:hover .o img { rotate: -12deg; }

/* ---------- player ---------- */
.player { position: fixed; inset: 0; z-index: 200; background: rgba(15,17,19,.94); display: grid; place-items: center; padding: 60px var(--m) 30px; }
.player[hidden] { display: none; }
.player-frame { width: min(100%, calc((100vh - 120px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-close { position: absolute; top: 14px; right: var(--m); border: 0; cursor: pointer; padding: 10px 18px 9px; border-radius: 999px; background: var(--lime); color: var(--black); font-weight: 800; font-size: 20px; letter-spacing: .05em; }

/* ---------- cursor sticker ---------- */
.cur-st { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; padding: 9px 13px 8px; background: var(--lime); color: var(--black); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: .02em; white-space: nowrap; box-shadow: 0 10px 24px rgba(0,0,0,.3);
  opacity: 0; scale: .7; rotate: -8deg; transform-origin: 0 0; transition: opacity .12s linear, scale .16s var(--soft), rotate .16s var(--soft); }
.cur-st.on { opacity: 1; scale: 1; rotate: -5deg; }
@media (hover: none), (max-width: 900px) { .cur-st { display: none; } }

/* ---------- entrances (motion.js) ---------- */
html.mo:not(.mo-ready) main { opacity: 0; }
html.mo .mo-t:not(.mo-in) { opacity: 0; translate: 0 48px; clip-path: inset(0 0 100% 0); }
html.mo .mo-t.mo-in:not(.mo-done) { clip-path: inset(-.4em -.4em -.4em -.4em); transition: opacity .7s cubic-bezier(.16,1,.3,1), translate .95s cubic-bezier(.16,1,.3,1), clip-path .95s cubic-bezier(.16,1,.3,1) !important; }
.mo-ln { position: absolute; pointer-events: none; z-index: 2; }
.mo-wait, .mo-wait > * { border-color: transparent !important; }

/* ---------- reduced motion ---------- */
html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .ways-grid { grid-template-columns: 1fr; }
  .way { min-height: 0; }
  .safe-grid { grid-template-columns: 1fr 1fr; }
  .safe-grid .cell:nth-child(3) { border-left: 0; }
  .safe-grid .cell:nth-child(n+3) { border-top: var(--lw) solid var(--fg); }
  .foot-line { grid-column: 1 / 7; }
  .fin-side { grid-column: 8 / 13; }
}
@media (max-width: 900px) {
  .hero { justify-content: flex-start; padding-top: 136px; }
  .hero-obj { position: relative; right: auto; top: auto; translate: none; align-self: flex-end; width: min(52vw, 300px); margin: -10px var(--m) 0 0; }
  .st-grid, .brief-in { grid-template-columns: 1fr; }
  .case, .case.l, .case.xl, .case.full { grid-column: 1 / -1; grid-row: auto; }
  .case.xl .case-media, .case.full .case-media { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
  .cap h3, .case.full .cap h3 { height: auto; font-size: clamp(26px, 7vw, 36px); }
  .why-court { grid-template-columns: 1fr; }
  .why-court .cell:nth-child(odd) { border-right: 0; }
  .why-court .cell:not(:last-of-type) { border-bottom: var(--lw) solid var(--fg); }
  .court-labels { display: none; }
  .net { display: none; }
  .shot { width: calc(100% - var(--bs) - 12px); }
  .shot.us { margin-left: 0; }
  .make-list li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .make-list em { text-align: left; }
  .foot-top { grid-template-columns: 1fr; row-gap: 40px; }
  .foot-line, .fin-side { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .top-right .btn-sm, .lang { display: none; }
  .brand-logo { width: 140px; }
  .vf-rec { right: 34px; }
  .ctas .btn-st { width: 100%; }
  .clients { gap: 18px; }
  .safe-grid { grid-template-columns: 1fr; }
  .safe-grid .cell + .cell { border-left: 0; border-top: var(--lw) solid var(--fg); }
  .row2 { grid-template-columns: 1fr; }
  .slate em { display: none; }
  .slate li { grid-template-columns: 40px 1fr; padding-left: 0; padding-right: 0; }
  .tbd-link { font-size: 1.2em; }
  .foot-base { flex-direction: column; align-items: flex-start; }
}
