/* ============================================================
   Nottingham Athletic — Public site styles
   ============================================================ */

:root {
  /* Brand override — Nottingham Athletic 2026 */
  --na-navy-900: #0A1626;     /* Midnight Navy — primary bg */
  --na-navy-800: #0f1d33;
  --na-navy-700: #14264a;
  --na-navy-600: #1E4FA8;     /* Royal Blue — secondary */
  --na-navy-500: #2d65c9;
  --bg: #F5F5F5;              /* Off-White — page bg on light pages */
  --bg-deep: #ebe9e3;
  --surface: #ffffff;
  --surface-2: #fafaf8;
  --surface-3: #efedea;

  --na-yellow:     #FCD53A;   /* THE accent */
  --na-yellow-600: #e0b81c;
  --na-yellow-100: #fff5cc;
  --na-cherry:     #E63946;   /* very sparingly */

  --accent: var(--na-yellow);
  --accent-600: var(--na-yellow-600);
  --accent-100: var(--na-yellow-100);
  --accent-text: var(--na-navy-900); /* yellow needs dark text */

  --ink: #0A1626;
  --ink-soft: #475065;
  --ink-mute: #7a8295;
  --ink-faint: #b9bfd0;

  /* Density */
  --d-section-y: 96px;
  --d-card-pad: 24px;
  --d-row-y: 18px;
  --d-gap: 24px;
}

[data-density="compact"] {
  --d-section-y: 64px;
  --d-card-pad: 18px;
  --d-row-y: 12px;
  --d-gap: 16px;
}

/* alt accents */
[data-accent="yellow"] { --accent: #FCD53A; --accent-600: #e0b81c; --accent-100: #fff5cc; --accent-text: #0A1626; }
[data-accent="blue"]   { --accent: #1E4FA8; --accent-600: #14264a; --accent-100: #dceaff; --accent-text: #fff; }
[data-accent="cherry"] { --accent: #E63946; --accent-600: #b81c2a; --accent-100: #fde2e4; --accent-text: #fff; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); }

img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ---------- Layout ---------- */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 241, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; user-select: none;
}
.brand img { height: 38px; width: auto; }
.brand-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-serif); font-weight: 700;
  font-size: 22px; letter-spacing: -0.02em; color: var(--na-navy-600);
  font-variation-settings: 'opsz' 48;
}
.brand-mark .crest { height: 32px; width: auto; }

.nav {
  display: flex; gap: 4px; align-items: center;
}
.nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  border-bottom: none;
  transition: background .15s, color .15s;
  cursor: pointer;
}
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a.active { background: var(--na-navy-600); color: #fff; }
.nav a.active:hover { background: var(--na-navy-700); }

.topbar-cta {
  display: flex; align-items: center; gap: 10px;
}

.topbar .menu-btn { display: none; }
@media (max-width: 980px) {
  .nav { display: none; }
  .topbar .menu-btn { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; min-height: 42px;
  transition: background .15s, transform .12s, border-color .15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--na-navy-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--na-navy-700); }
.btn-accent { background: var(--accent); color: var(--accent-text); box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--accent-600); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-soft { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-soft:hover { background: var(--surface-2); }
.btn-lg { padding: 14px 22px; min-height: 48px; font-size: 15px; }
.btn-icon { padding: 0; width: 40px; min-width: 40px; height: 40px; min-height: 40px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow-orange { color: var(--na-navy-600); font-weight: 700; }

/* ---------- Section / shells ---------- */
.section { padding: var(--d-section-y) 0; }
.section-tight { padding: calc(var(--d-section-y) * 0.6) 0; }
.section-deep { background: var(--surface-3); }
.section-navy {
  background: var(--na-navy-900);
  color: #F5F5F5;
}
.section-navy .eyebrow { color: rgba(255,255,255,0.65); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-deep {
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card-pad { padding: var(--d-card-pad); }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
}
.pill-navy { background: rgba(30,58,138,0.1); color: var(--na-navy-600); }
.pill-accent { background: var(--accent-100); color: var(--accent-600); }
.pill-green { background: var(--na-green-100); color: var(--na-green-700); }
.pill-amber { background: var(--na-amber-100); color: var(--na-amber-700); }
.pill-red { background: var(--na-red-100); color: var(--na-red-700); }
.pill-outline { background: transparent; color: var(--ink-soft); border: 1px solid var(--line-strong); }

/* ---------- Document rows (About > Club documents) ---------- */
.doc-row { transition: background 0.15s ease; }
.doc-row:hover { background: var(--surface-3); }
.doc-row:hover span[aria-hidden="true"] { background: var(--accent); color: #fff; }

/* ---------- Real-photo variant of <Photo> ---------- */
.photo.photo-img { padding: 0; background: var(--surface-3); overflow: hidden; }
.photo.photo-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}

/* ---------- About > People (leadership/welfare cards) ---------- */
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 820px) { .people-grid { grid-template-columns: 1fr; } }
.person-card { display: grid; grid-template-columns: 220px 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.person-card .photo { border-radius: 0; aspect-ratio: 4/5; height: 100%; }
.person-card .person-body { padding: 24px 28px; }
.person-card .role { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-600); }
.person-card h3 { font-family: var(--font-serif); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; margin: 6px 0 12px; }
.person-card .bio { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.person-card .person-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; color: var(--ink-mute); }
.person-card .person-foot a { color: var(--ink); text-decoration: underline; text-transform: none; letter-spacing: 0; font-weight: 500; }
@media (max-width: 540px) {
  .person-card { grid-template-columns: 1fr; }
  .person-card .photo { aspect-ratio: 4/3; }
}

/* ---------- About > Club staff grid (smaller cards, 8 slots) ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .staff-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .staff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .staff-grid { grid-template-columns: 1fr; } }
.staff-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.staff-card .staff-photo { aspect-ratio: 4/5; width: 100%; }
.staff-card .staff-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.staff-card .role { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-600); }
.staff-card h3 { font-family: var(--font-serif); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; margin: 6px 0 10px; line-height: 1.2; }
.staff-card .bio { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin: 0; flex: 1; }
.staff-card .staff-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; }
.staff-card .staff-foot a { color: var(--ink); text-decoration: underline; }

.staff-placeholder { background: var(--surface); border: 1px dashed var(--line-strong); box-shadow: none; }
.staff-placeholder .staff-photo {
  background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute);
}
.staff-placeholder h3 { color: var(--ink-mute); font-style: italic; }
.staff-placeholder .bio { color: var(--ink-mute); }
.staff-placeholder .role { color: var(--ink-mute); }

/* ---------- Teams page: team card grid + next-fixture sidebar ---------- */
.team-card-grid {
  display: grid;
  grid-template-columns: 280px 1fr 240px;
  gap: 0;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .team-card-grid { grid-template-columns: 240px 1fr; }
  .team-card-grid > .team-next { grid-column: 1 / -1; border-left: none; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .team-card-grid { grid-template-columns: 1fr; }
}

.team-next {
  background: var(--surface-3);
  border-left: 1px solid var(--line);
  padding: 24px 22px;
  display: flex; flex-direction: column;
  min-width: 0;
}
.team-next-label {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700; color: var(--ink-mute); margin-bottom: 14px;
}
.team-next-date {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 30px; letter-spacing: -0.02em; line-height: 1;
}
.team-next-day {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 4px; font-weight: 600;
}
.team-next-vs {
  margin-top: 14px; font-size: 15px; line-height: 1.35;
}
.team-next-vs .team-next-prep { color: var(--ink-mute); }
.team-next-vs .team-next-opp { font-weight: 600; color: var(--ink); }
.team-next-meta {
  margin-top: auto; padding-top: 18px;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--line);
}
.team-next-meta > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.team-next-meta .lbl { color: var(--ink-mute); letter-spacing: 0.04em; text-transform: uppercase; font-size: 10px; font-weight: 700; align-self: center; }
.team-next-meta .val { font-weight: 600; text-align: right; }

/* ---------- Home page responsive grids ---------- */
.home-fixtures-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.home-dual-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) {
  .home-fixtures-row { grid-template-columns: 1fr; gap: 28px; }
  .home-dual-row { grid-template-columns: 1fr; }
}

/* ---------- Squad dot ---------- */
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-senior { background: var(--team-senior); }
.dot-u23 { background: var(--team-u23); }
.dot-u18 { background: var(--team-u18); }
.dot-u16 { background: var(--team-u16); }
.dot-u14 { background: #FCD53A; }
.dot-u12 { background: #a78bfa; }
.dot-wildcats { background: #2A6FDB; }
.dot-ybl { background: #FCD53A; border: 1px solid #0A1626; }

/* ---------- Stat block ---------- */
.stat .stat-label {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.stat .stat-value {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.stat .stat-sub {
  font-size: 13px; color: var(--ink-soft); margin-top: 8px;
}
.section-navy .stat .stat-value { color: #fff; }
.section-navy .stat .stat-label { color: rgba(255,255,255,0.55); }
.section-navy .stat .stat-sub { color: rgba(255,255,255,0.65); }

/* ---------- Photo placeholder ---------- */
.photo {
  background: var(--na-navy-900);
  background-image: linear-gradient(135deg, #14264a, #0A1626);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
}
.photo-tag {
  position: absolute;
  bottom: 14px; left: 14px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  background: rgba(11,23,56,0.55);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.photo .photo-glyph {
  width: 44px; height: 44px;
  opacity: 0.4;
}

/* Variants of placeholder so they don't all look identical */
.photo-v1 { background-image: linear-gradient(135deg, #1E4FA8, #0A1626); }
.photo-v2 { background-image: linear-gradient(160deg, #14264a, #0A1626); }
.photo-v3 { background-image: linear-gradient(135deg, #2d65c9, #14264a); }
.photo-v4 { background-image: linear-gradient(160deg, #0A1626, #14264a); }
.photo-v5 { background-image: linear-gradient(135deg, #0A1626, #1E4FA8); }
.photo-v6 { background-image: linear-gradient(135deg, #14264a, #0A1626), radial-gradient(at 70% 70%, rgba(252,213,58,0.18), transparent 60%); }

/* ---------- Tabular numerics globally for stat-y bits ---------- */
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Hero (default lead) ---------- */
.hero {
  padding: 72px 0 96px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: stretch;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 48px 0 64px; }
}

.hero-display {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variation-settings: 'opsz' 144;
  margin: 24px 0 36px;
  color: var(--ink);
  max-width: 14ch;
}
.hero-display em {
  font-style: italic;
  font-weight: 500;
  color: var(--na-navy-600);
}
.hero-display .accent {
  color: var(--na-navy-900);
  background: linear-gradient(180deg, transparent 60%, var(--na-yellow) 60%);
  padding: 0 0.1em;
  font-style: normal;
  font-weight: 600;
}
.hero-lede {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 32px;
}
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
}

.hero-meta {
  display: flex; gap: 32px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta .stat .stat-value { font-size: 36px; }

/* hero variant: scoreboard */
.scoreboard {
  background: var(--na-navy-900);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.scoreboard-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.scoreboard-head .live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--na-green-500);
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.scoreboard-body {
  padding: 28px 24px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.team-side { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.team-side.home { align-items: flex-start; text-align: left; }
.team-side.away { align-items: flex-end; text-align: right; }
.team-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.team-meta { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; text-transform: uppercase; }
.scoreboard .vs {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.25);
  font-style: italic;
}
.scoreboard-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}
.scoreboard-foot > div {
  background: var(--na-navy-900);
  padding: 16px 18px;
}
.scoreboard-foot .lbl { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.scoreboard-foot .val { font-family: var(--font-serif); font-size: 18px; font-weight: 600; margin-top: 4px; letter-spacing: -0.01em; }

/* ---------- Marquee ribbon ---------- */
.ribbon {
  background: var(--na-navy-900);
  color: #fff;
  border-top: 1px solid var(--na-navy-800);
  border-bottom: 1px solid var(--na-navy-800);
  overflow: hidden;
  position: relative;
}
.ribbon-track {
  display: flex; gap: 56px;
  padding: 14px 0;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ribbon-item {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.85);
  display: inline-flex; align-items: center; gap: 16px;
}
.ribbon-item .sep {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; }
}

/* ---------- Squad cards ---------- */
.squads {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 980px) { .squads { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .squads { grid-template-columns: 1fr; } }

.squad-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: transform .15s, border-color .15s, box-shadow .15s;
  position: relative;
  overflow: hidden;
}
.squad-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.squad-card .squad-bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
}
.squad-card .squad-num {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variation-settings: 'opsz' 144;
}
.squad-card .squad-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-mute);
  margin-top: 12px;
}
.squad-card h3 {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.squad-card .squad-meta {
  display: flex; gap: 12px;
  margin-top: 14px;
  font-size: 12px; color: var(--ink-soft);
}

/* ---------- Fixtures table ---------- */
.fixtures-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fixture-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: var(--d-row-y) 24px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .15s;
}
.fixture-row:last-child { border-bottom: none; }
.fixture-row:hover { background: var(--surface-2); }
.fixture-row.expanded { background: var(--surface-2); }
.fixture-date {
  display: flex; flex-direction: column;
  font-variant-numeric: tabular-nums;
}
.fixture-date .day {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.fixture-date .month {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft);
  margin-top: 4px;
}
.fixture-main .fixture-title {
  font-weight: 600;
  font-size: 15px;
  display: flex; align-items: center; gap: 10px;
}
.fixture-main .fixture-sub {
  font-size: 13px; color: var(--ink-soft); margin-top: 4px;
}
.fixture-result {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.fixture-result.win { color: var(--na-green-700); }
.fixture-result.loss { color: var(--na-red-700); }
.fixture-result.upcoming { color: var(--ink-mute); font-size: 14px; font-family: var(--font-sans); }

.fixture-detail {
  padding: 0 24px 22px 124px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.fixture-detail .lbl {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 4px;
}
.fixture-detail .val { font-size: 14px; color: var(--ink); }
@media (max-width: 720px) {
  .fixture-row { grid-template-columns: 70px 1fr auto; padding: 14px 16px; }
  .fixture-date .day { font-size: 22px; }
  .fixture-detail { padding: 0 16px 18px 16px; grid-template-columns: 1fr 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--na-navy-900);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.footer a {
  color: rgba(255,255,255,0.7); border-bottom: none;
}
.footer a:hover { color: #fff; }
.footer h4 {
  font-family: var(--font-sans); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); font-weight: 600;
  margin: 0 0 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.footer-policies { display: flex; gap: 22px; }
.footer-policies a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.15s ease;
}
.footer-policies a:hover { color: var(--na-yellow, #FCD53A); text-decoration: underline; }
@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-policies { flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---------- Marquee text wordmark watermark ---------- */
.huge-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(64px, 14vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(11,23,56,0.06);
  pointer-events: none;
  user-select: none;
}

/* ---------- Sponsors strip ---------- */
.sponsors-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.sponsor-cell {
  padding: 32px 20px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  text-align: center;
}
.sponsor-cell:last-child { border-right: none; }
.sponsor-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sponsor-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-mute);
}
@media (max-width: 720px) {
  .sponsors-strip { grid-template-columns: 1fr 1fr; }
  .sponsor-cell:nth-child(2) { border-right: none; }
  .sponsor-cell:nth-child(1), .sponsor-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Page-level ---------- */
.page-head {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--line);
}
.page-head .crumb {
  font-size: 12px; color: var(--ink-mute);
  font-weight: 500; letter-spacing: 0.04em;
}
.page-head h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
  font-variation-settings: 'opsz' 144;
}
.page-head .lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.5;
}

/* ---------- Tabs / filters ---------- */
.filterbar {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  align-self: start;
}
.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.filter-pill:hover { color: var(--ink); }
.filter-pill.active { background: var(--na-navy-600); color: #fff; }

/* ---------- Trial flow ---------- */
.trial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.trial-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent);
}

/* ---------- Inputs ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px; font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--na-navy-600);
  box-shadow: 0 0 0 3px rgba(30,58,138,0.12);
}

/* ---------- Coach card ---------- */
.coach-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.coach-card .photo { aspect-ratio: 4/5; border-radius: 0; }
.coach-card .coach-body { padding: 18px 20px 20px; }
.coach-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
}
.coach-card .role {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}
.coach-card .bio {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 12px;
  line-height: 1.5;
}

/* ---------- Shop ---------- */
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.product-card .photo { aspect-ratio: 1; border-radius: 0; }
.product-card .prod-body {
  padding: 16px 18px 18px;
  display: flex; align-items: end; justify-content: space-between;
}
.product-card .prod-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.product-card .prod-meta { font-size: 12px; color: var(--ink-mute); margin-top: 2px; }
.product-card .prod-price {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ---------- Utilities ---------- */
.ink-mute { color: var(--ink-mute); }
.ink-soft { color: var(--ink-soft); }
.flex { display: flex; }
.grid { display: grid; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.aic { align-items: center; } .jcs { justify-content: space-between; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.text-center { text-align: center; }

.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* About / story columns */
.text-col {
  max-width: 64ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}
.text-col p { margin: 0 0 1.2em; }
.text-col p:last-child { margin: 0; }

/* big number stat strip */
.bignum-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bignum-strip > div {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
}
.bignum-strip > div:last-child { border-right: none; }
@media (max-width: 720px) {
  .bignum-strip { grid-template-columns: 1fr 1fr; }
  .bignum-strip > div:nth-child(2) { border-right: none; }
}

/* News card */
.news-card {
  display: flex; flex-direction: column; gap: 16px;
  cursor: pointer;
}
.news-card .photo { aspect-ratio: 16/10; }
.news-card .news-meta { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.news-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}

/* contact card */
.venue-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.venue-card h3 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 22px; letter-spacing: -0.01em;
  margin: 0;
}
.venue-card .venue-addr { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.venue-card .venue-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }

/* WhatsApp callout card — International announcements group on the Join page */
.wa-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid #25D366;
  border-radius: var(--radius-md, 12px);
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.wa-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -14px rgba(10, 22, 38, 0.18);
  border-color: var(--line-strong, var(--line));
  border-left-color: #1ebe57;
}
.wa-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-card-body { min-width: 0; }
.wa-card-arrow {
  font-size: 22px;
  color: var(--ink-mute);
  align-self: center;
  flex-shrink: 0;
}
.wa-card:hover .wa-card-arrow { color: var(--ink); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: #f7f5f1;
  background-color: var(--bg, #f7f5f1);
  z-index: 60;
  padding: 88px 24px 32px;
  display: none;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px 12px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.01em;
  cursor: pointer;
}
.mobile-menu a.active { color: var(--accent); }
/* Close (✕) button inside the open drawer, top-right */
.mobile-menu-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface, #fff);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
}


/* ============================================================
   v3 — Sessions, modals, leagues, plans
   ============================================================ */

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 22, 38, 0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
  animation: modalFade 0.18s ease-out;
}
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg, 16px);
  padding: 32px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(10,22,38,0.4);
  animation: modalSlide 0.22s ease-out;
}
@keyframes modalSlide { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--surface-3);
  border: none; cursor: pointer;
  color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--bg-deep); color: var(--ink); }
.modal-stepper {
  display: flex; gap: 24px;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-faint, #a0a8b8); font-weight: 600;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.modal-stepper .active { color: var(--na-navy-900); }

/* ---------- Team card hover ---------- */
.team-card { transition: box-shadow 0.18s ease, transform 0.18s ease; }
.team-card:hover {
  box-shadow: 0 12px 32px -12px rgba(10,22,38,0.22);
  transform: translateY(-2px);
}

/* ---------- League rows ---------- */
.league-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  align-items: center; gap: 14px;
  padding: 8px 0;
}
.league-badge {
  font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 700; padding: 4px 8px; border-radius: 4px;
  text-align: center;
}
.league-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.league-record { font-size: 13px; }
.league-pos {
  font-size: 12px; font-weight: 700;
  background: var(--bg-deep); padding: 4px 10px; border-radius: 999px;
  color: var(--ink);
}

/* ---------- Sessions page ---------- */
.seg-tabs {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.seg-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: none; background: transparent;
  font-size: 14px; font-weight: 600;
  color: var(--ink-soft); cursor: pointer;
}
.seg-tab.active { background: var(--na-navy-900); color: #fff; }

.session-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
  padding: 22px;
  position: relative;
  display: flex; flex-direction: column;
}
.session-day {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 700; color: var(--na-navy-600);
}
.session-price {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 24px; letter-spacing: -0.02em;
}
.session-spots { font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.session-spots.filling { color: #b91c1c; font-weight: 700; }
.session-bar {
  margin-top: 14px; height: 4px; background: var(--bg-deep);
  border-radius: 2px; overflow: hidden;
}
.session-bar span { display: block; height: 100%; background: var(--na-yellow); border-radius: 2px; }

/* ---------- Plan cards ---------- */
.plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
  padding: 24px;
  position: relative;
  display: flex; flex-direction: column;
}
.plan-featured {
  border: 2px solid var(--na-navy-900);
  box-shadow: 0 8px 24px -8px rgba(10,22,38,0.18);
}
.plan-badge {
  position: absolute; top: -10px; left: 16px;
  background: var(--na-yellow); color: var(--na-navy-900);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 700; padding: 4px 10px; border-radius: 4px;
}
.plan-price {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 30px; letter-spacing: -0.02em;
  color: var(--na-navy-900); margin-top: 4px;
}
.plan-perks { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.plan-perks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink);
}
.plan-perks svg { color: var(--na-navy-600); flex-shrink: 0; }
.btn-full { width: 100%; justify-content: center; margin-top: auto; }

/* ---------- Pay summary ---------- */
.pay-summary {
  background: var(--bg-deep);
  border-radius: var(--radius, 12px);
  padding: 16px 18px;
  font-size: 14px;
}
.pay-total {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid rgba(10,22,38,0.12);
  font-weight: 700; font-size: 16px;
}

/* ---------- Success tick ---------- */
.success-tick {
  width: 64px; height: 64px;
  background: var(--na-yellow);
  color: var(--na-navy-900);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Register banner ---------- */
.register-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, #14264a, #0A1626);
  color: #fff;
  border-radius: var(--radius, 12px);
  padding: 24px 28px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.register-banner .ink-soft { color: rgba(255,255,255,0.7); }
.register-banner .btn-soft {
  background: rgba(255,255,255,0.1); color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.register-banner .btn-soft:hover { background: rgba(255,255,255,0.18); }
.register-mark {
  width: 56px; height: 56px;
  background: var(--na-yellow); color: var(--na-navy-900);
  border-radius: var(--radius, 12px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 32px;
  flex-shrink: 0;
}

/* Field styling for forms inside modals */
.modal .field label { display: block; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 6px; }
.modal .field input, .modal .field textarea, .modal .field select {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit; font-size: 14px;
  background: var(--surface); color: var(--ink);
  outline: none;
}
.modal .field input:focus, .modal .field textarea:focus { border-color: var(--na-navy-600); box-shadow: 0 0 0 3px rgba(30,79,168,0.12); }


/* ============================================================
   Booking page — pay choice, calendar, checkout
   ============================================================ */

.crumb-link { cursor: pointer; color: var(--na-navy-600); }
.crumb-link:hover { color: var(--na-navy-900); text-decoration: underline; }

/* ---------- Pay choice grid ---------- */
.pay-choice-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 820px) { .pay-choice-grid { grid-template-columns: 1fr; } }

.pay-choice {
  position: relative;
  text-align: left;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  font-family: inherit;
  display: flex; flex-direction: column;
}
.pay-choice:hover { transform: translateY(-3px); }

.pay-choice-featured {
  background: linear-gradient(135deg, #14264a 0%, #0A1626 100%);
  color: #fff;
  border: 2px solid var(--na-yellow);
  box-shadow: 0 20px 50px -20px rgba(10,22,38,0.4);
}
.pay-choice-light {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.pay-choice-badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--na-yellow); color: var(--na-navy-900);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 800; padding: 6px 12px; border-radius: 4px;
}
.pay-choice-eyebrow {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700; opacity: 0.7; margin-bottom: 14px;
}
.pay-choice-featured .pay-choice-eyebrow { color: var(--na-yellow); opacity: 1; }
.pay-choice-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px; }
.pay-choice-amount { font-family: var(--font-serif); font-weight: 600; font-size: 64px; letter-spacing: -0.03em; line-height: 1; }
.pay-choice-period { font-size: 16px; opacity: 0.7; }
.pay-choice-blurb { font-size: 15px; line-height: 1.5; margin: 0 0 20px; opacity: 0.85; max-width: 42ch; }
.pay-choice-perks { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.pay-choice-perks li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pay-choice-featured .pay-choice-perks svg { color: var(--na-yellow); }
.pay-choice-light .pay-choice-perks svg { color: var(--na-navy-600); }
.pay-choice-cta {
  margin-top: auto;
  display: inline-flex; align-self: flex-start;
  background: var(--na-yellow); color: var(--na-navy-900);
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
}
.pay-choice-cta-soft { background: var(--na-navy-900); color: #fff; }

.pay-compare {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px;
  display: flex; align-items: center; gap: 16px;
  font-size: 15px;
}
.pay-compare-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--na-yellow); color: var(--na-navy-900);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 22px;
}

/* ---------- Squad picker ---------- */
.squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.squad-pick {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 6px solid var(--squad-color, var(--na-navy-600));
  border-radius: var(--radius);
  padding: 22px;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.squad-pick:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(10,22,38,0.18); }
.squad-pick-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.squad-pick-tag { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--ink-mute); white-space: nowrap; }
.squad-pick-name { font-family: var(--font-serif); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; margin-bottom: 6px; }
.squad-pick-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.squad-pick-price { font-family: var(--font-serif); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; color: var(--na-navy-900); }
.squad-pick-price span { font-size: 13px; color: var(--ink-mute); margin-left: 4px; font-family: var(--font-sans); font-weight: 500; letter-spacing: 0; }
.squad-pick-arrow { position: absolute; top: 22px; right: 22px; color: var(--ink-mute); font-size: 20px; }

/* ---------- Calendar tiles ---------- */
.calendar-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
@media (max-width: 920px) { .calendar-layout { grid-template-columns: 1fr; } }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.cal-tile {
  display: grid;
  grid-template-columns: 64px 1fr 28px;
  gap: 14px;
  align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer; text-align: left; font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cal-tile:hover { border-color: var(--na-navy-600); }
.cal-tile.selected { border-color: var(--na-navy-900); background: #fffbe8; box-shadow: 0 0 0 3px rgba(252, 213, 58, 0.35); }
.cal-tile-date { text-align: center; padding: 6px 0; background: var(--bg-deep); border-radius: 8px; }
.cal-day { font-family: var(--font-serif); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1; }
.cal-mon { font-size: 10px; letter-spacing: 0.1em; font-weight: 700; color: var(--ink-mute); margin-top: 2px; }
.cal-tile-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cal-time { font-weight: 700; font-size: 15px; }
.cal-type { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.cal-type-practice { background: #e5ebfa; color: var(--na-navy-900); }
.cal-type-fixture { background: var(--na-yellow); color: var(--na-navy-900); }
.cal-venue { font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.cal-cap { font-size: 12px; color: var(--ink-mute); }
.cal-cap.filling { color: #b91c1c; font-weight: 700; }
.cal-check {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--ink-mute);
}
.cal-tile.selected .cal-check { background: var(--na-navy-900); color: var(--na-yellow); }

/* ---------- Basket ---------- */
.basket {
  position: sticky; top: 88px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.basket-head { display: flex; align-items: center; justify-content: space-between; }
.basket-count {
  background: var(--na-navy-900); color: var(--na-yellow);
  font-weight: 700; font-size: 13px;
  width: 28px; height: 28px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.basket-list { display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.basket-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.basket-remove { background: transparent; border: none; cursor: pointer; font-size: 22px; color: var(--ink-mute); padding: 0; line-height: 1; }
.basket-remove:hover { color: var(--ink); }
.basket-nudge {
  background: linear-gradient(135deg, #fff5cc, #fcd53a33);
  border: 1px solid var(--na-yellow);
  border-radius: 8px; padding: 14px; font-size: 13px; line-height: 1.5;
}
.basket-nudge strong { display: block; margin-bottom: 4px; }
.basket-nudge p { margin: 0 0 10px; color: var(--ink-soft); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.basket-total { display: flex; justify-content: space-between; font-family: var(--font-serif); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; padding-top: 8px; }
.basket-secured { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--ink-mute); }

/* ---------- Checkout layouts ---------- */
.checkout-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 820px) { .checkout-grid { grid-template-columns: 1fr; } }
.checkout-sidebar { background: var(--bg-deep); border-radius: var(--radius); padding: 22px; position: sticky; top: 88px; }
.checkout-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.checkout-total { display: flex; justify-content: space-between; padding-top: 12px; margin-top: 8px; border-top: 1px solid rgba(10,22,38,0.12); font-family: var(--font-serif); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.checkout-switch { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(10,22,38,0.1); font-size: 13px; color: var(--ink-soft); }
.checkout-switch a { color: var(--na-navy-600); cursor: pointer; font-weight: 600; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Confirmation ---------- */
.confirm-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.confirm-steps { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.confirm-step { display: flex; gap: 16px; align-items: flex-start; }
.confirm-step-num { font-family: var(--font-serif); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--na-yellow-600); min-width: 36px; }
.coach-trace { margin-top: 24px; background: #0A1626; color: #d1d5db; border-radius: 8px; padding: 14px; font-size: 12px; }
.coach-trace summary { color: var(--na-yellow); cursor: pointer; font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.coach-trace pre { margin: 12px 0 0; white-space: pre-wrap; word-break: break-all; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 11.5px; line-height: 1.5; }

/* ---------- Trust footer ---------- */
.trust-footer { background: var(--surface-3); padding: 40px 0; border-top: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 720px) { .trust-row { grid-template-columns: 1fr; } }
.trust-logos { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-logo {
  background: var(--surface); border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 6px;
  font-weight: 700; font-size: 13px; color: var(--ink);
  letter-spacing: -0.01em;
}
.trust-text { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

/* ============================================================
   Calendly-style booking — additions
   ============================================================ */
.book-stage { /* render plainly — animation removed (preview env doesn't tick) */ }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.book-head { padding: 56px 0 0; }
.book-h { font-family: var(--font-serif); font-weight: 600; font-size: 56px; letter-spacing: -0.03em; line-height: 1.05; margin: 8px 0 16px; }

/* Squad pick foot */
.squad-pick-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.squad-pick-mini { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.squad-pick-arrow { color: var(--ink-mute); font-size: 18px; }

/* Static (non-button) squad card variant — holds two action buttons */
.squad-pick-static { cursor: default; }
.squad-pick-static:hover { transform: none; box-shadow: none; }
.squad-pick-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.squad-pick-actions .btn { width: 100%; justify-content: center; }

/* Teams page — tier section grouping */
.teams-tier { margin-bottom: 44px; }
.teams-tier:last-of-type { margin-bottom: 0; }
.teams-tier-head { margin-bottom: 16px; }
.teams-tier-sub { font-size: 14.5px; margin: 6px 0 0; }

/* Shop — coming soon / pending state */
.shop-pending {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.shop-pending-badge {
  display: inline-block;
  background: var(--na-yellow);
  color: var(--na-navy-900);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 800;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.shop-pending-h {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.02em; margin: 0 0 6px;
}
.shop-pending-p { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); max-width: 52ch; margin: 6px 0; }
.shop-pending-p a { color: var(--na-navy-600); font-weight: 600; }

/* Invite-only callout — National League squads on the sessions page */
.invite-only-card {
  margin-top: 32px;
  background: var(--surface-2, #f6f7f9);
  border: 1px solid var(--line);
  border-radius: var(--radius-md, 12px);
  padding: 28px 28px 20px;
}
.invite-only-head { max-width: 64ch; }
.invite-only-head h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 6px 0 6px;
}
.invite-only-head p { font-size: 14.5px; line-height: 1.55; margin: 0; }
.invite-only-link { color: var(--na-navy-600); font-weight: 600; cursor: pointer; }
.invite-only-link:hover { text-decoration: underline; }
.invite-only-grid {
  margin-top: 18px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
}
.invite-only-row {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) minmax(0, 2fr) auto;
  gap: 14px;
  align-items: center;
  background: var(--surface);
  padding: 12px 16px;
  font-size: 14px;
}
.invite-only-name { font-weight: 600; }
.invite-only-meta { font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.invite-only-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-mute);
  background: var(--surface-2, #f6f7f9);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .invite-only-row { grid-template-columns: auto 1fr auto; }
  .invite-only-meta { grid-column: 2 / -1; white-space: normal; }
}

/* Calendar layout */
.cal-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; }
@media (max-width: 880px) { .cal-layout { grid-template-columns: 1fr; } }

.week-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding: 10px 4px; }
.week-arrow { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 18px; }
.week-arrow:hover { background: var(--bg-deep); }
.week-label { font-family: var(--font-serif); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }

.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day-cell {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px 6px 16px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease;
  font-family: inherit;
}
.day-cell:disabled { opacity: 0.45; cursor: default; }
.day-cell.has-session:hover { border-color: var(--na-navy-600); }
.day-cell.selected { border-color: var(--na-navy-900); background: #fffbe8; box-shadow: 0 0 0 2px var(--na-yellow); }
.day-name { font-size: 10px; letter-spacing: 0.1em; font-weight: 700; color: var(--ink-mute); }
.day-num { font-family: var(--font-serif); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; margin-top: 4px; }
.day-dot { display: block; width: 6px; height: 6px; border-radius: 999px; margin: 6px auto 0; }
.cal-legend { display: flex; gap: 18px; margin-top: 16px; font-size: 12px; color: var(--ink-mute); }
.cal-legend span { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 8px; height: 8px; border-radius: 999px; }
.legend-empty { background: var(--bg-deep); border: 1px solid var(--line); }

/* Day pane */
.day-pane { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; min-height: 380px; }
.day-pane-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.day-pane-date { font-family: var(--font-serif); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; line-height: 1; margin-top: 2px; }
.empty-day { padding: 40px 0; text-align: center; color: var(--ink-mute); font-size: 14px; }

.day-sessions { display: flex; flex-direction: column; gap: 10px; }
.session-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.session-row.is-soldout { opacity: 0.55; }
.session-time { display: flex; flex-direction: column; }
.session-time-main { font-family: var(--font-serif); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1; }
.session-time-end { font-size: 12px; color: var(--ink-mute); margin-top: 4px; }
.session-title-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.session-title { font-weight: 600; font-size: 15px; }
.session-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.session-cap { font-size: 12px; color: var(--ink-mute); }
.session-cap.filling { color: #b91c1c; font-weight: 700; }
.session-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.session-price { display: flex; flex-direction: column; align-items: flex-end; }
.session-price .tabular { font-family: var(--font-serif); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.session-price-or { font-size: 11px; color: var(--ink-mute); }

/* Pay cash link */
.pay-cash { text-align: center; margin-top: 32px; }
.cash-link { font-size: 13px; color: var(--ink-mute); cursor: pointer; text-decoration: underline; }
.cash-link:hover { color: var(--ink); }

/* Calendar buttons on confirm */
.cal-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.cal-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; font-size: 13px; font-weight: 600; font-family: inherit; }
.cal-btn:hover { background: var(--bg-deep); }
.cal-btn span { width: 18px; height: 18px; background: var(--na-navy-900); color: var(--na-yellow); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }

/* Upsell card on PAYG/cash confirmation */
.upsell { margin-top: 28px; background: linear-gradient(135deg, #14264a, #0A1626); color: #fff; border-radius: var(--radius); padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.upsell strong { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.upsell p { margin: 4px 0 0; font-size: 14px; color: rgba(255,255,255,0.75); max-width: 40ch; }

/* Sheet banner + help */
.sheet-banner {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 12px;
}
.sheet-banner-body { flex: 1; font-size: 14px; line-height: 1.45; }
.sheet-banner-body strong { font-weight: 700; }
.sheet-banner-icon {
  width: 32px; height: 32px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-deep); color: var(--ink); font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}
.sheet-ok .sheet-banner-icon { background: #d3f4dd; color: #0a6e36; }
.sheet-loading .sheet-banner-icon { background: var(--bg-deep); color: var(--ink-mute); }
.sheet-error .sheet-banner-icon { background: #fde2e2; color: #b91c1c; }
.sheet-idle .sheet-banner-icon { background: var(--na-yellow); color: var(--na-navy-900); }

.sheet-help { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.sheet-help-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .sheet-help-cols { grid-template-columns: 1fr; } }
.sheet-help p { font-size: 14px; line-height: 1.55; margin: 0 0 10px; color: var(--ink); }
.sheet-code { display: block; background: #0A1626; color: var(--na-yellow); padding: 10px 12px; border-radius: 6px; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 12px; margin: 8px 0; overflow-x: auto; }
.sheet-notes { font-size: 13px; line-height: 1.55; color: var(--ink-soft); padding-left: 18px; margin: 8px 0 0; }
.sheet-notes strong { color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* Roster chips on team cards (Supabase live data) */
.roster-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.roster-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 6px;
  background: var(--bg-deep); border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
}
.roster-chip-no {
  background: var(--na-navy-900); color: var(--na-yellow);
  padding: 2px 6px; border-radius: 999px;
  font-size: 11px; font-weight: 700; min-width: 24px; text-align: center;
}

/* ============================================================
   GLOBAL MOBILE RESPONSIVENESS
   Many forms, card grids and stat strips set their columns with
   INLINE styles (e.g. style={{ gridTemplateColumns: '1fr 1fr' }}),
   which CSS media queries on classes can't override. React
   serialises those into the element's style attribute, so we
   target them directly and force a single column on phones.
   ============================================================ */
@media (max-width: 640px) {
  /* Collapse every inline / .grid multi-column layout to one column */
  [style*="grid-template-columns"],
  .grid {
    grid-template-columns: 1fr !important;
  }
  /* Tame oversized gaps once content is stacked vertically */
  [style*="gap: 64px"] { gap: 28px !important; }
  [style*="gap: 48px"] { gap: 24px !important; }
  [style*="gap: 32px"] { gap: 22px !important; }

  /* Tighter section rhythm on phones */
  .section { padding: 44px 0; }
  .wrap { padding: 0 18px; }

  /* Headings shouldn't overflow small screens */
  h1 { font-size: clamp(30px, 9vw, 44px); line-height: 1.08; }

  /* Photos in stacked image+text sections keep a sensible height */
  .section .photo { min-height: 240px; }

  /* Forms: full-width controls, comfortable tap targets */
  input, select, textarea, .btn { font-size: 16px; } /* 16px stops iOS zoom-on-focus */
  .btn { min-height: 46px; }

  /* Pay-choice / cards full width */
  .pay-choice-grid { grid-template-columns: 1fr !important; }
}

/* Prevent any accidental horizontal scroll on phones */
@media (max-width: 640px) {
  html, body { overflow-x: hidden; }
}
