:root {
  color-scheme: light;
  --sky: #c4e8f7;
  --ink: #143b55;
  --line: rgb(20 59 85 / 20%);
  --accent: #a8dbea;
  --world: #153b55;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 160px; }
body {
  margin: 0;
  background: #e8f5fa;
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--sky);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 166px; flex: none; }
.nav-links, .footer-links { display: flex; gap: 30px; align-items: center; }
.nav-links a, .footer-links a, .eyebrow, .back-link, .button, .world-label {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-links a, .footer-links a { text-decoration: none; padding-block: 10px; }
.nav-links a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-contact { padding: 12px 16px; border: 1px solid var(--ink); text-decoration: none; font-size: 11px; font-weight: 850; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 23px; cursor: pointer; }
.discord-banner { display: flex; min-height: 48px; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 18px; padding: 10px 18px; background: #143b55; color: #c4e8f7; text-align: center; text-decoration: none; font-size: 13px; }
.discord-banner strong { text-decoration: underline; text-underline-offset: 4px; }
.discord-banner:hover { background: #204d6a; }
.discord-banner:focus-visible { outline-offset: -4px; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 12px; z-index: 20; background: white; }
.skip-link:focus { top: 12px; }
.run { --accent: #f4c89a; --world: #352c39; }
.wild { --accent: #c0dbb5; --world: #234b43; }
.game-hero { overflow: hidden; background: var(--world); color: var(--accent); }
.hero-inner { padding-block: 32px 60px; }
.back-link { display: inline-block; text-decoration: none; padding-block: 8px; }
.back-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; padding-top: 55px; }
.eyebrow { margin: 0 0 22px; }
h1 { margin: 0; font-size: clamp(54px, 7.5vw, 104px); line-height: .93; letter-spacing: -.065em; text-transform: uppercase; overflow-wrap: break-word; }
.hero-summary { max-width: 410px; margin: 26px 0; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid currentColor; text-decoration: none; }
.button-primary { background: var(--accent); color: var(--world); border-color: var(--accent); }
.button:hover { text-decoration: underline; text-underline-offset: 5px; }
.world-art { position: relative; display: grid; place-items: center; min-height: 390px; overflow: hidden; border: 1px solid currentColor; }
.world-art::before, .world-art::after { content: ""; position: absolute; border: 1px solid currentColor; }
.arena .world-art::before { width: 230px; height: 230px; transform: rotate(45deg); }
.arena .world-art::after { width: 140px; height: 140px; transform: rotate(45deg); background: var(--accent); }
.run .world-art::before { width: 280px; height: 280px; border-radius: 50%; border-width: 32px; }
.run .world-art::after { width: 85px; height: 450px; transform: rotate(30deg); background: var(--world); border: 0; }
.wild .world-art::before { width: 300px; height: 300px; border-radius: 50% 50% 0 0; bottom: -100px; background: var(--accent); }
.wild .world-art::after { width: 190px; height: 190px; border-radius: 50% 50% 0 0; bottom: -75px; background: var(--world); }
.world-label { position: absolute; top: 16px; left: 18px; }
.world-note { position: absolute; bottom: 12px; right: 18px; font-size: 10px; letter-spacing: .08em; }
.fact-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-bottom: 1px solid var(--line); }
.fact-strip > div { padding: 24px 0; }
dt { margin-bottom: 6px; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
dd { margin: 0; font-size: 15px; }
.section { padding-block: 80px; }
.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
h2 { margin: 0 0 24px; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.05em; line-height: 1.05; }
.section-copy p { max-width: 550px; margin: 0 0 20px; }
.details { margin: 0; border-top: 1px solid var(--line); }
.details > div { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.details dt { margin: 0; align-self: center; }
.media-section { background: var(--sky); }
.media-note { padding: 36px; border: 1px dashed var(--ink); max-width: 720px; }
.media-note p { margin: 12px 0 0; }
.hero-description { max-width: 440px; margin-bottom: 30px; }
.game-key-art { margin: 0; width: 100%; max-width: 460px; justify-self: end; }
.game-key-art img { width: 100%; border: 1px solid var(--line); }
.game-key-art figcaption { margin-top: 14px; font-size: 11px; }
.feature-section { border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.feature-grid article { padding-top: 24px; border-top: 1px solid var(--line); }
.feature-grid h3 { font-size: 23px; margin: 16px 0 12px; letter-spacing: -.025em; }
.feature-grid p { margin: 0; }
.trailer-link { display: grid; grid-template-columns: 1fr 1fr; align-items: center; border: 1px solid var(--line); text-decoration: none; margin-bottom: 32px; }
.trailer-link img { width: 100%; height: auto; }
.trailer-link > span { padding: 32px; display: grid; gap: 12px; }
.trailer-link strong { font-size: clamp(22px, 3vw, 36px); line-height: 1.15; letter-spacing: -.03em; }
.trailer-link span span { color: var(--accent); }
.trailer-link:hover strong { text-decoration: underline; text-underline-offset: 6px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.screenshot-grid figure { margin: 0; }
.screenshot-grid figure:first-child { grid-column: 1 / -1; }
.screenshot-grid a { display: block; border: 1px solid var(--line); }
.screenshot-grid a:hover { border-color: var(--accent); }
.screenshot-grid img { width: 100%; height: auto; }
.screenshot-grid figcaption { margin-top: 10px; font-size: 12px; }
.media-source { font-size: 12px; margin-top: 32px; }
.contact-section { background: var(--world); color: var(--accent); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.contact-inner h2 { margin-bottom: 14px; }
.contact-inner p { margin: 0; max-width: 580px; }
.contact-inner .button { flex: none; }
.more-games { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.other-game { display: flex; justify-content: space-between; gap: 16px; padding: 28px; border: 1px solid var(--line); text-decoration: none; font-size: 21px; font-weight: 800; }
.other-game:hover { background: var(--sky); }
.footer { padding-block: 40px 24px; background: var(--sky); border-top: 1px solid var(--line); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { width: 150px; }
.footer-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11px; }
.footer-meta p { margin: 0; }
:focus-visible { outline: 3px solid #528bad; outline-offset: 5px; }
@media (max-width: 850px) {
  .game-key-art { justify-self: start; }
  .feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .world-art { min-height: 280px; }
  .section-grid { gap: 32px; }
  .nav { gap: 16px; }
  .nav-links { gap: 18px; }
  .nav-contact { display: none; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .trailer-link, .screenshot-grid { grid-template-columns: 1fr; }
  .trailer-link > span { padding: 24px; }
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 70px; }
  .brand { width: 145px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 18px 15px; border-bottom: 1px solid var(--line); background: var(--sky); }
  .nav-links.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 13px 0; }
  .hero-grid { padding-top: 32px; }
  .hero-inner { padding-block: 22px 36px; }
  h1 { font-size: clamp(45px, 12vw, 72px); }
  .hero-summary { font-size: 16px; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact-strip > div { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .fact-strip > div:last-child { border: 0; }
  .section { padding-block: 50px; }
  .section-grid, .more-games { grid-template-columns: 1fr; }
  .media-note { padding: 24px; }
  .footer-main, .footer-meta { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
