@font-face {
  font-family: Barlow;
  src: url(assets/fonts/barlow-condensed-extrabold-italic.ttf)
    format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url(assets/fonts/dm-sans.ttf) format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url(assets/fonts/plex-mono.ttf) format("truetype");
  font-display: swap;
}
:root {
  --ink: #101e3d;
  --navy: #0c2049;
  --blue: #1749aa;
  --gold: #ffda59;
  --paper: #f7f7f2;
  --line: #d0d4d6;
  --mono: Plex, monospace;
  --display: italic 800 1rem/1 Barlow, "Arial Narrow", sans-serif;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    1rem/1.5 DM,
    system-ui,
    sans-serif;
}
a {
  color: var(--blue);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #bd7000;
  outline-offset: 4px;
}
.wrap {
  width: min(1180px, calc(100% - 9vw));
  margin: auto;
}
.bar {
  background: #fff;
  border-bottom: 1px solid #d6dbe4;
}
.navwrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  font: var(--display);
  font-size: 1.65rem;
  letter-spacing: -0.025em;
}
.brand img {
  margin-right: 0.55rem;
}
.brand-period {
  color: #3156ad;
}
.navwrap nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3.1vw, 45px);
}
nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 650;
}
nav a:hover {
  text-decoration: underline;
}
.banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #102e72;
  border-bottom: 6px solid var(--gold);
}
.banner-inner {
  min-height: clamp(244px, 23vw, 300px);
  position: relative;
  display: flex;
  align-items: center;
}
.hero-text {
  position: relative;
  padding: 2rem 0;
}
.eyebrow,
.season,
.tag,
.photo-caption,
.comp,
.details-line,
th,
.small-date,
.loc {
  font-family: var(--mono);
  font-size: 0.875rem;
}
.eyebrow,
.season,
.tag,
.photo-caption,
.comp,
th,
.loc {
  text-transform: uppercase;
  letter-spacing: 0.075em;
}
.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.light {
  color: #fff;
}
.stripe {
  width: 27px;
  height: 9px;
  background: repeating-linear-gradient(
    120deg,
    transparent 0 3px,
    var(--gold) 3px 7px
  );
}
h1,
h2,
h3 {
  font: var(--display);
  text-transform: uppercase;
  margin: 0;
}
h1 {
  font-size: clamp(5rem, 8.8vw, 8.1rem);
  letter-spacing: -0.03em;
  line-height: 0.97;
  margin: 7px 0 0.55rem;
}
h1 span {
  color: var(--gold);
}
.subtitle {
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  margin: 0.5rem 0 0;
}
.stands {
  position: absolute;
  inset: 0 0 0 36%;
  background: #6f8cbc;
}
.stands:before,
.stands:after {
  content: "";
  position: absolute;
  inset: 0;
}
.stands:before {
  background: url(assets/central-park.webp) center 54% / cover no-repeat;
  filter: grayscale(1) contrast(1.22);
  mix-blend-mode: multiply;
}
.stands:after {
  background:
    linear-gradient(
      90deg,
      #102e72 0%,
      rgba(16, 46, 114, 0.86) 9%,
      transparent 47%
    ),
    linear-gradient(0deg, rgba(6, 26, 70, 0.53), transparent 39%);
}
.photo-caption {
  position: absolute;
  right: 0;
  bottom: 14px;
  color: #fff;
  font-size: 0.75rem;
  background: #0b2244cf;
  padding: 3px 7px;
}
.content {
  padding: 29px 0 45px;
  scroll-margin-top: 10px;
}
.section-head,
.card-head,
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-head {
  margin-bottom: 15px;
}
h2 {
  font-size: clamp(2rem, 3.1vw, 2.8rem);
  letter-spacing: -0.018em;
}
.season {
  margin: 0;
  color: #40516b;
  border-left: 3px solid var(--gold);
  padding-left: 9px;
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.card {
  background: white;
  border: 1px solid #c7ced7;
  border-top: 4px solid var(--blue);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.latest {
  border-top-color: var(--navy);
}
.card-head {
  padding: 15px 21px 0;
}
.card-head h3 {
  font-family: DM, system-ui, sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: 0.07em;
}
.tag {
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--blue);
  background: #eff3fa;
  border: 1px solid #d8e1f0;
  padding: 2px 7px;
}
.tag:empty {
  display: none;
}
.latest .tag {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.game-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 12px 21px 10px;
  color: #4b5869;
  font-size: 0.88rem;
}
.comp {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.78rem;
}
.clubs {
  margin: 0 21px 15px;
}
.club-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: var(--display);
  font-size: clamp(1.65rem, 2.45vw, 2.3rem);
  line-height: 1.17;
  letter-spacing: -0.013em;
}
.club-line + .club-line {
  margin-top: 4px;
}
.club-line.cowden {
  color: var(--blue);
}
.club-score {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  min-width: 1ch;
  text-align: center;
}
.card-bottom {
  margin-top: auto;
  padding: 11px 21px;
  border-top: 1px dashed #c6cbd3;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  background: #fafbf8;
  font-size: 0.89rem;
}
.more,
.foot-links a {
  font-weight: 650;
}
.location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.location:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.blue {
  color: var(--blue);
}
#form {
  scroll-margin-top: 1.5rem;
  margin-top: 35px;
}
.form-head {
  margin-bottom: 15px;
}
.form-head .eyebrow {
  font-size: 0.79rem;
  margin-bottom: 3px;
}
.form-head h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
}
#form-strip {
  display: flex;
  gap: 4px;
}
.outcome {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 27px;
  height: 26px;
  border-radius: 2px;
  font: bold 0.86rem/1 var(--mono);
}
.outcome.W {
  background: #d7ebdf;
  color: #195638;
}
.outcome.D {
  background: #e1e5eb;
  color: #35445d;
}
.outcome.L {
  background: #f4ded8;
  color: #85352a;
}
table {
  border-collapse: collapse;
  width: 100%;
  background: white;
  border: 1px solid #cbd1d9;
}
th,
td {
  text-align: left;
  padding: 11px 13px;
}
th:first-child,
td:first-child {
  padding-left: 18px;
}
th {
  background: #e8edf4;
  color: #344765;
  font-size: 0.76rem;
  font-weight: 600;
  border-bottom: 1px solid #cbd1d9;
}
td {
  border-bottom: 1px solid #e1e4e7;
}
td a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}
td a:hover {
  text-decoration: underline;
  color: var(--blue);
}
.small-date,
.loc {
  font-size: 0.88rem;
  color: #415069;
}
.score {
  font-family: var(--mono);
  font-weight: 700;
  white-space: nowrap;
}
.outcome-cell {
  text-align: right;
  padding-right: 18px;
}
.score-note {
  margin: 9px 0 0;
  color: #526071;
  font-size: 0.87rem;
}
.skip {
  position: absolute;
  left: -100vw;
  z-index: 3;
  background: #fff;
  padding: 0.6rem;
}
.skip:focus {
  left: 0;
  top: 0;
}
#data-status:empty {
  display: none;
}
.foot {
  align-items: flex-start;
  padding: 23px 0 32px;
}
.foot-main p,
.foot-links {
  font-size: 0.9rem;
}
.foot-main p {
  margin: 0.3rem 0;
}
.foot-main .brand {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.foot-links {
  display: grid;
  gap: 5px;
}
.foot-links summary {
  cursor: pointer;
  color: var(--blue);
}
.foot-links details p {
  max-width: 38ch;
}
.foot-main {
  max-width: 53ch;
}
footer {
  border-top: 1px solid #c9d0d6;
  background: #eaf0f5;
}
.empty {
  margin: 1rem 21px 1.5rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 720px) {
  .cards {
    gap: 12px;
  }
  .card-head,
  .card-bottom {
    padding-left: 14px;
    padding-right: 14px;
  }
  .clubs,
  .game-meta {
    margin-left: 14px;
    margin-right: 14px;
  }
  .card-bottom {
    font-size: 0.85rem;
  }
  .club-line {
    font-size: 1.7rem;
  }
  .stands {
    left: 25%;
  }
  .stands:after {
    background: linear-gradient(
      90deg,
      #102e72 0%,
      rgba(16, 46, 114, 0.8) 22%,
      rgba(16, 46, 114, 0.15) 85%
    );
  }
}
@media (max-width: 550px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .navwrap {
    min-height: 58px;
    gap: 8px;
  }
  .brand {
    font-size: 1.28rem;
  }
  .brand img {
    width: 27px;
    height: 27px;
    margin-right: 0.3rem;
  }
  .navwrap nav {
    gap: 11px;
  }
  .navwrap nav a {
    font-size: 0.81rem;
  }
  .banner-inner {
    min-height: 220px;
  }
  .hero-text {
    padding-bottom: 2.8rem;
  }
  h1 {
    font-size: clamp(4.2rem, 15vw, 5.2rem);
  }
  .stands {
    left: 0;
    opacity: 0.78;
  }
  .stands:after {
    background: linear-gradient(
      90deg,
      #102e72 0%,
      rgba(16, 46, 114, 0.88) 35%,
      rgba(16, 46, 114, 0.18) 100%
    );
  }
  .photo-caption {
    bottom: 7px;
    font-size: 0.68rem;
  }
  .content {
    padding-top: 21px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card-head {
    padding-top: 11px;
  }
  .game-meta {
    margin-top: 7px;
  }
  .clubs {
    margin-bottom: 12px;
  }
  .club-line {
    font-size: 1.8rem;
  }
  .form-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .foot {
    flex-direction: column;
    gap: 14px;
  }
  .small-date,
  .loc,
  td,
  .score {
    font-size: 0.83rem;
  }
  th,
  td {
    padding: 8px 5px;
  }
  th:first-child,
  td:first-child {
    padding-left: 7px;
  }
  .outcome-cell {
    padding-right: 7px;
  }
  .outcome {
    width: 23px;
    height: 24px;
  }
  .season {
    font-size: 0.75rem;
  }
  #form {
    margin-top: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}
