/* Charlottetown Sport and Social Club
   White ground, club blue, deep-blue board band, green accents.
   Display: Unbounded. Body: Instrument Sans. */

@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-latin-800-normal.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --club-blue: #0652A0;
  --deep-blue: #0A3F7A;
  --ink: #12233A;
  --club-green: #489242;      /* decorative only */
  --green-text: #2E6E2A;      /* green as text on white, 6.2:1 */
  --panel: #EEF3F8;
  --line: #D5DDE8;
  --white: #FFFFFF;
  /* status words on the deep-blue board, computed to AA on #0A3F7A */
  --status-in: #8FD086;       /* In season, 5.7:1 */
  --status-wait: #F0B84A;     /* Waitlist open, 5.8:1 */
  --status-sold: #F49C94;     /* Sold out, 4.9:1 */
  --on-blue-soft: #C9D8EC;    /* supporting text on deep blue, 8.0:1 */
  --header-h: 100px;        /* 16px inset + 84px glass bar */
  --header-h-shrunk: 70px;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
/* ruled grids: no list-item gap, or the 1px rules break between rows */
.league-grid li, .perk-logo-row li, .partner-grid > li, .team-grid li { margin-bottom: 0; }
section[id] { scroll-margin-top: 84px; }

a:not(.btn) { color: var(--club-blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:not(.btn):hover { color: var(--deep-blue); }

:focus-visible { outline: 2px solid var(--club-blue); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: var(--white); padding: 10px 16px;
  border-radius: 0 0 6px 6px; transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: var(--white); }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  color: var(--white); background: var(--club-blue);
  padding: 13px 26px; border: 2px solid var(--club-blue); border-radius: 4px;
  text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--deep-blue); border-color: var(--deep-blue); color: var(--white); }
.btn-outline-light {
  background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white);
  padding: 9px 16px; font-size: 0.92rem;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }
.btn-invert { background: var(--white); border-color: var(--white); color: var(--club-blue); }
.btn-invert:hover { background: var(--panel); border-color: var(--panel); color: var(--deep-blue); }
.btn-big { font-size: 1.15rem; padding: 18px 40px; }

/* ---------- Header: liquid glass (design-standards 13, transparent-header variant) ----------
   The sticky element is .site-header and carries no transform, filter or backdrop-filter.
   The glass lives on the inner bar. .solid is the past-hero state; inner pages start in it. */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 120;
  overflow-anchor: none;
  padding: 16px 64px 0;
  transition: padding 0.25s ease;
}
.site-header.shrunk { padding-top: 10px; }
.header-inner {
  position: relative;
  width: 100%; max-width: 1312px; margin: 0 auto; padding: 0 22px 0 18px;
  height: 84px;
  display: flex; align-items: center; gap: 28px;
  border-radius: 14px;
  background: rgba(6,20,40,0.26);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
  transition: height 0.25s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.shrunk .header-inner { height: 60px; }
.site-header.solid .header-inner {
  background: rgba(255,255,255,0.76);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-color: rgba(18,35,58,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 1px 3px rgba(18,35,58,0.08);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header-inner { background: rgba(6,20,40,0.6); }
  .site-header.solid .header-inner { background: rgba(255,255,255,0.97); }
}
.brand { display: flex; align-items: center; margin-right: auto; }
/* logo sized to read at arm's length: 64px at rest, 46px shrunk (first pass, 2026-09-25) */
.brand img { height: 64px; width: auto; transition: height 0.25s ease; }
.site-header.shrunk .brand img { height: 46px; }
.brand .logo-colour { display: none; }
.site-header.solid .logo-white { display: none; }
.site-header.solid .logo-colour { display: block; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-weight: 500; font-size: 0.98rem; text-decoration: none;
  color: var(--white);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { border-bottom-color: currentColor; }
.main-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.site-header:not(.solid) .main-nav a:not(.btn) { text-shadow: 0 1px 6px rgba(6,20,40,0.55); }
.site-header.solid .main-nav a:not(.btn) { color: var(--ink); }
.main-nav .btn { color: var(--white); padding: 10px 20px; font-size: 0.95rem; border-bottom: 2px solid var(--club-blue); }
.main-nav .btn:hover { border-bottom-color: var(--deep-blue); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer; padding: 10px;
  color: var(--white);
}
.site-header.solid .nav-toggle { color: var(--ink); }
.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }
.site-header.nav-open .nav-toggle .icon-open { display: none; }
.site-header.nav-open .nav-toggle .icon-close { display: block; }

.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  min-height: 520px;
  height: 88vh;
  max-height: 900px;
  overflow: hidden;
  background: var(--ink);
}
.hero video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,20,40,0.62) 0%, rgba(6,20,40,0.55) 13%, rgba(6,20,40,0.18) 42%, rgba(6,20,40,0.55) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--white);
  padding: var(--header-h) 24px 64px;
}
.hero-content h1 { margin-bottom: 0.15em; color: var(--white); }
.hero-content p { font-size: clamp(1.05rem, 2vw, 1.3rem); margin-bottom: 1.4em; text-shadow: 0 1px 8px rgba(6,20,40,0.5); }
.hero-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; justify-content: flex-end; gap: 4px;
  padding: 6px 12px;
  background: rgba(6,20,40,0.35);
}
.hero-bar button {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 0; color: var(--white);
  font-family: var(--body); font-size: 0.85rem; font-weight: 500;
  padding: 8px 10px; min-height: 44px; cursor: pointer; border-radius: 4px;
}
.hero-bar button:hover { background: rgba(255,255,255,0.15); }
.hero-bar svg { display: block; }
/* full screen: letterbox the 16:9 clip, never zoom */
.hero:fullscreen { background: #000; height: auto; max-height: none; }
.hero:fullscreen video { object-fit: contain; }
.hero:fullscreen .scrim { display: none; }
.hero:fullscreen .hero-content { display: none; }

/* ---------- Season band ---------- */
.season-band {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-size: 0.98rem;
}
.season-band .wrap { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px 14px; align-items: center; }
.season-band p { margin: 0; }
.season-band .season-cta { flex: 0 0 auto; }

/* ---------- Announcements and dates ---------- */
.status-section { background: var(--white); }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.status-card { border: 1px solid var(--line); padding: 30px 32px; }
.status-card h2 { font-family: var(--body); font-weight: 700; font-size: 1.25rem; margin-bottom: 0.45em; }
.status-card p { margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { font-size: 1.08rem; }

/* ---------- League board ---------- */
.board-section {
  background: var(--deep-blue);
  color: var(--white);
  padding: 80px 0;
}
.board-section h2 { color: var(--white); }
.board-section .section-head p { color: var(--on-blue-soft); }
.board-section a:not(.btn) { color: var(--white); }

.league-board { display: flex; flex-direction: column; gap: 44px; }
.night-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.night-name { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.6rem); color: var(--white); }
.night-marker { font-weight: 700; font-size: 0.98rem; color: var(--status-in); }

.league-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.league-grid li {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.2);
  display: flex; flex-direction: column; gap: 4px;
}
.league-grid li:nth-child(3n) { border-right: 0; }
.league-name { font-weight: 600; font-size: 1.08rem; color: var(--white); }
.league-meta { color: var(--on-blue-soft); font-size: 0.95rem; }
.league-status { font-weight: 700; font-size: 0.92rem; margin-top: 6px; }
.league-status.in-season { color: var(--status-in); }
.league-status.waitlist { color: var(--status-wait); }
.league-status.sold-out { color: var(--status-sold); }
.league-grid .btn { margin-top: 12px; align-self: flex-start; }
.board-foot { text-align: center; margin-top: 44px; }

/* ---------- Split (two ways to join) ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: start;
}
.split img { width: 100%; border-radius: 4px; }
.split-text h3 { font-family: var(--body); font-weight: 700; font-size: 1.15rem; margin-top: 1.4em; }
.split-text h3:first-of-type { margin-top: 0; }
.waiver-step { margin-top: 1.6em; padding-top: 1.4em; border-top: 1px solid var(--line); }

/* ---------- Perks strip ---------- */
.perks-strip { background: var(--white); }
.perk-logo-row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  list-style: none; margin: 0 0 28px; padding: 0;
  border-top: 1px solid var(--line);
}
.perk-logo-row li {
  display: flex; align-items: center; justify-content: center;
  padding: 26px 20px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.perk-logo-row li:last-child { border-right: 0; }
.perk-logo-row img { height: 80px; width: auto; max-width: 100%; }
.perks-strip .board-foot { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq:first-child { border-top: 1px solid var(--line); }
details.faq summary {
  cursor: pointer; list-style: none;
  padding: 20px 44px 20px 4px;
  font-weight: 600; font-size: 1.08rem;
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary h3, details.sport summary h3 { font: inherit; letter-spacing: inherit; margin: 0; display: inline; }
details.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--club-blue); border-bottom: 2px solid var(--club-blue);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
details.faq[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
details.faq .faq-body { padding: 0 24px 22px 4px; }
details.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Signup ---------- */
.signup-section { background: var(--panel); border-top: 1px solid var(--line); }
.signup-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.inline-form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.inline-form .field { text-align: left; }
.inline-form label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 4px; }
.inline-form input {
  font-family: var(--body); font-size: 1rem;
  padding: 12px 14px; border: 1px solid #B9C6D6; border-radius: 4px;
  width: 240px; max-width: 100%;
}
.inline-form .btn { align-self: flex-end; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Inner page hero ---------- */
.page-head { padding: 64px 0 40px; }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-head .lede { font-size: 1.12rem; max-width: 700px; }
.page-head .intro { max-width: 700px; }
.pt-0 { padding-top: 0; }
.pb-72 { padding-bottom: 72px; }
.wrap-narrow { max-width: 860px; }
.photo-single img { border-radius: 4px; }
.rules-more { margin-top: 28px; }
.faq-more { margin: 36px auto 0; }

/* ---------- Rules page ---------- */
.rules-block { max-width: 780px; margin: 0 auto 56px; }
.rules-block h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.rules-block h3 { font-family: var(--body); font-weight: 700; font-size: 1.12rem; margin-top: 1.6em; }
.rules-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; max-width: 980px; margin: 0 auto 56px; }
.rules-photos img { width: 100%; border-radius: 4px; }
details.sport { border-bottom: 1px solid var(--line); }
details.sport:first-of-type { border-top: 1px solid var(--line); }
details.sport summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 18px 44px 18px 4px;
  font-family: var(--display); font-weight: 600; font-size: 1.1rem;
}
details.sport summary::-webkit-details-marker { display: none; }
details.sport summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--club-blue); border-bottom: 2px solid var(--club-blue);
  transform: rotate(45deg);
}
details.sport[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
details.sport .sport-body { padding: 0 12px 26px 4px; }
details.sport h4 { font-family: var(--body); font-weight: 700; font-size: 1rem; margin: 1.4em 0 0.4em; }

/* ---------- Perks page ---------- */
.partner-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.partner-grid > li {
  padding: 36px 32px;
  border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
}
.partner-grid img { height: 88px; width: auto; max-width: 100%; margin-bottom: 18px; }
.partner-grid h2 { font-family: var(--body); font-weight: 700; font-size: 1.25rem; margin-bottom: 0.4em; }
.partner-offer { font-size: 1.05rem; }
.partner-fine { font-size: 0.9rem; color: #44546B; }
.partner-addr { font-size: 0.95rem; margin-top: 0.8em; }
.partner-addr ul { list-style: none; padding-left: 0; }

/* ---------- About page ---------- */
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; margin: 32px 0 56px; }
.about-photos img { width: 100%; border-radius: 4px; }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  list-style: none; margin: 28px 0 0; padding: 0;
}
.team-grid li { text-align: center; }
.team-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; margin-bottom: 10px; }
.team-grid .rep-name { font-weight: 700; }
.team-grid .rep-role { color: #44546B; font-size: 0.95rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 14px; }
.contact-list .label { font-weight: 700; display: block; font-size: 0.92rem; }
.contact-list a { display: inline-block; padding: 11px 0; }
.form-stack .field { margin-bottom: 16px; }
.form-stack label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 4px; }
.form-stack input, .form-stack textarea {
  width: 100%; font-family: var(--body); font-size: 1rem;
  padding: 12px 14px; border: 1px solid #B9C6D6; border-radius: 4px;
}
.form-stack textarea { min-height: 140px; resize: vertical; }

/* ---------- Waiver page ---------- */
.waiver-panel { max-width: 680px; padding-bottom: 80px; }
.waiver-panel .btn { margin-top: 12px; }

/* ---------- Thanks / 404 ---------- */
.simple-page { padding: 96px 0; text-align: center; }
.simple-page .wrap { max-width: 620px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep-blue); color: var(--white);
  padding: 56px 0 88px;
}
.site-footer a:not(.btn) { color: var(--white); }
.footer-inner { display: grid; grid-template-columns: auto 1fr 1fr; gap: 48px; align-items: start; }
.footer-logo img { width: 230px; height: auto; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 0; }
.footer-nav a { display: inline-block; padding: 9px 0; text-decoration: none; font-weight: 500; }
.footer-nav a:hover { text-decoration: underline; }
.footer-contact p { margin: 0 0 10px; color: var(--on-blue-soft); }
.footer-contact a { font-weight: 500; }
.footer-base {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  font-size: 0.9rem; color: var(--on-blue-soft);
}
.footer-base a { color: var(--on-blue-soft); }

/* ---------- Sticky bottom bar (phones) ---------- */
.bottom-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  background: var(--white); border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.bottom-bar .btn { flex: 1; text-align: center; padding: 12px 8px; font-size: 0.95rem; }
.bottom-bar .btn.secondary { background: var(--white); color: var(--club-blue); }
.bottom-bar .btn.secondary:hover { background: var(--panel); color: var(--deep-blue); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .league-grid { grid-template-columns: 1fr 1fr; }
  .league-grid li:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.2); }
  .league-grid li:nth-child(2n) { border-right: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .site-header.nav-open .nav-toggle { color: var(--ink); }
  .site-header.nav-open .logo-white { display: none; }
  .site-header.nav-open .logo-colour { display: block; }
  .mobile-menu {
    display: block; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: rgba(255,255,255,0.97); border: 1px solid rgba(18,35,58,0.08);
    border-radius: 14px; box-shadow: 0 8px 24px rgba(18,35,58,0.14);
    padding: 8px 20px 20px;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .site-header.nav-open .mobile-menu { visibility: visible; opacity: 1; transform: none; }
  .mobile-menu a {
    display: block; padding: 14px 0; font-weight: 600; font-size: 1.05rem;
    color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
  }
  .mobile-menu a:last-of-type { border-bottom: 0; }
  .mobile-menu .btn { margin-top: 14px; color: var(--white); text-align: center; border-bottom: 2px solid var(--club-blue); }
  .bottom-bar { display: flex; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid .contact-details { order: -1; }  /* details before the form on phones */
  .league-grid { grid-template-columns: 1fr; }
  .league-grid li, .league-grid li:nth-child(n) { border-right: 0; }
  .perk-logo-row { grid-template-columns: 1fr 1fr; }
  .perk-logo-row li:nth-child(2n) { border-right: 0; }
  .partner-grid { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr; }
  .rules-photos, .about-photos { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { height: 78vh; min-height: 460px; }
  :root { --header-h: 78px; --header-h-shrunk: 64px; }
  .site-header { padding: 10px 12px 0; }
  .site-header.shrunk { padding-top: 8px; }
  .header-inner { height: 68px; padding: 0 8px 0 14px; border-radius: 12px; }
  .site-header.shrunk .header-inner { height: 56px; }
  .brand img { height: 54px; }
  .site-header.shrunk .brand img { height: 44px; }
  .perk-logo-row img { height: 72px; }
  .footer-logo img { width: 220px; }
  .inline-form input { width: 100%; }
  .inline-form .field { width: 100%; }
  .inline-form .btn { width: 100%; }
  .section { padding: 56px 0; }
  .league-board { display: flex; }
}

@media (min-width: 1251px) {
  .mobile-menu { display: none !important; }
}


/* ======================= Edit round 2 (2026-09-25): new structure ======================= */

/* ---------- Sports dropdown in the header ---------- */
.nav-drop { position: relative; }
.nav-drop { display: flex; align-items: center; gap: 2px; }
.main-nav .nav-drop-link.is-current { border-bottom-color: currentColor; }
.nav-drop-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 32px; background: none; border: 0; cursor: pointer; padding: 0;
  color: var(--white);
}
.site-header.solid .nav-drop-btn { color: var(--ink); }
.nav-drop-btn svg { transition: transform 0.15s ease; }
.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 14px); left: -18px; z-index: 130;
  min-width: 220px; margin: 0; padding: 8px; list-style: none;
  background: rgba(255,255,255,0.98); border: 1px solid rgba(18,35,58,0.08);
  border-radius: 12px; box-shadow: 0 12px 30px rgba(18,35,58,0.18);
  visibility: hidden; opacity: 0; transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.nav-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop.open .nav-drop-menu,
.nav-drop.hover-open .nav-drop-menu,
html:not(.js) .nav-drop:focus-within .nav-drop-menu,
html:not(.js) .nav-drop:hover .nav-drop-menu { visibility: visible; opacity: 1; transform: none; }
.nav-drop-menu li { margin: 0; }
.main-nav .nav-drop-menu a {
  display: block; padding: 9px 12px; border-radius: 8px; border-bottom: 0;
  color: var(--ink); text-shadow: none; font-weight: 500;
}
.main-nav .nav-drop-menu a:hover, .main-nav .nav-drop-menu a[aria-current="page"] { background: var(--panel); color: var(--club-blue); }

/* mobile menu: Sports is a link, the chevron beside it opens the list */
.m-sports { border-bottom: 1px solid var(--line); }
.m-sports-row { display: flex; align-items: center; }
.mobile-menu .m-sports-row a { flex: 1; border-bottom: 0; }
.m-sports-toggle {
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative;
}
.m-sports-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -7px 0 0 -5px;
  border-right: 2px solid var(--club-blue); border-bottom: 2px solid var(--club-blue); transform: rotate(45deg);
}
.m-sports-toggle[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: -2px; }
.m-sports-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 0 0 10px; }
.m-sports-list[hidden] { display: none; }
.mobile-menu .m-sports-list a { padding: 10px 0; font-weight: 500; font-size: 0.98rem; border-bottom: 0; }

/* ---------- Shared bits ---------- */
.btn-small { padding: 9px 16px; font-size: 0.92rem; }
.btn-ghost { background: var(--white); color: var(--club-blue); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel); color: var(--deep-blue); border-color: var(--panel); }
.text-link { font-weight: 600; margin-left: 18px; }
.sport-actions { margin-top: 1.4em; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; }
.season-note { color: #44546B; max-width: 720px; }

/* ---------- Home ---------- */
.intro-split { align-items: center; }
.intro-split img { border-radius: 4px; }
.sport-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px;
  list-style: none; margin: 0; padding: 0;
}
.sport-grid li { margin: 0; }
.sport-tile {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  text-decoration: none; color: var(--ink); border-radius: 6px;
  padding: 0 0 12px; transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.sport-tile img { width: 100%; border-radius: 6px 6px 4px 4px; margin-bottom: 10px; }
.sport-tile .tile-name, .sport-tile .tile-text { padding: 0 12px; }
.sport-tile .tile-name {
  display: block; font-family: var(--body); font-weight: 700; font-size: 1.25rem;
  letter-spacing: -0.01em; line-height: 1.25; text-shadow: none; color: var(--ink);
}
.sport-tile .tile-name svg { display: inline-block; vertical-align: -0.1em; margin-left: 8px; color: var(--club-blue); transition: transform 0.18s ease; }
.sport-tile .tile-text { color: #44546B; font-size: 0.98rem; }
.sport-tile:hover, .sport-tile:focus-visible { background: var(--panel); box-shadow: 0 6px 18px rgba(18,35,58,0.12); transform: translateY(-3px); }
.sport-tile:hover .tile-name, .sport-tile:focus-visible .tile-name { color: var(--club-blue); }
.sport-tile:hover .tile-name svg { transform: translateX(4px); }
.handles { padding: 72px 0; }
.handle-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,0.2);
}
.handle-grid li {
  margin: 0; padding: 22px 24px; font-weight: 600; font-size: 1.05rem;
  border-bottom: 1px solid rgba(255,255,255,0.2); border-right: 1px solid rgba(255,255,255,0.2);
}
.handle-grid li:nth-child(3n) { border-right: 0; }

/* ---------- Sport pages ---------- */
.sport-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sport-photo { width: 100%; border-radius: 4px; }
.league-grid.on-light { border-top: 1px solid var(--line); margin-bottom: 18px; }
.league-grid.on-light li { border-color: var(--line); }
.league-grid.on-light .league-name { color: var(--ink); }
.league-grid.on-light .league-meta { color: #44546B; }
.league-grid.on-light .league-status.in-season { color: var(--green-text); }
.league-grid.on-light .league-status.waitlist { color: #8A5A00; }
.league-grid.on-light .league-status.sold-out { color: #B3261E; }
.league-when { color: var(--white); font-weight: 500; font-size: 0.98rem; }
.league-grid.on-light .league-when { color: var(--ink); }
.league-grid li.is-tonight { box-shadow: inset 5px 0 0 var(--club-green); }
.tonight-tag { font-weight: 700; font-size: 0.9rem; color: var(--status-in); }
.league-grid.on-light .tonight-tag { color: var(--green-text); }
.sport-group + .sport-group { margin-top: 44px; }
.board-sport { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: -11px 0 5px; }
.board-section .board-sport a { color: var(--white); text-decoration: none; display: inline-block; padding: 11px 0; }
.board-section .board-sport a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rules-wrap { max-width: 860px; }
.rules-drop { border-top: 1px solid var(--line); }
.rules-drop summary h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
details.sport .sport-body h3 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; margin: 1.4em 0 0.4em; }
.more-sports { background: var(--panel); border-top: 1px solid var(--line); }
.more-sports h2 { font-size: 1.3rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- How to sign up ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; max-width: 820px; }
.steps .step {
  counter-increment: step; position: relative;
  margin: 0; padding: 0 0 34px 64px; border-left: 2px solid var(--line); margin-left: 19px;
}
.steps .step:last-child { border-left-color: transparent; }
.steps .step::before {
  content: counter(step); position: absolute; left: -20px; top: -2px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--club-blue); color: var(--white);
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.steps .step h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-bottom: 0.4em; padding-top: 4px; }
.steps .step p:last-child { margin-bottom: 0; }
.choice-list { list-style: none; padding: 0; }
.choice-list li { padding: 12px 16px; margin-bottom: 8px; background: var(--panel); border-radius: 4px; }
.help-box { max-width: 820px; margin-top: 16px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 4px; }
.help-box h2 { font-size: 1.4rem; }

/* ---------- Footer: four columns ---------- */
.footer-inner { grid-template-columns: auto 1fr 1fr 1.2fr; gap: 40px; }
.footer-head { font-family: var(--display); font-weight: 700; font-size: 1rem; margin: 0 0 6px; color: var(--white); }

@media (max-width: 1250px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .site-header.nav-open .nav-toggle { color: var(--ink); }
  .site-header.nav-open .logo-white { display: none; }
  .site-header.nav-open .logo-colour { display: block; }
  .mobile-menu {
    display: block; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: rgba(255,255,255,0.97); border: 1px solid rgba(18,35,58,0.08);
    border-radius: 14px; box-shadow: 0 8px 24px rgba(18,35,58,0.14);
    padding: 8px 20px 20px;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    max-height: calc(100vh - 110px); overflow-y: auto;
  }
  .site-header.nav-open .mobile-menu { visibility: visible; opacity: 1; transform: none; }
  .mobile-menu a {
    display: block; padding: 14px 0; font-weight: 600; font-size: 1.05rem;
    color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
  }
  .mobile-menu a:last-of-type { border-bottom: 0; }
  .mobile-menu .btn { margin-top: 14px; color: var(--white); text-align: center; border-bottom: 2px solid var(--club-blue); }
}
@media (max-width: 1100px) {
  .sport-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .handle-grid { grid-template-columns: 1fr 1fr; }
  .handle-grid li:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.2); }
  .handle-grid li:nth-child(2n) { border-right: 0; }
}
@media (max-width: 760px) {
  .sport-head { grid-template-columns: 1fr; gap: 28px; }
  .sport-grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .sport-tile .tile-name { font-size: 1.05rem; }
  .sport-tile .tile-text { font-size: 0.9rem; }
  .handle-grid { grid-template-columns: 1fr; }
  .handle-grid li, .handle-grid li:nth-child(n) { border-right: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-logo { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .steps .step { padding-left: 40px; }
  .text-link { margin-left: 0; }
  .sport-actions { gap: 14px 18px; }
}

/* v2: four league tiles and the More menu */
.sport-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nav-drop-btn.nav-more { width: auto; gap: 8px; font: inherit; font-weight: 600; height: auto; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-more.is-current { border-bottom-color: currentColor; }
.m-more-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: 0; color: var(--ink); font: inherit; font-weight: 600; padding: 15px 0; cursor: pointer; min-height: 44px; }
.m-more-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-more-list { grid-template-columns: 1fr; }
@media (max-width: 1250px) { .mobile-menu { max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain; } }
.rule-links { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.rule-links li { margin: 0; border-bottom: 1px solid var(--line); }
.rule-links a { display: block; padding: 16px 0; font-weight: 600; }
.rule-links span { float: right; }
.rules-visible > h2 { margin-bottom: 24px; }
@media (max-width: 600px) { .rule-links { grid-template-columns: 1fr; } }

/* ======================= Seasons, calendar and title case (2026-10-27) ======================= */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.league-status.finished, .league-grid.on-light .league-status.finished { color: #5B6B80; }
.league-board .league-status.finished { color: var(--on-blue-soft); }

/* Seasons: double drop-down in the header */
.nav-seasons-menu { min-width: 190px; }
.nav-seasons-menu .has-sub { position: relative; }
.main-nav .nav-seasons-menu .has-sub > a { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav-sub-menu {
  position: absolute; left: calc(100% + 8px); top: -8px; z-index: 131;
  min-width: 210px; margin: 0; padding: 8px; list-style: none;
  background: rgba(255,255,255,0.98); border: 1px solid rgba(18,35,58,0.08);
  border-radius: 12px; box-shadow: 0 12px 30px rgba(18,35,58,0.18);
  visibility: hidden; opacity: 0; transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.nav-sub-menu::before { content: ""; position: absolute; top: 0; bottom: 0; left: -12px; width: 12px; }
.nav-seasons-menu .has-sub:focus-within > .nav-sub-menu { visibility: visible; opacity: 1; transform: none; }
.main-nav .nav-seasons-menu .has-sub:focus-within > a { background: var(--panel); color: var(--club-blue); }
@media (hover: hover) and (pointer: fine) {
  .nav-seasons-menu .has-sub:hover > .nav-sub-menu { visibility: visible; opacity: 1; transform: none; }
  .main-nav .nav-seasons-menu .has-sub:hover > a { background: var(--panel); color: var(--club-blue); }
}
.main-nav { gap: 22px; }

/* Seasons: mobile menu, seasons then sports */
.m-seasons-list { padding: 0 0 8px 12px; }
.m-seasons-list[hidden] { display: none; }
.m-season + .m-season { border-top: 1px solid var(--line); }
.mobile-menu .m-season .m-sports-row a { padding: 11px 0; font-size: 1rem; }
.m-season .m-sports-list { grid-template-columns: 1fr; padding: 0 0 8px 12px; }

/* Seasons page */
.season-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.season-card { border: 1px solid var(--line); padding: 28px 30px; scroll-margin-top: calc(var(--header-h) + 24px); }
.season-card h2 { margin-bottom: 0.15em; }
.season-months { color: #44546B; font-weight: 600; margin: 0 0 14px; }
.season-sports { list-style: none; padding: 0; margin: 0; }
.season-sports li { margin: 0; border-top: 1px solid var(--line); }
.season-sports a { display: block; padding: 14px 0; text-decoration: none; color: var(--ink); }
.season-sport-name { display: block; font-weight: 700; color: var(--club-blue); }
.season-sport-note { display: block; font-size: 0.95rem; color: #44546B; }
@media (hover: hover) and (pointer: fine) { .season-sports a:hover .season-sport-name { text-decoration: underline; } }
.season-foot { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; }

/* Calendar */
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.cal-month + .cal-month { margin-top: 32px; }
.cal-month[hidden], .cal-empty[hidden], .event-list li[hidden] { display: none; }
.cal-month-name { font-size: 1.3rem; margin-bottom: 12px; }
.cal-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal-grid th { font-family: var(--body); font-size: 0.82rem; font-weight: 700; color: #44546B; padding: 6px 0; text-align: center; }
.cal-grid abbr { text-decoration: none; }
.cal-grid td { border: 1px solid var(--line); height: 52px; padding: 0; text-align: center; vertical-align: middle; font-size: 0.95rem; color: var(--ink); }
.cal-grid td.is-blank { background: var(--panel); }
.cal-grid td.has-event { background: var(--club-blue); }
.cal-grid td.has-event a { display: flex; align-items: center; justify-content: center; min-height: 52px; color: var(--white); font-weight: 700; text-decoration: none; }
.cal-list > h2 { font-size: 1.3rem; margin-bottom: 12px; }
.event-list { list-style: none; padding: 0; margin: 0; }
.event-list li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; padding: 18px 0; margin: 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.event-date { display: flex; flex-direction: column; align-items: center; background: var(--panel); padding: 8px 4px; line-height: 1.15; align-self: start; }
.event-mon, .event-wkd { font-size: 0.82rem; font-weight: 700; color: #44546B; }
.event-day { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--club-blue); }
.event-body h3 { font-family: var(--body); font-size: 1.12rem; font-weight: 700; margin: 0 0 0.25em; }
.event-time { font-weight: 600; margin: 0 0 0.3em; }
.event-body p { margin: 0 0 0.3em; }
.event-list-compact li { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 12px 0; }
.event-list-compact .event-day { font-size: 1.25rem; }
.event-list-compact .event-body h3 { font-size: 1.02rem; margin: 0; }
.event-list-compact .event-body h3 a { color: var(--ink); }
.status-more { margin-top: 12px; font-weight: 600; }
.cal-note { margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); }
.cal-note h3 { font-family: var(--body); font-size: 1.1rem; font-weight: 700; margin: 0 0 0.3em; }
.cal-note p { margin: 0; }
.social-head p + p { margin-top: 0.8em; }
@media (max-width: 900px) { .cal-wrap { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 760px) {
  .season-grid { grid-template-columns: 1fr; }
  .season-card { padding: 22px 20px; }
  .cal-grid td, .cal-grid td.has-event a { height: 46px; min-height: 46px; }
}
/* the header nav stays on one line down to the menu breakpoint */
.main-nav > a, .main-nav .nav-drop-link, .main-nav .nav-more { white-space: nowrap; }
@media (max-width: 1400px) { .main-nav { gap: 16px; } }

/* ---------- Round 5, Tyson's texts (2026-11-07) ---------- */
.season-band .wrap { justify-content: center; text-align: center; }
.status-card h3 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; margin: 0 0 0.45em; }
#announcements p + p { margin-top: 0.6em; }
#announcements .announce-fine { font-size: 0.92rem; color: #44546B; }
.sport-actions.actions-center { justify-content: center; }
.sport-actions.actions-center .text-link { margin-left: 18px; }
.sport-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 28px 0 0; padding: 0; }
.sport-mini-grid li { margin: 0; }
.sport-mini { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; }
.sport-mini:hover { background: var(--panel); }
.sport-mini .tile-name { font-weight: 700; color: var(--club-blue); }
.sport-mini .tile-text { font-size: 0.95rem; }
.winter-block { border: 1px solid var(--line); background: var(--panel); padding: 22px 24px; margin-bottom: 32px; scroll-margin-top: 120px; }
.winter-block h2 { margin-top: 0; }
.winter-block p:last-child { margin-bottom: 0; }
.season-card, .cal-month { scroll-margin-top: 120px; }
.partner-locations li { margin-bottom: 0.7em; }
.cal-flip { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cal-flip[hidden] { display: none; }
.cal-months.is-flipping .cal-month + .cal-month { margin-top: 0; }
.cal-flip button[disabled] { opacity: 0.45; cursor: default; }
@media (max-width: 760px) {
  .sport-mini-grid { grid-template-columns: 1fr; gap: 12px; }
  .perk-logo-row li:last-child:nth-child(odd) { border-right: 1px solid var(--line); }
  .sport-actions.actions-center .text-link { margin-left: 0; }
}

/* ---------- Round 6 (2026-11-07) ---------- */
.season-band .wrap { flex-direction: column; gap: 12px; }
.season-foot { gap: 14px 18px; }
.season-foot .text-link { margin-left: 0; }
.partner-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.partner-links .btn { margin: 0; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--club-blue); }
.social-link:hover { background: var(--panel); color: var(--deep-blue); }
.sport-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); }
@media (max-width: 760px) {
  .sport-grid li:last-child:nth-child(odd) { width: calc(50% - 7px); }
}
