/* Taber Rebels Football — demo stylesheet
   No dependencies, no build step. Edit the variables below to re-brand.
   ⚠ COLOURS ARE PLACEHOLDERS — the association's real colours and logo must
   come from the board. See CONTENT-TODO.md. */

/* Self-hosted display font — kept local so the "no third-party scripts" claim stays true. */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/oswald-500.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/oswald-600.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/oswald-700.woff2') format('woff2'); }

:root {
  --ink: #14171c;
  --ink-soft: #5b626b;
  --paper: #ffffff;
  --paper-alt: #f6f4f1;
  --line: #e6e2dc;

  /* Rebel red + editorial near-black */
  --brand: #111418;
  --brand-dark: #0b0d10;
  --accent: #c8102e;
  --accent-dark: #9e0c24;
  --gold: #c9a227;

  --radius: 2px;
  --wrap: 76rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: #0e1114; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--paper);
  padding: .6rem 1rem;
  border: 2px solid var(--brand);
  border-radius: var(--radius);
}

/* ---------- demo banner ---------- */
.demo {
  background: #fff4d6;
  border-bottom: 1px solid #e8d9a8;
  color: #5c4a12;
  font-size: .9rem;
  text-align: center;
  padding: .5rem 1rem;
}

/* ---------- header ---------- */
.masthead {
  background: var(--brand);
  color: #fff;
}
.masthead .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding-block: .9rem;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .01em;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
}
.brand span { color: #cfe0f5; font-weight: 400; }

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  color: #eaf1f9;
  text-decoration: none;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--accent);
}

main .nav a { color: var(--ink-soft); }
main .nav a:hover,
main .nav a[aria-current="page"] { color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background-image: linear-gradient(160deg, rgba(11,13,16,.78) 0%, rgba(11,13,16,.9) 100%), url('img/team-peewee.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding-block: 3.5rem 3rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('img/grain.svg');
  background-repeat: repeat;
  opacity: .06;
  pointer-events: none;
  z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin: 0 0 .75rem;
}
.hero p {
  font-size: 1.15rem;
  max-width: 42rem;
  color: #dce7f4;
  margin: 0 0 1.5rem;
}
.hero a:not(.btn) { color: #fff; text-underline-offset: .2em; }
.hero a:not(.btn):hover { color: #ffdce3; }
.hero .wrap > .btn { margin: 0 .4rem .65rem 0; }
@media (max-width: 40rem) {
  .hero {
    background-color: var(--brand-dark);
    background-image: linear-gradient(180deg, #0b0d10 0%, #0b0d10 calc(100% - 17rem), rgba(11,13,16,.1) 100%), url('img/team-peewee.jpg');
    background-size: cover, 100% auto;
    background-repeat: no-repeat;
    background-position: center, center bottom;
    padding-bottom: 16rem;
  }
}

/* ---------- sections ---------- */
section { padding-block: 2.75rem; }
section.alt { background: var(--paper-alt); border-block: 1px solid var(--line); }

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: .015em;
  text-transform: uppercase;
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  margin: 0 0 .5rem;
}
h3 { font-family: var(--font-display); font-weight: 500; margin: 0 0 .35rem; font-size: 1.15rem; letter-spacing: 0.01em; }

.lede { color: var(--ink-soft); max-width: 46rem; margin-top: 0; }

/* ---------- grids & cards ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
@media (min-width: 40rem) {
  .grid.two { grid-template-columns: repeat(2, 1fr); }
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 58rem) {
  .grid.four { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.card p:last-child { margin-bottom: 0; }
.card .kicker {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-soft);
  margin: 0 0 .4rem;
}

.card { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(17,20,24,.07); border-color: #d9d4cc; }

/* four-level bento */
.level-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: .45rem;
}
.level-card.featured {
  grid-column: 1 / -1;
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.level-card.featured h3 { color: #fff; }
.level-card.featured p { color: #c9d4e0; }
.level-card.featured .kicker { color: #9fb0c3; }

.team-photo { width: 100%; height: auto; object-fit: contain; border-radius: var(--radius); margin: 1rem 0 1.25rem; display: block; }

@media (prefers-reduced-motion: reduce) {
  .card, .access-card, .logotile { transition: none; }
  .card:hover, .access-card:hover { transform: none; }
}

/* ---------- prices ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 1rem;
}
th, td {
  text-align: left;
  padding: .7rem .75rem;
  border-bottom: 1px solid var(--line);
}
thead th {
  background: var(--paper-alt);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-soft);
}
tbody tr:last-child td { border-bottom: none; }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; margin-top: 1.5rem; scrollbar-color: var(--accent) var(--paper-alt); }
.table-scroll table { margin-top: 0; min-width: 38rem; }
.grid > *, .wrap > * { min-width: 0; }

/* ---------- draft / status notes ---------- */
.draft {
  border-left: 4px solid var(--gold);
  background: #fbf6e9;
  padding: .85rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95rem;
  margin-top: 1rem;
}
.draft strong { color: #7a5c10; }

.notice {
  border-left: 4px solid var(--gold);
  background: #fbf6e9;
  padding: .8rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .93rem;
  margin: 1rem 0;
}
.notice.warn {
  border-left-color: var(--accent);
  background: #fdf0f0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .7rem 1.2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn.ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- footer ---------- */
footer {
  background: var(--brand-dark);
  color: #cfdcec;
  padding-block: 2rem;
  font-size: .95rem;
}
footer a { color: #fff; }
footer .affil { margin-top: .75rem; color: #a9bdd4; font-size: .88rem; }
footer .affil a { color: #dbe7f4; }
footer .fine {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.18);
  color: #a9bdd4;
  font-size: .85rem;
}

/* ---------- editable brand logo ----------
   Injected by assets/app.js when a board member sets a logo in the content
   editor. Absent by default, so the text wordmark shows. */
.brand-logo {
  height: 2.1rem;
  width: auto;
  display: inline-block;
  margin-right: .6rem;
  vertical-align: middle;
  background: transparent;
  padding: 0;
}
.brand.has-logo { display: inline-flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: .7rem; max-width: 100%; min-width: 0; }
.brand-img { height: 2.6rem; width: auto; flex: none; display: block; background: transparent; padding: 0; }
.brand-sub { font-weight: 400; font-size: clamp(.9rem, 2.6vw, 1.15rem); color: #cfe0f5; }

/* ---------- photo slots ----------
   Placeholders a board member can fill from the content editor. Until then they
   show an empty state explaining what to do. */
.photo-slot {
  margin: 0;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--paper-alt);
  padding: 1.5rem;
  text-align: center;
}
.photo-slot img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}
.photo-slot.has-photo {
  border-style: solid;
  border-color: var(--line);
  padding: 0;
  overflow: hidden;
  background: var(--paper);
}
.photo-slot figcaption {
  margin-top: .6rem;
  font-size: .9rem;
  color: var(--ink-soft);
}
.photo-empty p { margin: .25rem 0; }
.photo-empty p:first-child { font-size: 1.05rem; }

/* Supplied game photos fill the homepage slot until a board member overrides it. */
.photo-feature { border: 0; padding: 0; background: transparent; }
.matchday-strip { display: grid; grid-template-columns: .818fr .726fr .768fr .739fr; gap: 1rem; align-items: center; }
.matchday-strip img { width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: var(--radius); }
@media (max-width: 40rem) {
  .matchday-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
}

/* ---------- game-day field-status banner ---------- */
.statusbar {
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.statusbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  align-items: center;
  padding-block: .6rem;
}
.statusbar .state {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
}
.statusbar .dot {
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  background: #2f7d52;
  box-shadow: 0 0 0 3px rgba(47,125,82,.18);
}
.statusbar.open   { background: #eef7f1; }
.statusbar.caution{ background: #fff4d6; }
.statusbar.closed { background: #fdf0ef; }
.statusbar.closed .dot, .statusbar .dot.warn  { background: #b4342b; box-shadow: 0 0 0 3px rgba(180,52,43,.16); }
.statusbar.caution .dot { background: #b8860b; box-shadow: 0 0 0 3px rgba(184,134,11,.18); }
.statusbar .updated { color: var(--ink-soft); margin-left: auto; font-size: .85rem; }

/* ---------- quantified-facts strip ---------- */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.25rem;
}
.fact {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #eaf1f9;
  border-radius: 999px;
  padding: .3rem .85rem;
  font-size: .9rem;
}
.fact strong { color: #fff; }

/* ---------- society-health status grid ---------- */
.statusgrid {
  display: grid;
  gap: .8rem;
  margin-top: 1rem;
}
.statusrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.statusrow .label { font-weight: 600; }
.statusrow .pill {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .2rem .6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pill.ok   { background: #e3f3e9; color: #1e5c3a; }
.pill.bad  { background: #fdeceb; color: #8f2b23; }
.pill.warn { background: #fff4d6; color: #6b5210; }
.pill.info { background: var(--paper-alt); color: var(--ink-soft); }

/* ---------- readiness checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: none; }
.checklist .mark { font-weight: 800; line-height: 1.3; }
.checklist .mark.no  { color: #b4342b; }
.checklist .mark.yes { color: #2f7d52; }
.checklist .mark.q   { color: #b8860b; }

/* ---------- sponsor logo wall ---------- */
.logowall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.logotile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 1rem;
  text-align: center;
}
.logotile.major { border-color: #cf9a12; box-shadow: 0 0 0 1px #cf9a12 inset; }
.logotile .tier { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.logotile .placeholder { color: var(--ink-soft); font-size: .9rem; }
.logotile img { max-height: 6.25rem; max-width: 100%; object-fit: contain; }
.logotile.small img { max-height: 3rem; }

/* Crop only the empty margins in the supplied sponsor artwork. */
.logo-window { display: block; position: relative; overflow: hidden; width: min(100%, calc(6.25rem * var(--logo-ratio))); aspect-ratio: var(--logo-ratio); }
.logo-window img { position: absolute; max-width: none; max-height: none; width: var(--image-width); height: auto; left: var(--image-left); top: var(--image-top); }
.logo-days { --logo-ratio: 1.591398; --image-width: 142.972973%; --image-left: -10.810811%; --image-top: -17.204301%; }
.logo-prime { --logo-ratio: 4.105263; --image-width: 139.487179%; --image-left: -21.794872%; --image-top: -65.789474%; }
.logo-integrity { --logo-ratio: 1.016667; --image-width: 209.836066%; --image-left: -57.377049%; --image-top: -33.333333%; }
.logo-king { --logo-ratio: 1.181287; --image-width: 106.930693%; --image-left: -3.465347%; --image-top: -38.011696%; }

.photo-gallery { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 44rem) { .photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photo-gallery .logotile { padding: 0; overflow: hidden; }
.photo-gallery .logotile img { width: 100%; height: auto; max-height: none; object-fit: contain; }
.photo-gallery .placeholder { min-height: 7rem; padding: 1rem; color: var(--ink-soft); }

/* ---------- memorial ---------- */
.memorial {
  background: #101820;
  color: #e8eef5;
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.memorial img { width: 13rem; max-width: 100%; height: auto; border-radius: var(--radius); }
.memorial h2 { color: #fff; margin-top: 0; }
.memorial p { margin: .25rem 0 0; color: #c6d3e2; }

/* ---------- brand directions ---------- */
.swatches { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem; }
.swatch { text-align: center; }
.swatch .chip {
  width: 6rem; height: 4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 0 auto .4rem;
}
.swatch .name { font-size: .85rem; font-weight: 600; }
.swatch .hex { font-size: .8rem; color: var(--ink-soft); font-family: ui-monospace, monospace; }

/* ---------- repeatable card list (news announcements, decision log) ---------- */
.cardlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.cardlist li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

/* ---------- homepage access (login doors) ---------- */
.access { border-block: 1px solid var(--line); background: var(--paper-alt); }
.access-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 44rem) { .access-grid { grid-template-columns: repeat(3, 1fr); } }
.access-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.access-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(17,20,24,.10);
  transform: translateY(-3px);
}
.access-card .lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--paper-alt);
  color: var(--accent);
  margin-bottom: .8rem;
}
.access-card .lock svg { width: 1.15rem; height: 1.15rem; }
.access-card h3 { margin: 0 0 .4rem; }
.access-card p { color: var(--ink-soft); margin: 0 0 1rem; font-size: .95rem; }
.access-card .go { color: var(--accent); font-weight: 600; }
.access .register-line { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }

/* ---------- guided tour overlay ---------- */
.tour-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 900;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tour-widget:hover { background: var(--brand-dark); }

/* The highlighted element — the 9999px box-shadow doubles as the dimming mask. */
.tour-target {
  position: relative !important;
  z-index: 1001;
  box-shadow: 0 0 0 9999px rgba(10, 16, 24, .74);
  border-radius: 6px;
}
.tour-tip {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.25rem;
  z-index: 1002;
  width: min(22rem, calc(100vw - 2rem));
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.tour-tip .icon { color: var(--brand); line-height: 1; }
.tour-tip .icon svg { width: 1.7rem; height: 1.7rem; display: block; }
.tour-tip h3 { margin: .35rem 0 .25rem; font-size: 1.05rem; }
.tour-tip p { margin: 0; font-size: .93rem; color: var(--ink-soft); }
.tour-tip .bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .9rem;
}
.tour-tip .dots { display: flex; gap: .25rem; margin-right: auto; }
.tour-tip .dot {
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--line);
}
.tour-tip .dot.on { background: var(--brand); }
.tour-tip .skip {
  position: static;
  background: none; border: none; color: var(--ink-soft);
  font-size: .85rem; text-decoration: underline; cursor: pointer; padding: 0;
}
@media (prefers-reduced-motion: reduce) {
  .tour-tip { transition: none; }
}

/* ---------- print (safety card, schedules, board pack) ---------- */
@media print {
  .demo, .masthead, .appbar, .statusbar, .btn, .tour-widget, .tour-tip, footer { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: none; }
  .card, .panel, table, th, td { border-color: #999 !important; }
}

/* Editorial club system: genuine photography, task-first hierarchy, quiet surfaces. */
[hidden] { display: none !important; }
body { font-size: 1rem; line-height: 1.55; }
p { overflow-wrap: break-word; }
a { text-underline-offset: .2em; }
.demo { font-size: .76rem; padding-block: .35rem; }
.masthead { border-bottom: 1px solid #303237; }
.masthead .wrap { min-height: 5.5rem; padding-block: .65rem; flex-wrap: nowrap; }
.brand { gap: .75rem; }
.brand-img { height: 2.8rem; }
.brand-sub { max-width: 7.5rem; font-size: .72rem; line-height: 1.3; color: #c8c9cc; }
.masthead .nav ul { gap: 1rem; align-items: center; }
.masthead .nav a { display: inline-block; font-size: .85rem; font-weight: 600; padding-block: .55rem; }
.masthead .nav a[href="register.html"] { background: var(--accent); color: #fff; padding-inline: .8rem; border-bottom-color: transparent; }
.header-shortcuts, .mobile-menu { display: none; }
.statusbar .wrap { padding-block: .45rem; gap: .4rem 1rem; font-size: .8rem; }
.statusbar .updated { font-size: .72rem; }
.statusbar .dot { box-shadow: none; width: .5rem; height: .5rem; }
.hero:not(.home-hero) { background: var(--brand-dark); padding-block: 1.65rem 1.8rem; border-bottom: 3px solid var(--accent); }
.hero:not(.home-hero)::before { display: none; }
.hero:not(.home-hero) h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.hero:not(.home-hero) p { font-size: 1rem; max-width: 50rem; margin-bottom: .6rem; color: #d0d1d4; }
.hero:not(.home-hero) p:last-child { margin-bottom: 0; }
h2 { font-size: clamp(1.55rem, 2.7vw, 2rem); letter-spacing: .015em; }
h3 { font-size: 1.2rem; }
.grid { gap: 1.5rem; margin-top: 1.25rem; }
.card { background: transparent; border: 0; border-top: 1px solid #c8c6c1; padding: 1rem 0 0; border-radius: 0; }
.card:hover { transform: none; box-shadow: none; border-color: #c8c6c1; }
.card p { margin-top: .5rem; }
.btn { border-radius: 2px; padding: .65rem 1rem; letter-spacing: .04em; min-height: 44px; }
/* Only the homepage uses an expansive photographic opening. */
.hero.home-hero { background: var(--brand-dark); padding: 0; }
.home-hero::before { display: none; }
.hero-layout { display: grid; grid-template-columns: .83fr 1.3fr; gap: 2.5rem; align-items: center; padding-block: 1.5rem; }
.hero-copy { padding-block: 1rem; }
.home-hero .eyebrow { color: #c6c7ca; font: 600 .73rem/1.4 var(--font); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.home-hero h1 { font-size: clamp(4rem, 7vw, 6.6rem); line-height: .92; letter-spacing: -.015em; max-width: none; margin-bottom: 1.15rem; }
.home-hero .hero-summary { font-size: 1rem; color: #d0d1d4; max-width: 23rem; margin-bottom: 1.35rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-photo { width: 100%; height: auto; }
.game-band { background: var(--accent); color: #fff; }
.game-band .wrap { display: grid; grid-template-columns: .7fr 1.4fr 1.25fr auto; gap: 1.5rem; align-items: center; padding-block: 1.1rem; }
.game-band strong, .game-band span { display: block; }
.game-band .eyebrow { font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.game-label > strong { font: 600 1.65rem/1.2 var(--font-display); text-transform: uppercase; }
.game-match > strong { font: 600 1.4rem/1.3 var(--font-display); text-transform: uppercase; }
.game-match > strong > span { display: inline; font-size: .9rem; margin-inline: .25rem; }
.game-match > span, .game-venue { font-size: .8rem; }
.game-band a { color: #fff; font-size: .85rem; white-space: nowrap; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: .75rem; }
.section-heading a { font-size: .9rem; font-weight: 600; }
.team-pathways { padding-bottom: 1.5rem; }
.team-pathways [data-content="home.hero.lead"] { max-width: 48rem; color: var(--ink-soft); margin-top: .75rem; }
.team-pathways .lede { max-width: 52rem; font-size: .9rem; }
.level-card { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-content: start; text-decoration: none; color: var(--ink); border-top: 2px solid var(--ink); padding: 1rem 0; }
.level-card > :not(.level-num) { grid-column: 2; }
.level-card .level-num { grid-row: 1 / 5; font-size: 3.4rem; margin: 0; }
.level-card .kicker { font-size: .68rem; margin-bottom: .35rem; }
.level-card h3 { font-size: 1.65rem; }
.level-card p:not(.kicker) { font-size: .9rem; margin-block: .4rem .7rem; }
.level-card .level-link { font-size: .78rem; text-decoration: underline; text-underline-offset: .25em; }
.level-card:hover { border-color: var(--accent); color: var(--ink); }
.level-card.featured { padding: 1.1rem 1.3rem; border: 0; grid-template-columns: auto 1fr auto; align-items: center; }
.level-card.featured .level-num { grid-row: 1 / 5; }
.level-card.featured .level-link { grid-column: 3; grid-row: 1 / 5; color: #fff; }
.level-card.featured .kicker { color: #c6c7ca; }
.family-info { border-block: 1px solid var(--line); background: var(--paper-alt); }
.family-info .grid { margin-top: .75rem; }
.family-info .card { padding-top: .7rem; }
.family-info .lede { font-size: .95rem; }
.matchday-section { padding-block: 2rem; }
.matchday-strip { gap: .65rem; }
.matchday-strip img { border-radius: 0; }
.safety-section { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.safety-section .lede { max-width: 52rem; }
.safety-section .card h3 { max-width: 20rem; }
.access { border-block: 1px solid var(--line); background: var(--paper-alt); }
.access-grid { gap: 0; margin-top: 1rem; border-block: 1px solid #c8c6c1; }
.access-card { background: transparent; border: 0; border-radius: 0; padding: 1.15rem 1.5rem; }
.access-card:first-child { padding-left: 0; }
.access-card + .access-card { border-left: 1px solid #c8c6c1; }
.access-card:hover { background: #eeeae5; box-shadow: none; transform: none; }
.access-card h3 { font-size: 1.4rem; }
.access-card p { margin-block: .4rem .7rem; font-size: .87rem; }
.access-card .go { font-size: .85rem; }
.access .register-line { margin-top: 1rem; }
.home-sponsors .logowall { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.home-sponsors .logotile { min-height: 6rem; padding: .8rem; border-radius: 0; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-sponsors .logotile img { max-height: 4.4rem; }
.home-sponsors .logo-window img { max-height: none; }
.logowall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.logotile { border-radius: 0; }
.club-links { border-top: 1px solid var(--line); background: var(--paper-alt); }
.club-links > .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; }
.club-links nav { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1rem; margin-top: 1.1rem; font-size: .88rem; }
.demo-details h3 { font-size: 1.25rem; }
.demo-details .facts { display: block; margin-block: .7rem; }
.demo-details .fact { display: block; border: 0; border-radius: 0; background: transparent; color: var(--ink-soft); padding: .3rem 0; font-size: .8rem; }
.demo-details .fact strong { color: var(--ink); }
.demo-details > a { font-size: .8rem; }
footer { padding-block: 1.8rem; }
footer .wrap > p { margin-block: .5rem; }
footer .nav a { font-size: .8rem; }
.team-section > .wrap { display: grid; grid-template-columns: 1fr 1.65fr; column-gap: 2.5rem; align-items: start; }
.team-section h2 { grid-column: 1; margin-top: .3rem; }
.team-section .lede { grid-column: 1; margin-bottom: .5rem; font-size: .9rem; }
.team-section .team-photo { grid-column: 2; grid-row: 1 / 5; margin: 0; border-radius: 0; }
.team-section .grid { grid-column: 1; display: block; margin-top: .5rem; }
.team-section .card { padding-block: .6rem; }
.team-section .card h3 { font-size: 1rem; }
.team-section .card p { font-size: .87rem; margin-block: .2rem; }
.photo-gallery { gap: 1.1rem; }
.photo-gallery .logotile { border: 0; }
.page-login h1 { margin-top: 0; }
.page-login .split { grid-template-columns: 1fr 1.1fr; margin-top: 1.25rem; align-items: start; }
.page-login .signin-card { border: 0; border-top: 3px solid var(--accent); background: var(--paper-alt); border-radius: 0; }
@media (max-width: 68rem) {
  .brand-sub { display: none; }
  .masthead .nav ul { gap: .8rem; }
  .game-band .wrap { gap: 1rem; grid-template-columns: .75fr 1.4fr 1.3fr; }
  .game-band .wrap > a { grid-column: 2 / -1; }
}
@media (max-width: 58rem) {
  .masthead .wrap { min-height: 4.5rem; gap: .8rem; position: relative; }
  .masthead .desktop-nav { display: none; }
  .masthead .brand { margin-right: auto; }
  .brand-img { height: 2.4rem; }
  .header-shortcuts { display: flex; gap: .9rem; align-items: center; }
  .header-shortcuts a { color: #fff; font: 600 .78rem/1.2 var(--font-display); text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--accent); padding-block: .7rem; }
  .mobile-menu { display: block; }
  .mobile-menu summary { color: #fff; cursor: pointer; font: 600 .78rem/1.2 var(--font-display); text-transform: uppercase; padding-block: .7rem; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::after { content: ' +'; }
  .mobile-menu[open] summary::after { content: ' −'; }
  .mobile-menu .nav { position: absolute; top: 100%; right: 0; left: 0; z-index: 30; background: var(--brand-dark); border-top: 1px solid #34363a; border-bottom: 3px solid var(--accent); padding: .6rem 1.25rem 1rem; }
  .masthead .mobile-menu .nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1.5rem; }
  .masthead .mobile-menu .nav a { display: block; min-height: 44px; padding: .65rem .2rem; }
  .masthead .mobile-menu .nav a[href="register.html"] { padding-inline: .2rem; background: transparent; }
  .hero-layout { grid-template-columns: .8fr 1.2fr; gap: 1.5rem; }
  .home-hero h1 { font-size: clamp(3.7rem, 8vw, 5rem); }
  .hero-actions { gap: .5rem; }
  .hero-actions .btn { font-size: .85rem; }
  .team-section > .wrap { grid-template-columns: 1fr 1.4fr; gap: 0 1.5rem; }
  .home-sponsors .logowall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .wrap { padding-inline: 1.15rem; }
  section { padding-block: 1.6rem; }
  .demo { text-align: left; font-size: .7rem; padding-inline: 1.15rem; }
  .masthead .wrap { gap: .75rem; min-height: 4rem; }
  .brand-img { height: 1.9rem; }
  .header-shortcuts { gap: .65rem; }
  .statusbar .updated { flex-basis: 100%; margin-left: 0; }
  .statusbar .wrap { gap: .25rem .65rem; }
  .hero-layout { display: flex; flex-direction: column; padding: 0; gap: 0; align-items: stretch; }
  .hero-photo { order: -1; }
  .hero-copy { padding: 1.4rem 1.15rem 1.5rem; }
  .home-hero .eyebrow { font-size: .65rem; margin-bottom: .65rem; }
  .home-hero h1 { font-size: 3.9rem; line-height: .95; margin-bottom: .75rem; }
  .home-hero h1 br { display: none; }
  .home-hero .hero-summary { font-size: .9rem; margin-bottom: 1rem; }
  .game-band .wrap { grid-template-columns: 1fr 1.7fr; gap: .75rem 1rem; padding-block: 1rem; }
  .game-label > strong { font-size: 1.35rem; }
  .game-match > strong { font-size: 1.2rem; }
  .game-match > span { font-size: .72rem; margin-top: .2rem; }
  .game-venue { grid-column: 1 / -1; font-size: .75rem; border-top: 1px solid rgba(255,255,255,.35); padding-top: .6rem; }
  .game-band .wrap > a { grid-column: 1 / -1; font-size: .8rem; }
  .hero:not(.home-hero) { padding-block: 1.2rem 1.35rem; }
  .hero:not(.home-hero) p { font-size: .9rem; }
  .team-pathways .grid { gap: .7rem; }
  .level-card { padding-block: .85rem; }
  .level-card .level-num { font-size: 3rem; }
  .level-card.featured { grid-template-columns: auto 1fr; padding: 1rem; }
  .level-card.featured .level-link { grid-column: 2; grid-row: auto; }
  .team-section > .wrap { display: block; }
  .team-section .team-photo { margin-block: 1rem; }
  .team-section .grid { display: grid; gap: .2rem; }
  .team-section .card { padding-block: .55rem; }
  .matchday-strip { gap: .6rem; }
  .access-grid { display: block; }
  .access-card, .access-card:first-child { padding: 1rem 0; }
  .access-card + .access-card { border-left: 0; border-top: 1px solid #c8c6c1; }
  .access-card h3 { font-size: 1.3rem; }
  .access-card p { margin-block: .35rem .45rem; }
  .logowall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .logowall .logotile { min-height: 8rem; padding: .7rem; }
  .home-sponsors .logotile { min-height: 5rem; padding: .6rem; }
  .home-sponsors .logotile img { max-height: 3.5rem; }
  .home-sponsors .logo-window img { max-height: none; }
  .club-links > .wrap { grid-template-columns: 1fr; gap: 1.6rem; }
  .club-links nav { font-size: .82rem; gap: .8rem 1rem; }
  .page-login .split { grid-template-columns: 1fr; gap: 1.8rem; }
  th, td { padding: .6rem .45rem; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .header-shortcuts, .mobile-menu { display: none !important; } }


/* Family journeys and an explicit four-team schedule switcher. */
.first-visit { margin: 1rem 0 0; font-size: .85rem; }
.home-hero .first-visit a { color: #fff; text-underline-offset: .25em; }
.schedule-levels { margin-bottom: 1.2rem; }
.schedule-levels > span { color: #c8c9cc; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.schedule-levels ul { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: .4rem 0 0; padding: 0; }
.schedule-levels a { display: block; padding: .55rem .85rem; min-height: 44px; color: #fff; border: 1px solid #62646a; text-decoration: none; font-size: .85rem; font-weight: 600; }
.schedule-levels a:hover, .schedule-levels a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.schedule-context { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; padding-block: 1.1rem 1.6rem; font-size: .9rem; border-top: 1px solid var(--line); }
.team-section[id], #volunteering { scroll-margin-top: 1rem; }


/* All navigation stays visible at the top, including the demo member areas. */
.persistent-menu { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #3a3b3f; }
.skip:focus { z-index: 110; }
.persistent-menu .wrap { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .3rem 1.5rem; padding-block: .55rem .35rem; min-height: 0; }
.persistent-menu .brand { margin: 0; }
.persistent-menu .brand-img { height: 2.3rem; }
.persistent-menu .primary-nav ul { justify-content: flex-end; gap: .2rem .9rem; }
.persistent-menu .nav a { font-size: .8rem; padding-block: .65rem; min-height: 44px; }
.persistent-menu .area-nav { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 1rem; border-top: 1px solid #34363a; }
.persistent-menu .area-nav ul { gap: .2rem 1.6rem; }
.persistent-menu .area-label { color: #c8c9cc; font-size: .72rem; margin-right: auto; }
.persistent-menu .area-label small { margin-left: .3rem; font-size: .65rem; text-transform: uppercase; }
html { scroll-padding-top: 9rem; }
.team-section[id], #volunteering, #association, #get-involved, #site-map { scroll-margin-top: 1rem; }
@media (max-width: 68rem) {
  .persistent-menu .brand-sub { display: none; }
  .persistent-menu .wrap { column-gap: 1rem; }
  .persistent-menu .primary-nav ul { gap: .2rem .6rem; }
}
@media (max-width: 58rem) {
  .persistent-menu .wrap { display: grid; grid-template-columns: 1fr; gap: .15rem; padding-block: .35rem .2rem; }
  .persistent-menu .brand { justify-self: start; margin: 0; }
  .persistent-menu .brand-img { height: 1.8rem; }
  .persistent-menu .primary-nav { display: block; }
  .persistent-menu .primary-nav ul { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 .35rem; }
  .persistent-menu .nav a { display: flex; justify-content: center; align-items: center; text-align: center; padding: .4rem .2rem; font-size: .75rem; line-height: 1.15; }
  .persistent-menu .primary-nav a[href="register.html"] { padding-inline: .2rem; }
  .persistent-menu .area-nav { display: block; grid-column: 1; }
  .persistent-menu .area-label { display: none; }
  .persistent-menu .area-nav ul { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 .35rem; }
  .schedule-levels ul { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .35rem; }
  .schedule-levels a { padding: .55rem .3rem; text-align: center; font-size: .75rem; }
  html { scroll-padding-top: 12rem; }
}
@media print { .persistent-menu { position: static; } }
