/* Bill Cabral · Automation. Same tennis system as billcabral.vercel.app */
:root {
  --clay: #c4572a; --court: #1d4a37; --court-2: #24573f; --board: #0c1d15;
  --optic: #dcf74a; --chalk: #f5f1e8; --paper: #fffdf8; --ink: #142019; --muted: #5b6660; --line: #e2dccd;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --score: "Big Shoulders Display", "Bricolage Grotesque", sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.34,1.56,.64,1);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body { margin: 0; background: var(--chalk); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
section { padding: 96px 0; }

/* ball */
.ball { width: 22px; height: 22px; border-radius: 50%; background: var(--optic); position: relative; overflow: hidden; box-shadow: inset -3px -3px 0 rgba(0,0,0,.08); flex: none; }
.ball::before, .ball::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid #fff; border-radius: 50%; top: 0; }
.ball::before { left: -14px; } .ball::after { right: -14px; }
.ball.spin { animation: spin 6s linear infinite; }
.brand:hover .ball.spin { animation-duration: .6s; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(245,241,232,.96); backdrop-filter: blur(10px); border-bottom: 4px double var(--ink); transition: box-shadow .3s; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 18px var(--display); text-decoration: none; white-space: nowrap; }
.brand small { font: 700 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; background: var(--board); color: var(--optic); padding: 4px 7px; border-radius: 5px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { text-decoration: none; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; white-space: nowrap; }
.nav-links a:hover { border-color: var(--clay); color: var(--clay); }

/* newspaper masthead (matches The Pressly Times) */
.nameplate .ear { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 28px; overflow: hidden;
  font: 600 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink);
  transition: height .3s var(--ease), opacity .2s; }
.nameplate .ear-motto { font: italic 400 15px "Instrument Serif", Georgia, serif; letter-spacing: 0; text-transform: none; color: var(--ink); }
.nameplate.is-scrolled .ear { height: 0; opacity: 0; border-color: transparent; }
.nameplate.is-scrolled { box-shadow: 0 8px 20px rgba(20,32,25,.10); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font: 700 14px var(--body);
  text-decoration: none; background: var(--ink); color: var(--chalk); border: 2px solid var(--ink); cursor: pointer; transition: transform .2s var(--spring), box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--ink); }
.btn.optic { background: var(--optic); color: var(--ink); }
.btn.big { padding: 14px 24px; font-size: 16px; }
.btn.ghost-light { background: transparent; color: var(--chalk); border-color: rgba(245,241,232,.5); }
.btn.ghost-light:hover { border-color: var(--optic); color: var(--optic); box-shadow: none; }
.btn:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

/* scroll progress: a ball rolling along the service line */
.progress { position: fixed; top: 66px; left: 0; right: 0; height: 0; z-index: 31; pointer-events: none; }
.progress .ball { position: absolute; top: -8px; left: 0; width: 16px; height: 16px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.progress .ball::before, .progress .ball::after { width: 16px; height: 16px; }
.progress .ball::before { left: -10px; } .progress .ball::after { right: -10px; }

/* hero: live 3D court behind the copy */
.hero { background: var(--court); color: var(--chalk); position: relative; overflow: hidden; padding: 0; min-height: min(94vh, 880px); display: flex; align-items: center; }
.hero .court { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,48,35,.97) 0%, rgba(20,48,35,.88) 36%, rgba(20,48,35,.15) 70%, rgba(20,48,35,0) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; display: grid; gap: 40px; padding-top: 72px; padding-bottom: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--optic); }
.serve-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--optic); animation: pulse 1.6s infinite; flex: none; }
.hero h1 { font: 800 clamp(48px, 7.4vw, 96px)/.95 var(--display); letter-spacing: -.035em; margin: 18px 0 22px; max-width: 11ch; }
.hero h1 span { display: inline-block; opacity: 0; animation: rise .8s var(--spring) forwards; }
.hero h1 > span:nth-child(1) { animation-delay: .1s; } .hero h1 > span:nth-child(2) { animation-delay: .18s; } .hero h1 > span:nth-child(3) { animation-delay: .26s; }
.hero h1 em { position: relative; display: inline-block; font: italic 400 1.08em/1 "Instrument Serif", serif; color: var(--optic); letter-spacing: -.01em; }
.hero h1 em span { animation-delay: .5s; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.02em; height: .07em; background: var(--optic); border-radius: 4px; transform: scaleX(0); transform-origin: left; animation: scaleX .7s 1s var(--ease) forwards; }
.lede { font-size: clamp(17px, 1.8vw, 20px); max-width: 56ch; color: #d9e4dc; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn.ghost { background: transparent; color: var(--chalk); border-color: rgba(245,241,232,.5); }
.hero .btn.ghost:hover { border-color: var(--optic); color: var(--optic); box-shadow: none; }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 26px 0 0; max-width: 620px; }
.hero-tags li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; padding: 5px 11px 5px 5px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.hero-tags img { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; background: #fff; }
.hero .lede, .hero .cta, .hero .eyebrow, .hero-tags { opacity: 0; animation: pop .8s var(--ease) forwards; }
.hero .lede { animation-delay: .75s; } .hero .cta { animation-delay: .9s; } .hero-tags { animation-delay: 1s; }

/* stadium scoreboard */
.board { max-width: 640px; background: var(--board); border: 3px solid #2e4a3c; border-radius: 10px; color: #fff; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.04); font-family: var(--score); opacity: 0; animation: pop .9s 1.05s var(--ease) forwards; }
.board-top { display: flex; justify-content: space-between; padding: 8px 14px; background: #133024; font-weight: 800; letter-spacing: .14em; font-size: 14px; color: #cfe0d5; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--optic); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #d6402b; animation: blink 1s infinite; }
.board-row { display: grid; grid-template-columns: 1.9fr repeat(4, 1fr); align-items: center; padding: 8px 14px; border-top: 1px solid rgba(255,255,255,.06); }
.board-row.head { font-size: 12px; letter-spacing: .14em; color: #8fa89a; font-weight: 700; padding-top: 6px; padding-bottom: 6px; }
.board-row.head span:not(:first-child), .board-row b { text-align: center; }
.board-row span { font-weight: 800; font-size: 22px; letter-spacing: .06em; display: flex; align-items: center; gap: 8px; }
.board-row.head span { font-size: 12px; justify-content: center; } .board-row.head span:first-child { justify-content: flex-start; }
.board-row small { font-size: 12px; color: #8fa89a; letter-spacing: .1em; }
.board-row b { font-size: 36px; font-weight: 900; color: var(--optic); line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(220,247,74,.35); }
.board-row b.pop, .stat b.pop { animation: flagIn .35s var(--spring); }
.board-row.foe { opacity: .45; } .board-row.foe b { color: #8fa89a; text-shadow: none; font-size: 26px; }
.srv { width: 9px; height: 9px; border-radius: 50%; background: var(--optic); display: inline-block; animation: pulse 1.6s infinite; }
.board-foot { padding: 8px 14px 10px; font-family: var(--body); font-size: 11.5px; color: #8fa89a; border-top: 1px solid rgba(255,255,255,.06); }

/* ticker + net */
.ticker { background: var(--board); color: var(--optic); overflow: hidden; border-top: 3px solid #fff; border-bottom: 2px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.ticker span { font: 800 20px/1 var(--score); letter-spacing: .14em; padding: 13px 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 22px; }
.ticker span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; opacity: .6; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.net { height: 56px; position: relative; background-color: #0f2a1f;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.22) 0 1px, transparent 1px 9px), repeating-linear-gradient(-45deg, rgba(255,255,255,.22) 0 1px, transparent 1px 9px); }
.net::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 9px; background: #fff; box-shadow: 0 2px 0 rgba(0,0,0,.2); }
.net::after { content: ""; position: absolute; top: 9px; left: 50%; width: 4px; height: 47px; background: #fff; transform: translateX(-50%); opacity: .9; }

/* section heads */
.sec-head { display: grid; grid-template-columns: 180px 1fr; gap: 24px; margin-bottom: 44px; align-items: start; }
.sec-head .chip { justify-self: start; margin-top: 8px; }
.sec-head h2 { font: 800 clamp(32px, 4.4vw, 52px)/1.04 var(--display); letter-spacing: -.025em; margin: 0 0 12px; }
.sec-head p { margin: 0; color: var(--muted); max-width: 62ch; font-size: 17px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 800 15px/1 var(--score); letter-spacing: .16em; padding: 8px 12px; border-radius: 6px; background: var(--board); color: var(--optic); white-space: nowrap; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--optic); }
.chip.dark { background: var(--optic); color: var(--ink); } .chip.dark::before { background: var(--ink); }
.grass-light { background-color: #f8f5ed; background-image: repeating-linear-gradient(90deg, rgba(29,74,55,.035) 0 120px, transparent 120px 240px); }

/* pains */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain { background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; padding: 26px; position: relative; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.pain:hover { transform: translateY(-4px); border-color: var(--court); box-shadow: 0 18px 40px rgba(20,32,25,.08); }
.pnum { font: 800 34px/1 var(--score); color: var(--clay); letter-spacing: .04em; }
.pain h3 { font: 700 21px/1.2 var(--display); margin: 12px 0 10px; letter-spacing: -.01em; }
.pain p { margin: 0; color: var(--muted); font-size: 15px; }

/* services */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.shot { background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; padding: 30px; box-shadow: 6px 6px 0 var(--ink); transition: transform .3s var(--spring), box-shadow .3s; }
.shot:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--court); }
.shot-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.shot-top .mono { color: var(--clay); font-weight: 700; }
.shot-logos { display: flex; }
.shot-logos img { width: 34px; height: 34px; border-radius: 9px; background: #fff; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line); object-fit: contain; margin-left: -6px; }
.shot h3 { font: 800 27px/1.1 var(--display); letter-spacing: -.02em; margin: 16px 0 10px; }
.shot p { margin: 0 0 14px; color: var(--muted); }
.shot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.shot li { display: flex; gap: 10px; align-items: baseline; font-weight: 600; font-size: 15px; }
.shot li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--optic); box-shadow: 0 0 0 2px var(--ink); transform: translateY(1px); }

/* workflows */
#workflows { padding: 96px 0; }
.ax-foot { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

/* stack */
.stack-bg { background: var(--court); color: var(--chalk); background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 120px, transparent 120px 240px); }
.stack-bg .sec-head p { color: #c9d8ce; }
.racks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rack { background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.14); border-radius: 18px; padding: 20px 22px 22px; }
.rack.wide { grid-column: span 2; }
.rack h3 { display: flex; align-items: center; gap: 10px; font: 800 15px var(--score); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; color: var(--optic); }
.rack h3 span { font: 700 11px var(--mono); color: var(--board); background: var(--optic); border-radius: 4px; padding: 3px 5px; letter-spacing: 0; }
.logos { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.logos figure { margin: 0; display: grid; justify-items: center; gap: 8px; width: 72px; }
.logos img { width: 60px; height: 60px; object-fit: contain; border-radius: 16px; background: #fff; padding: 6px; box-shadow: 0 6px 14px rgba(0,0,0,.25); transition: transform .35s var(--spring); }
.logos figure:hover img { transform: translateY(-6px) rotate(-6deg); }
.logos figcaption { font-size: 12.5px; font-weight: 700; color: #e6efe9; text-align: center; white-space: nowrap; }
.also { margin: 26px 0 0; color: #c9d8ce; font-size: 15px; }
.also b { color: var(--optic); }

/* proof */
.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--board); border: 3px solid #2e4a3c; border-radius: 14px; overflow: hidden; margin-bottom: 26px; }
.stat { padding: 24px 22px; border-left: 1px solid rgba(255,255,255,.08); color: #cfe0d5; display: grid; gap: 6px; align-content: start; }
.stat:first-child { border-left: 0; }
.stat b { font: 900 52px/1 var(--score); color: var(--optic); font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(220,247,74,.3); }
.stat span { font-size: 14.5px; font-weight: 600; color: #fff; }
.stat small { font: 700 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8fa89a; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; position: relative; overflow: hidden; }
.case:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,32,25,.1); border-color: var(--court); }
.case-top { display: flex; justify-content: space-between; align-items: center; }
.case .mono { color: var(--clay); }
.score { font: 800 14px/1 var(--score); letter-spacing: .1em; background: var(--board); color: var(--optic); padding: 6px 10px; border-radius: 6px; text-transform: uppercase; }
.score.live { background: var(--optic); color: var(--ink); }
.case h3 { font: 700 21px/1.2 var(--display); margin: 0; letter-spacing: -.01em; }
.case p { margin: 0; color: var(--muted); font-size: 15px; }

/* process */
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.point .mono { color: var(--clay); font-weight: 700; }
.point h3 { font: 800 24px var(--display); margin: 6px 0 8px; letter-spacing: -.01em; }
.point p { margin: 0; color: var(--muted); font-size: 15px; }

/* offers */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.offer { background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s var(--spring); }
.offer:hover { transform: translateY(-4px); }
.offer .mono { color: var(--clay); font-weight: 700; }
.offer h3 { font: 800 22px/1.15 var(--display); margin: 0; letter-spacing: -.01em; }
.offer p { margin: 0 0 6px; color: var(--muted); font-size: 15px; flex: 1; }
.offer .btn { align-self: flex-start; }
.offer.feature { background: var(--court); color: var(--chalk); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.offer.feature .mono { color: var(--optic); } .offer.feature p { color: #d9e4dc; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; margin-left: 204px; }
.faq details { background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 17px 0; font: 700 18px var(--display); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--optic); border: 2px solid var(--ink); font: 800 18px/1 var(--body); transition: transform .3s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* contact */
.contact-bg { background: var(--board); color: var(--chalk); }
.contact { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; align-items: center; }
.player { margin: 0; background: var(--court); border: 3px solid #2e4a3c; border-radius: 20px; overflow: hidden; }
.player-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.player figcaption { padding: 14px 18px 16px; display: grid; gap: 2px; }
.player b { font: 800 20px var(--display); }
.player span { font-size: 13.5px; color: #c9d8ce; }
.audit h2 { font: 800 clamp(36px, 5vw, 58px)/1 var(--display); letter-spacing: -.03em; margin: 10px 0 10px; }
.audit > p { color: #c9d8ce; margin: 0 0 22px; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8fa89a; margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button { font: 700 14px var(--body); padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25); background: transparent; color: var(--chalk); cursor: pointer; transition: transform .2s var(--spring), background .2s, color .2s, border-color .2s; }
.pills button:hover { transform: translateY(-2px); border-color: var(--optic); }
.pills button[aria-pressed="true"] { background: var(--optic); color: var(--ink); border-color: var(--optic); }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field span { font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8fa89a; }
.field textarea { font: 15px/1.5 var(--body); color: var(--chalk); background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.2); border-radius: 12px; padding: 12px 14px; resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--optic); }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.direct { font-size: 14px; color: #8fa89a; margin: 16px 0 0; }
.direct a { color: var(--optic); }

/* footer */
footer { position: relative; background: var(--court); color: var(--chalk); padding: 72px 0 48px; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 90px, transparent 90px 180px); }
.gsh { font: 800 clamp(48px, 10vw, 124px)/.92 var(--display); letter-spacing: -.04em; margin: 0 0 26px; }
.gsh span { display: inline-block; transition: transform .35s var(--spring); }
.gsh span:hover { transform: translateY(-8px) rotate(-3deg); }
.gsh .hl { color: var(--optic); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 28px; }
.foot-links a { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--optic); }
footer small { display: block; color: #a9bdb0; max-width: 80ch; font-size: 12.5px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--d,0ms), transform .8s var(--ease) var(--d,0ms); }
.reveal.seen { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(220,247,74,.6); } 50% { box-shadow: 0 0 0 8px rgba(220,247,74,0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: .2; } }
@keyframes scaleX { to { transform: scaleX(1); } }

/* responsive */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nameplate .ear-motto { display: none; }
  .offers { grid-template-columns: repeat(2, 1fr); }
  .score-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .racks { grid-template-columns: repeat(2, 1fr); }
  .faq { margin-left: 0; }
}
@media (max-width: 760px) {
  .nameplate .ear > span:first-child { display: none; }
  .nameplate .ear { font-size: 9.5px; letter-spacing: .1em; height: 24px; }
  section { padding: 68px 0; }
  .wrap { padding: 0 16px; }
  .sec-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 30px; }
  .pains, .shots, .cases, .points, .offers, .racks, .contact { grid-template-columns: 1fr; }
  .rack.wide { grid-column: auto; }
  .shot { padding: 24px; }
  .brand small { display: none; }
  .nav .btn { padding: 9px 14px; font-size: 13px; }
  .points { gap: 22px; }
  .player { max-width: 320px; }
  .stat { padding: 20px 16px; } .stat b { font-size: 42px; }
}
@media (max-width: 420px) {
  .score-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.08); } .stat:first-child { border-top: 0; }
}
/* process baseline with posts */
.baseline { position: relative; height: 4px; background: var(--ink); border-radius: 4px; margin: 0 0 34px; }
.baseline::before, .baseline::after { content: ""; position: absolute; top: -8px; width: 4px; height: 20px; background: var(--ink); }
.baseline::before { left: 0; } .baseline::after { right: 0; }
.baseline .ball { position: absolute; top: -20px; left: 0; }
.point { border-top: 3px solid var(--ink); padding-top: 16px; transition: transform .3s var(--ease); } .point:hover { transform: translateY(-4px); }

/* a ball rolls into each card on hover */
.case::after, .pain::after { content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%; right: -40px; top: 22px;
  background: radial-gradient(circle at 35% 35%, #f4ff9a, #c5e021); transition: right .6s var(--spring), transform .6s; }
.pain { overflow: hidden; }
.case:hover::after, .pain:hover::after { right: 22px; transform: rotate(540deg); }
.case:hover .case-top { padding-right: 40px; transition: padding .3s; }
.offer:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 10px 10px 0 var(--ink); }
footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: #fff; }
.contact-bg { position: relative; }

@keyframes rise { from { opacity: 0; transform: translateY(.6em) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flagIn { from { transform: scale(0) rotate(-20deg); } to { transform: none; } }

@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(20,48,35,.94) 0%, rgba(20,48,35,.8) 60%, rgba(20,48,35,.55) 100%); }
  .hero-inner { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 600px) {
  .board-row { padding: 8px 10px; grid-template-columns: 1.5fr repeat(4, 1fr); }
  .board-row span { font-size: 14px; white-space: nowrap; gap: 5px; } .board-row small { display: none; } .board-row b { font-size: 26px; } .board-row.head span { font-size: 10px; letter-spacing: .06em; }
}

/* hero tool pills: even rows (4 + 4) instead of a ragged 6 + 2 */
.hero-tags { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; }
.hero-tags li { justify-content: flex-start; }
@media (max-width: 560px) { .hero-tags { grid-template-columns: repeat(2, 1fr); justify-content: stretch; } }

/* tablet (iPad portrait + iPad Pro portrait) */
@media (min-width: 761px) and (max-width: 1060px) {
  .hero::after { background: linear-gradient(180deg, rgba(20,48,35,.95) 0%, rgba(20,48,35,.86) 55%, rgba(20,48,35,.5) 100%); }
  .hero-inner { padding-top: 64px; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(56px, 9vw, 88px); max-width: 12ch; }
  .board { max-width: none; }
  .sec-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; }
  .sec-head p { max-width: 60ch; }
  .points { grid-template-columns: repeat(2, 1fr); gap: 30px 28px; }
  .contact { grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
  .player { position: sticky; top: 96px; }
  .faq { margin-left: 0; max-width: none; }
}

/* iPad landscape: keep the whole hero (with scoreboard) above the fold, and the copy off the court lines */
@media (min-width: 1061px) and (max-width: 1400px) and (max-height: 1060px) and (orientation: landscape) {
  .hero { min-height: calc(100vh - 63px); }
  .hero::after { background: linear-gradient(90deg, rgba(20,48,35,.97) 0%, rgba(20,48,35,.92) 52%, rgba(20,48,35,.35) 78%, rgba(20,48,35,.05) 100%); }
  .hero-inner { gap: 24px; padding-top: 32px; padding-bottom: 32px; }
  .hero h1 { font-size: clamp(52px, 5.4vw, 72px); margin: 10px 0 14px; }
  .lede { margin-bottom: 20px; max-width: 60ch; }
  .hero-tags { margin-top: 18px; }
  .board-row { padding-top: 6px; padding-bottom: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
footer .nap { margin: 0 0 10px; font-size: 13.5px; font-weight: 600; color: #d9e4dc; }
.shot-more { margin: 16px 0 0 !important; font-weight: 700; font-size: 14.5px; }
.shot-more a { color: var(--court); text-decoration: none; border-bottom: 2px solid var(--optic); }
.shot-more a:hover { color: var(--ink); }

/* schedule-with-me buttons (Cal.com popup) */
.sched-btn { margin-top: 18px; padding: 10px 16px; font-size: 14px; }
.sched-btn span { transition: transform .2s var(--spring); }
.sched-btn:hover span { transform: translateX(3px); }
