:root {
  --bg: #0a1628;
  --ink: #f4f6f8;
  --muted: #b7c9e2;
  --gold: #c9a36a;
  --gold-soft: #e4d2ae;
  --line: rgba(183, 201, 226, 0.22);
  --measure: 40rem;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 36% at 50% -8%, rgba(22, 52, 92, 0.9), transparent 62%),
    var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
}

::selection {
  background: #16345c;
  color: var(--ink);
}

a {
  color: var(--gold-soft);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--ink); }

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.4rem 0.7rem;
  z-index: 2;
}

.skip:focus { top: 0.75rem; }

.site-header,
.site-footer,
main {
  width: min(68rem, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-top: 1.6rem;
}

.brand {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-soft);
}

nav {
  font-family: var(--sans);
  font-size: 0.95rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  padding: 0.45rem 0;
  margin-left: 1.35rem;
}

nav a:first-child { margin-left: 0; }

nav a[aria-current="page"],
nav a:hover { color: var(--ink); }

main { padding: 4.5rem 0 4rem; }

.kicker,
.section-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

h1 {
  font-weight: 500;
  font-size: clamp(2.7rem, 7vw, 4.4rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0.55rem 0 1.2rem;
}

.lede {
  font-size: 1.3rem;
  line-height: 1.45;
  margin: 0;
  max-width: 36rem;
}

section { margin-top: 3.25rem; }

.section-label { margin-bottom: 0.35rem; }

.games {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.games li {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
  font-size: 1.45rem;
}

.games li:last-child { border-bottom: 1px solid var(--line); }

.prose p { margin: 0.7rem 0 0; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 2.2rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1rem;
}

.site-footer a:first-child { margin-left: 0; }

.site-footer a:hover { color: var(--ink); }

.prose h2 {
  font-size: 1.35rem;
  font-weight: 500;
  margin: 2rem 0 0;
}

@media (max-width: 40rem) {
  .site-header,
  .site-footer,
  main { width: min(68rem, calc(100% - 2rem)); }

  main { padding-top: 3rem; }

  .lede { font-size: 1.15rem; }

  nav a { margin-left: 1rem; }
}
