@font-face {
  font-family: "Andromeda Body";
  src: url("fonts/AndromedaTV-web.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 200%;
}
@font-face { font-family: "Andromeda UI"; src: url("fonts/AndromedaTV-web.ttf") format("truetype"); font-display: swap; size-adjust: 150%; }
@font-face { font-family: "Andromeda Heading"; src: url("fonts/AndromedaTV-web.ttf") format("truetype"); font-display: swap; size-adjust: 150%; }
@font-face { font-family: "Andromeda Section"; src: url("fonts/AndromedaTV-web.ttf") format("truetype"); font-display: swap; size-adjust: 150%; }
@font-face { font-family: "Andromeda Hero"; src: url("fonts/AndromedaTV-web.ttf") format("truetype"); font-display: swap; size-adjust: 120%; }
@font-face { font-family: "Andromeda Accent"; src: url("fonts/AndromedaTV-web.ttf") format("truetype"); font-display: swap; size-adjust: 150%; }

:root {
  --ink: #080a09;
  --paper: #dedfc9;
  --sky: #78abc2;
  --forest: #344941;
  --rust: #9d412d;
  --line: rgba(222, 223, 201, .28);
  --header-h: 76px;
  --body-font: Arial, Helvetica, sans-serif;
  --display-font: Georgia, serif;
  --ui-font: Arial, Helvetica, sans-serif;
  --heading-font: Georgia, serif;
  --section-font: Georgia, serif;
  --hero-font: Georgia, serif;
  --accent-font: Georgia, serif;
}

html:lang(en), html:lang(fr), html:lang(de), html:lang(es), html:lang(pl) {
  --body-font: "Andromeda Body", Arial, Helvetica, sans-serif;
  --display-font: "Andromeda Heading", Georgia, serif;
  --ui-font: "Andromeda UI", Arial, Helvetica, sans-serif;
  --heading-font: "Andromeda Heading", Georgia, serif;
  --section-font: "Andromeda Section", Georgia, serif;
  --hero-font: "Andromeda Hero", Georgia, serif;
  --accent-font: "Andromeda Accent", Georgia, serif;
}

html:lang(en) body,
html:lang(fr) body,
html:lang(de) body,
html:lang(es) body,
html:lang(pl) body { font-family: var(--body-font); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body-font);
  line-height: 1.5;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M3 2.5v19.2l5.2-4.7 3.8 8.5 4-1.8-3.8-8.2 7-.6z' fill='%23d85b2b'/%3E%3C/svg%3E") 3 3, auto;
}
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a, button, [role="button"] { cursor: pointer; }
input, textarea { cursor: text; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; background: var(--paper); color: var(--ink); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { min-height: 100vh; padding: 130px 0 100px; scroll-margin-top: var(--header-h); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20; height: var(--header-h); padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent; transition: background .25s, border-color .25s;
}
.site-header.is-scrolled { background: rgba(8,10,9,.94); border-color: var(--line); }
.wordmark { font-family: var(--heading-font); font-size: 1.5rem; font-weight: 900; letter-spacing: .24em; text-decoration: none; }
.site-nav { display: flex; gap: 24px; }
.site-nav a, .socials a, .site-footer a { text-decoration: none; }
.site-nav a { font-family: var(--ui-font); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; opacity: .72; }
.site-nav a:hover, .site-nav a.is-active { opacity: 1; color: var(--sky); }
.menu-toggle { display: none; color: inherit; background: transparent; border: 0; }
.language-picker, .language-picker select, .language-picker option { font-family: Arial, Helvetica, sans-serif !important; }
.language-picker select { max-width: 130px; border: 1px solid var(--line); background: var(--ink); color: var(--paper); padding: 7px 9px; font-size: .7rem; letter-spacing: .05em; }

.hero { position: relative; display: grid; align-items: end; overflow: hidden; padding-bottom: 110px; }
.hero__backdrop { position: absolute; inset: 0; background: var(--forest) url("keyart.webp") center / cover no-repeat; }
.hero__backdrop::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,9,.88), rgba(8,10,9,.15)), linear-gradient(0deg, var(--ink), transparent 45%); z-index: 1; }
.hero__content { position: relative; z-index: 2; }
.eyebrow, .section-number { color: var(--sky); font-family: var(--ui-font); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; }
.game-title { position: absolute; z-index: 2; top: calc(var(--header-h) + 28px); left: 50%; display: flex; width: min(760px, 82vw); margin: 0; align-items: center; flex-direction: column; transform: translateX(-50%); }
.game-title img { display: block; height: auto; object-fit: contain; }
.game-title__main { width: 100%; }
.game-title__subtitle { width: 59%; margin-top: -1.5%; }
.hero__statement { margin: 32px 0; font-family: var(--accent-font); font-size: clamp(1.5rem, 3vw, 2.6rem); }
.actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; min-width: 160px; justify-content: center; padding: 14px 20px; background: var(--rust); font-family: var(--ui-font); text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.text-link { text-underline-offset: 5px; }
.scroll-cue { position: absolute; z-index: 2; right: 28px; bottom: 36px; margin: 0; font-family: var(--ui-font); writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: .16em; font-size: .62rem; opacity: .65; }

.placeholder { background-color: var(--forest); background-image: linear-gradient(135deg, rgba(120,171,194,.2), transparent 45%), repeating-linear-gradient(135deg, transparent 0 28px, rgba(222,223,201,.05) 29px 30px); }
.section-heading { margin-bottom: 54px; }
.section-heading h2, .connect h2 { max-width: 900px; margin: 8px 0 0; font-family: var(--section-font); font-weight: 400; font-size: clamp(2.6rem, 7vw, 6rem); line-height: .98; }
.intro { max-width: 580px; color: rgba(222,223,201,.68); font-size: 1.05rem; }
.intro:not(.feature-quote), .feature-card p {
  font-family: var(--body-font);
  letter-spacing: .1em;
}
.video-embed { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: #000; }
.video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

.features { background: #101814; }
.split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sticky-copy { position: static; grid-column: 1 / -1; width: 100%; }
.features .section-heading h2, .features .section-heading .intro { max-width: none; }
.feature-quote { margin-top: 28px; font-family: var(--accent-font); font-style: italic; }
.feature-carousel { position: relative; grid-column: 1 / -1; min-width: 0; }
.feature-list { min-height: 620px; overflow: hidden; }
.feature-track { display: flex; gap: 28px; transition: transform .55s cubic-bezier(.22,.75,.25,1); will-change: transform; }
.feature-track.is-jumping { transition: none; }
.feature-card { flex: 0 0 calc((100% - 56px) / 3); min-width: 0; padding: 42px 22px 64px 0; border-top: 1px solid var(--line); }
.feature-arrow { position: absolute; z-index: 2; top: 80%; width: 48px; height: 64px; border: 0; background: rgba(8,10,9,.72); cursor: pointer; transform: translateY(-50%); }
.feature-arrow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; transform: translate(-50%,-50%); }
.feature-arrow--prev { left: -58px; }
.feature-arrow--next { right: -58px; }
.feature-arrow--prev::before { border-right: 15px solid var(--paper); }
.feature-arrow--next::before { border-left: 15px solid var(--paper); }
.feature-card span { color: var(--rust); font-family: var(--ui-font); font-size: .72rem; }
.feature-card h3 { margin: 16px 0 10px; font-family: var(--heading-font); font-size: clamp(1.35rem, 2.4vw, 2.1rem); font-weight: 400; }
.feature-card p { max-width: 680px; color: rgba(222,223,201,.68); line-height: 1.7; }

.heading-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card__image { aspect-ratio: 4/3; }
.news-card p { color: rgba(222,223,201,.58); font-family: var(--ui-font); font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; }
.news-card h3 { margin: 10px 0; font-family: var(--heading-font); font-size: 1.5rem; font-weight: 400; }
.news-card h3 a { text-decoration-thickness: 1px; text-underline-offset: 6px; }

.media { background: #000; color: var(--paper); }
.media .section-number { color: var(--rust); }
.media .intro { color: rgba(222,223,201,.68); }
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.media-item { position: relative; overflow: hidden; border: 0; min-height: 300px; padding: 0; background: var(--forest); color: var(--paper); cursor: pointer; }
.media-item--wide { grid-column: 1 / -1; min-height: 520px; }
.media-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.media-item:hover img, .media-item:focus-visible img { transform: scale(1.025); }
.media-item span { position: absolute; right: 16px; bottom: 12px; padding: 4px 7px; background: rgba(8,10,9,.68); }

.ai-statement { background: #101814; }
.ai-statement__inner { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 6vw; }
.ai-statement h2 { grid-column: 1 / -1; max-width: 1100px; margin: 8px 0 40px; font-family: var(--section-font); font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 400; line-height: .98; }
.ai-statement__copy { grid-column: 2; max-width: 720px; color: rgba(222,223,201,.72); font-family: var(--body-font); font-size: 1.05rem; letter-spacing: .04em; line-height: 1.7; }

.connect { display: grid; place-items: center; text-align: center; }
.connect__inner { display: flex; flex-direction: column; align-items: center; }
.connect h2 { max-width: 800px; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 50px; }
.socials a { font-family: var(--ui-font); text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; }

.site-footer { min-height: 110px; padding: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; font-family: var(--ui-font); font-size: .72rem; color: rgba(222,223,201,.65); }
.site-footer div { display: flex; gap: 18px; }
.media-dialog { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--paper); overflow: hidden; }
.media-dialog::backdrop { background: rgba(8,10,9,.88); }
.media-dialog__close { position: absolute; z-index: 2; top: 20px; right: 24px; border: 0; padding: 10px 12px; background: rgba(8,10,9,.72); color: inherit; cursor: pointer; }
.dialog-image { display: block; width: 100vw; height: 100vh; object-fit: contain; }
.media-dialog__arrow { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 58px; height: 72px; border: 0; background: rgba(8,10,9,.64); cursor: pointer; transform: translateY(-50%); }
.media-dialog__arrow::before { content: ""; width: 0; height: 0; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.media-dialog__arrow--prev::before { border-right: 18px solid var(--paper); }
.media-dialog__arrow--next::before { border-left: 18px solid var(--paper); }
.media-dialog__arrow:hover, .media-dialog__arrow:focus-visible, .media-dialog__close:hover, .media-dialog__close:focus-visible { background: rgba(8,10,9,.9); }
.media-dialog__arrow--prev { left: 20px; }
.media-dialog__arrow--next { right: 20px; }

.steam-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.steam-cta__video {
  display: block;
  width: 64px;
  height: 81px;
  aspect-ratio: 254 / 320;
  object-fit: contain;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
  transform: translateX(43%);
}
.steam-wishlist {
  display: grid;
  grid-template-columns: 1fr auto;
  min-width: 190px;
  padding: 13px 16px;
  border: 1px solid rgba(222, 223, 201, .55);
  background: rgba(8, 10, 9, .94);
  color: var(--paper);
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
  transition: background .2s, color .2s, transform .2s;
}
.steam-wishlist__small {
  grid-column: 1;
  font-size: .61rem;
  line-height: 1;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .65;
}
.steam-wishlist__brand {
  grid-column: 1;
  margin-top: 4px;
  font-family: var(--heading-font);
  font-size: 1.35rem;
  line-height: 1;
}
.steam-wishlist__arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 1.2rem; }
.steam-wishlist:hover, .steam-wishlist:focus-visible { background: var(--paper); color: var(--ink); transform: translateY(-2px); }
.steam-wishlist:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .shell { width: min(100% - 30px, 1180px); }
  .section { min-height: auto; padding: 100px 0 72px; }
  .site-header { height: var(--header-h); padding-inline: 16px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .language-picker { margin-left: auto; order: 2; position: relative; z-index: 2; }
  .menu-toggle { order: 3; margin-left: 12px; }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; background: var(--ink); transform: translateY(-100%); transition: transform .3s; }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav a { font-family: var(--display-font); font-size: 1.8rem; text-transform: none; }
  .hero { min-height: 100svh; padding-bottom: 84px; }
  .game-title { top: calc(var(--header-h) + 22px); width: 92vw; }
  .game-title__subtitle { width: 66%; }
  .hero__statement { margin: 24px 0; }
  .actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .scroll-cue { display: none; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .sticky-copy { position: static; }
  .feature-card { flex-basis: 100%; }
  .feature-arrow--prev { left: 4px; }
  .feature-arrow--next { right: 4px; }
  .heading-row { align-items: flex-start; flex-direction: column; }
  .news-grid { grid-template-columns: 1fr; gap: 44px; }
  .media-grid { grid-template-columns: 1fr; }
  .media-item, .media-item--wide { grid-column: auto; min-height: 260px; }
  .ai-statement__inner { grid-template-columns: 1fr; gap: 20px; }
  .ai-statement__copy { grid-column: auto; }
  .media-dialog__arrow { width: 48px; height: 58px; }
  .media-dialog__arrow--prev { left: 8px; }
  .media-dialog__arrow--next { right: 8px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .steam-cta { right: 12px; bottom: 12px; gap: 7px; }
  .steam-cta__video { width: 47px; height: 59px; }
  .steam-wishlist { min-width: 160px; padding: 11px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
