/* Games catalog — Mesa Jade lookout */
:root {
  --ink: #f4f0e0;
  --sel: #8fd47a;
  --deep: #12180c;
  --display: "Pixelify Sans", "Segoe UI", sans-serif;
  --body: "Sora", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--deep);
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--sel); outline-offset: 3px; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--sel);
  color: var(--deep);
  padding: 0.5rem 0.85rem;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.map {
  position: relative;
  min-height: calc(100svh - 4.2rem);
  overflow: clip;
  background: var(--deep);
}
.map > picture {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 0;
}
.map > picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  image-rendering: pixelated;
}
.fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  image-rendering: pixelated;
}
.copy {
  position: relative;
  z-index: 3;
  padding: 1.2rem 1.2rem 7rem;
  max-width: 32rem;
}
.word {
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  text-decoration: none;
  display: block;
  text-shadow: 2px 2px 0 #000;
}
.lede {
  margin: 0.4rem 0 0.85rem;
  text-shadow: 1px 1px 0 #000;
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger {
  display: none;
  font-weight: 700;
  background: var(--sel);
  color: var(--deep);
  border: 0;
  padding: 0.3rem 0.55rem;
  cursor: pointer;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  font-weight: 700;
  font-size: 0.82rem;
}
.nav a { text-decoration: none; opacity: 0.85; }
.nav a[aria-current="page"] { color: var(--sel); opacity: 1; }
.legend {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 0.85rem 1.1rem 1.1rem;
  text-shadow: 2px 2px 0 #000;
}
.legend p {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 0.85rem;
  opacity: 0.85;
}
.list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}
.list a {
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.2rem;
}
.list a span {
  display: block;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.75;
}
.list a:hover,
.list a:focus-visible {
  color: var(--sel);
}
footer {
  padding: 0.9rem 1.2rem 1.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--deep);
}
footer a { color: var(--sel); }
footer nav { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 720px) {
  .burger { display: inline-block; margin-bottom: 0.5rem; }
  .nav { display: none; }
  .nav-toggle:checked ~ .nav { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .fx { display: none; }
}
