/* Southwest Wildcats U22 Elite
   Layout: black scoreboard header, white rink-board pages, red "goal line" stripes.
   Colours are the team's red, white and black. Change them here only. */
:root {
  --red: #A52C33;        /* main accent: matched to the red in the team logo */
  --red-dark: #82212A;   /* hover and pressed */
  --black: #121212;      /* header, footer, dark bands */
  --ink: #1B1B1D;        /* body text */
  --muted: #5E5A5C;      /* secondary text (warm grey, leans toward the red) */
  --ice: #F4F3F3;        /* soft card background */
  --line: #E1DEDF;       /* borders */
  --white: #FFFFFF;
  --check: #8A5A00;      /* "needs checking" badges in preview mode */
  --check-bg: #FFF3D6;

  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.2rem;
  --step-4: clamp(2.6rem, 7vw, 4.6rem);
  --wrap: 72rem;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-4); font-style: italic; }
h2 { font-size: var(--step-3); font-style: italic; }
h3 { font-size: var(--step-1); }
p { margin: 0; max-width: 65ch; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--step--1);
  color: var(--red);
}
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2.5rem; }

/* ---------- Preview banner ---------- */
.preview-bar {
  background: var(--check-bg);
  color: var(--check);
  font-size: var(--step--1);
  border-bottom: 1px solid #E8D29A;
}
.preview-bar .wrap { padding-block: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; align-items: center; }
.preview-bar strong { font-weight: 700; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--black); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--black); color: var(--white);
  border-bottom: 4px solid var(--red);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.crest {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  background: var(--red); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.15rem;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
}
.crest-logo { flex: none; display: grid; place-items: center; background: var(--white); border-radius: 4px; padding: 3px 6px; }
.crest-logo img { height: 45px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.3rem; letter-spacing: 0.02em; }
.brand-text span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; color: #CFCBCC; margin-top: 3px; }

.nav-toggle {
  display: none;
  background: transparent; color: var(--white);
  border: 2px solid #444; border-radius: 4px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem; cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.15rem; }
.site-nav a {
  display: block; padding: 0.5rem 0.65rem;
  color: var(--white); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1rem;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--white); border-bottom-color: #555; }
.site-nav a[aria-current="page"] { border-bottom-color: var(--red); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-bottom: 4px solid var(--red); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 0.5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px)); }
  .site-nav a { padding: 0.7rem 0; border-bottom: 1px solid #2A2A2A; }
  .site-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--red); }
}

/* ---------- Buttons, badges ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.3rem;
  background: var(--red); color: var(--white);
  border: 2px solid var(--red); border-radius: 3px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.05rem;
  text-decoration: none; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn.ghost:hover { background: var(--white); color: var(--black); }
.btn.outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.tag {
  display: inline-block; padding: 0.15rem 0.5rem;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem;
  background: var(--black); color: var(--white); border-radius: 2px;
}
.tag.red { background: var(--red); }
.tag.light { background: var(--ice); color: var(--ink); border: 1px solid var(--line); }
.check {
  display: inline-block; padding: 0.1rem 0.45rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--check); background: var(--check-bg); border: 1px dashed var(--check); border-radius: 2px;
}
.check-note { font-size: var(--step--1); color: var(--check); }

/* ---------- Placeholders ---------- */
.ph {
  background:
    repeating-linear-gradient(135deg, rgba(18,18,18,0.06) 0 10px, transparent 10px 20px),
    var(--ice);
  color: var(--muted);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700;
}
.ph.dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 10px, transparent 10px 20px),
    #1E1E20;
  color: #9A9496;
}

/* ---------- Hero ---------- */
.hero { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { position: relative; padding-block: clamp(2.5rem, 7vw, 5rem); display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { color: var(--red); font-style: italic; }
.hero p { color: #DAD6D7; font-size: var(--step-1); line-height: 1.5; }
.hero-art { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border: 1px solid #333; }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .ph { position: absolute; inset: 0; background: transparent; color: #8E8889; align-items: end; padding-bottom: 0.8rem; }
.hero-stripe { position: absolute; inset: auto 0 0; height: 10px; background: linear-gradient(90deg, var(--red) 0 70%, var(--white) 70% 72%, var(--red) 72%); }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- Page header for inner pages ---------- */
.page-head { background: var(--black); color: var(--white); border-bottom: 1px solid #000; }
.page-head .wrap { padding-block: 2.5rem 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.page-head p { color: #D2CECF; font-size: var(--step-1); line-height: 1.5; }
.section { padding-block: 3rem; }
.section.alt { background: var(--ice); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; border-bottom: 3px solid var(--ink); padding-bottom: 0.6rem; }

/* ---------- Home blocks ---------- */
.home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 820px) { .home-grid { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); background: var(--white); padding: 1.4rem; display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.panel.dark { background: var(--black); color: var(--white); border-color: var(--black); }
.panel.dark .muted { color: #BDB8B9; }

.gameday { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; align-items: center; }
.gameday .date-block { grid-row: span 2; text-align: center; background: var(--red); color: var(--white); padding: 0.5rem 0.8rem; font-family: var(--font-display); line-height: 1; }
.date-block .mon { display: block; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; }
.date-block .day { display: block; font-size: 2.2rem; font-weight: 800; }
.gameday .opp { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.4rem; line-height: 1.05; }

.invite-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 820px) { .invite-list { grid-template-columns: 1fr; } }
.invite { border-top: 6px solid var(--red); background: var(--white); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; box-shadow: 0 1px 0 var(--line), 0 10px 24px -18px rgba(0,0,0,0.35); min-width: 0; }
.invite .camp { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.invite .who { font-weight: 600; }

/* ---------- Watch (YouTube teaser) ---------- */
.watch { background: var(--black); color: var(--white); border-top: 6px solid var(--red); }
.watch .wrap { padding-block: 3rem; }
.watch-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (max-width: 820px) { .watch-grid { grid-template-columns: 1fr; } }
.watch h2 { color: var(--white); }
.watch p { color: #D2CECF; }
.watch .muted { color: #A9A4A5; }
.reel { position: relative; display: block; border: 1px solid #333; }
.reel video { display: block; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; object-fit: cover; background: #000; }
.reel-cta { position: absolute; left: 1rem; bottom: 1rem; background: var(--red); color: var(--white); padding: 0.45rem 0.9rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 2px; transition: transform 0.15s; }
.reel:hover .reel-cta { transform: translateY(-2px); }
.clip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.clip-list a { color: var(--white); font-weight: 600; }

.insta-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border: 1px solid var(--line); max-width: 26rem; width: 100%; justify-self: center; }
.insta-card img, .insta-card .ph { aspect-ratio: 1 / 1; width: 100%; max-width: 100%; object-fit: cover; }
.insta-bar { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0.9rem; border-top: 4px solid var(--red); font-size: var(--step--1); }
.insta-card:hover { color: var(--ink); box-shadow: 0 14px 28px -18px rgba(0,0,0,0.45); }

/* ---------- Roster cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.chip {
  border: 2px solid var(--ink); background: var(--white); color: var(--ink);
  padding: 0.35rem 0.9rem; border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 155px), 1fr)); gap: 1rem; }
.card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); min-width: 0;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(0,0,0,0.45); }
.card { position: relative; }
.play-chip { position: absolute; top: 0.6rem; right: 0.6rem; background: var(--red); color: var(--white); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem; padding: 0.15rem 0.5rem; border-radius: 2px; }
.intro-video { border-bottom: 6px solid var(--red); background: var(--black); }
.intro-video video { display: block; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; background: var(--black); }
.card .photo { aspect-ratio: 4 / 5; max-width: 100%; position: relative; overflow: hidden; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; }
.card .photo .num-ghost { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 5rem; color: rgba(18,18,18,0.12); letter-spacing: 0; }
.card .info { padding: 0.8rem 0.9rem 1rem; display: flex; flex-direction: column; gap: 0.2rem; border-top: 4px solid var(--red); }
.card .num-line { display: flex; align-items: baseline; gap: 0.5rem; }
.card .num { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.6rem; color: var(--red); line-height: 1; font-variant-numeric: tabular-nums; }
.card .name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1.05; }
.card .meta { font-size: var(--step--1); color: var(--muted); }

/* ---------- Profile ---------- */
.staff-row { display: flex; flex-wrap: wrap; gap: 1rem; border-top: 3px solid var(--ink); padding-top: 1rem; }
.staff-line { display: flex; flex-direction: column; gap: 0.15rem; text-decoration: none; color: var(--ink); }
.staff-line .name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; }
.staff-line:hover { color: var(--red); }
.profile.no-photo { grid-template-columns: minmax(0, 1fr); max-width: 48rem; }
.back { display: inline-block; margin-bottom: 1rem; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; text-decoration: none; }
.profile { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } }
.profile .photo { aspect-ratio: 4 / 5; max-width: 100%; border-bottom: 6px solid var(--red); overflow: hidden; }
.profile .photo img { width: 100%; height: 100%; object-fit: cover; }
.profile .big-num { font-family: var(--font-display); font-weight: 800; font-style: italic; color: var(--red); font-size: clamp(3rem, 10vw, 5.5rem); line-height: 0.9; font-variant-numeric: tabular-nums; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 0; border-top: 3px solid var(--ink); margin: 0; }
.facts div { padding: 0.7rem 0.8rem 0.7rem 0; border-bottom: 1px solid var(--line); min-width: 0; }
.facts dt { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--muted); font-weight: 700; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.history { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.empty-line { color: var(--muted); font-style: italic; }

/* ---------- Alumni ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 0; border: 1px solid #333; }
.stat { padding: 1rem 1.2rem; border-right: 1px solid #333; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.stat span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; color: #CFCBCC; }
.alumni-list { display: flex; flex-direction: column; border-top: 3px solid var(--ink); }
.alum { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 2fr); gap: 0.4rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.alum .nm { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.2rem; line-height: 1.1; }
.alum .ht { font-size: var(--step--1); color: var(--muted); }
.alum .wc { font-size: var(--step--1); }
.alum .wc b { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--muted); }
.alum .tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.3rem; }
.alum .src { font-size: 0.8rem; }
@media (max-width: 760px) { .alum { grid-template-columns: 1fr; } }
.note-box { border-left: 4px solid var(--ink); background: var(--ice); padding: 1rem 1.2rem; font-size: var(--step--1); }

/* ---------- Schedule ---------- */
.games { display: flex; flex-direction: column; border-top: 3px solid var(--ink); }
.game { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.game .when { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 1.1; font-variant-numeric: tabular-nums; }
.game .when small { display: block; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; }
.game .vs { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1.1; }
.game .where { font-size: var(--step--1); color: var(--muted); }
.game.past { opacity: 0.55; }
@media (max-width: 560px) { .game { grid-template-columns: 4.5rem minmax(0, 1fr); } .game .tag { grid-column: 2; justify-self: start; } }

/* ---------- Sponsors, gallery ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 1rem; }
.logo-tile { aspect-ratio: 3 / 2; max-width: 100%; border: 1px solid var(--line); display: grid; place-items: center; padding: 1rem; text-align: center; background: var(--white); gap: 0.3rem; }
.logo-tile .nm { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 0.75rem; }
.gallery-grid .ph, .gallery-grid img { aspect-ratio: 4 / 5; max-width: 100%; width: 100%; object-fit: cover; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; background: var(--white); border: 1px solid var(--line); padding: 1.5rem; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.field label { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid var(--line); border-radius: 3px; padding: 0.6rem 0.7rem; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.form-msg { grid-column: 1 / -1; padding: 0.8rem 1rem; background: var(--check-bg); color: var(--check); border: 1px dashed var(--check); font-size: var(--step--1); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 2.5rem; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #CFCBCC; border-top: 6px solid var(--red); font-size: var(--step--1); }
.site-footer .wrap { padding-block: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.site-footer a { color: var(--white); }
.site-footer h3 { color: var(--white); font-size: 1rem; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.3rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.load-error { padding: 2rem; margin: 2rem auto; max-width: 40rem; border: 2px solid var(--red); background: var(--white); }

.game-photo { margin: 0; width: 100%; }
.game-photo img, .game-photo .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-bottom: 4px solid var(--red); }

.hero.has-photo .wrap { grid-template-columns: 1fr; padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.hero.has-photo .wrap .stack { max-width: 46rem; }
.team-photo { margin: 0; padding: 0 0 10px; }
.team-photo img { display: block; width: 100%; max-width: 1400px; margin-inline: auto; aspect-ratio: 20 / 9; object-fit: cover; }

/* Leadership team / seniors */
.group-photo { margin: 0; width: 100%; }
.group-photo img, .group-photo .ph { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; display: block; border-bottom: 4px solid var(--red); }
.two-col.group { align-items: center; }
.group-list { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .6rem; }
.group-list li { font-size: 1.05rem; border-bottom: 1px solid rgba(0,0,0,.08); padding-bottom: .6rem; }
.group-list a { color: inherit; text-decoration: none; font-weight: 700; }
.group-list a:hover { color: var(--red); }
.group-list .num { color: var(--red); font-family: inherit; }

/* Player photo swipe gallery */
.pgal { display: flex; gap: .6rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: .4rem; margin-top: .75rem; }
.pgal img { flex: 0 0 72%; max-width: 320px; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; border-bottom: 4px solid var(--red); }
.pgal-hint { font-size: .8rem; }

/* Live stats embed */
.stats-frame { border: 1px solid rgba(0,0,0,.12); border-top: 4px solid var(--red); background: #fff; margin: 1rem 0; }
.stats-frame iframe { width: 100%; height: 520px; border: 0; display: block; }
@media (max-width: 600px) { .stats-frame iframe { height: 440px; } }

.video-embed{position:relative;aspect-ratio:16/9;background:#000;border-radius:6px;overflow:hidden}
.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

.map-embed{margin-top:.75rem;aspect-ratio:4/3;max-height:320px;width:100%;border-radius:6px;overflow:hidden;background:#ddd}
.map-embed iframe{width:100%;height:100%;border:0}

.camp-logo{height:40px;width:auto;vertical-align:middle;margin-right:.5rem}

.gallery-grid img.wide { grid-column: 1 / -1; aspect-ratio: auto; height: auto; }
.gallery-grid video.wide { grid-column: 1 / -1; width: 100%; max-height: 80vh; background: #000; }
.gallery-grid video.wide.tall { max-width: 420px; justify-self: center; background: transparent; }
.player-quote { margin: 0; padding: .9rem 1.1rem; border-left: 4px solid var(--red, #c8102e); background: rgba(0,0,0,.04); }
.player-quote p { margin: .35rem 0 0; font-style: italic; }
.earlier-games{margin-top:16px}.earlier-games summary{cursor:pointer;font-weight:700;padding:10px 0}.earlier-games .games{margin-top:8px}
.gallery-grid figure.labeled{position:relative;margin:0}.gallery-grid figure.labeled.wide{grid-column:1/-1}.gallery-grid figure.labeled.wide img{aspect-ratio:auto;height:auto;display:block}.gallery-grid figure.labeled figcaption{position:absolute;left:0;bottom:0;background:rgba(0,0,0,.72);color:#fff;font-family:'Barlow Condensed',sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.04em;font-size:clamp(1rem,3.5vw,1.6rem);padding:.4em .8em;border-top-right-radius:6px;border-left:5px solid #A52C33}
.media-credit{font-size:.875rem;opacity:.8;margin:0}
