:root {
  --blue: #3b3fb8;
  --blue-deep: #23267a;
  --ice: #c6e4fb;
  --ink: #0e1033;
  --header-h: 112px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
a { color: inherit; text-decoration: none; }

/* Header: transparent over the hero, crest centered, nav split either side */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(20px, 3.2vw, 64px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(8,10,40,.55), transparent);
  transition: background .25s;
}
.site-header.solid { background: var(--blue-deep); }
.nav { display: flex; gap: clamp(20px, 2.4vw, 40px); }
.nav-right { justify-content: flex-end; }
.nav a {
  font-weight: 700; font-size: 17px; letter-spacing: .02em; text-transform: uppercase;
  padding: 8px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a:focus-visible { border-bottom-color: #fff; outline: none; }
.crest img { display: block; width: 84px; height: 84px; transition: transform .2s; }
.crest:hover img { transform: scale(1.06); }

.menu-btn { display: none; }
.drawer { display: none; }

/* Hero: swap --hero-image for a team photo (public/img/hero.jpg) when available */
.hero {
  --hero-image: url(/img/hero/hero-2400.jpg);
  position: relative; min-height: 92vh;
  display: flex; align-items: flex-end;
  padding: 0 clamp(20px, 3.2vw, 64px) 72px;
  color: #fff;
  background:
    var(--hero-image) center 35% / cover no-repeat,
    radial-gradient(120% 90% at 70% 20%, #5a5fd6 0%, var(--blue) 40%, var(--blue-deep) 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,10,40,.55) 0, rgba(8,10,40,.15) 22%, rgba(8,10,40,0) 40%), linear-gradient(to top, rgba(8,10,40,.8), rgba(8,10,40,0) 60%); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--ice); }
.hero h1 { margin: 0; font-size: clamp(48px, 9vw, 128px); line-height: .95; text-transform: uppercase; letter-spacing: -.01em; }

.bar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--blue); color: #fff;
  padding: 14px clamp(20px, 3.2vw, 64px); min-height: 84px;
}
.bar p { margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.bar img { width: 72px; height: 72px; margin: -28px 0; }

.panel { padding: 96px clamp(20px, 3.2vw, 64px); min-height: 40vh; }
.panel.alt { background: #eef6fd; }
.panel h2 { margin: 0 0 12px; font-size: 40px; text-transform: uppercase; }
.panel p { margin: 0; color: #555a7a; }

.site-footer { background: var(--ink); color: #aab; text-align: center; padding: 40px 20px; font-size: 14px; }
.site-footer img { display: block; margin: 0 auto 12px; height: auto; }
.site-footer p { margin: 0; }

@media (max-width: 860px) {
  :root { --header-h: 84px; }
  .site-header { grid-template-columns: 1fr auto 1fr; }
  .nav { display: none; }
  .crest { grid-column: 2; }
  .crest img { width: 60px; height: 60px; }
  .menu-btn {
    display: grid; gap: 5px; justify-self: end; grid-column: 3;
    background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .menu-btn span { display: block; width: 24px; height: 2px; background: #fff; }
  .drawer:not([hidden]) {
    display: flex; flex-direction: column; position: fixed; z-index: 15;
    inset: 0; padding: calc(var(--header-h) + 16px) 24px 24px;
    background: var(--blue-deep); color: #fff;
  }
  .drawer a { font-weight: 700; font-size: 28px; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  body.menu-open .site-header { background: var(--blue-deep); }
  body.menu-open { overflow: hidden; }
  .hero { min-height: 80vh; padding-bottom: 48px; }
}

/* ---------- Inner pages ---------- */
.site-header.always { background: var(--blue-deep); }
body.subpage { padding-top: var(--header-h); }
.panel .more { color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.muted { color: #6b7090; }
.eyebrow.dark { color: var(--blue); }

.page-head { padding: 56px clamp(20px, 3.2vw, 64px) 8px; max-width: 1400px; margin: 0 auto; }
.page-head .eyebrow { color: var(--blue); }
.page-head h1 { margin: 0; font-size: clamp(44px, 7vw, 96px); line-height: .95; text-transform: uppercase; }
.lede { margin: 16px 0 0; max-width: 56ch; color: #555a7a; font-size: 18px; }

.roster { padding: 24px clamp(20px, 3.2vw, 64px) 96px; max-width: 1400px; margin: 0 auto; }
.group {
  display: flex; align-items: baseline; gap: 12px; margin: 48px 0 20px; padding-bottom: 10px;
  border-bottom: 3px solid var(--blue); font-size: 28px; text-transform: uppercase;
}
.group span { font-size: 15px; color: #6b7090; font-weight: 700; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.card { display: block; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 0 rgba(14,16,51,.08), 0 6px 18px rgba(14,16,51,.06); transition: transform .18s, box-shadow .18s; }
.card:hover, .card:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(14,16,51,.18); outline: none; }
.card:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.card-photo { position: relative; aspect-ratio: 4 / 5; background: var(--blue-deep); overflow: hidden; }
.card-photo img, .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph {
  display: grid; place-items: center;
  background: radial-gradient(120% 90% at 70% 20%, #5a5fd6, var(--blue) 45%, var(--blue-deep));
}
.ph span { font-size: 88px; font-weight: 800; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.55); letter-spacing: -.02em; }
.card-num { position: absolute; left: 10px; bottom: 8px; color: #fff; font-size: 40px; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.card-photo .ph + .card-num { display: none; }
.card-info { padding: 12px 14px 16px; }
.card-info strong { display: block; font-size: 17px; text-transform: uppercase; line-height: 1.15; }
.card-info strong span { color: var(--blue); }
.card-info small { display: block; margin-top: 4px; color: #6b7090; font-size: 13px; letter-spacing: .04em; }

.crumbs { max-width: 1200px; margin: 0 auto; padding: 28px clamp(20px, 3.2vw, 64px) 0; }
.crumbs a { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--blue); }
.crumbs a:hover { text-decoration: underline; }

.profile {
  max-width: 1200px; margin: 0 auto; padding: 24px clamp(20px, 3.2vw, 64px) 64px;
  display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: start;
}
.profile-photo { position: sticky; top: calc(var(--header-h) + 24px); border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--blue-deep); }
.profile-photo img, .profile-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.profile-photo .ph span { font-size: 180px; }
.big-num { margin: 0; font-size: 20px; font-weight: 800; color: var(--blue); }
.big-num::before { content: "#"; }
.profile h1 { margin: 4px 0 14px; font-size: clamp(40px, 6vw, 80px); line-height: .95; text-transform: uppercase; }
.profile h1 span { color: var(--blue); }
.chips { margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--ice); color: var(--blue-deep); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; }
.facts { margin: 0 0 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border-top: 1px solid #dde3f2; }
.facts div { padding: 14px 0; border-bottom: 1px solid #dde3f2; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6b7090; }
.facts dd { margin: 4px 0 0; font-size: 17px; font-weight: 600; }
.block { margin-top: 40px; }
.block h2 { margin: 0 0 14px; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.block h3 { margin: 24px 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: #6b7090; }
.bio p { margin: 0 0 14px; max-width: 65ch; line-height: 1.6; font-size: 17px; }
.tbl-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #e3e8f4; white-space: nowrap; }
thead th { background: var(--blue-deep); color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
th.n, td.n { text-align: right; font-variant-numeric: tabular-nums; }
tbody th { font-weight: 600; }

.pager { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 3.2vw, 64px) 80px; display: flex; justify-content: space-between; gap: 16px; }
.pager a { display: block; padding: 14px 20px; border: 2px solid var(--blue); border-radius: 6px; font-weight: 700; text-transform: uppercase; color: var(--blue); }
.pager a:last-child { text-align: right; }
.pager a:hover { background: var(--blue); color: #fff; }
.pager small { display: block; font-size: 11px; letter-spacing: .1em; opacity: .75; }

@media (max-width: 860px) {
  .profile { grid-template-columns: 1fr; }
  .profile-photo { position: static; max-width: 340px; }
  .cards { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .ph span { font-size: 64px; }
}

/* ---------- Schedule & stats ---------- */
.actions { margin: 20px 0 0; }
.btn { display: inline-block; background: var(--blue); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; padding: 12px 20px; border-radius: 4px; }
.btn:hover { background: var(--blue-deep); }
.sched { padding: 8px clamp(20px, 3.2vw, 64px) 96px; max-width: 1100px; margin: 0 auto; }
.page-head + .sched { max-width: 1400px; }
.games { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.game { display: grid; grid-template-columns: 84px 1fr auto; gap: 20px; align-items: center; background: #fff; border-radius: 6px; padding: 14px 20px 14px 14px; box-shadow: 0 1px 0 rgba(14,16,51,.08), 0 6px 18px rgba(14,16,51,.06); }
.game.past { box-shadow: none; border: 1px solid #e3e8f4; }
.game-date { background: var(--blue-deep); color: #fff; border-radius: 4px; text-align: center; padding: 10px 0; line-height: 1; }
.game.past .game-date { background: #6b7090; }
.game-date b { display: block; font-size: 34px; }
.game-date span { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.game-date small { display: block; margin-top: 3px; font-size: 11px; opacity: .75; text-transform: uppercase; letter-spacing: .08em; }
.game-main h3 { margin: 0 0 4px; font-size: 24px; text-transform: uppercase; }
.game-main h3 .vs { color: var(--blue); font-size: 15px; letter-spacing: .08em; }
.game-main p { margin: 0; color: #555a7a; }
.game-main a { text-decoration: underline; text-underline-offset: 2px; }
.game-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.tag { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--ice); color: var(--blue-deep); }
.tag.away { background: #e8e9f0; color: #3a3d5c; }
.res { font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.res.w { color: #14803c; }
.res.l { color: #b3261e; }
.res.none { font-size: 13px; font-weight: 600; color: #6b7090; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 24px 0 0; }
.tiles div { background: var(--blue-deep); color: #fff; border-radius: 6px; padding: 18px 20px; }
.tiles b { display: block; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.tiles span { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ice); }
.sched table th i { font-style: normal; color: #6b7090; font-weight: 600; display: inline-block; min-width: 38px; }
.sched table a:hover { color: var(--blue); text-decoration: underline; }
.fine { margin-top: 28px; font-size: 13px; }
@media (max-width: 560px) {
  .game { grid-template-columns: 64px 1fr; padding: 12px; gap: 14px; }
  .game-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .game-date b { font-size: 28px; }
  .game-main h3 { font-size: 20px; }
}
.sched table tr.us th, .sched table tr.us td { background: #eef6fd; }

@media (max-width: 900px) { .hero { --hero-image: url(/img/hero/hero-1200.jpg); } }

/* ---------- Photos ---------- */
.gallery { padding: 24px clamp(20px, 3.2vw, 64px) 96px; max-width: 1400px; margin: 0 auto; }
.grid { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 14px; }
.grid li { break-inside: avoid; margin: 0 0 14px; }
.grid button { display: block; width: 100%; padding: 0; border: 0; background: var(--ice); border-radius: 4px; overflow: hidden; cursor: zoom-in; }
.grid img { display: block; width: 100%; height: auto; transition: transform .25s; }
.grid button:hover img, .grid button:focus-visible img { transform: scale(1.03); }
.grid button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8,10,40,.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; text-align: center; color: #fff; max-width: min(1200px, 88vw); }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 4px; }
.lightbox figcaption { margin-top: 12px; font-size: 14px; opacity: .85; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 20px 0 16px; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; }
.site-footer nav { margin-bottom: 14px; }
.site-footer nav a { color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; margin: 0 10px; }

.site-footer .credit { margin: 0 0 6px; }
.site-footer .credit a { color: var(--ice); text-decoration: underline; text-underline-offset: 2px; }
.lede a.inline { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
