:root {
  --ink: #17222b;
  --ink-soft: #43515b;
  --cream: #fff8ea;
  --paper: #fffdf7;
  --orange: #f45d37;
  --orange-dark: #d74421;
  --blue: #2c8ce4;
  --mint: #a9dccd;
  --yellow: #ffd25b;
  --line: rgba(23, 34, 43, 0.14);
  --container: 1180px;
  --radius: 28px;
  --display: "Barlow Condensed", sans-serif;
  --body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.site-shell { min-height: 100dvh; overflow: hidden; isolation: isolate; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 120px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.site-header.scrolled { background: rgba(255,253,247,.92); border-color: var(--line); box-shadow: 0 10px 30px rgba(23,34,43,.06); backdrop-filter: blur(16px); }
.nav-layout { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 11px; min-width: 0; font-family: var(--display); font-size: 1.35rem; font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.brand img { width: 46px; height: 46px; border-radius: 12px; flex: 0 0 auto; box-shadow: 0 8px 20px rgba(23,34,43,.13); }
.brand em { color: var(--orange); font-style: normal; }
.desktop-nav { display: flex; align-items: center; gap: 30px; font-size: .88rem; font-weight: 600; }
.desktop-nav a, .site-footer nav a { color: var(--ink-soft); }
.desktop-nav a:hover, .site-footer nav a:hover { color: var(--orange-dark); }
.nav-cta { justify-self: end; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 999px; font-size: .85rem; font-weight: 600; }
.nav-cta:hover { background: var(--ink); color: white; }
.menu-button, .mobile-nav { display: none; }

.hero { position: relative; min-height: 820px; padding: 155px 0 94px; background: var(--cream); }
.hero::before { content: ""; position: absolute; width: 320px; height: 320px; left: -180px; top: 195px; border: 54px solid var(--blue); border-radius: 50%; opacity: .15; }
.hero-court { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.court-line { position: absolute; border: 2px solid rgba(23,34,43,.08); border-radius: 50%; }
.court-line-one { width: 520px; height: 520px; right: 4%; bottom: -320px; }
.court-line-two { width: 930px; height: 930px; right: -170px; bottom: -750px; }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 10fr) minmax(420px, 9fr); align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 10px; color: var(--orange-dark); font-family: var(--display); font-size: .95rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; flex: 0 0 auto; background: currentColor; }
h1, h2 { margin: 0; max-width: 18ch; font-family: var(--display); font-weight: 700; line-height: .88; letter-spacing: -.025em; text-wrap: balance; text-transform: uppercase; }
h1 { font-size: clamp(4.8rem, 8.2vw, 8.2rem); }
h1 strong { color: var(--orange); font-weight: 800; }
h2 { font-size: clamp(3.7rem, 6vw, 6.2rem); }
.hero-intro { max-width: 48ch; margin: 30px 0 0; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.75; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.play-badge { display: inline-flex; width: 184px; border-radius: 9px; outline: 2px solid transparent; outline-offset: 3px; }
.play-badge:focus-visible { outline-color: var(--blue); }
.play-badge img { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid currentColor; font-family: var(--display); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; }
.text-link span { font-size: 1.4rem; }
.text-link:hover span { transform: translate(3px, 3px); }
.text-link span { transition: transform .18s ease; }
.hero-stats { display: flex; gap: 0; margin: 42px 0 0; }
.hero-stats div { min-width: 118px; padding: 0 22px; border-left: 1px solid var(--line); }
.hero-stats div:first-child { padding-left: 0; border-left: 0; }
.hero-stats dt { color: var(--ink-soft); font-size: .72rem; font-weight: 500; line-height: 1.3; }
.hero-stats dd { margin: 4px 0 0; font-family: var(--display); font-size: 1.45rem; font-weight: 700; line-height: 1.1; }

.hero-visual { position: relative; min-height: 570px; display: grid; place-items: center; }
.sun-disc { position: absolute; width: 455px; height: 455px; background: var(--yellow); border-radius: 50%; }
.backboard { position: absolute; width: 270px; height: 180px; right: -54px; top: 36px; border: 12px solid rgba(255,255,255,.75); transform: rotate(7deg); }
.backboard span { position: absolute; width: 90px; height: 70px; left: 80px; bottom: -12px; border: 9px solid rgba(255,255,255,.75); }
.phone-frame { position: relative; z-index: 2; width: 284px; padding: 10px; background: var(--ink); border-radius: 44px; box-shadow: 0 32px 80px rgba(23,34,43,.28); transform: rotate(5deg); }
.phone-frame img { width: 100%; border-radius: 34px; }
.ball { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 27%, #ff9d55 0 9%, #f16a2d 34%, #b93012 100%); box-shadow: 0 18px 30px rgba(87,28,10,.23); overflow: hidden; }
.ball::before, .ball::after, .ball i, .ball b { content: ""; position: absolute; display: block; }
.ball::before { width: 105%; height: 35%; top: 31%; left: -3%; border: 4px solid #62200f; border-radius: 50%; }
.ball::after { width: 36%; height: 110%; top: -5%; left: 31%; border: 4px solid #62200f; border-radius: 50%; }
.ball i { width: 110%; height: 65%; top: 17%; left: -58%; border: 4px solid #62200f; border-radius: 50%; }
.ball b { width: 110%; height: 65%; top: 17%; right: -58%; border: 4px solid #62200f; border-radius: 50%; }
.ball-large { z-index: 4; width: 112px; height: 112px; right: 3px; bottom: 58px; transform: rotate(-20deg); animation: float 4.5s ease-in-out infinite; }
.swipe-note { position: absolute; z-index: 4; left: -16px; bottom: 85px; margin: 0; padding-bottom: 4px; border-bottom: 2px solid var(--ink); font-family: var(--display); font-size: 1.15rem; font-weight: 700; text-transform: uppercase; transform: rotate(-7deg); }
@keyframes float { 50% { transform: translateY(-13px) rotate(-13deg); } }

.ticker { overflow: hidden; background: var(--orange); color: white; transform: rotate(-1.2deg) scale(1.02); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 34px; padding: 17px 0; animation: marquee 30s linear infinite; font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.ticker i { width: 10px; height: 10px; flex: 0 0 auto; background: var(--yellow); border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

.features { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 360px); gap: 40px 72px; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -14px; }
.section-heading > p:last-child { margin: 0 0 5px; color: var(--ink-soft); line-height: 1.75; text-wrap: pretty; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin: 80px 0 0; }
.feature { padding-top: 24px; border-top: 2px solid var(--ink); }
.feature dt { display: flex; align-items: baseline; gap: 14px; font-family: var(--display); font-size: 1.65rem; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.feature dt span { color: var(--orange); font-size: .85rem; }
.feature dd { margin: 18px 0 0; color: var(--ink-soft); line-height: 1.75; text-wrap: pretty; }

.showcase { background: var(--mint); }
.showcase-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.showcase-heading .section-heading { display: block; }
.showcase-heading .section-heading .eyebrow { margin-bottom: 20px; }
.gallery-controls { display: flex; gap: 10px; padding-bottom: 8px; }
.gallery-controls button { width: 48px; height: 48px; border: 1px solid var(--ink); background: transparent; border-radius: 50%; color: var(--ink); font-size: 1.35rem; cursor: pointer; }
.gallery-controls button:hover { background: var(--ink); color: white; }
.gallery-wrap { max-width: 1500px; margin: 64px auto 0; overflow: hidden; }
.gallery { display: flex; gap: 26px; padding: 0 max(20px, calc((100vw - var(--container)) / 2)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 min(330px, 76vw); margin: 0; scroll-snap-align: start; }
.shot img { width: 100%; border-radius: min(1.8vw, 22px); outline: 1px solid rgba(23,34,43,.1); outline-offset: -1px; }
.shot figcaption { margin-top: 15px; font-family: var(--display); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; }

.challenge { position: relative; overflow: hidden; background: var(--ink); color: white; }
.challenge::before { content: ""; position: absolute; width: 680px; height: 680px; left: -310px; bottom: -310px; border: 90px solid rgba(244,93,55,.3); border-radius: 50%; }
.challenge-layout { position: relative; display: grid; grid-template-columns: minmax(360px, 8fr) minmax(0, 9fr); gap: 96px; align-items: center; }
.challenge-art { position: relative; min-height: 600px; display: grid; place-items: center; }
.phone-frame-alt { width: 286px; transform: rotate(-5deg); box-shadow: 0 32px 80px rgba(0,0,0,.38); }
.score-card { position: absolute; z-index: 3; right: 0; top: 24%; padding: 18px 22px; background: var(--yellow); color: var(--ink); border-radius: 18px; box-shadow: 0 16px 35px rgba(0,0,0,.24); transform: rotate(6deg); }
.score-card span { display: block; font-family: var(--display); font-size: .85rem; font-weight: 700; text-transform: uppercase; }
.score-card strong { display: block; font-family: var(--display); font-size: 2.4rem; line-height: 1; }
.challenge-copy .eyebrow { color: var(--yellow); }
.challenge-copy h2 { max-width: 12ch; }
.challenge-copy > p:not(.eyebrow) { max-width: 52ch; margin: 30px 0; color: rgba(255,255,255,.7); font-size: 1.05rem; line-height: 1.8; text-wrap: pretty; }
.text-link.light { color: white; }

.faq { background: var(--cream); }
.faq-layout { display: grid; grid-template-columns: minmax(310px, 7fr) minmax(0, 10fr); gap: 90px; align-items: start; }
.faq .section-heading { display: block; position: sticky; top: 130px; }
.faq .section-heading .eyebrow { margin-bottom: 20px; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px 0; cursor: pointer; font-family: var(--display); font-size: 1.45rem; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { font-family: var(--body); font-size: 1.4rem; font-weight: 400; transition: transform .2s ease; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { max-width: 56ch; margin: -6px 48px 26px 0; color: var(--ink-soft); line-height: 1.75; text-wrap: pretty; }

.final-cta { background: var(--orange); color: white; }
.final-cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.final-cta .eyebrow { color: var(--yellow); }
.final-cta h2 { max-width: 14ch; }
.final-cta .play-badge { flex: 0 0 auto; margin-bottom: 10px; }

.site-footer { padding: 54px 0 30px; background: var(--paper); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: .88rem; }
.footer-meta { display: flex; justify-content: space-between; gap: 30px; margin-top: 45px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .78rem; }
.footer-meta p { margin: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0ms); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .section { padding: 90px 0; }
  .desktop-nav, .nav-cta { display: none; }
  .nav-layout { grid-template-columns: 1fr auto; min-height: 72px; }
  .menu-button { justify-self: end; position: relative; display: grid; align-content: center; gap: 5px; width: 48px; height: 48px; padding: 12px; border: 0; background: transparent; cursor: pointer; }
  .menu-button span:not(.sr-only) { display: block; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav { position: fixed; inset: 72px 0 0; display: flex; flex-direction: column; gap: 0; padding: 24px 20px; background: var(--cream); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 17px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
  .mobile-nav a:last-child { margin-top: auto; padding: 16px 18px; border: 0; background: var(--orange); color: white; border-radius: 14px; font-size: 1.5rem; text-align: center; }
  .hero { min-height: auto; padding: 125px 0 80px; }
  .hero-layout { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 550px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading .eyebrow { margin-bottom: -14px; }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 62px; }
  .feature dd { max-width: 60ch; }
  .challenge-layout { grid-template-columns: 1fr; gap: 50px; }
  .challenge-copy { order: -1; }
  .faq-layout { grid-template-columns: 1fr; gap: 60px; }
  .faq .section-heading { position: static; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 76px 0; }
  .brand { font-size: 1.15rem; }
  .brand img { width: 42px; height: 42px; }
  .hero { padding-top: 112px; }
  h1 { font-size: clamp(4.1rem, 19vw, 5.8rem); }
  h2 { font-size: clamp(3.25rem, 15vw, 4.8rem); }
  .hero-intro, .challenge-copy > p:not(.eyebrow) { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .play-badge { width: 176px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-stats div { min-width: 0; padding-inline: 11px; }
  .hero-stats dd { font-size: 1.15rem; }
  .hero-visual { min-height: 470px; }
  .sun-disc { width: 330px; height: 330px; }
  .backboard { width: 210px; height: 140px; right: -50px; top: 32px; }
  .backboard span { left: 55px; }
  .phone-frame, .phone-frame-alt { width: 230px; border-radius: 36px; }
  .phone-frame img { border-radius: 28px; }
  .ball-large { width: 86px; height: 86px; right: 0; bottom: 36px; }
  .swipe-note { left: 0; bottom: 54px; }
  .showcase-heading { align-items: start; flex-direction: column; }
  .gallery-wrap { margin-top: 46px; }
  .gallery { gap: 18px; padding-inline: 16px; }
  .challenge-art { min-height: 485px; }
  .score-card { right: 0; }
  .accordion summary { padding: 23px 0; font-size: 1.25rem; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-main, .footer-meta { align-items: flex-start; flex-direction: column; }
  .site-footer nav { gap: 17px 24px; }
  .footer-meta { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
