@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/oswald-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/oswald-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Overpass";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/overpass-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Overpass";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/overpass-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Overpass";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/overpass-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Overpass";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/overpass-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #131312;
  color: #f1f0ec;
  font-family: "Overpass", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  transition: color 0.15s, text-decoration-color 0.15s, background-color 0.15s;
}

a:focus-visible {
  outline: 2px solid #f1f0ec;
  outline-offset: 4px;
}

.wrap {
  max-width: 1376px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.logo {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
}

.top .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.top.over {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.top.over .wrap {
  justify-content: flex-end;
}

.top:not(.over) {
  border-bottom: 1px solid #2a2927;
}

.top .logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 22px;
}

.top ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 17px;
  font-weight: 600;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.top nav a:hover {
  text-decoration-color: #f1f0ec;
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: clamp(560px, 78vh, 820px);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 19, 18, 0.8), rgba(19, 19, 18, 0) 200px),
    linear-gradient(0deg, #131312, rgba(19, 19, 18, 0.8) 240px, rgba(19, 19, 18, 0) 560px);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(40px, 6vw, 80px);
}

.hero h1 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(48px, 9.6vw, 150px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero p {
  margin: 26px 0 0;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: #d8d6d0;
}

.hero p a {
  color: #f1f0ec;
  font-weight: 600;
  text-decoration-color: rgba(241, 240, 236, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.hero p a:hover {
  text-decoration-color: #f1f0ec;
}

.games {
  padding: clamp(72px, 9vw, 128px) 0;
}

.game {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 40px);
}

.game-art {
  position: relative;
  height: clamp(220px, 36vw, 480px);
  overflow: hidden;
  background: #1c1c1a;
}

.game-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-art::after {
  content: "";
  position: absolute;
  inset: 0;
}

#rooted .game-art > img {
  object-position: center 20%;
}

#rooted .game-art::after {
  background: linear-gradient(270deg, rgba(19, 19, 18, 0.78), rgba(19, 19, 18, 0.4) 32%, rgba(19, 19, 18, 0) 58%);
}

#rooted .game-art h2 {
  left: auto;
  right: clamp(8px, 3vw, 40px);
}

#backrooms .game-art > img {
  object-position: center 30%;
}

#backrooms .game-art::after {
  background: linear-gradient(90deg, rgba(19, 19, 18, 0.7), rgba(19, 19, 18, 0.3) 34%, rgba(19, 19, 18, 0) 58%);
}

.game-art h2 {
  position: absolute;
  z-index: 1;
  left: clamp(8px, 3vw, 40px);
  bottom: clamp(4px, 2vw, 24px);
  margin: 0;
  line-height: 0;
}

.game-art h2 img {
  width: clamp(150px, 24vw, 320px);
  height: auto;
}

.game-text {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 32px clamp(32px, 5vw, 72px);
  align-items: start;
}

.game-text p {
  margin: 0;
}

.lead {
  max-width: 30em;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.45;
}

.facts {
  max-width: 34em;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.6;
  color: #d8d6d0;
}

.game-text .wishlist {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 28px;
}

.actions a:not(.sign) {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 17px;
  font-weight: 600;
  text-decoration-color: #5a5852;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.actions a:not(.sign):hover {
  text-decoration-color: #f1f0ec;
}

.sign {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  outline: 2px solid;
  outline-offset: -6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.sign:focus-visible {
  outline: 2px solid;
  outline-offset: -6px;
  box-shadow: 0 0 0 3px #131312, 0 0 0 6px #f1f0ec;
}

.sign.green {
  background: #006b3f;
  color: #fff;
}

.sign.green:hover {
  background: #0a7d4b;
}

.sign.yellow {
  background: #f4c300;
  color: #111;
}

.sign.yellow:hover {
  background: #ffd21a;
}

.road {
  height: 4px;
  margin: clamp(64px, 7vw, 104px) 0;
  border: 0;
  background: repeating-linear-gradient(90deg, #f4c300 0 48px, transparent 48px 84px);
}

.contact {
  padding-bottom: clamp(72px, 9vw, 128px);
}

.contact p {
  margin: 0;
}

.contact .statement {
  max-width: 34em;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.4;
}

.contact .label {
  max-width: 40em;
  margin-top: 28px;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.6;
  color: #d8d6d0;
}

.email {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(22px, 5.6vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration-color: #4a4844;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.14em;
  overflow-wrap: anywhere;
}

.email:hover {
  text-decoration-color: #f1f0ec;
}

.bottom {
  border-top: 1px solid #2a2927;
  font-size: 15px;
  line-height: 1.5;
  color: #a9a7a0;
}

.bottom .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 48px;
  padding-top: 32px;
  padding-bottom: 40px;
}

.bottom .col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bottom p {
  margin: 0;
}

.bottom .logo {
  font-size: 17px;
  color: #f1f0ec;
}

.bottom strong {
  font-weight: 600;
  color: #f1f0ec;
}

.bottom a {
  display: inline-block;
  padding: 6px 0;
  text-decoration-color: #4a4844;
  text-underline-offset: 0.25em;
}

.bottom a:hover {
  color: #f1f0ec;
  text-decoration-color: #f1f0ec;
}

.bottom .trademarks {
  flex-basis: 100%;
  padding-top: 8px;
  font-size: 13px;
}

.page {
  padding: clamp(56px, 7vw, 104px) 0 clamp(72px, 9vw, 128px);
}

.legal {
  max-width: 900px;
  font-size: 17px;
  line-height: 1.7;
  color: #d8d6d0;
  overflow-wrap: break-word;
}

.legal h1 {
  margin: 0 0 32px;
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.015em;
  color: #f1f0ec;
  text-wrap: balance;
}

.legal h2 {
  margin: 56px 0 16px;
  padding-top: 20px;
  border-top: 1px solid #2a2927;
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 800;
  line-height: 1.25;
  color: #f1f0ec;
  text-wrap: balance;
}

.legal h3 {
  margin: 32px 0 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: #f1f0ec;
}

.legal p {
  margin: 0 0 18px;
}

.legal ul {
  margin: 0 0 24px;
  padding-left: 22px;
}

.legal li {
  margin: 0 0 10px;
  padding-left: 4px;
}

.legal li::marker {
  color: #a9a7a0;
}

.legal strong {
  font-weight: 700;
  color: #f1f0ec;
}

.legal a {
  color: #f1f0ec;
  text-decoration-color: rgba(241, 240, 236, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.legal a:hover {
  text-decoration-color: #f1f0ec;
}

.legal hr {
  height: 2px;
  margin: clamp(80px, 10vw, 128px) 0 clamp(56px, 7vw, 88px);
  border: 0;
  background: #3a3936;
}

@media (max-width: 600px) {
  .top.over .wrap {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .top ul {
    gap: 0 20px;
  }

  .top .logo {
    font-size: 18px;
  }

  .legal {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  a {
    transition: none;
  }
}
