/* ============================================================
   ATTACK Basketball Academy — Charlie Miller profile v2
   Theme: navy (deep blue) + gold — matches official ATTACK brand
   ============================================================ */
:root {
  --navy: #0B192C;
  --navy-light: #1E3E62;
  --navy-block: #0B192C;
  --navy-block-text: #F8FAFC;
  --gold: #C9A227;
  --gold-light: #E8C766;
  --gold-soft: rgba(201,162,39,.14);
  --cream: #F8F6F1;
  --paper: #FFFFFF;
  --ink: #17202E;
  --muted: #5D6B7E;
  --line: #E5E1D8;
  --shadow-sm: 0 1px 3px rgba(11,25,44,.08);
  --shadow-md: 0 14px 40px -16px rgba(11,25,44,.28);
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --maxw: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: #b4891c; text-decoration: none; }
a:hover { color: #8f6d10; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; margin: 0 0 .45em; letter-spacing: .01em; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); }
p { margin: 0 0 1em; }
.small { font-size: .92rem; color: var(--muted); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .07em; text-transform: uppercase; padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: all .18s ease; white-space: nowrap; line-height: 1; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 3px solid var(--gold); box-shadow: var(--shadow-md); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 1.4rem; padding: .6rem 24px; }
.nav-brand { display: flex; align-items: center; gap: .7rem; color: #fff; }
.nav-brand .mark { width: 40px; height: 40px; border-radius: 10px; background: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--navy); }
.nav-brand .name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; text-transform: uppercase; letter-spacing: .05em; line-height: 1.1; color: #fff; }
.nav-brand .name small { display: block; font-size: .62rem; letter-spacing: .22em; color: var(--gold); font-family: var(--font-body); font-weight: 600; }
.nav-links { display: flex; gap: .15rem; margin-left: auto; align-items: center; }
.nav-links a { color: rgba(255,255,255,.88); font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: .06em; text-transform: uppercase; padding: .55rem .8rem; border-radius: 8px; transition: all .15s ease; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.12); }
.nav-links .nav-cta { background: var(--gold); color: var(--navy); padding: .55rem 1.1rem; border-radius: 999px; }
.nav-links .nav-cta:hover { opacity: .9; color: var(--navy); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; padding: .3rem; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-grid { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 7.5rem 24px 7rem; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero-media { position: relative; }
.hero-media .frame { position: relative; border-radius: 22px; overflow: hidden; border: 3px solid var(--gold); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); transform: rotate(1.5deg); transition: transform .3s ease; }
.hero-media:hover .frame { transform: rotate(0deg) scale(1.01); }
.hero-media .frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.hero-media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(201,162,39,.18), transparent 45%); }
.hero-media .badge-float { position: absolute; bottom: 22px; left: -18px; background: var(--gold); color: var(--navy); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; padding: .7rem 1.1rem; border-radius: 12px; box-shadow: 0 12px 30px -8px rgba(0,0,0,.5); z-index: 2; }
.hero-media .accent-ring { position: absolute; top: -18px; right: -18px; width: 96px; height: 96px; border: 3px solid rgba(201,162,39,.5); border-radius: 50%; z-index: 1; }
.hero-media .dot-grid { position: absolute; bottom: -16px; right: -14px; width: 90px; height: 90px; background-image: radial-gradient(rgba(201,162,39,.55) 2.4px, transparent 2.4px); background-size: 16px 16px; z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.hero-kicker { display: inline-block; font-family: var(--font-display); letter-spacing: .28em; text-transform: uppercase; font-size: .84rem; color: var(--navy); background: var(--gold); padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.3rem; }
.hero h1 { max-width: 17ch; }
.hero h1 .accent { color: var(--gold); }
.hero p.lead { max-width: 58ch; font-size: 1.18rem; color: rgba(255,255,255,.92); margin-bottom: 1.9rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-tag { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; color: rgba(255,255,255,.78); font-size: .92rem; }
.hero-tag strong { color: #fff; }

/* Ticker */
.ticker { background: var(--gold); color: var(--navy); overflow: hidden; }
.ticker-track { display: flex; gap: 2.6rem; padding: .7rem 0; white-space: nowrap; animation: tick 30s linear infinite; width: max-content; }
.ticker-track span { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 1.02rem; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--paper); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 2.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--font-display); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; font-size: .82rem; color: var(--gold); margin-bottom: .6rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-navy .section-head p { color: rgba(255,255,255,.85); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.4rem; }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 1.7rem 1.4rem; text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem,5vw,3.6rem); color: var(--gold); line-height: 1; }
.stat .label { margin-top: .5rem; font-size: .92rem; color: rgba(255,255,255,.88); text-transform: uppercase; letter-spacing: .07em; font-family: var(--font-display); font-weight: 600; }
.stat .sub { margin-top: .25rem; font-size: .82rem; color: rgba(255,255,255,.6); }

/* Grids */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--cream); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; }
.card-body h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.card-body .role { font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; color: var(--gold); margin-bottom: .6rem; }
.card-body p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }

/* Pricing/programs */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; align-items: stretch; }
.price-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.price-card.featured { border: 2px solid var(--gold); box-shadow: var(--shadow-md); }
.price-card .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; padding: .3rem .8rem; border-radius: 999px; }
.price-card h3 { font-size: 1.45rem; }
.price-card .amount { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; color: var(--navy); line-height: 1; margin: .4rem 0 .1rem; }
.price-card .per { font-size: .88rem; color: var(--muted); margin-bottom: 1.1rem; }
.price-card ul { margin: 0 0 1.4rem; padding: 0; list-style: none; font-size: .96rem; }
.price-card ul li { padding: .34rem 0 .34rem 1.5rem; position: relative; }
.price-card ul li::before { content: ""; position: absolute; left: 0; top: .72rem; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.price-card .btn { margin-top: auto; width: 100%; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.split .kicker { font-family: var(--font-display); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-size: .82rem; margin-bottom: .5rem; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.tl-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.tl-card .yr { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--gold); line-height: 1; margin-bottom: .5rem; }
.tl-card h4 { color: #fff; font-size: 1.15rem; margin-bottom: .3rem; }
.tl-card p { color: rgba(255,255,255,.82); font-size: .95rem; margin: 0; }

/* Values */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.value { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); }
.value .num { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--gold); }
.value p { margin: .2rem 0 0; color: var(--ink); font-size: .97rem; }

/* Video grid */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.video-card { background: var(--navy); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.14); }
.video-card iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.video-card .vc-body { padding: 1rem 1.2rem 1.2rem; color: #fff; }
.video-card .vc-body h4 { color: #fff; font-size: 1.1rem; margin-bottom: .2rem; }
.video-card .vc-body p { color: rgba(255,255,255,.72); font-size: .88rem; margin: 0; }

/* Carousel (Instagram-style) */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: .3rem .1rem 1rem; }
.carousel .c-item { scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.carousel .c-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.carousel .c-cap { padding: .8rem 1rem; font-size: .9rem; color: var(--ink); }
.carousel .c-cap small { display: block; color: var(--muted); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .2rem; }
.carousel-controls { display: flex; justify-content: flex-end; gap: .6rem; margin-top: .6rem; }
.carousel-button { width: 44px; height: 44px; border: 2px solid var(--navy); border-radius: 50%; background: var(--paper); color: var(--navy); font-size: 1.2rem; cursor: pointer; transition: all .18s ease; }
.carousel-button:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* Schedule */
.schedule { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.sched-card { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.sched-card.gold { border-left-color: var(--gold); }
.sched-card h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.sched-card .addr { color: var(--muted); font-size: .92rem; margin-bottom: .8rem; }
.sched-card ul { margin: 0; padding: 0; list-style: none; }
.sched-card ul li { padding: .3rem 0; font-size: .97rem; border-bottom: 1px dashed var(--line); }
.sched-card ul li:last-child { border-bottom: 0; }
.sched-card ul li strong { color: var(--gold); }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.quote { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius); padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm); }
.quote .q { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25; font-weight: 600; color: var(--ink); text-transform: none; }
.quote .who { margin-top: .8rem; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* Page hero (subpages) */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: var(--gold); }
.page-hero .inner { max-width: var(--maxw); margin: 0 auto; padding: 5rem 24px 4.5rem; position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero p.lead { color: rgba(255,255,255,.88); max-width: 62ch; font-size: 1.12rem; }

/* CTA band */
.cta-band { background: var(--gold); color: var(--navy); }
.cta-band .inner { max-width: var(--maxw); margin: 0 auto; padding: 4.5rem 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; justify-content: space-between; }
.cta-band h2 { color: var(--navy); margin: 0; }
.cta-band p { color: rgba(11,25,44,.85); max-width: 52ch; margin: .4rem 0 0; }
.cta-band .btn-navy { background: var(--navy); color: #fff; }
.cta-band .btn-navy:hover { background: var(--navy-light); color: #fff; }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,.88); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer h4 { color: #fff; font-size: 1.05rem; letter-spacing: .1em; margin-bottom: 1rem; }
.footer a { color: rgba(255,255,255,.8); }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { padding: .22rem 0; font-size: .95rem; }
.footer .brandline { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: #fff; text-transform: uppercase; }
.footer .brandline small { display: block; font-family: var(--font-body); font-size: .72rem; letter-spacing: .2em; color: var(--gold); font-weight: 600; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: .85rem; font-weight: 700; color: #fff; transition: background .15s ease; }
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .86rem; color: rgba(255,255,255,.6); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* To top */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; border: 2px solid var(--gold); display: grid; place-items: center; font-size: 1.2rem; opacity: 0; pointer-events: none; transition: all .2s ease; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: var(--navy); }

/* Legal/doc */
.doc { max-width: 860px; margin: 0 auto; padding: 3.5rem 24px 5rem; }
.doc h2 { font-size: 1.7rem; margin-top: 2.4rem; margin-bottom: .6rem; color: var(--navy); }
.doc h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc li { margin-bottom: .5rem; }
.doc .meta { color: var(--muted); font-size: .92rem; margin-bottom: 1.5rem; }
.doc .note { background: var(--cream); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 1rem 1.3rem; margin: 1.2rem 0; font-size: .96rem; }

/* Form */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-md); }
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-display); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .84rem; color: var(--navy); }
.field input, .field textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; background: #fff; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 24px; }
  .hero-media { max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px); background: var(--navy); flex-direction: column; align-items: flex-start; gap: .4rem; padding: 5.5rem 1.6rem 2rem; transform: translateX(100%); transition: transform .25s ease; box-shadow: -20px 0 50px rgba(0,0,0,.35); margin-left: 0; }
  .nav-links.open { transform: none; }
  .nav-links a { width: 100%; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .hero-grid { padding: 4rem 24px 4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .carousel { grid-auto-columns: 80%; }
}
