@font-face {
  font-family: "Syne";
  src: url("/fonts/syne-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Syne";
  src: url("/fonts/syne-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --void: #101216;
  --panel: #1a1e27;
  --paper: #f3eee3;
  --ink: #17161c;
  --paper-muted: #5c554b;
  --foam: #ece8f0;
  --muted: #9aa1ad;
  --signal: #d6ff3c;
  --signal-ink: #141800;
  --clay: #e0a57a;
  --rule: #2c3240;
  --focus: #d6ff3c;
}

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

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--foam);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 100%;
}

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

a {
  color: var(--clay);
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

h1,
h2,
h3,
.brand-word,
.timer {
  font-family: Syne, "Arial Black", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--foam);
}

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

.site-header,
.site-footer,
main {
  max-width: 100%;
}

.site-header {
  background: var(--void);
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0 0;
}

.header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.brand {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: none;
}

.brand-word {
  display: flex;
  flex-direction: column;
  font-size: 1.28rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--foam);
}

.brand-word b {
  font-weight: 800;
}

.brand-word span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--signal);
  color: var(--signal);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  flex: none;
}

.menu-toggle-mark {
  width: 0.85rem;
  height: 0.85rem;
  position: relative;
  display: inline-block;
}

.menu-toggle-mark::before,
.menu-toggle-mark::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: var(--signal);
}

.menu-toggle-mark::after {
  transform: rotate(90deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-mark::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-mark::after {
  transform: rotate(-45deg);
}

#site-nav {
  display: none;
}

#site-nav.is-open {
  display: block;
  padding: 0.8rem 0 1.1rem;
}

#site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

#site-nav a {
  display: block;
  text-decoration: none;
  color: var(--foam);
  background: var(--panel);
  border: 1px solid var(--rule);
  padding: 0.7rem 0.75rem;
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

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

@media (min-width: 880px) {
  .menu-toggle {
    display: none;
  }

  #site-nav {
    display: block;
    padding: 0.65rem 0 0.95rem;
  }

  #site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  #site-nav a {
    padding: 0.45rem 0.75rem;
    font-size: 0.9rem;
  }
}

.status {
  background: var(--panel);
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 0.55rem 0;
}

.status p {
  margin: 0;
}

.status a {
  color: var(--signal);
}

.hero {
  display: grid;
  gap: 1.25rem;
  padding: 1.6rem 0 2rem;
}

.timer {
  font-size: clamp(3.6rem, 20vw, 8.4rem);
  line-height: 0.85;
  color: var(--signal);
  letter-spacing: -0.06em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2rem, 8.5vw, 4rem);
  max-width: 16ch;
  margin: 0 0 0.7rem;
}

.hero p {
  margin: 0 0 0.8rem;
  max-width: 42rem;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 86% 100%, 0 100%);
}

.hero-photo figcaption {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.45rem;
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 2rem;
    padding: 2.4rem 0 3rem;
  }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0 0 1rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.7rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
}

.missions {
  display: grid;
  gap: 1rem;
  padding: 0 0 3rem;
}

.mission {
  background: var(--panel);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mission img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mission .body {
  padding: 0.9rem 1rem 1.15rem;
}

.mission .kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: var(--signal);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mission h2,
.mission h3 {
  font-size: 1.4rem;
  margin: 0.25rem 0 0.4rem;
}

.mission p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 880px) {
  .missions {
    grid-template-columns: 1fr 1fr;
  }

  .mission.span {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
  }

  .mission.span img {
    aspect-ratio: auto;
    height: 100%;
  }
}

.lead-band {
  padding: 0 0 2.6rem;
}

.lead-band h1 {
  font-size: clamp(2rem, 7vw, 3.4rem);
  max-width: 18ch;
  margin: 0 0 0.7rem;
}

.sheet {
  background: var(--paper);
  color: var(--ink);
  padding: 1.6rem 1.15rem 2.4rem;
  margin: 1.2rem auto 3rem;
  width: min(46rem, calc(100% - 2rem));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.sheet h1,
.sheet h2,
.sheet h3 {
  color: var(--ink);
}

.sheet a {
  color: #8a3d12;
}

.sheet a:hover {
  color: #5c2408;
}

.sheet .lede {
  font-size: 1.14rem;
}

.kicker-row {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6a5c28;
  margin: 0 0 0.6rem;
}

.sheet figure,
.hero-photo {
  margin: 1.15rem 0;
}

.sheet figcaption {
  font-size: 0.85rem;
  color: var(--paper-muted);
  margin-top: 0.4rem;
}

.venues {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0;
}

.venue {
  border: 1px solid #ddd4c4;
  padding: 1rem 1rem 1.1rem;
  background: #fbf8f1;
}

.venue h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.venue .meta {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  color: var(--paper-muted);
}

.tips {
  counter-reset: tip;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.tips li {
  counter-increment: tip;
  padding: 0.7rem 0 0.7rem 3rem;
  position: relative;
  border-top: 1px solid #ddd4c4;
}

.tips li::before {
  content: counter(tip, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.7rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: #6a5c28;
}

.games {
  display: grid;
  gap: 1rem;
  margin: 1.3rem 0;
}

.game {
  border-top: 1px solid #ddd4c4;
  padding: 0.9rem 0 0.2rem;
}

.game h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.related {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto 3rem;
}

.related h2 {
  font-size: 1.3rem;
  margin: 0 0 0.8rem;
}

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

.related a {
  display: block;
  background: var(--panel);
  border: 1px solid var(--rule);
  padding: 0.9rem;
  text-decoration: none;
  color: var(--foam);
  font-family: Syne, sans-serif;
  font-weight: 700;
}

@media (min-width: 700px) {
  .related ul {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.credits-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  display: grid;
  gap: 1.1rem;
}

.credits-list li {
  display: grid;
  gap: 0.7rem;
}

.credits-list img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (min-width: 700px) {
  .credits-list li {
    grid-template-columns: 12rem 1fr;
    align-items: center;
  }
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.6rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0 0 0.8rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin: 0.8rem 0;
}

.footer-nav a {
  color: var(--foam);
}

.copyright {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
}

.notfound {
  padding: 2rem 0 3.4rem;
  width: min(40rem, calc(100% - 2rem));
  margin-inline: auto;
}

.notfound .timer {
  font-size: clamp(3rem, 18vw, 6rem);
  margin-bottom: 0.6rem;
}

.bleed-photo {
  width: min(72rem, calc(100% - 2rem));
  margin: 1.2rem auto 0;
}

.bleed-photo img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.bleed-photo figcaption {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.45rem;
}

.kicker-row.on-dark {
  color: var(--signal);
}

.stack-end {
  padding-bottom: 3rem;
}
