:root {
  --cream: rgb(243, 239, 233);
  --osd-font: 'VT323', ui-monospace, 'Courier New', monospace;
}

html {
  height: 100%;
  background: #000;
}
/* main content centers via margin:auto, so tall pages scroll instead of clipping */
body {
  margin: 0;
  min-height: 100%;
  display: flex;
  overflow-x: hidden;
  background: #000;
  color: var(--cream);
}
body > main {
  margin: auto;
}

/* ---------- VCR on-screen-display navbar ---------- */
.osd {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 2.4vw, 28px) clamp(16px, 4vw, 48px);
  font-family: var(--osd-font);
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: .08em;
  text-shadow: 0 0 6px rgba(243, 239, 233, .35);
  background: linear-gradient(to bottom, #000 60%, transparent);
}
/* filtered per item, not on .osd: the filter region (box +10%) would clip the dropdown */
.osd > ul > li > a,
.osd .sub,
.osd .counter {
  filter: url(#vhs);
}
.osd ul {
  display: flex;
  gap: clamp(0px, 1.4vw, 20px);
  margin: 0 0 0 -.75em;
  padding: 0;
  list-style: none;
}
.osd a {
  position: relative;
  display: block;
  padding: .05em .35em 0 .75em;
  color: inherit;
  text-decoration: none;
}
/* ▶ marks the current page; GAMES keeps it (aria-current="true") on a game's own page */
.osd a[aria-current]::before {
  content: '';
  position: absolute;
  left: .2em;
  top: 50%;
  width: .38em;
  height: .5em;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%);
  animation: blink 1.1s steps(1) infinite;
}
.osd a:hover,
.osd a:focus-visible {
  background: var(--cream);
  color: #000;
  text-shadow: none;
  outline: none;
  animation: jitter .24s steps(1) infinite;
}
/* GAMES drops down a list of titles on hover or keyboard focus */
.osd .has-sub {
  position: relative;
}
.osd .sub {
  position: absolute;
  top: 100%;
  left: 0;
  display: block;
  margin: 0;
  padding: .25em 0;
  background: #000;
  border: 1px solid rgba(243, 239, 233, .35);
  visibility: hidden;
}
.osd .sub a {
  padding-right: .6em;
  white-space: nowrap;
}
.osd .has-sub:hover > .sub,
.osd .has-sub:focus-within > .sub {
  visibility: visible;
}
/* GAMES stays lit while the pointer is down in its menu */
.osd .has-sub:hover > a,
.osd .has-sub:focus-within > a {
  background: var(--cream);
  color: #000;
  text-shadow: none;
}
.osd .counter {
  white-space: nowrap;
  opacity: .85;
}
@media (max-width: 600px) {
  .osd { justify-content: center; }
  .osd .counter { display: none; }
}

/* ---------- VCR footer: copyright, tracking meter, camcorder date stamp ---------- */
.osd-foot {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: clamp(12px, 2vw, 24px) clamp(16px, 4vw, 48px);
  font-family: var(--osd-font);
  font-size: clamp(17px, 1.5vw, 22px);
  letter-spacing: .12em;
  white-space: nowrap;
  color: rgba(243, 239, 233, .75);
  text-shadow: 0 0 6px rgba(243, 239, 233, .2);
  background: linear-gradient(to top, #000 55%, transparent);
  filter: url(#vhs-soft);
  pointer-events: none;
}
.osd-foot .meter {
  display: flex;
  align-items: center;
  gap: .6em;
}
.osd-foot .bars {
  display: inline-flex;
  gap: 3px;
}
.osd-foot .bars i {
  width: .3em;
  height: .75em;
  background: currentColor;
  opacity: .2;
}
.osd-foot .bars i.on {
  opacity: 1;
}
@media (max-width: 760px) {
  .osd-foot .meter,
  .osd-foot .stamp .time { display: none; }
}

/* ---------- logo screen (home) ---------- */
.screen {
  position: relative;
  line-height: 0;
}
.screen img {
  display: block;
  max-width: min(100vw, 1448px);
  max-height: 100vh;
  max-height: 100dvh;
  width: auto;
  height: auto;
  filter: url(#vhs);
}
.screen .tear {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
}

/* ---------- "no signal" placeholder pages ---------- */
.nosignal {
  font-family: var(--osd-font);
  text-align: center;
  text-shadow: 0 0 10px rgba(243, 239, 233, .35);
  padding: 0 16px;
}
.nosignal h1 { filter: url(#vhs); }
.nosignal p {
  text-shadow: 0 0 8px rgba(243, 239, 233, .15);
  filter: url(#vhs-soft);
}
.nosignal h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(56px, 13vw, 160px);
  line-height: 1;
  letter-spacing: .08em;
  animation: fade 3.2s ease-in-out infinite;
}
.nosignal p {
  margin: .6em 0 0;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: .2em;
  opacity: .7;
}

/* ---------- text pages (about) ---------- */
/* two columns on wide screens: headline left, body right, split by a thin rule */
.transmission {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 110px);
  width: 100%;
  max-width: 1400px;
  padding: clamp(110px, 15vh, 170px) clamp(16px, 5vw, 72px) clamp(64px, 11vh, 120px);
  font-family: var(--osd-font);
  text-shadow: 0 0 8px rgba(243, 239, 233, .25);
}
/* full VHS on the headline side, half strength on reading text */
.transmission .head {
  filter: url(#vhs);
}
.transmission .body {
  padding-left: clamp(24px, 3vw, 56px);
  border-left: 1px solid rgba(243, 239, 233, .35);
  text-shadow: 0 0 8px rgba(243, 239, 233, .12);
  filter: url(#vhs-soft);
}
.transmission .label,
.game .label {
  display: flex;
  align-items: center;
  gap: .5em;
  margin: 0 0 1em;
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 400;
  letter-spacing: .2em;
  color: rgba(243, 239, 233, .8);
}
.transmission .label::before,
.game .label::before {
  content: '';
  width: .55em;
  height: .55em;
  border-radius: 50%;
  background: #e0241b;
  box-shadow: 0 0 8px rgba(224, 36, 27, .8);
  animation: blink 1.6s steps(1) infinite;
}
.transmission .lede {
  margin: 0;
  font-weight: 400;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1;
  letter-spacing: .02em;
}
.transmission p {
  margin: 0 0 1em;
  font-size: clamp(25px, 2.3vw, 38px);
  line-height: 1.25;
  letter-spacing: .03em;
  color: rgba(243, 239, 233, .85);
}
/* closing line gets the short rule from the logo's "— STUDIOS —" */
.transmission .signoff {
  margin: 1.4em 0 0;
  color: var(--cream);
}
.transmission .signoff::before {
  content: '';
  display: block;
  width: 2.4em;
  height: 2px;
  margin-bottom: .7em;
  background: var(--cream);
}
@media (max-width: 900px) {
  .transmission {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6em;
  }
  .transmission .body {
    padding-left: 1em;
  }
}

/* ---------- game page: art | info, then a features grid ---------- */
.game {
  box-sizing: border-box;
  width: 100%;
  max-width: 1400px;
  padding: clamp(110px, 15vh, 170px) clamp(16px, 5vw, 72px) clamp(90px, 14vh, 150px);
  font-family: var(--osd-font);
  text-shadow: 0 0 8px rgba(243, 239, 233, .25);
}
.game-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(40px, 5vw, 96px);
}
.game-art {
  margin: 0;
  filter: url(#vhs);
}
.game-art img {
  display: block;
  width: 100%;
  max-width: calc(78vh * 2 / 3);
  height: auto;
  margin-left: auto;
  image-rendering: pixelated;  /* 256x384 pixel art, scaled up crisp */
  outline: 1px solid rgba(243, 239, 233, .25);
  outline-offset: 6px;
}
/* one even gap between every block in the info column; children carry no margins */
.game-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(20px, 2vw, 32px);
}
.game-info .label {
  margin: 0;
}
.game-info .label,
.game-title {
  filter: url(#vhs);
}
.game-title {
  margin: -.12em 0 -.11em;  /* cancel the font's empty space above/below caps */
  font-weight: 400;
  font-size: clamp(56px, 7vw, 120px);
  line-height: .8;  /* trims VT323's built-in leading so the gaps below read even */
  letter-spacing: .03em;
  text-transform: uppercase;
}
/* genre line under the title: HORROR / TURN BASED / ... */
.game-genres {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(20px, 1.7vw, 26px);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(243, 239, 233, .7);
  filter: url(#vhs-soft);
}
/* slash trails each item, so a wrapped line never starts with one */
.game-genres li:not(:last-child)::after {
  content: '/';
  margin: 0 .6em;
  color: rgba(243, 239, 233, .35);
}

/* release target + platform boxes, like stickers on the tape case */
.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5em .6em;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(22px, 1.9vw, 30px);
  letter-spacing: .2em;
  text-transform: uppercase;
  filter: url(#vhs);
}
.game-tags li {
  padding: .12em .6em .05em;
  border: 1px solid var(--cream);
}
.nowrap {
  white-space: nowrap;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.game-desc {
  margin: -.2em 0 0;  /* same for the paragraph's first line */
  padding-left: clamp(20px, 2.4vw, 40px);
  border-left: 1px solid rgba(243, 239, 233, .35);
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.3;
  letter-spacing: .03em;
  color: rgba(243, 239, 233, .85);
  text-shadow: 0 0 8px rgba(243, 239, 233, .12);
  filter: url(#vhs-soft);
}
/* every section after the hero: same spacing, same "HEADING ——" rule */
.sec {
  margin-top: clamp(72px, 12vh, 140px);
}
.sec-heading {
  display: flex;
  align-items: center;
  gap: .8em;
  margin: 0 0 1.4em;
  font-weight: 400;
  font-size: clamp(22px, 1.9vw, 30px);
  letter-spacing: .25em;
  color: rgba(243, 239, 233, .8);
  filter: url(#vhs);
}
.sec-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(243, 239, 233, .35);
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 60px) clamp(28px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  padding-top: 1em;
  border-top: 1px solid rgba(243, 239, 233, .35);
}
.feature-list .num {
  display: block;
  font-size: clamp(22px, 1.8vw, 28px);
  letter-spacing: .15em;
  color: #e0241b;
  text-shadow: 0 0 8px rgba(224, 36, 27, .6);
  filter: url(#vhs);
}
.feature-list h3 {
  margin: .25em 0 .5em;
  font-weight: 400;
  font-size: clamp(28px, 2.4vw, 36px);
  line-height: 1.05;
  letter-spacing: .02em;
  filter: url(#vhs);
}
.feature-list p {
  margin: 0;
  font-size: clamp(22px, 1.75vw, 26px);
  line-height: 1.3;
  letter-spacing: .03em;
  color: rgba(243, 239, 233, .8);
  text-shadow: 0 0 8px rgba(243, 239, 233, .12);
  filter: url(#vhs-soft);
}
@media (max-width: 1100px) {
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .game-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .game-art img {
    max-width: min(100%, 420px);
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .game-desc { padding-left: 1em; }
}

/* ---------- game page, below the features ---------- */
/* reading text: same size and half-strength filter as the feature cards */
.sec-intro,
.prose p {
  font-size: clamp(22px, 1.75vw, 26px);
  line-height: 1.3;
  letter-spacing: .03em;
  color: rgba(243, 239, 233, .8);
  text-shadow: 0 0 8px rgba(243, 239, 233, .12);
  filter: url(#vhs-soft);
}
.sec-intro {
  max-width: 46em;
  margin: -.5em 0 1.6em;
}
.prose p {
  margin: 0 0 .9em;
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose strong {
  font-weight: 400;
  color: var(--cream);
}

/* the rules: the claim in cream, the catch underneath in red */
.rules-lede {
  max-width: 20em;
  margin: 0 0 1.1em;
  font-size: clamp(34px, 3.6vw, 58px);
  line-height: 1.05;
  letter-spacing: .02em;
  filter: url(#vhs);
}
.rules-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.rules-list li {
  padding-top: .8em;
  border-top: 1px solid rgba(243, 239, 233, .35);
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.15;
  letter-spacing: .02em;
  filter: url(#vhs);
}
.rules-list em {
  display: block;
  font-style: normal;
  color: #ff5a4f;
  text-shadow: 0 0 8px rgba(224, 36, 27, .45);
}

/* the tapes: a cream paper label on each spine, difficulty sticker on the right */
.tape-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.4vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tape {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(243, 239, 233, .35);
}
.tape-label {
  display: flex;
  align-items: center;
  gap: .6em;
  padding: .35em .6em .25em;
  color: #000;
  background: var(--cream);
  text-shadow: none;
  filter: url(#vhs);
}
.tape-no {
  font-size: clamp(18px, 1.4vw, 22px);
  letter-spacing: .1em;
  color: rgba(0, 0, 0, .55);
}
.tape-label h3 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-weight: 400;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: .9;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sticker {
  padding: .12em .45em .02em;
  border: 1px solid #000;
  font-size: clamp(16px, 1.3vw, 20px);
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sticker.hard {
  color: var(--cream);
  background: #000;
}
.sticker.extreme {
  color: #000;
  background: #e0241b;
  border-color: #e0241b;
}
.sticker.experimental {
  border-style: dashed;
}
.tape-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: .9em 1em 1em;
  font-size: clamp(21px, 1.6vw, 24px);
  line-height: 1.3;
  letter-spacing: .03em;
  color: rgba(243, 239, 233, .8);
  text-shadow: 0 0 8px rgba(243, 239, 233, .12);
  filter: url(#vhs-soft);
}
.tape-body p {
  margin: 0 0 .8em;
}
.tape-body .tape-hook {
  margin-bottom: .45em;
  font-size: 1.2em;
  line-height: 1.1;
  color: var(--cream);
}
/* WIN line sits on the bottom edge so the cards in a row line up */
.tape-body .tape-win {
  margin: auto 0 0;
  padding-top: .7em;
  border-top: 1px dashed rgba(243, 239, 233, .25);
  color: var(--cream);
}
.tape-win b {
  margin-right: .5em;
  font-weight: 400;
  letter-spacing: .15em;
  color: #ff5a4f;
}

/* the Killer Cut itself, framed like the VCR's own screen: REW with a blinking double arrow */
.rewind {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 5vw, 96px);
  padding: clamp(28px, 4vw, 64px);
  border: 1px solid rgba(243, 239, 233, .35);
}
.rew {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5em;
  filter: url(#vhs);
}
.rew-osd {
  display: flex;
  align-items: center;
  gap: .25em;
  font-size: clamp(72px, 9vw, 150px);
  line-height: .8;
  letter-spacing: .04em;
  text-shadow: 0 0 12px rgba(243, 239, 233, .35);
}
.rew-icon {
  display: flex;
  animation: blink 1.1s steps(1) infinite;
}
.rew-icon i {
  width: .36em;
  height: .5em;
  background: currentColor;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
.rew-note {
  margin: 0;
  font-size: clamp(20px, 1.7vw, 26px);
  letter-spacing: .25em;
  color: rgba(243, 239, 233, .7);
}
.rewind .sec-heading {
  margin-bottom: 1em;
}
.rewind-lede {
  margin: 0 0 .6em;
  font-weight: 400;
  font-size: clamp(36px, 3.6vw, 56px);
  line-height: 1;
  letter-spacing: .02em;
  filter: url(#vhs);
}

/* desperate measures: drawn red, like they are in the action menu */
.act-menu {
  columns: 3;
  column-gap: clamp(28px, 3vw, 48px);
  margin: 0;
  padding: clamp(18px, 2.2vw, 32px) clamp(20px, 2.6vw, 40px);
  list-style: none;
  border: 1px solid rgba(224, 36, 27, .55);
  background: rgba(224, 36, 27, .04);
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.2;
  letter-spacing: .03em;
  color: #ff5a4f;
  text-shadow: 0 0 8px rgba(224, 36, 27, .35);
  filter: url(#vhs-soft);
}
.act-menu li {
  position: relative;
  padding: .2em 0 .2em .9em;
  break-inside: avoid;
}
.act-menu li::before {
  content: '';
  position: absolute;
  left: .1em;
  top: .62em;
  width: .3em;
  height: .4em;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* two-up cards (reuses the feature cards) with a line from the game's log */
.feature-list.pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature-list .log {
  margin-top: .8em;
  padding: .3em .7em .2em;
  border-left: 2px solid #e0241b;
  background: rgba(243, 239, 233, .04);
  color: var(--cream);
}
.log::before {
  content: '> ';
  color: rgba(243, 239, 233, .5);
}

/* case file | recorded over, side by side */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 96px);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45em .5em;
  margin: 1.3em 0 0;
  padding: 0;
  list-style: none;
  font-size: clamp(17px, 1.35vw, 21px);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(243, 239, 233, .85);
  filter: url(#vhs-soft);
}
.chips li {
  padding: .12em .55em .04em;
  border: 1px solid rgba(243, 239, 233, .4);
}
/* tape-case labels are printed: solid cream */
.chips.printed li {
  color: #000;
  background: var(--cream);
  border-color: var(--cream);
}

/* spec sheet, like the back of the box */
.specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 2.4vw, 40px);
  margin: 0;
}
.specs div {
  padding-top: .8em;
  border-top: 1px solid rgba(243, 239, 233, .35);
}
.specs dt {
  font-size: clamp(18px, 1.4vw, 22px);
  letter-spacing: .2em;
  color: #ff5a4f;
  text-shadow: 0 0 8px rgba(224, 36, 27, .5);
  filter: url(#vhs);
}
.specs dd {
  margin: .3em 0 0;
  font-size: clamp(22px, 1.75vw, 26px);
  line-height: 1.3;
  letter-spacing: .03em;
  color: rgba(243, 239, 233, .8);
  text-shadow: 0 0 8px rgba(243, 239, 233, .12);
  filter: url(#vhs-soft);
}

/* the question the whole game asks, then the stickers again */
.closer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 2.4vw, 40px);
  margin-top: clamp(90px, 15vh, 180px);
  text-align: center;
}
.closer-q {
  margin: 0;
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 110px);
  line-height: .95;
  letter-spacing: .03em;
  text-transform: uppercase;
  filter: url(#vhs);
}
.closer .game-tags {
  justify-content: center;
}

/* button-style link with a ▶, same look as the contact form's SEND */
.btn {
  position: relative;
  display: inline-block;
  padding: .1em .8em .05em 1.3em;
  font-size: clamp(22px, 1.9vw, 28px);
  letter-spacing: .15em;
  color: var(--cream);
  text-decoration: none;
  border: 1px solid var(--cream);
  filter: url(#vhs);
}
.btn::before {
  content: '';
  position: absolute;
  left: .45em;
  top: 50%;
  width: .38em;
  height: .5em;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%);
}
.btn.back::before {
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
.btn:hover,
.btn:focus-visible,
.shelf-card:hover .btn,
.shelf-card:focus-visible .btn {
  color: #000;
  background: var(--cream);
  text-shadow: none;
  outline: none;
}

@media (max-width: 1100px) {
  .tape-list,
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .act-menu { columns: 2; }
}
@media (max-width: 900px) {
  .rules-list,
  .rewind,
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .tape-list,
  .specs,
  .feature-list.pair { grid-template-columns: minmax(0, 1fr); }
  .act-menu { columns: 1; }
}

/* ---------- games index: one card per game ---------- */
.shelf-list {
  display: grid;
  gap: clamp(28px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.shelf-card {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  padding: clamp(20px, 2.6vw, 40px);
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(243, 239, 233, .35);
}
.shelf-card:hover,
.shelf-card:focus-visible {
  border-color: var(--cream);
  outline: none;
}
.shelf-card img {
  display: block;
  width: 100%;
  max-width: calc(62vh * 2 / 3);
  height: auto;
  margin-left: auto;
  image-rendering: pixelated;
  filter: url(#vhs);
}
.shelf-card .game-title {
  font-size: clamp(48px, 5.6vw, 96px);
}
@media (max-width: 700px) {
  .shelf-card { grid-template-columns: minmax(0, 1fr); }
  .shelf-card img {
    max-width: min(100%, 320px);
    margin: 0 auto;
  }
}

/* ---------- contact form ---------- */
.contact-form {
  display: grid;
  gap: 1.1em;
  font-size: clamp(22px, 1.9vw, 28px);
}
.contact-form label {
  display: block;
  margin-bottom: .3em;
  font-size: .8em;
  letter-spacing: .2em;
  color: rgba(243, 239, 233, .7);
}
.contact-form input,
.contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: .3em .5em;
  font: inherit;
  letter-spacing: .03em;
  color: var(--cream);
  caret-color: var(--cream);
  background: rgba(243, 239, 233, .03);
  border: 1px solid rgba(243, 239, 233, .35);
  border-radius: 0;
  outline: none;
  text-shadow: inherit;
}
.contact-form textarea {
  min-height: 6.5em;
  line-height: 1.2;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cream);
  background: rgba(243, 239, 233, .07);
}
.contact-form input:-webkit-autofill {
  -webkit-text-fill-color: var(--cream);
  box-shadow: 0 0 0 100px #0d0d0c inset;
}
.contact-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6em 1.2em;
}
.contact-form button {
  position: relative;
  padding: .1em .8em .05em 1.3em;
  font: inherit;
  letter-spacing: .15em;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--cream);
  border-radius: 0;
  cursor: pointer;
  text-shadow: inherit;
}
.contact-form button::before {
  content: '';
  position: absolute;
  left: .45em;
  top: 50%;
  width: .38em;
  height: .5em;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%);
}
.contact-form button:hover,
.contact-form button:focus-visible {
  color: #000;
  background: var(--cream);
  text-shadow: none;
  outline: none;
}
.contact-form button:disabled {
  opacity: .5;
  cursor: progress;
}
.contact-form .status {
  font-size: .85em;
  letter-spacing: .08em;
}
.contact-form .status.busy { animation: blink 1s steps(1) infinite; }
.contact-form .status.err  { color: #ff5a4f; }

.pending .ln {
  opacity: 0;
}
.acquire .ln {
  animation: acquire .9s steps(6) both;
  animation-delay: calc(var(--i, 0) * .35s + .2s);
}
@keyframes acquire {
  0%   { opacity: 0; transform: translateX(-6px); }
  30%  { opacity: .6; transform: translateX(3px); }
  45%  { opacity: .1; }
  70%  { opacity: .9; transform: translateX(0); }
  100% { opacity: 1; }
}

/* ---------- full-viewport overlays ---------- */
.fx {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.vignette {
  z-index: 1;
  background: radial-gradient(ellipse at center,
    transparent 50%, rgba(0, 0, 0, .65) 100%);
}
#grain {
  width: 100%;
  height: 100%;
  opacity: .07;
  mix-blend-mode: screen;
}
.scanlines {
  background: repeating-linear-gradient(to bottom,
    transparent 0, transparent 2px, rgba(0, 0, 0, .3) 3px);
}
.tracking {
  height: 14vh;
  top: -14vh;
  bottom: auto;
  background: linear-gradient(to bottom,
    transparent, rgba(255, 255, 255, .035) 45%, rgba(255, 255, 255, .06) 50%,
    rgba(255, 255, 255, .035) 55%, transparent);
  mix-blend-mode: screen;
  animation: roll 13s linear infinite;
}
.flicker {
  background: #000;
  opacity: 0;
  animation: flicker 5s steps(1) infinite;
}

@keyframes roll {
  0%, 55% { transform: translateY(0); }
  100%    { transform: translateY(128vh); }
}
@keyframes flicker {
  0%   { opacity: 0; }
  7%   { opacity: .04; }
  9%   { opacity: 0; }
  38%  { opacity: .025; }
  40%  { opacity: 0; }
  71%  { opacity: .05; }
  72%  { opacity: .01; }
  74%  { opacity: 0; }
}
@keyframes blink {
  0%  { opacity: 1; }
  60% { opacity: 0; }
}
@keyframes jitter {
  0%  { transform: translateX(0); }
  50% { transform: translateX(1px); }
}
@keyframes fade {
  0%, 100% { opacity: 1; }
  50%      { opacity: .75; }
}

@media (prefers-reduced-motion: reduce) {
  .tracking, .flicker { display: none; }
  .osd a[aria-current="page"]::before,
  .osd a:hover,
  .osd a:focus-visible,
  .nosignal h1,
  .transmission .label::before,
  .game .label::before,
  .rew-icon,
  .acquire .ln { animation: none; }
}
