:root {
  color-scheme: dark;
  --ink: #f4f0e8;
  --muted: #c8c0b4;
  --paper: #10140f;
  --panel: #191d17;
  --line: rgba(244, 240, 232, 0.16);
  --grass: #2f7d32;
  --pitch: #5ca043;
  --claret: #7a1730;
  --blue: #71b7d8;
  --gold: #f1c84b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 20, 15, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--ink);
  background: linear-gradient(135deg, var(--claret), var(--grass));
  font-size: 13px;
}

.top-nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.hero {
  position: relative;
  min-height: min(760px, 92vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 6px solid var(--claret);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  filter: saturate(0.96) contrast(1.08);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(16, 20, 15, 0.9), rgba(16, 20, 15, 0.42) 46%, rgba(16, 20, 15, 0.18)),
    linear-gradient(0deg, rgba(16, 20, 15, 0.92), transparent 48%);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 100px 0 72px;
}

.kicker,
.section-label {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 18px;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 8vw, 106px);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.subtitle {
  margin: 20px 0 28px;
  color: var(--blue);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 900;
}

.scoreline {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: rgba(16, 20, 15, 0.72);
  box-shadow: var(--shadow);
  font-size: clamp(13px, 2vw, 17px);
  font-weight: 900;
  text-transform: uppercase;
}

.scoreline strong {
  color: var(--gold);
}

.story-band,
.gallery-section,
.future-band {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: clamp(28px, 5vw, 70px);
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.lead-copy h2,
.future-band h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1;
}

.lead-copy p:not(.section-label),
.future-band p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.match-card {
  border-top: 6px solid var(--pitch);
  background: linear-gradient(180deg, rgba(92, 160, 67, 0.24), rgba(122, 23, 48, 0.12)), var(--panel);
  box-shadow: var(--shadow);
}

.match-card dl {
  margin: 0;
}

.match-card div {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.match-card div:last-child {
  border-bottom: 0;
}

.match-card dt {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.match-card dd {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 800;
}

.gallery-section {
  background: #f4f0e8;
  color: #10140f;
}

.section-head {
  display: flex;
  max-width: 1320px;
  margin: 0 auto 24px;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
}

.gallery-section .section-label {
  color: var(--claret);
}

.controls,
.lightbox-controls,
.trip-tabs,
.chapter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trip-tabs,
.chapter-tabs {
  max-width: 1320px;
  margin: 0 auto 14px;
}

.control-button,
.tab-button,
.icon-button {
  min-width: 44px;
  height: 44px;
  border: 1px solid rgba(16, 20, 15, 0.22);
  background: #10140f;
  color: #f4f0e8;
  cursor: pointer;
  font-weight: 900;
}

.control-button:hover,
.tab-button:hover,
.icon-button:hover,
.tab-button.active {
  background: var(--claret);
  color: #fff;
}

.tab-button {
  width: auto;
  padding: 0 16px;
}

.gallery {
  max-width: 1320px;
  margin: 24px auto 0;
  columns: 4 230px;
  column-gap: 14px;
}

.photo-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  break-inside: avoid;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}

.photo-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 6px solid #10140f;
  box-shadow: 0 16px 34px rgba(16, 20, 15, 0.18);
}

.photo-card span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  background: rgba(16, 20, 15, 0.84);
  color: #f4f0e8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.future-band {
  max-width: 880px;
  margin: 0 auto;
}

.upcoming-trip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0;
  padding: 20px;
  border-left: 6px solid var(--gold);
  background:
    linear-gradient(90deg, rgba(122, 23, 48, 0.42), rgba(47, 125, 50, 0.18)),
    var(--panel);
  box-shadow: var(--shadow);
}

.fixture-label {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.upcoming-trip strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1;
}

.destination-badge {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(244, 240, 232, 0.24);
  background: #f4f0e8;
  color: #10140f;
  font-weight: 900;
  text-transform: uppercase;
}

.lightbox {
  width: min(1180px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 1px solid rgba(244, 240, 232, 0.2);
  background: #10140f;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(8px);
}

.lightbox-top,
.lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
}

.lightbox-top p {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
  background: #070906;
}

.lightbox figcaption {
  padding: 10px 14px 0;
  color: var(--muted);
}

.wide {
  min-width: 190px;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    padding-bottom: 46px;
  }

  .scoreline {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .story-grid,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-head {
    align-items: start;
  }

  .gallery {
    columns: 2 150px;
  }

  .upcoming-trip {
    align-items: flex-start;
    flex-direction: column;
  }
}
