:root {
  --rush-blue: #1068b0;
  --rush-blue-dark: #0b4f88;
  --rush-blue-light: #e8f1fa;
  --ink: #0f1720;
  --ink-soft: #4a5563;
  --line: #dfe5ec;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --black: #111418;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(15, 23, 32, 0.08);
  --max: 1160px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--rush-blue); }
h1, h2, h3 { font-family: "Oswald", "Inter", sans-serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); text-transform: uppercase; }
h3 { font-size: 1.25rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow { color: var(--rush-blue); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin: 0 0 .4em; }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 720px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--rush-blue); color: #fff; }
.btn-primary:hover { background: var(--rush-blue-dark); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--black); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
.brand img { height: 44px; width: auto; }
.brand span { font-family: "Oswald", sans-serif; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.brand span b { color: var(--rush-blue); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--rush-blue-light); }
.nav a.active { background: var(--rush-blue); color: #fff; }
.nav .btn { margin-left: 8px; padding: 9px 18px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: var(--rush-blue); }
.nav a.btn-primary:hover { background: var(--rush-blue-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--black); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("../assets/img/club-huddle.jpg") center 60%/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,79,136,.9) 0%, rgba(11,79,136,.65) 45%, rgba(17,20,24,.25) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 110px 20px 120px; }
.hero p { font-size: 1.15rem; max-width: 620px; color: #e6edf5; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero { background: linear-gradient(100deg, var(--rush-blue-dark), var(--black)); color: #fff; }
.page-hero .wrap { padding: 64px 20px; }
.page-hero p { color: #d7e3ef; max-width: 680px; margin: 0; }

/* Cards / grids */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-soft); margin: 0 0 1em; }
.card .meta { font-size: .85rem; font-weight: 700; color: var(--rush-blue); text-transform: uppercase; letter-spacing: .06em; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split img.cutout { box-shadow: none; border-radius: 0; max-width: 460px; margin: 0 auto; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.values li { background: var(--rush-blue-light); color: var(--rush-blue-dark); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; }

/* Team tiles (home) */
.team-tile { position: relative; display: flex; align-items: flex-end; min-height: 170px; border-radius: var(--radius); padding: 22px; text-decoration: none; color: #fff; overflow: hidden; box-shadow: var(--shadow); transition: transform .15s; }
.team-tile:hover { transform: translateY(-3px); }
.team-tile h3 { margin: 0; font-size: 1.7rem; text-transform: uppercase; }
.team-tile small { display: block; opacity: .85; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.swatch-black { background: linear-gradient(140deg, #2a2f36, var(--black)); }
.swatch-blue { background: linear-gradient(140deg, #2b86d1, var(--rush-blue-dark)); }
.swatch-white { background: linear-gradient(140deg, #ffffff, #e3e9f0); color: var(--black) !important; border: 1px solid var(--line); }

/* Team galleries */
.team-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.team-tabs button { border: 2px solid var(--line); background: #fff; padding: 10px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: .95rem; }
.team-tabs button[aria-selected="true"] { background: var(--rush-blue); border-color: var(--rush-blue); color: #fff; }
.team-section { scroll-margin-top: 90px; margin-bottom: 64px; }
.team-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-bottom: 3px solid var(--rush-blue); padding-bottom: 10px; margin-bottom: 22px; }
.team-head h2 { margin: 0; }
.team-head .sub { color: var(--ink-soft); font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } .placeholder { font-size: .75rem; } }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery button:hover img { transform: scale(1.04); }
.placeholder { aspect-ratio: 4 / 3; border-radius: 10px; display: grid; place-items: center; text-align: center; font-weight: 600; font-size: .9rem; color: var(--ink-soft); background: repeating-linear-gradient(45deg, var(--bg-alt), var(--bg-alt) 10px, #edf1f5 10px, #edf1f5 20px); border: 2px dashed var(--line); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(8, 12, 18, .92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 40px 60px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #d8e0e8; margin-top: 12px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 1.6rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Footage */
.filters { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-top: -40px; position: relative; }
.filters label { display: block; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 6px; }
.filters select { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; font-size: 1rem; background: #fff; }
.filters select:focus { outline: none; border-color: var(--rush-blue); }
@media (max-width: 700px) { .filters { grid-template-columns: 1fr; } }
.tourney-head { margin: 40px 0 20px; }
.tourney-head .meta { color: var(--ink-soft); font-weight: 600; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--black); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .pending { position: absolute; inset: 0; display: grid; place-items: center; color: #9fb0c2; font-weight: 600; text-align: center; padding: 20px; }
.video-card .body { padding: 14px 18px 18px; }
.video-card .body h3 { font-size: 1.05rem; margin: 6px 0 0; font-family: inherit; }
.tag { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.tag-black { background: var(--black); color: #fff; }
.tag-blue { background: var(--rush-blue); color: #fff; }
.tag-white { background: #fff; color: var(--black); border: 1px solid var(--ink); }
.empty { padding: 40px; text-align: center; color: var(--ink-soft); border: 2px dashed var(--line); border-radius: var(--radius); }

/* Footer */
.site-footer { background: var(--black); color: #c9d3de; padding: 56px 0 24px; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #8fc3ee; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand img { height: 52px; width: auto; background: #fff; border-radius: 8px; padding: 6px 10px; margin-bottom: 14px; }
.footer-brand p { margin: 0; font-style: italic; color: #9fb0c2; }
.footer-bottom { border-top: 1px solid #262c33; margin-top: 40px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #8c99a8; }
