:root {
  color-scheme: dark;
  --background: #111917;
  --text: #f1efe5;
  --muted: #a7b1a8;
  --orange: #edb778;
  --mint: #98c8b6;
  --line: #d4dfcc24;
  --font-title: 3rem;
  --font-subtitle: 1.5rem;
  --font-body: 1rem;
  --font-footer: .875rem;
  font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; font-size: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
::selection { background: var(--orange); color: var(--background); }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 12px 18px; background: var(--text); color: var(--background); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { height: 72px; display: flex; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { border-radius: 10px; width: 36px; height: 36px; }
.brand span { font-weight: 750; white-space: nowrap; }
nav { display: flex; gap: 28px; }
nav a { display: block; padding-block: 14px; color: #d9dfd4; transition: color .2s; }
nav a:hover { color: var(--orange); }
.site-footer { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.status { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.status > span { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; gap: 40px; padding-block: 32px; border-bottom: 1px solid var(--line); }
.hero-copy { margin-top: 20px; }
.eyebrow { margin: 0 0 16px; line-height: 1.6; color: var(--muted); }
h1 { font-size: var(--font-title); font-weight: 600; letter-spacing: -.04em; line-height: 1.12; margin: 0; }
h1 span { color: var(--orange); }
.hero-description { line-height: 1.6; color: #c2cbbf; margin: 0; max-width: 48ch; }
.text-link { font-weight: 600; display: inline-flex; align-items: center; gap: 30px; padding-block: 10px; border-bottom: 1px solid #d4dfcc60; transition: color .2s, border-color .2s; }
.text-link:hover { color: var(--orange); border-color: var(--orange); }
.hero-actions { display: grid; grid-template-columns: max-content max-content; align-items: center; justify-content: start; gap: 12px; margin-top: 20px; }
.gameplay-link { gap: 8px; min-height: 64px; padding: 0; border: 0; }
.gameplay-link svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.store-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; padding: 6px 10px; border: 1px solid #78867b; border-radius: 7px; background: #080d0b; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.store-button:disabled { cursor: default; }
.store-button:not(:disabled):hover { border-color: var(--orange); }
.store-button > svg { width: 25px; height: 28px; fill: currentColor; flex-shrink: 0; }
.store-button > span { min-width: 0; }
.store-button small { display: block; color: #c2cbbf; font-size: inherit; line-height: 1.4; }
.store-button strong { display: block; font-size: var(--font-subtitle); font-weight: 600; line-height: 1.25; white-space: nowrap; }
.store-notice { line-height: 1.7; color: var(--orange); margin: 14px 0 0; }
.store-notice:empty { display: none; }
.hero-actions .store-notice { grid-column: 1 / -1; margin: 0; }
figure { margin: 0; }
.hero-scene picture { display: block; overflow: hidden; border-radius: 3px; }
.hero-scene img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: center; }
figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--muted); line-height: 1.6; padding-top: 12px; }
.hero-scene figcaption, .world-art figcaption { padding-top: 8px; }
.platforms { color: var(--muted); margin: 12px 0 0; }
.game-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: start; padding-block: 48px; }
.world-art > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; border-radius: 3px; }
h2 { font-size: var(--font-title); font-weight: 600; letter-spacing: -.04em; line-height: 1.12; margin: 0; }
.intro-copy { line-height: 1.6; color: var(--muted); margin: 16px 0 0; max-width: 48ch; }
.features { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.features article { border-top: 1px solid var(--line); padding-top: 16px; }
h3 { font-size: var(--font-subtitle); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; margin: 0 0 8px; }
.features p { color: var(--muted); line-height: 1.6; margin: 0; }
.game-detail { color: var(--muted); line-height: 1.6; margin: 16px 0 0; }
.gallery-section { padding-top: 32px; border-top: 1px solid var(--line); }
.gallery-heading { margin-bottom: 24px; }
.gallery-heading > p { color: var(--muted); line-height: 1.6; margin: 12px 0 0; }
.gallery-hint { display: none; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.screenshot { display: block; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: #080e10; }
.screenshot > img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: contain; transition: opacity .25s; }
.screenshot:hover > img { opacity: .8; }
.expand { display: none; }
.gallery-grid figcaption { align-items: center; padding-top: 10px; }
.scene-name { display: block; color: var(--text); }
.scene-weather { display: block; margin-top: 2px; text-transform: capitalize; }
.watch-video { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 3px; color: var(--mint); white-space: nowrap; transition: border-color .2s, color .2s; }
.watch-video:hover { border-color: var(--mint); color: var(--text); }
.watch-video > :last-child { color: var(--muted); }
.watch-video svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.questions-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.questions-list details { border-bottom: 1px solid var(--line); }
.questions-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 56px; padding-block: 16px; list-style: none; font-weight: 600; cursor: pointer; }
.questions-list summary::-webkit-details-marker { display: none; }
.questions-list summary::after { content: "+"; flex-shrink: 0; color: var(--orange); font-weight: 400; }
.questions-list details[open] summary::after { content: "−"; }
.questions-list summary:hover { color: var(--orange); }
.questions-list p { margin: 0; padding: 0 28px 20px 0; color: var(--muted); line-height: 1.6; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 48px; padding-block: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.closing h2 span { color: var(--orange); }
.release-info { text-align: right; }
.release-info .status { justify-content: flex-end; margin: 8px 0 0; }
.release-platforms { color: var(--muted); margin: 12px 0 0; }
.site-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; padding-block: 24px; font-size: var(--font-footer); color: var(--muted); line-height: 1.6; }
.footer-copy { display: grid; gap: 6px; }
.engine-credit { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.engine-credit img { width: 64px; height: 64px; flex-shrink: 0; object-fit: contain; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.footer-links > :is(a, button) { min-height: 32px; display: inline-flex; align-items: center; text-align: right; }
.footer-links > [hidden] { display: none; }
.site-footer a:hover { color: var(--orange); }
.footer-control { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.footer-control:hover { color: var(--orange); }
.analytics-consent { position: fixed; z-index: 10; bottom: 20px; left: 50%; transform: translateX(-50%); width: min(860px, calc(100% - 40px)); max-height: calc(100dvh - 40px); overflow-y: auto; display: flex; align-items: center; gap: 28px; padding: 22px 24px; border: 1px solid #78867b; border-radius: 5px; background: #18221e; box-shadow: 0 8px 40px #0006; }
.analytics-consent[hidden] { display: none; }
.analytics-consent h2 { font-size: var(--font-subtitle); letter-spacing: -.02em; }
.analytics-consent p { color: #c2cbbf; line-height: 1.7; margin: 8px 0; }
.analytics-consent a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; flex-shrink: 0; gap: 10px; }
.consent-actions button { min-height: 44px; padding: 10px 14px; border: 1px solid #78867b; border-radius: 3px; background: #111917; cursor: pointer; }
.consent-actions button:hover { border-color: var(--orange); }
.not-found-page { padding-block: 70px; }
.not-found-page .eyebrow { margin-top: 90px; color: var(--orange); }
.not-found-page .text-link { margin-top: 24px; }
.lightbox { width: min(1400px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--line); background: var(--background); color: var(--text); border-radius: 4px; }
.lightbox::backdrop { background: #050a08ed; backdrop-filter: blur(7px); }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px 12px 20px; }
.lightbox-toolbar p { margin: 0; color: #c2cbbf; min-width: 0; }
.lightbox-controls { display: flex; gap: 8px; flex-shrink: 0; }
.lightbox-controls button { width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 3px; cursor: pointer; }
.lightbox-controls button:hover { color: var(--orange); border-color: var(--orange); }
.lightbox-image, .lightbox-video { display: block; max-height: calc(100dvh - 116px); width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #080e0c; }
.lightbox [hidden] { display: none; }
body:has(.lightbox[open]) { overflow: hidden; }
@media (max-width: 900px) {
  :root { --font-title: 2rem; }
  .hero { gap: 24px; padding-block: 32px; }
  .hero-scene img { aspect-ratio: 16 / 10; max-height: 380px; }
  .game-section { column-gap: 32px; }
}
@media (max-width: 760px) {
  .site-header > .status { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 20px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 64px; gap: 20px; }
  .brand { gap: 9px; }
  .brand img { width: 31px; height: 31px; border-radius: 8px; }
  nav { gap: 16px; }
  .hero { padding-block: 24px; }
  .hero-copy { margin-top: 16px; }
  .hero-actions { grid-template-columns: minmax(0, 1fr) auto; max-width: 320px; }
  .hero-scene { margin-inline: -20px; }
  .hero-scene picture { border-radius: 0; }
  .hero-scene img { max-height: none; }
  .hero-scene figcaption { margin-inline: 20px; }
  .game-section { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 40px; }
  .game-copy { order: 0; }
  .world-art { order: 1; }
  .features { order: 2; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .gallery-hint { color: var(--muted); display: block; margin: 0 0 12px; }
  .gallery-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 92%; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 3px 20px 15px; scroll-padding-inline: 20px; scrollbar-width: thin; scrollbar-color: #526457 transparent; }
  .gallery-grid > figure { min-width: 0; scroll-snap-align: start; }
  .gallery-grid figcaption { padding-top: 10px; }
  .watch-video { padding-inline: 10px; }
  .questions-section { display: block; margin-top: 32px; padding-top: 28px; }
  .questions-list { margin-top: 16px; }
  .questions-list summary { min-height: 52px; padding-block: 14px; }
  .questions-list p { padding-right: 20px; }
  .closing { display: block; margin-top: 32px; padding-block: 24px; }
  .release-info { text-align: left; margin-top: 20px; }
  .release-info .status { justify-content: flex-start; }
  .site-footer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding-block: 20px 25px; }
  .footer-copy { grid-column: 1 / -1; gap: 4px; }
  .engine-credit { flex-direction: column; align-items: flex-start; gap: 8px; white-space: normal; }
  .engine-credit img { width: 56px; height: 56px; }
  .footer-links { gap: 0; }
  .footer-links > :is(a, button) { min-height: 44px; }
  .analytics-consent { display: block; bottom: 12px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 18px; }
  .consent-actions { margin-top: 15px; }
  .consent-actions button { flex: 1; }
  .lightbox { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .lightbox-toolbar { padding: 12px; gap: 12px; flex-wrap: wrap; }
  .lightbox-toolbar p { flex-basis: 100%; }
  .lightbox-controls { gap: 4px; }
  .lightbox-controls button { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html, .gallery-grid { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.legal-page { padding-block: 70px; max-width: 760px; }
.legal-page .eyebrow { margin-top: 90px; color: var(--orange); }
.legal-page h2 { margin: 40px 0 8px; font-size: var(--font-subtitle); }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page strong { color: var(--text); }
.legal-page .legal-updated { font-size: var(--font-footer); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 48px; }
