@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,900&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* A film-led game site. Gameplay stays uncropped; only atmospheric footage fills its frame. */
:root {
  color-scheme: dark;
  --bg: #080b0c;
  --ink: #f2f0e8;
  --muted: #aeb7b6;
  --accent: #c6e4c0;
  --line: #ffffff30;
  --logo: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  --display: 'IBM Plex Mono', monospace;
  --mono: 'IBM Plex Mono', monospace;
}
* { box-sizing: border-box; }
h1, h2, h3 { overflow-wrap: break-word; }
.intro > *, .section-heading > *, .people-layout > *, .wishlist-layout > *, .faq > * { min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 35px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.8 var(--mono); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
img { display: block; width: 100%; height: auto; }
p { margin: 0 0 25px; color: var(--muted); }
h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: none; font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(38px, 4.2vw, 68px); letter-spacing: -.035em; }
h2 { font-size: clamp(34px, 3.8vw, 62px); letter-spacing: -.02em; }
h3 { font-size: 25px; }
em { font-style: normal; }
figure { margin: 0; }
.wrap { width: min(1500px, calc(100% - 140px)); margin-inline: auto; }
.section { padding-block: 125px; }
.eyebrow { font: 12px/1.5 var(--mono); letter-spacing: .08em; margin-bottom: 25px; }
.skip { position: fixed; top: -90px; left: 20px; z-index: 20; padding: 14px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 15px; }

/* The opening acts as a title sequence; navigation sits quietly over the film. */
.header { position: absolute; z-index: 5; inset: 0 0 auto; height: 105px; padding-inline: 4vw; display: flex; align-items: center; gap: 40px; }
.wordmark { font: italic 900 34px/.9 var(--logo); letter-spacing: -.045em; }
.wordmark span { display: none; }
.header nav { display: flex; gap: 28px; margin-left: auto; font-size: 12px; font-weight: 600; }
.nav-cta { border-bottom: 1px solid #ffffff99; padding: 8px 0; font-size: 12px; font-weight: 700; }
.nav-cta span { margin-left: 15px; }
.menu-toggle { display: none; }
.hero { height: max(760px, 100svh); max-height: 1250px; position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; }
.hero-art, .hero-film { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-film { z-index: -2; opacity: 0; transition: opacity 1s; pointer-events: none; }
.hero-film.is-playing { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #04070988, #04070908 35%, #04070933 65%, #080b0c); }
.hero-content { width: 100%; text-align: center; padding: 90px 4vw 130px; }
.hero-category { color: var(--ink); font: 12px var(--mono); letter-spacing: .28em; text-transform: uppercase; margin-bottom: 8px; }
.hero-logo { color: var(--ink); font: italic 900 clamp(100px, 21.7vw, 370px)/1 var(--logo); letter-spacing: -.035em; margin: 0 0 22px; text-shadow: 0 3px 45px #0004; }
.hero-play { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.play-ring { display: grid; place-items: center; width: 78px; height: 78px; border: 1px solid #ffffffb0; border-radius: 50%; font-size: 22px; padding-left: 4px; transition: background .2s, transform .2s; }
.hero-play:hover .play-ring { background: var(--ink); color: var(--bg); transform: scale(1.06); }
.hero-bottom { position: absolute; bottom: 30px; left: 4vw; right: 4vw; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.platforms { font: 10px/1.8 var(--mono); margin: 0; color: #c9d0cb; }
.platforms span { display: block; color: #a1aaa3; }
.scroll-cue { position: absolute; left: 50%; font-size: 34px; font-weight: 400; transform: translateX(-50%); }
#motion-toggle { background: transparent; color: #d8dcd6; border: 0; border-bottom: 1px solid #ffffff55; padding: 10px 0; font: 10px var(--mono); }
.intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10%; align-items: center; padding-top: 100px; padding-bottom: 150px; }
.intro h1 em { color: var(--accent); }
.intro-copy { width: 100%; max-width: 520px; }
.hero-description { color: #d5dad5; font-size: 14px; line-height: 1.9; max-width: 570px; margin: 30px 0 0; }
.intro-steam { display: block; }
.intro-steam img { width: 100%; }
.intro-steam-cta { display: flex; align-items: center; gap: 14px; min-height: 65px; padding: 17px 22px; background: var(--ink); color: #17251c; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; transition: background .2s; }
.intro-steam:hover .intro-steam-cta { background: var(--accent); }
.steam-icon { color: #17251c; flex-shrink: 0; }
.steam-icon g { stroke: var(--ink); }
.intro-steam:hover .steam-icon g { stroke: var(--accent); }
.steam-arrow { margin-left: auto; font-size: 19px; }
.actions { display: flex; gap: 15px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 54px; padding: 15px 28px; text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .04em; transition: background .2s, color .2s; }
.primary { background: var(--ink); color: #111; }
.primary:hover { background: var(--accent); color: #111; }

/* Large player with a related-video sidebar; stacked on small screens. */
#footage { width: min(1700px, calc(100% - 60px)); padding-top: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 70px; margin: 0 0 55px; }
.section-heading h2 { max-width: 820px; }
.section-heading > p { font-size: 14px; line-height: 1.8; max-width: 350px; flex-shrink: 0; margin-bottom: 5px; }
#footage .section-heading { margin-inline: 40px; }
#footage h2 { font-size: clamp(34px, 3.8vw, 62px); max-width: 700px; }
.media-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 30px; }
.player-frame { width: 100%; min-width: 0; position: relative; }
.window-bar { display: none; }
#trailer-player { display: block; width: 100%; aspect-ratio: 16/9; background: #000; }
.player-caption { display: flex; justify-content: space-between; padding: 15px 0; font: 10px/1.5 var(--mono); color: var(--muted); }
.playlist { display: grid; grid-template-columns: 1fr; gap: 24px; }
.clip { display: grid; grid-template-columns: 110px minmax(0, 1fr) 16px; gap: 15px; align-items: center; text-align: left; color: var(--ink); background: transparent; border: 0; border-top: 2px solid #ffffff25; padding: 20px 0 0; }
.clip.active { border-color: var(--ink); }
.clip:hover { border-color: var(--accent); }
.clip img { width: 110px; aspect-ratio: 16/10; object-fit: cover; }
.clip small { display: block; color: var(--muted); font: 10px/1.5 var(--mono); }
.clip strong { display: block; font: 600 16px/1.4 var(--display); text-transform: none; }
.clip span span { display: block; font-size: 11px; line-height: 1.5; color: var(--muted); }
.clip b { font-size: 25px; font-weight: 400; }
.video-error { font-size: 14px; padding-block: 10px; }
.video-error a { text-decoration: underline; }

/* The simulation is one large composition, rather than three feature cards. */
.simulation { padding-top: 85px; padding-bottom: 160px; }
.simulation > .wrap { display: grid; grid-template-columns: .65fr 1.35fr; column-gap: 75px; align-items: start; }
.simulation .section-heading { grid-column: 1 / -1; margin-bottom: 70px; }
.simulation h2 { max-width: 770px; }
.mechanics { display: grid; gap: 34px; }
.step { font: 10px var(--mono); display: block; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.mechanics h3 { font-size: 23px; }
.mechanics p { font-size: 13px; line-height: 1.8; margin: 14px 0; }
.mechanics code { font: 9px/1.7 var(--mono); color: #82978e; }
.wide-shot { margin-top: 20px; position: sticky; top: 40px; }
.wide-shot figcaption { font: 10px/1.8 var(--mono); color: var(--muted); padding-top: 18px; display: flex; flex-direction: column; gap: 7px; }
.wide-shot figcaption span:last-child { color: #81938b; }
[data-gallery] { display: block; cursor: zoom-in; }
[data-gallery] img { transition: filter .25s; }
[data-gallery]:hover img { filter: brightness(1.1); }


/* Character names carry the scene, with none of the dashboard chrome. */
.people { background: #172821; padding-block: 145px; }
.people-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 9vw; align-items: center; }
.people h2 { font-size: clamp(32px, 3.6vw, 54px); margin-bottom: 35px; }
.people-layout > div > p:not(.eyebrow) { max-width: 500px; font-size: 15px; color: #bfcac0; }
.people .eyebrow { color: #bac8b9; }
.text-link { display: inline-block; max-width: 400px; font-size: 11px; border-bottom: 1px solid #ffffff55; padding-bottom: 8px; }
.contact-heading { display: flex; justify-content: space-between; font: 10px var(--mono); color: #b6c5b4; margin-bottom: 25px; }
.contacts > div:not(.contact-heading) { padding: 18px 0; border-top: 1px solid #b4c4b333; }
.contacts strong { display: block; font: 600 clamp(28px, 3vw, 42px)/1.2 var(--display); text-transform: none; letter-spacing: -.025em; }
.contacts div > span { font-size: 12px; color: #b1c0b3; }
.contacts > p { font: 11px/1.8 var(--mono); margin: 26px 0 0; color: #9baf9c; }

/* Oversized, staggered screenshots: each gets its own moment. */
#screenshots { padding-top: 155px; }
#screenshots .section-heading { display: block; max-width: 1000px; margin: 0 auto 90px; text-align: center; }
#screenshots h2 { max-width: none; font-size: clamp(36px, 4.8vw, 74px); }
#screenshots .section-heading > p { max-width: none; margin-top: 30px; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 70px 30px; align-items: start; }
.gallery figure:nth-child(1) { grid-column: 1 / 10; }
.gallery figure:nth-child(2) { grid-column: 6 / -1; }
.gallery figure:nth-child(3) { grid-column: 1 / 9; }
.gallery figure:nth-child(4) { grid-column: 7 / -1; }
.gallery figcaption { padding-top: 22px; }
.gallery figcaption strong { display: block; font: 600 22px/1.35 var(--display); text-transform: none; margin-bottom: 8px; }
.gallery figcaption span { color: var(--muted); font-size: 13px; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; padding-top: 80px; padding-bottom: 140px; }
.faq h2 { max-width: 450px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font-size: 15px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:after { content: '+'; font: 26px var(--mono); font-weight: 400; }
details[open] summary:after { content: '−'; }
details p { font-size: 13px; line-height: 1.8; padding-right: 25px; }
.wishlist { background: #cbd2c6; color: #111d17; padding-block: 130px; }
.wishlist-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 9vw; align-items: center; }
.steam-capsule { display: block; }
.steam-capsule > span { display: flex; justify-content: space-between; gap: 15px; padding-top: 18px; font: 10px var(--mono); }
.steam-capsule:hover { color: #375543; }
.wishlist h2 { font-size: clamp(36px, 4.5vw, 68px); margin-bottom: 30px; }
.wishlist p { color: #44564a; }
.wishlist .primary { background: #17251c; color: var(--ink); }
.wishlist .primary:hover { background: #345640; }
.wishlist .platforms { margin-top: 20px; color: #425548; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-block: 65px 35px; }
.footer .wordmark { font-size: 54px; }
.footer p { font-size: 11px; margin: 20px 0 0; }
.footer nav { display: flex; gap: 30px; font-size: 12px; }
.footer-bottom { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding-top: 35px; border-top: 1px solid var(--line); font: 9px var(--mono); color: var(--muted); }
.footer-bottom div { display: flex; gap: 20px; }
dialog { width: min(1500px, 95vw); max-height: 95vh; padding: 55px 15px 15px; background: #101714; color: var(--ink); border: 1px solid #617567; }
dialog::backdrop { background: #000e; }
dialog img { max-height: 75vh; object-fit: contain; }
dialog p { text-align: center; font-size: 12px; margin: 12px 0 0; }
.dialog-close { position: absolute; top: 10px; right: 15px; background: transparent; color: var(--ink); padding: 5px 10px; border: 1px solid #809285; font-size: 12px; }
body:has(dialog[open]) { overflow: hidden; }

@media (max-width: 1150px) {
  .wrap { width: calc(100% - 80px); }
  .section { padding-block: 90px; }
  .section-heading { gap: 40px; }
  .section-heading > p { max-width: 260px; font-size: 12px; }
  .intro { gap: 7%; }
  .hero-description { font-size: 16px; }
  #footage { padding-top: 0; }
  #footage .section-heading { margin-inline: 10px; }
  .media-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 20px; }
  .playlist { gap: 20px; }
  .clip { grid-template-columns: 80px minmax(0, 1fr) 12px; gap: 10px; }
  .clip img { width: 80px; }
  .clip strong { font-size: 15px; }
  .simulation > .wrap { column-gap: 40px; grid-template-columns: .8fr 1.2fr; }
  .people-layout { gap: 6vw; }
  .gallery { gap: 55px 20px; }
  .gallery figure:nth-child(1) { grid-column: 1 / 12; }
  .gallery figure:nth-child(2) { grid-column: 4 / -1; }
  .gallery figure:nth-child(3) { grid-column: 1 / 11; }
  .gallery figure:nth-child(4) { grid-column: 5 / -1; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 75px; }
  .header { height: 80px; padding-inline: 20px; gap: 20px; }
  .header .wordmark { font-size: 29px; }
  .menu-toggle { display: block; margin-left: auto; background: transparent; border: 0; color: var(--ink); padding: 10px 0; font-size: 11px; }
  .menu-toggle span { margin-left: 6px; }
  .header nav { display: none; position: absolute; top: 70px; left: 20px; right: 20px; background: #101a15; padding: 25px; flex-direction: column; gap: 22px; box-shadow: 0 20px 40px #0008; }
  .header nav.is-open { display: flex; }
  .nav-cta { font-size: 10px; }
  .nav-cta span { display: none; }
  .hero { min-height: 620px; height: 88svh; max-height: 900px; }
  .hero-art { object-position: 62% center; }
  .hero-content { padding: 60px 3vw; }
  .hero-category { font-size: 9px; letter-spacing: .18em; }
  .hero-logo { font-size: 22vw; margin-bottom: 32px; }
  .hero-play { font-size: 10px; }
  .play-ring { width: 64px; height: 64px; font-size: 18px; }
  .hero-bottom { bottom: 24px; left: 20px; right: 20px; }
  .platforms { font-size: 9px; }
  .scroll-cue { left: auto; right: 0; transform: none; font-size: 28px; }
  #motion-toggle { display: none; }
  .intro { grid-template-columns: 1fr; gap: 30px; padding-top: 45px; }
  h1 { font-size: clamp(30px, 7.8vw, 48px); }
  h2 { font-size: clamp(29px, 7.4vw, 44px); }
  .intro-copy { padding: 0; max-width: 100%; }
  .hero-description { font-size: 16px; }
  .eyebrow { font-size: 10px; margin-bottom: 20px; }
  #footage { width: 100%; padding-top: 20px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-heading > p { max-width: 100%; margin-top: 25px; }
  #footage .section-heading { margin-inline: 20px; }
  #footage h2 { font-size: clamp(29px, 7.4vw, 44px); }
  .player-caption { padding-inline: 20px; font-size: 9px; gap: 15px; }
  .media-layout { grid-template-columns: 1fr; gap: 10px; }
  .playlist { grid-template-columns: 1fr; padding-inline: 20px; gap: 25px; }
  .clip { grid-template-columns: 95px 1fr 16px; padding-top: 15px; gap: 16px; }
  .clip img { display: block; width: 95px; }
  .clip strong { font-size: 16px; }
  .clip small { font-size: 9px; }
  .clip span span { font-size: 11px; }
  .simulation { padding-top: 35px; }
  .simulation > .wrap { display: flex; flex-direction: column; }
  .simulation .section-heading { margin-bottom: 40px; }
  .mechanics { gap: 32px; }
  .mechanics h3 { font-size: 24px; }
  .mechanics p { font-size: 14px; }
  .wide-shot { position: static; margin-top: 40px; }
  .wide-shot figcaption { font-size: 9px; }
  .people-layout { grid-template-columns: 1fr; gap: 55px; }
  .people h2 { font-size: clamp(29px, 7.4vw, 44px); }
  .contacts strong { font-size: 34px; }
  .contacts > div:not(.contact-heading) { padding-block: 20px; }
  #screenshots { padding-top: 85px; }
  #screenshots .section-heading { text-align: left; margin-bottom: 40px; }
  #screenshots h2 { font-size: clamp(30px, 7.8vw, 48px); }
  .gallery { grid-template-columns: 1fr; gap: 45px; }
  .gallery figure:nth-child(n) { grid-column: 1; }
  .gallery figcaption strong { font-size: 20px; }
  .gallery figcaption span { font-size: 12px; }
  .faq { grid-template-columns: 1fr; gap: 35px; padding-top: 20px; }
  summary { font-size: 14px; }
  .wishlist-layout { grid-template-columns: 1fr; gap: 55px; }
  .wishlist-layout > div { text-align: center; }
  .wishlist h2 { font-size: clamp(32px, 8vw, 48px); }
  .steam-capsule > span { font-size: 9px; }
  .footer { gap: 35px; padding-block: 50px 30px; }
  .footer nav { gap: 22px; flex-wrap: wrap; }
  .footer-bottom { flex-wrap: wrap; line-height: 1.7; font-size: 8px; }
  .footer-bottom > span:last-child { width: 100%; }
  dialog p { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
  .hero-film { display: none; }
}

/* Language switcher: an explicit choice, quiet enough to stay out of the title sequence. */
.lang-switch { display: flex; align-items: center; gap: 9px; flex-shrink: 0; font: 600 11px/1 var(--mono); letter-spacing: .1em; }
.lang-switch a { color: #ffffff99; padding-block: 8px; }
.lang-switch a:hover { color: var(--accent); }
.lang-switch [aria-current] { color: var(--ink); padding-bottom: 6px; border-bottom: 1px solid var(--accent); }
.lang-switch i { font-style: normal; color: #ffffff45; }

/* The Lua track reads as three beats side by side, not as the simulation's two columns. */
#lua .mechanics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 45px 40px; }
#lua .platforms { margin-top: 50px; }

@media (max-width: 1150px) {
  #lua .mechanics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; }
}
@media (max-width: 700px) {
  .header:has(.lang-switch) { gap: 14px; }
  .lang-switch { gap: 6px; font-size: 10px; letter-spacing: .06em; }
  #lua .mechanics { grid-template-columns: 1fr; gap: 32px; }
  #lua .platforms { margin-top: 35px; }
}
