/* Cam Everside YFC - black & yellow */
:root {
  --yellow: #f5e947;
  --yellow-deep: #e2d200;
  --black: #000;
  --ink: #141412;
  --ink-soft: #3d3d37;
  --muted: #62625a;
  --bg: #f7f6ef;
  --card: #fff;
  --line: #e1dfd0;
  --danger: #b3261e;
  --ok: #1e6b34;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 20px rgba(0, 0, 0, 0.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Bahnschrift SemiBold Condensed", "Bahnschrift", "Arial Narrow", "Roboto Condensed", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--yellow-deep); }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: #000; padding: 0.75rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 0; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: 0.01em; text-transform: uppercase; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3, .h3 { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; line-height: 1.15; }
h2.h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.25rem; max-width: 46rem; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }
.plain { list-style: none; padding: 0; margin: 0; }
code { background: #ecebd9; padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.92em; }

.container { width: min(1140px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2rem); margin-inline: auto; }
.narrow-sm { width: min(440px, 100% - 2rem); margin-inline: auto; }

/* Bee-stripe divider */
.stripe { height: 10px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, #000 12px 24px); }

.staging-bar { background: #b3261e; color: #fff; text-align: center; font-size: 0.9rem; padding: 0.4rem 1rem; }

/* ---------- header ---------- */
.site-header { background: #000; color: #fff; position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: #fff; text-decoration: none; }
.brand img { border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; }
.brand-text small { color: var(--yellow); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.15rem; }
.site-nav a { color: #fff; text-decoration: none; padding: 0.55rem 0.7rem; border-radius: 8px; font-weight: 600; font-size: 0.98rem; display: block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--yellow); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 8px 8px 0 0; }
.site-nav .btn { margin-left: 0.4rem; color: #000; }
.site-nav .btn:hover { color: #000; }
.has-sub { position: relative; }
.has-sub .sub { display: none; position: absolute; top: 100%; left: 0; background: #111; border: 1px solid #333; border-top: 3px solid var(--yellow); border-radius: 0 0 10px 10px; padding: 0.5rem; min-width: 190px; grid-template-columns: repeat(3, 1fr); gap: 0.15rem; flex-direction: row; flex-wrap: wrap; width: 240px; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: flex; }
.has-sub .sub li { width: calc(33.333% - 0.1rem); }
.has-sub .sub a { text-align: center; padding: 0.5rem 0.25rem; }

.nav-toggle { display: none; background: transparent; border: 2px solid var(--yellow); border-radius: 8px; width: 46px; height: 42px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 22px; height: 3px; background: var(--yellow); border-radius: 2px; content: ""; position: relative; }
.nav-toggle .bars::before { position: absolute; top: -7px; }
.nav-toggle .bars::after { position: absolute; top: 7px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .header-row { flex-wrap: wrap; }
  .site-nav { display: none; width: 100%; order: 3; padding-bottom: 0.75rem; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--yellow); border-radius: 0; }
  .site-nav .btn { margin: 0.4rem 0 0; text-align: center; }
  .has-sub .sub { display: flex; position: static; background: transparent; border: 0; box-shadow: none; padding: 0 0 0.25rem 0.5rem; width: auto; }
  .has-sub .sub li { width: auto; }
  .has-sub .sub a { padding: 0.3rem 0.6rem; background: #1b1b1b; border-radius: 6px; font-size: 0.9rem; }
}

/* ---------- buttons ---------- */
.btn { display: inline-block; font: inherit; font-weight: 800; letter-spacing: 0.02em; text-decoration: none; text-align: center; border: 3px solid transparent; border-radius: 10px; padding: 0.7rem 1.3rem; cursor: pointer; line-height: 1.2; transition: transform .08s ease, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: #000; border-color: var(--yellow); }
.btn-primary:hover { background: #fff36a; }
.btn-dark { background: #000; color: var(--yellow); border-color: #000; }
.btn-dark:hover { background: #222; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--yellow); }
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: #fff; color: #000; }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.92rem; border-width: 2px; }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 1.15rem; }
.btn-block { display: block; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn-col { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
button.link.danger { color: var(--danger); }
form.inline { display: inline; }

/* ---------- hero ---------- */
.hero { background: #000; color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, #000 12px 24px); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 2rem; padding-block: clamp(2rem, 6vw, 4.5rem); }
.hero h1 { color: #fff; }
.hero .lead { color: #e9e9dd; }
.eyebrow { color: var(--yellow); font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; margin-bottom: 0.75rem; }
.eyebrow a { color: var(--yellow); }
.hero-badge { border-radius: 50%; justify-self: center; width: min(360px, 80%); filter: drop-shadow(0 12px 40px rgba(245, 233, 71, 0.18)); }
.charter-pill { display: inline-block; margin-top: 1.25rem; border: 2px solid var(--yellow); color: var(--yellow); border-radius: 999px; padding: 0.2rem 0.9rem; font-weight: 700; font-size: 0.9rem; }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero-badge { order: -1; width: 200px; } .btn-row { justify-content: center; } }

.page-hero { background: #000; color: #fff; padding-block: clamp(1.75rem, 5vw, 3rem); border-bottom: 10px solid var(--yellow); }
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-hero .lead { color: #e9e9dd; margin: 0; }
.team-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.team-hero h1 { font-size: clamp(3.5rem, 12vw, 7rem); color: var(--yellow); margin: 0; }
.team-photo { border-radius: var(--radius); border: 3px solid var(--yellow); max-height: 240px; width: auto; object-fit: cover; }
.team-hero-side { display: grid; gap: 1rem; justify-items: end; align-content: center; }
/* Kit sponsors in the black banner: a white panel so every logo shows clearly, whatever its colours */
.hero-sponsors { background: #fff; color: var(--ink); border: 3px solid var(--yellow); border-radius: var(--radius); padding: 0.7rem 1.1rem 0.9rem; max-width: 36rem; }
.hero-sponsors-title { margin: 0 0 0.55rem; font-family: inherit; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.hero-sponsors-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 0.8rem 1.4rem; }
.hero-sponsors-list li { display: grid; gap: 0.25rem; justify-items: center; }
.hero-sponsor { display: flex; align-items: center; justify-content: center; height: 86px; text-decoration: none; color: inherit; font-weight: 800; }
.hero-sponsor img { height: 86px; width: auto; max-width: 15rem; object-fit: contain; }
.hero-sponsors .kit-position { font-size: 0.68rem; }
@media (max-width: 700px) {
  .team-hero-grid { grid-template-columns: 1fr; }
  .team-hero-side { justify-items: start; }
  .hero-sponsors { max-width: 100%; width: 100%; }
  .hero-sponsor, .hero-sponsor img { height: 64px; }
  .hero-sponsors-list { gap: 0.6rem 1.1rem; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section-tight { padding-block: 1.5rem; }
.section-tint { background: #efeedd; }
.section-dark { background: #000; color: #fff; }
.section-dark h2 { color: var(--yellow); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1rem; }
.section-head h2 { margin: 0; }
.empty { background: var(--card); border: 2px dashed var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: center; color: var(--muted); }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-body { padding: 1.1rem 1.25rem 1.25rem; }
.card h3 { margin-bottom: 0.4em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow-deep); }
.feature { display: block; padding: 1.4rem; text-decoration: none; border-top: 6px solid var(--yellow); transition: transform .12s; }
.feature:hover { transform: translateY(-3px); }
.feature p { color: var(--ink-soft); }
.more { font-weight: 800; }

.post-card { display: flex; flex-direction: column; }
.post-card-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: center; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }
.tag { display: inline-block; background: #000; color: var(--yellow); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.12rem 0.6rem; border-radius: 999px; text-decoration: none; }
a.tag:hover { background: #333; }
.tag-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 0.05rem 0.5rem; }
.tag-warn { background: #fff0c2; color: #6d4b00; border: 2px solid #e0b100; padding: 0.05rem 0.5rem; }
.tag-ok { background: #dff3e4; color: var(--ok); border: 2px solid #8bc79b; padding: 0.05rem 0.5rem; }
.scoreline { font-weight: 600; }
.result { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; font-weight: 900; font-size: 0.8rem; color: #fff; margin-right: 0.35rem; }
.result-W { background: var(--ok); }
.result-D { background: #6b6b60; }
.result-L { background: var(--danger); }

/* team tiles */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.9rem; }
.team-grid-lg { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.1rem; }
.team-tile { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.35rem; min-height: 120px; padding: 1rem; background: #000; color: var(--yellow); border-radius: var(--radius); text-decoration: none; text-align: center; border: 3px solid #000; transition: transform .12s, border-color .12s; overflow: hidden; }
.team-tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 8px, #000 8px 16px); }
.team-tile:hover { transform: translateY(-3px); border-color: var(--yellow); }
.team-grid-lg .team-tile { min-height: 160px; }
.team-name { font-family: var(--display); font-size: 2.6rem; line-height: 1; font-weight: 800; }
.team-grid-lg .team-name { font-size: 3.4rem; }
.team-nicks { color: #e9e9dd; font-size: 0.82rem; line-height: 1.35; font-weight: 600; }
.no-team { display: inline-block; color: #d6d6c8; border: 1px dashed #888; border-radius: 999px; padding: 0.1rem 0.7rem; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.no-team-lg { font-size: 1rem; padding: 0.3rem 1rem; }
.team-tile.is-inactive { background: #1d1d1a; border-color: #2c2c28; }
.team-tile.is-inactive::before { background: repeating-linear-gradient(-45deg, #5b5b50 0 8px, #1d1d1a 8px 16px); }
.team-tile.is-inactive .team-name { color: #9a9a8c; }
.team-tile.is-inactive:hover { border-color: #888; }
.has-sub .sub a.is-inactive { opacity: 0.55; font-style: italic; }
.team-count { color: var(--yellow); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.team-age { color: var(--yellow); }
.team-nick { color: #fff; font-size: 0.55em; letter-spacing: 0.02em; }
.team-tabs { background: #111; border-bottom: 3px solid #000; }
.team-tabs .container { display: flex; flex-wrap: wrap; gap: 0.35rem; padding-block: 0.6rem; }
.team-tabs a { color: #fff; text-decoration: none; font-weight: 700; padding: 0.4rem 1rem; border: 2px solid #444; border-radius: 999px; font-size: 0.95rem; }
.team-tabs a:hover { border-color: var(--yellow); color: var(--yellow); }
.team-tabs a[aria-current="page"] { background: var(--yellow); border-color: var(--yellow); color: #000; }
.team-card { display: flex; flex-direction: column; }
.team-card-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.team-card .coach-list li { padding: 0.5rem 0; }
.intro { margin-bottom: 1.5rem; }
.recruiting { display: inline-block; background: var(--yellow); color: #000; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.1rem 0.6rem; border-radius: 999px; }
.recruiting-lg { font-size: 1rem; padding: 0.3rem 1rem; }
.team-sponsor { color: #d8d8c8; font-size: 0.8rem; }

/* two-column layout */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; padding-block: 2rem 3rem; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .side-col { order: -1; } }
.side-col { display: grid; gap: 1.25rem; }
.side-card { padding: 1.25rem; }
.side-card h2 { font-size: 1.35rem; margin-bottom: 0.6em; }
.side-card > :last-child { margin-bottom: 0; }
.side-card#join { border-top: 6px solid var(--yellow); background: #fffde0; }
.coach-list li { padding: 0.75rem 0; border-top: 1px solid var(--line); }
.coach-list li:first-child { border-top: 0; padding-top: 0; }
.coach-list p { margin: 0.1rem 0; }
.coach-name span { display: inline-block; margin-left: 0.4rem; font-size: 0.8rem; background: #000; color: var(--yellow); border-radius: 999px; padding: 0.05rem 0.55rem; font-weight: 700; }
.sponsor-logo { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; text-decoration: none; margin-bottom: 0.75rem; }
.sponsor-logo img { max-height: 90px; max-width: 100%; width: auto; }
.kit-sponsor-list { list-style: none; padding: 0; margin: 0 0 0.5rem; display: grid; gap: 0.9rem; }
.kit-sponsor-list li { text-align: center; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.kit-sponsor-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.kit-sponsor-list .sponsor-logo { margin-bottom: 0.25rem; }
.kit-position { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.link-list li { border-top: 1px solid var(--line); }
.link-list li:first-child { border-top: 0; }
.link-list a { display: block; padding: 0.5rem 0; }

/* prose */
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.35em; }
.prose-lg { font-size: 1.1rem; }
.prose figure { margin: 1.5rem 0; }
.prose figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 3px solid #000; }
.prose figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 0.5rem; }
.prose h3:first-child { margin-top: 0; }
.post h1 { font-size: clamp(2rem, 5vw, 3rem); }
.post { padding-block: 2rem 3rem; }
.post-image { width: 100%; border-radius: var(--radius); margin-bottom: 1.5rem; }
.scorebox { background: #000; color: #fff; border-radius: var(--radius); padding: 1.25rem; text-align: center; margin-bottom: 1.5rem; border-bottom: 8px solid var(--yellow); }
.scorebox .muted { color: #cfcfc0; margin: 0.5rem 0 0; }
.score-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; font-family: var(--display); font-size: clamp(1.1rem, 3.5vw, 1.7rem); text-transform: uppercase; }
.score { font-size: clamp(2rem, 7vw, 3.4rem); color: var(--yellow); }
.scorebox .result { width: auto; height: auto; border-radius: 999px; padding: 0.1rem 0.9rem; margin: 0.5rem 0 0; font-size: 0.85rem; }
.byline { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }

.filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
.filters label { display: grid; gap: 0.25rem; font-weight: 700; font-size: 0.9rem; }
.pager { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; }

.member { display: flex; flex-direction: column; }
.member-photo { width: 100%; aspect-ratio: 1; object-fit: cover; background: #000; }
.member-initials { display: grid; place-items: center; font-family: var(--display); font-size: 4rem; color: var(--yellow); }
.role { font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.85rem; }

.sponsor-card { display: flex; flex-direction: column; }
.sponsor-main { border: 3px solid var(--yellow); grid-column: 1 / -1; flex-direction: row; }
.sponsor-main .sponsor-logo-box { flex: 0 0 40%; }
@media (max-width: 640px) { .sponsor-main { flex-direction: column; } }
.sponsor-logo-box { display: grid; place-items: center; padding: 1.25rem; min-height: 140px; background: #fff; border-bottom: 1px solid var(--line); }
.sponsor-logo-box img { max-height: 110px; width: auto; }
.sponsor-name-big { font-family: var(--display); font-size: 1.8rem; text-transform: uppercase; text-align: center; }
.sponsor-strip { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; margin-top: 1rem; }
.sponsor-strip li { background: #fff; border-radius: 10px; padding: 0.6rem 1rem; min-width: 130px; min-height: 64px; display: grid; place-items: center; text-align: center; }
.sponsor-strip img { max-height: 54px; width: auto; }
.sponsor-strip a, .sponsor-strip span { color: #000; font-weight: 800; text-decoration: none; }

.callout { background: var(--card); border: 1px solid var(--line); border-left: 8px solid #000; border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-top: 2rem; }
.callout-yellow { background: var(--yellow); border-color: #000; }
.callout > :last-child { margin-bottom: 0; }
.bank-card { padding: 1.25rem; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: 1.1rem; }
.steps li { counter-increment: step; position: relative; padding-left: 4rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.9rem; height: 2.9rem; display: grid; place-items: center; background: #000; color: var(--yellow); font-family: var(--display); font-size: 1.6rem; border-radius: 50%; }

/* ---------- footer ---------- */
.site-footer { background: #000; color: #e9e9dd; margin-top: 2rem; }
.site-footer a { color: #fff; text-decoration-color: var(--yellow); }
.site-footer h2 { color: var(--yellow); font-size: 1.15rem; }
.site-footer h2 a { color: inherit; }
.site-footer h2.footer-sub-head { margin-top: 1.25rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2rem; padding-block: 2.5rem 1.5rem; }
.footer-badge { border-radius: 50%; }
.footer-name { font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; margin: 0.5rem 0 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-grid address { font-style: normal; margin-top: 0.5rem; white-space: pre-line; }
.social-icons { display: flex; gap: 0.9rem; margin: 0.75rem 0 0; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--yellow); transition: color 0.15s ease, transform 0.15s ease; }
.social-icon:hover, .social-icon:focus-visible { color: #fff; transform: scale(1.08); }
.social-icon svg { display: block; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; border-top: 1px solid #333; padding-block: 1rem 1.5rem; font-size: 0.9rem; }
.footer-base p { margin: 0; }
.footer-links button.link { color: #fff; }

/* ---------- forms ---------- */
.field { margin-bottom: 1.1rem; }
.field label, .label-like { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.help { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.4rem; }
.req { color: var(--danger); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=number], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid #b9b7a4; border-radius: 10px; padding: 0.65rem 0.8rem; }
textarea { resize: vertical; min-height: 5rem; }
input:focus, select:focus, textarea:focus { border-color: #000; outline: 3px solid var(--yellow); outline-offset: 0; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.error { color: var(--danger); font-weight: 700; margin: 0.3rem 0 0; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1.25rem; }
fieldset { border: 2px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 0.5rem; margin: 0 0 1.5rem; background: #fff; min-width: 0; }
legend { font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; padding: 0 0.5rem; background: var(--yellow); border-radius: 6px; }
.choice { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 500 !important; cursor: pointer; margin-bottom: 0 !important; }
.choice input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; flex: none; accent-color: #000; }
.choice-row { display: flex; gap: 1.5rem; }
.choice-stack { display: grid; gap: 0.6rem; }
.mt-1 { margin-top: 1rem; }
.pay-buttons { margin: 0.5rem 0 0; }
.hp { position: absolute; left: -5000px; height: 0; overflow: hidden; }
.stack > * + * { margin-top: 0; }
.form-card { max-width: 860px; }
.form-card > .btn-row { margin-top: 1rem; }
.login-card { padding: 2rem; text-align: center; }
.login-card form { text-align: left; }
.login-badge { border-radius: 50%; margin: 0 auto 1rem; display: block; }
.score-inputs { display: flex; gap: 0.75rem; align-items: center; }
.score-inputs label { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.score-inputs input { width: 5rem; }

/* ---------- quick match report (made for a phone: big things to tap) ---------- */
.lead-small { font-size: 1.1rem; max-width: 40rem; }
.quick-form { max-width: 720px; }
.quick-step { border: 2px solid #000; border-radius: var(--radius); padding: 1rem 1.1rem 1.1rem; margin: 0; background: #fff; }
.quick-step legend { font-weight: 800; font-size: 1.1rem; padding: 0 0.4rem; }
.quick-team { font-size: 1.3rem; margin: 0; }
.quick-summary { font-size: 1.15rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { position: relative; margin: 0 !important; font-weight: 700; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: block; padding: 0.7rem 1.1rem; min-height: 2.75rem; border: 2px solid #000; border-radius: 999px; background: #fff; line-height: 1.3; }
.chip input:checked + span { background: var(--yellow); box-shadow: inset 0 0 0 2px #000; }
.chip input:focus-visible + span { outline: 3px solid #000; outline-offset: 3px; }
a.chip { text-decoration: none; color: inherit; }
a.chip:hover span { background: var(--yellow); }
.quick-waiting { margin: 0 0 1.5rem; padding: 1rem 1.1rem; border: 2px dashed #000; border-radius: var(--radius); background: #fffbe0; max-width: 720px; }
.quick-waiting h2 { margin-top: 0; }
.nudge { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between; }
.nudge form { display: inline; }
.score-big input { width: 6rem; font-size: 1.5rem; text-align: center; padding: 0.6rem; }
@media (max-width: 560px) {
  .quick-step { padding: 0.85rem; }
  .chips { gap: 0.5rem; }
  .chip span { padding: 0.6rem 0.85rem; font-size: 0.97rem; }
  .quick-form .btn-lg { width: 100%; }
}
.current-image { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.75rem; }
.current-image img { border-radius: 8px; border: 1px solid var(--line); }
.assign-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0.6rem 1.25rem; margin-bottom: 1rem; }
.assign-row { display: grid; grid-template-columns: 9.5rem 1fr auto; gap: 0.6rem; align-items: center; }
.group-block { margin-bottom: 2rem; }
.group-block table { table-layout: fixed; }
.group-block th:nth-child(1) { width: 36%; }
.group-block th:nth-child(2) { width: 24%; }
.assign-row input[type=text] { padding: 0.35rem 0.6rem; }
.copy-field { font-family: ui-monospace, Consolas, monospace; font-size: 0.95rem !important; }

/* ---------- flash messages ---------- */
.flash { border-radius: 10px; padding: 0.85rem 1.1rem; margin: 1rem 0; border: 2px solid; font-weight: 500; }
.flash-success { background: #e4f5e8; border-color: #8bc79b; color: #124a24; }
.flash-error { background: #fdeceb; border-color: #e6a19c; color: #7a1610; }
.flash-info { background: #eaf1fb; border-color: #a8c3ea; color: #143a72; }
.flash-warn { background: #fff5d6; border-color: #e0b100; color: #5c4200; }

/* ---------- admin ---------- */
.admin-bar { background: var(--yellow); border-bottom: 3px solid #000; }
.admin-bar nav { display: flex; flex-wrap: wrap; gap: 0.25rem 0.25rem; }
.admin-bar a { color: #000; text-decoration: none; font-weight: 700; padding: 0.6rem 0.8rem; font-size: 0.95rem; }
.admin-bar a:hover { background: rgba(0, 0, 0, 0.08); }
.admin-bar a[aria-current="page"] { background: #000; color: var(--yellow); }
.admin-page { padding-block: 1.75rem 3rem; }
.admin-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-title-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 0.5rem; }
.page-title-row h1 { margin: 0; }
.admin-card .card-body { padding: 1.25rem; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.msg-cell { max-width: 360px; }
.msg-cell p { margin: 0 0 0.5rem; }
.msg-cell p:last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #000; color: var(--yellow); font-family: var(--display); text-transform: uppercase; letter-spacing: 0.03em; font-size: 1rem; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.actions { white-space: nowrap; display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap; }
.row-muted { color: var(--muted); background: #f3f2e9; }
.thumb { height: 36px; width: auto; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.tabs a { text-decoration: none; padding: 0.35rem 0.9rem; border: 2px solid #000; border-radius: 999px; font-weight: 700; font-size: 0.92rem; }
.tabs a[aria-current="page"] { background: #000; color: var(--yellow); }
.details { display: grid; grid-template-columns: 11rem 1fr; gap: 0.5rem 1rem; margin: 0; }
.details dt { font-weight: 700; color: var(--ink-soft); }
.details dd { margin: 0; }
.details dd p { margin: 0 0 0.5em; }
@media (max-width: 560px) { .details { grid-template-columns: 1fr; gap: 0; } .details dd { margin-bottom: 0.75rem; } }
.reg-link { margin-bottom: 1.5rem; max-width: 860px; }
.fb-settings { margin-bottom: 1.5rem; max-width: 860px; }
.fb-settings .btn-row { margin-top: 0.75rem; }
.fb-card { margin-bottom: 1.5rem; }
.fb-photo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.fb-photo img { border-radius: 8px; height: auto; }
.fb-photo p { margin: 0; }
.help-details { margin-top: 1rem; }
.help-details summary { cursor: pointer; font-weight: 700; }
.help-details ol { margin: 0.6rem 0 0; padding-left: 1.3rem; }
.help-details li { margin-bottom: 0.4rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .site-header, .site-footer, .admin-bar, .stripe { display: none !important; } body { background: #fff; } }
