:root {
  color-scheme: dark;
  --navy: #071d35;
  --ink: #041426;
  --panel: #0d2947;
  --gold: #ffb81c;
  --cream: #fae8bf;
  --body: #d4deea;
  --muted: #6485a8;
  font-family: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
.wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 0.75rem; left: 1rem; padding: 0.5rem 0.75rem; background: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }
.header { background: var(--ink); border-bottom: 1px solid #29415a; }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.header-inner { min-height: 5rem; }
.logo img { width: 11rem; height: auto; }
nav { display: flex; gap: clamp(1rem, 4vw, 2.75rem); }
nav a, .footer a { text-decoration: none; font-weight: 700; }
nav a:hover, .footer a:hover { color: var(--gold); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); border-bottom: 3px solid var(--gold); }
.hero-scenery { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #071d35 0%, #071d35d9 32%, #071d3530 100%), url("assets/mountains.webp") center bottom / cover no-repeat; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 40rem; }
.hero-copy { z-index: 1; padding-block: 4.5rem; }
.eyebrow { color: var(--gold); letter-spacing: .15em; text-transform: uppercase; font-size: .875rem; font-weight: 800; margin-bottom: 1.2rem; }
h1, h2, h3 { font-family: "Lilita One", system-ui, sans-serif; font-weight: 400; }
h1 { font-size: clamp(3.25rem, 6.7vw, 7.2rem); line-height: .95; letter-spacing: -.02em; }
h1 span { display: block; color: var(--gold); }
.intro { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--body); max-width: 34ch; margin-block: 1.75rem; }
.button { display: inline-block; background: var(--gold); color: var(--ink); text-decoration: none; padding: .7rem 1.2rem; font-weight: 800; }
.button:hover { background: var(--cream); }
.hero-art { position: relative; isolation: isolate; align-self: end; display: grid; place-items: end center; }
.hero-art img { width: min(100%, 33rem); max-height: 37rem; object-fit: contain; object-position: bottom; filter: drop-shadow(0 12px 28px #041426a0); }
.sun { position: absolute; z-index: -1; width: 76%; max-width: 27rem; aspect-ratio: 1; border-radius: 50%; top: 14%; background: #ffb81c2b; border: 1px solid #ffb81c65; }
section[id] { scroll-margin-top: 1rem; }
.section-grid { display: grid; grid-template-columns: .75fr 1fr; gap: 2rem; align-items: start; padding-block: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4.75rem); line-height: 1.05; letter-spacing: -.02em; }
h3 { font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; }
.game-showcase { padding-block: clamp(3rem, 8vw, 6rem); }
.game-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: clamp(1.75rem, 4vw, 3.5rem); }
.game-copy { min-width: 0; }
.game-copy h2 { max-width: 16ch; }
.game-copy p, .studio p { max-width: 58ch; }
.game-copy p:not(.eyebrow, .game-pitch), .studio p { color: var(--body); }
.game-pitch { font-size: 1.25rem; font-weight: 700; margin-block: 1rem .5rem; }
.game-copy .button { margin-top: 1.2rem; }
.availability { margin-top: .75rem; font-size: .9375rem; }
.game-cover { width: 100%; height: auto; border: 1px solid #385675; border-radius: .5rem; }
.testing { max-width: 33rem; margin-top: clamp(1.75rem, 4vw, 3.5rem); padding: clamp(1rem, 4vw, 2rem); background: var(--panel); border: 1px solid #385675; border-radius: .85rem; }
.testing-platform { display: flex; align-items: center; gap: .5rem; margin-bottom: .65rem; color: var(--body); font-size: .875rem; font-weight: 800; }
.testing-platform img { object-fit: contain; }
.testing label { display: block; margin: 1rem 0 .4rem; font-weight: 700; }
.testing-fields { display: flex; flex-wrap: wrap; gap: .75rem; }
.testing input { flex: 1 1 14rem; min-width: 0; padding: .7rem .85rem; font: inherit; color: var(--cream); background: var(--ink); border: 1px solid var(--muted); }
.testing button { border: 0; font: inherit; font-weight: 800; cursor: pointer; }
.testing button:disabled { opacity: .65; cursor: wait; }
.testing :is(input, button):focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.testing-status:not(:empty) { margin-top: .75rem; color: var(--cream); }
.testing-status[data-error] { color: #ffb9ac; }
.game-gallery { margin-top: clamp(2.75rem, 7vw, 5rem); }
.game-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 3vw, 2rem); max-width: 55rem; margin: 1.25rem auto 0; }
.game-shots figure { margin: 0; min-width: 0; }
.game-shots img { width: 100%; height: auto; border: 1px solid #385675; border-radius: .5rem; }
.game-shots a { display: block; border-radius: .5rem; }
.game-shots a:hover img { border-color: var(--gold); }
.game-shots figcaption { margin-top: .55rem; font-weight: 700; }
.studio { background: var(--navy); border-block: 1px solid #29415a; }
.studio p { font-size: 1.125rem; }
.footer { padding-block: 1.5rem; }
.footer p { color: var(--body); }
@media (max-width: 47rem) {
  .hero-inner, .section-grid, .game-feature { grid-template-columns: 1fr; }
  .hero-copy { padding-block: 3rem 1.5rem; }
  .hero-art img { width: min(100%, 24rem); }
  .hero-scenery { background: linear-gradient(180deg, #071d35 25%, #071d3550 90%), url("assets/mountains.webp") 64% bottom / auto 65% no-repeat; }
  .section-grid { gap: 1.25rem; }
  .game-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 26rem) {
  .wrap { width: calc(100% - 2rem); }
  .logo img { width: 8rem; }
  h1 { font-size: clamp(2.65rem, 14vw, 3.25rem); }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
