/* SMB Wolfpack Football — site styles
   Brand: Royal Blue PMS 661C, Cardinal Red PMS 200C, Vegas Gold PMS 617C */

:root {
  --royal: #003595;
  --royal-deep: #00215e;
  --royal-ink: #001640;
  --cardinal: #c10435;
  --cardinal-dark: #9a032a;
  --gold: #c0b565;
  --gold-soft: #e8e2bb;
  --charcoal: #2e2d2d;
  --muted: #5b6070;
  --line: #d9deea;
  --tint: #eef2f9;
  --white: #fff;

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

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --slant: 4vw;
  --radius: 4px;
  --section: clamp(3rem, 8vw, 6rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--charcoal); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus, var(--cardinal)); outline-offset: 2px; }
.hero, .scoreboard, .page-head, .cta-band, .pay, .site-footer { --focus: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
h1, h2, h3 { font-family: var(--display); font-style: italic; font-weight: 800; line-height: 1.02; letter-spacing: -0.005em; color: var(--royal); margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.5rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(46rem + 2 * var(--gutter)); }
.prose { max-width: 38rem; }
.lede { font-size: clamp(1.125rem, 2vw, 1.3rem); line-height: 1.5; max-width: 38rem; }
.fine { font-size: 0.9rem; color: var(--muted); margin-top: 1.5rem; }
.note { border-left: 4px solid var(--gold); padding: 0.6rem 1rem; background: var(--white); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); padding: 0.6rem 1rem; font-weight: 600; }
.skip:focus { top: 1rem; }
.link-strong { font-weight: 700; }

/* ---------- Buttons: parallelogram, echoing the wordmark's slant ---------- */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.9rem; padding: 0.6rem 1.5rem; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.15rem; line-height: 1; text-decoration: none; color: var(--white); border: 0; background: none; cursor: pointer; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-12deg); background: var(--btn-bg, var(--royal)); border: 2px solid var(--btn-border, transparent); transition: background-color 0.15s ease, transform 0.15s ease; }
.btn:hover::before { background: var(--btn-hover, var(--royal-deep)); }
.btn:active::before { transform: skewX(-12deg) translateY(1px); }
.btn-lg { min-height: 3.4rem; padding: 0.8rem 2rem; font-size: 1.35rem; }
.btn-sm { min-height: 2.5rem; padding: 0.45rem 1.1rem; font-size: 1.05rem; }
.btn-red { --btn-bg: var(--cardinal); --btn-hover: var(--cardinal-dark); }
.btn-blue { --btn-bg: var(--royal); --btn-hover: var(--royal-deep); }
.btn-white { --btn-bg: var(--white); --btn-hover: var(--gold-soft); color: var(--cardinal); }
.btn-ghost { --btn-bg: rgba(0, 22, 64, 0.35); --btn-border: var(--white); --btn-hover: rgba(0, 22, 64, 0.6); }
.btn-outline { --btn-bg: transparent; --btn-border: var(--royal); --btn-hover: var(--tint); color: var(--royal); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.4rem; margin-top: 1.5rem; padding-left: 0.4rem; }
.actions-center { justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand img { height: 2.9rem; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { list-style: none; display: flex; gap: 0.25rem; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: 0.5rem 0.7rem; font-weight: 600; font-size: 1rem; color: var(--charcoal); text-decoration: none; border-bottom: 3px solid transparent; }
.site-nav li a:hover { color: var(--royal); }
.site-nav li a[aria-current="page"] { color: var(--royal); border-bottom-color: var(--cardinal); }
.nav-toggle { display: none; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 2.75rem; padding: 0.4rem 0.8rem; font: 600 1rem var(--body); color: var(--royal); background: none; border: 2px solid var(--royal); border-radius: var(--radius); cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative; transition: transform 0.2s ease, background-color 0.2s ease; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding: 0.5rem var(--gutter) 1.5rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 22, 64, 0.12); max-height: calc(100svh - 4.25rem); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav li a { padding: 0.85rem 0.25rem; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .site-nav li a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 4px 0 0 var(--cardinal); padding-left: 0.9rem; }
  .site-nav .btn { align-self: flex-start; margin-left: 0.4rem; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; display: grid; min-height: min(88svh, 52rem); color: var(--white); background: var(--royal-ink); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 22, 64, 0.88) 0%, rgba(0, 22, 64, 0.55) 45%, rgba(0, 22, 64, 0.05) 75%), linear-gradient(0deg, rgba(0, 22, 64, 0.7) 0%, rgba(0, 22, 64, 0) 40%); }
.hero-text { position: relative; z-index: 1; align-self: end; padding-top: 6rem; padding-bottom: calc(var(--slant) + clamp(2.5rem, 7vw, 5rem)); }
.hero h1 { color: var(--white); font-size: clamp(3.2rem, 10vw, 7.5rem); line-height: 0.9; max-width: 9ch; margin-bottom: 1.25rem; }
.hero .lede { color: rgba(255, 255, 255, 0.92); max-width: 32rem; }
@media (max-width: 699px) {
  .hero { min-height: 92svh; }
  .hero-media img { object-position: 50% 20%; }
  .hero::after { background: linear-gradient(0deg, rgba(0, 22, 64, 0.95) 0%, rgba(0, 22, 64, 0.6) 45%, rgba(0, 22, 64, 0) 75%); }
}

/* ---------- Scoreboard ---------- */
.scoreboard { background: var(--royal-deep); color: var(--white); margin-top: calc(-1 * var(--slant)); padding: calc(var(--slant) + 1.5rem) 0 1.75rem; }
.sb-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.sb-cell { padding: 0.5rem 1.75rem; border-left: 2px solid var(--gold); }
.sb-cell:first-child { border-left: 0; padding-left: 0; }
.sb-label { margin: 0 0 0.25rem; font-weight: 600; font-size: 0.95rem; color: var(--gold); }
.sb-main { margin: 0; font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.15; font-variant-numeric: tabular-nums; }
.sb-big { font-size: clamp(2.4rem, 5vw, 3.5rem); line-height: 1; }
.sb-opp { font-weight: 700; }
.sb-sub { margin: 0.3rem 0 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); }
.sb-sub a { color: var(--white); font-weight: 600; }
@media (max-width: 799px) {
  .sb-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 0; }
  .sb-cell[data-sb="last"] { grid-column: 1 / -1; padding-left: 0; }
  .sb-cell[data-sb="next"] { border-left: 0; padding-left: 0; }
}
@media (max-width: 479px) { .sb-grid { grid-template-columns: 1fr; } .sb-cell { border-left: 0; padding-left: 0; border-top: 1px solid rgba(192, 181, 101, 0.45); padding-top: 1rem; } .sb-cell:first-child { border-top: 0; padding-top: 0.5rem; } }

.result { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 0.2em; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 0.85em; line-height: 1; border-radius: 2px; vertical-align: 0.12em; }
.result-w { background: var(--gold); color: var(--royal-ink); }
.result-l { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.result-t { background: var(--line); color: var(--charcoal); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-tint { background: var(--tint); }
.section-center { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.section-center .lede { margin-inline: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-top { align-items: start; }
.split-media { margin: 0; }
.slant img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%); }
@media (max-width: 859px) { .split { grid-template-columns: 1fr; } }

.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.place { background: var(--white); padding: 1.5rem 1.75rem; border-top: 4px solid var(--royal); }
.place h3 { font-size: 1.1rem; font-family: var(--body); font-style: normal; font-weight: 700; color: var(--cardinal); margin-bottom: 0.25rem; }
.place-name { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.6rem; color: var(--royal); line-height: 1.1; margin-bottom: 0.5rem; }
.place p:last-child { margin: 0; font-weight: 600; }

.schools { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.75rem; }
.schools li { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.5rem; color: var(--white); background: var(--royal); padding: 1rem 1.25rem; }
.schools a { color: inherit; text-decoration: none; }
.schools a:hover { text-decoration: underline; }

/* ---------- Gallery ---------- */
.gallery { padding-bottom: var(--section); }
.gallery-track { list-style: none; margin: 0; padding: 0 var(--gutter); display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gallery-track li { scroll-snap-align: center; }
.gallery-track img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .gallery-track { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; padding: 0; max-width: none; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: var(--white); background: var(--cardinal); clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); padding: calc(var(--slant) + clamp(2.5rem, 6vw, 4rem)) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 36rem; margin: 0; font-size: 1.15rem; }

.support { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 859px) { .support { grid-template-columns: 1fr; } }
.small-h { font-size: 1.35rem; }
.sponsor-names { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sponsor-names li a, .sponsor-names li { font-weight: 600; }
.sponsor-names li a { display: inline-block; padding: 0.4rem 0.8rem; border: 1px solid var(--line); text-decoration: none; color: var(--charcoal); }
.sponsor-names li a:hover { border-color: var(--royal); color: var(--royal); }

/* ---------- Interior page head ---------- */
.page-head { position: relative; display: grid; background: var(--royal); color: var(--white); overflow: hidden; }
.page-head-media img { width: 100%; height: 100%; object-fit: cover; }
.page-head-media[data-pos="top"] img { object-position: 50% 20%; }
.page-head-media[data-pos="low"] img { object-position: 50% 78%; }
.page-head-text { position: relative; padding-block: clamp(2rem, 5vw, 4.5rem); }
.page-head h1 { color: var(--white); max-width: 14ch; }
.page-head .lede { color: rgba(255, 255, 255, 0.9); margin: 0; }
@media (min-width: 900px) {
  .page-head { min-height: 22rem; align-items: center; }
  .page-head-media { position: absolute; inset: 0 0 0 42%; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
  .page-head-text { max-width: calc(var(--wrap) + 2 * var(--gutter)); }
  .page-head-text > * { max-width: 26rem; }
  .page-head h1 { max-width: 10ch; }
}
@media (max-width: 899px) { .page-head-media img { aspect-ratio: 16 / 8; } }

/* ---------- Schedule ---------- */
.schedule-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.record-pill { margin: 0; display: inline-flex; align-items: baseline; gap: 0.75rem; font-weight: 600; color: var(--muted); }
.record-pill strong { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 2.5rem; color: var(--royal); line-height: 1; font-variant-numeric: tabular-nums; }
.games { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--royal); }
.game { display: grid; grid-template-columns: 7.5rem 1fr minmax(10rem, 0.8fr) 8rem; gap: 0.25rem 1.25rem; align-items: center; padding: 1rem 0.75rem; border-bottom: 1px solid var(--line); }
.game.is-home { background: linear-gradient(90deg, var(--tint), transparent 60%); box-shadow: inset 4px 0 0 var(--royal); }
.game-date { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1.2rem; color: var(--royal); }
.game-ha { display: inline-block; min-width: 3.4rem; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.game-opp strong { font-size: 1.1rem; }
.game-note { display: block; font-size: 0.9rem; color: var(--muted); }
.game-loc { color: var(--muted); font-size: 0.95rem; }
.game-out { text-align: right; font-weight: 600; }
.score { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.tag { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.45rem; font-size: 0.8rem; font-weight: 700; color: var(--royal-ink); background: var(--gold-soft); border-radius: 2px; vertical-align: 0.1em; }
@media (max-width: 759px) {
  .game { grid-template-columns: 1fr auto; padding: 0.9rem 0.75rem; }
  .game-opp, .game-loc { grid-column: 1 / -1; }
  .game-date { grid-row: 1; }
  .game-out { grid-row: 1; grid-column: 2; }
}

/* ---------- Roster ---------- */
.captains { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.75rem; }
.captains li { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 1rem; background: var(--tint); border-left: 4px solid var(--gold); line-height: 1.35; }
.jersey { flex: none; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.6rem; color: var(--white); background: var(--royal); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.25rem; }
.filters button { min-height: 2.5rem; min-width: 3rem; padding: 0.3rem 0.85rem; font: 600 0.95rem var(--body); color: var(--royal); background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.filters button:hover { border-color: var(--royal); }
.filters button[aria-pressed="true"] { background: var(--royal); border-color: var(--royal); color: var(--white); }
.table-wrap { overflow-x: auto; }
.roster { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.roster th, .roster td { padding: 0.7rem 0.75rem; text-align: left; border-bottom: 1px solid var(--line); }
.roster thead th { background: var(--royal); color: var(--white); font-weight: 600; font-size: 0.9rem; }
.roster tbody th { font-weight: 600; }
.roster tbody tr:nth-child(even) { background: #f7f9fc; }
.roster .num { width: 4rem; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.25rem; color: var(--royal); }
.cap { display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; margin-left: 0.35rem; font-size: 0.75rem; font-weight: 700; color: var(--royal-ink); background: var(--gold); border-radius: 50%; vertical-align: 0.1em; }
.roster tr[hidden] { display: none; }

/* ---------- Coaches ---------- */
.group-h { margin-top: 3rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--line); }
.group-h:first-child { margin-top: 0; }
.coaches { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: 1.5rem; }
@media (max-width: 559px) { .coach-email { font-size: 0.8rem; } .coaches:not(.coaches-lead) { grid-template-columns: 1fr 1fr; gap: 0.75rem; } .coach h3 { font-size: 1.2rem; } .coach p { font-size: 0.92rem; } .coach-body { padding: 0.75rem; } .coach-initials { font-size: 2.5rem; } }
.coach { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
.coach-photo { aspect-ratio: 4 / 5; background: var(--tint); overflow: hidden; }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.coach-initials { display: grid; place-items: center; height: 100%; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 3.5rem; color: var(--royal); background: var(--tint); }
.coach-body { padding: 1rem 1.1rem 1.2rem; }
.coach h3 { font-size: 1.45rem; margin-bottom: 0.2rem; }
.coach p { margin: 0 0 0.5rem; color: var(--muted); line-height: 1.4; }
.coach-email { font-size: 0.9rem; font-weight: 600; overflow-wrap: anywhere; }
.coaches-lead { grid-template-columns: 1fr; max-width: 40rem; }
.coaches-lead .coach { flex-direction: row; }
.coaches-lead .coach-photo { flex: 0 0 42%; }
.coaches-lead .coach-body { align-self: center; padding: 1.5rem; }
.coaches-lead h3 { font-size: 2.1rem; }
.coaches-lead p { color: var(--cardinal); font-weight: 700; font-size: 1.1rem; }

/* ---------- Get involved & sponsors ---------- */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 1.8rem; margin-bottom: 0.45rem; }
.checks li::before { content: ""; position: absolute; left: 0.2rem; top: 0.45em; width: 0.9rem; height: 0.5rem; border-left: 3px solid var(--cardinal); border-bottom: 3px solid var(--cardinal); transform: rotate(-45deg); }
.pay { background: var(--royal); color: var(--white); padding: clamp(1.5rem, 4vw, 2.5rem); }
.pay h3 { color: var(--gold); }
.pay dl { margin: 0; display: grid; gap: 1.1rem; }
.pay dt { font-weight: 700; color: var(--gold); font-size: 0.95rem; }
.pay dd { margin: 0; font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }
.pay .fine { color: rgba(255, 255, 255, 0.8); }
.tiers { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tier { display: flex; flex-direction: column; padding: 1.25rem 1.5rem; color: var(--royal-ink); }
.tier-gold { background: var(--gold); }
.tier-silver { background: #c9ccd3; }
.tier-bronze { background: #c79a6b; }
.tier-name { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.8rem; line-height: 1.1; }
.tier-amt { font-weight: 700; font-size: 1.15rem; }
@media (max-width: 599px) { .tiers { grid-template-columns: 1fr; } }
.sponsors { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.sponsors li > a, .sponsors li > span { display: grid; place-items: center; min-height: 7.5rem; padding: 1.25rem; text-align: center; text-decoration: none; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.5rem; color: var(--royal); border: 1px solid var(--line); border-top: 4px solid var(--gold); background: var(--white); }
.sponsors-silver li > a, .sponsors-silver li > span { border-top-color: #a9adb6; }
.sponsors-bronze li > a, .sponsors-bronze li > span { border-top-color: #b07c4a; }
.sponsors li > a:hover { border-color: var(--royal); }
.sponsors img { max-height: 5rem; width: auto; }
.empty { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 700; font-size: 1.1rem; color: var(--royal); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.75rem; font-size: 1.5rem; line-height: 1; color: var(--cardinal); transition: transform 0.2s ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 0; }

/* ---------- Join form ---------- */
.join-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 899px) { .join-grid { grid-template-columns: 1fr; } }
.join-form fieldset { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.join-form legend { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.75rem; color: var(--royal); margin-bottom: 1rem; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 559px) { .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label, .field .label { display: block; margin-bottom: 0.35rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: 0.65rem 0.8rem; font: inherit; color: var(--charcoal); background: var(--white); border: 2px solid #b9c0d0; border-radius: var(--radius); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(0, 53, 149, 0.2); }
.field [aria-invalid="true"] { border-color: var(--cardinal); }
.field-error { display: block; margin-top: 0.3rem; color: var(--cardinal); font-size: 0.92rem; font-weight: 600; }
.checks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.25rem 1rem; }
.field .check, .check { display: flex; align-items: center; gap: 0.55rem; min-height: 2.5rem; font-weight: 400; cursor: pointer; }
.field .check { margin-bottom: 0; }
.check input { width: 1.25rem; height: 1.25rem; accent-color: var(--royal); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 1.25rem; min-height: 65px; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.is-error { color: var(--cardinal); }
.form-status.is-ok { color: #1b6b2f; }
.join-aside { background: var(--tint); padding: clamp(1.5rem, 4vw, 2.25rem); border-top: 4px solid var(--cardinal); }
.join-aside h2 { font-size: 2rem; }
.join-aside h3 { font-family: var(--body); font-style: normal; font-size: 1.05rem; font-weight: 700; color: var(--charcoal); margin: 1.25rem 0 0.3rem; }
.join-aside p { margin: 0; }

.big-404 { font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(3rem, 12vw, 6rem); color: var(--cardinal); line-height: 1; margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--royal); color: rgba(255, 255, 255, 0.88); padding-top: clamp(3rem, 7vw, 4.5rem); font-size: 0.98rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 11rem; margin-bottom: 1rem; }
.footer-brand p { max-width: 22rem; }
.footer-h { font-family: var(--body); font-style: normal; font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 0.75rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.35rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 2.5rem; padding-block: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }
.footer-base p { margin: 0; }

@media print {
  .site-header, .site-footer, .hero-media, .page-head-media, .gallery, .cta-band, .filters { display: none !important; }
  .hero, .page-head { color: #000; background: none; clip-path: none; min-height: 0; }
  .hero h1, .page-head h1, .page-head .lede { color: #000; }
}
