@font-face {
  font-family: Cormorant;
  src: url("cormorant.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Creato;
  src: url("creato.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #0a1114;
  --panel: #101b1f;
  --cream: #f4eddd;
  --muted: #c5c5b9;
  --gold: #e3bc80;
  --line: rgb(228 188 127 / .29);
  --display: Cormorant, Georgia, "Times New Roman", serif;
  font-family: Creato, Arial, sans-serif;
  font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); line-height: 1.55; }
body.has-dialog { overflow: hidden; }
a { color: inherit; }
img { display: block; max-inline-size: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #f5d698; outline-offset: 5px; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h2, h3 { font-family: var(--display); font-weight: 600; }
h2 { font-size: clamp(3rem, 5.3vw, 5.4rem); line-height: .94; letter-spacing: -.045em; }
h2 em { color: var(--gold); font-style: normal; }
section[id] { scroll-margin-top: 1.5rem; }

.shell { inline-size: min(100% - 9rem, 1240px); margin-inline: auto; }
.section { padding-block: clamp(4.8rem, 9vw, 9rem); }
.skip {
  position: fixed; z-index: 10; inset: .65rem auto auto .65rem;
  transform: translateY(-150%); background: var(--cream);
  color: var(--ink); padding: .6rem .9rem; border-radius: 2px;
}
.skip:focus { transform: none; }

.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-block-size: min(860px, 100svh); }
.hero-art, .hero-art img, .hero::after {
  position: absolute; inset: 0; inline-size: 100%; block-size: 100%; pointer-events: none;
}
.hero-art { z-index: -2; }
.hero-art img { object-fit: cover; object-position: 59% center; }
.hero::after {
  content: ""; z-index: -1;
  background:
    linear-gradient(0deg, #0a1114 0%, rgb(10 17 20 / .76) 10%, transparent 42%),
    linear-gradient(180deg, rgb(7 13 17 / .88), transparent 29%),
    linear-gradient(90deg, rgb(7 14 18 / .86), rgb(8 15 19 / .70) 30%, rgb(8 15 19 / .24) 55%, transparent 76%);
}

.top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 1.4rem; min-block-size: 84px; border-bottom: 1px solid var(--line);
}
.studio { inline-size: min(158px, 100%); display: inline-block; }
.studio img { inline-size: 100%; block-size: auto; }
.top nav { display: flex; gap: clamp(1.25rem, 3vw, 2.75rem); }
.top nav a, .top-playtest {
  text-decoration: none; font-size: .91rem; padding-block: .55rem;
}
.top nav a { color: #e0ddd0; transition: color .2s; }
.top nav a:hover, .bottom a:hover { color: var(--gold); }
.top-playtest {
  justify-self: end; border: 1px solid var(--line); padding-inline: 1rem;
  color: var(--gold); background: rgb(12 21 25 / .53);
  transition: border-color .2s, background .2s;
}
.top-playtest:hover { border-color: var(--gold); background: var(--panel); }

.hero-inner { flex: 1 0 auto; display: grid; align-items: center; padding-block: clamp(3rem, 7vh, 5rem); }
.hero-text { max-inline-size: 520px; }
.eyebrow {
  display: flex; align-items: center; gap: .65rem;
  color: var(--gold); font-size: .8rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase; line-height: 1.4;
}
.eyebrow > span {
  flex: 0 0 7px; inline-size: 7px; block-size: 7px;
  background: var(--gold); transform: rotate(45deg);
}
.wordmark { margin-block: 1.4rem .8rem; inline-size: min(100%, 400px); }
.wordmark img { inline-size: 100%; block-size: auto; filter: drop-shadow(0 6px 12px rgb(3 8 11 / .65)); }
.hero-title {
  font: 600 clamp(3.9rem, 7vw, 7.1rem)/.83 var(--display);
  letter-spacing: -.055em; text-wrap: balance; text-shadow: 0 3px 30px #080d10;
}
.hero-lead { margin-block-start: 1.5rem; color: var(--muted); max-inline-size: 37ch; font-size: clamp(1.04rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-block-start: 1.65rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-block-size: 47px; padding: .7rem 1.12rem;
  border: 1px solid transparent; text-decoration: none; line-height: 1.18;
  font-size: .96rem; font-weight: 600; text-align: center;
  transition: color .2s, border-color .2s, background .2s;
}
.button-gold { background: #e3be82; border-color: #f0cd94; color: #12191b; }
.button-gold:hover { background: #f1d5a4; }
.button-outline { color: var(--cream); background: rgb(12 20 23 / .66); border-color: var(--line); }
.button-outline:hover { border-color: var(--gold); color: var(--gold); }
.play { inline-size: .69em; block-size: .76em; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.trailer-open, .has-trailer .trailer-fallback { display: none; }
.has-trailer .trailer-open { display: inline-flex; }
.hero-bottom {
  min-block-size: 60px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  color: #d2d0bf; font-size: .88rem; letter-spacing: .05em;
}
.hero-bottom b { color: var(--gold); margin-inline: .38rem; }
.hero-bottom a { display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; color: var(--gold); }
.down {
  inline-size: .5em; block-size: .5em; transform: translateY(-2px) rotate(45deg);
  border-block-end: 1px solid; border-inline-end: 1px solid;
}

.numbers { background: #0d191d; border-block: 1px solid var(--line); }
.numbers dl { display: grid; grid-template-columns: repeat(3, 1fr); }
.numbers dl div {
  min-inline-size: 0; display: flex; flex-direction: column-reverse; align-items: center;
  justify-content: center; gap: .28rem; padding: clamp(1rem, 3.4vw, 2.4rem) .2rem;
}
.numbers dl div + div { border-inline-start: 1px solid var(--line); }
.numbers dt { text-transform: uppercase; letter-spacing: .12em; font-size: clamp(.66rem, 1.13vw, .88rem); }
.numbers dd { font: 600 clamp(2.65rem, 5vw, 4.25rem)/1 var(--display); color: var(--gold); }

.section-heading { max-inline-size: 740px; margin-block-end: clamp(1.9rem, 5vw, 3.15rem); }
.section-heading .eyebrow, .combat .eyebrow, .playtest .eyebrow { margin-block-end: 1rem; }
.section-heading > p:last-child { margin-block-start: 1.08rem; max-inline-size: 51ch; color: var(--muted); font-size: 1.09rem; }
.era-tabs { display: none; }
.is-enhanced .era-tabs { display: grid; grid-template-columns: repeat(4, 1fr); }
.era-tabs button {
  display: flex; justify-content: center; align-items: center; gap: .75rem;
  padding: .8rem .55rem; min-block-size: 63px; color: #d8d9cc;
  border: 1px solid var(--line); border-inline-end: 0;
  background: #0d181c; line-height: 1.1; font-size: .98rem;
}
.era-tabs button:last-child { border-inline-end: 1px solid var(--line); }
.era-tabs button:hover { color: var(--gold); background: #142024; }
.era-tabs button[aria-selected="true"] { background: #1c292a; color: var(--cream); box-shadow: inset 0 -2px var(--gold); }
.era-tabs button:focus-visible { z-index: 1; outline-offset: -4px; }
.era-tabs button span { color: var(--gold); font: 600 1.42rem/1 var(--display); }

.era-panel {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-block-size: clamp(360px, 41vw, 505px); overflow: hidden;
  border: 1px solid var(--line); background: #132126;
}
.era-panel + .era-panel { margin-block-start: .75rem; }
.is-enhanced .era-panel { border-block-start: 0; margin-block-start: 0; }
.era-panel > img, .era-panel::after { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.era-panel > img { z-index: -2; object-fit: cover; object-position: center; }
.era-panel::after {
  content: ""; z-index: -1;
  background: linear-gradient(0deg, #081114 0%, rgb(8 17 20 / .9) 13%, transparent 57%),
              linear-gradient(90deg, rgb(8 17 20 / .61), transparent 56%);
}
.era-copy { padding: clamp(1.25rem, 3.3vw, 2.7rem); max-inline-size: 560px; }
.era-copy h3 { font-size: clamp(2.3rem, 4vw, 4rem); line-height: .97; letter-spacing: -.035em; margin-block: .35rem .6rem; }
.era-copy p:not(.eyebrow) { color: #e1ded3; max-inline-size: 48ch; }
.era-copy small { display: inline-block; font-size: .82rem; color: #d3bf9e; margin-block-start: .75rem; }

.combat {
  border-block: 1px solid var(--line);
  background: radial-gradient(ellipse at 82% 0, #1b2b28, transparent 58%), #0e191d;
  padding-block: clamp(3.5rem, 7vw, 6.25rem);
}
.combat-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(1.7rem, 5vw, 5.3rem); align-items: center; }
.gameplay { padding: 0; margin: 1.45rem 0 0; list-style: none; color: var(--muted); }
.gameplay li { border-block-start: 1px solid var(--line); padding: .72rem .1rem; line-height: 1.45; }
.gameplay strong { color: var(--cream); }
.trailer-card { position: relative; aspect-ratio: 16/10; background: #162024; border: 1px solid #a28856; overflow: hidden; }
.trailer-card > img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.trailer-preview {
  position: absolute; inset: 0; width: 100%; padding: 1.1rem; border: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .65rem;
  background: rgb(9 15 18 / .42); text-shadow: 0 2px 6px #06090a; text-decoration: none;
  transition: background .2s; color: var(--cream);
}
.trailer-preview:hover { background: rgb(9 15 18 / .20); }
.trailer-preview:focus-visible { outline-offset: -6px; }
.trailer-preview.trailer-open { display: none; }
.has-trailer .trailer-preview.trailer-open { display: flex; }
.play-round {
  display: grid; place-items: center; width: 65px; height: 65px;
  border: 1px solid #f2ce8e; border-radius: 50%;
  background: #e4be83; color: #162020; font-size: 1.45rem;
}
.play-round .play { transform: translateX(2px); }

.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.65rem, 1.5vw, 1.25rem); }
.gallery-image {
  position: relative; isolation: isolate; display: block; text-decoration: none;
  aspect-ratio: 16 / 9; border: 1px solid var(--line); overflow: hidden;
}
.gallery-image > img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .35s; }
.gallery-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #091114 0%, transparent 56%); pointer-events: none; }
.gallery-image > span {
  position: absolute; z-index: 1; inset: auto auto .6rem .95rem;
  padding-block: .18rem; font: 600 clamp(1.25rem, 2.4vw, 2.3rem)/1.15 var(--display);
}
.gallery-image:hover { border-color: var(--gold); }
.gallery-image:hover img { transform: scale(1.035); }

.playtest { position: relative; isolation: isolate; overflow: hidden; border-block: 1px solid var(--line); }
.playtest-art, .playtest::after { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.playtest-art { z-index: -2; object-fit: cover; object-position: center 69%; opacity: .62; }
.playtest::after { content: ""; z-index: -1; background: linear-gradient(90deg, #0b1216, rgb(11 18 22 / .93) 25%, rgb(11 18 22 / .36) 100%); }
.playtest-inner { padding-block: clamp(4.1rem, 8vw, 7rem); }
.playtest p:not(.eyebrow) { margin-block: 1.1rem 1.35rem; color: #e1dcd1; max-inline-size: 36ch; font-size: 1.08rem; }
.bottom { min-block-size: 105px; display: flex; align-items: center; gap: 1.2rem 2rem; color: var(--muted); }
.bottom .studio { inline-size: 128px; }
.bottom p { margin-inline-start: auto; }
.bottom a, .bottom p { font-size: .91rem; }
.bottom a { text-underline-offset: .2em; }

.media-dialog {
  margin: auto; width: min(100% - 2rem, 990px); max-height: calc(100dvh - 2rem);
  color: var(--cream); background: #0f1a1e; padding: .85rem;
  border: 1px solid var(--line); overflow-y: auto;
}
.media-dialog:not([open]) { display: none; }
.media-dialog::backdrop { background: rgb(4 9 12 / .91); }
.dialog-header { display: flex; gap: 1rem; justify-content: space-between; align-items: center; margin-block-end: .65rem; }
.dialog-header h2 { font-size: clamp(1.55rem, 4vw, 2.55rem); line-height: 1.03; }
.icon-button { flex: 0 0 44px; height: 44px; background: transparent; border: 1px solid var(--line); font-size: 1.5rem; }
.icon-button:hover { border-color: var(--gold); }
.media-dialog video, .gallery-full > img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 170px); background: #070e11; object-fit: contain; }
.credit, .gallery-full figcaption { margin-block-start: .5rem; color: var(--muted); font-size: .88rem; }
.gallery-controls { display: flex; justify-content: space-between; gap: .6rem; margin-block-start: .7rem; }

@media (max-width: 1024px) {
  .shell { inline-size: min(100% - 4rem, 1240px); }
  .hero { min-block-size: min(830px, 100svh); }
}
@media (max-width: 760px) {
  .shell { inline-size: min(100% - 2.5rem, 1240px); }
  .top { min-block-size: 68px; grid-template-columns: 1fr auto; gap: .6rem; }
  .top nav { display: none; }
  .top .studio { max-inline-size: 130px; }
  .combat-grid { grid-template-columns: 1fr; }
  .combat-copy { max-inline-size: 540px; }
  .trailer-card { aspect-ratio: 16 / 9; }
}
@media (max-width: 680px) {
  .hero { min-block-size: max(680px, 100svh); }
  .hero-art img { object-position: center 46%; }
  .hero::after {
    background: linear-gradient(0deg, #0a1114 1%, rgb(10 17 20 / .89) 21%, rgb(10 17 20 / .50) 60%, transparent 83%),
                linear-gradient(180deg, rgb(6 12 15 / .82), transparent 38%),
                linear-gradient(90deg, rgb(6 12 15 / .48), transparent 90%);
  }
  .hero-inner { align-items: end; padding-block: 6rem 2.6rem; }
  .hero-title { font-size: clamp(3.65rem, 12vw, 5.25rem); }
  .wordmark { inline-size: min(82%, 330px); margin-block: 1.1rem .8rem; }
  .hero-lead { max-inline-size: 32ch; margin-block-start: 1.15rem; }
  .hero-actions { margin-block-start: 1.25rem; gap: .55rem; }
  .hero-bottom { min-block-size: 53px; }
  .era-tabs button { flex-direction: column; gap: .28rem; font-size: .78rem; padding: .54rem .24rem; }
  .era-tabs button span { font-size: 1.18rem; }
  .era-panel { min-block-size: 370px; }
  .era-panel::after { background: linear-gradient(0deg, #081114, rgb(8 17 20 / .89) 24%, transparent 65%); }
  .era-copy p:not(.eyebrow) { font-size: .98rem; }
  .bottom { flex-wrap: wrap; gap: .65rem 1rem; min-block-size: 0; padding-block: 1.15rem; }
  .bottom .studio { width: 110px; }
}
@media (max-width: 390px) {
  .shell { inline-size: calc(100% - 1.7rem); }
  .hero-actions .button { padding-inline: .78rem; font-size: .9rem; }
  .hero-bottom { font-size: .77rem; gap: .5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .bottom p { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
