/* NBA Basketball School — public site */
:root {
  --navy: #0a1230; --blue: #1d428a; --red: #c8102e; --gold: #fdb927; --ink: #0a1230; --muted: #5f6987; --line: #e3e7f1; --bg: #f5f7fb;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif; --body: 'Barlow', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 var(--body); color: var(--ink); background: var(--bg); }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .98; letter-spacing: .005em; margin: 0 0 .4em; }
h2 { font-size: clamp(34px, 5vw, 54px); } h3 { font-size: 26px; }
.muted { color: var(--muted); } .small { font-size: 14px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-block; font: 700 13px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 16px var(--body); padding: 12px 22px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); } .btn--lg { padding: 15px 28px; font-size: 17px; } .btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; } .btn--red:hover { background: #a90d27; }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; } .btn--ghost:hover { border-color: #fff; }
.btn--light { background: #fff; color: var(--navy); }

.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 12px max(20px, calc(50vw - 570px)); background: rgba(10,18,48,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__brand img { height: 42px; display: block; } .nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; } .nav__links a:hover { color: #fff; }
.nav__cta { padding: 9px 18px; font-size: 15px; }

.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 75% 10%, #2350a8 0, transparent 60%), linear-gradient(160deg, #142c6c 0, var(--navy) 55%, #060b1f 100%); }
.hero__court { position: absolute; right: -180px; top: -40px; width: 760px; height: 760px; opacity: .1; border: 3px solid #fff; border-radius: 50%; }
.hero__court::before { content: ''; position: absolute; left: 50%; top: 0; width: 230px; height: 330px; transform: translateX(-50%); border: 3px solid #fff; }
.hero__court::after { content: ''; position: absolute; left: 50%; top: 220px; width: 230px; height: 230px; transform: translateX(-50%); border: 3px solid #fff; border-radius: 50%; }
.hero__inner { position: relative; max-width: 1180px; margin: 0 auto; padding: clamp(70px, 12vw, 140px) 20px clamp(60px, 9vw, 110px); }
.hero h1 { font-size: clamp(54px, 10vw, 118px); max-width: 11ch; }
.hero p { font-size: clamp(17px, 2vw, 21px); max-width: 620px; color: rgba(255,255,255,.82); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 46px; }
.hero__facts { display: flex; gap: 46px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.hero__facts strong { display: block; font: 800 46px/1 var(--display); } .hero__facts span { color: rgba(255,255,255,.65); font-size: 14px; }
.hero .eyebrow { color: var(--gold); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -46px; position: relative; z-index: 2; }
.pillars article { background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 12px 40px rgba(10,18,48,.09); border-top: 4px solid var(--blue); }
.pillars article:nth-child(even) { border-top-color: var(--red); } .pillars__n { font: 800 15px var(--display); color: var(--red); } .pillars h3 { font-size: 24px; margin: 8px 0; } .pillars p { margin: 0; color: var(--muted); font-size: 15.5px; }

section[id] { scroll-margin-top: 80px; } .wrap[id] { padding-top: 90px; }
.sec { margin-bottom: 28px; } .sec--light h2 { color: #fff; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.prog { background: #fff; border-radius: 18px; padding: 24px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.prog::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c, var(--blue)); }
.prog__cat { display: inline-block; font: 800 22px var(--display); color: #fff; background: var(--c, var(--blue)); padding: 2px 12px; border-radius: 8px; margin-bottom: 12px; }
.prog p { margin: 0 0 8px; font-size: 15.5px; } .prog__days { font-weight: 700; } .prog__fee { font: 800 28px var(--display); margin-top: 12px !important; } .prog__fee span { font: 600 14px var(--body); color: var(--muted); }
.band { background: var(--navy); color: #fff; padding: 90px 0; margin-top: 90px; background-image: linear-gradient(160deg, #142c6c, var(--navy) 60%); }
.band .eyebrow { color: var(--gold); }
.camp { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 24px; }
.camp__dates { font-weight: 700; color: var(--gold); font-size: 14px; } .camp h3 { font-size: 34px; margin-top: 6px; } .camp .muted { color: rgba(255,255,255,.65); }
.camp__price { font: 800 34px var(--display); margin: 14px 0; } .camp__price s { font-size: 22px; opacity: .55; } .camp__price em { display: block; font: 700 13px var(--body); color: var(--gold); font-style: normal; }
.loc { background: #fff; border-radius: 18px; padding: 22px; border: 1px solid var(--line); } .loc h3 { font-size: 24px; } .loc a { font-weight: 700; text-decoration: none; }

.trial { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; padding-bottom: 90px; }
.trial__form { background: #fff; border-radius: 22px; padding: 28px; box-shadow: 0 20px 60px rgba(10,18,48,.12); }
.trial label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 14px; color: var(--muted); }
.trial input, .trial select, .trial textarea { display: block; width: 100%; margin-top: 6px; font: 16px var(--body); color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.trial input:focus, .trial select:focus, .trial textarea:focus { outline: 2px solid rgba(29,66,138,.3); border-color: var(--blue); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; } .error { background: rgba(200,16,46,.08); color: var(--red); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.thanks { text-align: center; padding: 40px 10px; } .thanks h3 { font-size: 38px; color: var(--red); }

.band--app { margin-top: 0; } .app { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; } .ticks li { padding: 7px 0 7px 32px; position: relative; color: rgba(255,255,255,.85); }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; display: grid; place-items: center; font-weight: 800; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; } .app__shot { width: 100%; max-width: 360px; justify-self: center; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }

.doc { max-width: 780px; padding-top: 60px; padding-bottom: 80px; } .doc h1 { font-size: 56px; } .doc h2 { font-size: 28px; margin-top: 1.4em; } .doc li { margin-bottom: 6px; }
.contact { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 16px; } .contact h2 { margin-top: 0; }

.foot { background: #060b1f; color: rgba(255,255,255,.7); padding: 50px 0 30px; }
.foot__inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; } .foot__logo { height: 54px; margin-bottom: 26px; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .foot__cols div { display: flex; flex-direction: column; gap: 6px; }
.foot__cols strong { color: #fff; } .foot a { color: rgba(255,255,255,.7); text-decoration: none; } .foot a:hover { color: #fff; }
.foot__legal { margin-top: 34px; font-size: 13px; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; }

@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr 1fr; } .trial, .app { grid-template-columns: 1fr; } .nav__links { display: none; } .nav__cta { margin-left: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; } .pillars { grid-template-columns: 1fr; margin-top: -30px; } .two { grid-template-columns: 1fr; gap: 0; }
  .foot__cols { grid-template-columns: 1fr; } .hero__facts { gap: 28px; } .nav__brand img { height: 34px; } .trial__form { padding: 20px; }
  .cards { grid-template-columns: 1fr; }
}
