/* ==========================================================================
   OTTAWA HEAT — STYLES
   Brand: neon pink → violet → electric blue on near-black (from club logo)
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #05060B;
  --bg-2: #090B15;
  --surface: #0F1220;
  --surface-2: #151A2C;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #F4F5FB;
  --muted: #A0A6BD;
  --dim: #646B85;

  --pink: #FF2D95;
  --violet: #A93BFF;
  --blue: #2F6BFF;
  --sky: #3FA9FF;
  --brand: linear-gradient(100deg, #FF2D95 0%, #B33BFF 52%, #2F6BFF 100%);
  --brand-v: linear-gradient(180deg, #FF2D95 0%, #B33BFF 55%, #2F6BFF 100%);

  --hockey: #3FA9FF;
  --soccer: #2BE38B;
  --baseball: #FFC83D;
  --win: #2BE38B;
  --loss: #FF5470;

  --accent: var(--pink);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;

  --f-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 70px;
  --tabbar-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body::before { /* film grain */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.menu-open { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--pink); color: #fff; }

.ic {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.ic-sport { stroke-width: 3.2; }

.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;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--pink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

.logo-img { object-fit: contain; }

/* ---------- Typography ---------- */
.h-display {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.7rem, 7.5vw, 5.4rem);
  line-height: .92;
  letter-spacing: -.005em;
}
.h-md { font-size: clamp(2rem, 5vw, 3.2rem); }
.h-sub {
  font-family: var(--f-display); font-style: italic; font-weight: 800;
  text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: .01em;
}
.brand-text-grad {
  font-style: inherit;
  background: var(--brand);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .08em; /* keep italic edge from clipping */
  animation: gradShift 8s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: .16em; font-size: .95rem;
  color: var(--pink);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--brand); }
.kicker-dark { color: #10051a; }
.kicker-dark::before { background: #10051a; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 60ch; margin-top: 18px; }
.link { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border-radius: 12px;
  font-family: var(--f-display); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
  -webkit-user-select: none; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: .95rem; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 1.15rem; }
.btn-block { width: 100%; }

.btn-heat {
  color: #fff;
  background: var(--brand);
  background-size: 160% 100%;
  box-shadow: 0 8px 28px -8px rgba(255, 45, 149, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-heat::after { /* shine sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn-heat:hover { background-position: 100% 0; box-shadow: 0 12px 36px -8px rgba(179, 59, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .25); transform: translateY(-2px); }
.btn-heat:hover::after { transform: translateX(120%); }

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); transform: translateY(-2px); }

.btn-dark { color: #fff; background: #07040d; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7); }
.btn-dark:hover { transform: translateY(-2px); background: #000; }

.round-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  transition: background .2s, border-color .2s, transform .2s;
}
.round-btn:hover { background: var(--pink); border-color: var(--pink); }
.round-btn:active { transform: scale(.92); }
.round-btn:disabled { opacity: .3; pointer-events: none; }

/* ---------- Chips / toggles / selects ---------- */
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  --c: var(--pink);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
  font-family: var(--f-display); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: .07em; font-size: .95rem;
  color: var(--muted);
  transition: color .25s, background-color .25s, border-color .25s, box-shadow .25s, transform .2s;
}
.chip .ic { width: 1.25em; height: 1.25em; color: var(--c); transition: color .25s; }
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }
.chip:active { transform: scale(.96); }
.chip.active {
  color: #05060B; background: var(--c); border-color: transparent;
  box-shadow: 0 6px 22px -6px var(--c);
}
.chip.active .ic { color: #05060B; }
.chip::after { /* autoplay progress */
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: rgba(5, 6, 11, .45); transform: scaleX(0); transform-origin: left;
}
.hero.autoplay .hero-chips .chip.active::after { animation: chipFill 5s linear forwards; }
@keyframes chipFill { to { transform: scaleX(1); } }

.toggle {
  display: inline-flex; padding: 4px; gap: 4px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
}
.toggle button {
  min-height: 36px; padding: 0 16px; border-radius: 999px;
  font-family: var(--f-display); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; color: var(--muted);
  transition: background .25s, color .25s;
}
.toggle button.active { background: var(--text); color: var(--bg); }

.select-wrap { position: relative; display: block; }
.select-wrap select {
  appearance: none; -webkit-appearance: none;
  width: 100%; min-height: 48px; padding: 0 44px 0 16px;
  border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--surface-2); color: var(--text);
  cursor: pointer;
}
.select-wrap > .ic { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.select-sm select { min-height: 44px; font-size: .9rem; }

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* Spotlight hover (cursor-follow glow) */
.spot { position: relative; isolation: isolate; --mx: 50%; --my: 50%; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 45, 149, .16), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.spot:hover::before { opacity: 1; }

/* ---------- Reveal ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(0); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(5, 6, 11, .72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-color: var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo-img { width: 46px; height: 46px; transition: transform .4s var(--ease); }
.brand:hover .logo-img { transform: rotate(-8deg) scale(1.06); }
.brand-text {
  font-family: var(--f-display); font-style: italic; font-weight: 900;
  text-transform: uppercase; font-size: 1.45rem; line-height: 1; letter-spacing: .02em;
}
.brand-text b {
  margin-left: .22em; font-weight: 900;
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.nav-desktop { display: flex; gap: 2px; margin-left: auto; }
.nav-desktop a {
  position: relative; padding: 8px 12px;
  font-family: var(--f-display); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: .08em; font-size: 1rem;
  color: var(--muted); transition: color .2s;
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--text); }
.nav-desktop a:hover::after, .nav-desktop a.active::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 46px; height: 46px; margin-left: auto;
  border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s, width .3s; }
.menu-toggle span:nth-child(3) { width: 13px; transform: translateX(-3.5px); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { width: 20px; transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 20px) 24px calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 36px);
  overflow-y: auto;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(255, 45, 149, .32), transparent 60%),
    radial-gradient(80% 50% at 0% 100%, rgba(47, 107, 255, .3), transparent 60%),
    var(--bg);
  clip-path: circle(0 at calc(100% - 40px) 40px);
  visibility: hidden;
  transition: clip-path .65s var(--ease), visibility 0s .65s;
}
.mobile-menu.open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path .65s var(--ease), visibility 0s 0s; }
.mm-links { display: flex; flex-direction: column; }
.mm-link, .mm-foot {
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobile-menu.open .mm-link, .mobile-menu.open .mm-foot { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .05s); }
.mm-link {
  display: flex; align-items: baseline; gap: 14px; padding: 4px 0;
  font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1.08;
}
.mm-link small { font-size: .85rem; font-weight: 800; color: var(--pink); letter-spacing: .1em; }
.mm-link:active { color: var(--pink); }
.mm-foot { display: grid; gap: 20px; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  transition: background .2s, border-color .2s, transform .2s;
}
.socials a:hover { background: var(--brand); border-color: transparent; transform: translateY(-3px); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  --accent: var(--hockey);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 36px) 0 110px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(55% 55% at 78% 38%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%),
    radial-gradient(50% 60% at 8% 92%, rgba(255, 45, 149, .28), transparent 70%),
    radial-gradient(40% 40% at 50% 0%, rgba(47, 107, 255, .22), transparent 70%),
    linear-gradient(180deg, #07081A 0%, var(--bg) 100%);
  transition: background .8s;
}
.hero-stripes {
  position: absolute; inset: 0; z-index: -2;
  background: repeating-linear-gradient(115deg, transparent 0 70px, rgba(255, 255, 255, .022) 70px 72px);
  mask-image: linear-gradient(180deg, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
}
#embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-word {
  position: absolute; z-index: -1; left: -3vw; bottom: -7vw;
  font-family: var(--f-display); font-style: italic; font-weight: 900;
  font-size: 40vw; line-height: .8; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .055);
  white-space: nowrap; pointer-events: none; user-select: none;
}

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }

.live-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2);
  font-size: .85rem; font-weight: 600; color: var(--muted);
  backdrop-filter: blur(10px);
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); flex: none; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--pink); animation: ping 1.6s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero-title {
  margin-top: 22px;
  font-family: var(--f-display); font-style: italic; font-weight: 900;
  text-transform: uppercase; font-size: clamp(4.2rem, 14vw, 10rem);
  line-height: .84; letter-spacing: -.01em;
}
.hero-title .line { display: block; overflow: hidden; padding: .02em .12em .04em 0; }
.hero-title .line > span { display: inline-block; animation: lineUp 1s var(--ease) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title em {
  font-style: inherit;
  filter: drop-shadow(0 0 24px rgba(255, 45, 149, .45));
}
@keyframes lineUp { from { transform: translateY(105%) skewY(6deg); } to { transform: none; } }

.hero-lead { margin-top: 22px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 50ch; }
.hero-lead strong { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hero-copy > * { animation: fadeUp .9s var(--ease) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(3) { animation-delay: .3s; }
.hero-copy > :nth-child(4) { animation-delay: .4s; }
.hero-copy > :nth-child(5) { animation-delay: .5s; }
.hero-side { animation: fadeUp 1s .35s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Visual */
.hero-side { display: grid; gap: 22px; justify-items: center; }
.hero-visual { position: relative; width: min(100%, 440px); aspect-ratio: 1; display: grid; place-items: center; }
.hv-ring { position: absolute; border-radius: 50%; }
.hv-ring.r1 { inset: 0; border: 1px dashed rgba(255, 255, 255, .16); animation: spin 60s linear infinite; }
.hv-ring.r2 {
  inset: 12%; padding: 2px;
  background: conic-gradient(from 0deg, var(--accent), transparent 35%, var(--pink) 60%, transparent 85%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 9s linear infinite;
}
.hv-glow { position: absolute; inset: 26%; border-radius: 50%; background: var(--accent); filter: blur(60px); opacity: .45; transition: background .6s; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-sport {
  position: absolute; width: 46%; height: 46%;
  color: var(--accent); fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 18px var(--accent)) drop-shadow(0 0 40px color-mix(in srgb, var(--accent) 50%, transparent));
  opacity: 0; transform: scale(.5) rotate(-40deg);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.hero-sport.active { opacity: 1; transform: none; animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }
.hv-badge {
  position: absolute; display: grid; padding: 10px 16px; border-radius: 14px;
  background: rgba(15, 18, 32, .75); border: 1px solid var(--line-2); backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .8);
  animation: float 6s ease-in-out infinite;
}
.hv-badge b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.5rem; line-height: 1; text-transform: uppercase; }
.hv-badge span { font-size: .75rem; color: var(--muted); }
.hv-badge.b1 { top: 8%; left: -2%; }
.hv-badge.b1 b { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hv-badge.b2 { bottom: 10%; right: -4%; animation-delay: -3s; }
.hv-badge.b2 b { color: var(--accent); transition: color .5s; }

/* Next game card */
.next-game { width: min(100%, 440px); padding: 20px; display: grid; gap: 10px; }
.ng-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ng-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; }
.ng-sport { font-size: .8rem; font-weight: 600; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.ng-matchup { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; }
.ng-matchup .vs { color: var(--dim); font-size: .75em; margin: 0 .3em; }
.ng-when { color: var(--muted); font-size: .9rem; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 4px; }
.countdown div { text-align: center; padding: 10px 4px; border-radius: 12px; background: rgba(5, 6, 11, .55); border: 1px solid var(--line); }
.countdown b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 52px; translate: -50% 0;
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .3);
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker-wrap { position: relative; z-index: 3; overflow: hidden; padding: 28px 0; margin-top: -64px; }
.ticker {
  background: var(--brand);
  transform: rotate(-2deg); margin: 0 -20px;
  box-shadow: 0 20px 60px -10px rgba(179, 59, 255, .45);
  overflow: hidden;
}
.ticker-track {
  display: flex; width: max-content; padding: 14px 0;
  animation: marquee 45s linear infinite;
  font-family: var(--f-display); font-style: italic; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem; white-space: nowrap; color: #fff;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; }
.tick-item .badge { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 6px; background: #05060B; font-size: .85rem; }
.tick-item .badge.W { color: var(--win); }
.tick-item .badge.L { color: var(--loss); }
.tick-item .badge.T { color: #fff; }
.tick-item .badge.N { color: var(--baseball); }
.tick-sep { opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { padding: 40px 0 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 18px 10px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--line-2); }
.stat-num {
  display: block;
  font-family: var(--f-display); font-style: italic; font-weight: 900;
  font-size: clamp(3rem, 7vw, 5rem); line-height: 1; font-variant-numeric: tabular-nums;
  background: var(--brand-v); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}
.stat-label { color: var(--muted); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* ---------- Programs ---------- */
.seg {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 6px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  margin-bottom: 28px;
}
.seg-ind {
  position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 13px;
  background: var(--sc, var(--hockey));
  box-shadow: 0 8px 26px -8px var(--sc, var(--hockey));
  transition: transform .5s var(--ease), width .5s var(--ease), background-color .4s;
}
.seg-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  font-family: var(--f-display); font-style: italic; font-weight: 900;
  text-transform: uppercase; letter-spacing: .06em; font-size: 1.15rem;
  color: var(--muted); transition: color .3s;
}
.seg-btn .ic { width: 1.4em; height: 1.4em; }
.seg-btn.active { color: #05060B; }

.program-panel { display: grid; grid-template-columns: .95fr 1.05fr; gap: 20px; }
.program-panel.swap { animation: panelIn .55s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.prog-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg);
  background: linear-gradient(150deg, color-mix(in srgb, var(--sc) 18%, var(--surface)) 0%, var(--surface) 60%);
  border: 1px solid color-mix(in srgb, var(--sc) 35%, transparent);
}
.prog-card .bg-ic { position: absolute; right: -12%; bottom: -14%; width: 62%; height: auto; aspect-ratio: 1; color: var(--sc); opacity: .1; z-index: -1; transform: rotate(-12deg); }
.prog-tag { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.3rem); line-height: .95; color: var(--sc); }
.prog-card > p { color: var(--muted); margin-top: 14px; max-width: 46ch; }
.prog-meta { display: grid; gap: 10px; margin: 22px 0; }
.prog-meta div { display: flex; gap: 12px; align-items: center; font-size: .95rem; }
.prog-meta .ic { color: var(--sc); }
.prog-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.prog-list li { display: flex; gap: 10px; align-items: flex-start; }
.prog-list .ic { color: var(--sc); margin-top: 3px; }

.div-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-content: start; }
.div-card {
  position: relative; overflow: hidden;
  padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, background-color .3s;
}
.div-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--sc) 50%, transparent); }
.div-card.match {
  border-color: var(--sc); background: color-mix(in srgb, var(--sc) 14%, var(--surface));
  box-shadow: 0 0 0 1px var(--sc), 0 16px 40px -16px var(--sc);
}
.div-card.match::after {
  content: "Your division"; position: absolute; top: 12px; right: 12px;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px; background: var(--sc); color: #05060B;
}
.div-code { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(1.7rem, 4.6vw, 2.2rem); line-height: 1; color: var(--sc); white-space: nowrap; }
.div-born { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.div-level { font-weight: 600; margin-top: 10px; font-size: .95rem; }
.div-note { font-size: .82rem; color: var(--dim); margin-top: 2px; }

.age-finder {
  margin-top: 20px; padding: 22px;
  display: grid; grid-template-columns: 1.1fr .7fr 1.6fr; gap: 20px; align-items: center;
}
.af-copy h3 { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.5rem; }
.af-copy h3 .ic { color: var(--pink); }
.af-copy p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.af-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.af-res {
  --c: var(--pink);
  padding: 12px; border-radius: 14px; text-align: center;
  background: rgba(5, 6, 11, .5); border: 1px solid var(--line);
  animation: pop .45s var(--ease) both; animation-delay: calc(var(--i) * 70ms);
}
.af-res .ic { width: 22px; height: 22px; margin: 0 auto 4px; color: var(--c); }
.af-res b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.6rem; line-height: 1; color: var(--c); }
.af-res small { color: var(--muted); font-size: .72rem; }
.af-empty { grid-column: 1 / -1; color: var(--dim); font-size: .9rem; text-align: center; padding: 14px; border: 1px dashed var(--line-2); border-radius: 14px; }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(8px); } }

/* ---------- Schedule ---------- */
.filters {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top)); z-index: 20;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 0; margin-bottom: 18px;
}
.filters::before {
  content: ""; position: absolute; inset: 0 -100vmax; z-index: -1;
  background: rgba(9, 11, 21, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .3s;
}
.filters.stuck::before { opacity: 1; border-bottom: 1px solid var(--line); }
.filters-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filters-right .select-wrap { min-width: 170px; }

.game-list { display: grid; gap: 12px; }
.month-label {
  font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase;
  letter-spacing: .14em; color: var(--dim); font-size: 1rem; margin: 14px 0 2px;
}
.game {
  --sc: var(--pink);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 78px 1fr auto; gap: 18px; align-items: center;
  padding: 16px 18px 16px 16px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s, background-color .3s;
  animation: fadeUp .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms);
}
.game::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--sc); }
.game:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--sc) 40%, transparent); background: var(--surface-2); }
.g-date {
  display: grid; justify-items: center; padding: 8px 0; border-radius: 12px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  font-family: var(--f-display); font-style: italic; text-transform: uppercase; line-height: 1;
}
.g-date small { font-weight: 800; font-size: .75rem; letter-spacing: .12em; color: var(--sc); }
.g-date b { font-weight: 900; font-size: 2rem; margin: 2px 0; }
.g-date span { font-weight: 800; font-size: .75rem; letter-spacing: .12em; color: var(--muted); }
.g-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  background: color-mix(in srgb, var(--sc) 14%, transparent); color: var(--sc);
}
.pill .ic { width: 14px; height: 14px; }
.pill-ha { background: rgba(255, 255, 255, .06); color: var(--muted); }
.pill-ha.home { background: rgba(255, 45, 149, .14); color: var(--pink); }
.g-match { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.2rem, 2.4vw, 1.55rem); line-height: 1.1; }
.g-match .vs { color: var(--dim); font-size: .7em; margin: 0 .35em; }
.g-info { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: .85rem; margin-top: 6px; }
.g-info span { display: inline-flex; gap: 6px; align-items: center; }
.g-info .ic { width: 15px; height: 15px; color: var(--dim); }
.g-side { display: grid; justify-items: end; gap: 8px; }
.g-in { font-size: .75rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.score {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 12px;
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.6rem; line-height: 1;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2);
}
.score i { font-style: normal; font-size: .8rem; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; }
.score.W i { background: var(--win); color: #05060B; }
.score.L i { background: var(--loss); color: #05060B; }
.score.T i { background: var(--muted); color: #05060B; }
.empty {
  padding: 48px 20px; text-align: center; color: var(--muted);
  border: 1px dashed var(--line-2); border-radius: var(--r-lg);
}
.empty .ic { width: 36px; height: 36px; margin: 0 auto 10px; color: var(--dim); }

/* ---------- Teams carousel ---------- */
.carousel-ctrl { display: flex; gap: 10px; }
#team-chips { margin-bottom: 24px; }
.team-track {
  --pad: max(16px, (100vw - var(--container)) / 2);
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 300px); gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 10px var(--pad) 30px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.team-track::-webkit-scrollbar { display: none; }
.team-card {
  --sc: var(--pink);
  scroll-snap-align: start;
  height: 420px; perspective: 1400px; cursor: pointer; outline: none;
  animation: fadeUp .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms);
}
.team-inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.team-card.flipped .team-inner { transform: rotateY(180deg); }
.team-card:focus-visible .team-face { outline: 2px solid var(--sky); outline-offset: 3px; }
.team-face {
  position: absolute; inset: 0; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background: var(--surface);
  display: flex; flex-direction: column;
}
.team-front .tf-top {
  position: relative; height: 170px; overflow: hidden;
  background:
    radial-gradient(80% 90% at 85% 0%, color-mix(in srgb, var(--sc) 55%, transparent), transparent 70%),
    linear-gradient(135deg, color-mix(in srgb, var(--sc) 25%, #0B0D18), #0B0D18);
}
.tf-top::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 255, 255, .04) 18px 20px); }
.tf-div {
  position: absolute; left: 16px; bottom: -14px;
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 7rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .6);
}
.tf-ic { position: absolute; right: 16px; top: 16px; width: 54px; height: 54px; color: #fff; stroke-width: 3; filter: drop-shadow(0 0 12px var(--sc)); }
.tf-body { padding: 20px; display: grid; gap: 14px; flex: 1; align-content: start; }
.tf-sport { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sc); font-weight: 700; }
.tf-name { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.tf-name span { color: var(--muted); }
.tf-stats { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.rec { display: flex; gap: 14px; }
.rec div { text-align: center; }
.rec b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.8rem; line-height: 1; }
.rec small { font-size: .68rem; color: var(--dim); letter-spacing: .12em; }
.ring { position: relative; width: 66px; height: 66px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring .bg { stroke: rgba(255, 255, 255, .08); }
.ring .fg { stroke: var(--sc); stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: 163.4; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.05rem; }
.tf-hint { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-size: .75rem; color: var(--dim); }
.tf-hint .ic { width: 14px; height: 14px; }

.team-back { transform: rotateY(180deg); padding: 22px; gap: 14px; background: linear-gradient(160deg, color-mix(in srgb, var(--sc) 20%, var(--surface)), var(--surface) 70%); }
.tb-title { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.tb-row { display: grid; gap: 4px; }
.tb-row small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sc); font-weight: 700; }
.tb-row ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.tb-row li { display: flex; gap: 8px; align-items: center; font-size: .92rem; }
.tb-row li .ic { width: 15px; height: 15px; color: var(--muted); }
.team-back .btn { margin-top: auto; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  padding: 28px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(255, 45, 149, .35); }
.f-ic {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: var(--brand); color: #fff;
  box-shadow: 0 10px 26px -10px rgba(179, 59, 255, .9);
}
.f-ic .ic { width: 24px; height: 24px; }
.feature h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.6rem; margin: 18px 0 8px; line-height: 1; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- Pathway ---------- */
.pathway { position: relative; margin-top: clamp(64px, 9vw, 110px); }
.pathway .h-sub { margin-bottom: 30px; }
.path-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; z-index: 1; }
.path-steps li { padding-top: 34px; position: relative; }
.path-steps li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--pink); box-shadow: 0 0 0 6px rgba(255, 45, 149, .12);
}
.p-num { font-family: var(--f-display); font-style: italic; font-weight: 800; color: var(--dim); letter-spacing: .1em; font-size: .9rem; }
.path-steps b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 2.3rem; line-height: 1; margin: 2px 0 6px; }
.path-steps p { color: var(--muted); font-size: .92rem; }
.path-line { position: absolute; left: 9px; right: 0; top: calc(30px + clamp(1.6rem, 4vw, 2.2rem) + 9px); height: 2px; background: var(--line-2); }
.path-line span { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease); }
.pathway.in .path-line span { transform: scaleX(1); }

/* ---------- Coaches ---------- */
.coaches { margin-top: clamp(64px, 9vw, 110px); }
.coach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.coach {
  --sc: var(--pink);
  padding: 24px; border-radius: var(--r-lg); text-align: center;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s;
}
.coach:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--sc) 45%, transparent); }
.avatar {
  position: relative; width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 210deg, var(--sc), var(--pink), var(--blue), var(--sc));
}
.avatar span {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #262C45, #0C0F1C);
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 2.2rem;
}
.avatar .ic { position: absolute; right: -2px; bottom: -2px; width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--sc); color: #05060B; stroke-width: 4; }
.coach h4 { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.coach .role { color: var(--sc); font-size: .85rem; font-weight: 600; margin-top: 6px; }
.coach .certs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.coach .certs span { font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonials { padding-block: clamp(40px, 6vw, 80px); }
.t-wrap { position: relative; padding: clamp(28px, 5vw, 56px); overflow: hidden; }
.t-wrap::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--violet); filter: blur(120px); opacity: .25; z-index: -1; }
.t-quote { width: 56px; height: 56px; color: var(--pink); margin-bottom: 18px; }
.t-viewport { overflow: hidden; touch-action: pan-y; }
.t-track { display: flex; transition: transform .7s var(--ease); }
.t-slide { flex: 0 0 100%; padding-right: 4px; }
.t-slide blockquote { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.18; max-width: 32ch; }
.t-slide figcaption { margin-top: 20px; color: var(--muted); display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.t-slide figcaption b { color: var(--text); }
.t-slide figcaption::before { content: ""; width: 28px; height: 2px; background: var(--brand); }
.t-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.t-dots { display: flex; gap: 8px; }
.t-dots button { width: 10px; height: 10px; border-radius: 999px; background: var(--line-2); transition: width .4s var(--ease), background-color .3s; }
.t-dots button.active { width: 34px; background: var(--brand); }

/* ---------- Partner band ---------- */
.partner-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--brand); color: #fff; padding: clamp(56px, 8vw, 90px) 0;
}
.partner-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(255, 255, 255, .07) 40px 42px); }
.partner-band::after {
  content: "HEAT"; position: absolute; right: -2vw; bottom: -6vw; z-index: -1;
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 26vw; line-height: .8;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .18);
}
.pb-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.pb-inner p:not(.kicker) { margin-top: 12px; max-width: 52ch; font-size: 1.05rem; color: rgba(255, 255, 255, .9); }
.partner-band .h-display { color: #fff; }

/* ---------- Register ---------- */
.reg-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.reg-info { position: sticky; top: calc(var(--header-h) + 40px); }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.check-list .ic { width: 28px; height: 28px; padding: 6px; border-radius: 8px; background: rgba(255, 45, 149, .14); color: var(--pink); stroke-width: 3; }

.reg-card { padding: clamp(20px, 4vw, 36px); position: relative; overflow: hidden; }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.stepper li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--dim); transition: color .3s; }
.stepper span {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.1rem;
  background: var(--surface-2); border: 1px solid var(--line-2);
  transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.stepper em { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.stepper li.active { color: var(--text); }
.stepper li.active span { background: var(--brand); border-color: transparent; color: #fff; transform: scale(1.1); box-shadow: 0 8px 22px -8px var(--pink); }
.stepper li.done { color: var(--muted); }
.stepper li.done span { background: rgba(255, 45, 149, .16); border-color: var(--pink); color: var(--pink); }
.stepper-bar { height: 4px; border-radius: 4px; background: var(--line); margin: 18px 0 26px; overflow: hidden; }
.stepper-bar span { display: block; height: 100%; width: 25%; background: var(--brand); border-radius: 4px; transition: width .6s var(--ease); }

.step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.active { display: block; animation: stepIn .5s var(--ease); }
.step.back-in { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-24px); } }
.step-title { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin-bottom: 18px; padding: 0; }

.sport-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sport-opt { --c: var(--pink); position: relative; cursor: pointer; }
.sport-opt input { position: absolute; opacity: 0; pointer-events: none; }
.so-card {
  position: relative; display: grid; justify-items: center; gap: 4px; text-align: center;
  padding: 22px 10px 18px; border-radius: var(--r);
  background: var(--surface-2); border: 1.5px solid var(--line-2);
  transition: border-color .3s, background-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.so-card > .ic { width: 46px; height: 46px; color: var(--c); margin-bottom: 6px; transition: transform .4s var(--ease); }
.so-card b { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.35rem; line-height: 1; }
.so-card small { color: var(--muted); font-size: .75rem; }
.so-check { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #05060B; transform: scale(0); transition: transform .35s var(--ease); }
.so-check .ic { width: 14px; height: 14px; stroke-width: 3.5; }
.sport-opt:hover .so-card { transform: translateY(-3px); }
.sport-opt input:checked + .so-card { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--surface-2)); box-shadow: 0 14px 34px -14px var(--c); }
.sport-opt input:checked + .so-card > .ic { transform: scale(1.12) rotate(-8deg); }
.sport-opt input:checked + .so-card .so-check { transform: scale(1); }
.sport-opt input:focus-visible + .so-card { outline: 2px solid var(--sky); outline-offset: 3px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.field label small { color: var(--dim); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text);
  font-size: 16px; /* prevents iOS zoom */
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .select-wrap select:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 45, 149, .18); }
.field input::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .6; }
.field-error { display: none; color: var(--loss); font-size: .78rem; font-weight: 500; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--loss); }
.field.invalid .field-error, .field-error.show { display: block; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.division-preview {
  --c: var(--pink);
  display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border-radius: 14px;
  background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  animation: pop .4s var(--ease);
}
.division-preview b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 2rem; line-height: 1; color: var(--c); }
.division-preview span { font-size: .88rem; color: var(--muted); }
.division-preview.warn { --c: var(--baseball); }

.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; cursor: pointer; font-size: .9rem; color: var(--muted); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check-box { width: 24px; height: 24px; flex: none; border-radius: 7px; border: 1.5px solid var(--line-2); background: var(--surface-2); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check-box .ic { width: 15px; height: 15px; stroke-width: 3.5; color: #fff; transform: scale(0); transition: transform .25s var(--ease); }
.check input:checked + .check-box { background: var(--brand); border-color: transparent; }
.check input:checked + .check-box .ic { transform: scale(1); }
.check input:focus-visible + .check-box { outline: 2px solid var(--sky); outline-offset: 3px; }

.review { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.review dt, .review dd { margin: 0; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.review dt { color: var(--muted); font-size: .82rem; font-weight: 600; background: rgba(255, 255, 255, .02); }
.review dd { font-weight: 600; word-break: break-word; }
.review dt:nth-last-of-type(1), .review dd:last-child { border-bottom: 0; }

.reg-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.reg-nav #reg-next { margin-left: auto; }
.step-done { text-align: center; padding: 20px 0 6px; }
.step-done p { color: var(--muted); margin: 12px auto 22px; max-width: 42ch; }
.done-badge { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); box-shadow: 0 0 0 10px rgba(255, 45, 149, .14), 0 20px 50px -10px var(--pink); animation: pop .6s var(--ease); }
.done-badge .ic { width: 40px; height: 40px; stroke-width: 3; color: #fff; }
.reg-card.is-done .stepper, .reg-card.is-done .stepper-bar, .reg-card.is-done .reg-nav { display: none; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background-color .3s; }
.faq[open] { border-color: rgba(255, 45, 149, .4); background: var(--surface-2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(255, 255, 255, .06); transition: transform .4s var(--ease), background .3s; }
.faq[open] summary .ic { transform: rotate(135deg); background: var(--brand); }
.faq-body { padding: 0 20px 20px; color: var(--muted); }
.faq[open] .faq-body { animation: fadeUp .45s var(--ease); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 32px; }
.c-card {
  display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease);
}
a.c-card:hover { border-color: rgba(255, 45, 149, .4); transform: translateX(4px); }
.c-card small { display: block; color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.c-card b { font-weight: 600; font-size: 1.05rem; word-break: break-all; }
.c-card .socials { margin-top: 6px; }
.c-card .socials a { width: 38px; height: 38px; }
.contact-form { padding: clamp(20px, 4vw, 32px); display: grid; gap: 20px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(60px, 9vw, 110px); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #08050F); }
.footer-word {
  position: absolute; left: 50%; top: 0; translate: -50% -18%; white-space: nowrap;
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 17vw; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .05); pointer-events: none;
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { width: 120px; height: auto; margin-bottom: 16px; }
.f-brand p { color: var(--muted); font-size: .92rem; max-width: 36ch; }
.f-col { display: grid; gap: 10px; align-content: start; }
.f-col h4 { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: 1.05rem; margin-bottom: 4px; }
.f-col a:not(.socials a) { color: var(--muted); font-size: .92rem; transition: color .2s; width: fit-content; }
.f-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 26px 0 34px; margin-top: 48px; border-top: 1px solid var(--line); color: var(--dim); font-size: .82rem; }

/* ---------- Floating UI ---------- */
.to-top {
  --p: 0;
  position: fixed; right: 20px; bottom: 24px; z-index: 40;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--pink) calc(var(--p) * 1turn), rgba(255, 255, 255, .12) 0);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.to-top::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--surface-2); }
.to-top .ic { position: relative; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover .ic { animation: bump .6s var(--ease); }
@keyframes bump { 50% { transform: translateY(-4px); } }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90;
  translate: -50% 0; transform: translateY(30px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 14px; max-width: calc(100vw - 32px);
  background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8);
  font-weight: 600; font-size: .92rem; display: flex; gap: 10px; align-items: center;
  transition: opacity .3s, transform .4s var(--ease);
}
.toast.show { opacity: 1; transform: none; }
.toast .ic { color: var(--win); }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 95; }

.tabbar { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .coach-grid { grid-template-columns: repeat(2, 1fr); }
  .age-finder { grid-template-columns: 1fr 1fr; }
  .af-results { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 62px; }
  .nav-desktop, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .brand .logo-img { width: 40px; height: 40px; }
  .brand-text { font-size: 1.3rem; }

  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 10px; right: 10px; z-index: 58;
    bottom: calc(10px + env(safe-area-inset-bottom));
    height: var(--tabbar-h);
    background: rgba(15, 18, 32, .85);
    backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid var(--line-2); border-radius: 22px;
    box-shadow: 0 14px 40px -6px rgba(0, 0, 0, .7);
  }
  .tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: .74rem;
    letter-spacing: .08em; text-transform: uppercase; color: var(--dim);
    transition: color .25s;
  }
  .tab .ic { width: 22px; height: 22px; transition: transform .3s var(--ease); }
  .tab.active { color: var(--text); }
  .tab.active .ic { color: var(--pink); transform: translateY(-2px); }
  .tab-fab {
    width: 52px; height: 52px; margin-top: -30px; margin-bottom: 2px;
    display: grid; place-items: center; border-radius: 16px; transform: rotate(45deg);
    background: var(--brand); color: #fff; box-shadow: 0 10px 26px -6px rgba(255, 45, 149, .8);
    border: 3px solid var(--bg);
  }
  .tab-fab .ic { transform: rotate(-45deg) !important; color: #fff !important; width: 24px; height: 24px; }
  .tab-join { color: var(--text); }
  body { padding-bottom: calc(var(--tabbar-h) + 20px + env(safe-area-inset-bottom)); }
  .to-top { bottom: calc(var(--tabbar-h) + 24px + env(safe-area-inset-bottom)); right: 14px; width: 46px; height: 46px; }
  .toast { bottom: calc(var(--tabbar-h) + 26px + env(safe-area-inset-bottom)); }

  /* Hero stacks */
  .hero { padding-bottom: 96px; align-items: flex-start; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-side { justify-items: stretch; animation: none; } /* an animated transform would trap the absolute visual */
  .next-game { animation: fadeUp 1s .55s var(--ease) both; }
  .hero-visual { position: absolute; top: calc(var(--header-h) + 10px); right: -22vw; width: 78vw; max-width: 460px; opacity: .55; z-index: -1; pointer-events: none; }
  .hv-badge { display: none; }
  .next-game { width: 100%; }
  .scroll-cue { display: none; }

  .program-panel { grid-template-columns: 1fr; }
  .reg-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .reg-info { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .section-head.row { align-items: flex-start; }
  .carousel-ctrl { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .seg { display: grid; width: 100%; }
  .seg-btn { padding: 0 8px; font-size: 1rem; gap: 6px; min-height: 46px; }
  .div-grid { grid-template-columns: 1fr 1fr; }
  .age-finder { grid-template-columns: 1fr; }
  .af-results { grid-column: auto; }

  .filters { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .filters .chip-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .filters .chip-row::-webkit-scrollbar { display: none; }
  .filters .chip { flex: none; }
  .filters-right { display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .filters-right .select-wrap { min-width: 0; }

  .game { grid-template-columns: 62px 1fr; gap: 14px; padding: 14px; }
  .g-date b { font-size: 1.7rem; }
  .g-side { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px dashed var(--line-2); }

  .feature-grid { grid-template-columns: 1fr; }
  .feature { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 20px; }
  .feature .f-ic { grid-row: span 2; }
  .feature h3 { margin: 0; font-size: 1.4rem; align-self: end; }

  .path-steps { grid-template-columns: 1fr; gap: 26px; padding-left: 34px; }
  .path-steps li { padding-top: 0; }
  .path-steps li::before { left: -34px; top: 4px; }
  .path-line { left: 8px; top: calc(clamp(1.6rem, 4vw, 2.2rem) + 30px + 8px); bottom: 20px; width: 2px; height: auto; right: auto; }
  .path-line span { width: 100%; height: 100%; transform: scaleY(0); transform-origin: top; }
  .pathway.in .path-line span { transform: scaleY(1); }

  .coach-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -16px; padding: 4px 16px 10px; scroll-padding-inline: 16px;
  }
  .coach-grid::-webkit-scrollbar { display: none; }
  .coach { scroll-snap-align: start; }

  .sport-options { grid-template-columns: 1fr; }
  .so-card { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; column-gap: 14px; padding: 14px 16px; }
  .so-card > .ic { grid-row: span 2; width: 38px; height: 38px; margin: 0; }
  .so-check { top: 50%; right: 14px; translate: 0 -50%; }

  .field-grid { grid-template-columns: 1fr; }
  .stepper em { font-size: .64rem; }
  .review { grid-template-columns: 1fr; }
  .review dt { border-bottom: 0; padding-bottom: 2px; }
  .review dd { padding-top: 0; }

  .t-ctrl .round-btn { display: none; }
  .pb-inner .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 440px) {
  .hero-chips { flex-wrap: nowrap; gap: 6px; }
  .hero-chips .chip { padding: 0 11px; font-size: .86rem; gap: 6px; flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 3.8rem; }
  .hero-ctas .btn { width: 100%; }
  .countdown b { font-size: 1.6rem; }
}

@media (hover: none) {
  .game:hover, .feature:hover, .coach:hover, .div-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
