/* ==========================================================================
   Brighton Boys Basketball — Design System
   Navy + steel from the Bruins marks, gold accent for calls to action.
   Type: Barlow Condensed (display) / Barlow (body)
   ========================================================================== */

:root {
  --navy-950: #050f1f;
  --navy-900: #08172d;
  --navy: #0d2240;
  --navy-700: #163563;
  --navy-600: #1f4680;
  --steel: #5a6670;
  --steel-400: #8a96a1;
  --steel-200: #d3dae1;
  --steel-100: #e8edf2;
  --ice: #f4f7fb;
  --white: #ffffff;
  --gold: #f5b700;
  --gold-600: #d99e00;
  --gold-100: #fff4cc;
  --ink: #0f172a;
  --muted: #475569;
  --success: #15803d;

  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 34, 64, .06), 0 2px 8px rgba(13, 34, 64, .06);
  --shadow: 0 10px 30px -10px rgba(13, 34, 64, .25);
  --shadow-lg: 0 30px 60px -20px rgba(13, 34, 64, .4);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* z-index scale */
  --z-header: 50;
  --z-drawer: 60;
  --z-toast: 70;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.65rem); letter-spacing: 0; }
h4 { font-size: 1.15rem; letter-spacing: .02em; }
ul { padding-left: 1.2em; }
::selection { background: var(--gold); color: var(--navy); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 30px; height: 30px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: var(--white); --bd: var(--navy);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.45em;
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd); border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn::after { /* sheen */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--fg); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-gold { --bg: var(--gold); --fg: var(--navy); --bd: var(--gold); }
.btn-gold:hover { --bg: #ffc61a; }
.btn-outline { --bg: transparent; --fg: var(--navy); --bd: var(--navy); }
.btn-outline:hover { --bg: var(--navy); --fg: var(--white); }
.btn-ghost-light { --bg: rgba(255,255,255,.06); --fg: var(--white); --bd: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --bg: var(--white); --fg: var(--navy); --bd: var(--white); }
.btn-sm { min-height: 42px; padding: .5em 1.1em; font-size: .98rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, background-color .25s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(13,34,64,.35); border-color: var(--steel-100); }
.topbar {
  background: var(--navy); color: var(--steel-200);
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  overflow: hidden; max-height: 40px; transition: max-height .3s var(--ease);
}
.site-header.scrolled .topbar { max-height: 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar .gold { color: var(--gold); }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar-right .icon { width: 16px; height: 16px; }

.nav-wrap { display: flex; align-items: center; gap: 20px; height: var(--header-h); transition: height .25s var(--ease); }
.site-header.scrolled .nav-wrap { height: 68px; }
.brand { display: flex; flex: none; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 54px; height: 54px; transition: transform .5s var(--ease), width .25s, height .25s; }
.site-header.scrolled .brand img { width: 46px; height: 46px; }
.brand:hover img { transform: rotate(-12deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: .95; white-space: nowrap; }
.brand-text strong { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--navy); text-transform: uppercase; letter-spacing: .01em; }
.brand-text span { font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); }

.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.main-nav li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 10px; border-radius: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; background: none; border: 0; cursor: pointer;
  position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-item.active > .nav-link::after { transform: scaleX(1); }
.nav-link:hover { color: var(--navy-700); }
.nav-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav-item:hover .nav-link .icon, .nav-item:focus-within .nav-link .icon { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; min-width: 240px;
  list-style: none; margin: 0; padding: 8px;
  background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
  font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; transition: background-color .15s, color .15s;
}
.dropdown a .icon { width: 18px; height: 18px; color: var(--steel); transition: color .15s; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--ice); color: var(--navy); }
.dropdown a:hover .icon { color: var(--gold-600); }

.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--steel-100);
  background: var(--white); color: var(--navy); cursor: pointer; align-items: center; justify-content: center;
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: var(--navy-900); color: var(--white);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); border-bottom: 1px solid rgba(255,255,255,.1); }
.drawer-head img { width: 48px; height: 48px; }
.drawer-close { width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center; }
.drawer-body { overflow-y: auto; padding: 12px var(--gutter) 24px; flex: 1; }
.drawer-body details { border-bottom: 1px solid rgba(255,255,255,.08); }
.drawer-body summary, .drawer-body .d-link {
  display: flex; justify-content: space-between; align-items: center; min-height: 56px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em;
  color: var(--white); text-decoration: none; cursor: pointer; list-style: none;
}
.drawer-body .d-link { border-bottom: 1px solid rgba(255,255,255,.08); }
.drawer-body summary::-webkit-details-marker { display: none; }
.drawer-body summary .icon { transition: transform .25s; color: var(--gold); }
.drawer-body details[open] summary .icon { transform: rotate(180deg); }
.drawer-body details a { display: block; padding: 10px 0 10px 14px; color: var(--steel-200); text-decoration: none; font-weight: 600; border-left: 2px solid rgba(255,255,255,.12); }
.drawer-body details a:hover, .drawer-body details a[aria-current="page"] { color: var(--gold); border-color: var(--gold); }
.drawer-body details div { padding-bottom: 12px; }
.drawer-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px var(--gutter) 24px; border-top: 1px solid rgba(255,255,255,.1); }
body.no-scroll { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }
.bg-ice { background: var(--ice); }
.bg-navy { background: var(--navy); color: var(--steel-200); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy a:not(.btn) { color: var(--gold); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .22em; text-transform: uppercase; color: var(--steel);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--gold); border-radius: 2px; }
.bg-navy .eyebrow, .on-dark .eyebrow { color: var(--gold); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 68ch; }
.bg-navy .lead { color: var(--steel-200); }
.text-gold { color: var(--gold); }
.prose { max-width: 70ch; }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.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)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 500px at 78% 30%, rgba(31,70,128,.85), transparent 60%),
    radial-gradient(600px 400px at 10% 110%, rgba(245,183,0,.14), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 60%, var(--navy-950) 100%);
  padding-top: clamp(56px, 8vw, 96px);
}
.hero-court { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .16; pointer-events: none; }
.hero-court path, .hero-court circle, .hero-court rect, .hero-court line {
  fill: none; stroke: var(--white); stroke-width: 2;
  stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: draw 3.2s .2s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-noise { position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.7) 1px, transparent 1px); background-size: 4px 4px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: center; padding-bottom: clamp(110px, 12vw, 150px); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white);
}
.pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--navy); }
.pill .dot .icon { width: 13px; height: 13px; stroke-width: 3; }
.hero-title { margin: 22px 0 18px; color: var(--white); font-size: clamp(3.4rem, 9.4vw, 7.6rem); line-height: .86; letter-spacing: -.015em; }
.hero-title span { display: block; }
.hero-title .outline { color: transparent; -webkit-text-stroke: 2px var(--white); }
.hero-title .gold { color: var(--gold); }
.hero-tag { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.3vw, 1.75rem); letter-spacing: .04em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.hero .lead { color: #c9d3de; }
.hero-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.hero-visual img { position: relative; width: 78%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); animation: float 6s ease-in-out infinite; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(255,255,255,.22); animation: spin 40s linear infinite; }
.ring.r2 { inset: 7%; border: 1px solid rgba(245,183,0,.35); border-style: solid; animation-duration: 60s; animation-direction: reverse; }
.ring.r2::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px var(--gold); }
.glow { position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(245,183,0,.25), transparent 65%); filter: blur(10px); animation: pulse 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: .6; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.05); } }

.hero-in > * { opacity: 0; transform: translateY(24px); animation: rise .8s var(--ease) forwards; }
.hero-in > *:nth-child(1) { animation-delay: .05s; }
.hero-in > *:nth-child(2) { animation-delay: .15s; }
.hero-in > *:nth-child(3) { animation-delay: .3s; }
.hero-in > *:nth-child(4) { animation-delay: .42s; }
.hero-in > *:nth-child(5) { animation-delay: .54s; }
.hero-in > *:nth-child(6) { animation-delay: .66s; }
.hero-title span { opacity: 0; transform: translateY(40px); animation: rise .9s var(--ease) forwards; }
.hero-title span:nth-child(1) { animation-delay: .2s; }
.hero-title span:nth-child(2) { animation-delay: .32s; }
.hero-title span:nth-child(3) { animation-delay: .44s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.stats {
  position: relative; z-index: 2; margin-top: -72px;
}
.stats-card {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--steel-100);
}
.stat { padding: 28px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--steel-100); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; color: var(--navy); }
.stat-num em { font-style: normal; color: var(--gold-600); }
.stat-label { margin-top: 6px; font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }

/* Marquee */
.marquee { background: var(--gold); color: var(--navy); overflow: hidden; border-block: 3px solid var(--navy); }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee span {
  display: inline-flex; align-items: center; gap: 28px; padding: 14px 28px 14px 0;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.marquee .icon { width: 26px; height: 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(700px 380px at 85% 20%, rgba(31,70,128,.9), transparent 60%),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-900) 100%);
  padding-block: clamp(64px, 9vw, 112px) clamp(64px, 8vw, 104px);
}
.page-hero h1 { color: var(--white); max-width: 16ch; }
.page-hero .lead { color: #c9d3de; }
.page-hero .sub { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: .04em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.page-hero-mark { position: absolute; right: -60px; top: 50%; width: min(520px, 55vw); transform: translateY(-50%) rotate(-8deg); opacity: .08; pointer-events: none; }
.page-hero .container { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; padding: 0; list-style: none; font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.crumbs a { color: var(--steel-200); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--steel-400); }
.crumbs [aria-current] { color: var(--gold); }
.page-hero .hero-in > * { animation-duration: .7s; }
.hero-edge { position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; width: 100%; color: var(--white); }
.hero-edge.ice { color: var(--ice); }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.card.hover:hover, a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--steel-200); }
.icon-badge {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--navy); color: var(--gold); box-shadow: 0 10px 20px -10px rgba(13,34,64,.6);
  transition: transform .4s var(--ease), background-color .3s;
}
.icon-badge .icon { width: 28px; height: 28px; }
.card:hover .icon-badge { transform: rotate(-8deg) scale(1.06); }
.icon-badge.gold { background: var(--gold); color: var(--navy); }
.card-top-bar::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--navy), var(--gold)); transform: scaleX(0); transition: transform .4s var(--ease); transform-origin: left; }
.card-top-bar:hover::before { transform: scaleX(1); }
.card .num-tag { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--steel-100); transition: color .3s; }
.card:hover .num-tag { color: var(--gold-100); }

.card-dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: none; }
.card-dark h3 { color: var(--white); }
.card-dark p { color: var(--steel-200); }
.card-dark:hover { border-color: rgba(245,183,0,.5); background: rgba(255,255,255,.07); }

/* Team cards */
.teams-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.team-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 230px;
  padding: 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--steel-100);
  color: var(--navy); text-decoration: none; cursor: pointer; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s;
}
.team-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--white); }
.team-card:hover::before { transform: none; }
.team-card .grade { font-family: var(--font-display); font-weight: 800; font-size: 5rem; line-height: .8; letter-spacing: -.03em; transition: color .3s; }
.team-card .grade sup { font-size: .38em; vertical-align: top; position: relative; top: .25em; margin-left: 2px; color: var(--gold-600); }
.team-card .label { font-family: var(--font-display); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .9rem; color: var(--steel); margin-top: 8px; transition: color .3s; }
.team-card .coach { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.team-card .coach small { display: block; font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); transition: color .3s; }
.team-card .go { position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--steel-100); transition: all .3s var(--ease); }
.team-card:hover .go { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: rotate(-45deg); }
.team-card:hover .grade sup, .team-card:hover .label, .team-card:hover .coach small { color: var(--gold); }
.team-card .ball { position: absolute; right: -40px; bottom: -40px; width: 150px; height: 150px; opacity: .06; color: var(--navy); transition: opacity .3s, color .3s, transform .6s var(--ease); }
.team-card:hover .ball { opacity: .14; color: var(--gold); transform: rotate(90deg); }
.team-card.cta-card { background: var(--gold); border-color: var(--gold); }
.team-card.cta-card::before { background: var(--navy); }
.team-card.cta-card .label { color: var(--navy); }
.team-card.cta-card h3 { color: inherit; margin: 0; font-size: 1.9rem; }

/* Pathway */
.pathway { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: step; }
.pathway::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12);
}
.pathway .progress { position: absolute; left: 6%; top: 34px; height: 4px; width: 0; max-width: 88%; border-radius: 4px; background: linear-gradient(90deg, var(--steel-400), var(--gold)); transition: width 2s var(--ease); }
.pathway.in .progress { width: 88%; }
.step { position: relative; text-align: center; counter-increment: step; }
.step .node {
  position: relative; z-index: 1; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-700); border: 3px solid rgba(255,255,255,.18); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
  transition: transform .3s var(--ease), background-color .3s, border-color .3s;
}
.step .node::after { content: "0" counter(step); }
.step:hover .node { transform: scale(1.1); border-color: var(--gold); }
.step h4 { color: var(--white); margin: 0 0 4px; font-size: 1.2rem; }
.step p { font-size: .9rem; color: var(--steel-200); margin: 0; line-height: 1.4; }
.step.current .node { background: var(--gold); color: var(--navy); border-color: #ffe08a; box-shadow: 0 0 0 8px rgba(245,183,0,.18); animation: beacon 2.4s ease-out infinite; }
.step.current h4 { color: var(--gold); }
.here-tag { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(245,183,0,.15); color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(245,183,0,.5); } 100% { box-shadow: 0 0 0 22px rgba(245,183,0,0); } }

/* Feature split visual */
.visual-panel {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1 / 1.02;
  background: radial-gradient(circle at 50% 40%, var(--navy-600), var(--navy) 55%, var(--navy-900));
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.visual-panel img { width: 64%; filter: drop-shadow(0 25px 40px rgba(0,0,0,.45)); transition: transform .8s var(--ease); }
.visual-panel:hover img { transform: scale(1.04) rotate(-2deg); }
.visual-panel .court-mini { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .15; }
.visual-panel .court-mini * { fill: none; stroke: #fff; stroke-width: 2; }
.visual-panel .badge-float {
  position: absolute; left: 22px; bottom: 22px; right: 22px; display: flex; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.95); color: var(--navy); box-shadow: var(--shadow);
}
.visual-panel .badge-float strong { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; display: block; line-height: 1.1; }
.visual-panel .badge-float span { font-size: .9rem; color: var(--muted); }
.quote { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; color: var(--navy); border-left: 5px solid var(--gold); padding-left: 20px; margin: 28px 0; text-transform: uppercase; }
.bg-navy .quote { color: var(--white); }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); margin-top: 1px; }
.checklist .tick .icon { width: 15px; height: 15px; stroke-width: 3; }
.checklist.two { grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.bg-navy .checklist li { color: var(--steel-200); }

/* News */
.news-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; text-decoration: none; color: inherit; }
.news-thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-900));
}
.news-thumb.alt { background: linear-gradient(140deg, var(--steel), var(--navy)); }
.news-thumb.gold { background: linear-gradient(140deg, #ffcf3a, var(--gold-600)); }
.news-thumb .icon { width: 64px; height: 64px; color: rgba(255,255,255,.9); stroke-width: 1.5; transition: transform .5s var(--ease); }
.news-thumb.gold .icon { color: var(--navy); }
.news-thumb::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 14px 14px; }
.news-card:hover .news-thumb .icon { transform: scale(1.15) rotate(-6deg); }
.news-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-body h3 { margin: 0; font-size: 1.45rem; transition: color .2s; }
.news-card:hover h3 { color: var(--navy-600); }
.news-body .link-arrow { margin-top: auto; }
.tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--ice); color: var(--navy); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tag.gold { background: var(--gold-100); color: #7a5600; }
.tag.navy { background: var(--navy); color: var(--white); }
.events-panel { background: var(--navy); color: var(--steel-200); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 4px; }
.events-panel h3 { color: var(--white); display: flex; align-items: center; gap: 10px; }
.events-panel h3 .icon { color: var(--gold); }
.event-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.event-row:last-of-type { border-bottom: 0; }
.event-row .date { flex: none; width: 56px; height: 56px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-weight: 800; line-height: 1; color: var(--gold); font-size: .95rem; letter-spacing: .06em; }
.event-row strong { display: block; color: var(--white); font-weight: 700; }
.event-row span { font-size: .9rem; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 30px; padding: clamp(40px, 6vw, 80px);
  background: linear-gradient(130deg, var(--navy-700), var(--navy) 50%, var(--navy-900));
  color: var(--steel-200); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.12rem; max-width: 56ch; }
.cta-band .btn-row { margin: 0; flex-direction: column; }
.cta-band .ball-deco { position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; color: rgba(255,255,255,.05); animation: spin 50s linear infinite; }
.cta-band > * { position: relative; }

/* Value list */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--steel-100); border-left: 1px solid var(--steel-100); }
.value { padding: 30px; border-right: 1px solid var(--steel-100); border-bottom: 1px solid var(--steel-100); transition: background-color .3s; }
.value:hover { background: var(--ice); }
.value .icon { color: var(--gold-600); width: 32px; height: 32px; margin-bottom: 14px; transition: transform .3s var(--ease); }
.value:hover .icon { transform: translateY(-3px); }
.value h3 { font-size: 1.45rem; }
.value p { color: var(--muted); margin: 0; }

/* Mission blocks */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv .card { background: var(--navy); border-color: var(--navy); color: var(--steel-200); }
.mv .card h3 { color: var(--gold); }
.mv .card p { color: #d7dee6; font-size: 1.1rem; }
.mv .card.light { background: var(--white); border-color: var(--steel-100); }
.mv .card.light h3 { color: var(--navy); }
.mv .card.light p { color: var(--muted); }

/* Coach / people */
.person { display: flex; gap: 20px; align-items: flex-start; }
.avatar {
  flex: none; width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy-600), var(--navy)); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: .02em; position: relative;
}
.avatar::after { content: ""; position: absolute; inset: -4px; border-radius: 23px; border: 2px solid var(--gold); opacity: 0; transform: scale(.9); transition: all .3s var(--ease); }
.card:hover .avatar::after { opacity: 1; transform: none; }
.person .role { font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); font-size: .9rem; margin-bottom: 4px; }
.person h3 { margin-bottom: .3em; }
.leader .avatar { width: 96px; height: 96px; font-size: 2.1rem; border-radius: 24px; background: linear-gradient(140deg, var(--gold), var(--gold-600)); color: var(--navy); }

/* Accordion */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius); transition: box-shadow .25s, border-color .25s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--steel-200); }
.faq summary { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.1rem; color: var(--navy); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ice); display: grid; place-items: center; transition: transform .3s var(--ease), background-color .3s; }
.faq summary .pm .icon { width: 18px; height: 18px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--gold); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* Info table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--steel-100); background: var(--white); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--steel-100); }
th { font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; color: var(--steel); background: var(--ice); }
tbody tr { transition: background-color .15s; }
tbody tr:hover { background: #fafcfe; }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--navy); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--gold-100); color: #7a5600; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* Facts list */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--steel-100); display: flex; gap: 14px; align-items: flex-start; }
.fact .icon { color: var(--gold-600); margin-top: 2px; }
.fact small { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); font-size: .82rem; }
.fact strong { font-size: 1.12rem; color: var(--navy); }

/* Steps (numbered list) */
.steps { display: grid; gap: 18px; counter-reset: s; }
.steps .s { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--steel-100); transition: border-color .25s, transform .25s var(--ease); }
.steps .s:hover { border-color: var(--gold); transform: translateX(6px); }
.steps .s::before { counter-increment: s; content: counter(s); width: 64px; height: 64px; border-radius: 16px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 2rem; }
.steps h3 { margin: 4px 0 6px; font-size: 1.35rem; }
.steps p { margin: 0; color: var(--muted); }

/* Tier cards (sponsors) */
.tier { display: flex; flex-direction: column; }
.tier .price { font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: var(--navy); line-height: 1; margin: 6px 0 18px; }
.tier .price small { font-size: 1rem; color: var(--steel); letter-spacing: .1em; }
.tier .checklist { margin-bottom: 24px; font-size: .98rem; }
.tier .btn { margin-top: auto; }
.tier.featured { background: var(--navy); border-color: var(--navy); color: var(--steel-200); transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.tier.featured h3, .tier.featured .price { color: var(--white); }
.tier.featured .checklist li { color: var(--steel-200); }
.tier .ribbon { margin-bottom: 12px; }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-weight: 700; font-size: .95rem; color: var(--navy); margin-bottom: 6px; }
.field label .opt { font-weight: 500; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--ice); border: 2px solid transparent; border-radius: 12px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel-200); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(31,70,128,.12); }
.field input:user-invalid, .field select:user-invalid { border-color: #dc2626; }
.field .hint { font-size: .85rem; color: var(--steel); margin-top: 6px; }
.checks { display: grid; gap: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .98rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); flex: none; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--steel-100); font-weight: 600; cursor: pointer; transition: all .2s; }
.chip span:hover { border-color: var(--navy-600); }
.chip input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; padding: 0; }
.form-section + .form-section { margin-top: 32px; padding-top: 28px; border-top: 1px dashed var(--steel-200); }
.form-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--gold-100); color: #5c4100; font-size: .95rem; margin-bottom: 24px; }
.form-note .icon { color: #8a6200; margin-top: 2px; }
.form-note.info { background: var(--ice); color: var(--muted); }
.form-note.info .icon { color: var(--navy-600); }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success .ok { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; animation: pop .5s var(--ease); }
.form-success .ok .icon { width: 38px; height: 38px; stroke-width: 3; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
form.sent > :not(.form-success) { display: none; }
form.sent .form-success { display: block; }

/* Stepper (register) */
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.stepper li { position: relative; padding: 22px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--steel-100); }
.stepper li b { display: block; font-family: var(--font-display); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); }
.stepper li strong { display: block; font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; color: var(--navy); line-height: 1.1; margin: 4px 0 6px; }
.stepper li span { font-size: .9rem; color: var(--muted); display: block; line-height: 1.45; }

/* Filters (schedules) */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--steel-100); }
.seg button { min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .2s; }
.seg button:hover { color: var(--navy); background: var(--ice); }
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.empty { text-align: center; padding: clamp(40px, 6vw, 70px) 24px; border: 2px dashed var(--steel-200); border-radius: var(--radius-lg); background: var(--white); }
.empty .icon-badge { margin-inline: auto; }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 52ch; margin: 0 auto; }

/* Team page */
.team-hero-grade { font-family: var(--font-display); font-weight: 800; font-size: clamp(7rem, 18vw, 14rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.25); position: absolute; right: var(--gutter); bottom: -10px; pointer-events: none; }
.team-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.team-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; min-height: 44px; padding: 6px 14px; border-radius: 12px; border: 2px solid var(--steel-100); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--navy); text-decoration: none; transition: all .2s; }
.team-nav a:hover { border-color: var(--navy); }
.team-nav a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.side-card { position: sticky; top: calc(var(--header-h) + 20px); }
.mini-list { list-style: none; padding: 0; margin: 0; }
.mini-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--steel-100); align-items: center; }
.mini-list li:last-child { border: 0; }
.mini-list .icon { color: var(--gold-600); }
.mini-list a { font-weight: 600; text-decoration: none; color: var(--navy); }
.mini-list a:hover { color: var(--navy-600); text-decoration: underline; }

/* Category tiles (shop) */
.tile { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--steel-100); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.tile .icon-badge { margin: 0; width: 52px; height: 52px; }
.tile h3 { margin: 0; font-size: 1.3rem; }
.tile p { margin: 0; font-size: .9rem; color: var(--steel); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-950); color: #b5c0cc; padding-top: clamp(64px, 8vw, 96px); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--gold), var(--steel), var(--navy-600), var(--gold)); background-size: 200% 100%; animation: stripe 8s linear infinite; }
@keyframes stripe { to { background-position: 200% 0; } }
.footer-news { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding-bottom: 48px; margin-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-news h2 { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 6px; }
.footer-news p { margin: 0; }
.newsletter { display: flex; gap: 10px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.newsletter input { flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; background: transparent; border: 0; color: var(--white); font: inherit; font-size: 16px; }
.newsletter input::placeholder { color: var(--steel-400); }
.newsletter input:focus { outline: none; }
.newsletter:focus-within { border-color: var(--gold); }
.newsletter-msg { margin-top: 10px; font-size: .9rem; color: var(--gold); min-height: 1.4em; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.footer-brand img { width: 96px; height: 96px; margin-bottom: 16px; transition: transform .6s var(--ease); }
.footer-brand img:hover { transform: rotate(-360deg); }
.footer-brand .name { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--white); text-transform: uppercase; line-height: 1; }
.footer-brand .tagline { font-family: var(--font-display); font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; margin: 8px 0 14px; }
.footer-brand p { font-size: .95rem; }
.footer-col h4 { color: var(--white); font-size: 1.05rem; letter-spacing: .14em; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 32px; color: #b5c0cc; text-decoration: none; font-size: .98rem; transition: color .2s, transform .2s var(--ease); }
.footer-col a:hover { color: var(--gold); transform: translateX(4px); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--white); transition: all .25s var(--ease); }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-3px); }
.socials .icon { width: 20px; height: 20px; }
.footer-word { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 15vw, 13rem); line-height: .8; text-transform: uppercase; text-align: center; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09); margin: 64px 0 -0.08em; user-select: none; white-space: nowrap; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; background: var(--navy-950); }
.footer-bottom a { color: #b5c0cc; text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-header); width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--navy); border: 0; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg.prog { position: absolute; inset: -4px; width: 60px; height: 60px; transform: rotate(-90deg); }
.to-top svg.prog circle { fill: none; stroke: var(--navy); stroke-width: 3; stroke-dasharray: 176; stroke-dashoffset: 176; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: var(--z-toast); transform: translate(-50%, 140%); padding: 14px 20px; border-radius: 14px; background: var(--navy); color: var(--white); box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; max-width: calc(100vw - 32px); transition: transform .35s var(--ease), opacity .35s, visibility .35s; font-weight: 600; opacity: 0; visibility: hidden; }
.toast .icon { color: var(--gold); }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.from-left { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.zoom { transform: scale(.94); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .08s; }
.stagger.in > *:nth-child(3) { transition-delay: .16s; }
.stagger.in > *:nth-child(4) { transition-delay: .24s; }
.stagger.in > *:nth-child(5) { transition-delay: .32s; }
.stagger.in > *:nth-child(6) { transition-delay: .4s; }
.stagger.in > *:nth-child(7) { transition-delay: .48s; }
.stagger.in > *:nth-child(8) { transition-delay: .56s; }
.stagger.in > *:nth-child(n+9) { transition-delay: .62s; }
/* after the entrance, hover transitions should be snappy again */
.stagger.done > * { transition-delay: 0s !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .header-cta .btn-outline { display: none; }
}
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { max-width: 320px; order: -1; justify-self: start; display: none; }
  .teams-grid, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .values, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .pathway { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .pathway::before, .pathway .progress { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .stepper { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { flex-direction: row; }
  .side-card { position: static; }
  .tier.featured { transform: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .brand-text span { display: none; }
  .brand-text strong { font-size: 1.15rem; }
  .header-cta .btn-gold { padding-inline: 1em; }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--steel-100); }
  .grid-2, .grid-3, .values, .facts, .mv, .form-grid, .checklist.two, .footer-news { grid-template-columns: 1fr; }
  .teams-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team-card { min-height: 190px; padding: 20px; }
  .team-card .grade { font-size: 3.8rem; }
  .team-card .go { width: 36px; height: 36px; top: 16px; right: 16px; }
  .pathway { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stepper { grid-template-columns: 1fr; }
  .steps .s { grid-template-columns: 52px 1fr; gap: 14px; padding: 18px; }
  .steps .s::before { width: 52px; height: 52px; font-size: 1.6rem; }
  .btn-row .btn { flex: 1 1 auto; }
  .hero .btn-row .btn { width: 100%; }
  .cta-band .btn-row { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 380px) {
  .teams-grid { grid-template-columns: 1fr; }
  .header-cta .btn-gold span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .stagger > *, .hero-in > *, .hero-title span { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
}

/* Light variant for navy artwork (Bruins wordmark) */
.visual-panel.light { background: radial-gradient(circle at 50% 38%, #ffffff, var(--ice) 60%, var(--steel-100)); border: 1px solid var(--steel-100); }
.visual-panel.light .court-mini * { stroke: var(--navy); }
.visual-panel.light .court-mini { opacity: .08; }
.visual-panel.light img { width: 70%; margin-bottom: 96px; filter: drop-shadow(0 18px 30px rgba(13,34,64,.25)); }
.visual-panel.light .badge-float { background: var(--navy); color: var(--white); }
.visual-panel.light .badge-float span { color: var(--steel-200); }
.visual-panel.light .badge-float .icon-badge { background: var(--gold); color: var(--navy); }

/* Layout variants (kept as classes so breakpoints can override them) */
.news-layout { grid-template-columns: 2fr 1fr; align-items: stretch; }
.split.wide { grid-template-columns: 1.55fr 1fr; }
.split.narrow { grid-template-columns: 1fr 1.5fr; }
.head-actions { justify-self: end; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 1024px) {
  .news-layout, .split.wide, .split.narrow { grid-template-columns: 1fr; }
  .head-actions { justify-self: start; }
}

/* Live forms */
.turnstile-wrap { margin-top: 24px; min-height: 65px; }
.form-error { margin: 12px 0 0; padding: 12px 16px; border-radius: 12px; background: #fee2e2; color: #991b1b; font-weight: 600; }
.btn.loading { opacity: .7; pointer-events: none; }
.btn.loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }

/* Attitude section (Development page) */
.attitude { overflow: hidden; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 70%, var(--navy-950) 100%); }
.attitude .container { position: relative; }
.attitude-word { font-size: clamp(4rem, 13vw, 9.5rem); line-height: .85; letter-spacing: .02em; margin: 6px 0 18px; color: transparent !important; -webkit-text-stroke: 2px var(--gold); background: linear-gradient(90deg, var(--gold), #ffe08a, var(--gold)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: stripe 6s linear infinite; }
.attitude-tag { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.8rem); text-transform: uppercase; letter-spacing: .03em; color: var(--white); margin: 0 auto; max-width: 30ch; line-height: 1.2; }
.principle { position: relative; }
.principle h3 { font-size: 1.7rem; margin-bottom: 2px; }
.principle .toward { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold) !important; margin-bottom: 10px; }
.principle .num-tag { color: rgba(255,255,255,.08); }
.principle:hover .num-tag { color: rgba(245,183,0,.25); }
.attitude-close { margin: 64px auto 0; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.05; text-transform: uppercase; color: var(--white); max-width: 22ch; }
.attitude .hero-court { opacity: .06; }
.attitude-tag { max-width: 38ch; }
.attitude-close { max-width: 30ch; }

/* Attitude banner (Home) */
.attitude-home { color: var(--steel-200); }
.attitude-home h2, .attitude-home h3 { color: var(--white); }
.attitude-home .eyebrow { color: var(--gold); }
.attitude-home .lead { color: var(--steel-200); }
.attitude-home .attitude-word { font-size: clamp(3.6rem, 9vw, 7rem); margin-top: 0; }
.attitude-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.principle-list { display: grid; gap: 12px; }
.principle-row { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: border-color .3s, background-color .3s, transform .3s var(--ease); }
.principle-row:hover { border-color: rgba(245,183,0,.5); background: rgba(255,255,255,.07); transform: translateX(6px); }
.principle-row .icon-badge { margin: 0; width: 50px; height: 50px; flex: none; }
.principle-row h3 { font-size: 1.45rem; margin: 0; }
.principle-row .toward { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 2px 0 6px; }
.principle-row p:last-child { margin: 0; color: var(--steel-200); }
@media (max-width: 1024px) { .attitude-band { grid-template-columns: 1fr; } }

.status.open { background: #dcfce7; color: #166534; text-decoration: none; }
.status.open:hover { background: #bbf7d0; }
.footer-email { color: var(--gold) !important; font-weight: 600; text-decoration: none; }
.footer-email:hover { text-decoration: underline; }
