:root {
  color-scheme: dark;
  --ink: #181412;
  --panel: #231b18;
  --paper: #fff2df;
  --muted: #d1bbab;
  --accent: #ff8b5d;
  --line: #594034;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.65 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #ffe092; outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.bar { border-bottom: 1px solid var(--line); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem 1.5rem; padding-block: 1rem; }
.brand { font-weight: 850; }
.brand span { color: var(--accent); margin-inline-end: .35em; }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
nav a, footer { color: var(--muted); font-size: .95rem; }
nav a:hover, footer a:hover { color: var(--paper); text-decoration: underline; }
.hero { background: radial-gradient(ellipse at 73% 65%, #512519 0, transparent 57%); }
.hero-grid { display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: 2rem; padding-block: clamp(3rem, 8vw, 7rem); }
.label { color: var(--accent); font-size: .875rem; letter-spacing: .11em; text-transform: uppercase; font-weight: 800; margin: 0 0 .8rem; }
h1, h2, h3 { line-height: 1.08; margin: 0; text-wrap: balance; }
h1, h2 { font-family: Georgia, serif; letter-spacing: -.045em; }
h1 { font-size: clamp(4rem, 9.7vw, 8.6rem); line-height: .83; }
h1 em { color: var(--accent); }
h2 { font-size: clamp(2.45rem, 5.7vw, 4.6rem); }
h3 { font-size: 1.4rem; }
p { margin: .85rem 0 0; color: var(--muted); }
.hero-copy > p:not(.label) { max-width: 39ch; }
.hero-copy .pitch { color: var(--paper); font-size: 1.35rem; font-weight: 750; margin-top: 1.5rem; }
.button { display: inline-block; border-radius: .35rem; background: var(--accent); color: var(--ink); padding: .75rem 1.15rem; font-weight: 850; margin-top: 1.6rem; }
.button:hover { background: #ffab8b; }
.facts { border-block: 1px solid var(--line); background: var(--panel); }
.facts ul { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; justify-content: space-between; padding: .9rem 0; list-style: none; font-weight: 750; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
#gameplay { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; }
.intro p:last-child { max-width: 40ch; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; border-top: 1px solid var(--line); padding: 1rem 0 1rem 3.25rem; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.steps p, .card p { margin-top: .5rem; }
.levels { background: var(--panel); border-block: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.card { overflow: hidden; background: var(--ink); border: 1px solid var(--line); border-radius: .65rem; }
.card-copy { padding: 1.35rem; }
.card h3 { font: bold clamp(1.8rem, 3.3vw, 2.7rem)/1.1 Georgia, serif; }
.sea .label { color: #8ae0ce; }
.media { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.75rem; align-items: center; }
footer { border-top: 1px solid var(--line); }
@media (max-width: 730px) {
  .hero-grid, #gameplay, .media { grid-template-columns: 1fr; }
  .facts ul { justify-content: flex-start; gap: .35rem 1rem; }
}
@media (max-width: 510px) {
  .wrap { width: calc(100% - 2rem); }
  .cards { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3.25rem, 15vw, 4.5rem); }
}

.match-details { margin-top: 0; }
.match-details h2 { font-size: clamp(1.9rem, 3.3vw, 2.7rem); }
@media (min-width: 731px) {
  #sabotage .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.level-art, .media-grid figure { margin: 0; }
.level-art img, .media-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .4rem;
}
.level-art { padding: 1rem 1.35rem 0; }
.level-art img { max-height: 20rem; object-fit: contain; }
.media-grid img { object-fit: contain; }
figcaption { margin-top: .45rem; color: var(--muted); font-size: .875rem; }

.level-art-blank { aspect-ratio: 1; max-height: 20rem; background: #fff; border-radius: .4rem; }
.team-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.team-logo { display: block; width: min(100%, 11rem); height: auto; border-radius: .4rem; }

.team-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.team-photo { aspect-ratio: 4/3; margin-bottom: 1rem; border-radius: .4rem; background: var(--panel); }
