*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 400 1rem/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #212529; background: #fff; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
main { max-width: 1000px; margin: 0 auto; }

.studio { padding: .5em 2em 4em; text-align: center; background: #f8f9fa url(/assets/images/background-gradient.png) center top / cover; }
.bird { display: block; margin: 0 auto; }
.studio h1 { margin: .5rem 0 0; line-height: 0; }
.logo { width: 300px; padding: 32px; margin-bottom: 2rem; background: #000; border-radius: 10px; }
.lead { max-width: 420px; margin: 0 auto 4rem; font-size: 1.25rem; }
.lead a { color: #0d6efd; }

.social { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; }
.social a { display: inline-flex; align-items: center; gap: 6px; padding: .5rem 1rem; color: inherit; text-decoration: none; }
.social a:hover { text-decoration: underline; }

/* Long banners, stacked */
.game { display: flex; justify-content: center; align-items: flex-start; height: 330px; padding: 1rem; background: #212529 center / cover no-repeat; }
.game img { width: 300px; }
.game:hover img, .game:focus-visible img { transform: scale(1.03); }
.game img { transition: transform .2s; }
.koira { background-image: url(/koira/images/banner.jpg); }

@media (min-width: 768px) {
  .studio { margin: 0 1rem; }
  .games { display: grid; gap: 1rem; margin: 1rem; }
  .game { padding: 3rem; }
}
@media (prefers-reduced-motion: reduce) { .game img { transition: none; } }
