:root {
  color-scheme: dark;
  --ink: #080807;
  --ink-soft: #0f0e0c;
  --stone: #171511;
  --stone-light: #27231d;
  --ash: #aaa295;
  --bone: #eee8dc;
  --ember: #d89a43;
  --ember-bright: #f2c574;
  --ember-dark: #71451f;
  --line: rgba(223, 190, 132, 0.22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --page: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(117, 76, 33, 0.12), transparent 38rem),
    var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

::selection {
  color: #17100a;
  background: var(--ember-bright);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 1px solid var(--ember);
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  transition: background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled,
.site-nav.site-nav--solid {
  border-color: rgba(218, 185, 124, 0.14);
  background: rgba(7, 7, 6, 0.88);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: var(--page);
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.nav-mark {
  width: 210px;
  max-height: 78px;
  object-fit: contain;
  opacity: 0.94;
  mix-blend-mode: screen;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.nav-link {
  position: relative;
  color: rgba(238, 232, 220, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-link:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  background: var(--ember-bright);
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--bone);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.button {
  min-height: 48px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(240, 195, 113, 0.72);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
  background: linear-gradient(180deg, #d19a4e, #9e682e);
  box-shadow: inset 0 0 0 1px rgba(255, 231, 182, 0.2), 0 10px 30px rgba(113, 69, 31, 0.2);
  color: #120d08;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.12);
  box-shadow: inset 0 0 0 1px rgba(255, 231, 182, 0.28), 0 14px 34px rgba(166, 104, 42, 0.3);
}

.button--ghost {
  border-color: rgba(229, 218, 199, 0.32);
  background: rgba(8, 8, 7, 0.46);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: var(--bone);
}

.button--small {
  min-height: 42px;
  padding: 0 20px;
  font-size: 0.67rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: -5%;
  z-index: -3;
  background: #0b0a09 url("hero-keyart.png") center 44% / cover no-repeat;
  transform: scale(1.04);
  will-change: transform;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(2, 2, 2, 0.7) 0%, rgba(3, 3, 3, 0.12) 32%, rgba(4, 4, 3, 0.25) 64%, #080807 100%),
    radial-gradient(circle at 50% 30%, transparent 0, rgba(0, 0, 0, 0.42) 70%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 30vh;
  content: "";
  background: linear-gradient(transparent, var(--ink));
}

#ash-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  width: min(820px, calc(100vw - 40px));
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.hero-logo {
  width: min(690px, 85vw);
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.86));
  mix-blend-mode: screen;
}

.hero-tagline {
  margin: 0;
  color: #f1e9dc;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 20px #000;
}

.hero-subtitle {
  max-width: 620px;
  margin: 18px auto 31px;
  color: rgba(238, 232, 220, 0.74);
  font-size: clamp(0.94rem, 1.5vw, 1.08rem);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 18px #000;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
  transform: translateX(-50%);
  color: rgba(238, 232, 220, 0.44);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue::after {
  width: 1px;
  height: 30px;
  content: "";
  background: linear-gradient(var(--ember), transparent);
}

.section {
  position: relative;
  padding: clamp(88px, 11vw, 150px) 0;
}

.section-inner {
  width: var(--page);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ember-bright);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-title {
  max-width: 830px;
  margin: 0;
  color: var(--bone);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.section-lead {
  max-width: 670px;
  margin: 28px 0 0;
  color: var(--ash);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.world {
  overflow: hidden;
}

.world::before {
  position: absolute;
  top: 16%;
  right: -12vw;
  width: 55vw;
  height: 55vw;
  content: "";
  border: 1px solid rgba(213, 168, 91, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(213, 168, 91, 0.02), 0 0 0 120px rgba(213, 168, 91, 0.012);
}

.world-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.world-copy {
  position: relative;
  z-index: 1;
}

.world-quote {
  margin: 36px 0 0;
  padding: 24px 0 24px 26px;
  border-left: 1px solid var(--ember-dark);
  color: rgba(238, 232, 220, 0.62);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
}

.world-art {
  position: relative;
  aspect-ratio: 4 / 5;
}

.world-art::before,
.world-art::after {
  position: absolute;
  content: "";
  border: 1px solid var(--line);
}

.world-art::before {
  inset: 5% 7% -5% -7%;
}

.world-art::after {
  inset: -3% -4% 8% 8%;
}

.world-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.72) sepia(0.08);
}

.world-art-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(140deg, transparent 35%, rgba(7, 7, 6, 0.56));
  pointer-events: none;
}

.features {
  background:
    linear-gradient(180deg, transparent, rgba(34, 28, 20, 0.24) 42%, transparent),
    radial-gradient(circle at 50% 40%, rgba(128, 78, 30, 0.08), transparent 46%);
}

.features-heading {
  margin-bottom: 58px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.features-heading .section-lead {
  max-width: 410px;
  margin: 0 0 5px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(219, 189, 135, 0.16);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  background: #11100e;
  isolation: isolate;
}

.feature-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(4, 4, 3, 0.04) 28%, rgba(4, 4, 3, 0.94) 88%);
}

.feature-card:hover .feature-image {
  transform: scale(1.035);
  filter: saturate(0.86) contrast(1.1) brightness(0.76);
}

.feature-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.08) brightness(0.66);
  transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 700ms ease;
}

.feature-image--portrait {
  object-position: 50% 28%;
}

.feature-card-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px;
}

.feature-number {
  display: block;
  margin-bottom: 12px;
  color: var(--ember-bright);
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.feature-card p {
  max-width: 500px;
  margin: 0;
  color: rgba(238, 232, 220, 0.7);
}

.god-collage {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.god-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.65) contrast(1.1) brightness(0.64);
  transition: filter 700ms ease, transform 700ms ease;
}

.feature-card:hover .god-collage img {
  filter: saturate(0.9) contrast(1.08) brightness(0.74);
}

.trailer {
  overflow: hidden;
}

.trailer-heading {
  margin-bottom: 42px;
  text-align: center;
}

.trailer-heading .section-title,
.trailer-heading .section-lead {
  margin-right: auto;
  margin-left: auto;
}

.trailer-frame {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(235, 195, 122, 0.34);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(89, 51, 21, 0.14));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}

.trailer-frame::before,
.trailer-frame::after {
  position: absolute;
  z-index: 2;
  width: 54px;
  height: 54px;
  content: "";
  pointer-events: none;
}

.trailer-frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--ember-bright);
  border-left: 2px solid var(--ember-bright);
}

.trailer-frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--ember-bright);
  border-bottom: 2px solid var(--ember-bright);
}

.trailer-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}

.trailer-play {
  position: absolute;
  inset: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  border: 0;
  background: linear-gradient(rgba(4, 4, 3, 0.12), rgba(4, 4, 3, 0.32));
  cursor: pointer;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.trailer-play.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.play-disc {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ember-bright);
  border-radius: 50%;
  background: rgba(18, 12, 7, 0.88);
  box-shadow: 0 0 0 9px rgba(0, 0, 0, 0.3), 0 0 52px rgba(226, 151, 58, 0.42);
  transition: transform 180ms ease, background 180ms ease;
}

.trailer-play:hover .play-disc,
.trailer-play:focus-visible .play-disc {
  transform: scale(1.08);
  background: rgba(148, 93, 36, 0.82);
}

.play-disc svg {
  width: 26px;
  margin-left: 5px;
  fill: var(--bone);
}

.trailer-play-label {
  color: var(--bone);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-shadow: 0 2px 12px #000;
  text-transform: uppercase;
}

.updates {
  background: #0c0b09;
}

.updates::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.23;
  background: radial-gradient(circle at 18% 50%, rgba(139, 84, 31, 0.22), transparent 32%);
}

.updates-shell {
  position: relative;
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: clamp(48px, 8vw, 110px);
}

.patch-tabs {
  margin-top: 44px;
  display: grid;
  border-top: 1px solid var(--line);
}

.patch-tab {
  padding: 21px 3px;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 15px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.patch-tab-version {
  color: var(--ember-bright);
  font-family: var(--serif);
  font-size: 0.92rem;
}

.patch-tab-title {
  color: rgba(238, 232, 220, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.patch-tab[aria-selected="true"] .patch-tab-title,
.patch-tab:hover .patch-tab-title,
.patch-tab:focus-visible .patch-tab-title {
  color: var(--bone);
}

.patch-tab[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(201, 136, 60, 0.1), transparent);
}

.patch-panel {
  min-height: 480px;
  padding: clamp(38px, 6vw, 72px);
  border: 1px solid rgba(220, 185, 123, 0.18);
  background:
    linear-gradient(145deg, rgba(39, 34, 27, 0.78), rgba(13, 12, 10, 0.95)),
    #15130f;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.patch-panel-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ember-bright);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.patch-panel h3 {
  margin: 28px 0 10px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.95;
}

.patch-summary {
  max-width: 590px;
  margin: 0 0 34px;
  color: var(--ash);
  font-family: var(--serif);
  font-size: 1.16rem;
  font-style: italic;
}

.patch-highlights {
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  gap: 15px;
  list-style: none;
}

.patch-highlights li {
  position: relative;
  padding-left: 26px;
  color: rgba(238, 232, 220, 0.72);
}

.patch-highlights li::before {
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  transform: rotate(45deg);
  border: 1px solid var(--ember);
}

.text-link {
  color: var(--bone);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-decoration-color: var(--ember-dark);
  text-underline-offset: 6px;
  text-transform: uppercase;
}

.final-cta {
  overflow: hidden;
  text-align: center;
}

.final-cta::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(900px, 90vw);
  height: min(900px, 90vw);
  content: "";
  transform: translate(-50%, -50%);
  border: 1px solid rgba(205, 151, 74, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(205, 151, 74, 0.022), 0 0 0 160px rgba(205, 151, 74, 0.012);
}

.final-cta .section-inner {
  position: relative;
}

.final-cta .section-title,
.final-cta .section-lead {
  margin-right: auto;
  margin-left: auto;
}

.final-cta .button {
  margin-top: 34px;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid rgba(218, 185, 124, 0.12);
  background: #060605;
}

.footer-inner {
  width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.studio-mark {
  color: rgba(238, 232, 220, 0.48);
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-link {
  color: rgba(238, 232, 220, 0.62);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--ember-bright);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

dialog {
  width: min(520px, calc(100vw - 36px));
  padding: 0;
  border: 1px solid rgba(238, 199, 129, 0.36);
  background: #15120e;
  color: var(--bone);
  box-shadow: 0 30px 90px #000;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(5px);
}

.dialog-inner {
  padding: 38px;
}

.dialog-inner h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.dialog-inner p {
  margin: 0 0 25px;
  color: var(--ash);
}

.archive-hero {
  padding: 165px 0 80px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(7, 7, 6, 0.68), var(--ink)),
    url("hero-keyart.png") center 38% / cover;
}

.archive-list {
  display: grid;
  gap: 22px;
}

.archive-card {
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid rgba(220, 185, 123, 0.17);
  background: linear-gradient(145deg, rgba(36, 31, 24, 0.74), rgba(12, 11, 9, 0.95));
}

.archive-card h2 {
  margin: 15px 0 8px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 900px) {
  :root {
    --page: min(100% - 34px, 720px);
  }

  .nav-inner {
    height: 74px;
  }

  .nav-mark {
    width: 154px;
    max-height: 62px;
  }

  .nav-links .nav-link:not(.button) {
    display: none;
  }

  .world-grid,
  .updates-shell {
    grid-template-columns: 1fr;
  }

  .world-art {
    width: min(520px, 88vw);
    margin: 20px auto 0;
    aspect-ratio: 4 / 3;
  }

  .features-heading {
    display: block;
  }

  .features-heading .section-lead {
    margin-top: 24px;
  }

  .feature-card {
    min-height: 440px;
  }
}

@media (max-width: 650px) {
  .hero {
    min-height: 840px;
  }

  .hero-art {
    inset: -2% -40%;
  }

  .hero-content {
    padding-top: 104px;
  }

  .hero-logo {
    width: 94vw;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    width: min(100%, 330px);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 470px;
  }

  .feature-card-content {
    padding: 30px;
  }

  .patch-panel-meta,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .trailer-frame {
    margin-right: -18px;
    margin-left: -18px;
    padding: 5px;
  }

  .trailer-play {
    inset: 5px;
  }

  .play-disc {
    width: 72px;
    height: 72px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
