@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("../fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("../fonts/barlow-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("../fonts/barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #121410;
  --ink-2: #1c211b;
  --paper: #f4f1e8;
  --paper-2: #e7e1d4;
  --line: rgba(244, 241, 232, 0.16);
  --green: #0c6b3c;
  --green-deep: #084828;
  --gold: #e2b657;
  --muted: #3d463c;
  --muted-on-ink: #d5d0c4;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --text: Barlow, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1180px;
  --header: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--green-deep);
}

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

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 50;
  font-weight: 600;
}

.skip:focus {
  top: 0.5rem;
}

.new-tab {
  font-size: 0.72em;
  margin-left: 0.28em;
  text-decoration: none;
  display: inline-block;
}

.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;
}

.private-bar {
  background: var(--ink);
  color: var(--muted-on-ink);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.private-bar p {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.45rem 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 3px solid var(--green);
}

.logo {
  color: var(--paper);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  position: relative;
  padding-right: 0.9em;
}

.logo .new-tab {
  position: absolute;
  right: 0;
  bottom: 0.15em;
  margin-left: 0;
}

.logo-kicker {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
}

.logo-name {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--gold);
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.9rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1rem;
}

#site-nav ul {
  display: flex;
  gap: 0.2rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

#site-nav a {
  color: var(--paper);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

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

#site-nav a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(2.5rem, 7vw, 5.5rem) 1.25rem;
  min-height: calc(100svh - 8.25rem);
}

.hero::before {
  content: "−22";
  position: absolute;
  right: -1rem;
  bottom: -0.2em;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(10rem, 34vw, 28rem);
  line-height: 0.75;
  color: rgba(226, 182, 87, 0.09);
  pointer-events: none;
}

.hero-copy,
.scorebug,
.graphic-frame {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

h1,
.h-display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.84;
  margin: 0;
}

.hero h1 {
  font-size: clamp(4.6rem, 13vw, 9.4rem);
  max-width: 8ch;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent {
  color: var(--gold);
}

.dek {
  max-width: 38rem;
  font-size: 1.2rem;
  color: var(--muted-on-ink);
  margin: 1.25rem 0 0;
}

.hero-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: 48px;
  padding: 0.55rem 1.1rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn-line {
  border-color: var(--paper);
  color: var(--paper);
  background: transparent;
}

.btn-line:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}

.btn-ink:hover {
  background: var(--green-deep);
  color: var(--paper);
}

.scorebug {
  background: var(--paper);
  color: var(--ink);
  padding: 1.1rem 1.15rem 1.2rem;
  border-top: 6px solid var(--gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.scorebug p {
  margin: 0;
}

.scorebug-event {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 0.9;
}

.scorebug-place {
  margin-top: 0.35rem !important;
  color: var(--muted);
  font-size: 0.95rem;
}

.rounds {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0;
}

.rounds li {
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.4rem 0.45rem;
  text-align: center;
}

.rounds span {
  display: block;
  color: var(--gold);
  font-family: var(--display);
  letter-spacing: 0.14em;
  font-size: 0.85rem;
}

.rounds b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--paper-2);
  padding-top: 0.7rem;
}

.total b {
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
}

.total span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--green);
}

.margin {
  margin-top: 0.35rem !important;
  font-weight: 600;
}

.graphic {
  display: block;
  width: 100%;
  height: auto;
}

.graphic-frame {
  background: var(--green-deep);
  min-height: 280px;
}

.band {
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem;
}

.band-ink {
  background: var(--ink);
  color: var(--paper);
}

.band-ink a {
  color: var(--gold);
}

.band-green {
  background: var(--green-deep);
  color: var(--paper);
}

.band-green a {
  color: var(--gold);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.section-kicker {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.4rem;
}

.band-ink .section-kicker,
.band-green .section-kicker {
  color: var(--gold);
}

h2 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin: 0 0 1rem;
}

h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0.2rem 0 0.45rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 1.3rem 1rem 1.2rem;
  border-right: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.stat:last-child {
  border-right: 0;
}

.stat:hover b {
  color: var(--gold);
}

.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.4rem, 7vw, 5.5rem);
  line-height: 0.8;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.stat span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted-on-ink);
  max-width: 16ch;
}

.fine {
  color: var(--muted);
  max-width: 68ch;
}

.band-ink .fine,
.band-green .fine {
  color: var(--muted-on-ink);
}

.spark {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.spark li {
  border-top: 3px solid var(--gold);
  padding-top: 0.6rem;
}

.spark b {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 0.9;
}

.spread {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.prose p,
.entry p {
  margin: 0 0 0.9rem;
}

.prose a,
.entry a,
.sources a {
  text-underline-offset: 0.15em;
}

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

.route {
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  padding: 1.1rem;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  border-top: 6px solid var(--green);
}

.route:hover {
  background: var(--ink);
  color: var(--paper);
}

.route .num {
  font-family: var(--display);
  color: var(--gold);
  letter-spacing: 0.14em;
  font-weight: 700;
}

.route h3 {
  margin-top: 0.8rem;
}

.route p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.route:hover p {
  color: var(--muted-on-ink);
}

.route .go {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2.5rem, 7vw, 5rem) 1.25rem 2.5rem;
}

.page-hero h1 {
  font-size: clamp(3.6rem, 10vw, 7.5rem);
  max-width: 12ch;
}

.page-hero .dek {
  margin-top: 1rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.6rem;
}

.filters button {
  min-height: 44px;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
  cursor: pointer;
}

.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--gold);
}

#filter-status {
  min-height: 1.4em;
  font-weight: 600;
}

.timeline {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.entry {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1rem 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(18, 20, 16, 0.16);
}

.entry-date {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.35rem;
  padding: 0;
  list-style: none;
}

.pills li {
  background: var(--green-deep);
  color: var(--paper);
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.2rem 0.45rem;
}

.pills .milestone-pill {
  background: var(--ink);
}

.scoreline {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1;
  margin: 0.2rem 0 0.55rem;
}

.scoreline span {
  color: var(--green);
  margin-left: 0.4rem;
}

.date-note,
.source-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.sources {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.sources a,
.prose a,
.source-index a,
.deploy-table td {
  overflow-wrap: anywhere;
}

.sources-fold {
  margin: 0.8rem 0 1.2rem;
}

.sources-fold summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--muted);
}

.band-ink .sources-fold summary {
  color: var(--gold);
}

.source-index {
  list-style: none;
  padding: 0;
  margin: 0;
}

.source-index li {
  border-top: 1px solid rgba(18, 20, 16, 0.16);
}

.source-index a {
  display: block;
  padding: 0.75rem 0;
  color: var(--ink);
}

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

.honour {
  background: var(--ink);
  color: var(--paper);
  padding: 1.1rem;
  min-height: 12rem;
}

.honour .season {
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--gold);
  margin: 0;
  line-height: 0.9;
}

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

.figure {
  border-top: 3px solid var(--gold);
  padding-top: 0.7rem;
}

.figure b {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.9;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.video-card {
  display: flex;
  flex-direction: column;
  min-height: 18rem;
  padding: 1.1rem;
  text-decoration: none;
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 20%, rgba(226, 182, 87, 0.22), transparent 28%),
    linear-gradient(160deg, #173222, var(--ink) 55%);
  border-top: 6px solid var(--gold);
}

.video-card:nth-child(even) {
  background:
    radial-gradient(circle at 10% 80%, rgba(12, 107, 60, 0.55), transparent 32%),
    linear-gradient(200deg, #10140f, #243226);
}

.video-card:hover {
  color: var(--paper);
  outline: 2px solid var(--gold);
}

.play {
  width: 3.2rem;
  height: 3.2rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  color: var(--gold);
  margin-bottom: 1rem;
}

.video-card h3 {
  color: var(--paper);
}

.video-card p {
  color: var(--muted-on-ink);
  margin: 0.3rem 0;
}

.video-card .go {
  margin-top: auto;
  color: var(--gold);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story + .story {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(18, 20, 16, 0.16);
}

.story-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  flex-wrap: wrap;
}

.result-flag {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin: 0;
}

blockquote {
  margin: 1rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 4px solid var(--gold);
  font-size: 1.25rem;
}

blockquote p {
  margin: 0;
}

blockquote footer {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.callout {
  background: var(--ink);
  color: var(--paper);
  padding: 1.2rem;
}

.callout h2,
.callout h3 {
  color: var(--paper);
}

.callout a {
  color: var(--gold);
}

.deploy-table {
  width: 100%;
  border-collapse: collapse;
}

.deploy-table th,
.deploy-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid rgba(18, 20, 16, 0.16);
}

.deploy-table th {
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: 34%;
}

.contact-panel {
  background: var(--paper-2);
  padding: 1.2rem;
}

.contact-panel label {
  display: block;
  font-weight: 600;
  margin: 0.8rem 0 0.25rem;
}

.contact-panel input,
.contact-panel textarea {
  width: 100%;
  max-width: 36rem;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.contact-panel textarea {
  min-height: 8rem;
}

.contact-panel button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-status {
  font-weight: 600;
}

.profile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.profile-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(18, 20, 16, 0.16);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.6rem;
}

.profile-list a span {
  color: var(--green);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.site-footer {
  background: var(--ink);
  color: var(--muted-on-ink);
  padding: 2.5rem 1.25rem 2rem;
}

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

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 1.5rem;
}

.site-footer h2 {
  font-size: 1.3rem;
  color: var(--paper);
  margin-bottom: 0.4rem;
}

.site-footer .logo-name {
  color: var(--paper);
}

.footer-base {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.excluded {
  columns: 2;
  padding-left: 1.1rem;
}

.excluded li {
  break-inside: avoid;
  margin-bottom: 0.45rem;
}

.slot-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  #site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ink);
    border-bottom: 3px solid var(--green);
    padding: 0.4rem 1rem 1rem;
  }

  #site-nav.is-open {
    display: block;
  }

  #site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    position: sticky;
  }

  .hero,
  .spread,
  .routes,
  .honours,
  .figures,
  .video-grid,
  .stat-strip,
  .footer-grid,
  .spark {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .entry {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .excluded {
    columns: 1;
  }

  .hero {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .deploy-table,
  .deploy-table tbody,
  .deploy-table tr,
  .deploy-table th,
  .deploy-table td {
    display: block;
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .scorebug,
  .route,
  .video-card,
  .honour,
  .entry,
  .btn {
    border: 1px solid CanvasText;
  }
}
