*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffff99;
  color: #1a1a1a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0000b3; }
h1, h2, h3 { color: #cc0000; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1; margin: 0.4rem 0 0; }
h2 { font-size: 1.7rem; line-height: 1.2; margin: 0; }
h3 { font-size: 1.5rem; line-height: 1.25; margin: 0; }
h4 { margin: 0; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: #0000b3; }
p { margin: 0.7rem 0 0; }
button { font: inherit; cursor: pointer; }
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
  z-index: 5;
  background: #ffff99;
  padding: 0.4rem 0.7rem;
}
.wrap { width: min(64rem, calc(100% - 2.5rem)); margin: 0 auto; }
.site-header {
  background: #00cccc;
  border-bottom: 4px solid #0000b3;
}
.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0;
}
.brand img { height: 3rem; width: auto; }
nav[aria-label="Primary"] { display: flex; flex-wrap: wrap; gap: 0.15rem; }
nav[aria-label="Primary"] a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.7rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0000b3;
  text-underline-offset: 4px;
}
nav[aria-label="Primary"] a[aria-current="page"] {
  color: #cc0000;
  text-decoration-thickness: 2px;
}
main { padding: 2rem 0 2.5rem; }
footer { border-top: 4px solid #00cccc; }
.foot { padding: 1.6rem 0 2rem; font-weight: 700; color: #0000b3; }
.banner {
  margin: 0 0 1.8rem;
  text-align: center;
  font-weight: 700;
  color: #cc0000;
}
.center { text-align: center; }
.left { text-align: left; }
.narrow { width: min(48rem, 100%); margin-inline: auto; }
.welcome { font-weight: 700; color: #0000b3; font-size: 1.15rem; }
.hero-logo { width: min(42rem, 100%); margin: 0.4rem auto 0; }
.tagline {
  margin-top: 0.25rem;
  color: #0000b3;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-style: italic;
  font-weight: 700;
}
.cancel {
  margin-top: 1.4rem;
  font-weight: 700;
  color: #cc0000;
  font-size: 1.1rem;
}
.block { margin-top: 2.6rem; }
.rule { border-top: 4px solid #00cccc; padding-top: 1.6rem; }
.photo-grid { display: grid; gap: 1.2rem; list-style: none; margin: 1.1rem 0 0; padding: 0; }
.photo-grid.two { grid-template-columns: 1fr; }
.photo-grid.three { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .photo-grid.two, .photo-grid.three { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .photo-grid.three { grid-template-columns: 1fr 1fr 1fr; }
}
.photo-grid img, .album img, figure img {
  width: 100%;
  border: 4px solid #00cccc;
}
.album img, .photo-grid.three img { aspect-ratio: 4 / 3; object-fit: cover; }
figcaption, .photo-grid button span {
  display: block;
  margin-top: 0.4rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0000b3;
}
.photo-grid button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
}
.more a, .page-head a { font-weight: 700; }
.champion-name { font-size: 1.45rem; font-weight: 700; color: #0000b3; }
.note { max-width: 40rem; }
.prose p + p { margin-top: 1rem; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 1rem; }
.btn, #lightbox-close {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  background: #0000b3;
  color: #ffff99;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid #0000b3;
}
.btn.ghost, #lightbox-prev, #lightbox-next, .filters button, .year-jumps a {
  background: transparent;
  color: #0000b3;
  border: 2px solid #0000b3;
  text-decoration: none;
  font-weight: 700;
}
.page-head { max-width: 40rem; }
.kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0000b3;
}
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.filters button {
  min-height: 2.75rem;
  padding: 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}
.filters button[aria-pressed="true"] {
  background: #1a1a1a;
  color: #ffff99;
  border-color: #1a1a1a;
}
.year { border-top: 1px solid rgba(26, 26, 26, 0.18); padding: 1.7rem 0; scroll-margin-top: 1rem; }
.year-grid { display: grid; gap: 0.8rem; }
@media (min-width: 900px) {
  .year-grid { grid-template-columns: 12rem 1fr; gap: 1.2rem; }
}
.year-num { margin: 0; font-size: 2.4rem; line-height: 1; font-weight: 700; }
.year-status { margin: 0.4rem 0 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #0000b3; }
.year-status.cancelled { color: #cc0000; }
.muted { color: #333; }
.meta { margin-top: 0.7rem; }
.places { margin-top: 0.9rem; }
.places ol { margin: 0.35rem 0 0; padding: 0; list-style: none; }
.places li + li { margin-top: 0.2rem; }
.beats { list-style: none; margin: 2.2rem 0 0; padding: 0; border-top: 1px solid rgba(26,26,26,.18); border-bottom: 1px solid rgba(26,26,26,.18); }
.beats li {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(26,26,26,.18);
}
.beats li:first-child { border-top: 0; }
.beat-num { margin: 0; font-size: 1.8rem; font-weight: 700; color: #0000b3; }
@media (min-width: 700px) {
  .beats li { grid-template-columns: 2rem 12rem 1fr; gap: 1.2rem; align-items: start; }
}
.cards { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
.cards > div { border: 1px solid rgba(26,26,26,.18); padding: 1.1rem; }
.rules { margin-top: 2rem; }
.rules section {
  display: grid;
  gap: 0.7rem;
  border-top: 1px solid rgba(26,26,26,.18);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}
@media (min-width: 900px) {
  .rules section { grid-template-columns: 16rem 1fr; gap: 1.2rem; }
}
.rules h2 span { color: #0000b3; margin-right: 0.35rem; }
.rules ul { margin: 0; padding: 0; list-style: none; }
.rules li { border-left: 1px solid rgba(0,0,179,.6); padding-left: 0.8rem; }
.rules li + li { margin-top: 0.7rem; }
.year-jumps { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; }
.year-jumps a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.7rem; font-size: 0.9rem; }
.album { margin-top: 2.4rem; border-top: 4px solid #00cccc; padding-top: 1.2rem; scroll-margin-top: 1rem; }
dialog {
  width: min(60rem, calc(100% - 2rem));
  border: 4px solid #00cccc;
  background: #ffff99;
  color: #1a1a1a;
  padding: 1rem;
}
dialog::backdrop { background: rgba(0,0,0,.75); }
#lightbox-img { max-height: 70vh; width: 100%; object-fit: contain; margin: 0 auto; }
#lightbox-caption, #lightbox-count { text-align: center; }
#lightbox-caption { font-weight: 700; color: #0000b3; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
