:root {
  --lime: #b5ff43;
  --lime-dim: #9ad63c;
  --ink: #090c09;
  --text: #f3f1e9;
  --purple: #9d65d7;
  --game-sky: #17102b;
  --muted: #c8c8c0;
  --display: "Pixelify Sans", "Press Start 2P", Arial, sans-serif;
  --mono: "IBM Plex Mono", "VT323", ui-monospace, monospace;
  --max: 1672px;
  --space: clamp(12px, 2.15vw, 36px);
  --space-lg: clamp(16px, 3.41vw, 57px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor { animation: none !important; }
}
html, body {
  margin: 0;
  width: 100%;
  max-width: 100%;
}
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--mono);
  font-weight: 500;
  line-height: 1.35;
  -webkit-font-smoothing: none;
  font-smooth: never;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lime);
  color: #101609;
  padding: 8px 12px;
  z-index: 100;
  font-weight: 700;
}
.skip:focus { left: 8px; top: 8px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.page {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

/* ===== TOP / HERO ===== */
.top {
  position: relative;
  width: 100%;
  background: #020401;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
  user-select: none;
}

header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1vw, 16px);
  min-height: clamp(52px, 4.07vw, 68px);
  padding: 0 clamp(12px, 1.67vw, 28px);
  background: transparent;
}
@media (min-width: 1001px) {
  header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  z-index: 6;
}
.brand img {
  height: clamp(36px, 3.71vw, 62px);
  width: auto;
  max-width: min(70vw, 422px);
  image-rendering: pixelated;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 8px 10px;
  border: 2px solid var(--lime);
  background: rgba(7, 16, 7, 0.85);
  box-shadow: 0 0 8px rgba(181, 255, 67, 0.35);
  z-index: 7;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--lime);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle span { transition: transform 0.15s ease, opacity 0.15s ease; }

#site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.67vw, 28px);
  flex-wrap: wrap;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}
#site-nav a {
  font-size: clamp(11px, 1.08vw, 18px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #efefef;
  font-family: var(--display);
  white-space: nowrap;
}
#site-nav a:hover { color: var(--lime); }
#site-nav .nav-join { display: none; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--lime);
  color: var(--lime);
  padding: 8px clamp(10px, 1.1vw, 18px) 8px 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: clamp(11px, 0.96vw, 16px);
  box-shadow: 0 0 10px rgba(181, 255, 67, 0.45);
  white-space: nowrap;
  background: rgba(7, 16, 7, 0.72);
  font-family: var(--display);
  flex: 0 0 auto;
}
.btn-outline img { width: 18px; height: auto; image-rendering: pixelated; }
.btn-outline:hover { background: rgba(181, 255, 67, 0.12); }
.header-join { flex: 0 0 auto; }

.btn-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--lime);
  color: #101609;
  border: 2px solid var(--lime);
  padding: 0 clamp(12px, 1.3vw, 22px);
  height: clamp(40px, 2.75vw, 46px);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: clamp(13px, 1.08vw, 18px);
  white-space: nowrap;
  font-family: var(--display);
  box-shadow: 0 0 12px rgba(181, 255, 67, 0.35);
}
.btn-fill:hover { filter: brightness(1.06); }

.hero {
  position: relative;
  z-index: 2;
  padding: clamp(16px, 5.86vw, 98px) var(--space) clamp(16px, 2vw, 24px) clamp(16px, 3.77vw, 63px);
  display: flex;
  align-items: flex-start;
}
@media (min-width: 1001px) {
  .top { min-height: clamp(360px, 25.84vw, 432px); }
  .hero { padding-top: clamp(72px, 5.86vw, 98px); }
}
.copy {
  position: relative;
  z-index: 1;
  max-width: min(720px, 100%);
  width: min(720px, 58%);
  min-width: 0;
}
.tag {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: clamp(11px, 0.96vw, 16px);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-family: var(--display);
}
.tag span {
  display: inline-block;
  border-top: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  padding: 1px 0;
  line-height: 1.2;
}
h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4.49vw, 75px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.01em;
  color: #f4f4f2;
  font-family: var(--display);
  text-rendering: geometricPrecision;
}
h1 em {
  color: var(--lime);
  font-style: normal;
  text-shadow: 0 0 18px rgba(181, 255, 67, 0.35);
}
.lede {
  margin: 0 0 18px;
  font-size: clamp(13px, 1.2vw, 20px);
  font-weight: 500;
  color: #ecebe4;
  line-height: 1.22;
  font-family: var(--mono);
}
form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: stretch;
  margin: 0 0 12px;
}
.field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--lime);
  background: rgba(7, 10, 7, 0.88);
  padding: 0 12px;
  min-width: 0;
  flex: 1 1 180px;
  max-width: 390px;
  height: clamp(40px, 2.75vw, 46px);
  box-shadow: 0 0 8px rgba(181, 255, 67, 0.18);
}
.field img { width: 16px; height: 14px; image-rendering: pixelated; flex: 0 0 auto; align-self: center; display: block; }
.field input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 0;
  min-width: 0;
  outline: none;
  font-size: clamp(13px, 1.08vw, 18px);
  height: 100%;
  font-family: var(--mono);
}
.field input::placeholder { color: #8a8a82; }
.perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  color: #ddd;
  font-size: clamp(12px, 0.96vw, 16px);
  font-family: var(--mono);
}
.perks span { color: #d8d8d0; }
.status {
  min-height: 1.2em;
  margin: 8px 0 0;
  color: var(--lime);
  font-weight: 700;
}
#newsletter, #game, #articles, #topics, #about, #guides, #lab, #black-hat, #autopsy, #issue, #faq, #join, #manifesto {
  scroll-margin-top: 16px;
}

/* ===== ARCADE ===== */
.arcade {
  padding: 0 var(--space-lg);
  margin: 0;
}
.cabinet {
  border: 4px solid var(--lime);
  border-radius: clamp(10px, 1vw, 16px);
  box-shadow: 0 0 18px rgba(181, 255, 67, 0.4), inset 0 0 0 3px var(--ink), inset 0 0 0 7px var(--lime);
  background: var(--ink);
  padding: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cab-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
  padding: 6px clamp(8px, 1vw, 16px) 2px;
}
.cab-bar h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--lime);
  font-size: clamp(13px, 1.32vw, 22px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 0 10px rgba(181, 255, 67, 0.4);
  font-family: var(--display);
  min-width: 0;
}
.cab-bar h2 img { width: clamp(18px, 1.67vw, 28px); height: auto; image-rendering: pixelated; }
.scores {
  margin: 0;
  color: var(--lime);
  font-size: clamp(12px, 1.2vw, 20px);
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  font-family: var(--display);
}
.screen {
  position: relative;
  margin: 0 8px 6px;
  border: 3px solid var(--lime);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(181, 255, 67, 0.25);
  background: var(--game-sky);
  overflow: hidden;
  min-width: 0;
}
canvas {
  display: block;
  width: 100%;
  height: auto;
  touch-action: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.stage {
  position: relative;
  min-width: 0;
  touch-action: none;
}
.screen, .stage, canvas { touch-action: none; }
.hint-mobile { display: none; }
.hint-desktop { display: inline; }
.hint {
  position: absolute;
  left: auto;
  right: clamp(8px, 1vw, 16px);
  top: clamp(4px, 0.5vw, 8px);
  margin: 0;
  color: var(--lime);
  font-size: clamp(8px, 0.7vw, 11px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 0 #000, 0 0 6px #000;
  pointer-events: none;
  z-index: 2;
  font-family: var(--display);
  white-space: nowrap;
}
.overlay {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 3;
  pointer-events: none;
}
.overlay[hidden] { display: none; }
.play-btn {
  pointer-events: auto;
  position: absolute;
  top: 11%;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #0c120c;
  color: var(--lime);
  border: 3px solid var(--lime);
  border-radius: 12px;
  width: min(242px, 70%);
  height: clamp(36px, 2.75vw, 46px);
  padding: 0 16px;
  font-size: clamp(12px, 1.2vw, 20px);
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 0 16px rgba(181, 255, 67, 0.55), inset 0 0 10px rgba(181, 255, 67, 0.08);
  font-family: var(--display);
  box-sizing: border-box;
}
.play-btn:hover { background: #121a10; }
.play-btn .tri {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--lime);
}
.go-msg {
  position: absolute;
  top: 18%;
  left: 0;
  right: 0;
  text-align: center;
  margin: 0;
  color: #fff;
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 700;
  text-shadow: 0 0 8px #000;
  pointer-events: none;
}

/* ===== BOTTOM BOARD ===== */
.board {
  display: grid;
  grid-template-columns: 1.15fr 1.12fr minmax(0, 272px) minmax(0, 0.9fr);
  gap: 0;
  padding: clamp(8px, 0.72vw, 12px) var(--space) 0;
  align-items: stretch;
}
.board > * {
  padding: clamp(8px, 0.6vw, 12px) clamp(10px, 1vw, 16px);
  min-width: 0;
}
.board > * + * { border-left: 2px solid var(--lime); }
.board h2 {
  margin: 0 0 10px;
  color: var(--lime);
  font-size: clamp(13px, 1.2vw, 20px);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-family: var(--display);
}
.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.board-head a {
  color: var(--lime);
  font-size: clamp(11px, 0.9vw, 15px);
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  font-family: var(--display), Arial, sans-serif;
}
.fresh-body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}
.fresh-body img {
  width: clamp(96px, 9vw, 150px);
  height: auto;
  aspect-ratio: 150 / 92;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid #2a3a20;
}
.fresh-body h3 {
  margin: 0 0 6px;
  font-size: clamp(14px, 1.32vw, 22px);
  font-weight: 700;
  line-height: 1.15;
  color: #f4f4f2;
  font-family: var(--display);
}
.fresh-body p {
  margin: 0;
  font-size: clamp(12px, 0.9vw, 15px);
  color: #d0d0c8;
  line-height: 1.3;
  font-family: var(--mono);
}
.topics ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.topics li {
  border: 2px solid #c8e87a;
  color: #e8f0c8;
  padding: 5px 10px 4px;
  border-radius: 10px;
  font-size: clamp(11px, 0.9vw, 15px);
  font-weight: 600;
  line-height: 1.2;
  font-family: var(--mono);
}

.manifesto {
  background: var(--lime);
  color: #11160c;
  margin: 4px 10px 8px !important;
  padding: 12px 14px 10px !important;
  border: 0 !important;
  position: relative;
  box-shadow: none;
}
.manifesto .x {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a12;
  opacity: 0.8;
}
.man-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.man-top img { width: clamp(36px, 2.87vw, 48px); height: auto; }
.manifesto h2 {
  color: #11160c;
  font-size: clamp(16px, 1.56vw, 26px);
  line-height: 0.95;
  margin: 0;
  letter-spacing: 0.02em;
}
.man-bot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}
.man-bot p {
  margin: 0;
  font-size: clamp(12px, 0.96vw, 16px);
  font-weight: 600;
  line-height: 1.2;
}
.man-bot .arrow { font-size: clamp(20px, 1.56vw, 26px); font-weight: 700; line-height: 1; font-family: Arial, sans-serif; }

.term {
  font-size: clamp(12px, 0.96vw, 16px);
  color: var(--lime);
  line-height: 1.55;
  font-family: var(--mono);
}
.term p { margin: 0; }
.cursor {
  display: inline-block;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* ===== FOOTER ===== */
footer {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0 0 clamp(28px, 5vw, 56px);
  color: var(--lime);
  font-size: clamp(12px, 0.96vw, 16px);
  font-weight: 600;
  font-family: var(--mono);
  background: transparent;
  border: 0;
}
footer p { margin: 0; }
.foot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
  border-top: 2px solid var(--lime);
  padding: clamp(10px, 0.72vw, 12px) var(--space);
  background: rgba(8, 8, 14, 0.9);
  color: var(--lime);
  font-size: clamp(12px, 0.96vw, 16px);
  font-weight: 600;
  font-family: var(--mono);
}
.slashes { margin-right: 8px; }
.foot-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.foot-links a:hover { text-decoration: underline; }
.foot-links img { width: 18px; height: auto; image-rendering: pixelated; margin-left: 6px; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: center;
  z-index: 80;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal-card {
  background: #0b0f0b;
  border: 2px solid var(--lime);
  padding: 24px;
  max-width: min(480px, 100%);
  box-shadow: 0 0 20px rgba(181, 255, 67, 0.3);
}
.modal-card h2 { color: var(--lime); margin: 0 0 10px; }
.modal-card p { margin: 0 0 16px; }

.arrow, .btn-outline, .btn-fill, h1, .tag, .board-head a {
  font-family: "Pixelify Sans", Arial, sans-serif;
}


/* ===== GUIDES CARDS (below the arcade) ===== */
.guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 16px);
  margin: clamp(14px, 1.6vw, 24px) var(--space-lg) clamp(8px, 1vw, 16px);
  min-width: 0;
}
.guides article {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
  min-width: 0;
  border: 1px solid var(--lime);
  background: linear-gradient(135deg, #11170d, #0b0d0a);
  padding: clamp(10px, 1.1vw, 16px);
  border-radius: 4px;
  min-height: 0;
  box-shadow: 0 0 12px rgba(181, 255, 67, 0.12);
}
.guides article img {
  width: clamp(64px, 6.2vw, 100px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  flex: 0 0 auto;
  image-rendering: auto;
}
.guides article > div { min-width: 0; }
.guides h2 {
  color: var(--lime);
  font: 700 clamp(16px, 1.7vw, 28px)/1.05 var(--display);
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}
.guides p {
  margin: 0 0 6px;
  font-size: clamp(12px, 0.95vw, 15px);
  line-height: 1.25;
  color: var(--text);
}
.guides a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 700;
}
.guides a:hover { color: #d4ff85; }

/* ===== 2x2 board ===== */
/* ===== NEWSLETTER SECTIONS ===== */
.issue, .about, .faq {
  padding: clamp(20px, 2.6vw, 44px) var(--space-lg);
  min-width: 0;
  max-width: 100%;
}
.issue-card {
  min-width: 0;
  border: 1px solid var(--lime);
  background: #0d140d;
  padding: clamp(18px, 2vw, 32px);
  overflow-wrap: anywhere;
}
.issue, .about, .faq { border-top: 1px solid var(--lime); }
.section-eyebrow {
  color: var(--lime);
  font: 700 clamp(14px, 1.3vw, 20px)/1.4 var(--display);
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}
.issue h2, .about h2, .faq h2, .join h2 {
  font: 600 clamp(32px, 3.4vw, 56px)/1.05 var(--display);
  margin: 0 0 20px;
  overflow-wrap: anywhere;
}
.section-copy, .about-art, .join-art { min-width: 0; max-width: 100%; }
.section-copy > p:not(.section-eyebrow), .issue-card > p, .faq details p {
  font-size: clamp(13px, 1.1vw, 18px);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.section-label {
  display: inline-block;
  color: var(--lime);
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 700;
  margin: 0 0 16px;
}
.issue-card { border-left: 4px solid var(--lime); }
.issue-card > p { max-width: 72ch; }
.issue-card a { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; line-height: 1.6; }
.about, .join {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.about-art, .join-art { display: grid; place-items: center start; }
.about-art img { width: clamp(160px, 20vw, 280px); aspect-ratio: 1; object-fit: cover; object-position: center top; border: 2px solid var(--lime); background: var(--game-sky); }
.about-art img, .join-art img { max-width: 100%; height: auto; min-width: 0; image-rendering: pixelated; }
.join .field { max-width: none; }
.join .signup-form { min-width: 0; max-width: 100%; margin-top: 24px; }
.join .status { flex: 0 0 100%; min-width: 0; overflow-wrap: anywhere; }
.join .btn-fill { max-width: 100%; white-space: normal; height: auto; min-height: 46px; }
.faq-items { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--lime); background: #0d140d; min-width: 0; padding: clamp(16px, 2vw, 28px); }
.faq summary { color: var(--lime); font: 600 clamp(19px, 1.8vw, 28px)/1.3 var(--display); cursor: pointer; overflow-wrap: anywhere; padding-left: 4px; }
.faq details p { max-width: 90ch; margin: 16px 0 0; }
.join { background: var(--game-sky); border: 2px solid var(--lime); padding: clamp(20px, 2.6vw, 40px) var(--space-lg); margin: 0 var(--space-lg) clamp(16px, 2vw, 28px); min-width: 0; max-width: 100%; box-sizing: border-box; }
.join-art img { width: min(100%, 320px); object-fit: contain; }
.join .reassurance { color: var(--muted); }

@media (max-width: 1100px) {
  .guides article { gap: 10px; padding: 10px 12px; }
  .guides article img { width: 72px; }
  .board { grid-template-columns: 1fr 1fr; }
  .board > * + * { border-left: 0; }
  .topics, .term, .manifesto { border-top: 2px solid var(--lime); }
  .manifesto { margin: 0 !important; }
  .copy { width: min(640px, 62%); }
}

/* ===== Hamburger / compact header ===== */
@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  .header-join { display: none; }
  #site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 12px;
    left: auto;
    width: min(280px, calc(100% - 24px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0b120b;
    border: 2px solid var(--lime);
    box-shadow: 0 0 18px rgba(181, 255, 67, 0.35);
    padding: 8px 0;
    z-index: 20;
  }
  #site-nav.is-open { display: flex; }
  #site-nav a {
    font-size: 14px;
    padding: 10px 16px;
    white-space: normal;
  }
  #site-nav .nav-join {
    display: inline-flex;
    margin: 8px 16px 10px;
    justify-content: center;
  }
  .top {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  header {
    position: relative;
    order: 1;
    background: var(--ink);
    border-bottom: 3px solid var(--lime);
    min-height: 56px;
    padding: 8px 12px;
  }
  .hero-art {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    inset: auto;
    left: 0;
    width: 100%;
    height: calc(100% * 432 / 362);
    top: calc(-100% * 70 / 362);
    object-fit: cover;
    object-position: right top;
  }
  .hero { order: 3; padding: 20px var(--space) 24px; }
  .copy { width: 100%; max-width: 100%; }
  #newsletter, #game, #articles, #topics, #about, #guides, #lab, #black-hat, #autopsy, #issue, #faq, #join, #manifesto { scroll-margin-top: 72px; }
}

/* ===== Phone: stack everything ===== */
@media (max-width: 900px) {
  .guides { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .about, .join { grid-template-columns: minmax(0, 1fr); }
  .about-art, .join-art { justify-items: start; }
  .join-art img { width: min(60%, 220px); }
  .guides { grid-template-columns: 1fr; gap: 10px; margin-left: var(--space); margin-right: var(--space); }
  .guides article { min-height: 90px; }
  .guides article img { width: 72px; }
  .board { grid-template-columns: 1fr; }
  .fresh, .topics, .manifesto, .term { border-top: 2px solid var(--lime); border-left: 0 !important; }
  form { flex-direction: column; }
  .field, .btn-fill { max-width: none; width: 100%; flex: 0 0 auto; height: 46px; }
  .cab-bar { flex-direction: column; align-items: flex-start; }
  .scores { align-self: flex-end; }
  .hero-art { aspect-ratio: 2 / 1; }
  .hero { padding: 16px 14px 24px; }
  .foot-bar { padding: 10px 14px 12px; }
  footer { padding-bottom: 36px; }
}


/* Compact cabinet controls preserve the original title and score placement. */
.game-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-left: auto; min-width: 0; max-width: 100%; }
.game-controls button { display: inline-flex; align-items: center; gap: 5px; padding: 3px 6px; background: var(--ink); border: 1px solid var(--purple); font-size: 11px; }
.game-controls button img { width: 14px; height: 14px; }
#level { color: var(--purple); font-size: 12px; white-space: nowrap; }
.scores { white-space: normal; margin-left: auto; }
.term p:nth-child(2) { color: var(--purple); }
#netlify-badge, .netlify-badge, #netlify-watermark, iframe[src*="netlify"], a[href="https://www.netlify.com"] { display: none !important; }
/* Keep status copy below the action button, including the shallow phone canvas. */
.go-msg { top: calc(11% + clamp(36px, 2.75vw, 46px) + 4px); }
@media (max-width: 700px) {
  .play-btn { height: 36px; min-height: 36px; border-width: 2px; border-radius: 8px; font-size: 12px; padding: 0 10px; }
  .play-btn .tri { border-width: 5px 0 5px 8px; }
  .go-msg { top: calc(11% + 40px); font-size: 11px; line-height: 1.2; }
}
@media (max-width: 450px) {
  .play-btn { top: 8%; height: 32px; min-height: 32px; font-size: 11px; }
  .go-msg { top: calc(8% + 36px); font-size: 10px; }
}

.about .section-copy {
  background: rgba(8, 10, 18, 0.84);
  border: 1px solid rgba(181, 255, 67, 0.28);
  padding: clamp(14px, 1.8vw, 24px);
  min-width: 0;
}
.faq-title-wrap, .faq > .section-eyebrow, .faq > h2 {
  text-shadow: 0 1px 0 #000, 0 0 10px rgba(9, 12, 9, 0.9);
}
footer .board {
  background: rgba(8, 10, 16, 0.78);
  border-top: 2px solid var(--lime);
  margin: 0;
  padding-top: clamp(10px, 1vw, 16px);
  padding-bottom: clamp(10px, 1vw, 16px);
}


/* ===== LOWER SCENERY ===== */
.lower {
  position: relative;
  background: #0c091d;
  overflow-x: hidden;
  min-width: 0;
  max-width: 100%;
}
.lower > section,
.lower > footer {
  position: relative;
  z-index: 1;
}
.lower-scenery {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.lower-kingdom,
.lower-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.lower-kingdom {
  background-image: url("assets/lower/kingdom.jpg");
  background-image: image-set(
    url("assets/lower/kingdom.webp") type("image/webp"),
    url("assets/lower/kingdom.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.lower-veil {
  background: linear-gradient(
    180deg,
    rgba(8, 8, 18, 0.2) 0%,
    rgba(8, 8, 18, 0.16) 40%,
    rgba(8, 8, 18, 0.3) 100%
  );
}
@media (max-width: 700px) {
  .lower-kingdom {
    background-image: url("assets/lower/kingdom-mobile.jpg");
    background-image: image-set(
      url("assets/lower/kingdom-mobile.webp") type("image/webp"),
      url("assets/lower/kingdom-mobile.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center bottom;
  }
}

#boost-status { display: inline-block; min-width: 11ch; color: #caff48; text-shadow: 0 0 8px #a3ee45; font-size: 0.85em; }

/* ===== INTERIOR / ISSUE ARTICLE ===== */
body.interior header {
  position: relative;
  background: var(--ink);
  border-bottom: 3px solid var(--lime);
}
body.interior .page {
  overflow-x: hidden;
}
body.interior footer {
  margin-top: clamp(32px, 4vw, 64px);
}
.issue-wrap {
  padding: clamp(20px, 3vw, 48px) var(--space);
  min-width: 0;
  max-width: 100%;
}
.issue-article {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
  font-family: var(--mono);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
.issue-article > * { min-width: 0; max-width: 100%; }
.crumbs {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 0;
  padding: 0;
}
.crumbs li { display: inline; }
.crumbs li + li::before {
  content: "/";
  margin: 0 8px;
  color: var(--purple);
}
.crumbs a { color: var(--lime); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.issue-meta {
  margin: 0 0 12px;
  color: var(--lime);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.issue-article h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
}
.issue-dek {
  margin: 0 0 12px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
  color: #e4e2d8;
  font-weight: 500;
}
.issue-byline {
  margin: 0 0 8px;
  color: var(--purple);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--display);
}
.issue-article h2 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--lime);
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.25;
  margin: 2em 0 0.7em;
  letter-spacing: 0.01em;
}
.issue-article h2 .sec-num { color: var(--lime); margin-right: 0.15em; }
.issue-article p { margin: 0 0 1em; }
.issue-article hr {
  border: 0;
  height: 8px;
  margin: 2.2em 0;
  background:
    linear-gradient(var(--lime), var(--lime)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--lime), var(--lime)) 0 100% / 100% 2px no-repeat;
  opacity: 0.9;
}
.issue-article > ul,
.issue-article > ol {
  margin: 0 0 1.15em;
  padding: 0;
  list-style: none;
}
.issue-article > ul li {
  position: relative;
  padding-left: 1.4em;
  margin: 0.4em 0;
}
.issue-article > ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--lime);
}
.issue-article > ol {
  counter-reset: steps;
}
.issue-article > ol li {
  counter-increment: steps;
  position: relative;
  padding-left: 2em;
  margin: 0.55em 0;
}
.issue-article > ol li::before {
  content: counter(steps) ".";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-family: var(--display);
  font-weight: 700;
}
.issue-article a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.issue-article a:hover { color: #d4ff85; }
.issue-article .signoff {
  margin-bottom: 0.4em;
  font-weight: 500;
}
.issue-article .signoff-url { margin-top: 0.6em; }
.issue-cta {
  margin-top: 2.4em;
  border: 2px solid var(--lime);
  border-left-width: 6px;
  background: #0d140d;
  padding: clamp(18px, 2.2vw, 28px);
  box-shadow: 0 0 16px rgba(181, 255, 67, 0.16);
  min-width: 0;
}
.issue-cta h2 {
  margin-top: 0;
  margin-bottom: 8px;
}
.issue-cta p { margin-bottom: 16px; }
.issue-cta .signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}
.issue-cta .status {
  flex: 0 0 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
.issue-cta .btn-fill { max-width: 100%; }
.archive-list {
  list-style: none;
  padding: 0;
  margin: 1.6em 0 0;
  counter-reset: none;
}
.archive-list li {
  padding: 0;
  margin: 0;
  border: 1px solid var(--lime);
  background: #0d140d;
  border-left: 4px solid var(--lime);
}
.archive-list li::before { content: none; }
.archive-list a {
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.archive-list a.archive-main {
  display: block;
}
.archive-list a.archive-main:hover { color: inherit; }
.archive-kicker {
  display: block;
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.archive-list h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--text);
}
.archive-list a.archive-main:hover h2 { color: var(--lime); }
.archive-list p {
  margin: 0;
  color: #d0d0c8;
  font-size: 15px;
  line-height: 1.55;
}
.fresh-link { color: inherit; display: block; min-width: 0; }
.fresh-link:hover h3 { color: var(--lime); }
@media (max-width: 700px) {
  .issue-cta .signup-form { flex-direction: column; }
  .issue-cta .field, .issue-cta .btn-fill {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 46px;
  }
  .issue-cta .btn-fill { white-space: normal; }
}

/* Phone: portrait tucked inside the Sherlock card, top right */
@media (max-width: 700px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about > .about-art, .about > .section-copy { grid-row: 1; grid-column: 1; }
  .about > .about-art {
    justify-self: end; align-self: start; z-index: 2;
    margin: clamp(14px, 1.8vw, 24px) clamp(14px, 1.8vw, 24px) 0 0;
  }
  .about-art img { width: clamp(84px, 26vw, 112px); }
  .about .section-copy .section-eyebrow,
  .about .section-copy h2,
  .about .section-copy .section-label { padding-right: calc(clamp(84px, 26vw, 112px) + 12px); }
  .about .section-copy { min-height: calc(clamp(84px, 26vw, 112px) + 2 * clamp(14px, 1.8vw, 24px)); }
}


/* ===== CATEGORY PILLS ===== */
.cat-pill {
  display: inline-block;
  border: 2px solid #c8e87a;
  color: #e8f0c8;
  padding: 5px 10px 4px;
  border-radius: 10px;
  font-size: clamp(11px, 0.9vw, 15px);
  font-weight: 600;
  line-height: 1.2;
  font-family: var(--mono);
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
}
a.cat-pill,
.issue-card a.cat-pill,
.issue-article a.cat-pill,
.archive-list a.cat-pill,
.fresh-item a.cat-pill {
  color: #e8f0c8;
  text-decoration: none;
}
a.cat-pill:hover,
.issue-card a.cat-pill:hover,
.issue-article a.cat-pill:hover,
.archive-list a.cat-pill:hover,
.fresh-item a.cat-pill:hover {
  color: var(--lime);
  border-color: var(--lime);
  text-decoration: none;
}
.issue-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 12px;
  min-width: 0;
}
.issue-meta-row .issue-meta { margin: 0; }
.issue-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 16px;
  min-width: 0;
}
.issue-card-meta .section-label { margin: 0; }
.fresh-item { min-width: 0; }
.fresh-item .cat-pill { margin: 0 0 8px; }
.archive-list li {
  position: relative;
}
.archive-entry {
  display: block;
  padding: clamp(16px, 2vw, 24px);
  min-width: 0;
}
.archive-entry .cat-pill { margin: 0 0 10px; }
.archive-entry .archive-main {
  display: block;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.archive-entry .archive-main:hover { color: inherit; }
.topics li a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.topics li a:hover { color: var(--lime); }

/* Mobile cabinet: stacked chrome, taller crisp canvas, hint below the stage. */
@media (max-width: 700px) {
  .arcade { padding-left: var(--space); padding-right: var(--space); }
  .cab-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 8px 10px 6px;
  }
  .cab-bar h2 {
    width: 100%;
    font-size: 16px;
    gap: 8px;
  }
  .game-controls {
    width: 100%;
    margin-left: 0;
    max-width: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }
  .game-controls button {
    padding: 6px 10px;
    font-size: 12px;
    min-height: 36px;
    gap: 6px;
  }
  .game-controls button img { width: 16px; height: 16px; }
  #level { font-size: 13px; }
  .scores {
    width: 100%;
    margin-left: 0;
    align-self: stretch;
    white-space: nowrap;
    font-size: 14px;
    letter-spacing: 0.04em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    justify-content: flex-start;
  }
  #boost-status { min-width: 0; }
  .screen { margin: 0 6px 8px; }
  .hint {
    position: static;
    white-space: normal;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.03em;
    padding: 6px 8px 4px;
    line-height: 1.35;
    right: auto;
    left: auto;
    top: auto;
    width: 100%;
    box-sizing: border-box;
  }
  .hint-desktop { display: none; }
  .hint-mobile { display: inline; }
  .play-btn {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(220px, 80%);
    height: 40px;
    min-height: 40px;
    font-size: 14px;
    border-width: 3px;
    border-radius: 10px;
    padding: 0 12px;
  }
  .play-btn .tri { border-width: 7px 0 7px 12px; }
  .go-msg {
    top: auto;
    bottom: 12%;
    font-size: 12px;
    line-height: 1.3;
  }
}
