/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-foot {
  border-top: 1px solid var(--bdr);
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-block: 2.4rem 3rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-foot .wrap {
  display: grid;
  gap: 1.1rem;
}
.foot-nav {
  display: flex;
  gap: 0.5rem 1.8rem;
  flex-wrap: wrap;
}
.foot-nav a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.foot-nav a:hover {
  color: var(--accent);
}
/* WCAG 2.5.8 (AA), TARGET SIZE. These were 38x19 on every page and at every
   width — a clear fail of the 24x24 minimum, and this site's floor is AA. They
   are not covered by the criterion's inline exception: that excuses a link
   sitting INSIDE a sentence, and these are a nav laid out as a row of its own.
   Nobody had noticed because a mouse hits a 19px target every time.

   PADDING, never a bigger font: the footer keeps the size it was drawn at and
   only the hit area grows. A finger wants nearer 44 than 24, which is what a
   coarse pointer gets — the row gap tightens to pay for it, because the
   padding is now doing the separating. */
.foot-nav a { padding-block: 0.4rem; }
@media (pointer: coarse) {
  .foot-nav { gap: 0.15rem 1.8rem; }
  .foot-nav a { padding-block: 0.8rem; }
}
.foot-line {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
.foot-promise {
  margin: 0;
  font-style: italic;
}

/* One door into feedback, in the footer of every page. It sits here rather
   than floating over the content because nothing on this site should chase
   the reader — and on the game page a floating control would land on the
   board. */
.foot-feedback {
  display: flex;
  align-items: center;
  gap: 0.6rem 1rem;
  flex-wrap: wrap;
  margin: 0.3rem 0 0;
}
.foot-feedback .btn {
  padding: 0.72em 1.5em;
  font-size: 0.68rem;
}
.foot-feedback-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Error page
   -------------------------------------------------------------------------- */
.error-hero {
  text-align: center;
  padding-block: clamp(3rem, 9vw, 6rem) 1rem;
}
.error-hero .board-art {
  max-width: 13rem;
  margin: 0 auto 2rem;
}

/* --------------------------------------------------------------------------
   Scroll reveals
   -------------------------------------------------------------------------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
html.js .game-grid > .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
html.js .game-grid > .reveal:nth-child(3) {
  transition-delay: 0.2s;
}
html.js .traits > .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
html.js .traits > .reveal:nth-child(3) {
  transition-delay: 0.2s;
}
html.js .d1 { transition-delay: 0.06s; }
html.js .d2 { transition-delay: 0.14s; }
html.js .d3 { transition-delay: 0.22s; }

/* --------------------------------------------------------------------------
   Motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fall-piece,
  .hero-ocean,
  .depth-p,
  .featured-label .pulse {
    animation: none;
  }
  html.js .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html.js .slide.active .featured-label,
  html.js .slide.active h2,
  html.js .slide.active .genre-row,
  html.js .slide.active .slide-line,
  html.js .slide.active .platform-row,
  html.js .slide.active .slide-aside {
    animation: none;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }
  h1, h2, h3 {
    color: #000;
  }
  .site-nav,
  .skip-link,
  .site-foot .foot-nav,
  .no-print {
    display: none !important;
  }
  a {
    color: #000;
  }
}

