/* Studio page gogigames.com. The light plate of the game (--light) is the page; the one game sits on it as a dark game
   window. The studio name is the big thing, set in the title font. */
body { background: var(--light); color: var(--light-ink); color-scheme: light; }
.skip { background: var(--light-ink); color: var(--light); }
a:focus-visible, .btn:focus-visible { outline-color: #1d6fd8; }

.top { position: relative; display: grid; gap: 28px; max-width: 1180px; margin: 0 auto; padding: clamp(72px, 12vw, 160px) var(--gutter) clamp(40px, 6vw, 72px); }
.top__name { font: 400 clamp(64px, 13vw, 168px)/0.92 var(--title); letter-spacing: 0.005em; color: var(--light-ink); }
.top__intro { max-width: 34ch; font-size: clamp(19px, 2vw, 24px); line-height: 1.45; color: #2a3360; }
.lang { position: absolute; top: var(--gutter); right: var(--gutter); }
.lang a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 8px; background: #fff; color: var(--light-ink);
  font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: inset 0 0 0 2px var(--light-edge), 0 3px 0 var(--light-edge);
}

main { display: grid; gap: clamp(48px, 7vw, 88px); max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 9vw, 120px); }

/* the game: a dark game window on the light page */
.game {
  display: grid; overflow: hidden; border-radius: 14px; background: var(--plate); color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--edge), 0 8px 0 var(--light-edge);
}
.game__art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.game__text { display: grid; gap: 18px; align-content: center; padding: clamp(22px, 3.4vw, 44px); }
.game__logo img { width: 304px; max-width: 100%; image-rendering: pixelated; }
.game__text p { max-width: 40ch; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
@media (min-width: 1000px) {
  .game { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .game__art img { height: 100%; aspect-ratio: auto; }
}

.contact { display: grid; gap: 10px; }
.contact h2 { font: 400 clamp(28px, 3vw, 40px)/1.1 var(--title); }
.contact p { font-size: 18px; color: #2a3360; }
.contact a { font-weight: 700; color: var(--light-ink); overflow-wrap: anywhere; }

.foot { background: #dfe5fb; border-top-color: var(--light-edge); color: #2a3360; padding-inline: max(var(--gutter), calc((100% - 1180px) / 2 + var(--gutter))); }
.foot a { color: var(--light-ink); }

@media (max-width: 999px) {
  .actions .btn { flex: 1 1 auto; }
}
