@font-face {
  font-family: "Viking Squad";
  src: url("fonts/vikingsquad.ttf") format("truetype");
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Viking Squad";
  src: url("fonts/vikingsquadbold.ttf") format("truetype");
  font-weight: 700 900;
  font-display: swap;
}

/* Palette sampled from the in-game HUD and main menu */
:root {
  --olive-0: #0f110a;
  --olive-1: #14170d;
  --olive-2: #1c2013;
  --olive-3: #262b1a;
  --moss: #3d4a22;
  --bone: #e6e3cf;
  --bone-dim: #a3a38c;
  --lime: #c8dc5e;
  --lime-hi: #e6f293;
  --lime-lo: #94ad34;
  --plate-ink: #1a1f0e;
  --hazard: #c9b74e;
  --blood: #c4281c;
  --metal-hi: #b4b3a6;
  --metal: #6f6e64;
  --metal-lo: #34342e;
  --line: rgba(230, 227, 207, 0.12);

  --font-display: "Viking Squad", Impact, sans-serif;
  --font-body: "Barlow", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* mottled olive grunge, like the main menu backdrop */
  background:
    radial-gradient(ellipse 60% 40% at 15% 8%, rgba(110, 135, 50, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 35% at 85% 30%, rgba(80, 100, 35, 0.16), transparent 70%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(60, 75, 28, 0.18), transparent 70%),
    var(--olive-1);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared game-UI pieces ---------- */

/* Riveted metal frame, standing in for the game's panel borders */
.runcard,
.buy-card,
.features,
.trailer,
.shot-link,
.signup-form {
  position: relative;
  border: 6px solid transparent;
  border-image: linear-gradient(180deg, var(--metal-hi), var(--metal) 35%, var(--metal-lo) 55%, var(--metal) 80%, var(--metal-lo)) 1;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.7), 0 14px 34px rgba(0, 0, 0, 0.55);
}

.runcard::before,
.buy-card::before,
.features::before,
.trailer::before,
.shot-link::before,
.signup-form::before {
  content: "";
  position: absolute;
  inset: -6px;
  pointer-events: none;
  z-index: 2;
  --rivet: radial-gradient(circle at 50% 50%, #deddcf 0 1.5px, #57574e 2.5px, #1c1c18 3.5px, transparent 4px);
  background: var(--rivet), var(--rivet), var(--rivet), var(--rivet);
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: -3px -3px, calc(100% + 3px) -3px, -3px calc(100% + 3px), calc(100% + 3px) calc(100% + 3px);
}

/* Lime title plate, like the in-game HUD bar and menu header */
.hud-plate,
.btn-primary,
.topbar nav .nav-cta {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 40%, rgba(0, 0, 0, 0.18)),
    radial-gradient(ellipse at 30% 40%, var(--lime-hi), var(--lime) 55%, var(--lime-lo));
  color: var(--plate-ink);
  border: 2px solid #2c3316;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -3px 0 rgba(0, 0, 0, 0.25),
    0 0 26px rgba(200, 220, 94, 0.22);
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter);
  background: linear-gradient(180deg, #2a2b25, #17180f);
  border-bottom: 3px solid var(--metal-lo);
  box-shadow: 0 1px 0 var(--metal), 0 8px 20px rgba(0, 0, 0, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.brand svg { width: 30px; height: 30px; fill: var(--lime); }

.topbar nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.topbar nav a { text-decoration: none; color: var(--bone-dim); transition: color 0.2s; white-space: nowrap; }
.topbar nav a:hover,
.topbar nav a[aria-current="page"] { color: var(--lime); }
.topbar nav .nav-cta { padding: 6px 12px; font-weight: 600; }
.topbar nav .nav-cta:hover { color: var(--plate-ink); filter: brightness(1.1); }
/* Discord blurple so it reads as Discord at a glance */
.topbar nav .nav-discord {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #5865f2;
  color: #fff;
  font-weight: 600;
}
.topbar nav .nav-discord:hover { color: #fff; background: #4752c4; }
.topbar nav .nav-discord svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, filter 0.2s, background 0.2s, color 0.2s;
}

.btn-primary:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.1); }
.btn-primary:active:not(:disabled) { transform: translateY(1px); }

/* dark inset button, like PLAY / QUIT on the main menu */
.btn-ghost {
  background: linear-gradient(180deg, #2b2d24, #121309);
  color: var(--bone);
  border: 2px solid #4a4b40;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -2px 0 rgba(0, 0, 0, 0.5);
}

.btn-ghost:hover { color: var(--lime); border-color: var(--lime-lo); }

.btn:disabled,
.btn.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.4);
}

.btn:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid var(--lime-hi);
  outline-offset: 3px;
}

/* ---------- hero ---------- */
/* the full-bleed key art uses 100vw, which includes the scrollbar */
main { overflow-x: clip; }

.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  padding: clamp(48px, 10vh, 120px) var(--gutter) clamp(40px, 8vh, 90px);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  isolation: isolate;
}

/* Steam key art behind the hero, full-bleed, darkened on the text side */
.hero-art {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  translate: -50% 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
  opacity: 0.85;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 17, 10, 0.92) 0%, rgba(15, 17, 10, 0.55) 45%, rgba(15, 17, 10, 0.2) 75%),
    linear-gradient(0deg, var(--olive-1) 0%, transparent 35%);
}

.stamp {
  display: inline-block;
  margin: 0 0 22px;
  padding: 6px 10px;
  border: 1px dashed var(--bone-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bone-dim);
}

.title { margin: 0; }

.title img {
  display: block;
  width: min(640px, 100%);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.7));
}

.tagline {
  margin: 26px 0 32px;
  max-width: 34ch;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* HUD card: a copy of the in-game top bar */
.runcard {
  width: min(440px, 100%);
  padding: 18px;
  background: linear-gradient(180deg, #24261c, #121309);
}

.hud-plate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hud-plate .timer { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.hud-plate .timer.is-late { color: var(--blood); animation: blink 0.8s steps(2) infinite; }

.meter {
  height: 14px;
  margin: 16px 0 12px;
  padding: 2px;
  background: linear-gradient(180deg, #4a4a42, #1b1b17);
  border: 1px solid #000;
}

.meter-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(180deg, #8fe06a, #3fae2c 60%, #2a8a1d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: width 0.6s ease;
}

.runcard-status {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--bone-dim);
}

@keyframes blink { 50% { opacity: 0.35; } }

/* page-load reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: calc(var(--d) * 0.12s + 0.1s);
}


@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- hazard divider, like the striped frame posts ---------- */
.hazard {
  height: 16px;
  background: repeating-linear-gradient(-45deg, var(--hazard) 0 14px, #1a1a14 14px 28px);
  border-top: 2px solid var(--metal-lo);
  border-bottom: 2px solid var(--metal-lo);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
}

/* ---------- shared sections ---------- */
section { scroll-margin-top: 70px; }

.pitch,
.how,
.gallery,
.buy,
.signup {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) var(--gutter);
}

.section-head { margin-bottom: 48px; }

.kicker {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lime);
}

.section-head h2,
.buy h2,
.signup h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); }

/* ---------- pitch ---------- */
.pitch-lead {
  margin: 0;
  max-width: 32ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  text-transform: uppercase;
}

.pitch-lead em { font-style: normal; color: var(--lime); }

/* ---------- how it plays ---------- */
.loop {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 72px;
  padding: 0;
  border-top: 3px solid var(--metal);
}

.loop li {
  counter-increment: step;
  position: relative;
  padding: 22px 22px 0 0;
}

.loop li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--bone-dim);
  margin-bottom: 6px;
}

.loop li::after {
  content: "";
  position: absolute;
  top: -9px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--lime-hi), var(--lime-lo));
  border: 2px solid #2c3316;
}

.loop .step { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; text-transform: uppercase; }
.loop p { margin: 6px 0 0; color: var(--bone-dim); }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #0a0b06;
}

.feature {
  padding: 30px 26px 34px;
  background: linear-gradient(180deg, var(--olive-3), var(--olive-2));
  transition: background 0.25s;
}

.feature:hover { background: linear-gradient(180deg, #303621, var(--olive-3)); }
.feature:hover .tag { background: var(--lime); color: var(--plate-ink); }

.feature .tag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--lime-lo);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lime);
  transition: background 0.2s, color 0.2s;
}

.feature h3 { margin: 18px 0 10px; font-size: 1.3rem; line-height: 1.15; }
.feature p { margin: 0; color: var(--bone-dim); }

/* ---------- gallery ---------- */
.trailer {
  margin-bottom: 28px;
  background: #000;
}

.trailer video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.shot { margin: 0; }

.shot-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.shot-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s;
}

.shot-link:hover img { transform: scale(1.04); filter: brightness(1.12); }

.shot figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
}

.lightbox {
  max-width: min(1600px, 94vw);
  padding: 0;
  border: 4px solid var(--metal);
  background: #000;
}

.lightbox::backdrop { background: rgba(5, 6, 3, 0.88); }
.lightbox img { display: block; max-width: 100%; max-height: 88vh; }

.lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 2px solid #2c3316;
  background: var(--lime);
  color: var(--plate-ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- buy ---------- */
.buy-card {
  padding: clamp(32px, 6vw, 64px);
  background:
    radial-gradient(ellipse 70% 80% at 20% 0%, rgba(110, 135, 50, 0.2), transparent 70%),
    linear-gradient(180deg, #24261c, #121309);
}

.buy-sub { margin: 14px 0 28px; font-size: 1.2rem; color: var(--bone-dim); }
.buy-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.buy-note { margin: 22px 0 0; font-family: var(--font-mono); font-size: 0.8rem; color: var(--bone-dim); }

/* ---------- signup ---------- */
.signup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}

.signup-copy p { margin: 16px 0 0; color: var(--bone-dim); max-width: 40ch; }

.contact a { color: var(--lime); }
.contact .steam-link { font-weight: 600; }

.signup-form {
  padding: 24px;
  background: linear-gradient(180deg, #24261c, #121309);
}

.signup-form label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bone-dim);
}

.field-row { display: flex; gap: 12px; }

.signup-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  background: #0b0c07;
  border: 2px solid #3c3d33;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 1rem;
}

.signup-form input[type="email"]:focus { border-color: var(--lime); outline: none; }

.hidden-field { position: absolute; left: -9999px; }

/* ---------- studio ---------- */
.studio {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
}

/* the logo has a black background; screen blending drops it onto the page */
.studio-logo img {
  display: block;
  width: clamp(160px, 22vw, 260px);
  height: auto;
  mix-blend-mode: screen;
}

.studio-copy h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
.studio-copy p { margin: 14px 0 24px; color: var(--bone-dim); max-width: 46ch; }

/* ---------- night band: the two survivors and their flashlights ---------- */
.night-band {
  position: relative;
  isolation: isolate;
  height: clamp(300px, 38vw, 440px);
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  overflow: hidden;
  background: radial-gradient(ellipse 70% 90% at 75% 50%, rgba(60, 75, 28, 0.25), transparent 70%), var(--olive-0);
  border-top: 3px solid var(--metal-lo);
}

.night-band-copy {
  max-width: calc(var(--max));
  width: 100%;
  margin: 0 auto;
}

.night-band-line {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  text-transform: uppercase;
  text-shadow: 0 6px 0 rgba(0, 0, 0, 0.5);
}

.crew {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.survivor {
  position: absolute;
  width: var(--fw);
  height: var(--fh);
  transform-origin: 55% 50%;
  animation:
    sweep 9s ease-in-out infinite alternate,
    prowl 13s ease-in-out infinite alternate;
}

.survivor-man {
  --fw: 173px;
  --fh: 139px;
  --muzzle: 26%;
  --strip: url("images/man-walk.webp");
  right: 8%;
  top: 12%;
}

.survivor-woman {
  --fw: 147px;
  --fh: 114px;
  --muzzle: 23%;
  --strip: url("images/woman-walk.webp");
  right: 20%;
  top: 52%;
  animation-delay: -3s, -6s;
}

.survivor .sprite {
  position: absolute;
  inset: 0;
  background: var(--strip) 0 0 / 600% 100% no-repeat;
  filter: drop-shadow(5px 8px 6px rgba(0, 0, 0, 0.65));
  animation: walk 0.75s steps(6) infinite;
}

.survivor-woman .sprite { animation-delay: -0.3s; }

/* cone starts at the gun muzzle on the sprite's left edge */
.survivor .cone {
  position: absolute;
  right: calc(100% - 4px);
  top: var(--muzzle);
  width: 120vw;
  height: 320px;
  translate: 0 -50%;
  background: linear-gradient(270deg, rgba(235, 245, 190, 0.26), rgba(200, 220, 94, 0.07) 45%, transparent 80%);
  clip-path: polygon(100% 48%, 0 0, 0 100%, 100% 52%);
  filter: blur(5px);
}

@keyframes walk { to { background-position: 120% 0; } }

@keyframes sweep {
  from { rotate: -8deg; }
  to   { rotate: 6deg; }
}

@keyframes prowl {
  from { translate: 0 0; }
  to   { translate: -40px 14px; }
}

/* ---------- footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px var(--gutter);
  background: linear-gradient(180deg, #17180f, #0c0d08);
  border-top: 3px solid var(--metal-lo);
  font-size: 0.9rem;
  color: var(--bone-dim);
}

.footer p { margin: 0; }
.footer a { color: var(--bone-dim); }
.footer a:hover { color: var(--lime); }
.footer-mono { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- thanks page ---------- */
.thanks {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 20px;
  padding: var(--gutter);
  text-align: center;
}

.thanks h1 { font-size: clamp(2.6rem, 9vw, 5.5rem); }
.thanks h1 span { color: var(--lime); }
.thanks p { margin: 0 auto; max-width: 36ch; color: var(--bone-dim); }
.thanks .btn { justify-self: center; margin-top: 12px; }

/* ---------- bug report page ---------- */
.bug-page {
  max-width: calc(860px + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
}

.bug-page h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.bug-intro { margin: 16px 0 0; color: var(--bone-dim); max-width: 52ch; }
.bug-intro a { color: var(--lime); }

.bug-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bug-wide { grid-column: 1 / -1; }

.bug-form input,
.bug-form select,
.bug-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: #0b0c07;
  border: 2px solid #3c3d33;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.bug-form textarea { resize: vertical; }
.bug-form input[type="file"] { padding: 10px; cursor: pointer; color: var(--bone-dim); }
.bug-form input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 8px 14px;
  border: 2px solid var(--lime-lo);
  background: transparent;
  color: var(--lime);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.bug-form input:focus,
.bug-form select:focus,
.bug-form textarea:focus { border-color: var(--lime); outline: none; }

.bug-actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.bug-status { margin: 0; font-family: var(--font-mono); font-size: 0.85rem; color: var(--bone-dim); }
.bug-status.is-error { color: var(--blood); }

.bug-sent { display: grid; gap: 16px; justify-items: start; }
.bug-sent p { margin: 0; color: var(--bone-dim); }
.bug-page [hidden] { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; align-items: start; }
  .hero-art::after { background: linear-gradient(0deg, var(--olive-1) 0%, rgba(15, 17, 10, 0.6) 60%, rgba(15, 17, 10, 0.75)); }
  .loop { grid-template-columns: repeat(2, 1fr); row-gap: 28px; border-top: 0; }
  .loop li { border-top: 3px solid var(--metal); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .signup { grid-template-columns: 1fr; }
  .topbar nav a:not(.nav-cta, .nav-discord, .nav-bug) { display: none; }
}

@media (max-width: 600px) {
  .topbar nav .nav-cta, .topbar nav .nav-discord { padding: 6px 8px; font-size: 0.68rem; }
  .topbar nav .nav-bug { font-size: 0.68rem; }
  /* Logo only on phones so all three fit; the link keeps its aria-label */
  .topbar nav .nav-discord .nav-label { display: none; }
  .topbar nav .nav-discord svg { width: 18px; height: 18px; }
  .loop { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .studio { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .survivor { scale: 0.65; }
  .survivor-man { right: -2%; top: 4%; }
  .survivor-woman { right: 2%; top: 58%; }
  .field-row { flex-direction: column; }
  .bug-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-cta, .buy-actions { flex-direction: column; }
  .hud-plate { font-size: 0.75rem; padding: 10px 12px; }
  .hud-plate .timer { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .survivor,
  .survivor .sprite,
  .hud-plate .timer.is-late { animation: none; }
  .reveal { animation: none; opacity: 1; transform: none; }
}
