/* ============================================================
   Nationals Kickoff Festival 2026
   Built on the SportsIQ Tournament Site Design Guide.
   Skeleton = locked (structure, components, a11y floor).
   Skin = Nationals: red #d2202f + royal #17468f + deep navy chrome,
   Zilla Slab display, skyline-from-roots signature.
   ============================================================ */

:root {
  /* --- Color roles (LOCKED names, Nationals values) --- */
  --c-ink: #101828;          /* primary text (near-navy)          */
  --c-ink-soft: #4a5568;     /* secondary text                    */
  --c-paper: #ffffff;        /* page background                   */
  --c-surface: #ffffff;      /* cards / raised areas              */
  --c-surface-alt: #f2f5fb;  /* alt sections, insets, scroll bg   */
  --c-black: #0b1f45;        /* DARK CHROME: header/footer/CTA/thead — re-skinned to navy */
  --c-near-black: #12305f;   /* lifted navy                       */
  --c-brand: #d2202f;        /* Nationals red — THE re-skin lever */
  --c-brand-deep: #a81523;   /* hover / deep red                  */
  --c-royal: #17468f;        /* Nationals royal (tier + links)    */
  --c-royal-soft: #e7edf7;   /* royal tint fill                   */
  --c-border: #dbe2ee;       /* hairlines, dividers               */

  /* status (never color-alone) */
  --c-win: #1b7f4b;
  --c-loss: #a81523;
  --c-pending: #8a93a6;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 2px rgba(11,31,69,.10);
  --shadow-md: 0 12px 30px rgba(11,31,69,.18);

  --container-w: 1200px;
  --header-h: 84px;

  --font-display: "Zilla Slab", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --focus: 0 0 0 3px rgba(210,32,47,.35);
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--c-royal); text-decoration-thickness: 1px; text-underline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.02;
  margin: 0;
  color: var(--c-black);
  letter-spacing: .01em;
}

:focus-visible {
  outline: 3px solid var(--c-brand);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: calc(clamp(16px, 4vw, 28px) + env(safe-area-inset-left, 0px));
  padding-inline-end: calc(clamp(16px, 4vw, 28px) + env(safe-area-inset-right, 0px));
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  color: var(--c-brand);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  background: var(--c-brand);
  display: inline-block;
}

/* ============================================================
   Buttons  (.btn / .btn-primary / .btn-ghost)
   ============================================================ */
.btn {
  --_bg: var(--c-brand);
  --_fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform .06s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(2px); }

.btn-primary { background: var(--c-brand-deep); color: #fff; }
.btn-primary:hover { background: var(--c-brand); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ghost on light backgrounds */
.btn-ghost.on-light { color: var(--c-black); border-color: var(--c-border); }
.btn-ghost.on-light:hover { border-color: var(--c-black); background: var(--c-surface-alt); }

/* ============================================================
   Sections
   ============================================================ */
.section { padding-block: clamp(56px, 9vw, 96px); }
.section-alt { background: var(--c-surface-alt); }
.section-navy { background: var(--c-black); color: #fff; }

#schedule-preview { padding-top: clamp(24px, 4vw, 40px); }
#venue {
  padding-top: clamp(24px, 4vw, 40px);
  padding-bottom: clamp(16px, 3vw, 32px);
}
#divisions { padding-top: clamp(16px, 3vw, 32px); }

.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 44px); }
.section h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  text-transform: uppercase;
  margin-top: 10px;
}
.section-navy h2 { color: #fff; }
.section-lede {
  margin-top: 14px;
  color: var(--c-ink-soft);
  font-size: 1.06rem;
}
.section-navy .section-lede { color: rgba(255,255,255,.82); }

/* page-level h1 title matches the h2 section-title scale */
.section h1.page-title {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  text-transform: uppercase;
  margin-top: 10px;
}

/* red tab above section titles (h1 or h2) */
.section h2.tab,
.section h1.tab { position: relative; padding-top: 18px; }
.section h2.tab::before,
.section h1.tab::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 56px; height: 4px;
  background: var(--c-brand);
}

/* ============================================================
   Header / nav  (.site-header .site-nav)
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-black);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.site-header .container {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.brand-lockup {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: #fff;
}
.brand-lockup img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.brand-dates {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin-top: 4px;
  display: inline-flex; align-items: center; gap: 7px;
}
.brand-dates::before {
  content: ""; width: 8px; height: 8px; flex: none;
  background: var(--c-brand); border-radius: 2px;
}

.nav-toggle {
  display: none;
  min-width: 44px; min-height: 44px;
  background: transparent; border: 1.5px solid rgba(255,255,255,.4);
  border-radius: var(--radius-sm); color: #fff; cursor: pointer;
  align-items: center; justify-content: center; gap: 7px;
  font: inherit; padding: 0 14px;
}
.nav-toggle .bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle .bars i { width: 18px; height: 2px; background: #fff; display: block; }

.site-nav ul {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 14px;
  color: rgba(255,255,255,.86);
  font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .1em;
  text-decoration: none;
  transition: color .2s ease;
}
.site-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px;
  height: 3px; background: var(--c-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: #fff; }

/* ============================================================
   Hero  (.hero) — SIGNATURE
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 78% -10%, #1a3d7a 0%, transparent 55%),
    linear-gradient(180deg, #0b1f45 0%, #0a1a3b 100%);
  color: #fff;
  isolation: isolate;
}
/* sparse starfield */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 32% 12%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 58% 28%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 74% 16%, rgba(255,255,255,.42) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 88% 34%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 22% 44%, rgba(255,255,255,.32) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 46% 8%, rgba(255,255,255,.4) 50%, transparent 51%);
  opacity: .9;
}
/* thin flag stripe on top edge */
.hero::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px; z-index: 2;
  background: linear-gradient(90deg,
    var(--c-brand) 0 33.33%, #ffffff 33.33% 66.66%, var(--c-royal) 66.66% 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding-block: clamp(24px, 4vw, 52px) clamp(96px, 14vw, 168px);
}
.hero-eyebrow { color: #fff; }
.hero-eyebrow::before { background: var(--c-brand); }
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: .95;
  text-transform: uppercase;
  color: #fff;
  margin: 18px 0 0;
}
.hero h1 .accent { color: var(--c-brand); }
.hero .lede {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,.86);
}
.hero .btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-crest {
  justify-self: center;
  width: min(100%, 300px);
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.45));
}

/* skyline-from-roots silhouette at the base of the hero */
.hero-skyline {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  width: 100%; height: clamp(96px, 12vw, 168px); display: block;
  color: #081428; /* silhouette fill via currentColor */
  pointer-events: none;
}
.hero-quickfacts {
  position: relative; z-index: 3;
  margin-top: -34px;
  padding-bottom: clamp(12px, 2vw, 24px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.qf {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-top: 4px solid var(--c-brand);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  backdrop-filter: blur(2px);
}
.qf .qf-label {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.62); font-weight: 700;
}
.qf .qf-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.35rem; color: #fff; margin-top: 4px;
}

/* ============================================================
   Skyline divider (reused signature motif)
   ============================================================ */
.skyline-divider { color: var(--c-black); display: block; width: 100%; height: auto; }
.skyline-divider.flip { transform: scaleY(-1); }

/* ============================================================
   Timeline  (schedule preview)
   ============================================================ */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline li {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-brand);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 8px 20px;
  align-items: center;
}
.timeline .tl-date {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; color: var(--c-royal);
  letter-spacing: .02em; font-size: 1.02rem;
}
.timeline .tl-title { font-weight: 600; }
.timeline .tl-title small { display: block; color: var(--c-ink-soft); font-weight: 400; }
.timeline .tl-tag {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
  font-weight: 700; color: var(--c-ink-soft);
}
.timeline-cta { margin-top: 22px; }

/* ============================================================
   Pill list / tier chips
   ============================================================ */
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-surface);
  font-weight: 600; font-size: .84rem;
  text-transform: uppercase; letter-spacing: .04em;
  transition: border-color .2s ease, background-color .2s ease;
}
.pill:hover { border-color: var(--c-brand); }

/* tier chips — the recurring device */
.tier {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px;
  font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .06em;
  border: 1.5px solid transparent;
}
.tier::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.tier-blue  { background: var(--c-royal-soft); color: var(--c-royal); border-color: #c7d6ee; }
.tier-blue::before { background: var(--c-royal); }
.tier-red   { background: #fbe3e5; color: var(--c-brand-deep); border-color: #f2c2c6; }
.tier-red::before { background: var(--c-brand); }
.tier-white { background: #fff; color: var(--c-ink); border-color: var(--c-border); }
.tier-white::before { background: #fff; border: 1.5px solid var(--c-border); }
.tier-stars { background: var(--c-black); color: #fff; border-color: var(--c-black); }
.tier-stars::before { content: "★"; width: auto; height: auto; color: #fff; font-size: .8em; }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-brand);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 {
  font-size: 1.4rem; text-transform: uppercase; margin-bottom: 8px;
}

.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }

/* division card */
.division-card .division-formats {
  margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px;
}
.division-card .fmt {
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: 4px 9px; border-radius: var(--radius-sm);
  background: var(--c-surface-alt); color: var(--c-ink-soft);
}
.division-card .division-tiers { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   Venue block
   ============================================================ */
.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.venue-info h3 { font-size: 1.6rem; text-transform: uppercase; }
.venue-info address {
  font-style: normal; color: var(--c-ink-soft); margin-top: 8px; font-size: 1.02rem;
}
.venue-info .venue-meta { margin-top: 18px; display: grid; gap: 10px; }
.venue-info .venue-meta div {
  border-left: 4px solid var(--c-brand);
  padding: 4px 0 4px 14px;
}
.venue-info .venue-meta .k {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--c-ink-soft); font-weight: 700;
}
.venue-map {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: block; position: relative;
}
.venue-map img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.venue-map .map-pin {
  position: absolute; inset: auto 12px 12px auto;
  background: var(--c-black); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 8px 12px; border-radius: var(--radius-sm);
}

/* ============================================================
   Filters  (.filters .filter)
   ============================================================ */
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-brand);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}
.filter { display: flex; flex-direction: column; gap: 6px; }
.filter-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--c-ink-soft);
}
.filter select {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-weight: 600;
  color: var(--c-ink);
  background: var(--c-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23d2202f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-brand);
  border-radius: var(--radius-sm);
  min-height: 48px;
  padding: 0 40px 0 14px;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.filter select:hover { border-color: var(--c-royal); border-left-color: var(--c-brand); }
.filter select:focus-visible { outline: none; box-shadow: var(--focus); border-left-color: var(--c-brand); }
.filter select:disabled {
  color: var(--c-pending); background-color: var(--c-surface-alt);
  border-left-color: var(--c-border); cursor: not-allowed;
}

.results-status {
  margin: 22px 0 0;
  font-weight: 600; color: var(--c-ink-soft);
}
.results-status[data-state="ready"] { color: var(--c-royal); }

/* ============================================================
   Teams panel
   ============================================================ */
.teams-panel {
  margin-top: 22px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-brand);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}
.teams-panel h3 { font-size: 1.2rem; text-transform: uppercase; margin-bottom: 4px; }
.teams-panel .empty { color: var(--c-ink-soft); font-style: italic; margin: 8px 0 0; }
.teams-grid { list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 8px; }
.teams-grid li {
  border-left: 3px solid var(--c-royal);
  padding: 6px 0 6px 12px; font-weight: 600;
}
.teams-grid li span { display: block; font-weight: 400; color: var(--c-ink-soft); font-size: .85rem; }

/* ============================================================
   Tables  (standings + games) — navy thead, red-tint hover, scroll wrapper
   ============================================================ */
.table-block { margin-top: 26px; }
.table-block > h3 {
  font-size: 1.25rem; text-transform: uppercase; margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.standings-wrap, .games-wrap {
  overflow-x: auto;
  background: var(--c-surface-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  -webkit-overflow-scrolling: touch;
}
table.standings-table, table.games-table {
  width: 100%; min-width: 560px;
  border-collapse: collapse;
  background: var(--c-surface);
  font-variant-numeric: tabular-nums;
}
.standings-table caption, .games-table caption {
  text-align: left; padding: 14px 16px 0; color: var(--c-ink-soft);
  font-size: .82rem; caption-side: top;
}
.standings-table thead th, .games-table thead th {
  background: var(--c-black);
  color: #fff;
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  text-align: center; padding: 12px 12px;
  white-space: nowrap;
}
.standings-table thead th:first-child { text-align: left; }
.standings-table tbody th[scope="row"] {
  text-align: left; font-weight: 700; color: var(--c-black);
  padding: 12px 14px; white-space: nowrap;
}
.standings-table td, .games-table td {
  text-align: center; padding: 12px 12px;
  border-top: 1px solid var(--c-border); color: var(--c-ink);
}
.standings-table tbody tr:hover, .games-table tbody tr:hover { background: #fdeef0; }
.standings-table td.pts { font-weight: 800; color: var(--c-brand-deep); }
.rank { font-weight: 800; color: var(--c-royal); }

/* result badges (never color alone — include letter) */
.wl { display: inline-flex; min-width: 22px; justify-content: center;
  font-weight: 800; border-radius: var(--radius-sm); padding: 1px 6px; font-size: .8rem; }
.wl-w { color: var(--c-win); background: #e5f4ec; }
.wl-l { color: var(--c-loss); background: #fbe3e5; }
.wl-d { color: var(--c-ink-soft); background: var(--c-surface-alt); }

/* games table home vs away */
.games-table td.home { text-align: right; font-weight: 600; }
.games-table td.away { text-align: left; font-weight: 600; }
.games-table td.vs { color: var(--c-ink-soft); font-weight: 700; font-size: .8rem; }
.games-table td.score { font-weight: 800; font-family: var(--font-display); }
.games-table td.score.pending { color: var(--c-pending); font-weight: 700; font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; }

/* ============================================================
   Rules
   ============================================================ */
.rules-summary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px; margin-bottom: clamp(28px, 4vw, 44px); }
.rules-summary-item {
  border-left: 4px solid var(--c-brand);
  background: var(--c-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 18px; box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--c-border);
  border-right: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.rules-summary-item .k {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--c-brand);
}
.rules-summary-item .v { margin-top: 4px; font-weight: 600; }

.rules-list { display: grid; gap: 20px; }
.rule-section {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-brand);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px clamp(20px, 3vw, 30px);
}
.rule-section h3 {
  font-size: 1.35rem; text-transform: uppercase;
  display: flex; align-items: baseline; gap: 12px;
}
.rule-section h3 .letter {
  font-size: 1rem; color: #fff; background: var(--c-royal);
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; font-family: var(--font-body); font-weight: 800;
}
.rule-section ol { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.rule-section ol li { padding-left: 4px; }

.rule-table { width: 100%; border-collapse: collapse; margin-top: 18px;
  font-variant-numeric: tabular-nums; overflow: hidden;
  border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
.rule-table caption { text-align: left; color: var(--c-ink-soft);
  font-size: .82rem; margin-bottom: 6px; }
.rule-table thead th {
  background: var(--c-black); color: #fff; text-align: left;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  padding: 10px 12px;
}
.rule-table td { padding: 10px 12px; border-top: 1px solid var(--c-border); }
.rule-table tbody tr:nth-child(even) { background: var(--c-surface-alt); }

/* ============================================================
   CTA band  (.section-cta) — email capture
   ============================================================ */
.section-cta {
  position: relative; overflow: hidden;
  background: var(--c-black); color: #fff;
  padding-block: clamp(48px, 8vw, 88px);
}
.section-cta::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg,
    var(--c-brand) 0 33.33%, #ffffff 33.33% 66.66%, var(--c-royal) 66.66% 100%);
}
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px,4vw,48px); align-items: center; }
.section-cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); text-transform: uppercase; }
.section-cta p { color: rgba(255,255,255,.82); margin-top: 12px; }
.signup { display: flex; flex-wrap: wrap; gap: 12px; }
.signup label { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.signup .signup-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  font-weight: 700; color: rgba(255,255,255,.7); }
.signup input[type="email"] {
  font: inherit; min-height: 48px; padding: 0 14px;
  border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06); color: #fff;
}
.signup input[type="email"]::placeholder { color: rgba(255,255,255,.45); }
.signup input[type="email"]:focus-visible { outline: none; box-shadow: var(--focus); border-color: var(--c-brand); }
.signup .btn { flex: 0 0 auto; align-self: end; }
.signup-status { flex-basis: 100%; margin: 0; min-height: 1.2em;
  font-weight: 600; color: var(--c-brand); font-size: .92rem; }

.toast-popup {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  max-width: min(320px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  background: rgba(11,31,69,.96);
  color: #fff;
  box-shadow: var(--shadow-md);
  font-weight: 700;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity .18s ease, transform .18s ease;
}

.toast-popup.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============================================================
   Footer  (.site-footer / .footer-sponsor)
   ============================================================ */
.site-footer {
  background: var(--c-black); color: rgba(255,255,255,.82);
  border-top: 4px solid var(--c-brand);
  padding-block: clamp(28px, 4vw, 40px);
  padding-bottom: calc(clamp(28px,4vw,40px) + env(safe-area-inset-bottom, 0px));
}
.footer-inner { display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand .fb-name { font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; color: #fff; letter-spacing: .02em; }
.footer-copy { font-size: .82rem; }
.footer-sponsor { display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-sponsor a { display: inline-flex; align-items: center; gap: 7px;
  color: #fff; font-weight: 700; text-decoration: none; }
.footer-sponsor a img { width: 18px; height: 18px; }
.footer-sponsor a:hover { text-decoration: underline; }

/* utility */
.stack-lg > * + * { margin-top: clamp(20px, 3vw, 32px); }
.center { text-align: center; }
.muted { color: var(--c-ink-soft); }

/* ============================================================
   Responsive  (fluid base + overrides at 720 / 600 / 380)
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-crest { grid-row: 1; width: min(60%, 220px); }
  .venue-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rules-summary { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .brand-dates { display: none; }              /* hide dates in lockup on small */
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--c-black); border-bottom: 1px solid rgba(255,255,255,.12);
    display: none; padding: 8px 0 14px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav .container { padding: 0; }
  .site-nav a { min-height: 52px; padding: 0 clamp(16px,4vw,28px); }
  .site-nav a::after { bottom: 12px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .timeline .tl-tag { justify-self: start; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-quickfacts { grid-template-columns: 1fr; margin-top: -20px; }
}

@media (max-width: 600px) {
  .standings-table td, .games-table td,
  .standings-table thead th, .games-table thead th,
  .standings-table tbody th[scope="row"] { padding: 9px 8px; font-size: .84rem; }
}

@media (max-width: 380px) {
  .site-header .container { gap: 8px; }
  .brand-lockup img { width: 44px; height: 44px; }
  .brand-name { font-size: 1rem; }
  .btn { padding: 0 18px; }
}

/* ============================================================
   Reduced motion — global kill switch
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
