@font-face { font-family: "04b25"; src: url(/fonts/04b25.woff2) format("woff2"); font-display: swap; }
:root {
  --wall: #242424; --wall-2: #2d2d2d; --mortar: #000; --brick: #383838;
  --orange: #ff6600; --yellow: #f4ffb6; --blue: #2f6fd8; --text: #e8e8e0; --muted: #a8a8a0;
  --gutter: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font: 400 18px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: var(--wall);
  background-image: linear-gradient(rgba(20,20,20,.82), rgba(20,20,20,.82)), url(/assets/brick.png);
  background-size: auto, 64px 64px; image-rendering: auto;
}
.px { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: var(--orange); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); }
svg.i { width: 1.1em; height: 1.1em; stroke: currentColor; fill: currentColor; stroke-width: 2; stroke-linejoin: round; }
.pixel, h2, h3, header.top, .keys b, figcaption, .start-label, footer { font-family: "04b25", monospace; }

header.top { background: var(--wall); border-bottom: 4px solid var(--mortar); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 56px; flex-wrap: wrap; }
header.top .brand { color: var(--orange); font-size: 24px; letter-spacing: .06em; text-decoration: none; text-shadow: 2px 2px 0 #000; }
header.top nav a { color: var(--text); text-decoration: none; font-size: 16px; padding: 12px 0 12px 18px; display: inline-block; }
header.top nav a:hover { color: var(--orange); }

.hero { text-align: center; padding: 40px 0 8px; }
.hero h1 { margin: 0; }
.hero h1 img { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; }
.hero .tag { max-width: 34em; margin: 24px auto 0; font-size: 20px; color: var(--text); }

section { padding: 28px 0; }
h2 { font-weight: 400; font-size: 28px; letter-spacing: .04em; color: var(--orange); text-shadow: 3px 3px 0 #000; margin: 0 0 16px; }
h3.sub { font-weight: 400; font-size: 20px; color: var(--yellow); margin: 22px 0 12px; }

.game { position: relative; aspect-ratio: 2048 / 1200; background: #000; border: 4px solid var(--mortar); box-shadow: 0 0 0 4px var(--brick); }
.game iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.game iframe[hidden] { display: none; }
.start { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; display: block; }
.start img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.start-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px;
  background: var(--wall); color: var(--orange); border: 4px solid #000; box-shadow: 0 0 0 4px var(--orange); padding: 14px 22px; font-size: clamp(18px, 3.4vw, 30px); white-space: nowrap; }
.start:hover .start-label, .start:focus-visible .start-label { background: var(--orange); color: #000; }
.note { color: var(--muted); font-size: 16px; margin: 12px 0 0; max-width: 46em; }

.copy p { margin: 0 0 14px; max-width: 40em; }
.how { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; }
.how .card { width: 100%; height: auto; display: block; border: 4px solid var(--mortar); }
figure { margin: 0; }
figcaption { color: var(--yellow); font-size: 14px; margin-top: 8px; }

.keys { display: grid; gap: 8px; grid-template-columns: 1fr; }
.keys div { background: var(--wall-2); border: 2px solid var(--mortar); padding: 10px 12px; font-size: 17px; display: flex; gap: 12px; align-items: baseline; }
.keys b { color: var(--orange); font-weight: 400; font-size: 16px; min-width: 9.5em; }

.stills { display: grid; gap: 16px; grid-template-columns: 1fr; }
.stills img { display: block; width: 100%; height: auto; border: 4px solid var(--mortar); }

footer { border-top: 4px solid var(--mortar); background: var(--wall); padding: 20px 0 calc(32px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 13px; margin-top: 20px; }
footer .wrap { display: flex; gap: 12px 24px; justify-content: space-between; flex-wrap: wrap; }

@media (min-width: 760px) {
  .how { grid-template-columns: 1.1fr 1fr; }
  .keys { grid-template-columns: 1fr 1fr; }
  .stills { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  header.top nav { width: 100%; display: flex; justify-content: space-between; }
  header.top nav a { padding: 10px 0; font-size: 14px; }
  .keys b { min-width: 8em; }
}
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 50; background: var(--orange); color: #000; padding: 10px 14px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
