/* Basketball Preparatory Academy — shared stylesheet
   Single dark, monochrome brand world (black / steel / white). */

:root{
  --bg: #07080a;
  --surface: #0e1013;
  --surface-2: #14171b;
  --surface-3: #1b1f24;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.16);
  --ink: #f5f6f8;
  --ink-2: #b3b8c1;
  --ink-3: #7a808b;
  --steel: #d5d9e0;
  --silver: linear-gradient(180deg, #ffffff 0%, #c9ced6 55%, #8d939e 100%);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: 1;
  text-wrap: balance;
  margin: 0;
}
p{ margin: 0; color: var(--ink-2); text-wrap: pretty; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; }
::selection{ background: #fff; color: #000; }
:focus-visible{ outline: 2px solid var(--steel); outline-offset: 3px; border-radius: 4px; }

.wrap{ max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link{
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: #fff; color: #000; padding: 10px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; transition: top .15s;
}
.skip-link:focus{ top: 12px; }

/* ---------- header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,8,10,.78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.h-top{
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: var(--header-h);
}
.brand{ display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img{ width: 38px; height: auto; }
.brand-word{
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: .05em; text-transform: uppercase; line-height: 1.05;
}
.brand-word small{
  display: block; margin-top: 4px;
  font-family: var(--font-body); font-weight: 500; font-size: 10px;
  letter-spacing: .16em; color: var(--ink-3);
}
.main-nav{ border-top: 1px solid var(--line); }
.main-nav .wrap{ display: flex; align-items: stretch; justify-content: space-between; gap: 12px; height: 46px; }
.main-nav a{
  position: relative; display: inline-flex; align-items: center; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
  transition: color .2s;
}
.main-nav a:hover{ color: var(--ink); }
.main-nav a.active{ color: var(--ink); }
.main-nav a.active::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink);
}
.nav-toggle{ display: none; }

@media (max-width: 620px){ .h-top .h-cta{ display: none; } }
@media (max-width: 420px){
  .brand-word{ font-size: 14.5px; }
  .brand-word small{ font-size: 9px; letter-spacing: .12em; }
}
@media (max-width: 1100px){
  .nav-toggle{
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 44px; height: 44px; background: transparent; color: var(--ink);
    border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer;
  }
  .nav-toggle svg{ width: 20px; height: 20px; }
  .nav-toggle .x{ display: none; }
  .nav-toggle[aria-expanded="true"] .x{ display: block; }
  .nav-toggle[aria-expanded="true"] .bars{ display: none; }
  .main-nav{
    position: fixed; inset: var(--header-h) 0 auto 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: rgba(10,11,14,.98); border-bottom: 1px solid var(--line);
    transform: translateY(-10px); opacity: 0; visibility: hidden;
    transition: transform .22s var(--ease), opacity .22s, visibility .22s;
  }
  .main-nav.open{ transform: none; opacity: 1; visibility: visible; }
  .main-nav .wrap{ flex-direction: column; height: auto; gap: 0; padding-block: 6px 22px; }
  .main-nav a{ font-size: 19px; padding: 15px 2px; border-bottom: 1px solid var(--line); }
  .main-nav a.active::after{ display: none; }
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn svg{ width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover svg{ transform: translateX(3px); }
.btn-solid{ background: #fff; color: #08090b; box-shadow: 0 10px 30px -12px rgba(255,255,255,.35); }
.btn-solid:hover{ background: var(--steel); transform: translateY(-1px); }
.btn-outline{ border-color: var(--line-strong); color: var(--ink); background: rgba(255,255,255,.02); }
.btn-outline:hover{ border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.btn-sm{ padding: 10px 18px; font-size: 12px; }

/* ---------- shared pieces ---------- */
section{ padding-block: clamp(56px, 8vw, 104px); }
.eyebrow, .kicker{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-2);
}
.kicker::before{ content: ""; width: 28px; height: 1px; background: var(--ink-3); }
.eyebrow{
  padding: 8px 14px 8px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255,255,255,.03); font-size: 11.5px; letter-spacing: .16em;
}
.eyebrow::before{
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.12);
}
.section-head{
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head h2{ font-size: clamp(34px, 5vw, 56px); margin-top: 14px; }
.section-head.sm h2{ font-size: clamp(26px, 3.4vw, 34px); margin-top: 0; }
.see-all{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); padding-bottom: 4px; border-bottom: 1px solid var(--line-strong);
  transition: color .2s, border-color .2s;
}
.see-all:hover{ color: var(--ink); border-color: var(--ink); }
.see-all svg{ width: 14px; height: 14px; }

.grid{ display: grid; gap: 16px; }
.grid-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4{ grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1020px){ .grid-4{ grid-template-columns: repeat(2, minmax(0,1fr)); } .grid-3{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px){ .grid-4, .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px;
}
.pill{
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 6px 12px; white-space: nowrap;
}
.pill.solid{ background: #fff; color: #08090b; border-color: #fff; }

/* ---------- hero ---------- */
.hero{
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 88px);
}
.hero::before{
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 78% 40%, rgba(255,255,255,.085), transparent 62%),
    radial-gradient(700px 500px at 0% 0%, rgba(255,255,255,.04), transparent 60%);
}
.hero::after{
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero .wrap{
  display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1{
  font-size: clamp(46px, 6.6vw, 88px); line-height: .92; letter-spacing: -.005em;
  margin: 26px 0 26px;
}
.hero h1 span{
  background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede{ font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.65; max-width: 56ch; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-art{ position: relative; display: grid; place-items: center; }
.hero-art::before, .hero-art::after{
  content: ""; position: absolute; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--line); pointer-events: none;
}
.hero-art::before{ width: 92%; }
.hero-art::after{ width: 64%; border-color: var(--line-strong); }
.hero-art img{
  position: relative; z-index: 1; width: min(100%, 420px);
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.7));
}
@media (max-width: 860px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero-art{ order: -1; }
  .hero-art img{ width: min(58%, 240px); }
  .hero-art::before{ width: 70%; } .hero-art::after{ width: 48%; }
}

/* ---------- stats ---------- */
.stats{ padding-block: 0; }
.stat-row{
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
}
.stat{ padding: clamp(22px, 3.4vw, 38px) clamp(18px, 3vw, 36px); border-left: 1px solid var(--line); }
.stat:first-child{ border-left: 0; }
.stat .num, .banner-meta .num{
  font-family: var(--font-display); font-weight: 700; line-height: .9;
  font-size: clamp(44px, 6vw, 72px);
  background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl, .banner-meta .lbl{
  margin-top: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3);
}
@media (max-width: 720px){
  .stat-row{ grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3){ border-left: 0; }
  .stat:nth-child(n+3){ border-top: 1px solid var(--line); }
}

/* ---------- pillars ---------- */
.pillar{
  position: relative; padding: 28px 26px 30px;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.pillar:hover{ border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-3px); }
.pillar .n{
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: .12em; color: var(--ink-3);
  padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line);
}
.pillar h3{ font-size: 25px; margin-bottom: 12px; }
.pillar p{ font-size: 14.5px; line-height: 1.65; }

/* ---------- team cards ---------- */
.team-card{
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  min-height: 212px; overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.team-card::before{
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(420px 220px at 100% 0%, rgba(255,255,255,.09), transparent 70%);
  transition: opacity .3s;
}
.team-card:hover{ transform: translateY(-4px); border-color: rgba(255,255,255,.28); box-shadow: var(--shadow); }
.team-card:hover::before{ opacity: 1; }
.team-card h3{ font-size: 30px; margin: 18px 0 8px; }
.team-card .record{ font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.team-card .record b{ color: var(--ink); font-weight: 600; }
.team-card .coach{ font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.team-card .go{
  margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  transition: color .2s, gap .2s var(--ease);
}
.team-card .go svg{ width: 14px; height: 14px; }
.team-card:hover .go{ color: var(--ink); gap: 12px; }
.team-card[hidden]{ display: none; }

.filter-bar{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; }
.filter-bar button{
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); background: transparent; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 18px;
  transition: color .2s, background .2s, border-color .2s;
}
.filter-bar button:hover{ color: var(--ink); border-color: rgba(255,255,255,.4); }
.filter-bar button[aria-pressed="true"]{ background: #fff; color: #08090b; border-color: #fff; }
.filter-bar .count{ margin-left: auto; font-size: 13px; color: var(--ink-3); }

/* ---------- events ---------- */
.event-list{ border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.event-row{
  display: grid; grid-template-columns: 76px 1fr auto; gap: clamp(16px, 3vw, 28px); align-items: center;
  padding: 22px clamp(18px, 3vw, 30px); border-top: 1px solid var(--line);
  transition: background .2s;
}
.event-row:first-child{ border-top: 0; }
.event-row:hover{ background: rgba(255,255,255,.025); }
.event-date{
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 76px; height: 76px; border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  background: var(--surface-2);
}
.event-date .d{ font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: .9; }
.event-date .m{ margin-top: 5px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.event-row h3{ font-size: 24px; margin-bottom: 6px; }
.event-meta{ display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13.5px; color: var(--ink-3); }
.event-meta span + span::before{ content: "·"; margin: 0 10px; color: var(--ink-3); }
@media (max-width: 640px){
  .event-row{ grid-template-columns: 60px 1fr; align-items: start; }
  .event-date{ width: 60px; height: 60px; }
  .event-date .d{ font-size: 26px; }
  .event-row .pill{ grid-column: 2; justify-self: start; }
}

/* ---------- alumni ---------- */
.alum{ display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.alum h3{ font-size: 26px; }
.alum p{ font-size: 13.5px; margin-top: 6px; color: var(--ink-3); }
.alum .signed{ text-align: right; }
.alum .signed small{ display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.alum .signed span{ display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }
.alum .signed strong{ display: block; margin-top: 4px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
@media (max-width: 480px){ .alum .signed{ text-align: left; } }

/* ---------- CTA ---------- */
.cta-panel{
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255,255,255,.1), transparent 70%),
    linear-gradient(180deg, var(--surface-3), var(--surface));
}
.cta-panel h2{ font-size: clamp(30px, 4.4vw, 50px); max-width: 22ch; }

/* ---------- inner page banner ---------- */
.page-banner{
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(56px, 8vw, 96px) clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.page-banner::before{
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(800px 420px at 85% 0%, rgba(255,255,255,.07), transparent 65%);
}
.page-banner h1{ font-size: clamp(52px, 8vw, 104px); line-height: .9; margin: 20px 0 20px; }
.page-banner p{ font-size: clamp(16px, 1.4vw, 18px); max-width: 62ch; }
.page-banner + section{ padding-top: clamp(40px, 5vw, 64px); }
.banner-meta{ display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 56px); margin-top: 36px; }
.banner-meta > div + div{ padding-left: clamp(28px, 5vw, 56px); border-left: 1px solid var(--line); }
.crumbs{ display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a:hover{ color: var(--ink); }
.crumbs span[aria-current]{ color: var(--ink-2); }

/* ---------- coaches ---------- */
.coach-card{ display: flex; gap: 20px; align-items: center; }
.avatar{
  flex: none; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .04em; color: var(--ink-2);
  background: var(--surface-3); border: 1px solid var(--line-strong);
}
.coach-card h3{ font-size: 26px; }
.coach-card .role{ font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 6px 0 8px; }
.coach-card p{ font-size: 14.5px; }

.staff{ padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.staff:hover{ transform: translateY(-4px); border-color: rgba(255,255,255,.28); box-shadow: var(--shadow); }
.staff-photo{ aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, var(--surface-3), #0a0b0d); }
.staff-photo img{ width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.staff-photo span{ font-family: var(--font-display); font-weight: 700; font-size: clamp(64px, 9vw, 104px); letter-spacing: .04em; color: rgba(255,255,255,.14); }
.staff-body{ padding: 22px 24px 26px; border-top: 1px solid var(--line); }
.staff-body h3{ font-size: 30px; }
.staff-body .role{ margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; line-height: 1.6; text-transform: uppercase; color: var(--ink-3); }

/* ---------- team page ---------- */
.team-photo-banner{
  position: relative; width: 100%; height: clamp(220px, 34vw, 440px); overflow: hidden;
  border-bottom: 1px solid var(--line); background: var(--surface);
}
.team-photo-banner img{ width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.team-photo-banner::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,8,10,.25) 0%, rgba(7,8,10,0) 40%, rgba(7,8,10,.9) 100%);
}
.team-photo-label{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-bottom: 22px;
}
.team-photo-label .wrap{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.team-photo-label .sub{ font-size: 13px; color: var(--ink-2); }

.info-grid{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-bottom: clamp(40px, 6vw, 64px); }
@media (max-width: 860px){ .info-grid{ grid-template-columns: 1fr; } }
.info h3{ font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; color: var(--ink-3); margin-bottom: 14px; }
.info p{ font-size: 15px; line-height: 1.7; color: var(--ink); }
.info p span{ color: var(--ink-3); }

.table-wrap{ border: 1px solid var(--line); border-radius: var(--radius-lg); overflow-x: auto; background: var(--surface); }
table.roster{ width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
table.roster th{
  text-align: left; padding: 16px 22px;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
  background: var(--surface-2); border-bottom: 1px solid var(--line);
}
table.roster td{ padding: 13px 22px; border-top: 1px solid var(--line); color: var(--ink-2); font-variant-numeric: tabular-nums; }
table.roster tbody tr:first-child td{ border-top: 0; }
table.roster tbody tr{ transition: background .15s; }
table.roster tbody tr:hover{ background: rgba(255,255,255,.03); }
table.roster td.num{ width: 72px; font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--ink); }
.player-cell{ display: flex; align-items: center; gap: 14px; color: var(--ink); font-weight: 500; }
.player-photo{ flex: none; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-strong); background: var(--surface-3); }

.team-switch{ display: flex; flex-wrap: wrap; gap: 8px; }
.team-switch a{
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 16px; color: var(--ink-2);
  transition: color .2s, border-color .2s, background .2s;
}
.team-switch a:hover{ color: var(--ink); border-color: rgba(255,255,255,.4); }
.team-switch a.current{ background: #fff; color: #08090b; border-color: #fff; }

/* ---------- sponsors ---------- */
.tier{ margin-bottom: clamp(40px, 6vw, 64px); }
.tier-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.tier-head h3{ font-size: clamp(26px, 3.4vw, 34px); }
.tier-head span{ font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.sponsor-mark{
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 112px; padding: 24px 18px;
  border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface);
  font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-2);
  transition: color .2s, border-color .2s, background .2s;
}
.sponsor-mark:hover{ color: var(--ink); border-color: var(--line-strong); background: var(--surface-2); }
.tier-championship .sponsor-mark{ min-height: 168px; font-size: clamp(26px, 3.4vw, 34px); color: var(--ink); background: linear-gradient(180deg, var(--surface-3), var(--surface)); border-color: var(--line-strong); }
.tier-community .sponsor-mark{ min-height: 88px; font-size: 18px; }

/* ---------- footer ---------- */
.site-footer{ border-top: 1px solid var(--line); background: #050607; margin-top: clamp(24px, 4vw, 48px); }
.site-footer .f-main{ padding-block: clamp(48px, 7vw, 72px); display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.f-brand{ display: flex; gap: 16px; align-items: flex-start; }
.f-brand img{ width: 48px; }
.f-brand strong{ display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.05; }
.f-brand p{ margin-top: 12px; max-width: 34ch; font-size: 14px; }
.site-footer h4{ font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; color: var(--ink-3); margin-bottom: 18px; }
.site-footer ul{ display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.site-footer ul a{ transition: color .2s; overflow-wrap: anywhere; }
.site-footer ul a:hover{ color: var(--ink); }
.f-bottom{ border-top: 1px solid var(--line); }
.f-bottom .wrap{ padding-block: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 960px){ .site-footer .f-main{ grid-template-columns: 1fr 1fr; gap: 36px; } .f-brand{ grid-column: 1 / -1; } }
@media (max-width: 480px){ .site-footer .f-main{ grid-template-columns: 1fr; } }

/* ---------- split banner (registration) ---------- */
.page-banner.split .wrap{ display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-banner.split h1{ font-size: clamp(46px, 6.4vw, 84px); }
.banner-actions{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.logo-tile{ border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); background: #e9e8e4; }
.logo-tile img{ width: 100%; }
@media (max-width: 860px){
  .page-banner.split .wrap{ grid-template-columns: 1fr; }
  .page-banner.split .logo-tile{ order: -1; width: min(60%, 240px); }
}

/* ---------- promo cards (home) ---------- */
.promo{ display: flex; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 32px); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.promo:hover{ transform: translateY(-4px); border-color: rgba(255,255,255,.28); box-shadow: var(--shadow); }
.promo .logo-tile{ flex: none; width: clamp(96px, 14vw, 150px); border-radius: var(--radius-md); box-shadow: none; }
.promo .icon-tile{
  flex: none; width: clamp(96px, 14vw, 150px); aspect-ratio: 1; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface-3); color: var(--ink-2);
}
.promo .icon-tile svg{ width: 44%; height: 44%; }
.promo h3{ font-size: clamp(26px, 3vw, 34px); margin: 12px 0 10px; }
.promo p{ font-size: 14.5px; }
.promo .go{ margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.promo .go svg{ width: 14px; height: 14px; }
@media (max-width: 480px){ .promo{ flex-direction: column; align-items: flex-start; } }

/* ---------- registration ---------- */
.reg-layout{ display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px){ .reg-layout{ grid-template-columns: 1fr; } }
.tourney{ display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.tourney:first-of-type{ border-top: 0; padding-top: 0; }
.tourney .event-date{ width: 64px; height: 64px; }
.tourney .event-date .d{ font-size: 28px; }
.tourney h3{ font-size: 22px; margin-bottom: 4px; }
.tourney .event-meta{ font-size: 13px; }
.steps{ counter-reset: step; display: grid; gap: 14px; margin-top: 28px; }
.steps li{ counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; font-size: 14.5px; color: var(--ink-2); }
.steps li::before{
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-strong); font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink);
}
.steps strong{ display: block; color: var(--ink); font-weight: 600; }

.form{ padding: clamp(22px, 3.4vw, 36px); scroll-margin-top: 140px; }
.form h2{ font-size: clamp(28px, 3.4vw, 36px); margin-bottom: 8px; }
.form > p{ font-size: 14.5px; margin-bottom: 26px; }
.fields{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field{ display: flex; flex-direction: column; gap: 8px; }
.field.full{ grid-column: 1 / -1; }
@media (max-width: 560px){ .fields{ grid-template-columns: 1fr; } }
.field label{ font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea{
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea{ min-height: 110px; resize: vertical; }
.field select{
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23b3b8c1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.form .btn{ margin-top: 24px; }
.form .fine{ margin-top: 16px; font-size: 12.5px; color: var(--ink-3); }

/* ---------- training ---------- */
.program{ display: flex; flex-direction: column; align-items: flex-start; }
.program h3{ font-size: 30px; margin: 18px 0 12px; }
.program p{ font-size: 14.5px; line-height: 1.65; }
.program .meta{ margin-top: auto; padding-top: 22px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- social + gallery ---------- */
.social-card{ display: flex; flex-direction: column; gap: 6px; }
.social-card h3{ font-size: 28px; }
.social-card span{ font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.gallery{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
@media (max-width: 860px){ .gallery{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px){ .gallery{ grid-template-columns: 1fr; } }
.gallery figure{ position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.gallery img{ width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .5s var(--ease), opacity .3s; }
.gallery figure:hover img{ transform: scale(1.05); opacity: 1; }
.gallery figcaption{
  position: absolute; inset: auto 0 0 0; padding: 28px 16px 14px;
  background: linear-gradient(0deg, rgba(7,8,10,.9), transparent);
  font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: .06em; text-transform: uppercase;
}
.gallery figcaption small{ display: block; margin-top: 2px; font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: .12em; color: var(--ink-3); }

/* ---------- youth fall schedule ---------- */
.youth{ display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px){ .youth{ grid-template-columns: 1fr; } }
.flyer{ display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s; }
.flyer:hover{ transform: translateY(-4px); border-color: rgba(255,255,255,.4); }
.flyer img{ width: 100%; }
.youth h2{ font-size: clamp(34px, 5vw, 56px); margin: 14px 0 24px; }
.sched{ border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.sched li{ display: grid; grid-template-columns: 104px 1fr; gap: 18px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.sched li:first-child{ border-top: 0; }
.sched .when{ display: flex; flex-direction: column; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.sched .when b{ order: 2; font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; letter-spacing: .01em; color: var(--ink); }
.sched .what{ display: flex; flex-direction: column; font-size: 13.5px; color: var(--ink-3); }
.sched .what strong{ font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); line-height: 1.15; }
@media (max-width: 480px){ .sched li{ grid-template-columns: 84px 1fr; padding-inline: 16px; } .youth .btn{ white-space: normal; text-align: center; } }

/* ---------- mission ---------- */
.mission{ max-width: 980px; margin-inline: auto; text-align: center; }
.mission .kicker{ justify-content: center; }
.mission .kicker::after{ content: ""; width: 28px; height: 1px; background: var(--ink-3); }
.mission p{ margin-top: 22px; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.25; letter-spacing: .01em; color: var(--ink); text-wrap: balance; }

/* ---------- pdf round: schedule, team, registration, bios ---------- */
.event-date .d.long{ font-size: 21px; }
.banner-meta .num.name{ font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; text-transform: uppercase; }
table.roster.compact{ min-width: 0; }
.hero-actions + .hero-actions{ margin-top: 12px; }
.event-card h2{ font-size: clamp(36px, 5vw, 56px); margin: 18px 0 24px; }
.facts{ margin: 0; display: grid; gap: 0; }
.facts > div{ display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts dt{ font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); padding-top: 4px; }
.facts dd{ margin: 0; font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.contact-card{ display: flex; flex-direction: column; align-items: flex-start; gap: 22px; scroll-margin-top: 140px; }
.contact-person{ display: flex; align-items: center; gap: 16px; }
.avatar-crop{ flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line-strong); }
.avatar-crop img{ width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(2.4); transform-origin: 50% 14%; }
.contact-person h3{ font-size: 30px; }
.contact-person p{ font-size: 13px; margin-top: 4px; color: var(--ink-3); }
.contact-email{ font-size: clamp(16px, 2vw, 20px); font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; overflow-wrap: anywhere; }
.contact-email:hover{ border-color: var(--ink); }
.cta-sub{ margin-top: 12px; font-size: 15.5px; }
.cta-sub a{ color: var(--ink); border-bottom: 1px solid var(--line-strong); }
a.social-card{ transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
a.social-card:hover{ transform: translateY(-4px); border-color: rgba(255,255,255,.28); box-shadow: var(--shadow); }
.social-card h3{ font-size: 34px; }
.social-card strong{ font-size: 17px; font-weight: 500; color: var(--ink); }
.social-card .go{ margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.social-card .go svg{ width: 14px; height: 14px; }

button.staff{ width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.staff .staff-photo, .staff .staff-body, .staff .h3, .staff .role{ display: block; }
.staff .staff-photo{ display: grid; width: 100%; }
.staff .h3{ font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; text-transform: uppercase; letter-spacing: .005em; }
.staff .go{ margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); transition: color .2s, gap .2s var(--ease); }
.staff .go svg{ width: 14px; height: 14px; }
.staff:hover .go{ color: var(--ink); gap: 12px; }
.staff-body{ flex: 1; width: 100%; }

dialog.bio{
  width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; overflow: auto;
  color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px rgba(0,0,0,.8);
}
dialog.bio[open]{ display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
dialog.bio::backdrop{ background: rgba(3,4,5,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bio-photo{ display: grid; place-items: center; min-height: 280px; background: radial-gradient(120% 90% at 50% 0%, var(--surface-3), #0a0b0d); }
.bio-photo img{ width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.bio-photo span{ font-family: var(--font-display); font-weight: 700; font-size: 96px; color: rgba(255,255,255,.14); }
.bio-text{ padding: clamp(24px, 4vw, 40px); padding-right: clamp(24px, 4vw, 56px); }
.bio-text h2{ font-size: clamp(32px, 4vw, 44px); }
.bio-text .role{ margin: 12px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: .12em; line-height: 1.6; text-transform: uppercase; color: var(--ink-3); }
.bio-text p{ font-size: 15.5px; line-height: 1.7; }
.bio-text p + p{ margin-top: 14px; }
.bio-text p strong{ color: var(--ink); font-weight: 600; }
.bio-text p.pending{ color: var(--ink-3); font-style: italic; }
.bio-close{
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  font-size: 24px; line-height: 1; color: var(--ink); background: rgba(7,8,10,.7); border: 1px solid var(--line-strong); cursor: pointer;
}
.bio-close:hover{ background: #fff; color: #000; }
@media (max-width: 640px){
  dialog.bio[open]{ grid-template-columns: 1fr; }
  .bio-photo{ aspect-ratio: 4 / 3; min-height: 0; }
}

@media (max-width: 480px){ .hero-actions .btn, .banner-actions .btn, .cta-panel .btn{ white-space: normal; text-align: center; } }

/* ---------- photo albums ---------- */
.gallery > a{ display: block; }
.gallery > a figure{ transition: border-color .25s; }
.gallery > a:hover figure{ border-color: rgba(255,255,255,.4); }
.gallery > a img{ opacity: .95; object-position: center 25%; }
.gallery > a figcaption small{ color: var(--ink-2); }
.album{ columns: 4 220px; column-gap: 12px; }
.album a{ display: block; margin-bottom: 12px; break-inside: avoid; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.album a[hidden]{ display: none; }
.album img{ width: 100%; transition: transform .5s var(--ease), opacity .3s; }
.album a:hover img{ transform: scale(1.04); }
@media (max-width: 520px){ .album{ columns: 2; column-gap: 8px; } .album a{ margin-bottom: 8px; } }
dialog.lightbox{ width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3,4,5,.94); color: var(--ink); }
dialog.lightbox[open]{ display: grid; place-items: center; }
dialog.lightbox::backdrop{ background: rgba(3,4,5,.94); }
.lightbox img{ max-width: calc(100vw - 32px); max-height: calc(100vh - 96px); width: auto; height: auto; border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgba(0,0,0,.8); }
.lightbox button{ position: absolute; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; color: var(--ink); background: rgba(20,23,27,.8); border: 1px solid var(--line-strong); cursor: pointer; }
.lightbox button:hover{ background: #fff; color: #000; }
.lb-close{ top: 14px; right: 14px; }
.lb-prev{ left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count{ position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--ink-2); }

/* ---------- homepage photo band ---------- */
.photo-band-wrap{ padding-top: 0; }
.photo-band{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.photo-band figure{ margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface); }
.photo-band img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo-band figure:hover img{ transform: scale(1.04); }
.photo-band figure:nth-child(2){ transform: translateY(28px); }
@media (max-width: 720px){ .photo-band{ grid-template-columns: 1fr 1fr; } .photo-band figure:nth-child(2){ transform: none; } .photo-band figure:nth-child(3){ grid-column: 1 / -1; aspect-ratio: 16 / 10; } .photo-band figure:nth-child(3) img{ object-position: center 20%; } }

/* album videos */
.album a.is-video{ position: relative; }
.album .play{ position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(7,8,10,.65); border: 1px solid rgba(255,255,255,.5); }
.album .play::after{ content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%,-50%); border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.lightbox video{ max-width: calc(100vw - 32px); max-height: calc(100vh - 96px); border-radius: var(--radius-sm); background: #000; }
.lightbox [hidden]{ display: none; }

/* ---------- motion ---------- */
.js .reveal{ opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .reveal{ opacity: 1; transform: none; }
}

/* alumni cards: stacked layout so long school names line up */
.alum{ flex-direction: column; align-items: flex-start; gap: 18px; }
.alum .signed{ text-align: left; padding-top: 16px; border-top: 1px solid var(--line); width: 100%; }
