:root {
  --red: #e10600;
  --red-deep: #9d0c12;
  --black: #111111;
  --ink: #1c1c1c;
  --muted: #5c5c5c;
  --line: #d9d9d9;
  --paper: #f3f3f3;
  --white: #ffffff;
  --max: 1120px;
  --header: 5.25rem;
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
}

::selection {
  background: var(--red);
  color: var(--white);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--red);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.topline {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topline-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.8rem;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.4rem 0;
}

.topline a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.topline a:hover {
  border-bottom-color: var(--red);
  color: var(--white);
}

.topline-right {
  margin-left: auto;
}

.dot {
  width: 0.38rem;
  height: 0.38rem;
  background: var(--red);
  display: inline-block;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-right: auto;
}

.brand img {
  width: 3.6rem;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.22rem;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-text small {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  border: 2px solid var(--black);
  background: var(--white);
  color: var(--black);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  background: var(--black);
  color: var(--white);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.95rem;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--red);
}

.hero {
  background: #101010;
  color: var(--white);
  border-bottom: 6px solid var(--red);
}

.hero-intro {
  padding: 2.6rem 0 3.2rem;
  text-align: center;
}

.hero-intro h1 {
  margin: 0 auto;
  max-width: min(100%, 28rem);
  line-height: 0;
}

.hero-intro h1 img {
  width: 100%;
  height: auto;
}

.hero-intro .lede {
  margin-left: auto;
  margin-right: auto;
  color: #e4e4e4;
}

.hero-intro .actions {
  justify-content: center;
}

.hero .btn-ghost {
  color: var(--white);
  border-color: var(--white);
}

.hero .btn-ghost:hover {
  background: var(--white);
  color: var(--black);
}

.kicker {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  font-size: 0.86rem;
  margin: 0 0 0.9rem;
}

.lede {
  font-size: 1.2rem;
  max-width: 40rem;
  margin-top: 1.25rem;
  color: var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.1rem;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.btn:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-ghost:hover {
  background: var(--black);
  color: var(--white);
}

.btn-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.btn-light:focus,
.btn-light:focus-visible {
  outline: none;
  border-color: var(--white);
}

.band {
  background: var(--black);
  color: var(--white);
}

.band-redline {
  border-top: 6px solid var(--red);
}

.match-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 2rem;
  align-items: start;
  padding: 1.6rem 0;
}

.match-band .btn {
  grid-column: 2;
  justify-self: start;
}

.match-date {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  font-size: 0.95rem;
  margin-top: 0.55rem;
}

.match-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 0.35rem;
}

.match-band p {
  color: #d7d7d7;
  margin: 0;
}

.match-band .match-extra {
  margin-top: 0.15rem;
}

.match-band p + .match-extra {
  margin-top: 0.55rem;
}

.dvc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.dvc-grid article {
  padding: 2rem 1.5rem 2.1rem 0;
  border-top: 4px solid var(--red);
  margin-right: 1.5rem;
}

.dvc-grid article:last-child {
  margin-right: 0;
  padding-right: 0;
}

.latin {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  font-size: 0.82rem;
  margin: 0 0 0.55rem;
}

.dvc-grid h2,
.section h2,
.split h2,
.club-band h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-head p,
.intro {
  max-width: 38rem;
  color: var(--ink);
}

.paper {
  background: var(--paper);
}

.roles {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--black);
}

.roles li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--black);
}

.roles strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.roles h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.8rem 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--black);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--red);
  line-height: 1;
}

.steps {
  counter-reset: step;
}

.steps h3 {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}

.club-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.club-band-copy,
.club-band-shade {
  padding-top: 3.4rem;
  padding-bottom: 3.4rem;
}

.club-band-copy {
  padding-left: max(1.25rem, calc((100vw - var(--max)) / 2));
  padding-right: 2.5rem;
}

.club-band-shade {
  background: var(--black);
  color: var(--white);
  padding-left: 2.5rem;
  padding-right: max(1.25rem, calc((100vw - var(--max)) / 2));
}

.club-band-shade p {
  color: #dedede;
}

.meta {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--red);
  margin-bottom: 0.7rem;
}

.page-hero {
  background: var(--black);
  color: var(--white);
  border-bottom: 6px solid var(--red);
  padding: 3.2rem 0 3rem;
}

.crumbs {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 0 0.9rem;
  color: #cfcfcf;
}

.crumbs a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 16ch;
}

.page-hero .lede {
  color: #e6e6e6;
  margin-top: 1rem;
}

.prose {
  max-width: 46rem;
}

.prose h2,
.block h2,
.block-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.85rem;
}

.prose h2 {
  margin-top: 2.2rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  list-style: none;
  margin: 0.3rem 0 1rem;
  padding: 0;
}

.prose li {
  position: relative;
  padding-left: 1.15rem;
  margin: 0.45rem 0;
}

.prose li::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  background: var(--red);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.narrow {
  max-width: 40rem;
}

.narrow > p {
  margin: 0.7rem 0 1.15rem;
}

.narrow > .details {
  margin-top: 0;
}

.stack-top {
  margin-top: 1.5rem;
}

.prose a,
.block a,
.notice a,
.steps a,
.roles a,
.fixture a,
.doc-list a,
.club-list a {
  color: var(--red-deep);
  text-underline-offset: 0.18em;
}

.band a:not(.btn) {
  color: var(--white);
}

.notice {
  border-left: 4px solid var(--red);
  padding: 0.2rem 0 0.2rem 1rem;
  margin: 1.4rem 0;
  max-width: 46rem;
}

.paper-logo {
  width: 7.5rem;
  height: auto;
  margin: 0 0 1.4rem;
}

.table-scroll {
  overflow-x: auto;
  margin-top: 1.4rem;
}

.fees {
  width: 100%;
  border-collapse: collapse;
}

.fees th,
.fees td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--black);
  font-variant-numeric: tabular-nums;
}

.fees thead th {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: none;
}

.fees tbody th {
  font-weight: 600;
}

.fees thead th:not(:first-child),
.fees td {
  text-align: right;
  white-space: nowrap;
}

.fees td:last-child {
  font-weight: 700;
}

.fees tbody tr:hover th,
.fees tbody tr:hover td {
  background: var(--paper);
}

.rate-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  max-width: 40rem;
}

.rate-list li {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--black);
}

.rate-list li:last-child {
  border-bottom: 1px solid var(--black);
}

h3.stack-top {
  font-size: 1.45rem;
  margin-top: 2.2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem 2rem;
}

.fact {
  border-top: 1px solid var(--black);
  padding-top: 0.9rem;
}

.fact h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.club-list,
.doc-list,
.fixture-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.club-card,
.doc-list li,
.fixture {
  border-top: 1px solid var(--black);
  padding: 1.5rem 0;
}

.club-card header,
.doc-list li,
.fixture {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: start;
}

.club-card h2,
.fixture h2,
.doc-list h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.35rem;
}

.fixture {
  padding-left: 1.15rem;
  padding-right: 1rem;
}

.fixture h2 {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.fixture .text-link {
  justify-self: start;
  width: fit-content;
}

.match-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  margin: 1.05rem 0 0.15rem;
}

.match-facts div {
  min-width: 8.5rem;
}

.match-facts dt {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.match-facts dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
}

.match-note,
.match-entry {
  max-width: 40rem;
  margin: 0.75rem 0 0;
}

.match-note {
  padding-left: 0.75rem;
  border-left: 3px solid var(--red);
}

.match-note a {
  color: inherit;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.discipline-icon {
  flex: none;
  width: 2.6rem;
  height: 1.75rem;
}

.calendar-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.calendar-key span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--black);
}

.calendar-key .key-iii {
  background: #f8e4e4;
  border-color: var(--red);
  box-shadow: inset 3px 0 0 var(--red);
}

.calendar-key .key-iv {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: inset 3px 0 0 var(--red);
}

.fixture.level-3 {
  background: #f8e4e4;
  box-shadow: inset 4px 0 0 var(--red);
}

.fixture.level-4 {
  background: var(--black);
  color: var(--white);
  box-shadow: inset 4px 0 0 var(--red);
}

.fixture.level-4 p {
  color: #e8e8e8;
}

.fixture.level-4 .meta {
  color: #ff5a54;
}

.tag {
  display: inline-block;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  border: 1px solid var(--black);
  padding: 0.2rem 0.45rem;
  margin: 0 0.35rem 0.35rem 0;
}

.tag-solid {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.details {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.25rem 1rem;
  margin: 1rem 0 0;
}

.details dt {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--muted);
}

.details dd {
  margin: 0;
}

.text-link {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  color: var(--black);
  align-self: center;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--red-deep);
}

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem 0 1.4rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #333;
}

.footer-brand {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.footer-brand img {
  width: 4.25rem;
  height: auto;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  display: block;
  line-height: 1;
}

.footer-brand span {
  display: block;
  max-width: 16rem;
  margin-top: 0.28rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: #c8c8c8;
}

.site-footer p {
  color: #d0d0d0;
}

.site-footer h2 {
  font-size: 1rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.8rem;
  color: var(--red);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.site-footer a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-footer a:hover {
  border-bottom-color: var(--red);
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  color: #bdbdbd;
  font-size: 0.95rem;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--black);
    padding: 0.6rem 1.25rem 1rem;
    flex-direction: column;
    gap: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    color: var(--white);
    padding: 0.7rem 0;
    border-bottom: 1px solid #2a2a2a;
  }

  .site-nav a[aria-current="page"] {
    color: var(--red);
    border-bottom-color: #2a2a2a;
  }

  .split,
  .club-band,
  .grid-2,
  .grid-3,
  .dvc-grid,
  .footer-grid,
  .match-band {
    grid-template-columns: 1fr;
  }

  .dvc-grid article {
    margin-right: 0;
    padding-right: 0;
  }

  .match-band .btn {
    grid-column: 1;
    justify-self: start;
  }

  .club-band-copy,
  .club-band-shade {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .topline-right {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.6rem));
  }

  .brand-text {
    display: none;
  }

  .roles li,
  .details,
  .club-card header,
  .doc-list li,
  .fixture,
  .rate-list li {
    grid-template-columns: 1fr;
  }

  .fees th,
  .fees td {
    padding: 0.7rem 0.4rem;
    font-size: 0.92rem;
  }

  .text-link {
    white-space: normal;
  }

  .hero {
    padding-top: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
