:root {
  color-scheme: light;
  --ink: #17191a;
  --muted: #545951;
  --paper: #f7f7f0;
  --panel: #ededdf;
  --line: #cdcec2;
  --lime: #e5f34d;
  --nav: #191c1c;
  --max: 1180px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-underline-offset: 0.24em;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #536200;
  outline-offset: 5px;
}
.masthead :focus-visible,
.footer :focus-visible {
  outline-color: var(--lime);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
.discipline-name {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}
h1 {
  font-size: clamp(3.25rem, 8vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}
h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.055em;
  line-height: 1;
}
p {
  line-height: 1.55;
}
.wrap {
  width: min(var(--max), 100% - 5rem);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.75rem;
  background: white;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.masthead,
.footer {
  background: var(--nav);
  color: #fafbf4;
}
.masthead-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.masthead-inner {
  min-height: 4.4rem;
}
.brand {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}
.masthead nav {
  display: flex;
  gap: clamp(0.9rem, 3vw, 2.5rem);
  align-items: center;
  margin-left: auto;
}
.masthead nav a {
  font-size: 0.875rem;
  text-decoration: none;
  padding-block: 0.8rem;
  white-space: nowrap;
}
.masthead nav a:hover,
.masthead nav a[aria-current] {
  color: var(--lime);
}
.language-switch {
  padding: 0.35rem 0.65rem;
  border: 1px solid #fafbf47a;
  font-size: 0.8rem;
  text-decoration: none;
}
.language-switch:hover {
  color: var(--lime);
  border-color: var(--lime);
}
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--lime);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(4.2rem, 8vw, 7.8rem);
}
.hero-sport {
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}
.hero-intro {
  margin: 1.6rem 0;
  max-width: 31ch;
  font-size: clamp(1.02rem, 2vw, 1.25rem);
}
.button {
  text-decoration: none;
  padding: 0.85rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.88rem;
  font-weight: 750;
  border: 1px solid var(--ink);
  border-radius: 2px;
  line-height: 1.25;
}
.button:hover {
  text-decoration: underline;
}
.dark {
  color: white;
  background: var(--nav);
}
.outline {
  background: transparent;
  color: var(--ink);
}
.lane-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.lane-art i {
  position: absolute;
  width: 54rem;
  height: 31rem;
  top: 0;
  left: 61%;
  border-radius: 50%;
  border: 2px solid #30351140;
  transform: rotate(-32deg);
}
.lane-art i:nth-child(2) {
  width: 58rem;
  height: 35rem;
  top: -2rem;
  left: calc(61% - 2rem);
}
.lane-art i:nth-child(3) {
  width: 62rem;
  height: 39rem;
  top: -4rem;
  left: calc(61% - 4rem);
}
.lane-art i:nth-child(4) {
  width: 66rem;
  height: 43rem;
  top: -6rem;
  left: calc(61% - 6rem);
}
.lane-art i:nth-child(5) {
  width: 70rem;
  height: 47rem;
  top: -8rem;
  left: calc(61% - 8rem);
}
.section {
  padding-block: clamp(3rem, 6vw, 5.4rem);
}
.disciplines,
.recent-grid {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) 2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.discipline-list {
  border-top: 1px solid var(--line);
}
.discipline-link {
  display: grid;
  grid-template-columns: 1fr 1.4fr max-content 1.3rem;
  align-items: baseline;
  gap: 0.8rem;
  padding: 1.2rem 0.25rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.discipline-link:hover {
  background: #e5f34d42;
}
.discipline-name {
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.04em;
}
.discipline-desc,
.count {
  color: var(--muted);
  font-size: 0.88rem;
}
.count,
.event-score,
time,
.event-date {
  font-variant-numeric: tabular-nums;
}
.arrow {
  justify-self: end;
}
.text-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 700;
  font-size: 0.875rem;
}
.footer-inner {
  min-height: 5rem;
}
.footer-inner > a:last-child {
  font-size: 0.85rem;
}
.archive-page {
  padding-block: clamp(3rem, 6vw, 5.7rem);
}
.page-intro {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.page-intro h1 {
  font-size: clamp(3rem, 7.5vw, 6.5rem);
}
.result-controls {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr max-content;
  align-items: end;
  gap: 0.9rem;
  padding: 1.1rem;
  background: var(--panel);
}
.result-controls label {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  font-weight: 700;
  font-size: 0.82rem;
}
.result-controls input,
.result-controls select {
  width: 100%;
  min-width: 0;
  padding: 0.72rem;
  border-radius: 2px;
  border: 1px solid #939886;
  background: var(--paper);
  color: var(--ink);
}
.match-count {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 1rem;
}
.empty {
  margin-top: 2rem;
}
.sport-group,
.press-list {
  margin-top: 3.5rem;
}
.sport-group > h2,
.press-list > h2 {
  margin-bottom: 1.2rem;
}
.year-group {
  margin-top: 1.4rem;
}
.year-group > h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.event {
  border-top: 1px solid var(--line);
  scroll-margin-top: 1rem;
}
.event:last-child {
  border-bottom: 1px solid var(--line);
}
.event > summary {
  display: grid;
  grid-template-columns: 10.5rem 1.6fr 1.15fr 1.2rem;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 0.25rem;
  cursor: pointer;
  list-style: none;
}
.event > summary::-webkit-details-marker {
  display: none;
}
.event > summary:hover,
.event[open] > summary,
.press-entry:target {
  background: #e5f34d35;
}
.event-date {
  font-size: 0.83rem;
  color: var(--muted);
}
.event-title strong {
  display: block;
}
.event-title small,
.performance small {
  display: block;
  color: var(--muted);
  line-height: 1.4;
}
.event-title small:empty,
.performance small:empty {
  display: none;
}
.event-score {
  font-size: 0.875rem;
  text-align: right;
}
.toggle::before {
  content: "+";
  font-weight: 750;
  font-size: 1.2rem;
}
.event[open] .toggle::before {
  content: "−";
}
.event-body {
  border-top: 1px solid var(--line);
  padding: 0.9rem 1.2rem 1.1rem;
  background: #fbfbf7;
}
.event-body > a {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.875rem;
}
.performances {
  list-style: none;
  margin: 0;
  padding: 0;
}
.performance {
  padding: 0.6rem 0;
}
.performance + .performance {
  border-top: 1px solid var(--line);
}
.performance-head {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
}
.performance-time {
  text-align: right;
}
.performance p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.35rem;
}
.splits {
  font-size: 0.84rem;
  margin-top: 0.5rem;
}
.splits summary {
  cursor: pointer;
}
.splits div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-block: 0.5rem;
}
.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.15rem;
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  font-size: 0.83rem;
  font-weight: 650;
}
.press-entry {
  display: grid;
  grid-template-columns: 4.8rem 1fr;
  gap: 0.7rem;
  border-top: 1px solid var(--line);
  padding: 1.2rem 0.25rem;
  scroll-margin-top: 1rem;
}
.press-entry h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}
.press-entry p {
  max-width: 73ch;
  color: var(--muted);
}
@media (max-width: 800px) {
  .wrap {
    width: min(var(--max), 100% - 2rem);
  }
  .disciplines,
  .recent-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .result-controls {
    grid-template-columns: 1fr 1fr;
  }
  .result-controls > label:first-child {
    grid-column: 1 / -1;
  }
  .result-controls button {
    justify-self: start;
  }
  .event > summary {
    grid-template-columns: 1fr auto 1rem;
    gap: 0.4rem 0.65rem;
  }
  .event > summary .event-date {
    grid-column: 1 / 3;
  }
  .event-title {
    grid-column: 1;
  }
  .toggle {
    grid-column: 3;
    grid-row: 2;
  }
}
@media (max-width: 490px) {
  .masthead-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.2rem 0.7rem;
    padding-top: 0.8rem;
  }
  .masthead nav {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 1.1rem;
    margin-left: 0;
    flex-wrap: wrap;
  }
  .language-switch {
    grid-column: 2;
    grid-row: 1;
  }
  .lane-art {
    opacity: 0.52;
    transform: translateX(22%);
  }
  .discipline-link {
    grid-template-columns: 1fr 1.2fr 1rem;
  }
  .discipline-desc {
    grid-area: 2 / 1 / 3 / 3;
  }
  .count {
    justify-self: end;
  }
  .event > summary {
    grid-template-columns: 1fr 1rem;
  }
  .event > summary .event-date {
    grid-column: 1;
  }
  .event-score {
    grid-row: 3;
    text-align: left;
  }
  .toggle {
    grid-column: 2;
  }
  .press-entry {
    grid-template-columns: 3rem 1fr;
  }
}

.highlights {
  border-bottom: 1px solid var(--line);
}
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 1.45rem;
}
.highlight-group {
  min-width: 0;
  padding: clamp(1.15rem, 2.6vw, 2rem);
  background: #fbfbf5;
}
.highlight-group:first-child {
  grid-column: 1 / -1;
  background: var(--panel);
}
.highlight-group h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.highlight-group ul,
.times ul,
.recognition-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.highlight-group:first-child ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.highlight-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.65rem;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding: 0.8rem 0;
}
.highlight-entry:last-child {
  padding-bottom: 0;
}
.highlight-entry a {
  font-weight: 750;
}
.highlight-entry a:hover,
.recognition-list a:hover {
  color: #485400;
}
.highlight-year {
  font-size: 0.8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.highlight-entry strong,
.highlight-entry p {
  grid-column: 1 / -1;
}
.highlight-entry strong {
  font-variant-numeric: tabular-nums;
}
.highlight-entry p,
.recognition-list span {
  color: var(--muted);
  font-size: 0.86rem;
}
.times {
  background: var(--panel);
}
.times ul,
.recognition-list {
  border-top: 1px solid var(--line);
}
.times a {
  display: grid;
  grid-template-columns: 1fr max-content 1rem;
  align-items: baseline;
  gap: 0.35rem 0.8rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.times a:hover {
  background: #e5f34d42;
}
.times strong {
  grid-column: 2;
  grid-row: 1;
  font-variant-numeric: tabular-nums;
}
.times small {
  grid-column: 1 / 3;
  color: var(--muted);
}
.times .arrow {
  grid-row: 1;
  grid-column: 3;
}
.recognition-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem 0.9rem;
  padding: 1rem 0.2rem;
  border-bottom: 1px solid var(--line);
}
.recognition-list a {
  font-weight: 750;
}
.selected-tag {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.16rem 0.45rem;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.72rem;
  font-weight: 700;
}
.event-featured > summary {
  box-shadow: inset 3px 0 #8f9e25;
  padding-left: 0.7rem;
}
.award {
  background: #e5f34d26;
  padding-inline: 0.75rem;
}
.award p.award-credit {
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.standing-rounds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
}
@media (max-width: 660px) {
  .highlight-grid,
  .highlight-group:first-child ul {
    grid-template-columns: 1fr;
  }
  .highlight-group:first-child ul {
    gap: 0;
  }
  .highlight-group:first-child .highlight-entry {
    padding-bottom: 0.8rem;
  }
  .highlight-group:first-child .highlight-entry:last-child {
    padding-bottom: 0;
  }
}
.junior-cup {
  border-bottom: 1px solid var(--line);
}
.junior-cup h2 {
  max-width: 22ch;
}
.junior-cup > p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.7rem;
}
.benchmark-marks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  margin: 1.45rem 0 1rem;
  padding: 1px;
  background: var(--line);
}
.benchmark-marks a {
  display: grid;
  gap: 0.4rem;
  height: 100%;
  padding: clamp(1rem, 3vw, 1.7rem);
  background: var(--panel);
  text-decoration: none;
}
.benchmark-marks a:hover {
  background: #e5f34d42;
}
.benchmark-marks a > span {
  font-weight: 750;
}
.benchmark-marks strong {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}
.benchmark-marks small {
  color: var(--muted);
}
@media (max-width: 540px) {
  .benchmark-marks {
    grid-template-columns: 1fr;
  }
}
