@font-face {
  font-family: "Archivo Black";
  src: url("assets/fonts/archivo-black.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-extrabold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

:root {
  --ink: #080a0f;
  --ink-soft: #11141c;
  --paper: #f3f0e8;
  --paper-deep: #e5e1d7;
  --white: #fffdf8;
  --orange: #ff5c35;
  --lime: #c8ff4a;
  --cyan: #4ce7ff;
  --line-dark: rgba(8, 10, 15, 0.16);
  --line-light: rgba(255, 255, 255, 0.14);
  --display: "Archivo Black", Impact, sans-serif;
  --body: "Manrope", "Segoe UI", sans-serif;
  --shell: min(1380px, calc(100vw - 64px));
  --radius-xl: 42px;
  --radius-lg: 30px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  min-width: 280px;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-locked {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  content: "";
  background: currentColor;
}

.eyebrow span {
  color: var(--orange);
}

.eyebrow--dark {
  color: rgba(8, 10, 15, 0.62);
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  transition:
    transform 240ms var(--ease),
    color 240ms ease,
    background-color 240ms ease,
    border-color 240ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button svg {
  width: 20px;
}

.button--light {
  color: var(--ink);
  background: var(--white);
}

.button--light:hover {
  background: var(--lime);
}

.button--accent {
  color: var(--ink);
  background: var(--accent);
}

.button--accent:hover {
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.84rem;
  font-weight: 800;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link:hover {
  color: var(--white);
  border-color: var(--white);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1460px, calc(100vw - 36px));
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 16px;
  border: 1px solid transparent;
  border-radius: 24px;
  transform: translateX(-50%);
  transition:
    background-color 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    backdrop-filter 260ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 15, 0.8);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
  transition: transform 320ms var(--ease);
}

.brand:hover .brand__mark {
  transform: translateY(-3px) rotate(5deg);
}

.brand__name {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav > a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  transition: color 180ms ease, background-color 180ms ease;
}

.primary-nav > a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.primary-nav .nav-steam {
  gap: 10px;
  margin-left: 10px;
  color: var(--ink);
  background: var(--lime);
}

.primary-nav .nav-steam:hover {
  color: var(--ink);
  background: var(--white);
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 220ms ease, top 220ms ease;
}

.menu-toggle > span:nth-child(2) {
  top: 18px;
}

.menu-toggle > span:nth-child(3) {
  top: 27px;
}

.menu-open .menu-toggle > span:nth-child(2) {
  top: 22px;
  transform: rotate(45deg);
}

.menu-open .menu-toggle > span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 940px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--ink);
  background-size: 72px 72px;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  pointer-events: none;
  content: "";
  background: linear-gradient(transparent, rgba(8, 10, 15, 0.96));
}

.hero__aurora {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(120px);
  pointer-events: none;
}

.hero__aurora--one {
  top: -170px;
  left: 14%;
  background: var(--orange);
}

.hero__aurora--two {
  right: -180px;
  bottom: 0;
  background: #5538ff;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 860px;
  align-items: center;
  gap: clamp(40px, 6vw, 110px);
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
  padding-top: 132px;
  padding-bottom: 110px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__title {
  max-width: 920px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.4rem, 8.6vw, 9.2rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.84;
  text-transform: uppercase;
}

.hero__title span {
  display: block;
  white-space: nowrap;
}

.hero__title-accent {
  color: var(--orange);
}

.hero__lede {
  max-width: 610px;
  margin: 38px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  letter-spacing: -0.02em;
  line-height: 1.65;
}

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

.hero__facts {
  display: grid;
  max-width: 670px;
  margin: 66px 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero__facts > div {
  min-width: 0;
  padding: 0 22px;
  border-left: 1px solid var(--line-light);
}

.hero__facts > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__facts dt {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
}

.hero__facts dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.hero-stage {
  --tilt-x: 0px;
  --tilt-y: 0px;
  position: relative;
  min-height: 680px;
  isolation: isolate;
}

.hero-stage__orbit {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(47vw, 660px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-49%, -50%) rotate(-18deg);
}

.hero-stage__orbit::before,
.hero-stage__orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: inherit;
  content: "";
  inset: 11%;
}

.hero-stage__orbit::after {
  inset: 25%;
}

.hero-stage__orbit span {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px var(--lime), 0 0 24px var(--lime);
}

.hero-stage__orbit span:nth-child(1) {
  top: 12%;
  right: 17%;
}

.hero-stage__orbit span:nth-child(2) {
  bottom: 22%;
  left: 5%;
  background: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 24px var(--cyan);
}

.hero-stage__orbit span:nth-child(3) {
  right: 10%;
  bottom: 14%;
  width: 7px;
  height: 7px;
  background: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 0 24px var(--orange);
}

.hero-stage__label {
  position: absolute;
  z-index: 4;
  top: 66px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-stage__label::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--lime);
  box-shadow: 0 0 14px var(--lime);
}

.hero-stage__cards {
  position: absolute;
  inset: 0;
  transition: transform 400ms var(--ease);
  transform: translate(var(--tilt-x), var(--tilt-y));
}

.hero-game-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #171a22;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44);
  transition:
    transform 420ms var(--ease),
    box-shadow 420ms var(--ease),
    border-color 240ms ease;
}

.hero-game-card::after {
  position: absolute;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.22);
  inset: 10px;
}

.hero-game-card:hover {
  z-index: 3;
  border-color: var(--card-accent);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.62);
}

.hero-game-card--1 {
  z-index: 2;
  top: 84px;
  left: 4%;
  width: min(29vw, 390px);
  aspect-ratio: 0.73;
  border-radius: 170px 170px 30px 30px;
  transform: rotate(-5deg);
}

.hero-game-card--1::after {
  border-radius: 160px 160px 23px 23px;
}

.hero-game-card--1:hover {
  transform: rotate(-1deg) translateY(-10px);
}

.hero-game-card--2 {
  z-index: 1;
  right: -2%;
  bottom: 58px;
  width: min(23vw, 310px);
  aspect-ratio: 0.77;
  border-radius: 26px;
  transform: rotate(8deg);
}

.hero-game-card--2::after {
  border-radius: 17px;
}

.hero-game-card--2:hover {
  transform: rotate(2deg) translateY(-10px);
}

.hero-game-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--card-image-position);
  transition: transform 800ms var(--ease), filter 500ms ease;
}

.hero-game-card:hover > img {
  transform: scale(1.055);
}

.hero-game-card__shade {
  position: absolute;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 6, 10, 0.9));
  inset: 0;
}

.hero-game-card__meta {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

.hero-game-card__meta b {
  color: var(--card-accent);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 0.9;
}

.hero-game-card__arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: var(--card-accent);
  font-weight: 800;
}

.hero-stage__signal {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-stage__signal i {
  width: 3px;
  height: 8px;
  background: var(--lime);
}

.hero-stage__signal i:nth-child(2) {
  height: 14px;
}

.hero-stage__signal i:nth-child(3) {
  height: 21px;
}

.hero-stage__signal span {
  margin-left: 8px;
}

.hero__ticker {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--orange);
  transform: rotate(-1.2deg) scale(1.03);
}

.hero__ticker > div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 30px;
  padding: 15px 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  animation: ticker 26s linear infinite;
}

.hero__ticker i {
  font-style: normal;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* Games */
.games-section {
  position: relative;
  padding: 150px 0 170px;
  color: var(--ink);
  background: var(--paper);
}

.section-heading {
  display: grid;
  align-items: end;
  gap: 70px;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  margin-bottom: 76px;
}

.section-heading h2,
.studio-intro__title,
.contact-section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 7vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.88;
  text-transform: uppercase;
}

.section-heading > p {
  max-width: 460px;
  margin: 0 0 4px auto;
  color: rgba(8, 10, 15, 0.62);
  font-size: 0.98rem;
  letter-spacing: -0.015em;
}

.games-list {
  display: grid;
  gap: 38px;
}

.game-card {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  display: grid;
  min-height: 720px;
  overflow: hidden;
  color: var(--white);
  border: 1px solid rgba(8, 10, 15, 0.1);
  border-radius: var(--radius-xl);
  background: var(--ink-soft);
  box-shadow: 0 24px 80px rgba(22, 18, 12, 0.14);
  grid-template-columns: minmax(0, 1.17fr) minmax(400px, 0.83fr);
}

.game-card::before {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  content: "";
  background: radial-gradient(500px circle at var(--spot-x) var(--spot-y), color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
  inset: 0;
}

.game-card--media-right {
  grid-template-columns: minmax(400px, 0.83fr) minmax(0, 1.17fr);
}

.game-card--media-right .game-card__media {
  grid-column: 2;
  grid-row: 1;
}

.game-card--media-right .game-card__content {
  grid-column: 1;
  grid-row: 1;
}

.game-card__media {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  background: #171a22;
}

.game-card__media > img:first-child {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  object-position: var(--image-position);
  transition: transform 1s var(--ease), filter 600ms ease;
}

.game-card:hover .game-card__media > img:first-child {
  transform: scale(1.035);
}

.game-card__media-shade {
  position: absolute;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 5, 8, 0.45), transparent 32%, rgba(4, 5, 8, 0.78)),
    linear-gradient(90deg, transparent 70%, rgba(4, 5, 8, 0.24));
  inset: 0;
}

.game-card__media::after {
  position: absolute;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: calc(var(--radius-xl) - 13px);
  inset: 14px;
}

.game-card__media-top {
  position: absolute;
  z-index: 2;
  top: 36px;
  right: 38px;
  left: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.game-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  color: var(--ink);
  border-radius: 999px;
  background: var(--accent);
}

.game-card__status i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.65);
  }
}

.trailer-button {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 112px;
  height: 112px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 300ms var(--ease), background-color 200ms ease;
}

.trailer-button:hover {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.08);
}

.trailer-button svg {
  width: 34px;
  height: 34px;
}

.trailer-button span {
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  width: 120px;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
  transform: translateX(-50%);
}

.game-card__logo {
  position: absolute;
  z-index: 2;
  bottom: 34px;
  left: 38px;
  width: min(58%, 360px);
  max-height: 130px;
  object-fit: contain;
  object-position: left bottom;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.36);
}

.game-card__content {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 5vw, 82px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.game-card--media-right .game-card__content {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 0;
}

.game-card__genres {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-card__genres span {
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-card__release {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0 0;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.game-card__release::before {
  width: 24px;
  height: 2px;
  content: "";
  background: currentColor;
}

.game-card__content h3 {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 4.2vw, 5.3rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-transform: uppercase;
}

.game-card__tagline {
  margin: 26px 0 0;
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.game-card__description {
  max-width: 550px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.86rem;
  line-height: 1.7;
}

.game-card__features {
  display: grid;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.game-card__features li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
}

.game-card__features li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 2px solid var(--accent);
  content: "";
  transform: rotate(45deg);
}

.game-card__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
}

.game-card__steam-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.73rem;
  font-weight: 800;
  transition: color 180ms ease, border-color 180ms ease;
}

.game-card__steam-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.noscript-note {
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
}

/* Studio */
.studio-section {
  position: relative;
  padding: 160px 0 140px;
  overflow: hidden;
  color: var(--ink);
  background: var(--lime);
}

.studio-section::before {
  position: absolute;
  top: -210px;
  right: -150px;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(8, 10, 15, 0.14);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 70px rgba(8, 10, 15, 0.035),
    0 0 0 140px rgba(8, 10, 15, 0.025);
}

.studio-intro {
  display: grid;
  align-items: end;
  column-gap: 80px;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

.studio-intro .eyebrow {
  grid-column: 1 / -1;
}

.studio-intro__title {
  max-width: 900px;
}

.studio-intro__body {
  max-width: 510px;
  margin: 0 0 6px;
  color: rgba(8, 10, 15, 0.68);
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.studio-process {
  display: grid;
  margin: 100px 0 0;
  padding: 0;
  border-top: 1px solid rgba(8, 10, 15, 0.24);
  list-style: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.studio-process li {
  min-height: 270px;
  padding: 26px 28px 30px;
  border-right: 1px solid rgba(8, 10, 15, 0.24);
}

.studio-process li:first-child {
  border-left: 1px solid rgba(8, 10, 15, 0.24);
}

.studio-process li > span {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
}

.studio-process li > div {
  margin-top: 82px;
}

.studio-process h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.025em;
}

.studio-process p {
  max-width: 220px;
  margin: 8px 0 0;
  color: rgba(8, 10, 15, 0.6);
  font-size: 0.76rem;
  line-height: 1.55;
}

.studio-note {
  display: flex;
  min-height: 320px;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 46px;
  padding: 46px;
  color: var(--white);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 78% 30%, rgba(76, 231, 255, 0.34), transparent 26%),
    radial-gradient(circle at 62% 100%, rgba(255, 92, 53, 0.34), transparent 30%),
    var(--ink);
}

.studio-note p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.8vw, 6.2rem);
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-transform: uppercase;
}

.studio-note > span {
  display: grid;
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: var(--orange);
  font-size: 1.5rem;
}

/* Contact */
.contact-section {
  position: relative;
  padding: 150px 0 130px;
  overflow: hidden;
  color: var(--ink);
  background: var(--orange);
}

.contact-section__grid {
  position: absolute;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(8, 10, 15, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 10, 15, 0.28) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, #000, transparent 74%);
  inset: 0;
}

.contact-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
}

.contact-section .eyebrow {
  color: rgba(8, 10, 15, 0.62);
}

.contact-section h2 {
  max-width: 720px;
}

.contact-link {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: space-between;
  align-self: end;
  gap: 30px;
  padding: 0 0 22px;
  border-bottom: 2px solid var(--ink);
  font-size: clamp(1rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.contact-link span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-link b {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--orange);
  border-radius: 50%;
  background: var(--ink);
  transition: transform 260ms var(--ease);
}

.contact-link:hover b {
  transform: rotate(45deg);
}

/* Footer */
.site-footer {
  padding: 54px 0;
  color: rgba(255, 255, 255, 0.65);
  background: var(--ink);
}

.site-footer__inner {
  display: grid;
  align-items: center;
  gap: 40px;
  grid-template-columns: 1fr 1.1fr auto auto;
}

.brand--footer {
  color: var(--white);
}

.site-footer p,
.site-footer small {
  margin: 0;
  font-size: 0.7rem;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  font-size: 0.7rem;
  font-weight: 800;
}

.site-footer nav a:hover {
  color: var(--white);
}

/* Trailer */
.trailer-dialog {
  width: min(1120px, calc(100vw - 36px));
  max-width: none;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: #0b0d12;
  box-shadow: 0 40px 130px rgba(0, 0, 0, 0.7);
}

.trailer-dialog::backdrop {
  background: rgba(3, 4, 7, 0.84);
  backdrop-filter: blur(12px);
}

.trailer-dialog__bar {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px 0 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trailer-dialog__bar p {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
}

.trailer-dialog__bar button {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.trailer-dialog__bar button:hover {
  color: var(--ink);
  background: var(--white);
}

.trailer-dialog__frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.trailer-dialog__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 760ms var(--ease),
    transform 760ms var(--ease);
}

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

/* Responsive */
@media (max-width: 1180px) {
  :root {
    --shell: min(100% - 48px, 1160px);
  }

  .hero__grid {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
  }

  .hero-stage {
    min-height: 590px;
  }

  .hero-game-card--1 {
    width: 330px;
  }

  .hero-game-card--2 {
    width: 250px;
  }

  .game-card,
  .game-card--media-right {
    min-height: 650px;
    grid-template-columns: minmax(0, 1.1fr) minmax(370px, 0.9fr);
  }

  .game-card__media > img:first-child {
    min-height: 650px;
  }

  .game-card__content {
    padding: 46px;
  }
}

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

  .hero__grid {
    min-height: 0;
    gap: 38px;
    grid-template-columns: 1fr;
    padding-top: 160px;
    padding-bottom: 120px;
  }

  .hero__copy {
    max-width: 820px;
  }

  .hero__title {
    font-size: clamp(4.3rem, 13vw, 8rem);
  }

  .hero-stage {
    width: min(100%, 690px);
    min-height: 650px;
    margin: 0 auto;
  }

  .hero-stage__orbit {
    width: 630px;
  }

  .hero-game-card--1 {
    left: 11%;
    width: 370px;
  }

  .hero-game-card--2 {
    right: 6%;
    width: 275px;
  }

  .section-heading,
  .studio-intro,
  .contact-section__inner {
    gap: 38px;
    grid-template-columns: 1fr;
  }

  .section-heading > p,
  .studio-intro__body {
    margin-left: 0;
  }

  .game-card,
  .game-card--media-right {
    grid-template-columns: 1fr;
  }

  .game-card--media-right .game-card__media,
  .game-card--media-right .game-card__content {
    grid-column: 1;
  }

  .game-card--media-right .game-card__media {
    grid-row: 1;
  }

  .game-card--media-right .game-card__content {
    grid-row: 2;
  }

  .game-card__media > img:first-child {
    height: min(68vw, 650px);
    min-height: 520px;
  }

  .game-card__content {
    padding: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }

  .game-card--media-right .game-card__content {
    border-right: 0;
  }

  .studio-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-process li:nth-child(2) {
    border-right: 1px solid rgba(8, 10, 15, 0.24);
  }

  .studio-process li:nth-child(n + 3) {
    border-top: 1px solid rgba(8, 10, 15, 0.24);
  }

  .contact-link {
    margin-top: 24px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr auto;
  }

  .site-footer p,
  .site-footer nav {
    order: 3;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 32px);
    --radius-xl: 28px;
  }

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

  .site-header {
    top: 10px;
    width: calc(100vw - 20px);
    min-height: 66px;
    padding: 8px 9px 8px 12px;
    border-radius: 20px;
    background: rgba(8, 10, 15, 0.74);
    backdrop-filter: blur(16px);
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__name {
    font-size: 0.66rem;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    z-index: 1;
    top: -10px;
    right: -10px;
    left: -10px;
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    padding: 110px 28px 40px;
    visibility: hidden;
    background:
      radial-gradient(circle at 80% 20%, rgba(255, 92, 53, 0.24), transparent 30%),
      #0a0c11;
    opacity: 0;
    transform: translateY(-18px);
    transition:
      opacity 260ms ease,
      transform 260ms var(--ease),
      visibility 260ms;
  }

  .menu-open .primary-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav > a {
    min-height: 68px;
    justify-content: flex-start;
    padding: 0 16px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    font-family: var(--display);
    font-size: 1.75rem;
    font-weight: 400;
    text-transform: uppercase;
  }

  .primary-nav .nav-steam {
    justify-content: center;
    margin: 20px 0 0;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font-family: var(--body);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: none;
  }

  .hero {
    background-size: 42px 42px;
  }

  .hero__grid {
    padding-top: 132px;
    padding-bottom: 100px;
  }

  .hero__title {
    font-size: clamp(3.65rem, 18vw, 6.2rem);
  }

  .hero__title span {
    white-space: normal;
  }

  .hero__lede {
    margin-top: 28px;
    font-size: 0.94rem;
  }

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

  .hero__facts {
    margin-top: 48px;
  }

  .hero__facts > div {
    padding: 0 12px;
  }

  .hero__facts dt {
    font-size: 1.25rem;
  }

  .hero__facts dd {
    font-size: 0.58rem;
  }

  .hero-stage {
    min-height: 530px;
  }

  .hero-stage__orbit {
    width: 500px;
  }

  .hero-stage__label {
    top: 20px;
  }

  .hero-game-card--1 {
    top: 58px;
    left: 2%;
    width: min(68vw, 330px);
  }

  .hero-game-card--2 {
    right: 1%;
    bottom: 36px;
    width: min(48vw, 230px);
  }

  .hero-game-card__meta {
    right: 20px;
    bottom: 22px;
    left: 20px;
    font-size: 0.6rem;
  }

  .hero-game-card__arrow {
    top: 22px;
    right: 22px;
  }

  .hero-stage__signal {
    display: none;
  }

  .games-section,
  .studio-section {
    padding: 100px 0;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .section-heading h2,
  .studio-intro__title,
  .contact-section h2 {
    font-size: clamp(3.15rem, 15vw, 5.3rem);
  }

  .games-list {
    gap: 24px;
  }

  .game-card__media > img:first-child {
    height: 128vw;
    min-height: 480px;
    max-height: 650px;
  }

  .game-card__media-top {
    top: 26px;
    right: 26px;
    left: 26px;
  }

  .trailer-button {
    width: 92px;
    height: 92px;
  }

  .game-card__logo {
    bottom: 26px;
    left: 26px;
    width: 64%;
  }

  .game-card__content {
    padding: 44px 28px 52px;
  }

  .game-card__content h3 {
    font-size: clamp(1.6rem, 8.8vw, 2.7rem);
  }

  .game-card__links {
    align-items: stretch;
    flex-direction: column;
  }

  .game-card__links .button {
    align-self: stretch;
  }

  .game-card__steam-link {
    align-self: flex-start;
  }

  .studio-process {
    grid-template-columns: 1fr;
  }

  .studio-process li,
  .studio-process li:first-child,
  .studio-process li:nth-child(2) {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(8, 10, 15, 0.24);
    border-left: 0;
  }

  .studio-process li:nth-child(n + 3) {
    border-top: 0;
  }

  .studio-process li > div {
    margin-top: 42px;
  }

  .studio-note {
    min-height: 270px;
    padding: 30px;
  }

  .studio-note > span {
    width: 58px;
    height: 58px;
  }

  .contact-section {
    padding: 100px 0;
  }

  .contact-link {
    font-size: 0.9rem;
  }

  .contact-link b {
    width: 48px;
    height: 48px;
  }

  .site-footer__inner {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .site-footer p,
  .site-footer nav {
    order: initial;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  .hero__facts {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
  }

  .hero__facts > div:nth-child(3) {
    display: none;
  }

  .hero-stage {
    min-height: 470px;
  }

  .hero-game-card--1 {
    width: 69vw;
  }

  .hero-game-card--2 {
    width: 47vw;
  }

  .game-card__media > img:first-child {
    min-height: 440px;
  }

  .game-card__media-top > span:first-child {
    display: none;
  }

  .game-card__media-top {
    justify-content: flex-end;
  }

  .studio-note {
    align-items: flex-start;
    flex-direction: column;
  }
}

@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;
  }
}
