/* ───────── Header ───────── */
.site-header { position: relative; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--rule); }
.site-header__bar { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.site-header__logo { display: inline-flex; align-items: center; min-height: var(--hit); margin-right: auto; }
.site-header__logo img { height: 34px; width: auto; }
.site-header__enter { margin-left: auto; }
.menu-button {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--hit); min-width: var(--hit);
  padding: 0 12px; background: none; border: 1px solid var(--rule-strong); border-radius: var(--r-control);
  font-size: 14px; font-weight: 600;
}
.menu-button__icon { width: 18px; height: 12px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-button__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
.menu-button[aria-expanded="true"] .menu-button__icon { border-color: transparent; }
.menu-button[aria-expanded="true"] .menu-button__icon::before,
.menu-button[aria-expanded="true"] .menu-button__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button__icon::after { transform: rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--rule); box-shadow: 0 12px 24px rgba(17,20,24,.08);
}
.site-nav__list { padding: 8px var(--gutter) 16px; }
.site-nav__list a {
  display: flex; align-items: center; min-height: 48px; padding: 0 4px;
  font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-faint);
}
.site-nav__list a[aria-current="page"] { color: var(--blue-text); }
.site-nav__extra { display: block; }

@media (min-width: 1000px) {
  .site-header__logo img { height: 40px; }
  .menu-button { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; box-shadow: none; border: 0; }
  .site-nav__list { display: flex; align-items: center; gap: 30px; padding: 0; }
  .site-nav__list a { min-height: var(--hit); padding: 0; border: 0; font-size: 14px; }
  .site-nav__list a[aria-current="page"] { font-weight: 700; box-shadow: inset 0 -2px 0 var(--blue); }
  .site-nav__extra { display: none; }
  .site-header__enter { margin-left: 30px; }
  .site-header__logo { margin-right: auto; }
}

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--hit); padding: 12px 22px; border-radius: 10px; border: 1.5px solid transparent;
  font: 600 15px/1.2 var(--font-body); text-decoration: none; text-align: center; cursor: pointer;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(17,20,24,.3); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--small { min-height: var(--hit); padding: 8px 16px; font-size: 14px; border-radius: var(--r-control); }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--tint-2); color: var(--ink-faint); border-color: transparent; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; min-height: var(--hit); font-size: 14px; font-weight: 600; color: var(--blue-text); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-button { background: none; border: 0; padding: 0; min-height: var(--hit); font: 600 14px var(--font-body); color: var(--blue-text); cursor: pointer; }
.link-button:hover { text-decoration: underline; }

/* ───────── Notice banner (data/site.json) ───────── */
.notice { background: var(--warn-fill); border-bottom: 1px solid var(--warn-rule); color: var(--ink-2); font-size: 14.5px; }
.notice .container { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding-top: 10px; padding-bottom: 10px; }
.notice a { font-weight: 600; }

/* ───────── Page title block ───────── */
.page-head { padding: 32px 0 0; }
.page-head h1 { margin-top: 8px; }
.page-head__lede { margin-top: 16px; font-size: 17px; line-height: 1.65; color: var(--ink-muted); max-width: 640px; }
@media (min-width: 900px) { .page-head { padding-top: 44px; } }

.section { padding-top: 48px; }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
@media (min-width: 900px) { .section { padding-top: 60px; } }
.page-end { height: 56px; }

/* ───────── Hero (home) ───────── */
.hero { position: relative; }
.hero__media { position: relative; height: 240px; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 25%; }
.hero__copy { padding: 24px 0 8px; }
.hero__title { font-size: clamp(44px, 11vw, 82px); line-height: .95; margin-top: 12px; }
.hero__lede { font-size: 17px; line-height: 1.65; color: var(--ink-muted); margin-top: 18px; max-width: 480px; }
.hero .btn-row { margin-top: 24px; }
@media (min-width: 900px) {
  .hero__media { height: 560px; }
  .hero__media img { object-position: 50% 20%; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 38%, rgba(255,255,255,0) 68%); }
  .hero__copy { position: absolute; top: 0; left: 0; right: 0; padding-top: 84px; z-index: 1; }
  .hero__copy .container > * { max-width: 610px; }
  .hero__copy .container > .hero__title { max-width: 760px; }
  .hero__title { margin-top: 16px; }
  .hero__lede { margin-top: 22px; }
  .hero .btn-row { margin-top: 30px; gap: 14px; }
  .hero .btn { padding: 16px 26px; }
}

/* ───────── Cards ───────── */
.card { background: var(--surface); border: 1px solid rgba(17,20,24,.14); border-radius: var(--r-card); }
.card--pad { padding: 22px; }
.callout { background: var(--tint); border-radius: 14px; padding: 22px 24px; }
.callout h2, .callout h3 { font-size: 24px; }
.callout p { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.callout .link-arrow { margin-top: 6px; }
.callout--warn { background: var(--warn-fill); border: 1px solid var(--warn-rule); }

.grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 560px) and (max-width: 899px) { .grid--4 { grid-template-columns: 1fr 1fr; } }

/* League cards (home, leagues) */
.league-card { display: flex; flex-direction: column; border: 1px solid rgba(17,20,24,.14); border-radius: 14px; overflow: hidden; background: var(--surface); }
.league-card__band { background: var(--tint-2); padding: 18px 22px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.league-card__band .display { font-size: 15px; letter-spacing: .12em; color: var(--ink-muted); font-weight: 600; }
.league-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.league-card h3 { font-size: 28px; letter-spacing: .03em; }
.league-card__facts { font-size: 14.5px; color: var(--ink-muted); line-height: 1.7; margin-top: 8px; }
.league-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); }
.league-card__foot-spacer { height: 18px; }

/* Availability badge */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge--open { color: var(--ok); }
.badge--few { color: var(--ok); }
.badge--waitlist { color: var(--warn-text); }
.badge--closed { color: var(--ink-faint); }

/* Facts strip */
.facts { display: grid; gap: 20px; }
@media (min-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { border-top: 2px solid var(--ink); padding-top: 16px; }
.fact__value { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.1; margin-top: 6px; text-transform: uppercase; }
.fact__note { font-size: 13.5px; color: var(--ink-muted); line-height: 1.6; margin-top: 4px; }

/* Timeline (tournament, "how the weekend runs") */
.timeline { list-style: none; padding: 0; margin-top: 18px; border-bottom: 1px solid var(--rule); }
.timeline li { display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 18px 0; border-top: 1px solid var(--rule); }
.timeline__when { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--blue-text); width: 140px; flex: none; text-transform: uppercase; }
.timeline__what { flex: 1 1 240px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

/* Tint panel standing in for a club photo until one is supplied (DECISIONS §3) */
.panel-tint { background: var(--tint-2); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 180px; }
.panel-tint .display { font-size: 44px; line-height: .95; text-transform: uppercase; }

/* Promo band (home → tournament) */
.band { border-radius: 16px; overflow: hidden; background: var(--tint-2); display: grid; }
.band__side { background: var(--blue); color: #fff; padding: 32px 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 180px; }
.band__side .display { font-size: clamp(44px, 8vw, 72px); line-height: .92; text-transform: uppercase; }
.band__side .eyebrow { color: rgba(255,255,255,.85); }
.band__body { padding: 32px 28px; }
.band__body h2 { font-size: clamp(38px, 6vw, 52px); line-height: .98; margin-top: 12px; }
.band__body p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-top: 16px; }
.band__body .btn-row { margin-top: 24px; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr 1fr; } .band__body { padding: 44px 46px; } .band__side { padding: 44px 46px; min-height: 300px; } }

/* ───────── Tabs, chips, pager ───────── */
.tabs { display: flex; gap: 26px; border-bottom: 1px solid rgba(17,20,24,.14); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 0 2px; flex: none;
  font-size: 16px; font-weight: 500; color: var(--ink-muted); text-decoration: none; background: none; border: 0;
  border-bottom: 2.5px solid transparent; margin-bottom: -1px;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"], .tab[aria-current="page"] { font-weight: 700; color: var(--ink); border-bottom-color: var(--blue); }
@media (min-width: 900px) { .tabs { gap: 34px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.chip {
  display: inline-flex; align-items: center; min-height: var(--hit); padding: 0 18px; border-radius: var(--r-chip);
  border: 1px solid var(--rule-strong); background: var(--surface); color: var(--ink-2);
  font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.switch { display: inline-flex; border: 1px solid var(--rule-strong); border-radius: var(--r-control); overflow: hidden; }
.switch button { min-height: var(--hit); min-width: 56px; padding: 0 14px; background: var(--surface); border: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.switch button + button { border-left: 1px solid var(--rule-strong); }
.switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pager__btn {
  display: inline-flex; align-items: center; min-height: var(--hit); padding: 0 13px; border-radius: var(--r-control);
  border: 1px solid var(--rule-strong); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.pager__btn[aria-disabled="true"] { color: var(--ink-faint); border-color: var(--rule); pointer-events: none; }

.select { min-height: var(--hit); padding: 0 36px 0 12px; border: 1px solid var(--rule-strong); border-radius: var(--r-control); background: var(--surface) 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' fill='none' stroke='%23111418' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; font-size: 14px; font-weight: 600; }

/* ───────── Draw ───────── */
.draw-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.draw-head h2 { font-size: clamp(26px, 4vw, 32px); }
.draw-meta { font-size: 14px; color: var(--ink-muted); margin-top: 6px; }

/* Phone: time-grouped (concept 2b). Desktop: table (3b). */
.draw { margin-top: 18px; }
.draw-group { border-top: 1px solid var(--rule); padding: 14px 0 6px; }
.draw-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.draw-group__time { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.draw-group__duty { font-size: 13px; color: var(--ink-muted); text-align: right; }
.draw-match { display: grid; grid-template-columns: 58px 1fr auto; gap: 4px 12px; align-items: start; padding: 10px 0; }
.draw-match + .draw-match { border-top: 1px dashed var(--rule-faint); }
.draw-match__court { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--ink-muted); text-transform: uppercase; padding-top: 3px; }
.draw-match__teams { font-size: 16px; line-height: 1.45; }
.draw-match__teams .v { color: var(--ink-faint); font-size: 13px; }
.draw-match__grade { font-size: 12px; font-weight: 700; color: var(--ink-muted); background: var(--tint); border-radius: 6px; padding: 2px 8px; }
.draw-match__status { grid-column: 2 / -1; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--warn-text); text-transform: uppercase; }
.draw-note { font-size: 14px; color: var(--ink-muted); background: var(--tint); border-radius: var(--r-control); padding: 10px 14px; margin: 8px 0; }

.draw-table { display: none; }
@media (min-width: 900px) {
  .draw-groups { display: none; }
  .draw-table { display: block; background: var(--surface); border: 1px solid rgba(17,20,24,.14); border-radius: var(--r-card); overflow: hidden; }
  .draw-table table { width: 100%; font-size: 14.5px; }
  .draw-table th { background: var(--tint); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--ink-muted); text-align: left; padding: 13px 14px; text-transform: uppercase; }
  .draw-table td { padding: 15px 14px; border-top: 1px solid rgba(17,20,24,.1); vertical-align: middle; }
  .draw-table th:first-child, .draw-table td:first-child { padding-left: 22px; }
  .draw-table th:last-child, .draw-table td:last-child { padding-right: 22px; }
  .draw-table .t-time { font-family: var(--font-display); font-size: 19px; font-weight: 700; width: 80px; }
  .draw-table .t-court { width: 70px; }
  .draw-table .t-home { font-weight: 600; }
  .draw-table .t-duty { color: var(--ink-muted); }
  .draw-table .t-grade { width: 64px; }
  .draw-table tr.is-slot-start td { border-top-color: rgba(17,20,24,.18); }
}
.is-mine { background: var(--blue-wash) !important; }
.draw-match.is-mine, .result.is-mine { margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 8px; }
.mine-tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--blue-text); text-transform: uppercase; margin-left: 6px; }

/* ───────── Results ───────── */
.results { margin-top: 16px; border-bottom: 1px solid rgba(17,20,24,.14); }
.result { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(17,20,24,.14); }
.result__teams { flex: 1; font-size: 16px; line-height: 1.5; }
.result__winner { font-weight: 600; }
.result__loser { color: var(--ink-faint); font-weight: 500; }
.result__score { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1; min-width: 56px; text-align: right; white-space: nowrap; }
.result__score--none { color: var(--ink-faint); }
.result__flag { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--warn-text); background: var(--warn-chip); padding: 6px 10px; border-radius: 6px; text-transform: uppercase; white-space: nowrap; }
.result__meta { display: block; font-size: 12.5px; color: var(--ink-faint); font-weight: 500; }
@media (min-width: 900px) { .result__teams { font-size: 16.5px; } }

/* ───────── Ladder ───────── */
.ladder-card { background: var(--surface); border: 1px solid rgba(17,20,24,.14); border-radius: var(--r-card); padding: 20px; }
.ladder-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ladder-card__head h2, .ladder-card__head h3 { font-size: 28px; }
.ladder { width: 100%; margin-top: 12px; font-size: 14.5px; }
.ladder th { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ink-muted); text-transform: uppercase; padding: 10px 4px; border-bottom: 1px solid rgba(17,20,24,.14); text-align: center; }
.ladder td { padding: 11px 4px; border-bottom: 1px solid rgba(17,20,24,.1); text-align: center; color: var(--ink-muted); }
.ladder .l-pos { width: 34px; text-align: left; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink-faint); }
.ladder tr:first-child .l-pos, .ladder .l-pos--top { color: var(--blue-text); }
.ladder .l-team { text-align: left; font-weight: 600; color: var(--ink); }
.ladder .l-pts { text-align: right; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); width: 48px; }
.ladder .l-opt { display: none; }
.ladder tr.is-mine td { background: var(--blue-wash); }
.ladder tr.is-withdrawn td { color: var(--ink-faint); font-style: italic; }
.ladder tr.is-withdrawn .l-team { color: var(--ink-faint); font-weight: 500; }
@media (min-width: 480px) { .ladder .l-opt { display: table-cell; } }
.ladder-card--rail .ladder .l-opt { display: none; }
.ladder-card__foot { font-size: 12.5px; line-height: 1.65; color: var(--ink-muted); margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(17,20,24,.12); }
.ladder-card__foot p + p { margin-top: 6px; }
.ladder-empty { font-size: 14px; color: var(--ink-muted); padding: 14px 0 4px; }
.move-up { color: var(--ok); font-size: 12px; font-weight: 700; }
.move-down { color: var(--err-text); font-size: 12px; font-weight: 700; }

/* ───────── Draws & results layout ───────── */
.dr-layout { display: grid; gap: 40px; padding-top: 28px; align-items: start; }
@media (min-width: 1000px) { .dr-layout { grid-template-columns: 1.6fr 1fr; padding-top: 36px; } }
.dr-rail > * + * { margin-top: 20px; }
.dr-controls { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }

/* Home "next games" */
.next { display: grid; gap: 40px; }
@media (min-width: 1000px) { .next { grid-template-columns: 1.25fr 1fr; } }
.next__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.next__when { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--ink-faint); text-transform: uppercase; margin-top: 10px; }
.slot-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(17,20,24,.14); }
.slot-row__time { font-family: var(--font-display); font-size: 24px; font-weight: 700; width: 64px; flex: none; }
.slot-row__teams { flex: 1; font-size: 16px; }
.slot-row__teams .v { color: var(--ink-faint); }
.slot-row__court { font-size: 13px; font-weight: 600; color: var(--ink-muted); white-space: nowrap; }
.slot-list { margin-top: 16px; border-bottom: 1px solid rgba(17,20,24,.14); }
@media (min-width: 900px) { .slot-row { gap: 22px; padding: 18px 0; } .slot-row__time { width: 72px; } .slot-row__teams { font-size: 16.5px; } }

/* My team */
.myteam { background: var(--tint); border-radius: 14px; padding: 20px 22px; }
.myteam h3 { font-size: 24px; }
.myteam__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.myteam__row .select { flex: 1 1 200px; }
.myteam__summary { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); margin-top: 10px; }
.myteam__summary strong { color: var(--ink); }

/* ───────── Forms ───────── */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: var(--ink-muted); text-transform: uppercase; }
.field__hint { font-size: 13.5px; color: var(--ink-muted); line-height: 1.55; }
.field__error { font-size: 13.5px; color: var(--err-text); font-weight: 600; }
.input, .textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; background: var(--surface);
  border: 1px solid rgba(17,20,24,.28); border-radius: 10px; font-size: 16px;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.input:focus, .textarea:focus, .select:focus { outline: 3px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--err-text); }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: var(--hit); padding: 10px 0; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; line-height: 1.6; padding: 14px 16px; border-radius: 10px; }
.form-status--ok { background: var(--ok-fill); color: var(--ok); border: 1px solid rgba(26,107,84,.3); }
.form-status--err { background: var(--err-fill); color: var(--err-text); border: 1px solid rgba(161,42,27,.3); }
.privacy-note { font-size: 13px; color: var(--ink-muted); line-height: 1.6; }

/* Option cards (radio) */
.options { display: grid; gap: 12px; }
@media (min-width: 640px) { .options--3 { grid-template-columns: repeat(3, 1fr); } }
.option { position: relative; display: block; border: 1px solid rgba(17,20,24,.2); border-radius: var(--r-card); padding: 16px 18px; cursor: pointer; background: var(--surface); }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option:has(input:checked) { border: 2px solid var(--blue); background: rgba(26,128,230,.08); padding: 15px 17px; }
.option:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.option__title, .option__meta, .option__price { display: block; }
.option__title { font-family: var(--font-display); font-size: 24px; font-weight: 700; text-transform: uppercase; }
.option__meta { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; margin-top: 4px; }
.option__price { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-top: 8px; }

.steps { display: flex; gap: 8px; margin-top: 20px; max-width: 520px; }
.steps span { flex: 1; height: 4px; border-radius: 2px; background: rgba(17,20,24,.16); }
.steps span.is-done { background: var(--blue); }

.summary { padding: 24px; }
.summary h2 { font-size: 30px; }
.summary__line { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(17,20,24,.12); font-size: 14.5px; }
.summary__line:first-of-type { margin-top: 14px; }
.summary__line span:first-child { color: var(--ink-2); }
.summary__line span:last-child { font-weight: 600; text-align: right; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 2px solid var(--ink); }
.summary__total span:first-child { font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.summary__total span:last-child { font-family: var(--font-display); font-size: 36px; font-weight: 700; }

.two-col { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .two-col { grid-template-columns: 1.5fr 1fr; gap: 48px; } .two-col--even { grid-template-columns: 1.1fr 1fr; } }

/* ───────── Prose (content pages) ───────── */
.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 32px; margin-top: 44px; color: var(--ink); }
.prose h3 { font-size: 24px; margin-top: 32px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 10px; }
.prose li::marker { color: var(--blue-text); }
.prose strong { color: var(--ink); }
.prose .callout, .prose .card { margin-top: 24px; }
.prose .callout + .callout { margin-top: 16px; }
.key-facts { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 640px) { .key-facts--2 { grid-template-columns: 1fr 1fr; } }
.key-fact { background: var(--tint); border-radius: var(--r-card); padding: 18px 20px; }
.key-fact__label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: var(--ink-muted); text-transform: uppercase; }
.key-fact__value { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1.1; margin-top: 6px; text-transform: uppercase; }
.key-fact__note { font-size: 14px; color: var(--ink-muted); line-height: 1.55; margin-top: 4px; }
.times { width: 100%; font-size: 15.5px; }
.times th, .times td { text-align: left; padding: 14px 12px 14px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.times th { font-family: var(--font-display); font-size: 20px; font-weight: 700; text-transform: uppercase; width: 34%; }
.details { border-top: 1px solid var(--rule); }
.details summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; font-family: var(--font-display); font-size: 22px; font-weight: 700; text-transform: uppercase; list-style: none; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: 26px; color: var(--blue-text); }
.details[open] summary::after { content: "–"; }
.details > div { padding-bottom: 18px; }
.details-list { border-bottom: 1px solid var(--rule); margin-top: 24px; }

/* ───────── Footer ───────── */
.site-footer { margin-top: 64px; padding: 40px 0 32px; background: var(--tint); border-top: 1px solid rgba(17,20,24,.1); font-size: 14px; color: var(--ink-muted); }
.site-footer__grid { display: grid; gap: 28px; }
.site-footer__logo img { height: 32px; width: auto; }
.site-footer p { line-height: 1.75; margin-top: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: var(--hit); color: var(--ink-muted); text-decoration: none; }
.site-footer li a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__h { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: var(--ink-2); text-transform: uppercase; margin-bottom: 4px; }
.site-footer__legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer__legal a { color: var(--ink-muted); }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; } .site-footer { padding: 44px 0 32px; } }

/* ───────── Misc ───────── */
.loading { color: var(--ink-faint); font-size: 14px; padding: 16px 0; }
.empty { color: var(--ink-muted); font-size: 15px; padding: 18px 0; border-top: 1px solid var(--rule); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 6px; padding: 3px 8px; background: var(--tint); color: var(--ink-muted); }
.tag--warn { background: var(--warn-chip); color: var(--warn-text); }
.tag--ok { background: var(--ok-fill); color: var(--ok); }

/* Print draw view (?print=1 or window.print()) */
.print-only { display: none; }
@media print {
  .print-only { display: block; }
  .dr-layout, .dr-controls, .tabs, .page-head, .callout { display: none !important; }
  #print-area h1 { font-size: 24px; }
  #print-area h2 { page-break-after: avoid; }
  #print-area .draw-table { page-break-inside: avoid; }
  .draw-table { display: block; border: 0; }
  .draw-table table { width: 100%; font-size: 11px; }
  .draw-table th, .draw-table td { padding: 4px 6px; border-top: 1px solid #999; text-align: left; }
  h1 { font-size: 28px; }
}

/* Enter a team: one step at a time once JS is running */
.step + .step { margin-top: 40px; }
.is-stepped .step + .step { margin-top: 0; }
.step-nav { display: none; }
.is-stepped .step-nav { display: flex; }
.is-stepped .btn-row .step-nav { display: inline-flex; }
.site-footer__legal a, .site-footer__legal span { display: inline-flex; align-items: center; min-height: var(--hit); }
