:root {
  --bg: #11100f;
  --bg-deep: #090909;
  --panel: #191715;
  --panel-soft: #211e1a;
  --text: #f4efe3;
  --muted: #b8ad9c;
  --gold: #d5a854;
  --gold-light: #f0d28f;
  --line: rgba(213, 168, 84, 0.26);
  --line-strong: rgba(213, 168, 84, 0.55);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
  --radius: 14px;
  --shell: 1180px;
  --hero-image: url("assets/hero.webp");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% -10%, rgba(120, 76, 28, 0.12), transparent 36rem),
    var(--bg);
  color: var(--text);
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .7rem 1rem;
  border-radius: 8px;
  background: #fff;
  color: #000;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.shell--narrow {
  width: min(calc(100% - 40px), 980px);
}

.hero {
  position: relative;
  min-height: clamp(330px, 31vw, 430px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(90deg, #090908, #171411 22%, #171411 78%, #090908);
}

.hero__art,
.hero__shade {
  position: absolute;
  top: 0;
  bottom: 0;
}

.hero__art {
  left: 50%;
  width: min(100%, 1600px);
  z-index: -3;
  background-image:
    linear-gradient(90deg, rgba(8, 7, 6, .30), rgba(8, 7, 6, .08) 48%, rgba(8, 7, 6, .28)),
    var(--hero-image);
  background-size: cover;
  background-position: center 42%;
  transform: translateX(-50%);
}

.hero__shade {
  left: 0;
  right: 0;
}

.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .09;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.hero__shade {
  z-index: -2;
  background: linear-gradient(to bottom, rgba(6,6,6,.10), rgba(6,6,6,.20) 48%, rgba(6,6,6,.72));
}

.hero__content {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 28px 20px 34px;
}

 .kicker {
  margin: 0 0 .65rem;
  color: var(--gold-light);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.hero__logo-heading {
  width: min(76vw, 720px);
  margin: 0;
  line-height: 0;
}

.hero__logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .72));
}

.hero__actions,
.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.15rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .72rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .065em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button--steam {
  gap: .55rem;
  padding-inline: 1.35rem;
}

.button__icon {
  width: 24px;
  height: 24px;
  max-width: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold-light);
}

.button--primary {
  background: linear-gradient(180deg, #e0b75f, #b9832d);
  color: #16110b;
  border-color: #efd188;
  box-shadow: 0 9px 30px rgba(179, 125, 40, .2);
}

.button--secondary {
  background: rgba(13, 12, 11, .66);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.section-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 12, 11, .94);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
}

.section-nav__inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-height: 58px;
}

.section-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .7rem clamp(.7rem, 2vw, 1.35rem);
  color: #d8cdbd;
  border-left: 1px solid rgba(255,255,255,.045);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .18s ease, background .18s ease;
}

.section-nav a:last-child {
  border-right: 1px solid rgba(255,255,255,.045);
}

.section-nav a:hover,
.section-nav a:focus-visible {
  color: var(--gold-light);
  background: rgba(213,168,84,.07);
}

.section-nav .section-nav__cta {
  color: #171109;
  background: linear-gradient(180deg, #e0b75f, #b9832d);
  border-color: rgba(239,209,136,.42);
}

.section-nav .section-nav__cta:hover,
.section-nav .section-nav__cta:focus-visible {
  color: #0d0a06;
  background: linear-gradient(180deg, #efd17f, #c79236);
}

.section {
  padding: clamp(58px, 6vw, 86px) 0;
  border-bottom: 1px solid rgba(213,168,84,.11);
}

.section--trailer {
  background: linear-gradient(180deg, #0c0c0c, #12100e);
}

.section--game {
  background:
    radial-gradient(circle at 85% 25%, rgba(125, 81, 34, .09), transparent 28rem),
    #141210;
}

.section--screenshots {
  background: #0e0e0e;
}

.section--cta {
  padding-block: clamp(54px, 7vw, 86px);
  background: linear-gradient(135deg, #18130e, #0c0c0c 65%);
}

.section--press {
  background: #13110f;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}

.section-heading--left {
  margin-inline: 0;
  text-align: left;
}

.heading-line {
  display: block;
}

.section-heading--trailer {
  margin-bottom: clamp(22px, 3vw, 32px);
}

.section-heading--trailer h2 {
  line-height: 1.02;
}

.section-heading--trailer .heading-line:first-child {
  font-size: 86%;
}

.section-heading--trailer .heading-line + .heading-line {
  margin-top: .05em;
  font-size: 94%;
}

.trailer-kicker {
  margin: 0 0 .75rem;
  text-align: center;
}

.section h2 {
  margin: 0;
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: .005em;
  font-weight: 800;
  font-variant-caps: small-caps;
}

.lede {
  margin: 1.25rem 0 0;
  color: #c5baaa;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.lede--small {
  max-width: 650px;
  font-size: 1rem;
}

.section-note {
  margin: .9rem 0 0;
  color: var(--muted);
  font-size: .93rem;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow), 0 0 0 5px rgba(213,168,84,.035);
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 1;
  border: 1px solid rgba(240,210,143,.13);
  border-radius: 9px;
  pointer-events: none;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(34,30,25,.92), rgba(20,18,16,.92));
  box-shadow: 0 14px 38px rgba(0,0,0,.18);
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -52px;
  bottom: -52px;
  border: 1px solid rgba(213,168,84,.15);
  transform: rotate(45deg);
}

.feature-card h3 {
  margin: 0 0 .55rem;
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  font-variant-caps: small-caps;
}

.feature-card p {
  margin: 0;
  color: #bdb1a1;
}

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

.screenshot-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #090909;
  box-shadow: 0 12px 34px rgba(0,0,0,.25);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.screenshot-card::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(240,210,143,.1);
  border-radius: 6px;
  pointer-events: none;
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-card:hover,
.screenshot-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold-light);
  box-shadow: 0 18px 42px rgba(0,0,0,.34);
  outline: none;
}

.screenshot-card {
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(3, 3, 3, .93);
  backdrop-filter: blur(4px);
}

.lightbox__stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 64px);
  cursor: zoom-out;
}

.lightbox__image {
  display: block;
  width: auto;
  max-width: min(94vw, 1920px);
  height: auto;
  max-height: 88dvh;
  object-fit: contain;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #050505;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .65);
  cursor: zoom-out;
}

.lightbox__close {
  position: fixed;
  top: clamp(14px, 2vw, 24px);
  right: clamp(14px, 2vw, 24px);
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid rgba(239, 209, 136, .48);
  border-radius: 50%;
  background: rgba(18, 15, 12, .92);
  color: #f2dfb3;
  font: 400 2rem/1 "Noto Sans", "Segoe UI", Arial, sans-serif;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  color: #fff3d1;
  background: rgba(82, 57, 25, .96);
  border-color: var(--gold-light);
  outline: none;
  transform: scale(1.05);
}

.cta-panel {
  padding: clamp(34px, 6vw, 62px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(65,44,22,.62), rgba(20,18,15,.94) 55%),
    #181511;
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-panel h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.cta-panel p:not(.kicker) {
  max-width: 600px;
  margin: .9rem auto 0;
  color: #c8bdad;
}

.press-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 6vw, 70px);
  align-items: center;
}

.press-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #191714;
}

.press-card__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  border-bottom: 1px solid rgba(213,168,84,.13);
}

.press-card__row:last-child {
  border-bottom: 0;
}

.press-card__row span {
  color: var(--muted);
}

.press-card__row strong {
  color: #8f867b;
  font-size: .9rem;
}

.press-card__row a {
  color: var(--gold-light);
  font-weight: 700;
}

.site-footer {
  padding: 28px 0;
  background: #080808;
  color: #998f82;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-footer strong {
  color: #d4c7b4;
}

.site-footer a {
  color: var(--gold-light);
  text-decoration: none;
}


@media (min-width: 1601px) {
  .hero__art {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  }
}

@media (max-width: 780px) {
  .shell,
  .shell--narrow {
    width: min(calc(100% - 28px), var(--shell));
  }

  html {
    scroll-padding-top: 112px;
  }

  .hero {
    min-height: 350px;
  }

  .hero__art {
    background-position: 62% center;
  }

  .hero__content {
    padding-inline: 10px;
  }

  .hero__logo-heading {
    width: min(88vw, 660px);
  }

  .section-nav__inner {
    flex-wrap: wrap;
    width: 100%;
    min-height: 0;
  }

  .section-nav a {
    flex: 1 1 33.333%;
    min-height: 48px;
    padding-inline: .45rem;
    border-bottom: 1px solid rgba(255,255,255,.04);
    font-size: .69rem;
  }

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

  .feature-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .hero__art {
    /* On phones, favor the monster/obelisk side of the wide key art instead of
       landing on the relatively quiet center of the source image. */
    background-position: 27% center;
  }

  .hero__logo-heading {
    width: min(94vw, 540px);
  }

  .hero__actions,
  .cta-panel__actions {
    width: min(100%, 360px);
  }

  .hero__actions .button,
  .cta-panel__actions .button {
    flex: 1 1 100%;
  }

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

  .press-card__row {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}


@media (max-width: 620px) and (orientation: portrait) {
  .lightbox__stage {
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 58px 2px 12px;
  }

  .lightbox__image {
    width: auto;
    max-width: calc(100vw - 4px);
    height: auto;
    max-height: calc(100dvh - 72px);
    margin: 0;
    object-fit: contain;
    touch-action: manipulation;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
