:root{--club:#0b332a;--on-club:#ffffff;--accent:#ffcd5f;--on-accent:#000000}
:root {
  color-scheme: light;
  --paper: #f4f0e4;
  --card: #fcf9f0;
  --ink: #0b2c22;
  --muted: #41594b;
  --soft: #d5e0c8;
  --line: #b9c4b7;
  --display: Impact, "Arial Narrow", sans-serif;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, dd { margin: 0; }
p { line-height: 1.55; }
a { color: inherit; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 0.13em; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
img { display: block; max-width: 100%; }
.shell { width: min(100% - 9vw, 1370px); margin-inline: auto; }

.skip {
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  background: var(--paper);
  transform: translateY(-130%);
}
.skip:focus { transform: translateY(0); }

.preview-label {
  text-align: center;
  padding: 6px 14px;
  background: var(--soft);
  color: var(--ink);
  font-size: .81rem;
  font-weight: 700;
}

.club-header { position: relative; z-index: 1; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(21px, 3vw, 36px); font-weight: 800; letter-spacing: -.035em; text-decoration: none; }
.brand img { flex: 0 0 auto; width: 74px; height: 74px; object-fit: contain; }
.navigation { border-top: 1px solid var(--line); }
.navigation nav { display: flex; gap: clamp(12px, 2.1vw, 33px); align-items: center; flex-wrap: wrap; }
.navigation nav a { display: flex; align-items: center; min-height: 48px; border-bottom: 3px solid transparent; text-decoration: none; font-size: .97rem; font-weight: 750; }
.navigation nav a:hover, .navigation nav a[aria-current] { border-bottom-color: currentColor; }
.mobile-menu { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}
.button:hover { box-shadow: inset 0 0 0 2px currentColor; }
.button:focus-visible { outline-color: var(--ink); }
.hero .button:focus-visible { outline-color: var(--on-club); }

.headline {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.07;
  text-transform: uppercase;
  letter-spacing: .012em;
  overflow-wrap: anywhere;
}
.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-weight: 750;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link span { font-size: 1.25em; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: clamp(365px, 31vw, 545px);
  background: var(--club);
  color: var(--on-club);
}
.hero-without-image { grid-template-columns: 1fr; }
.hero-copy { align-self: center; padding: 45px 18px 45px 5vw; }
.hero h1 { font-size: clamp(51px, 7vw, 139px); }
.hero p { max-width: 27ch; margin-top: 14px; font-size: clamp(22px, 2.35vw, 35px); line-height: 1.2; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 27px; }
.hero-actions .button { min-height: 52px; padding-inline: clamp(22px, 3vw, 42px); font-size: clamp(17px, 1.6vw, 24px); }
.hero-actions .text-link { min-height: 44px; font-size: clamp(17px, 1.6vw, 23px); }
.hero-image { position: absolute; inset: 0 0 0 auto; width: 54%; height: 100%; object-fit: cover; object-position: 57% 50%; }

.home-sections { display: grid; gap: clamp(32px, 4.5vw, 65px); padding-block: clamp(30px, 4vw, 60px); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 26px; margin-bottom: 17px; }
.section-head .headline, .page-content h2.headline { font-size: clamp(32px, 3.5vw, 54px); }
.section-head p { margin-top: 7px; color: var(--muted); font-weight: 650; }
.weekend { border-top: 3px solid var(--ink); padding-top: 14px; }
.weekend-days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.weekend-day { background: var(--soft); border-radius: 12px; padding: clamp(17px, 2.2vw, 29px); }
.weekend-day h3 { font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; }
.weekend-day p { margin: 7px 0 9px; }
.quick-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); background: var(--club); color: var(--on-club); }
.quick-links a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 19px 23px; border: 1px solid color-mix(in srgb, var(--on-club), transparent 70%); text-decoration: none; }
.quick-links a:focus-visible { outline-offset: -5px; }
.quick-links a:hover strong { text-decoration: underline; }
.quick-links strong { font-size: 1.14rem; }
.quick-links span:not([aria-hidden]) { grid-column: 1; }
.quick-links span[aria-hidden] { grid-column: 2; grid-row: 1 / 3; font-size: 1.6em; }

.page-intro { padding-block: clamp(29px, 4.3vw, 65px); background: var(--club); color: var(--on-club); }
.page-intro h1 { font-size: clamp(43px, 6vw, 87px); }
.page-intro p { max-width: 55ch; margin-top: 9px; font-size: clamp(17px, 1.5vw, 23px); line-height: 1.35; }
.page-content { padding-block: clamp(27px, 4vw, 60px); min-height: 38vh; }
.page-content > * + * { margin-top: 20px; }
.directory-group + .directory-group { margin-top: 36px; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); gap: 14px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: clamp(16px, 2vw, 26px); scroll-margin-top: 12px; overflow-wrap: anywhere; }
.tile:target { outline: 3px solid currentColor; outline-offset: 3px; }
.tile h2, .tile h3 { font-size: clamp(19px, 1.65vw, 24px); line-height: 1.2; letter-spacing: -.025em; }
.tile p + p, .tile h2 + p, .tile h3 + p { margin-top: 7px; }
.tile .button { margin-top: 15px; }
.tile-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.availability { color: var(--muted); font-size: .94rem; font-weight: 700; }
.sponsor-logo { width: 105px; height: 62px; object-fit: contain; object-position: left; margin-bottom: 11px; }
.note, .empty-message, .join-panel { padding: 15px 19px; background: var(--soft); border-radius: 8px; }
.join-panel { margin-top: 26px; }
.join-panel p, .join-panel .button { margin-top: 10px; }
.reading-copy { max-width: 68ch; }
.reading-copy > * + * { margin-top: 13px; }
.split-content { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(20px, 4vw, 55px); }
.split-content > section { border-top: 3px solid var(--ink); padding-top: 13px; }
.split-content .text-link, .split-content .button { margin-top: 12px; }
.back-link { display: inline-block; margin-bottom: 9px; font-weight: 700; }
.facts { display: grid; gap: 9px; }
.facts div { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.facts dt { font-weight: 750; }
.facts dd { margin-top: 4px; line-height: 1.4; }

.filters { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr auto; gap: 14px; align-items: end; padding: 17px; background: var(--soft); border-radius: 10px; }
.filters label { display: grid; min-width: 0; gap: 6px; font-weight: 700; }
.filters select { width: 100%; min-height: 44px; padding: 8px; border: 1px solid var(--muted); border-radius: 5px; background: var(--card); color: var(--ink); font: inherit; font-weight: 500; }
.filters > a { padding: 11px 2px; font-weight: 700; }
.match-count, .match-date { margin-block: 12px; color: var(--muted); font-weight: 700; }
.match-day { margin-block: 20px; }
.match-day > h2 { padding: 9px 0; border-top: 3px solid var(--ink); font-size: clamp(21px, 2.2vw, 30px); }
.match-list { list-style: none; padding: 0; margin: 0; }
.match-row { display: grid; grid-template-columns: 81px 1fr; gap: 15px; align-items: start; padding: 13px; border-top: 1px solid var(--line); background: var(--card); }
.match-row:last-child { border-bottom: 1px solid var(--line); }
.match-time { display: grid; gap: 4px; }
.match-time time { font-weight: 800; font-variant-numeric: tabular-nums; }
.match-time span, .match-team, .venue { font-size: .9rem; color: var(--muted); }
.match-team a { font-weight: 700; }
.match-title { margin-top: 3px; font-size: clamp(17px, 1.65vw, 23px); font-weight: 750; line-height: 1.2; }
.venue { margin-top: 4px; }
.versus { font-weight: 500; }
.score { display: inline-block; padding: 3px 7px; border-radius: 4px; background: var(--soft); font-variant-numeric: tabular-nums; white-space: nowrap; }

.club-footer { padding-block: 27px; background: var(--club); color: var(--on-club); }
.club-footer .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer-brand { font-size: 1.16rem; font-weight: 800; text-decoration: none; }
.club-footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

@media (max-width: 940px) {
  .navigation, .join-desktop { display: none; }
  .masthead { min-height: 67px; }
  .brand img { width: 55px; height: 55px; }
  .mobile-menu { display: block; }
  .mobile-menu summary { cursor: pointer; padding: 12px 2px; font-weight: 800; }
  .mobile-menu nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; position: absolute; inset: 100% 0 auto; background: var(--paper); padding: 13px 4.5vw 21px; border-top: 1px solid var(--line); box-shadow: 0 9px 18px #0002; }
  .mobile-menu nav a { display: flex; align-items: center; min-height: 42px; padding-inline: 8px; font-weight: 650; }
  .mobile-menu nav a[aria-current] { background: var(--soft); border-radius: 5px; }
  .mobile-menu nav .button { margin-top: 7px; grid-column: 1 / -1; justify-self: start; padding-inline: 20px; }
  .hero h1 { font-size: clamp(43px, 7vw, 75px); }
}

@media (max-width: 670px) {
  .hero, .split-content { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 29px 4.5vw 23px; }
  .hero h1 { font-size: clamp(44px, 12.3vw, 68px); }
  .hero p { font-size: clamp(18px, 4.6vw, 24px); }
  .hero-actions { margin-top: 18px; gap: 4px 17px; }
  .hero-actions .button { min-height: 45px; }
  .hero-image { position: static; width: 100%; height: clamp(121px, 36vw, 235px); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 12px; }
  .filters > a { align-self: end; }
  .match-row { grid-template-columns: 56px 1fr; gap: 8px; padding: 10px; }
  .weekend-days { gap: 9px; }
  .weekend-day { padding: 13px; }
  .weekend-day h3 { font-size: 1.06rem; }
}
