:root {
  --bg: #0a0908;
  --bg-2: #14110e;
  --ink: #efe6d8;
  --dim: #8a837a;
  --orange: #e85d04;
  --ember: #ff6a1a;
  --black: #0b0a09;
  --grey: #6b6560;
  --line: #2c2824;
  --cyan: #22d3ee;
  --lime: #a3e635;
  --pink: #fb7185;
  --radius: 28px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Pixelify Sans", ui-sans-serif, sans-serif;
  min-height: 100%;
}
body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255,106,26,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,106,26,.045) 1px, transparent 1px);
  background-size: 8px 8px;
}
.scan {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(0,0,0,.18) 2px 3px
  );
  mix-blend-mode: multiply;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 22px 80px;
}
.wordmark {
  width: min(100%, 720px);
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 18px 0 rgba(0,0,0,.45));
  margin: 8px 0 28px;
}
.lede {
  max-width: 34rem;
  color: var(--dim);
  font-size: 20px;
  line-height: 1.45;
  text-wrap: pretty;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 40px;
}
.chips span {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--black);
  border: 3px solid var(--grey);
  box-shadow: 3px 3px 0 var(--orange);
  padding: 8px 10px;
}
.shelf-label {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  color: var(--grey);
  margin-bottom: 16px;
}
.shelf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
@media (max-width: 1000px) {
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .shelf { grid-template-columns: 1fr; }
}
.cab {
  display: block;
  text-decoration: none;
  color: inherit;
  animation: bob 3.8s ease-in-out infinite;
  transform-origin: 50% 100%;
}
.cab:nth-child(2) { animation-duration: 4.4s; animation-delay: -1.1s; }
.cab:nth-child(3) { animation-duration: 3.4s; animation-delay: -2.2s; }
.cab:nth-child(4) { animation-duration: 4.1s; animation-delay: -.6s; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-16px) rotate(0.7deg); }
}
.cab-face {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  border: 4px solid var(--black);
  box-shadow:
    0 22px 0 rgba(0,0,0,.55),
    0 0 0 3px var(--dash, var(--ember)),
    0 0 0 6px var(--black);
  position: relative;
  transition: transform .55s cubic-bezier(.34, 1.85, .48, 1), box-shadow .35s;
  transform-origin: 50% 80%;
}
.cab[data-dash="cyan"] { --dash: var(--cyan); }
.cab[data-dash="amber"] { --dash: #ff9a5c; }
.cab[data-dash="red"] { --dash: #f27c65; }
.cab[data-dash="lime"] { --dash: var(--lime); }
.cab[data-dash="pink"] { --dash: var(--pink); }
.cab[data-dash="orange"] { --dash: var(--ember); }
.cab-face::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 2px dashed color-mix(in srgb, var(--dash) 70%, transparent);
  pointer-events: none;
  opacity: .7;
}
.cab:hover { animation-play-state: paused; }
.cab:hover .cab-face {
  transform: translateY(-10px) scale(1.07, 0.93) rotate(-1.4deg);
  box-shadow:
    0 34px 0 rgba(0,0,0,.4),
    0 0 0 3px var(--dash),
    0 0 0 8px var(--black);
}
.cab:active .cab-face {
  transform: translateY(2px) scale(0.98, 1.04);
  transition-duration: .12s;
}
.pix {
  image-rendering: pixelated;
  width: 100%;
  height: 110px;
  border-radius: 16px;
  background: #070605;
  border: 3px solid #1a1612;
  margin-bottom: 14px;
  display: block;
}
.pix--scene {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  image-rendering: auto;
}
.tag {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  color: var(--dash);
  margin-bottom: 8px;
}
.cab h3 {
  font-family: "Press Start 2P", monospace;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--ink);
}
.cab h3.long-title { font-size: 14px; line-height: 1.45; }
.cab p {
  color: var(--dim);
  font-size: 16px;
  line-height: 1.4;
  min-height: 3.2em;
}
.play {
  margin-top: 14px;
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  color: var(--ember);
}
.note {
  margin-top: 48px;
  max-width: 40rem;
  color: var(--dim);
  font-size: 16px;
  line-height: 1.5;
}
footer {
  margin-top: 40px;
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  color: #5c564f;
  line-height: 1.8;
}
@media (prefers-reduced-motion: reduce) {
  .cab { animation: none; }
  .cab-face { transition: none; }
}
.cab:focus-visible .cab-face {
  outline: 3px solid var(--ember);
  outline-offset: 6px;
}
