:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #f5f6f9;
  background: #0b1020;
  --ink: #121a29;
  --cyan: #6ee8ff;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #007f9b; outline-offset: 4px; }
.wrap { width: min(77rem, calc(100% - 4rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: .5rem; left: .5rem; padding: .8rem; background: #fff; color: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: none; }
.masthead { border-bottom: 1px solid #283447; }
.header-inner, .brand, .footer { display: flex; align-items: center; }
.header-inner { justify-content: space-between; min-height: 5.4rem; gap: 1rem; }
.brand { gap: .75rem; text-decoration: none; font-weight: 800; font-size: 1.12rem; letter-spacing: -.025em; }
.brand img { width: 3.85rem; height: auto; border-radius: .55rem; }
.brand strong { color: var(--cyan); }
nav a, .footer a { font-weight: 650; text-underline-offset: .3em; }
nav a:hover, .footer a:hover { color: var(--cyan); }
.hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 62%, #1d424a 0, transparent 59%), #0b1020;
}
.hero-grid {
  min-height: 35rem;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3rem, 6.5vw, 6rem);
}
.label { font-size: .83rem; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
.hero-copy { container-type: inline-size; }
.hero .label { color: var(--cyan); }
h1 {
  font-family: "Arial Black", system-ui, sans-serif;
  font-size: min(7rem, 19cqw);
  font-weight: 950;
  line-height: .86;
  letter-spacing: -.075em;
  margin: 1.25rem 0 .9rem;
}
.description { line-height: 1.58; }
.hero .description { margin-block: .85rem 1.55rem; max-width: 35ch; color: #c6d2e4; font-size: 1.08rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1rem; }
.store-badge {
  display: inline-grid;
  place-items: center;
  width: 9.5rem;
  aspect-ratio: 549 / 159;
  border-radius: .42rem;
  background: #000 url("assets/store-badges.png") no-repeat;
  background-size: 104.007% auto;
  color: #fff;
}
.store-badge span { clip-path: inset(50%); position: absolute; }
.google-play { background-position: 40.91% 8.45%; }
.app-store { background-position: 31.82% 94.37%; }
.store-badge:hover { box-shadow: 0 0 0 2px #8295a8; }
@media (forced-colors: active) {
  .store-badge { border: 1px solid LinkText; background: none; }
  .store-badge span { clip-path: none; position: static; }
}
.preview { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 750; }
.preview { text-underline-offset: .32em; }
.hero .preview:hover { color: var(--cyan); }
.hero-video { min-width: 0; overflow: hidden; border: 1px solid #536978; border-radius: 1rem; box-shadow: 0 1.25rem 3.5rem #050914a0; }
.catalog { color-scheme: light; background: #f0f2f5; color: var(--ink); padding-block: clamp(3rem, 7vw, 6rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: .8rem 2rem; margin-bottom: 1.8rem; }
.section-heading h2 { font-size: clamp(2.7rem, 6vw, 5rem); font-weight: 900; letter-spacing: -.07em; line-height: .98; }
.section-heading p { color: #465369; }
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.game { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid #d6dce5; border-radius: 1rem; background: #fff; }
.cover { width: 100%; height: auto; aspect-ratio: 1024 / 500; object-fit: cover; background: var(--tint); }
.game-content { display: grid; grid-template-rows: auto 1fr auto; gap: .9rem; padding: clamp(1.05rem, 2.5vw, 1.55rem); border-top: .3rem solid var(--tint); }
.getaway { --tint: #ffda67; }
.sumiryu { --tint: #d9b980; }
.voltslip { --tint: #d69bff; }
.christmas { --tint: #eba7b9; }
.game-heading { display: flex; align-items: center; gap: .8rem; }
.icon { border-radius: .65rem; flex-shrink: 0; }
.game .label { color: #4b576b; }
.game h3 { font-size: clamp(1.25rem, 3vw, 2.15rem); line-height: 1.08; letter-spacing: -.045em; }
.game .description { color: #465369; }
.game .preview:hover { color: #00657e; }
.footer { min-height: 6rem; gap: 1rem 1.5rem; flex-wrap: wrap; padding-block: 1rem; }
.footer small { margin-right: auto; }
.footer a { font-size: .9rem; }
.gallery { width: max-content; max-width: calc(100% - 2rem); max-height: calc(100% - 2rem); padding: 1rem; border: 1px solid #465369; border-radius: .9rem; background: #111829; color: #fff; }
.gallery::backdrop { background: #050914df; }
.gallery-header { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin-bottom: .75rem; }
.gallery h2 { font-size: 1.1rem; }
.gallery button { border: 1px solid #465369; border-radius: .4rem; background: #253149; color: #fff; font: inherit; cursor: pointer; min-width: 2.75rem; min-height: 2.75rem; }
.gallery img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 9rem); margin-inline: auto; object-fit: contain; border-radius: .3rem; }
@media (max-width: 55rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; min-height: 0; }

}
@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero-grid, .games { grid-template-columns: minmax(0, 1fr); }

}

.header-nav { display: flex; align-items: center; gap: clamp(.65rem, 3vw, 1.5rem); }
.language:not([hidden]) { display: inline-flex; gap: .15rem; padding: .2rem; border: 1px solid #43526a; border-radius: .5rem; }
.language button { min-width: 2.5rem; min-height: 2.5rem; border: 0; border-radius: .3rem; background: transparent; color: #f5f6f9; font: inherit; font-weight: 750; cursor: pointer; }
.language button[aria-pressed="true"] { background: var(--cyan); color: var(--ink); }
@media (max-width: 30rem) {
  .header-inner { flex-wrap: wrap; gap: .25rem .75rem; padding-block: .3rem .55rem; }
  .brand img { width: 3.25rem; }
  .header-nav { margin-left: auto; }
}

.huestes {
  --tint: #bd9260;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: auto;
  background: #151820;
  color: #fcf3e5;
}
.game-video { display: grid; align-items: center; background: #0b0d12; }
.game-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.huestes .game-content { align-content: center; grid-template-rows: auto auto auto; border-top: 0; padding: clamp(1.15rem, 3vw, 2.5rem); }
.huestes h3 { font-size: clamp(2.2rem, 5vw, 4.1rem); }
.huestes .label { color: #e9bd87; }
.huestes .description { color: #e1d8cc; }
.huestes .preview:hover { color: #e9bd87; }
.itch-link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .55rem .9rem; border-radius: .45rem; background: #fa5c5c; color: #211319; font-weight: 800; text-decoration: none; }
.itch-link:hover { background: #ff8080; }
@media (max-width: 48rem) {
  .huestes { grid-template-columns: minmax(0, 1fr); }
}

