/* ---------- Tokens ---------- */
:root {
  --navy: #0f1e38;
  --navy-dark: #0a1526;
  --orange: #f0791a;
  --orange-dark: #d9670f;
  --blue-accent: #3aa0e0;
  --bg-light: #eef1f5;
  --text-dark: #16233d;
  --text-body: #4b5567;
  --text-muted: #8b93a3;
  --white: #ffffff;
  --border: #e2e6ec;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(15, 30, 56, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 30, 56, 0.14);
  --max-width: 1160px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { color: var(--text-dark); font-weight: 800; line-height: 1.15; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
}
.eyebrow-dark { color: var(--orange-dark); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 640px;
  margin-top: 14px;
}

.accent { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 12px 22px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }

.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-dark); }

.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: var(--white); }

.btn-outline-dark { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { height: 32px; width: auto; display: block; }
.logo-text { font-weight: 900; font-size: 1.25rem; letter-spacing: 0.02em; color: var(--white); }

.edition-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}
.badge-fiba { background: rgba(58,160,224,0.18); color: #7cc4ee; }
.badge-nfhs { background: rgba(240,121,26,0.2); color: var(--orange); }
.badge-recleague { background: rgba(34,197,94,0.18); color: #4ade80; }

.notice-banner { background: var(--navy-dark); color: rgba(255,255,255,0.9); padding: 12px 0; text-align: center; font-size: 0.9rem; }
.notice-banner strong { color: var(--orange); }

/* ---------- Audio banner (top of page, above the header) ---------- */
.audio-banner { background: var(--navy-dark); padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.audio-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.audio-banner-eyebrow {
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; font-weight: 700;
  color: var(--orange); margin-bottom: 4px;
}
.audio-banner-text h2 { color: var(--white); font-size: 1.1rem; margin-bottom: 2px; }
.audio-banner-text p { color: rgba(255,255,255,0.72); font-size: 0.88rem; max-width: 560px; margin: 0; }
.audio-banner-player { width: 340px; max-width: 100%; height: 40px; flex-shrink: 0; }
@media (max-width: 640px) {
  .audio-banner-inner { flex-direction: column; align-items: stretch; }
  .audio-banner-player { width: 100%; }
}

.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { color: rgba(255,255,255,0.82); font-weight: 500; font-size: 0.95rem; transition: color 0.15s ease; }
.main-nav a:hover { color: var(--white); }

.nav-cta { margin-left: 8px; }

.nav-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: rgba(255,255,255,0.82);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-social:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-social svg { width: 18px; height: 18px; }

.mobile-nav .nav-social-inline { display: inline-flex; align-items: center; gap: 8px; }
.mobile-nav .nav-social-inline svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  padding: 16px 24px 24px;
  gap: 16px;
}
.mobile-nav a { color: rgba(255,255,255,0.85); font-weight: 500; padding: 4px 0; }
.mobile-nav .btn { margin-top: 8px; width: fit-content; }

.site-header.nav-open .mobile-nav { display: flex; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #142a4d 100%);
  color: var(--white);
  position: relative;
}

.hero-inner {
  padding: 88px 24px 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: -0.01em;
  max-width: 900px;
}

.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 24px 0 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.pill-band { background: var(--orange); padding: 22px 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pill {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 20px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Editions ---------- */
.editions { padding: 88px 0; background: var(--white); }
.editions h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); max-width: 720px; }

.edition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 1024px) {
  .edition-grid { grid-template-columns: repeat(2, 1fr); }
}

.edition-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.edition-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.edition-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.edition-card-head h3 { font-size: 1.3rem; }

.status-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-live { background: rgba(26,143,76,0.14); color: #1a8f4c; }
.status-soon { background: rgba(240,121,26,0.16); color: var(--orange-dark); }
.status-removed { background: rgba(217,72,43,0.14); color: #d9482b; }

.edition-points { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 8px; }
.edition-points li { position: relative; padding-left: 22px; font-size: 0.92rem; color: var(--text-body); }
.edition-points li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }

.edition-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Revisions ---------- */
.revisions { padding: 88px 0; background: var(--bg-light); }
.revisions h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); max-width: 720px; }

.revision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.revision-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.revision-card h3 { font-size: 1.1rem; margin-top: 4px; }
.revision-card p { font-size: 0.92rem; color: var(--text-body); }

/* ---------- Tour / Features ---------- */
.tour { background: var(--bg-light); padding: 88px 0; }
.tour .eyebrow-dark { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; }
.tour h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); max-width: 720px; }

.tour-video {
  max-width: 900px; margin: 40px 0 8px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--navy);
}
.tour-video video { width: 100%; display: block; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.feature-shot { background: var(--bg-light); border-bottom: 1px solid var(--border); overflow: hidden; }
.feature-shot.dark { background: var(--navy); }
.feature-shot img { width: 100%; height: 260px; object-fit: cover; object-position: top; }

.feature-card h3 { font-size: 1.15rem; padding: 22px 24px 8px; }
.feature-card p { padding: 0 24px 24px; color: var(--text-body); font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange); padding: 56px 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: rgba(255,255,255,0.9); margin-top: 10px; max-width: 480px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact { padding: 96px 0; background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
}
.contact h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.contact-intro .eyebrow-dark { margin-bottom: 12px; }

.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.contact-details a { color: var(--navy); font-weight: 600; }
.contact-details a:hover { color: var(--orange-dark); }

.contact-form {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row.two-col > div { display: flex; flex-direction: column; gap: 6px; }

label { font-size: 0.88rem; font-weight: 600; color: var(--text-dark); }
label span { color: var(--orange-dark); margin-left: 2px; }

input, textarea, select {
  font-family: inherit;
  font-size: 0.96rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-dark);
  transition: border-color 0.15s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--orange);
}
textarea { resize: vertical; }

.form-submit { margin-top: 8px; align-self: flex-start; }

.form-status { font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
.form-status.success { color: #1a8f4c; }
.form-status.error { color: #d9482b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 40px 0; }
.footer-brand { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.55); }

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.footer-links a { font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.75); }
.footer-links a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.85rem;
}
.footer-logo { width: 26px; height: 26px; border-radius: 50%; }
.footer-bottom a { color: rgba(255,255,255,0.75); font-weight: 600; }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .edition-grid { grid-template-columns: 1fr; }
  .revision-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .cta-inner { text-align: center; justify-content: center; }
  .cta-inner > div { text-align: center; }
  .cta-band p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .hero-inner { padding: 64px 20px 48px; }
  .tour, .contact { padding: 64px 0; }
  .contact-form { padding: 24px; }
}
