:root {
  --canvas: #0f0d0c;
  --line: #2d2622;
  --serif: "Bellefair", "Iowan Old Style", Baskerville, "Baskerville Old Face", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", Times, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Helvetica, "Noto Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--canvas);
  color: #fffae9;
}

body {
  font-family: var(--sans);
  overflow-x: hidden;
}

.page-stage {
  position: relative;
  width: 100%;
  min-width: 320px;
  height: 4362px;
}

.page {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1920px;
  transform-origin: top center;
  transform: translateX(-50%) scale(1);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.section {
  position: relative;
  width: 1920px;
  overflow: hidden;
}

.hero {
  position: relative;
  height: 932px;
  isolation: isolate;
  background:
    linear-gradient(rgba(11, 8, 7, 0.35), rgba(11, 8, 7, 0.35)),
    url("/assets/images/hero-background.jpg") center/cover no-repeat;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

.hero::before {
  top: 0;
  height: 100px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.325) 0%,
    rgba(0, 0, 0, 0.18) 14%,
    rgba(0, 0, 0, 0.07) 32%,
    rgba(0, 0, 0, 0.02) 64%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero::after {
  bottom: 0;
  height: 150px;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.44) 12%,
    rgba(0, 0, 0, 0.16) 26%,
    rgba(0, 0, 0, 0.045) 50%,
    rgba(0, 0, 0, 0.012) 78%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero > * {
  z-index: 1;
}

.welcome {
  height: 752px;
  background: #3a2a21;
}

.features {
  position: relative;
  --feature-stack-top: 158px;
  --feature-row-height: 431.6667px;
  --feature-bottom-space: 119px;
  height: calc(
    var(--feature-stack-top) +
    (var(--feature-count, 0) * var(--feature-row-height)) +
    var(--feature-bottom-space)
  );
  background: #e4c5ae;
  isolation: isolate;
}

.features::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/images/features-background.png") center/cover no-repeat;
  mix-blend-mode: overlay;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.community {
  position: relative;
  height: 718px;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: url("/assets/images/community-background.jpg") center/cover no-repeat;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.135) 14%,
    rgba(0, 0, 0, 0.05) 32%,
    rgba(0, 0, 0, 0.014) 64%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}

.features::before {
  height: 75px;
}

.features > *,
.community > * {
  position: relative;
  z-index: 2;
}

.footer-legal {
  height: 388px;
  background: linear-gradient(180deg, #58231c 0%, #311410 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.footer-legal::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 62.4% 92% at 50% 0%,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.72) 10%,
      rgba(255, 255, 255, 0.5) 24%,
      rgba(255, 255, 255, 0.3) 42%,
      rgba(255, 255, 255, 0.14) 62%,
      rgba(255, 255, 255, 0.05) 80%,
      rgba(255, 244, 224, 0) 100%
    );
  mix-blend-mode: overlay;
  opacity: 0.63;
  z-index: 1;
  pointer-events: none;
}

.footer-legal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/images/footer-background.png") center/cover no-repeat;
  mix-blend-mode: overlay;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.asset {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.js-hover-swap {
  cursor: pointer;
}

.hero-topbar {
  position: absolute;
  right: 217px;
  top: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: max-content;
}

/* Hero mapped blocks */
.b-logo { left: 2.14%; top: 3.43%; width: 93.688px; height: 110px; object-fit: contain; }
.b-nav {
  position: static;
}
.hero-nav {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 0;
  font-family: var(--serif);
  font-size: 16.8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.hero-nav a {
  display: inline-block;
  color: #fffae9;
  text-decoration: none;
}

.hero-nav-divider {
  flex: 0 0 auto;
  width: 2.37px;
  height: 26.812px;
  margin: 0 15px;
  background: url("/assets/images/nav-divider-small.svg") center/contain no-repeat;
  pointer-events: none;
}

.hero-nav-divider-large {
  flex: 0 0 auto;
  width: 2.37px;
  height: 52.469px;
  margin: 0 22px;
  background-image: url("/assets/images/nav-divider-large.svg");
}

.hero-nav a:hover { opacity: 0.8; }

.b-social {
  position: static;
}

.top-social {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 21px;
}

.top-social img {
  display: block;
  object-fit: contain;
}

.top-social-link {
  display: block;
}

.top-social-x { width: 20px; height: 22px; }
.top-social-discord { width: 28px; height: 21px; }
.top-social-youtube { width: 31px; height: 21px; }
.b-wishlist-top { left: 90.26%; top: 3.65%; width: 9.74%; height: 5.79%; object-fit: contain; }
.b-hero-mark { left: 50%; top: 293px; width: auto; height: 310px; object-fit: contain; transform: translateX(-50%); }
.b-hero-cta-left { left: 37.45%; top: 69.96%; width: 12.24%; height: 5.9%; object-fit: contain; }
.b-hero-cta-right { left: 50.26%; top: 69.96%; width: 12.24%; height: 5.9%; object-fit: contain; }

/* Welcome mapped blocks */
.b-welcome-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 69.53%;
  height: 100%;
  z-index: 2;
  background: #000;
  overflow: hidden;
}

.welcome-video-player {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: cover;
}

.b-welcome-right {
  position: absolute;
  left: 69.53%;
  top: 0;
  width: 30.47%;
  height: 100%;
  padding: 46px 36px;
  background: linear-gradient(180deg, #421b16 0%, #58231c 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.b-welcome-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle 400px at 50% 30%,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.78) 14%,
      rgba(255, 255, 255, 0.58) 31%,
      rgba(255, 255, 255, 0.38) 50%,
      rgba(255, 255, 255, 0.16) 68%,
      rgba(255, 255, 255, 0.04) 83%,
      rgba(255, 244, 224, 0) 100%
    );
  mix-blend-mode: overlay;
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}

.b-welcome-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/images/welcome-background.png") center/cover no-repeat;
  mix-blend-mode: overlay;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.b-welcome-right > * {
  position: relative;
  z-index: 2;
}

.b-welcome-right .eyebrow {
  margin: 0;
  width: 318px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #fffae9;
  text-align: center;
}

.b-welcome-logo {
  margin: 0;
  width: 244px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.b-welcome-right .intro-copy {
  margin: 0;
  width: 372px;
  max-width: none;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.33;
  font-weight: 400;
  color: #fffae9;
  text-align: center;
}

/* Features mapped blocks */
.b-features-heading {
  position: absolute;
  left: 45.68%;
  top: 102px;
  width: 8.33%;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.55em;
  color: #614d41;
  font-size: 18.2px;
  z-index: 2;
}

.b-features-divider {
  left: 10.1%;
  top: 113px;
  width: 79.69%;
  height: 1px;
  object-fit: fill;
  z-index: 1;
}

.feature-list {
  position: absolute;
  left: 10.1%;
  top: var(--feature-stack-top);
  width: 79.69%;
  height: calc(var(--feature-count, 0) * var(--feature-row-height));
}

.feature-row {
  position: absolute;
  top: calc(var(--feature-index, 0) * var(--feature-row-height));
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: var(--feature-row-height);
}

.feature-row::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: 19px 32px 62px rgba(79, 57, 42, 0.3);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.feature-row:nth-child(even) .image-tile {
  order: 2;
}

.feature-row:nth-child(even) .text-tile {
  order: 1;
}

.tile {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.image-tile {
  background: #2a221d;
}

.text-tile {
  background: #f1d6c3;
  color: #614d41;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
}

.feature-row:nth-child(even) .text-tile {
  background: linear-gradient(180deg, #421b16 0%, #58231c 100%);
  color: #fffae9;
}

.text-tile h2 {
  margin: 0 0 3%;
  font-family: var(--serif);
  font-size: 47px;
  line-height: 1.05;
  font-weight: 400;
}

.text-tile p {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  opacity: 0.9;
}

/* Community mapped blocks */
.panel {
  position: relative;
  width: 750px;
  height: 482px;
  padding: 85px 52px 40px;
  background: rgba(108, 83, 64, 0.4);
  backdrop-filter: blur(9.8px);
  text-align: center;
  isolation: isolate;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  background:
    url("/assets/images/community-border-slices/top-left.png") 0 0 / 2px 2px no-repeat,
    url("/assets/images/community-border-slices/top.png") 2px 0 / calc(100% - 3px) 2px no-repeat,
    url("/assets/images/community-border-slices/top-right.png") calc(100% - 1px) 0 / 1px 2px no-repeat,
    url("/assets/images/community-border-slices/left.png") 0 2px / 2px calc(100% - 4px) no-repeat,
    url("/assets/images/community-border-slices/right.png") calc(100% - 1px) 2px / 1px calc(100% - 4px) no-repeat,
    url("/assets/images/community-border-slices/bottom-left.png") 0 calc(100% - 2px) / 2px 2px no-repeat,
    url("/assets/images/community-border-slices/bottom.png") 2px calc(100% - 2px) / calc(100% - 3px) 2px no-repeat,
    url("/assets/images/community-border-slices/bottom-right.png") calc(100% - 1px) calc(100% - 2px) / 1px 2px no-repeat;
  pointer-events: none;
  z-index: 0;
}

.panel > * {
  position: relative;
  z-index: 1;
}

.panel .mini {
  margin: 10px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 14px;
  color: #fffae9;
}

.panel h2 {
  margin: 18px 0 24px;
  font-family: var(--serif);
  font-size: 47px;
  line-height: 0.95;
  text-transform: uppercase;
  font-weight: 400;
}

.panel .copy {
  margin: 0 auto;
  max-width: 88%;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  color: #fffae9;
}

.read-news-btn {
  position: static;
  margin: 7% auto 0;
  width: min(62%, 234px);
  height: auto;
  object-fit: contain;
}

.icon-row {
  margin: 7% auto 0;
  width: min(70%, 292px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-row img {
  position: static;
  object-fit: contain;
}

.icon-link {
  display: block;
}

.icon-link-discord {
  width: 19.2%;
}

.icon-x { width: 13.7%; height: auto; }
.icon-discord { width: 100%; height: auto; }
.icon-youtube { width: 20.5%; height: auto; }
.icon-steam { width: 14%; height: auto; }

/* Footer mapped blocks */
.b-footer-logo {
  left: 43.7%;
  top: 75px;
  width: 12.55%;
  height: 39.69%;
  object-fit: contain;
  z-index: 2;
}

.b-footer-divider {
  left: 15.6%;
  top: 243px;
  width: 68.8%;
  height: 1px;
  object-fit: contain;
  opacity: 0.65;
  z-index: 2;
}

.b-footer-links {
  position: absolute;
  left: 20.16%;
  top: 289px;
  width: 59.58%;
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fffae9;
  z-index: 2;
}

.presskit-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(153, 60, 43, 0.42), rgba(15, 13, 12, 0) 36%),
    linear-gradient(180deg, #160f0d 0%, #0f0d0c 100%);
}

.presskit-page {
  min-height: 100vh;
}

.presskit-hero {
  position: relative;
  padding: 34px 0 96px;
  background:
    linear-gradient(rgba(11, 8, 7, 0.52), rgba(11, 8, 7, 0.72)),
    url("/assets/images/hero-background.jpg") center top / cover no-repeat;
  border-bottom: 1px solid rgba(255, 250, 233, 0.12);
}

.presskit-header,
.presskit-hero-inner,
.presskit-content {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
}

.presskit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.presskit-brand img {
  display: block;
  width: 94px;
  height: 110px;
  object-fit: contain;
}

.presskit-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  font-family: var(--serif);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.presskit-nav a,
.presskit-links a,
.presskit-button {
  color: #fffae9;
  text-decoration: none;
}

.presskit-nav a[aria-current="page"] {
  opacity: 0.6;
}

.presskit-hero-inner {
  padding: 112px 0 0;
}

.presskit-kicker,
.presskit-panel-label {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: rgba(255, 250, 233, 0.78);
}

.presskit-hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.95;
  font-weight: 400;
}

.presskit-summary {
  max-width: 700px;
  margin: 26px 0 0;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 31px);
  line-height: 1.2;
  color: rgba(255, 250, 233, 0.9);
}

.presskit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.presskit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(255, 250, 233, 0.22);
  background: rgba(15, 13, 12, 0.38);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.presskit-button-primary {
  background: linear-gradient(180deg, #874236 0%, #58231c 100%);
}

.presskit-content {
  padding: 56px 0 88px;
}

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

.presskit-panel {
  padding: 28px;
  border: 1px solid rgba(255, 250, 233, 0.12);
  background:
    linear-gradient(180deg, rgba(88, 35, 28, 0.46) 0%, rgba(32, 21, 19, 0.72) 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.presskit-facts {
  margin: 0;
}

.presskit-facts div + div,
.presskit-links li + li,
.presskit-list li + li {
  margin-top: 18px;
}

.presskit-facts dt {
  margin: 0 0 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 250, 233, 0.58);
}

.presskit-facts dd,
.presskit-richtext p,
.presskit-list,
.presskit-links,
.presskit-boilerplate {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.35;
  color: #fffae9;
}

.presskit-richtext p + p {
  margin-top: 18px;
}

.presskit-list,
.presskit-links {
  padding-left: 22px;
}

.presskit-links li span {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 250, 233, 0.58);
}

@media (max-width: 900px) {
  .presskit-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .presskit-nav {
    justify-content: flex-start;
  }

  .presskit-hero-inner {
    padding-top: 72px;
  }

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

  .presskit-facts dd,
  .presskit-richtext p,
  .presskit-list,
  .presskit-links,
  .presskit-boilerplate {
    font-size: 20px;
  }
}

@media (max-width: 560px) {
  .presskit-header,
  .presskit-hero-inner,
  .presskit-content {
    width: min(1180px, calc(100vw - 32px));
  }

  .presskit-panel {
    padding: 22px;
  }
}
