/* Sheppey Swifts FC
   Club blue #0047AB and pitch green #159955, set on a chalk-white ground.
   Display type: Barlow Condensed (kit lettering). Text: Figtree. */

:root {
  --blue: #0047ab;
  --blue-deep: #062b66;
  --blue-ink: #0b1d3a;
  --blue-tint: #e9eff9;
  --green: #159955;
  --green-deep: #0d7a42;
  --green-tint: #e5f4ec;
  --paper: #f4f5f0;
  --white: #fff;
  --text: #1b2533;
  --muted: #5b6676;
  --line: #dde1d8;
  --line-strong: #c4cabf;
  --loss: #c8372d;
  --draw: #8a93a0;

  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --section: clamp(56px, 8vw, 104px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--white); padding: 8px 14px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(760px + var(--gutter) * 2); }

/* ---------- Type helpers ---------- */

.kicker {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font: 700 14px/1.2 var(--display);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-deep);
}
/* two-tone kit trim — the one recurring motif */
.kicker::before {
  content: ''; flex: none; width: 28px; height: 4px;
  background: linear-gradient(90deg, var(--blue) 0 60%, var(--green) 60%);
}
.kicker a { color: inherit; text-decoration: none; }
.kicker--light { color: #bfe8d2; }
.kicker--light::before { background: linear-gradient(90deg, var(--white) 0 60%, var(--green) 60%); }

.section-head__title,
.page-head__title {
  font: 800 clamp(34px, 5vw, 56px)/.98 var(--display);
  text-transform: uppercase; letter-spacing: -.005em;
  color: var(--blue-ink);
  margin-bottom: 18px;
  text-wrap: balance;
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-head .section-head__title { margin-bottom: 0; }
.section-head__intro { max-width: 60ch; color: var(--muted); margin: 14px 0 0; }


.prose { max-width: 68ch; }
.prose h2 { font: 700 28px/1.1 var(--display); text-transform: uppercase; color: var(--blue-ink); margin: 1.4em 0 .5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .3em; }

/* Buttons live in buttons.css (shared with the admin) */

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-top: 5px solid var(--blue);
  box-shadow: 0 1px 0 var(--line);
}
.site-header::before { /* green trim on the right of the top bar */
  content: ''; position: absolute; top: -5px; right: 0; width: 32%; height: 5px; background: var(--green);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: 52px; }
.brand__name {
  font: 800 26px/1 var(--display); text-transform: uppercase; color: var(--blue-ink); letter-spacing: .01em;
}
.brand__name span { color: var(--green); }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav > ul > li > a,
.site-nav__sub-toggle {
  display: block; padding: 10px 12px;
  font: 600 15px/1 var(--body); color: var(--text); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.site-nav__sub-toggle::after { content: ''; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.site-nav > ul > li > a:hover, .site-nav__sub-toggle:hover { color: var(--blue); }
.site-nav li.is-active > a, .site-nav li.is-active > button { color: var(--blue); box-shadow: inset 0 -3px 0 var(--green); }
.site-nav__sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 160px;
  list-style: none; margin: 0; padding: 6px 0; background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--blue); box-shadow: 0 12px 24px rgba(11, 29, 58, .12);
}
.site-nav__sub-toggle[aria-expanded="true"] + .site-nav__sub,
.has-sub:hover .site-nav__sub { display: block; }
.site-nav__sub a {
  display: block; padding: 10px 18px; text-decoration: none; color: var(--blue-ink);
  font: 700 20px/1 var(--display); text-transform: uppercase;
}
.site-nav__sub a:hover { background: var(--blue-tint); }

.nav-toggle { display: none; }

@media (max-width: 1060px) {
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px;
    background: none; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 20px; height: 2px; background: var(--blue-ink); position: relative; transition: transform .2s;
  }
  .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-open .nav-toggle__bars { background: transparent; }
  .nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 4px solid var(--blue); padding: 8px var(--gutter) 20px;
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul > li > a, .site-nav__sub-toggle {
    width: 100%; text-align: left; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line);
  }
  .site-nav li.is-active > a, .site-nav li.is-active > button { box-shadow: none; }
  .site-nav__sub { position: static; display: flex; flex-wrap: wrap; gap: 8px; border: 0; box-shadow: none; padding: 12px 0; }
  .has-sub:hover .site-nav__sub { display: flex; }
  .site-nav__sub a { border: 2px solid var(--blue); border-radius: var(--radius); padding: 10px 16px; }
  .site-nav__sub-toggle::after { display: none; }
  .site-nav__cta { margin-top: 16px; }
}
@media (max-width: 480px) {
  .brand__name { font-size: 21px; }
  .brand img { width: 44px; height: 44px; }
}

/* ---------- Home hero ---------- */

.hero { padding: clamp(32px, 5vw, 64px) 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero__title {
  font: 800 clamp(64px, 8.6vw, 124px)/.86 var(--display);
  text-transform: uppercase; letter-spacing: -.02em; color: var(--blue);
  margin-bottom: 26px;
}
.hero__title span { color: var(--green); }
.hero__lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 46ch; }
.hero__lede p:last-child { margin-bottom: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__photo { position: relative; margin: 0; }
/* shown at its own shape so a wide squad photo isn't cropped; only very tall photos get trimmed */
.hero__photo img { width: 100%; height: auto; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.hero__photo::before { /* offset block behind the photo, in club green */
  content: ''; position: absolute; inset: 22px -22px -22px 22px; background: var(--green); border-radius: var(--radius); z-index: -1;
}
.hero__photo figcaption {
  position: absolute; left: 0; bottom: 18px;
  background: var(--blue-ink); color: var(--white);
  font: 600 13px/1 var(--body); letter-spacing: .04em; padding: 9px 14px;
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { margin-right: 14px; }
  .hero__photo::before { inset: 14px -14px -14px 14px; }
}

/* ---------- Matchday ---------- */

.matchday-band { background: var(--blue-ink); color: var(--white); margin-top: clamp(48px, 7vw, 88px); padding: 34px 0 38px; }
.matchday-band__h {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  font: 800 30px/1 var(--display); text-transform: uppercase; margin-bottom: 24px;
}
.matchday-band__h span { font: 500 13px/1 var(--body); text-transform: none; color: #9fb0c8; letter-spacing: 0; }
.matchday-band__h span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 7px; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .matchday-band__h span::before { animation: none; } }

.matchday-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); }
.matchday--strip { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; background: var(--blue-ink); }
.matchday--strip .matchday__team {
  grid-row: span 2; display: grid; place-items: center; padding: 0 18px;
  font: 800 34px/1 var(--display); text-transform: uppercase; color: var(--white); text-decoration: none;
  background: var(--blue); writing-mode: vertical-rl; transform: rotate(180deg);
}
.matchday--strip .matchday__team:hover { background: var(--green); color: var(--white); }
.matchday__slot { padding: 14px 18px; min-height: 84px; }
.matchday--strip .matchday__slot + .matchday__slot { border-top: 1px solid rgba(255, 255, 255, .12); }
.matchday__label { margin: 0 0 4px; font: 700 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #7fd2a7; }
.matchday__body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0; font-size: 15px; line-height: 1.35; }
.matchday__placeholder { color: #8395ae; }
.matchday__when { width: 100%; font-weight: 700; }
.matchday__opp small { color: #9fb0c8; font-size: 13px; }
.matchday__meta { width: 100%; font-size: 13px; color: #9fb0c8; }
.matchday__score { font: 800 24px/1 var(--display); }

.result-badge {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 2px;
  font: 800 15px/1 var(--display); color: var(--white); background: var(--draw); align-self: center;
}
.result-badge--W { background: var(--green); }
.result-badge--L { background: var(--loss); }

/* team page variant */
.matchday--cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.matchday--cards .matchday__slot { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue); padding: 22px 24px; border-radius: var(--radius); }
.matchday--cards [data-slot="next"] { border-top-color: var(--green); }
.matchday--cards .matchday__label { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.matchday--cards .matchday__placeholder { color: var(--muted); }
.matchday--cards .matchday__body { font-size: 17px; }
.matchday--cards .matchday__when { font: 700 24px/1.1 var(--display); text-transform: uppercase; color: var(--blue-ink); }
.matchday--cards .matchday__opp { font-weight: 600; }
.matchday--cards .matchday__opp small, .matchday--cards .matchday__meta { color: var(--muted); }
.matchday--cards .matchday__score { font-size: 40px; color: var(--blue-ink); }
.matchday--cards .result-badge { width: 32px; height: 32px; font-size: 20px; }
@media (max-width: 700px) { .matchday--cards { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section--tight { padding: 40px 0; }
.section--flush-top { padding-top: 0; }
.section--paper { background: var(--paper); }
.section--blue { background: var(--blue); color: var(--white); }
.section--blue .section-head__title { color: var(--white); }

/* ---------- Team cards ---------- */

.team-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.team-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, transform .15s; }
.team-card a:hover { border-color: var(--blue); transform: translateY(-3px); color: inherit; }
/* a wider frame than 4:3 so wide squad photos only lose a little off each side */
.team-card__img { position: relative; aspect-ratio: 3 / 2; background: var(--blue-tint); }
.team-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.team-card__badge {
  position: absolute; left: 18px; bottom: -22px; z-index: 1; padding: 7px 14px 3px;
  font: 800 44px/1 var(--display); text-transform: uppercase; color: var(--white); background: var(--blue);
  border-radius: 3px; box-shadow: 0 6px 14px -6px rgba(11, 29, 58, .5);
}
.team-card a:hover .team-card__badge { background: var(--green); }
.team-card__body { display: flex; flex-direction: column; flex: 1; padding: 38px 22px 22px; }
.team-card__body p { font-weight: 500; }

/* Cards share rows (photo / summary / details / link) so the details line up across cards
   whether the summary runs to two lines or three. */
@supports (grid-template-rows: subgrid) {
  .team-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .team-card a { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; row-gap: 0; }
  .team-card__body { display: contents; }
  .team-card__body > * { padding-left: 22px; padding-right: 22px; }
  .team-card__body > p { padding-top: 38px; }
  .team-card .team-card__body > dl { margin: 0 22px 18px; padding: 0; }
  .team-card__body > .team-card__cta { align-self: end; padding-bottom: 22px; }
  .team-card--new a { display: flex; }
}
.team-card dl { margin: 0 0 18px; font-size: 14px; }
.team-card dl div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.team-card dt { font: 700 13px/1.6 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.team-card dd { margin: 0; }
.team-card__cta { display: block; margin-top: auto; }

.team-card--new a { justify-content: center; padding: 32px; border: 2px dashed var(--line-strong); background: transparent; }
.team-card--new a:hover { border-color: var(--green); border-style: solid; }
.team-card--new h3 { font: 800 32px/1 var(--display); text-transform: uppercase; color: var(--blue-ink); margin-bottom: 12px; }
.team-card--new p { color: var(--muted); }
.team-card__plus { font: 800 64px/.8 var(--display); color: var(--green); margin-bottom: 16px; }

/* ---------- Split (text + photo) ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media { position: relative; }
.split__media > img:first-child { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.split__badge { position: absolute; right: -12px; bottom: -24px; width: 116px; height: 116px; padding: 6px; object-fit: contain; background: var(--white); border-radius: var(--radius); box-shadow: 0 6px 18px rgba(11, 29, 58, .14); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__badge { right: 12px; } }

.ticks { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 600; line-height: 1.35; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 16px; height: 9px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
@media (max-width: 520px) { .ticks { grid-template-columns: 1fr; } }

/* ---------- News ---------- */

.news-layout { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto 1fr; gap: 28px 32px; align-items: start; }
.news-layout .news-card--lead { grid-row: span 2; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.news-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.news-card__link:hover { color: inherit; }
.news-card__link:hover h3 { color: var(--blue); }
.news-card__img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: var(--paper); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card__link:hover .news-card__img img { transform: scale(1.03); }
.news-card__body { padding: 16px 0 0; }
.news-card time { font: 700 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); }
.news-card h3 { font: 700 26px/1.05 var(--display); text-transform: uppercase; color: var(--blue-ink); margin: 8px 0 10px; transition: color .15s; }
.news-card p { color: var(--muted); font-size: 16px; margin: 0; }
.news-card--lead h3 { font-size: clamp(30px, 3.2vw, 40px); }

.news-layout .news-card:not(.news-card--lead) .news-card__link { display: grid; grid-template-columns: 42% 1fr; gap: 20px; align-items: start; }
.news-layout .news-card:not(.news-card--lead) .news-card__img { aspect-ratio: 4 / 3; }
.news-layout .news-card:not(.news-card--lead) .news-card__body { padding: 0; }
.news-layout .news-card:not(.news-card--lead) h3 { font-size: 23px; }
@media (max-width: 860px) {
  .news-layout { grid-template-columns: 1fr; }
  .news-layout .news-card--lead { grid-row: auto; }
}

/* ---------- Quotes ---------- */

/* Light green band; quotes sit on it as white cards */
.section--quote { background: var(--green-tint); }
.section--quote .section-head__title { margin-bottom: 64px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 64px 32px; align-items: start; }
.quotes-layout--single { display: grid; grid-template-columns: 1fr 2fr; gap: 32px 64px; align-items: center; }
.quotes-layout--single .section-head__title { margin-bottom: 0; font-size: clamp(40px, 5.4vw, 72px); }
@media (max-width: 860px) { .quotes-layout--single { grid-template-columns: 1fr; } .quotes-layout--single .section-head__title { margin-bottom: 32px; } }
.quote {
  position: relative; margin: 0; padding: 52px 36px 30px;
  background: var(--white); color: var(--text); border-radius: 6px;
  border: 1px solid #cfe5d8; border-left: 5px solid var(--green);
  box-shadow: 0 14px 30px -18px rgba(13, 122, 66, .45);
}
.quote__mark {
  position: absolute; top: -30px; left: 32px; width: 60px; height: 60px;
  display: grid; place-items: center;
  background: var(--green); color: var(--white); border-radius: 4px; transform: rotate(-4deg);
  box-shadow: 0 8px 14px -8px rgba(13, 122, 66, .7);
}
.quote blockquote { margin: 0 0 26px; font-size: 18px; line-height: 1.6; color: var(--blue-ink); }
.quotes--single .quote blockquote { font-size: clamp(19px, 2vw, 23px); }
.quote blockquote p { margin-bottom: .8em; }
.quote blockquote p:last-child { margin-bottom: 0; }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote__avatar {
  flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--blue); color: var(--white); font: 800 20px/1 var(--display); letter-spacing: .02em;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--green);
}
.quote figcaption strong { display: block; font: 700 21px/1.1 var(--display); text-transform: uppercase; color: var(--blue-ink); }
.quote figcaption strong + span { font-size: 14px; color: var(--muted); }
.quote__stars { display: flex; gap: 2px; margin-left: auto; }
.quote__stars svg { fill: #f2b01e; stroke: #d6950c; stroke-width: 1; stroke-linejoin: round; }

/* ---------- Photos ---------- */

.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.photo-grid a { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--paper); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s, opacity .2s; }
.photo-grid a:hover img { transform: scale(1.04); }
.photo-grid--strip { grid-template-columns: repeat(4, 1fr); }
.photo-grid--strip li:first-child { grid-column: span 2; grid-row: span 2; }
.photo-grid--strip li:first-child a { aspect-ratio: auto; height: 100%; }
@media (max-width: 760px) { .photo-grid--strip { grid-template-columns: repeat(2, 1fr); } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6, 16, 32, .92); }
.lightbox figure { margin: 0; height: 100%; display: grid; place-items: center; align-content: center; gap: 12px; padding: 56px 64px; pointer-events: none; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; border-radius: var(--radius); pointer-events: auto; }
.lightbox figcaption { color: var(--white); font-size: 15px; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); font-size: 48px; line-height: 1; cursor: pointer; padding: 8px 16px; }
.lightbox__close { top: 8px; right: 8px; }
.lightbox__prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 4px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox figure { padding: 56px 8px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; } }

/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq > div:first-child p { color: var(--muted); max-width: 40ch; }
.faq__list details { border-top: 1px solid var(--line-strong); }
.faq__list details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font: 700 22px/1.2 var(--display); text-transform: uppercase; color: var(--blue-ink);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 600 30px/1 var(--display); color: var(--green); }
.faq__list details[open] summary::after { content: '–'; }
.faq__list summary:hover { color: var(--blue); }
.faq__list details > div { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Sponsors ---------- */

.sponsor-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px 48px; }
.sponsor-row .kicker { margin: 0; }
.sponsor-row > .btn--arrow { justify-self: end; }
.sponsor-row ul { list-style: none; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px 56px; margin: 0; padding: 0; }
.sponsor-row img { max-height: 60px; max-width: 180px; width: auto; transition: transform .2s; }
.sponsor-row a:hover img { transform: scale(1.06); }
@media (max-width: 860px) {
  .sponsor-row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .sponsor-row > .btn--arrow { justify-self: center; }
}

.sponsor-grid { list-style: none; margin: 0; padding: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
.sponsor-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--white); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--blue-ink);
  border: 1px solid var(--line); border-bottom: 5px solid var(--blue);
  box-shadow: 0 1px 2px rgba(11, 29, 58, .06), 0 8px 16px -4px rgba(11, 29, 58, .12), 0 24px 40px -12px rgba(11, 29, 58, .18);
  transition: transform .25s cubic-bezier(.2, .8, .3, 1), box-shadow .25s, border-color .25s;
}
a.sponsor-card:hover {
  transform: translateY(-6px); border-bottom-color: var(--green); color: var(--blue-ink);
  box-shadow: 0 2px 4px rgba(11, 29, 58, .06), 0 16px 24px -6px rgba(11, 29, 58, .16), 0 40px 60px -16px rgba(11, 29, 58, .28);
}
.sponsor-card__logo {
  display: grid; place-items: center; height: 170px; padding: 28px;
  background: linear-gradient(180deg, var(--white), #f1f3ee); border-bottom: 1px solid var(--line);
}
.sponsor-card__logo img { max-height: 100%; max-width: 230px; width: auto; transition: transform .25s; }
a.sponsor-card:hover .sponsor-card__logo img { transform: scale(1.05); }
.sponsor-card__name { padding: 18px 22px 4px; font: 700 22px/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.sponsor-card__visit { padding: 0 22px 20px; font-size: 14px; font-weight: 600; color: var(--blue); }
a.sponsor-card:hover .sponsor-card__visit { color: var(--green-deep); }
div.sponsor-card .sponsor-card__name { padding-bottom: 20px; }

.reasons { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.reasons li { counter-increment: r; border-top: 4px solid var(--blue); padding-top: 18px; }
.reasons li::before { content: '0' counter(r); font: 800 44px/1 var(--display); color: var(--green); display: block; margin-bottom: 10px; }
.reasons h3 { font: 700 24px/1.1 var(--display); text-transform: uppercase; color: var(--blue-ink); margin-bottom: 8px; }
.reasons p { color: var(--muted); margin: 0; }

/* ---------- Join band ---------- */

.join-band { background: var(--green); color: var(--white); padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.join-band::after { /* oversized roundel echo of the badge, cropped off the edge */
  content: ''; position: absolute; right: -120px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%);
  border-radius: 50%; border: 56px solid rgba(255, 255, 255, .09);
}
.join-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; gap: 16px 48px; align-items: center; }
.join-band h2 { font: 800 clamp(40px, 6vw, 72px)/.9 var(--display); text-transform: uppercase; }
.join-band p { margin: 0; max-width: 52ch; font-size: 18px; }
@media (max-width: 860px) { .join-band__inner { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- Page heads ---------- */

.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); }
.page-head__title { font-size: clamp(44px, 7vw, 88px); max-width: 16ch; }
.page-head__lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 58ch; margin: 0; }
.page-head--404 .btn { margin-top: 28px; }

/* ---------- Team page ---------- */

.team-hero { background: var(--blue); color: var(--white); overflow: hidden; }
.team-hero__grid { display: grid; grid-template-columns: 1fr 1.25fr; min-height: 440px; }
.team-hero__text { padding: clamp(40px, 6vw, 72px) 48px clamp(40px, 6vw, 72px) 0; align-self: center; }
.team-hero__title { font: 800 clamp(110px, 17vw, 220px)/.8 var(--display); text-transform: uppercase; letter-spacing: -.03em; margin: 0 0 22px -.04em; }
.team-hero__lede { font-size: 19px; max-width: 38ch; color: #dbe6f7; margin-bottom: 28px; }
.team-hero__photo { position: relative; margin-right: calc(var(--gutter) * -1); }
.team-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-hero__photo::before { /* green slash where photo meets the blue */
  content: ''; position: absolute; z-index: 1; left: -1px; top: 0; bottom: 0; width: 64px;
  background: linear-gradient(100deg, var(--blue) 0 50%, var(--green) 50% 62%, transparent 62%);
}
@media (min-width: 1281px) { .team-hero__photo { margin-right: calc((100vw - var(--wrap)) / -2); } }
@media (max-width: 860px) {
  .team-hero__grid { grid-template-columns: 1fr; }
  .team-hero__text { padding-right: 0; }
  .team-hero__photo { height: 280px; margin: 0 calc(var(--gutter) * -1); }
  .team-hero__photo::before { display: none; }
}

.facts-intro { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px clamp(32px, 6vw, 80px); align-items: end; margin-bottom: 44px; }
.facts-intro__text { color: var(--muted); }
.facts-intro__text p:last-child { margin-bottom: 0; }

/* staggered, numbered boxes; every other one drops down */
.facts { list-style: none; margin: 0; padding: 0 0 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
.facts__item {
  padding: 24px 24px 26px; background: var(--paper);
  border: 2px solid var(--blue-ink); border-radius: 4px;
  box-shadow: 6px 6px 0 var(--blue-tint);
  transition: transform .2s, box-shadow .2s;
}
.facts__item:nth-child(even) { margin-top: 36px; }
.facts__item:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--green-tint); }
.facts__icon {
  display: block; width: 54px; height: 54px; margin-bottom: 16px;
  fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.facts__icon--league { stroke: #b8860b; }           /* trophy gold */
.facts__icon--summer_training { stroke: #f2a900; }  /* sunshine yellow */
.facts__item h3 { font: 800 24px/1.05 var(--display); text-transform: uppercase; color: var(--blue-ink); margin-bottom: 10px; }
.facts__item p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text); }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .facts-intro { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; padding-bottom: 0; }
  .facts__item:nth-child(even) { margin-top: 0; margin-left: 28px; }
}

.league-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.league-head .section-head__title { margin: 0; }
.league-controls { display: flex; gap: 12px; flex-wrap: wrap; }
.tabs { display: inline-flex; border: 2px solid var(--blue); border-radius: var(--radius); overflow: hidden; }
.tabs button { padding: 0 18px; min-height: 42px; border: 0; background: var(--white); color: var(--blue); font: 700 16px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--blue); color: var(--white); }
.season-select select {
  min-height: 46px; padding: 0 40px 0 14px; border: 2px solid var(--line-strong); border-radius: var(--radius);
  font: 600 15px var(--body); color: var(--text); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230047ab' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none; cursor: pointer;
}
.season__label { font: 700 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fa-credit { margin: 20px 0 0; font-size: 13px; color: var(--muted); }

.fa-loading { padding: 32px; background: var(--white); border: 1px solid var(--line); color: var(--muted); text-align: center; border-radius: var(--radius); }
.fa-loading:not(.fa-loading--failed)::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px; border: 2px solid var(--line-strong); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fa-report[data-kind="data"] { display: none; }
.fa-empty { color: var(--muted); }
.fa-raw:not([hidden]) { background: var(--white); overflow-x: auto; padding: 8px; border: 1px solid var(--line); }

/* league table */
.league-scroll { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.league { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.league th, .league td { padding: 12px 10px; text-align: center; white-space: nowrap; }
.league thead th { font: 700 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--white); background: var(--blue-ink); }
.league abbr { text-decoration: none; }
.league tbody tr { border-top: 1px solid var(--line); }
.league tbody tr:nth-child(even) { background: #fafbf8; }
.league .league__team { text-align: left; font-weight: 600; width: 100%; }
.league tbody .league__team a { color: var(--text); text-decoration: none; }
.league tbody .league__team a:hover { color: var(--blue); text-decoration: underline; }
.league .league__pos { width: 48px; color: var(--muted); font-weight: 600; }
.league td.league__pts { font: 800 19px/1 var(--display); color: var(--blue-ink); }
.league tr.is-club { background: var(--green-tint) !important; box-shadow: inset 5px 0 0 var(--green); }
.league tr.is-club .league__team a, .league tr.is-club .league__pos { color: var(--green-deep); font-weight: 700; }
@media (max-width: 600px) { .league { font-size: 14px; } .league th, .league td { padding: 10px 7px; } }

/* fixtures */
.fx-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 960px) { .fx-columns { grid-template-columns: 1fr; } }
.fx-block__h { font: 700 15px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.fx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fx-list.is-clipped > li:nth-child(n + 6) { display: none; }
.fx__inner {
  display: grid; grid-template-columns: 54px 1fr auto; grid-template-areas: 'date teams res' 'date meta res';
  gap: 4px 16px; align-items: center; padding: 12px 16px 12px 12px;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--line-strong);
  border-radius: var(--radius); text-decoration: none; color: inherit;
}
a.fx__inner:hover { border-color: var(--blue); color: inherit; }
.fx--W .fx__inner { border-left-color: var(--green); }
.fx--L .fx__inner { border-left-color: var(--loss); }
.fx--D .fx__inner { border-left-color: var(--draw); }
.fx__date { grid-area: date; display: grid; justify-items: center; line-height: 1; text-transform: uppercase; color: var(--muted); }
.fx__date b { font: 700 12px/1 var(--display); letter-spacing: .08em; }
.fx__date strong { font: 800 28px/1 var(--display); color: var(--blue-ink); margin: 2px 0; }
.fx__teams { grid-area: teams; display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; font-weight: 600; font-size: 15px; line-height: 1.25; }
.fx__team:first-child { text-align: right; }
.fx__team.is-club { color: var(--blue); }
.fx__score { font: 800 22px/1 var(--display); background: var(--blue-ink); color: var(--white); padding: 6px 10px 5px; border-radius: 2px; min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }
.fx__score i { font-style: normal; opacity: .5; margin: 0 4px; }
.fx__score--ko { background: var(--blue-tint); color: var(--blue); font-size: 18px; }
.fx--status .fx__score--ko { background: #fbeaea; color: var(--loss); font: 700 13px/1.2 var(--body); }
.fx__meta { grid-area: meta; font-size: 12.5px; color: var(--muted); text-align: center; }
.fx__res { grid-area: res; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 2px; font: 800 17px/1 var(--display); color: var(--white); background: var(--draw); }
.fx--W .fx__res { background: var(--green); }
.fx--L .fx__res { background: var(--loss); }
.fx-more { margin-top: 12px; }
@media (max-width: 520px) {
  .fx__inner { grid-template-columns: 44px 1fr; grid-template-areas: 'date teams' 'date meta'; gap: 6px 12px; position: relative; }
  .fx__teams { grid-template-columns: 1fr; gap: 4px; }
  .fx__team:first-child { text-align: left; }
  .fx__score { justify-self: start; font-size: 18px; min-width: 0; }
  .fx__meta { text-align: left; }
  .fx__res { position: absolute; right: 10px; top: 10px; }
}

/* people */
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 32px 24px; }
.person { display: flex; flex-direction: column; align-items: center; text-align: center; }
/* coaches and committee are shown in the club training jacket rather than a photo */
.person__shirt {
  width: 100%; padding: 24px 22px 14px; margin-bottom: 16px; overflow: visible;
  background: var(--paper); border-radius: 6px; border-bottom: 4px solid var(--line-strong);
  transition: transform .2s;
}
.section--paper .person__shirt { background: var(--white); }
.person:hover .person__shirt { transform: translateY(-4px); }
.jacket__body { fill: #253a63; stroke: #16243f; stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 8px 10px rgba(11, 29, 58, .25)); }
.jacket__panel { fill: var(--white); stroke: #16243f; stroke-width: 1.5; }
.jacket__seam { stroke: rgba(0, 0, 0, .22); stroke-width: 1.5; fill: none; }
.jacket__trim { fill: var(--blue); }
.jacket__collar-in { fill: #1a2b4b; }
.jacket__zip { stroke: #c9d2e0; stroke-width: 2; }
.jacket__pull { fill: #c9d2e0; }
.jacket__initials { font: 700 19px var(--display); letter-spacing: .12em; fill: var(--white); }
.person__name { font: 700 22px/1.1 var(--display); text-transform: uppercase; color: var(--blue-ink); }
.person__role { font-size: 15px; color: var(--muted); }

/* ---------- About ---------- */

.ethos { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.ethos .prose { color: #dbe6f7; }
.ethos__list { list-style: none; counter-reset: e; margin: 0; padding: 0; }
.ethos__list li { counter-increment: e; display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .2); font-weight: 600; font-size: 18px; }
.ethos__list li::before { content: counter(e, decimal-leading-zero); font: 800 26px/1 var(--display); color: #7fd2a7; }
@media (max-width: 860px) { .ethos { grid-template-columns: 1fr; } }

/* ---------- Posts ---------- */

.post__head { padding: clamp(48px, 7vw, 88px) var(--gutter) 32px; }
.post__head time { color: var(--muted); font-weight: 600; }
.post__head .page-head__title { font-size: clamp(40px, 6vw, 72px); max-width: none; }
.post__img { margin: 0 auto 48px; }
.post__img img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.post .prose { padding-bottom: var(--section); font-size: 18px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 48px; font-weight: 600; }

/* ---------- Gallery filters ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips a { padding: 9px 16px; border: 2px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; }
.chips a:hover { border-color: var(--blue); color: var(--blue); }
.chips a[aria-current] { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ---------- Documents ---------- */

.doc-groups { display: grid; grid-template-columns: 1fr 1fr 320px; gap: 40px; align-items: start; }
.doc-group__h { font: 700 15px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.doc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.doc-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.doc-list a:hover { background: var(--blue-tint); color: var(--blue); }
.doc-list__type { font: 800 12px/1 var(--display); letter-spacing: .08em; color: var(--white); background: var(--loss); padding: 5px 6px; border-radius: 2px; }
.doc-list__title { font-weight: 600; line-height: 1.35; }
.doc-list__size { font-size: 13px; color: var(--muted); }
.doc-aside { background: var(--paper); border-top: 4px solid var(--green); padding: 28px; }
.doc-aside h2 { font: 800 28px/1 var(--display); text-transform: uppercase; color: var(--blue-ink); margin-bottom: 12px; }
@media (max-width: 1060px) { .doc-groups { grid-template-columns: 1fr 1fr; } .doc-aside { grid-column: 1 / -1; } }
@media (max-width: 700px) { .doc-groups { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__directions { background: var(--paper); padding: 32px; border-top: 4px solid var(--blue); }
.contact__directions h2 { font: 800 30px/1 var(--display); text-transform: uppercase; color: var(--blue-ink); margin-bottom: 14px; }
.contact__directions address { font-style: normal; font-weight: 600; margin-bottom: 18px; }
.contact__directions .btn { margin-bottom: 24px; }
.contact__directions .prose { font-size: 15.5px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 16px var(--body); color: var(--text);
  background: var(--white); border: 2px solid var(--line-strong); border-radius: var(--radius);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-tint); }
.field.has-error input, .field.has-error textarea { border-color: var(--loss); }
.field__error { color: var(--loss); font-size: 14px; font-weight: 600; margin: 6px 0 0; }
.field--hp { position: absolute; left: -9999px; }
.notice { padding: 28px 32px; border-radius: var(--radius); }
.notice--ok { background: var(--green-tint); border-left: 5px solid var(--green); }
.notice h2 { font: 800 32px/1 var(--display); text-transform: uppercase; color: var(--green-deep); margin-bottom: 10px; }

/* ---------- Registration forms ---------- */

.page-head--form .page-head__title { font-size: clamp(38px, 6vw, 64px); max-width: none; }
.form-intro { margin-bottom: 28px; font-size: 17px; color: var(--muted); }
.form-problem { margin-bottom: 24px; padding: 14px 18px; background: #fbeaea; border-left: 5px solid var(--loss); border-radius: var(--radius); font-weight: 600; color: #8f241d; }
.form-closed { background: var(--paper); border-left: 5px solid var(--line-strong); }
.form-closed h2, .form-done h2 { font: 800 30px/1 var(--display); text-transform: uppercase; margin-bottom: 12px; }
.form-done h2 { color: var(--green-deep); }

.reg-form { display: grid; gap: 14px; }
.q-section { margin-top: 26px; padding: 18px 0 4px; border-top: 4px solid var(--blue); }
.q-section:first-of-type { margin-top: 4px; }
.q-section h2 { font: 800 30px/1 var(--display); text-transform: uppercase; color: var(--blue-ink); }
.q-section .q__help { margin-top: 8px; }
.q-statement { padding: 16px 20px; background: var(--blue-tint); border-radius: var(--radius); font-size: 15px; }
.q-statement h3 { font: 700 20px/1.1 var(--display); text-transform: uppercase; margin-bottom: 6px; color: var(--blue-ink); }
.q {
  margin: 0; padding: 20px 22px; background: var(--white);
  border: 1px solid var(--line); border-radius: 6px; min-width: 0;
}
.q.has-error { border-color: var(--loss); box-shadow: inset 4px 0 0 var(--loss); }
.q > label:not(.q__file), .q > legend { display: block; font-weight: 700; font-size: 16px; margin-bottom: 6px; padding: 0; float: left; width: 100%; }
.q > legend + * { clear: both; }
.q__req { color: var(--loss); }
.q__help { font-size: 14.5px; color: var(--muted); margin-bottom: 10px; clear: both; }
.q__help p { margin-bottom: .6em; }
.q__help p:last-child { margin-bottom: 0; }
.q__help ul { padding-left: 1.2em; margin: .4em 0 .6em; }
.q input:not([type=radio]):not([type=checkbox]):not([type=file]), .q select, .q textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; font: 400 16px var(--body); color: var(--text);
  background: var(--white); border: 2px solid var(--line-strong); border-radius: var(--radius); clear: both; display: block;
}
.q input:focus, .q select:focus, .q textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.q input[type=date] { max-width: 240px; }
.q__signature { font: 600 22px 'Figtree', cursive !important; font-style: italic !important; letter-spacing: .02em; }
.q__opts { display: grid; gap: 8px; clear: both; }
.q__opt { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 500; }
.q__opt:hover { border-color: var(--blue); }
.q__opt:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.q__opt input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; }
.q__error { color: var(--loss); font-weight: 600; font-size: 14px; margin: 8px 0 0; clear: both; }
.q__file { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; align-items: center; padding: 14px; border: 2px dashed var(--line-strong); border-radius: var(--radius); cursor: pointer; clear: both; position: relative; }
.q__file:hover, .q__file.has-file { border-color: var(--blue); }
.q__file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.q__file-name { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q__file.has-file .q__file-name { color: var(--text); font-weight: 600; }
.q__file-preview { grid-column: 1 / -1; max-height: 180px; width: auto; border-radius: var(--radius); }
.reg-form__submit { margin-top: 18px; display: grid; gap: 14px; justify-items: start; }
.reg-form__submit .btn { min-width: 200px; }
.reg-form__submit .btn:disabled { opacity: .7; cursor: wait; }
.reg-form__privacy { font-size: 14px; color: var(--muted); margin: 0; max-width: 62ch; }

/* ---------- Coach kit order sheet ---------- */

.kit-sheet__head, .kit-row { display: grid; grid-template-columns: minmax(160px, 2fr) repeat(3, minmax(130px, 1.3fr)) 64px 84px 36px; gap: 8px; align-items: center; }
.kit-sheet__head { padding: 0 12px 6px; font: 700 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kit-sheet__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: line; }
.kit-row { padding: 8px 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.kit-row label > span { display: none; }
.kit-row input, .kit-row select { width: 100%; min-height: 42px; padding: 8px 10px; font: 400 15px var(--body); color: var(--text); background: var(--white); border: 2px solid var(--line-strong); border-radius: var(--radius); }
.kit-row select { padding-right: 4px; }
.kit-row input:focus, .kit-row select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.kit-row__ini input { text-transform: uppercase; }
.kit-row.has-dup .kit-row__num input { border-color: var(--loss); background: #fbeaea; }
.kit-sheet.is-locked .kit-row input, .kit-sheet.is-locked .kit-row select { background: var(--paper); border-color: var(--line); color: var(--text); opacity: 1; }
.kit-sheet__add { margin-top: 12px; }
.kit-sheet__count { margin: 10px 0 0; font-weight: 600; color: var(--green-deep); }
.kit-sheet__notes { margin-top: 20px; max-width: 760px; }
.kit-sheet__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 12px; }
.form-problem ul { margin: 6px 0 0; padding-left: 20px; font-weight: 500; }
@media (max-width: 900px) {
  .kit-sheet__head { display: none; }
  .kit-row { grid-template-columns: 1fr 1fr; gap: 8px 10px; padding: 14px; position: relative; }
  .kit-row label > span { display: block; font: 700 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
  .kit-row__name { grid-column: 1 / -1; padding-right: 40px; }
  .kit-row__remove { position: absolute; top: 10px; right: 8px; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--blue-ink); color: #c5d0e0; padding: 64px 0 0; font-size: 15px; }
.site-footer a { color: #e6edf7; text-decoration: none; }
.site-footer a:hover { color: #7fd2a7; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer__name { font: 800 26px/1 var(--display); text-transform: uppercase; color: var(--white); margin: 16px 0 10px; }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer__h { font: 700 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #7fd2a7; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__fa { margin-top: 20px; padding: 4px; background: var(--white); border-radius: var(--radius); object-fit: contain; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px var(--gutter) 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__club { grid-column: 1 / -1; } }
