@font-face {
  font-family: Lora;
  src: url("assets/lora-latin.woff") format("woff");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #101114;
  --surface: #15171c;
  --paper: #f4ecde;
  --muted: #c4bdaf;
  --gold: #d7b17d;
  --rule: #a68e663e;
  --serif: Lora, Georgia, serif;
  --sans: system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--paper); font: 1rem/1.65 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, figure { margin: 0; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #f6d29e; outline-offset: 5px; }

.container { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.skip-link { position: fixed; top: .8rem; left: .8rem; z-index: 4; padding: .6rem 1rem; background: var(--paper); color: #141315; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.topbar { position: relative; z-index: 1; background: #101114; border-bottom: 1px solid var(--rule); }
.topbar-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 4.65rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; width: fit-content; text-decoration: none; }
.brand img { width: 2.25rem; height: 2.25rem; border-radius: .2rem; }
.brand span { color: var(--gold); font: 600 1.05rem var(--serif); letter-spacing: .13em; text-transform: uppercase; }
.topbar nav { display: flex; align-items: center; gap: clamp(1.25rem, 4vw, 3.125rem); }
.topbar nav a, .footer a { color: var(--muted); font-size: .925rem; text-decoration: none; }
.topbar nav a:hover, .footer a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: .25em; }
.topbar-steam { justify-self: end; padding: .45rem .95rem; border: 1px solid #9a7652; color: var(--paper); font-size: .9rem; font-weight: 600; text-decoration: none; }
.topbar-steam:hover { border-color: var(--gold); background: #382d223c; }

.hero { position: relative; display: grid; align-items: center; min-height: clamp(37rem, 48vw, 44rem); isolation: isolate; overflow: hidden; background: #101216; }
.hero-art { position: absolute; z-index: -2; top: 0; right: 0; width: auto; height: 100%; max-width: none; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #101216 19%, #101216f0 31%, #1012163b 54%, transparent 76%), linear-gradient(0deg, #101114 0, #10111418 21%, transparent 57%); }
.hero-content { padding-block: 4.6rem; }
.hero h1 img { width: clamp(13.5rem, 24vw, 20.25rem); height: auto; }
.eyebrow { color: var(--gold); font-size: .875rem; font-weight: 700; letter-spacing: .135em; text-transform: uppercase; }
.hero .eyebrow { margin-top: 1.25rem; }
.hero-line { margin-top: .65rem; font: 500 clamp(3rem, 5.3vw, 5.15rem)/1.01 var(--serif); letter-spacing: -.05em; text-wrap: balance; }
.hero-description { max-width: 28rem; margin-top: 1.3rem; color: var(--muted); font-size: 1.075rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.8rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .7rem; min-height: 3.15rem; padding: .65rem 1.25rem; border: 1px solid transparent; font-size: .925rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.primary { background: #ddb880; color: #1b150e; border-color: #efcca0; }
.primary:hover { background: #f0c992; }
.secondary { color: var(--paper); border-color: #ad968675; background: #17191dc9; }
.secondary:hover { border-color: var(--gold); background: #262329; }
.play-icon { display: inline-block; flex: none; width: 0; height: 0; border-top: .32rem solid transparent; border-bottom: .32rem solid transparent; border-left: .52rem solid currentColor; }

.facts-band { background: #151619; border-block: 1px solid var(--rule); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-block: 0; padding: 0; list-style: none; }
.facts li { display: flex; justify-content: center; align-items: baseline; gap: .75rem; min-width: 0; padding: 1.15rem .75rem; color: var(--muted); font-size: 1rem; }
.facts li + li { border-left: 1px solid var(--rule); }
.facts strong { color: var(--gold); font: 500 2rem/1.2 var(--serif); }

.gameplay { padding-block: clamp(3.75rem, 7vw, 7rem); }
.section-intro { max-width: 42rem; margin-bottom: 1.7rem; }
h2 { color: var(--paper); font: 500 clamp(2.2rem, 4.7vw, 3.9rem)/1.08 var(--serif); letter-spacing: -.04em; }
.section-intro h2 { margin: .32rem 0 .75rem; }
.section-intro > p:last-child, .closing p { color: var(--muted); }
.trailer-frame { position: relative; overflow: hidden; border: 1px solid #a68e6680; background: #0c0d0f; }
.trailer-preview, .trailer-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; }
.trailer-preview img { width: 100%; height: auto; }
.trailer-frame iframe { border: 0; }
.trailer-preview:focus-visible, .trailer-frame iframe:focus-visible { outline-offset: -5px; }
.trailer-play { position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; width: clamp(3.45rem, 7vw, 5.35rem); aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid #f1d196; border-radius: 50%; background: #151312ed; color: #f4d5a5; cursor: pointer; }
.trailer-preview:is(:hover, :focus-visible) .trailer-play { background: #2a231b; color: #fff0d6; }
.trailer-play .play-icon { margin-left: .2rem; border-top-width: .62rem; border-bottom-width: .62rem; border-left-width: 1rem; }
.trailer-wishlist { margin-top: 1.25rem; }

.regions { padding-block: clamp(3.5rem, 7vw, 6.5rem); background: var(--surface); border-block: 1px solid var(--rule); }
.region-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: .8rem; }
.region { position: relative; min-width: 0; overflow: hidden; isolation: isolate; border: 1px solid var(--rule); }
.region-lead { grid-row: span 2; }
.region img { width: 100%; height: 100%; object-fit: cover; }
.region figcaption { position: absolute; inset: auto 0 0; padding: 1.65rem 1rem .7rem; background: linear-gradient(transparent, #0d0d10ed); font: 500 1.15rem var(--serif); }

.closing { padding-block: clamp(3.75rem, 7vw, 6rem); text-align: center; background: radial-gradient(ellipse at 50% 35%, #282018 0, var(--background) 66%); }
.closing img { margin-inline: auto; border-radius: .4rem; }
.closing h2 { margin-top: .75rem; }
.closing p { margin-top: .55rem; }
.closing .button { margin-top: 1.25rem; }
.footer { border-top: 1px solid var(--rule); }
.footer-inner { display: flex; justify-content: space-between; gap: .9rem; padding-block: 1.25rem; color: var(--muted); }
.footer small { font-size: .875rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .3rem 1.15rem; }

.press-topbar { grid-template-columns: 1fr auto; }
.presskit { padding-block: clamp(2.75rem, 6vw, 5rem); }
.press-intro { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(1.6rem, 4vw, 4rem); }
.press-intro h1 { font: 500 clamp(2.9rem, 5.4vw, 5rem)/1.04 var(--serif); letter-spacing: -.05em; text-wrap: balance; }
.press-intro p { margin-top: 1.05rem; max-width: 37rem; color: var(--muted); }
.press-cover { width: 100%; height: auto; border: 1px solid var(--rule); }
.press-section { margin-top: clamp(2.6rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--rule); }
.press-section h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); }
.press-section p { margin-top: .75rem; color: var(--muted); }
.press-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-block: 1rem; }
.press-links a, .press-section p a { color: var(--gold); text-underline-offset: .25em; }
.press-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.press-shot { display: block; min-width: 0; overflow: hidden; border: 1px solid var(--rule); background: var(--surface); text-decoration: none; }
.press-shot:hover { border-color: var(--gold); }
.press-shot img { width: 100%; height: auto; }
.press-shot span { display: block; padding: .6rem .8rem; color: var(--paper); }

@media (max-width: 58rem) {
  .container { width: calc(100% - 3rem); }
  .hero-art { right: -9rem; }
  .hero::after { background: linear-gradient(90deg, #101216 12%, #101216eb 27%, #10121642 66%, transparent), linear-gradient(0deg, #101114 0, transparent 38%); }
  .facts li { padding-inline: .5rem; gap: .4rem; }
}

@media (max-width: 41rem) {
  .container { width: calc(100% - 2.25rem); }
  .topbar-inner { grid-template-columns: 1fr auto; min-height: 3.7rem; }
  .topbar nav { display: none; }
  .hero { display: block; min-height: 0; }
  .hero-art { right: 0; height: auto; width: 100%; aspect-ratio: 1.42; object-fit: cover; object-position: 100% 32%; }
  .hero::after { background: linear-gradient(0deg, #101216 56%, #10121661 78%, transparent 100%); }
  .hero-content { padding-top: clamp(11.25rem, 49vw, 17rem); padding-bottom: 2.4rem; }
  .hero h1 img { width: min(60vw, 15rem); }
  .hero-line { font-size: clamp(2.6rem, 10.1vw, 3.5rem); }
  .hero-description { font-size: 1rem; }
  .hero .eyebrow { margin-top: 1rem; }
  .actions { margin-top: 1.35rem; }
  .button { padding-inline: 1rem; }
  .facts li { flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; line-height: 1.35; font-size: .875rem; }
  .facts strong { font-size: 1.65rem; }
  .region-grid { grid-template-columns: 1fr; }
  .region-lead { grid-row: auto; }
  .region img { height: auto; }
  .press-intro, .press-shots { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
