/* ============================================================
   site.css: Exeter Seahawks
   Client-owned. Loaded after base.css. Values come from tokens.css.

   Palette rule: the accent (--brand-accent, sky blue) sits on navy or is a
   fill behind navy text. It never carries text on white (2.2:1). The board
   asked for green to go in September 2026: too close to the Seattle
   Seahawks. Blue, grey and white only.
   ============================================================ */

/* ── Typography ───────────────────────────────────────────── */
/* The club's domain name is 34 characters with nothing to break on, so on a
   320px phone it ran off the edge wherever it appears in prose. */
body { line-height: 1.6; font-size: 1.0625rem; overflow-wrap: break-word; }

h1, h2, h3, h4 {
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  color: var(--brand-primary);
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); text-transform: uppercase; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); text-transform: uppercase; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p, ul, ol { margin-bottom: var(--space-sm); }
p { max-width: 68ch; text-wrap: pretty; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }
strong { font-weight: 700; }

a { color: var(--brand-primary-text); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--brand-primary-dark); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary-text);
  margin-bottom: var(--space-xs);
}

/* Town list. A town never breaks in two, its separator stays with it so no
   line can start with a bullet, and the lines balance rather than dropping
   one town on its own. */
.eyebrow--towns { max-width: none; text-wrap: balance; } /* beats the 68ch measure on p */
.eyebrow--towns span { white-space: nowrap; }
.eyebrow--towns span:not(:last-child)::after { content: " ·"; }

.lead { font-size: 1.2rem; color: var(--brand-ink-muted); }
.muted { color: var(--brand-ink-muted); }
.section { padding-block: var(--space-xl); }
.section--tight { padding-block: var(--space-lg); }
.section__head { margin-bottom: var(--space-lg); }
.section__head p { color: var(--brand-ink-muted); }

/* Dark contexts: navy background, white text, accent highlights. Focus
   rings switch to the accent so they stay visible (6.4:1 on navy). */
.on-dark, .site-footer, .utility-bar, .hero--photo {
  --focus-ring: var(--brand-accent);
}
.on-dark :focus-visible, .site-footer :focus-visible,
.utility-bar :focus-visible, .hero--photo :focus-visible {
  outline-color: var(--brand-accent);
}
.on-dark { background: var(--brand-primary); color: #fff; }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a { color: #fff; }
.on-dark .eyebrow { color: var(--brand-accent); }
.on-dark p { color: #E3E9F2; }

/* ── Utility bar ──────────────────────────────────────────── */
.utility-bar {
  background: var(--brand-primary-dark);
  color: #E3E9F2;
  font-size: 0.9rem;
}
.utility-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  min-height: 2.5rem;
}
.utility-bar p { margin: 0; }
.utility-bar a { color: #fff; }
.utility-bar__links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}
.utility-bar__links li { margin: 0; }
.utility-bar__links a {
  display: inline-block;
  padding-block: 0.4rem;
  text-decoration: none;
  font-weight: 600;
}
.utility-bar__links a:hover { text-decoration: underline; color: #fff; }
@media (max-width: 640px) {
  .utility-bar__league { display: none; }
  .utility-bar__inner { justify-content: center; }
}

/* ── Header and navigation ────────────────────────────────── */
.site-header {
  background: var(--brand-surface);
  border-bottom: 4px solid var(--brand-accent);
  box-shadow: 0 2px 12px rgb(11 43 85 / 0.08);
}
.site-header__brand img { height: 56px; width: auto; }

.site-nav__list { gap: var(--space-xs); }
.site-nav__link {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary);
  text-decoration: none;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
}
.site-nav__link:hover { background: var(--brand-surface-alt); color: var(--brand-primary); }
.site-nav__link.is-current {
  background: var(--brand-primary);
  color: #fff;
}

.nav-toggle { color: var(--brand-primary); border-color: var(--brand-primary); }
.nav-toggle__label { font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

@media (max-width: 900px) {
  .site-header__brand img { height: 46px; }
}
@media (max-width: 768px) {
  .site-nav__link { padding: var(--space-sm); }
  .site-nav__list { gap: 2px; }
}
/* The framework collapses the menu at 768px; with five uppercase
   items plus the logo that is too late. Collapse from 900px. */
@media (min-width: 769px) and (max-width: 900px) {
  .site-nav__link { font-size: 0.95rem; padding: 0.5rem 0.55rem; }
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--brand-primary);
  border-radius: var(--radius-sm);
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.4;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.btn:hover { background: var(--brand-primary-dark); border-color: var(--brand-primary-dark); color: #fff; }
.btn--accent { background: var(--brand-accent); border-color: var(--brand-accent); color: var(--brand-primary); }
/* Inside a dark section, `.on-dark a` would otherwise paint this button's
   label white, and white on the sky blue is 2.2:1. Keep the navy. */
.on-dark .btn--accent { color: var(--brand-primary); }
.btn--accent:hover { background: #fff; border-color: #fff; color: var(--brand-primary); }
.btn--secondary { background: transparent; color: var(--brand-primary); }
.btn--secondary:hover { background: var(--brand-surface-alt); color: var(--brand-primary); }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--brand-primary); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--brand-surface-alt);
  padding-block: var(--space-xl) var(--space-lg);
  border-bottom: 1px solid #D5DCE6;
}
.hero__lead { font-size: 1.25rem; color: var(--brand-ink-muted); max-width: 60ch; margin-bottom: 0; }

.hero--photo {
  position: relative;
  isolation: isolate;
  background: var(--brand-primary);
  color: #fff;
  padding-block: clamp(4rem, 12vw, 8rem) var(--space-xl);
  border-bottom: 0;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
/* Overlay keeps white text above 4.5:1 regardless of the photo. */
.hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(6 27 56 / 0.92) 0%, rgb(6 27 56 / 0.78) 45%, rgb(6 27 56 / 0.35) 100%);
}
.hero--photo h1 { color: #fff; }
.hero--photo .eyebrow { color: var(--brand-accent); }
.hero--photo .hero__lead { color: #E3E9F2; }
.hero--photo a:not(.btn) { color: #fff; }

.hero--home { padding-block: clamp(5rem, 16vw, 10rem) clamp(4rem, 10vw, 7rem); }
.hero--home h1 { font-size: clamp(2.75rem, 7vw, 5rem); max-width: 14ch; }

/* ── Section sub-navigation ───────────────────────────────── */
.subnav { background: #fff; border-bottom: 1px solid #D5DCE6; }
.subnav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}
.subnav__list li { margin: 0; }
.subnav__link {
  display: inline-block;
  padding: 0.8rem 0;
  min-height: 44px;
  font-weight: 600;
  color: var(--brand-ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.subnav__link:hover { color: var(--brand-primary-text); border-bottom-color: #C5CFDC; }
.subnav__link.is-current { color: var(--brand-primary); border-bottom-color: var(--brand-primary); }

/* ── Grids and cards ──────────────────────────────────────── */
.grid { display: grid; gap: var(--space-md); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.card {
  background: #fff;
  border: 1px solid #D5DCE6;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: var(--space-xs); }
.card__cta { margin-top: auto; padding-top: var(--space-sm); font-weight: 700; }

/* Whole-card link: the card boundary marks it as a link, so the
   underline moves to the title on hover. */
.card--link { position: relative; transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out); }
.card--link:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgb(11 43 85 / 0.12); }
.card--link a::after { content: ""; position: absolute; inset: 0; }
.card--link a { text-decoration: none; color: var(--brand-primary); }
.card--link:hover a { text-decoration: underline; }
.card--link:focus-within { outline: 3px solid var(--brand-primary); outline-offset: 2px; }
.card--link a:focus-visible { outline: none; }

.card--photo { padding: 0; overflow: hidden; }
.card--photo img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card--photo .card__body { padding: var(--space-md); display: flex; flex-direction: column; flex: 1; }
.card__meta {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  color: var(--brand-ink-muted);
  margin-bottom: 0.25rem;
}

/* Entry panels on the home page: navy tiles with a green rule. */
.panel {
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  border-top: 6px solid var(--brand-accent);
  position: relative;
}
.panel h3 { color: #fff; font-size: 1.6rem; text-transform: uppercase; }
.panel p { color: #E3E9F2; }
.panel a { color: #fff; }
.panel.card--link:focus-within { outline-color: var(--brand-accent); }

/* ── Split layout ─────────────────────────────────────────── */
.split { display: grid; gap: var(--space-lg); align-items: start; }
/* Grid items are min-width:auto by default, so one wide child can stretch
   the whole column past the viewport. Nothing here needs that. */
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .split--even { grid-template-columns: 1fr 1fr; align-items: center; }
}
.split img { border-radius: var(--radius-md); }
.aside {
  background: var(--brand-surface-alt);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}
.aside h2, .aside h3 { font-size: 1.35rem; }
.aside > :last-child { margin-bottom: 0; }

/* ── Stats band ───────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--space-md); text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brand-accent);
}
.stat__label { display: block; margin-top: var(--space-xs); color: #E3E9F2; font-weight: 600; }

/* ── People ───────────────────────────────────────────────── */
.person { display: flex; gap: var(--space-sm); align-items: center; }
.person__avatar {
  flex: 0 0 auto;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  border: 3px solid var(--brand-accent);
  overflow: hidden;
}
.person__avatar img { width: 100%; height: 100%; object-fit: cover; }
.person__name { font-weight: 700; margin: 0; font-size: 1.1rem; }
.person__role { margin: 0; color: var(--brand-ink-muted); }
.name-list { columns: 2 12rem; padding: 0; list-style: none; }
.name-list li { break-inside: avoid; padding: 0.35rem 0; border-bottom: 1px solid #E1E6EE; margin: 0; }

/* ── Tables ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { padding: 0.65rem 0.75rem; text-align: left; border-bottom: 1px solid #D5DCE6; }
thead th {
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
tbody tr:nth-child(even) { background: #F7F9FC; }
.result-w { color: var(--brand-success); font-weight: 700; }
.result-l { color: var(--brand-error); font-weight: 700; }

.record-summary {
  display: inline-flex;
  gap: var(--space-md);
  background: var(--brand-primary);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}
.record-summary strong { color: var(--brand-accent); }

/* ── Pricing / sponsor levels ─────────────────────────────── */
.tier {
  border: 2px solid #D5DCE6;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.tier--featured { border-color: var(--brand-primary); box-shadow: 0 8px 24px rgb(11 43 85 / 0.12); }
.tier__name { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 0.25rem; }
.tier__price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}
.tier__price small { font-size: 1rem; font-weight: 500; color: var(--brand-ink-muted); }
.tier ul { padding-left: 1.1rem; }
.tier .btn { margin-top: auto; text-align: center; }
.tier__badge {
  align-self: flex-start;
  background: var(--brand-accent);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: var(--space-xs);
}

/* ── Sponsor wall ─────────────────────────────────────────── */
.sponsor-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
}
.sponsor-wall li {
  margin: 0;
  background: #fff;
  border: 1px solid #D5DCE6;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  padding: var(--space-sm);
  min-height: 6.5rem;
}
.sponsor-wall img { max-height: 4.5rem; width: auto; object-fit: contain; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { border-top: 1px solid #D5DCE6; }
.faq details { border-bottom: 1px solid #D5DCE6; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-sm) 2.5rem var(--space-sm) 0;
  min-height: 44px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand-primary);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--brand-primary-text);
}
.faq details[open] summary::after { content: "–"; }
.faq__body { padding-bottom: var(--space-md); }
.faq__body > :last-child { margin-bottom: 0; }

/* ── Countdown ────────────────────────────────────────────── */
/* Four units side by side need 377px. On a 360px phone that made the whole
   grid column wider than the screen and pushed every paragraph on the page
   off the right edge, so let them wrap. */
.countdown { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin: var(--space-sm) 0; }
.countdown[hidden] { display: none; }
.countdown__unit {
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-xs) var(--space-sm);
  text-align: center;
  min-width: 4.5rem;
}
.countdown__num { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.1; }
.countdown__label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: #E3E9F2; }

/* ── Callouts ─────────────────────────────────────────────── */
.callout {
  border-left: 6px solid var(--brand-accent);
  background: var(--brand-surface-alt);
  padding: var(--space-md);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-block: var(--space-md);
}
.callout > :last-child { margin-bottom: 0; }

/* Staging-only marker for content still to come. Remove at launch. */
.todo {
  border: 2px dashed #B7791F;
  background: #FFF8E6;
  color: #5C3D00;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

/* ── Schedule widget container ────────────────────────────── */
.schedule { background: #fff; border: 1px solid #D5DCE6; border-radius: var(--radius-md); padding: var(--space-sm); min-height: 8rem; }

/* ── Photo strip ──────────────────────────────────────────── */
.photo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: var(--space-sm); }
.photo-strip figure { margin: 0; }
.photo-strip img { border-radius: var(--radius-md); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo-strip figcaption { font-size: 0.9rem; color: var(--brand-ink-muted); margin-top: 0.35rem; }

/* ── Forms ────────────────────────────────────────────────── */
.field label { margin-bottom: var(--space-xs); font-weight: 600; }
.field input, .field select, .field textarea {
  padding: var(--space-sm);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
}
.field__hint { margin-top: var(--space-xs); font-size: 0.9rem; color: var(--brand-ink-muted); }
.field__error { margin-top: var(--space-xs); }
.form-status { padding: var(--space-sm) var(--space-md); border-radius: var(--radius-sm); margin-bottom: var(--space-md); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--brand-primary);
  color: #E3E9F2;
  padding-block: var(--space-xl) var(--space-md);
  border-top: 6px solid var(--brand-accent);
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--brand-accent); }
.site-footer__brand { flex: 1 1 16rem; max-width: 22rem; }
.site-footer__brand::before {
  content: "";
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: var(--space-sm);
  background: url("../img/seahawk.png") center / contain no-repeat;
}
.site-footer__name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; text-transform: uppercase; color: #fff; }
.site-footer__tagline { color: #C9D3E1; }
.site-footer__nav--columns { flex: 3 1 36rem; }
.site-footer__heading {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: var(--space-sm);
}
.site-footer__list li { margin-bottom: 0.45rem; }
.site-footer__list a { text-decoration: none; }
.site-footer__list a:hover { text-decoration: underline; }
.site-footer__contact { flex-basis: 100%; }
.site-footer__contact p { margin: 0; }
.site-footer__legal {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgb(255 255 255 / 0.2);
  font-size: 0.9rem;
  color: #C9D3E1;
}

/* Heading-sized text on a non-heading level, for correct outlines. */
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); text-transform: none; }

/* Row of pill links, e.g. team quick links above the schedule. */
.link-row { display: flex; flex-wrap: wrap; gap: var(--space-xs); list-style: none; padding: 0; margin-bottom: var(--space-md); }
.link-row li { margin: 0; }
.link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 1rem;
  border: 1px solid #C5CFDC;
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  text-decoration: none;
}
.link-row a:hover { border-color: var(--brand-primary); text-decoration: underline; }

/* The TeamSnap widget renders a wide table; let it scroll rather than clip. */
.schedule { overflow-x: auto; }

/* TeamSnap ships two colors that fail WCAG AA against their own backgrounds:
   the disabled pagination label (#7a7a7a on #f7f7f7, 4.0:1) and the "closed"
   red on the registration widgets (#e26362 on white, 3.4:1). Their markup is
   not ours to change, so darken both here. !important is needed to beat the
   widget's own stylesheet. Checked against axe-core 4.10.2 on 2026-09-30. */
.schedule .PaginateItemIsDisabled > span { color: #595959 !important; } /* 7.1:1 */
/* The registration widget injects its own <style> late in the document with
   [data-purpose="teamsnap"] .u-colorNegative, the same specificity as ours,
   so a later rule would win the tie. The element qualifier breaks it. */
.reg-status div.u-colorNegative { color: #C62828 !important; }         /* 5.6:1 */

/* Mobile header: stack the three toggle bars into a hamburger and keep
   the toggle on the logo's row. */
@media (max-width: 768px) {
  .site-header__brand img { height: 40px; }
  .nav-toggle {
    display: inline-grid;
    grid-template-columns: 20px auto;
    grid-template-rows: repeat(3, 2px);
    row-gap: 4px;
    column-gap: 0.6rem;
    align-content: center;
    padding: 0.5rem 0.75rem;
  }
  .nav-toggle__bar { grid-column: 1; }
  .nav-toggle__label { grid-column: 2; grid-row: 1 / -1; align-self: center; }
}

/* Footer mark: the navy seahawk needs a light disc to read on navy. */
.site-footer__brand::before {
  background-color: #fff;
  background-size: 78%;
  border-radius: 50%;
  border: 3px solid var(--brand-accent);
}
.site-footer__list { padding-left: 0; }

.contact-form { max-width: 40rem; }
.field[hidden] { display: none; }

/* Next game line on team pages. */
.next-game {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.6rem;
  background: var(--brand-primary);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  max-width: none;
}
.next-game strong { color: #fff; }
.next-game__label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  color: var(--brand-accent);
}
.record-summary { flex-wrap: wrap; }

/* Home "this week" list. */
.game-list { list-style: none; padding: 0; margin: 0 0 var(--space-md); }
.game-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.25rem var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid #D5DCE6;
  margin: 0;
}
.game-list__when { font-weight: 700; color: var(--brand-primary); }
.game-list__when small { display: block; font-weight: 400; color: var(--brand-ink-muted); }
.game-list__team {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  color: var(--brand-primary-text);
  margin-right: 0.35rem;
  /* These sat at 22px tall, which is a small thing to hit with a thumb.
     The padding is vertical only, so the line still reads as one row. */
  padding: 0.35rem 0;
}
.game-list__where { display: block; color: var(--brand-ink-muted); font-size: 0.95rem; }
.badge-home {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.35rem;
  vertical-align: middle;
}
@media (max-width: 480px) {
  .game-list li { grid-template-columns: 1fr; }
}

/* TeamSnap registration status widgets on the Register page. */
.reg-status { display: grid; gap: var(--space-sm); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); margin-top: var(--space-md); }
.reg-status:empty { display: none; }
.reg-status * { font-family: var(--font-body) !important; }
.next-game__arrive { flex-basis: 100%; color: #E3E9F2; font-size: 0.95rem; }

/* Calendar */
.team-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  border: 1px solid #D5DCE6;
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
  background: #fff;
}
.team-filter[hidden] { display: none; }
.team-filter legend { font-weight: 700; padding: 0 0.35rem; }
.team-filter label { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-weight: 600; cursor: pointer; }
.team-filter input { width: 1.2rem; height: 1.2rem; accent-color: var(--brand-primary); }
.cal-month { font-size: 1.4rem; margin-top: var(--space-lg); }
.cal-month[hidden], .game-list li[hidden] { display: none; }
.game-list__add { display: inline-block; margin-top: 0.25rem; font-size: 0.95rem; font-weight: 600; min-height: 24px; }
.game-list li.is-canceled strong { text-decoration: line-through; }
.badge-canceled {
  display: inline-block; background: var(--brand-error); color: #fff; font-weight: 700;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.05rem 0.45rem; border-radius: 999px; margin-left: 0.35rem;
}
code { font-size: 0.9em; word-break: break-all; background: #fff; padding: 0.1rem 0.3rem; border-radius: 3px; }

/* Fact list: label + text rows, used on dark sections. */
.fact-list { list-style: none; padding: 0; margin: 0; }
.fact-list li { padding: 0.75rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.18); margin: 0; }
.fact-list strong {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  color: var(--brand-accent);
}
.on-dark .fact-list li { color: #E3E9F2; }

/* News */
.post__wrap { max-width: 46rem; }
.post__image { border-radius: var(--radius-md); margin: var(--space-md) 0; width: 100%; }
.post__body h2 { font-size: 1.5rem; margin-top: var(--space-lg); }
.post__body p, .post__body ul { font-size: 1.1rem; }
.post__back { margin-top: var(--space-lg); font-weight: 600; }
.post-list { display: grid; gap: var(--space-md); }
.qr { width: 160px; height: 160px; border: 1px solid #D5DCE6; border-radius: var(--radius-sm); margin-bottom: var(--space-sm); }

/* Skip link: ours comes first (in $bodyStartHtml); hide the framework's
   copy that header.php prints after the utility bar. */
.utility-bar + .skip-link { display: none; }
.squad-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  border: 1px solid var(--brand-primary-text); color: var(--brand-primary-text);
  padding: 0 0.4rem; border-radius: 999px; margin-right: 0.3rem; vertical-align: middle;
}

/* Cheer video (portrait phone footage) */
.cheer-video { margin: 0 0 var(--space-md); max-width: 320px; }
.cheer-video video { width: 100%; height: auto; border-radius: var(--radius-md); background: #000; border: 3px solid var(--brand-accent); }
.cheer-video figcaption { font-size: 0.9rem; color: #C9D3E1; margin-top: 0.35rem; }
.event-flyer { border-radius: var(--radius-sm); margin-bottom: var(--space-sm); width: 100%; height: auto; }
