:root {
  --bg: #000;
  --surf: #120808;
  --line: #3a1210;
  --text: #f2f2f2;
  --mid: #bdbdc4;
  --red: #ff2018;
  --red-dim: #b3150f;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 19px/1.6 "IBM Plex Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--red); }
a:hover { color: #fff; }
header.top {
  border-bottom: 2px solid var(--red);
  padding: 14px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
header.top .logo {
  font: 800 26px/1 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.12em;
  color: var(--text);
  text-decoration: none;
}
header.top .logo b { color: var(--red); }
header.top nav { display: flex; gap: 14px; flex-wrap: wrap; margin-left: auto; }
header.top nav a { text-decoration: none; font-weight: 600; }
main { max-width: 980px; margin: 0 auto; padding: 8px 16px 64px; }
h1 { font: 800 clamp(34px, 7vw, 64px)/1.05 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: 0.06em; margin: 32px 0 8px; }
h1 .red, h2 .red { color: var(--red); }
h2 { font-size: 30px; margin: 48px 0 12px; padding-top: 12px; border-top: 1px solid var(--line); }
h3 { font-size: 23px; margin: 28px 0 8px; color: var(--red); }
p, li { max-width: 72ch; }
.lead { font-size: 22px; color: var(--mid); }
code, kbd {
  font: 600 0.9em "IBM Plex Mono", ui-monospace, monospace;
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  color: #fff;
}
kbd { border-color: var(--red-dim); }
table { border-collapse: collapse; width: 100%; margin: 12px 0 20px; font-size: 18px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--red); font-weight: 700; }
.tw { overflow-x: auto; }
figure { margin: 18px 0; }
figure img {
  width: 100%;
  max-width: 480px;
  image-rendering: pixelated;
  border: 2px solid var(--line);
  border-radius: 6px;
  display: block;
}
figcaption { color: var(--mid); font-size: 17px; margin-top: 6px; max-width: 480px; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.shots figure { margin: 0; }
.note { border-left: 4px solid var(--red); background: var(--surf); padding: 10px 14px; margin: 16px 0; }
.btn {
  display: inline-block;
  background: var(--red);
  color: #000;
  font-weight: 800;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 6px;
  margin: 6px 10px 6px 0;
}
.btn:hover { background: #fff; color: #000; }
.btn.ghost { background: transparent; color: var(--text); border: 2px solid var(--red); }
.toc { columns: 2 260px; padding-left: 20px; }
footer { border-top: 1px solid var(--line); color: var(--mid); font-size: 16px; padding: 20px 16px; text-align: center; }
@media (max-width: 600px) {
  body { font-size: 18px; }
  th, td { padding: 6px; font-size: 16px; }
}

.hero { position: relative; margin: 0 -16px; }
.hero img { display: block; width: 100%; height: auto; }
.hero h1 { position: absolute; left: 16px; bottom: 6%; margin: 0; text-shadow: 0 2px 12px #000; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin: 24px 0; }
.split img { width: 100%; height: auto; border-radius: 6px; }
.band { display: block; width: calc(100% + 32px); margin: 32px -16px 0; height: auto; }
@media (max-width: 700px) { .split { grid-template-columns: 1fr; } }
