/* Shared look for the inner pages: join, venue, sponsors */
:root {
  --navy: #07102B; --navy-2: #0E1B42; --navy-3: #16275C; --blue: #2447B8;
  --line: #E4E7EF; --bg: #F4F5F8; --ink: #07102B; --win: #22C55E; --loss: #E5484D;
  --gap: 24px; --edge: 32px; --r: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--edge); }
h1, h2, h3, .num, .cond { font-family: 'Barlow Condensed', Inter, sans-serif; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
h2 { font-size: 44px; line-height: 1; font-weight: 800; margin-bottom: 24px; }
p { text-wrap: pretty; }
section { padding-top: 80px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px;
       border: 1px solid #D0D4DE; background: #fff; color: var(--navy); font: 600 15px Inter, sans-serif; white-space: nowrap; cursor: pointer; transition: border-color .15s, opacity .15s; }
.btn:hover { border-color: #8F97AB; }
.btn.dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn.dark:hover { border-color: #fff; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.hoops { height: 18px; background: repeating-linear-gradient(180deg, var(--navy) 0 6px, #fff 6px 12px); }

/* header */
header { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; }
.bar { display: flex; align-items: center; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 50px; object-fit: contain; }
.brand span { font-family: 'Barlow Condensed'; font-weight: 800; font-size: 26px; text-transform: uppercase; }
nav { display: flex; gap: 30px; margin-left: auto; font-weight: 500; font-size: 15px; }
nav a { opacity: .8; } nav a:hover, nav a.on { opacity: 1; }
nav a.on { box-shadow: inset 0 -2px 0 #fff; padding-bottom: 4px; }
.menu { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; line-height: 1; }

/* page hero */
.phero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,16,43,.96) 0%, rgba(7,16,43,.78) 50%, rgba(7,16,43,.3) 100%); }
.phero .wrap { position: relative; z-index: 1; padding-top: 104px; padding-bottom: 96px; }
.phero h1 { font-size: 96px; line-height: .9; font-weight: 800; max-width: 760px; }
.phero p.lede { font-size: 20px; margin-top: 20px; max-width: 560px; }
.phero .actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.panel h3 { font-size: 26px; font-weight: 800; margin-bottom: 16px; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: -48px; position: relative; z-index: 2; }
.stats div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.stats .num { font-size: 52px; font-weight: 800; line-height: 1; display: block; }
.stats span:last-child { font-weight: 500; }

/* form controls */
label.f { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.f input, .f select, .f textarea { font: 400 16px Inter, sans-serif; color: var(--ink); height: 48px; padding: 0 14px; border: 1px solid #D0D4DE; border-radius: 10px; background: #fff; width: 100%; }
.f textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stack { display: grid; gap: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy); flex: 0 0 auto; }

/* choice cards (used by join and sponsors) */
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; height: 100%; transition: border-color .15s, box-shadow .15s; }
.choice:hover .box { border-color: #B4BACA; }
.choice input:checked + .box { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.choice input:focus-visible + .box { outline: 2px solid var(--blue); outline-offset: 2px; }

/* booking widget */
.book { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 16px; }
.day { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 10px 4px; text-align: center; cursor: pointer; font: inherit; color: var(--ink); }
.day b { display: block; font-family: 'Barlow Condensed'; font-size: 26px; line-height: 1; }
.day small { font-size: 13px; font-weight: 600; }
.day.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 600 15px Inter, sans-serif; color: var(--ink); cursor: pointer; }
.slot:hover { border-color: #8F97AB; }
.slot.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.book .who { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.book .who .av { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: 'Barlow Condensed'; font-weight: 800; font-size: 22px; flex: 0 0 auto; }
.book .who b { display: block; font-size: 17px; }
.book .who span { display: block; text-wrap: balance; }
.done { text-align: center; padding: 24px 8px; }
.done .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--win); color: #fff; display: grid; place-items: center; font-size: 32px; margin: 0 auto 16px; }
.done h3 { font-size: 34px; }
.done p { margin-top: 8px; font-size: 16px; }

footer { margin-top: 80px; background: var(--navy); color: #fff; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gap); padding: 56px 0 32px; }
.foot h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.foot p, .foot a { display: block; font-size: 15px; margin-bottom: 8px; opacity: .85; }
.foot a:hover { opacity: 1; }
.legal { padding: 20px 0 32px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; opacity: .7; }

@media (max-width: 1040px) {
  .phero h1 { font-size: 76px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .book { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --edge: 16px; --gap: 16px; }
  section { padding-top: 56px; }
  h2 { font-size: 34px; margin-bottom: 18px; }
  nav { display: none; }
  .menu { display: block; }
  header.open nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy-2); padding: 8px 16px 16px; }
  header.open nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: none; }
  .bar { height: 64px; }
  .brand span { font-size: 22px; }
  .brand img { width: 36px; height: 42px; }
  .phero .wrap { padding-top: 56px; padding-bottom: 80px; }
  .phero h1 { font-size: 54px; }
  .phero p.lede { font-size: 17px; }
  .stats .num { font-size: 40px; }
  .stats div { padding: 16px; }
  .panel { padding: 20px; }
  .row2 { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .foot { grid-template-columns: 1fr; padding-top: 40px; }
}
