@charset "UTF-8";

:root {
  color-scheme: dark;
  --night: #10171c;
  --deep: #090f13;
  --paper: #f2f0e9;
  --muted: #a9b2b7;
  --orange: #e58752;
  --line: #ffffff24;
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --body-font: "Segoe UI", Arial, sans-serif;
  --display-font: "Arial Black", "Arial", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--night); color: var(--paper); font: 1rem/1.65 var(--body-font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--orange); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; }
::selection { background: var(--orange); color: var(--deep); }
.skip-link { position: absolute; z-index: 20; top: -6rem; left: 1rem; padding: .75rem 1.25rem; background: var(--paper); color: var(--deep); }
.skip-link:focus { top: 1rem; }
.site-header { padding: 1.5rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); background: var(--night); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-size: 1.05rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.brand-name span { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; margin-top: .32rem; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: clamp(1.1rem, 3vw, 3rem); }
.site-nav a { font-size: .875rem; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; padding: .5rem 0; }
.site-nav a:last-child { color: var(--orange); }
.eyebrow { margin: 0; font: 600 .75rem/1.5 var(--body-font); text-transform: uppercase; letter-spacing: .18em; }
.index-label { color: var(--orange); display: flex; align-items: center; gap: .85rem; }
.index-label::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }
.hero { position: relative; isolation: isolate; min-height: min(860px, 83vw); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: var(--deep); }
.hero-image { position: absolute; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, #090f1388 0%, #090f1322 65%, #090f1300 100%), linear-gradient(0deg, #090f13b3 0%, #090f1300 45%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(#ffffff08 1px, transparent 1px); background-size: 100% 4px; opacity: .17; pointer-events: none; }
.hero-top { display: flex; justify-content: space-between; gap: 1.5rem; padding: 2rem var(--gutter) 0; }
.hero-top .eyebrow:last-child { color: #e5e6e2; }
.hero-content { padding: 5.5rem var(--gutter) 4rem; width: 100%; }
.hero h1 { font: 900 clamp(4.2rem, 9.7vw, 10rem)/.91 var(--display-font); letter-spacing: -.065em; text-transform: uppercase; margin: 0 0 2rem -.06em; max-width: 1100px; }
.hero h1 span { display: block; }
.hero h1 .title-small { font: 500 max(.75rem, .16em)/1.2 var(--body-font); letter-spacing: .48em; margin: 0 0 1.25em .35em; }
.hero-intro { max-width: 30rem; font-size: clamp(1rem, 1.35vw, 1.2rem); color: #d4d9d9; margin: 0 0 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: 1rem 1.4rem; background: var(--orange); color: var(--deep); font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .075em; text-decoration: none; border: 1px solid var(--orange); transition: background .18s ease, color .18s ease; }
.button:hover { background: var(--paper); border-color: var(--paper); color: var(--deep); }
.hero-bottom { margin: 0 var(--gutter); border-top: 1px solid var(--line); display: flex; gap: 2rem; justify-content: space-between; align-items: center; padding: 1.2rem 0; color: var(--muted); }
.hero-bottom a { text-decoration: none; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; }
.section { padding: clamp(4rem, 8vw, 8rem) var(--gutter); }
.game-story { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 6vw, 7rem); }
.section-heading { font: 700 clamp(2rem, 4vw, 4rem)/1.07 var(--body-font); letter-spacing: -.045em; margin: 0 0 1.75rem; max-width: 780px; }
.story-copy { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; }
.story-copy p { color: var(--muted); margin: 0; max-width: 39rem; }
.game-facts { margin: 0; font-size: .85rem; }
.game-facts div { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--line); padding: .7rem 0; }
.game-facts dt { color: var(--muted); }
.game-facts dd { margin: 0; text-align: right; }
.screenshots { padding: 0 var(--gutter) clamp(4rem, 8vw, 8rem); display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.5rem; align-items: start; }
.screenshot { margin: 0; }
.screenshot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--deep); }
.screenshot:nth-child(2) { padding-top: 5rem; }
.screenshot figcaption { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding: .9rem 0; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.screenshot figcaption span:first-child { color: var(--orange); }
.studio { background: var(--paper); color: var(--night); display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 6vw, 7rem); position: relative; }
.studio .index-label { color: #9f4824; }
.studio .section-heading { max-width: 47rem; }
.studio-text { max-width: 34rem; color: #47525a; margin: 0; font-size: 1.1rem; }
.contact { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 6vw, 7rem); border-bottom: 1px solid var(--line); }
.contact .section-heading { margin-bottom: 1.5rem; }
.contact-link { font-size: clamp(1.3rem, 3.3vw, 3rem); letter-spacing: -.04em; text-decoration-thickness: 1px; text-underline-offset: .24em; overflow-wrap: anywhere; }
.contact-note { color: var(--muted); margin: 1.4rem 0 0; }
.site-footer { padding: 2rem var(--gutter); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; font-size: .75rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { font-size: .875rem; text-decoration: none; }
.version { font: .75rem/1.5 Consolas, monospace; letter-spacing: .04em; }
.legal-document { min-height: 65vh; }
.legal-layout { max-width: 1400px; margin: auto; padding: clamp(3rem, 7vw, 7rem) var(--gutter); }
.legal-content { max-width: 800px; }
.legal-content h1 { margin: 0 0 2rem; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -.055em; }
.legal-content h2 { margin: 2.5rem 0 1rem; font-size: 1.5rem; line-height: 1.25; }
.legal-content h3 { margin: 2rem 0 .75rem; }
.legal-content p, .legal-content li { color: #c2c9cc; }
.legal-content a { overflow-wrap: anywhere; }
.legal-content .eyebrow { color: var(--orange); margin-bottom: 1.5rem; }
.legal-content ul, .legal-content ol { padding-left: 1.3rem; }

@media (min-width: 1600px) { .hero { min-height: 850px; } }
@media (max-width: 900px) {
  .hero { min-height: 760px; }
  .hero-content { padding-top: 7rem; }
  .hero h1 { font-size: clamp(4.2rem, 12vw, 7rem); }
  .game-story, .studio, .contact { grid-template-columns: 1fr; gap: 2rem; }
  .story-copy { gap: 2rem; }
  .screenshots { gap: 1rem; }
  .screenshot:nth-child(2) { padding-top: 3rem; }
}
@media (max-width: 560px) {
  .site-header { padding-top: 1.1rem; padding-bottom: 1.1rem; gap: 1rem; align-items: center; flex-wrap: wrap; }
  .brand img { width: 32px; height: 32px; }
  .brand-name { font-size: .92rem; }
  .brand-name span { font-size: .53rem; }
  .site-nav { gap: 1.25rem; justify-content: flex-start; width: 100%; }
  .site-nav a { font-size: .875rem; letter-spacing: .04em; }
  .hero { min-height: 700px; }
  .hero-image { object-position: 60% center; }
  .hero-top { padding-top: 1.5rem; }
  .hero-top .eyebrow:last-child { display: none; }
  .hero-content { padding-top: 6rem; padding-bottom: 2.5rem; }
  .hero h1 { font-size: clamp(2rem, 11vw, 4.7rem); }
  .hero h1 .title-small { font-size: max(.75rem, .2em); }
  .hero-intro { font-size: 1rem; max-width: 24rem; }
  .hero-bottom { gap: 1rem; flex-wrap: wrap; }
  .hero-bottom .eyebrow { font-size: .75rem; letter-spacing: .08em; }
  .hero-bottom a { font-size: .875rem; }
  .story-copy, .screenshots { grid-template-columns: 1fr; }
  .story-copy { gap: 2rem; }
  .screenshot:nth-child(2) { padding-top: 1rem; }
  .studio-text { font-size: 1rem; }
  .footer-inner { align-items: flex-start; }
  .footer-links { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
