/* =========================================================
   MSBL National — Modern & Bold rebuild
   Design system + shared styles
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy:      #0a1c3b;
  --navy-2:    #102a52;
  --navy-3:    #16356a;
  --red:       #F0962A;
  --red-dark:  #D4811E;
  --gold:      #f4b41a;
  --white:     #ffffff;
  --ink:       #0c1626;
  --paper:     #f5f7fb;
  --paper-2:   #eaeef6;
  --muted:     #5c6b82;
  --line:      #dde3ee;

  --radius:    14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(10, 28, 59, .08);
  --shadow:    0 14px 40px rgba(10, 28, 59, .16);
  --maxw:      1180px;

  --font-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.04;
  letter-spacing: -0.01em;
  font-weight: 800;
}

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; background: var(--red); border-radius: 2px;
}
.eyebrow.light { color: var(--gold); }
.eyebrow.light::before { background: var(--gold); }
.eyebrow.no-bar::before { display: none; }

.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red    { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(240,150,42,.35); }
.btn-red:hover { background: var(--red-dark); }
.btn-light  { background: #fff; color: var(--navy); }
.btn-ghost  { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline{ background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10,28,59,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; height: 72px;
  width: 100%; padding: 0 24px; box-sizing: border-box;
}
.brand { display: flex; align-items: center; gap: 0; text-decoration: none; }
.brand-logo { height: 96px; width: auto; display: block; }
/* logo PNG has ~17% transparent whitespace each side; negative margin closes visible gap */
.brand-name { color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 28px; letter-spacing: -.02em; line-height: 1.1; margin-left: -14px; }
.brand-name small { display: block; font-size: 16px; font-weight: 700; color: var(--gold); margin-top: 2px; letter-spacing: -.01em; }

/* Auth panel brand — same size across all four auth pages */
/* margin-left on .brand pulls visible logo flush with h1 below; margin-left on .brand-name closes logo gap */
.auth-panel .brand { align-self: flex-start; margin-left: -21px; }
.auth-panel .brand-logo { height: 72px; }
.auth-panel .brand-name { font-size: 21px; margin-left: -10px; }
.auth-panel .brand-name small { font-size: 14px; }

/* Nav bar brand — shared components nav + standalone page navs */
.nav .brand-logo,
.page-bar .brand-logo,
.profile-nav .brand-logo { height: 48px; }

.nav-left { display: flex; align-items: center; gap: 16px; justify-self: start; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,.82);
  font-family: var(--font-head);
  font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ""; display: block; height: 3px; background: var(--red);
  border-radius: 2px; margin-top: 6px;
}
.nav-cta { margin-left: 0; }
.nav-links .btn { border-radius: 50px; white-space: nowrap; }
/* right-side group: CTA buttons + avatar */
.nav-end { display: flex; align-items: center; gap: 10px; justify-self: end; }
.nav-end .btn { border-radius: 50px; white-space: nowrap; font-size: 14px; }
/* player avatar */
.nav-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; text-decoration: none; border: 2px solid rgba(255,255,255,.25); transition: border-color .15s, transform .15s; }
.nav-avatar:hover { border-color: var(--gold); transform: scale(1.07); }
.nav-avatar-initials { color: #fff; font-size: 13px; font-weight: 800; font-family: var(--font-head); line-height: 1; }
.nav-login-link {
  font-size: 13px; font-weight: 700; font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: .06em;
  color: rgba(255,255,255,.85) !important;
  padding: 8px 14px; border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 50px; white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
.nav-login-link:hover { color: #fff !important; border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); }

/* dropdown */
.nav-dd { position: relative; }
.nav-dd-toggle {
  background: none; border: 0; cursor: pointer;
  color: rgba(255,255,255,.82);
  font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 8px; transition: color .15s, background .15s;
  display: flex; align-items: center; gap: 5px;
}
.nav-dd-toggle:hover, .nav-dd-toggle.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-arrow { flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; }
.nav-dd-menu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.12); border-radius: 10px;
  padding: 8px; padding-top: 14px; margin-top: 0;
  display: none; flex-direction: column; gap: 2px;
  box-shadow: var(--shadow); z-index: 60;
}
/* invisible bridge fills the gap so mouse movement doesn't close the menu */
.nav-dd-menu::before {
  content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.nav-dd:hover .nav-dd-menu, .nav-dd.open .nav-dd-menu { display: flex; }
.nav-dd-menu a { white-space: nowrap; }
/* nav-search lives inside nav-links */

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(244,180,26,.18), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(224,36,52,.22), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(800px 500px at 70% 20%, #000, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 110px 0 96px; max-width: 760px; }
.hero h1 {
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .95;
}
.hero h1 .accent { color: var(--red); }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.82); margin: 22px 0 34px; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-badge {
  position: absolute; right: -40px; bottom: -40px; z-index: 1;
  width: 420px; height: 420px; opacity: .9;
}

/* seam / stitches decorative */
.stitch-divider { height: 6px; background: var(--red);
  background-image: repeating-linear-gradient(90deg, var(--red) 0 18px, var(--red-dark) 18px 22px);
}

/* ---------- Stat bar ---------- */
.statbar { background: var(--navy); color: #fff; }
.statbar .grid { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.stat { padding: 40px 40px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); min-width: 200px; }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-head); font-weight: 900; font-size: clamp(34px,4vw,52px); color: var(--gold); line-height: 1; }
.stat .label { margin-top: 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); font-weight: 600; }

/* ---------- Section heads ---------- */
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); text-transform: uppercase; margin: 14px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 26px; }
.cards.c3 { grid-template-columns: repeat(3,1fr); }
.cards.c2 { grid-template-columns: repeat(2,1fr); }
.cards.c4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; margin-bottom: 18px;
}
.card h3 { font-size: 21px; text-transform: uppercase; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* feature row */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.feature.rev .feature-media { order: 2; }
.feature-media {
  border-radius: var(--radius); min-height: 380px;
  background: linear-gradient(160deg, var(--navy-2), var(--navy-3));
  position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.feature ul { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.feature ul li { position: relative; padding-left: 32px; color: var(--ink); font-size: 16px; }
.feature ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}

/* ---------- Tournament list ---------- */
.tourney {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px; margin-bottom: 16px; box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .2s;
}
.tourney:hover { transform: translateX(4px); box-shadow: var(--shadow); }
a.tourney { color: inherit; text-decoration: none; cursor: pointer; }
.tourney .date {
  text-align: center; background: var(--navy); color: #fff; border-radius: 10px; padding: 12px 8px;
}
.tourney .date .mo { font-family: var(--font-head); font-weight: 900; font-size: 13px; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }
.tourney .date .dy { font-family: var(--font-head); font-weight: 900; font-size: 26px; line-height: 1; }
.tourney h3 { font-size: 22px; text-transform: uppercase; }
.tourney .meta { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.tourney .tag { font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); border: 2px solid var(--red); border-radius: 50px; padding: 7px 16px; white-space: nowrap; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(244,180,26,.18), transparent 60%),
    linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff; text-align: center;
}
.cta-band h2 { font-size: clamp(30px,4.5vw,54px); text-transform: uppercase; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 18px; margin: 14px auto 28px; max-width: 580px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background:
    radial-gradient(900px 500px at 85% -20%, rgba(224,36,52,.25), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-3));
  color: #fff; padding: 84px 0 72px; position: relative; overflow: hidden;
}
.page-hero .crumbs { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 16px; font-weight: 600; }
.page-hero .crumbs a:hover { color: var(--gold); }
.page-hero h1 { font-size: clamp(38px,6vw,68px); text-transform: uppercase; }
.page-hero p { color: rgba(255,255,255,.82); font-size: 18px; margin-top: 16px; max-width: 620px; }

/* ---------- Misc content ---------- */
.prose { max-width: 760px; }
.prose p { margin-bottom: 18px; color: #2b3a52; font-size: 17px; }
.prose h3 { font-size: 26px; text-transform: uppercase; margin: 36px 0 12px; }

.bg-paper { background: var(--paper); }

.divider-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border:1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.divider-grid .cell { background:#fff; padding: 28px; }
.divider-grid .cell .k { font-family: var(--font-head); font-weight:900; font-size: 30px; color: var(--navy); }
.divider-grid .cell .v { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* timeline */
.timeline { position: relative; margin-top: 20px; padding-left: 28px; border-left: 3px solid var(--line); }
.tl-item { position: relative; padding: 0 0 34px 18px; }
.tl-item::before { content:""; position:absolute; left:-39px; top:2px; width:18px; height:18px; border-radius:50%; background: var(--red); border:4px solid #fff; box-shadow:0 0 0 2px var(--red); }
.tl-item .yr { font-family: var(--font-head); font-weight:900; color: var(--red); font-size: 20px; }
.tl-item h4 { font-size: 19px; text-transform: uppercase; margin: 4px 0 6px; }
.tl-item p { color: var(--muted); font-size: 15.5px; }

/* form */
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display:flex; flex-direction:column; gap:7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight:700; font-size: 13px; letter-spacing:.06em; text-transform:uppercase; color: var(--navy); }
.field input, .field select, .field textarea {
  border:1px solid var(--line); border-radius: 10px; padding: 13px 15px; font-family: var(--font-body); font-size: 15px; background:#fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--red); box-shadow:0 0 0 3px rgba(240,150,42,.12); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 64px 0 28px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color:#fff; font-size: 14px; letter-spacing:.12em; text-transform:uppercase; margin-bottom: 16px; }
.site-footer a { display:block; color: rgba(255,255,255,.7); font-size: 14.5px; padding: 6px 0; transition: color .15s; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { display:flex; padding:0; }
.site-footer .brand-logo { height: 48px; }
.site-footer .brand-name { font-size: 18px; margin-left: -7px; }
.site-footer .brand-name small { font-size: 12px; }
.footer-about p { font-size: 14.5px; margin-top: 14px; max-width: 320px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display:flex; justify-content:space-between; gap: 16px; flex-wrap:wrap; font-size: 13px; color: rgba(255,255,255,.5); }
.social { display:flex; gap:10px; margin-top:18px; }
.social a { width:38px; height:38px; border-radius:9px; background: rgba(255,255,255,.08); display:grid; place-items:center; color:#fff; }
.social a:hover { background: var(--red); }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.rev .feature-media { order: 0; }
  .cards.c3, .cards.c4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stat { min-width: 140px; padding: 28px 24px; border-bottom:1px solid rgba(255,255,255,.08); }
  .stat:last-child { border-bottom: 0; }
}
@media (max-width: 720px) {
  .nav { display: flex; justify-content: space-between; padding: 0 16px; }
  .nav-links { position: fixed; inset: 72px 0 auto 0; background: var(--navy); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 12px; gap: 4px; transform: translateY(-120%); transition: transform .25s ease; border-bottom:1px solid rgba(255,255,255,.1); z-index: 50; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; }
  .nav-links a.active::after { display:none; }
  .nav-search { display: none; }
  .nav-dd-toggle { display: none; }
  .nav-dd-menu { position: static; display: flex; background: transparent; border: 0; box-shadow: none; padding: 0; min-width: 0; }
  .nav-dd-menu a { padding: 14px 16px; }
  .nav-end { display: none; }
  .nav-toggle { display: flex; }
  .cards.c3, .cards.c4, .cards.c2 { grid-template-columns: 1fr; }
  .divider-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .tourney { grid-template-columns: 84px 1fr; }
  .tourney .tag { grid-column: 2; justify-self:start; }
  .section { padding: 64px 0; }
  .hero-inner { padding: 70px 0 64px; }
}

/* =========================================================
   MSBL — Extended components (Phase 2 frontend)
   ========================================================= */

/* ── Nav: audience dropdowns ───────────────────────────── */
.nav-links .nav-dd-menu {
  min-width: 220px;
}
.nav-dd-menu .dd-section {
  padding: 4px 8px 2px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
  font-family: var(--font-head);
  margin-top: 8px;
}
.nav-dd-menu .dd-section:first-child { margin-top: 0; }
.nav-dd-menu a {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; padding: 9px 12px; border-radius: 7px;
  color: rgba(255,255,255,.82);
}
.nav-dd-menu a:hover { background: rgba(255,255,255,.1); color: #fff; }

/* header search bar */
.nav-search {
  display: flex; align-items: center; flex-shrink: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50px;
  padding: 6px 14px;
  gap: 7px;
  transition: background .2s;
}
.nav-search:focus-within { background: rgba(255,255,255,.14); }
.nav-search input {
  background: none; border: 0; outline: 0;
  color: #fff; font-size: 13px; width: 130px;
  font-family: var(--font-body);
}
.nav-search input::placeholder { color: rgba(255,255,255,.45); }
.nav-search svg { opacity: .55; flex-shrink: 0; }

/* ── Hero: 4-CTA quick-action row ──────────────────────── */
.hero-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hqa-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: #fff;
  transition: background .2s, border-color .2s, transform .15s;
  text-decoration: none;
}
.hqa-item:hover {
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-2px);
}
.hqa-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--red);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.hqa-label {
  font-family: var(--font-head); font-weight: 800;
  font-size: 14px; letter-spacing: .03em; text-transform: uppercase;
}
.hqa-sub {
  font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.3;
}

/* ── Featured content carousel ─────────────────────────── */
.featured-section {
  background: var(--navy);
  padding: 72px 0;
  overflow: hidden;
}
.featured-section .section-head h2 { color: #fff; }
.featured-section .section-head p  { color: rgba(255,255,255,.6); }
.featured-section .eyebrow { color: var(--gold); }
.featured-section .eyebrow::before { background: var(--gold); }

.featured-carousel {
  position: relative;
  margin-top: 36px;
}
.fc-track {
  position: relative;
  min-height: 340px;
}
.fc-item {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .5s ease;
}
.fc-item.active { opacity: 1; pointer-events: auto; position: relative; inset: auto; }
.fc-media {
  border-radius: var(--radius);
  min-height: 280px;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.fc-tag {
  display: inline-block;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px;
  margin-bottom: 14px;
}
.fc-content h3 {
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
  color: #fff; margin-bottom: 12px;
}
.fc-content p { color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.65; margin-bottom: 20px; }

.fc-controls {
  display: flex; align-items: center; gap: 12px; margin-top: 28px;
}
.fc-prev, .fc-next {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background .2s;
}
.fc-prev:hover, .fc-next:hover { background: var(--red); border-color: var(--red); }
.fc-dots { display: flex; gap: 8px; }
.fc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.25); border: 0; cursor: pointer;
  transition: background .2s, transform .2s;
}
.fc-dot.active { background: var(--gold); transform: scale(1.3); }

/* ── Sponsor showcase carousel ─────────────────────────── */
.sponsor-showcase {
  padding: 48px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.sponsor-showcase .eyebrow { justify-content: center; margin-bottom: 28px; }
.sponsor-scroll {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.sponsor-track {
  display: flex; gap: 40px; align-items: center;
  animation: scrollSponsor 28s linear infinite;
  width: max-content;
}
.sponsor-track:hover { animation-play-state: paused; }
@keyframes scrollSponsor {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.sponsor-logo {
  display: flex; align-items: center; justify-content: center;
  width: 160px; height: 70px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  flex-shrink: 0;
  font-family: var(--font-head); font-weight: 900;
  font-size: 18px; color: var(--navy);
  letter-spacing: .02em;
}
.sponsor-logo.gold { color: var(--gold); }
.sponsor-logo.red  { color: var(--red); }

/* ── League finder map ──────────────────────────────────── */
#league-map {
  height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.map-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}
.map-filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}
.map-filters h3 {
  font-size: 16px; text-transform: uppercase;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.filter-group { margin-bottom: 16px; }
.filter-group label {
  display: block;
  font-family: var(--font-head); font-weight: 700;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 6px;
}
.filter-group input,
.filter-group select {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; font-size: 14px; font-family: var(--font-body);
  color: var(--ink); background: var(--paper);
}
.filter-group input:focus,
.filter-group select:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224,36,52,.1);
}
.filter-reset {
  width: 100%; padding: 10px;
  background: none; border: 1px solid var(--line);
  border-radius: 8px; font-family: var(--font-head);
  font-weight: 700; font-size: 13px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted);
  cursor: pointer; transition: border-color .15s, color .15s;
}
.filter-reset:hover { border-color: var(--navy); color: var(--navy); }
.map-result-count {
  font-size: 13px; color: var(--muted);
  margin-top: 14px; text-align: center;
}

/* Leaflet popup overrides */
.leaflet-popup-content-wrapper {
  border-radius: 10px !important;
  box-shadow: var(--shadow) !important;
}
.leaflet-popup-content { margin: 16px 18px !important; }
.map-popup-name {
  font-family: var(--font-head); font-weight: 800;
  font-size: 16px; text-transform: uppercase;
  margin-bottom: 6px; color: var(--navy);
}
.map-popup-meta { font-size: 13px; color: var(--muted); line-height: 1.6; }
.map-popup-link {
  display: inline-block; margin-top: 10px;
  color: var(--red); font-weight: 700; font-size: 13px;
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .04em;
}

/* ── GA / Analytics (invisible) ────────────────────────── */
/* placeholder — tracking added via data-track attributes */

/* ── Responsive additions ───────────────────────────────── */
@media (max-width: 960px) {
  .hero-quick-actions { grid-template-columns: repeat(2, 1fr); }
  .fc-item { grid-template-columns: 1fr; }
  .fc-media { min-height: 200px; }
  .map-layout { grid-template-columns: 1fr; }
  .map-filters { position: static; }
  #league-map { height: 360px; }
  .nav-search { display: none; }
}
@media (max-width: 600px) {
  .hero-quick-actions { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hqa-item { padding: 14px 14px; }
  .sponsor-logo { width: 130px; height: 56px; font-size: 15px; }
}

/* ── Baseball story cards ───────────────────────────────── */
.bb-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:28px; margin-top:48px; }
.bb-card {
  width:185px; height:185px; border-radius:50%;
  background:#fff; border:2px solid #e8e8e8;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:20px 16px;
  position:relative; overflow:hidden;
  box-shadow:0 4px 18px rgba(0,0,0,.09);
  text-decoration:none; color:inherit;
  transition:transform .2s, box-shadow .2s, background .2s, border-color .2s;
  flex-shrink:0;
}
.bb-card::before {
  content:''; position:absolute; left:-32%; top:12%;
  width:52%; height:76%; border:2.5px solid var(--red);
  border-radius:50%; opacity:.4;
  transition: border-color .2s, opacity .2s;
}
.bb-card::after {
  content:''; position:absolute; right:-32%; top:12%;
  width:52%; height:76%; border:2.5px solid var(--red);
  border-radius:50%; opacity:.4;
  transition: border-color .2s, opacity .2s;
}
.bb-card:hover {
  transform:scale(1.07); background:var(--red);
  border-color:var(--red); box-shadow:0 10px 32px rgba(0,0,0,.22);
}
.bb-card:hover::before, .bb-card:hover::after { border-color:#fff; opacity:.5; }
.bb-div {
  font-family:var(--font-head); font-weight:900; font-size:10px;
  letter-spacing:.12em; text-transform:uppercase; color:var(--red);
  display:block; margin-bottom:5px; line-height:1.3;
  transition:color .2s;
}
.bb-card:hover .bb-div { color:rgba(255,255,255,.85); }
.bb-team {
  font-family:var(--font-head); font-weight:900; font-size:13px;
  color:var(--navy); line-height:1.2; margin:0 0 4px;
  transition:color .2s;
}
.bb-card:hover .bb-team { color:#fff; }
.bb-score {
  font-size:12px; color:var(--muted); margin:0 0 7px;
  transition:color .2s;
}
.bb-card:hover .bb-score { color:rgba(255,255,255,.75); }
.bb-link {
  font-size:10px; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:var(--red);
  transition:color .2s;
}
.bb-card:hover .bb-link { color:#fff; }

/* ── Story page photo gallery ───────────────────────────── */
.photo-gallery { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:20px; margin-top:32px; }
.photo-fig {
  background:#f5f7fb; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  min-height:220px; padding:12px; overflow:hidden;
}
.photo-fig img { max-width:100%; max-height:300px; object-fit:contain; border-radius:6px; display:block; }
