@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Syne:wght@500;600;700;800&display=swap');

:root {
  --ink: #050508;
  --ink-soft: #0c0c12;
  --surface: #111118;
  --surface-2: #171720;
  --paper: #f4f2ee;
  --text: #f7f7fb;
  --text-soft: #a6a6b4;
  --violet: #8b5cf6;
  --violet-bright: #a78bfa;
  --lime: #c7ff3d;
  --cyan: #4ae8ff;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.24);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --display: "Syne", "Arial Black", sans-serif;
  --body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --container: min(1240px, calc(100% - 48px));
}

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

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(91, 59, 190, 0.15), transparent 30rem),
    var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

img {
  height: auto;
}

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

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

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

button {
  border: 0;
}

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

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  transition: transform 180ms var(--ease-out);
}

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

.noise {
  position: fixed;
  z-index: 9998;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(199, 255, 61, 0.75);
  transition: width 180ms var(--ease-out), height 180ms var(--ease-out), background 180ms var(--ease-out);
}

.cursor-ring.is-active {
  width: 64px;
  height: 64px;
  background: rgba(199, 255, 61, 0.12);
}

.loader {
  position: fixed;
  z-index: 10001;
  inset: 0;
  display: grid;
  place-items: center;
  background: #07070a;
  transition: visibility 0s linear 900ms;
}

.loader::before,
.loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--violet);
  transform: translateY(100%);
}

.loader::after {
  background: var(--ink);
}

.loader.is-done {
  visibility: hidden;
}

.loader.is-done::before {
  animation: loader-wipe 850ms var(--ease-in-out) forwards;
}

.loader.is-done::after {
  animation: loader-wipe 850ms 80ms var(--ease-in-out) forwards;
}

.loader__inner {
  position: relative;
  z-index: 2;
  width: min(380px, calc(100% - 48px));
}

.loader__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.loader__mark {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.07em;
}

.loader__count {
  color: var(--lime);
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 800;
}

.loader__track {
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.loader__bar {
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--lime);
  transition: transform 80ms linear;
}

.page-transition {
  position: fixed;
  z-index: 10000;
  inset: 0;
  pointer-events: none;
  transform: translateY(100%);
  background: var(--violet);
}

.page-transition.is-leaving {
  animation: page-in 620ms var(--ease-in-out) forwards;
}

.scroll-progress {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--lime);
}

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

.section {
  position: relative;
  padding: clamp(5.5rem, 10vw, 9rem) 0;
}

.section--compact {
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.section--paper {
  overflow: hidden;
  background: var(--paper);
  color: #0c0c10;
}

.section--violet {
  overflow: hidden;
  background: var(--violet);
  color: #fff;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) 1.58fr;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 1px;
  content: "";
  background: currentColor;
}

.kicker {
  color: var(--lime);
}

.display-title,
.page-title,
.section-title,
.card-title,
.quote {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.display-title {
  max-width: 10ch;
  font-size: clamp(3.8rem, 9vw, 8.8rem);
}

.page-title {
  max-width: 12ch;
  font-size: clamp(3.6rem, 9vw, 9rem);
}

.section-title {
  max-width: 14ch;
  font-size: clamp(2.5rem, 5.8vw, 5.7rem);
}

.section-title em,
.display-title em,
.page-title em {
  color: var(--violet-bright);
  font-family: "Times New Roman", serif;
  font-weight: 400;
}

.text-stroke {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7);
}

.lede {
  max-width: 650px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}

.section--paper .lede {
  color: #565660;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.85rem 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 250ms var(--ease-out), border-color 250ms var(--ease-out), transform 250ms var(--ease-out);
}

.btn::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  transform: translateY(105%);
  border-radius: inherit;
  background: var(--lime);
  transition: transform 350ms var(--ease-out);
}

.btn:hover,
.btn:focus-visible {
  border-color: var(--lime);
  color: var(--ink);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateY(0);
}

.btn--solid {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.btn--solid::before {
  background: var(--text);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: gap 220ms var(--ease-out), color 220ms var(--ease-out);
}

.text-link:hover {
  gap: 1rem;
  color: var(--lime);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  padding: 1.2rem 0;
  transition: padding 280ms var(--ease-out), background 280ms var(--ease-out), border-color 280ms var(--ease-out);
}

.site-header.is-scrolled {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 8, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  position: relative;
  z-index: 1002;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo__mark {
  position: relative;
  width: 30px;
  height: 30px;
  transform: rotate(45deg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px 2px 8px 2px;
}

.logo__mark::before {
  position: absolute;
  inset: 6px;
  content: "";
  border-radius: 50%;
  background: var(--lime);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  padding: 0.55rem 0;
  color: #d1d1d9;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0.15rem;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--lime);
  transition: transform 250ms var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a[aria-current="page"] {
  color: #fff;
}

.menu-toggle {
  position: relative;
  z-index: 1002;
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(5, 5, 8, 0.7);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before {
  width: 20px;
  height: 1px;
  content: "";
  background: #fff;
  transition: transform 250ms var(--ease-out);
}

.menu-toggle span {
  transform: translateY(3px);
}

.menu-toggle::before {
  position: absolute;
  transform: translateY(-4px);
}

.menu-open .menu-toggle::before {
  transform: rotate(45deg);
}

.menu-open .menu-toggle span {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  padding: 9.5rem 0 3rem;
  background: #090910;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 5, 8, 0.96) 0%, rgba(5, 5, 8, 0.52) 43%, rgba(5, 5, 8, 0.08) 78%),
    linear-gradient(0deg, rgba(5, 5, 8, 0.9) 0%, transparent 45%);
}

.hero__media img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

.hero__grid {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 7vw 7vw;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, transparent 85%);
  mask-image: linear-gradient(to bottom, transparent, black 30%, transparent 85%);
}

.hero__content {
  position: relative;
  z-index: 3;
  display: grid;
  width: var(--container);
  margin-inline: auto;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
}

.hero__kicker {
  margin-bottom: 1.2rem;
}

.hero__title {
  max-width: 820px;
}

.hero__title span {
  display: block;
}

.hero__bottom {
  display: flex;
  max-width: 800px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
}

.hero__copy {
  max-width: 450px;
  margin: 0;
  color: #bebeca;
}

.hero__side {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #c6c6d0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

.hero__side::after {
  width: 1px;
  height: 80px;
  content: "";
  background: rgba(255, 255, 255, 0.4);
}

.orb {
  position: absolute;
  z-index: 2;
  top: 22%;
  right: 9%;
  width: clamp(90px, 12vw, 180px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(140, 92, 246, 0.08);
  box-shadow: inset 0 0 60px rgba(167, 139, 250, 0.25), 0 0 70px rgba(139, 92, 246, 0.17);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.orb::before,
.orb::after {
  position: absolute;
  border: 1px solid rgba(199, 255, 61, 0.6);
  border-radius: 50%;
  content: "";
}

.orb::before {
  inset: 18%;
}

.orb::after {
  inset: 43%;
  background: var(--lime);
}

.marquee {
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
}

.marquee__track {
  display: flex;
  min-width: max-content;
  align-items: center;
  animation: marquee 26s linear infinite;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem 2rem;
  color: #d9d9e0;
  font-family: var(--display);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.marquee__item::after {
  width: 7px;
  height: 7px;
  content: "";
  transform: rotate(45deg);
  background: var(--lime);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.game-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.game-card:nth-child(1) {
  grid-column: span 7;
}

.game-card:nth-child(2) {
  grid-column: span 5;
}

.game-card:nth-child(3) {
  grid-column: 4 / span 6;
}

.game-card__media,
.game-card__media::after {
  position: absolute;
  inset: 0;
}

.game-card__media::after {
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(4, 4, 8, 0.96) 100%);
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out), filter 500ms var(--ease-out);
}

.game-card:hover .game-card__media img,
.game-card:focus-within .game-card__media img {
  transform: scale(1.055);
  filter: saturate(1.18);
}

.game-card__top,
.game-card__content {
  position: absolute;
  z-index: 2;
  right: 1.5rem;
  left: 1.5rem;
}

.game-card__top {
  top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.game-card__content {
  bottom: 1.5rem;
}

.game-card__meta,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 999px;
  background: rgba(5, 5, 8, 0.45);
  color: #ededf3;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.game-card__number {
  color: var(--lime);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 800;
}

.card-title {
  font-size: clamp(2rem, 4vw, 4.25rem);
}

.game-card__content p {
  max-width: 500px;
  margin: 0.8rem 0 1.25rem;
  color: #c5c5cf;
}

.card-action {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 250ms var(--ease-out), background 250ms var(--ease-out), color 250ms var(--ease-out);
}

.card-action:hover {
  transform: rotate(45deg);
  background: var(--lime);
  color: var(--ink);
}

.card-action svg {
  width: 19px;
  height: 19px;
}

.studio-note {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
}

.studio-note__number {
  display: block;
  margin-bottom: 1rem;
  color: var(--violet);
  font-family: var(--display);
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.8;
}

.studio-note__copy {
  max-width: 760px;
}

.studio-note__copy p:first-child {
  margin-top: 0;
  color: #15151a;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.studio-note__copy p:not(:first-child) {
  max-width: 650px;
  color: #55555f;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 4rem;
  border-top: 1px solid #cfcdd0;
}

.stat {
  padding: 2rem 1.2rem 1rem 0;
  border-right: 1px solid #cfcdd0;
}

.stat:not(:first-child) {
  padding-left: 1.2rem;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  letter-spacing: -0.07em;
  line-height: 1;
}

.stat span {
  color: #5c5c65;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manifesto {
  padding: clamp(5rem, 11vw, 10rem) 0;
}

.manifesto__line {
  margin: 0;
  color: #4b4b58;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6.4vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.manifesto__line span {
  color: var(--text);
}

.manifesto__line em {
  color: var(--lime);
  font-family: "Times New Roman", serif;
  font-weight: 400;
}

.process-grid,
.values-grid,
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.process-card,
.value-card,
.perk-card {
  min-height: 310px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--ink-soft);
  transition: background 280ms var(--ease-out), transform 280ms var(--ease-out);
}

.process-card:hover,
.value-card:hover,
.perk-card:hover {
  background: var(--surface-2);
}

.process-card__num {
  display: block;
  margin-bottom: 5rem;
  color: var(--lime);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 800;
}

.process-card h3,
.value-card h3,
.perk-card h3 {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.process-card p,
.value-card p,
.perk-card p {
  margin: 0;
  color: var(--text-soft);
}

.page-hero {
  position: relative;
  display: flex;
  min-height: 76svh;
  align-items: flex-end;
  overflow: hidden;
  padding: 10rem 0 4rem;
  border-bottom: 1px solid var(--line);
}

.page-hero--image {
  min-height: 88svh;
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 5, 8, 0.94), rgba(5, 5, 8, 0.45) 58%, rgba(5, 5, 8, 0.2)), linear-gradient(0deg, var(--ink), transparent 55%);
}

.page-hero__media img {
  width: 100%;
  height: 110%;
  object-fit: cover;
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  color: #a8a8b4;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero__intro {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: end;
}

.page-hero__intro .lede {
  justify-self: end;
}

.filter-bar {
  position: sticky;
  z-index: 30;
  top: 70px;
  display: flex;
  gap: 0.7rem;
  padding: 1rem 0;
  overflow-x: auto;
  background: rgba(5, 5, 8, 0.9);
  scrollbar-width: none;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  min-width: max-content;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #b9b9c4;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 220ms var(--ease-out), color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.filter-btn.is-active,
.filter-btn:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.games-list {
  display: grid;
  gap: 1.2rem;
}

.game-row {
  display: grid;
  min-height: 520px;
  grid-template-columns: 1.35fr 0.65fr;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}

.game-row.is-hidden {
  display: none;
}

.game-row__media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.game-row__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 60%, var(--surface));
}

.game-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out);
}

.game-row:hover .game-row__media img {
  transform: scale(1.035);
}

.game-row__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.7rem, 4vw, 3.2rem);
}

.game-row__content h2 {
  margin: 1.4rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.game-row__content p {
  color: var(--text-soft);
}

.game-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.game-facts span {
  display: block;
  color: #7f7f8e;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-facts strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9rem;
}

.modal {
  position: fixed;
  z-index: 10005;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: 1.5rem;
  background: rgba(2, 2, 5, 0.88);
  opacity: 0;
  transition: opacity 250ms var(--ease-out), visibility 0s linear 250ms;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.modal__panel {
  position: relative;
  display: grid;
  width: min(1050px, 100%);
  max-height: min(760px, calc(100svh - 48px));
  grid-template-columns: 1fr 1fr;
  overflow: auto;
  border: 1px solid var(--line-strong);
  background: var(--ink-soft);
  box-shadow: var(--shadow);
  transform: translateY(24px) scale(0.98);
  transition: transform 350ms var(--ease-out);
}

.modal.is-open .modal__panel {
  transform: translateY(0) scale(1);
}

.modal__image {
  min-height: 560px;
  background: var(--surface);
}

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

.modal__content {
  padding: clamp(2rem, 5vw, 4rem);
}

.modal__content h2 {
  margin: 1rem 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.modal__content p {
  color: var(--text-soft);
}

.modal__close {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(5, 5, 8, 0.72);
  cursor: pointer;
}

.modal__close svg {
  width: 20px;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 8vw, 8rem);
}

.story-grid__aside {
  position: sticky;
  top: 120px;
  align-self: start;
}

.story-grid__body p {
  margin: 0 0 2rem;
  color: #34343b;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.7vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.story-grid__body p + p {
  color: #5d5d66;
  font-family: var(--body);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.7;
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline__item {
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline__year {
  color: var(--lime);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 800;
}

.timeline__item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  letter-spacing: -0.04em;
}

.timeline__item p {
  max-width: 650px;
  margin: 0;
  color: var(--text-soft);
}

.quote-wrap {
  position: relative;
  padding: clamp(6rem, 12vw, 12rem) 0;
  overflow: hidden;
  background: var(--violet);
  color: #fff;
}

.quote-wrap::before {
  position: absolute;
  top: -25%;
  right: -5%;
  color: rgba(255, 255, 255, 0.08);
  content: "“";
  font-family: serif;
  font-size: 42vw;
  line-height: 1;
}

.quote {
  position: relative;
  max-width: 18ch;
  font-size: clamp(2.8rem, 6.5vw, 7rem);
}

.quote-credit {
  position: relative;
  margin-top: 2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.roles {
  border-top: 1px solid var(--line);
}

.role {
  border-bottom: 1px solid var(--line);
}

.role__trigger {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.7rem 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.role__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.8rem);
  letter-spacing: -0.045em;
}

.role__meta {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.5rem;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 250ms var(--ease-out), background 250ms var(--ease-out), color 250ms var(--ease-out);
}

.role.is-open .role__icon {
  transform: rotate(45deg);
  background: var(--lime);
  color: var(--ink);
}

.role__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 400ms var(--ease-out);
}

.role.is-open .role__panel {
  grid-template-rows: 1fr;
}

.role__panel-inner {
  overflow: hidden;
}

.role__panel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 0 0 2rem;
}

.role__panel-content p,
.role__panel-content li {
  color: var(--text-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-aside {
  align-self: start;
}

.contact-aside__item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-aside__item span {
  display: block;
  margin-bottom: 0.4rem;
  color: #7d7d8b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-aside__item a,
.contact-aside__item strong {
  font-family: var(--display);
  font-size: 1.05rem;
}

.contact-form {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: var(--surface);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.field {
  position: relative;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 0.55rem;
  color: #c9c9d2;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  transition: border-color 180ms var(--ease-out);
}

.field select {
  cursor: pointer;
}

.field select option {
  background: var(--surface);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--lime);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #ff6d84;
}

.field__error {
  min-height: 1.35rem;
  margin-top: 0.35rem;
  color: #ff91a2;
  font-size: 0.75rem;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.form-note {
  max-width: 420px;
  margin: 0;
  color: #7f7f8c;
  font-size: 0.78rem;
}

.toast {
  position: fixed;
  z-index: 10010;
  right: 1.5rem;
  bottom: 1.5rem;
  width: min(380px, calc(100% - 3rem));
  padding: 1rem 1.2rem;
  border: 1px solid rgba(199, 255, 61, 0.5);
  background: #111217;
  box-shadow: var(--shadow);
  color: #fff;
  transform: translateY(140%);
  transition: transform 400ms var(--ease-out);
}

.toast.is-visible {
  transform: translateY(0);
}

.toast strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--lime);
  font-family: var(--display);
}

.cta-block {
  position: relative;
  padding: clamp(5rem, 12vw, 11rem) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-block::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 800px);
  aspect-ratio: 1;
  content: "";
  transform: translate(-50%, -50%);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 50%;
  box-shadow: inset 0 0 100px rgba(139, 92, 246, 0.08), 0 0 120px rgba(139, 92, 246, 0.08);
}

.cta-block__content {
  position: relative;
}

.cta-block h2 {
  max-width: 10ch;
  margin: 0 auto 2rem;
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 8rem);
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #030305;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-brand p {
  max-width: 390px;
  color: var(--text-soft);
}

.footer-title {
  margin: 0 0 1rem;
  color: #7f7f8b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
}

.footer-links a {
  width: max-content;
  color: #d8d8df;
  transition: color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.footer-links a:hover {
  color: var(--lime);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: #777783;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-reveal] {
  transform: translateY(40px);
  opacity: 0;
  transition: transform 800ms var(--ease-out), opacity 700ms var(--ease-out);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal].is-visible {
  transform: translate(0, 0);
  opacity: 1;
}

[data-reveal-delay="1"] { transition-delay: 100ms; }
[data-reveal-delay="2"] { transition-delay: 200ms; }
[data-reveal-delay="3"] { transition-delay: 300ms; }

.empty-state {
  display: none;
  padding: 5rem 1rem;
  border: 1px solid var(--line);
  color: var(--text-soft);
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

@keyframes loader-wipe {
  0% { transform: translateY(100%); }
  50%, 100% { transform: translateY(-100%); }
}

@keyframes page-in {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}

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

@media (max-width: 980px) {
  :root {
    --container: min(100% - 36px, 900px);
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    z-index: 1001;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    background: #09090d;
    opacity: 0;
    transition: opacity 350ms var(--ease-out), visibility 0s linear 350ms;
  }

  .nav-links::before {
    position: absolute;
    top: 20%;
    left: 10%;
    color: rgba(255, 255, 255, 0.04);
    content: "MENU";
    font-family: var(--display);
    font-size: 22vw;
    font-weight: 800;
  }

  .menu-open .nav-links {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }

  .nav-links a {
    font-family: var(--display);
    font-size: clamp(1.8rem, 7vw, 4rem);
    letter-spacing: -0.04em;
    text-transform: none;
  }

  .section-head,
  .page-hero__intro,
  .story-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .page-hero__intro .lede {
    justify-self: start;
  }

  .game-card:nth-child(n) {
    grid-column: span 6;
  }

  .game-card:nth-child(3) {
    grid-column: 2 / span 5;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1px solid #cfcdd0;
  }

  .process-grid,
  .values-grid,
  .perks-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-card:last-child,
  .value-card:last-child,
  .perk-card:last-child {
    grid-column: 1 / -1;
  }

  .game-row {
    grid-template-columns: 1fr;
  }

  .game-row__media::after {
    background: linear-gradient(0deg, var(--surface), transparent 45%);
  }

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

  .modal__image {
    min-height: 320px;
    max-height: 45svh;
  }

  .story-grid__aside {
    position: static;
  }

  .footer-top {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (max-width: 700px) {
  :root {
    --container: calc(100% - 28px);
  }

  .section {
    padding: 4.5rem 0;
  }

  .display-title,
  .page-title {
    font-size: clamp(3.1rem, 15vw, 5.4rem);
  }

  .hero {
    min-height: 850px;
    padding-top: 8rem;
  }

  .hero__media::before {
    background: linear-gradient(0deg, rgba(5, 5, 8, 0.98) 0%, rgba(5, 5, 8, 0.42) 60%, rgba(5, 5, 8, 0.3));
  }

  .hero__media img {
    object-position: 64% center;
  }

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

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

  .hero__side,
  .orb {
    display: none;
  }

  .game-card:nth-child(n) {
    min-height: 470px;
    grid-column: 1 / -1;
  }

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

  .studio-note__number {
    font-size: 7rem;
  }

  .stats-grid,
  .process-grid,
  .values-grid,
  .perks-grid,
  .form-grid,
  .role__panel-content {
    grid-template-columns: 1fr;
  }

  .stat:nth-child(n) {
    padding: 1.5rem 0;
    border-top: 1px solid #cfcdd0;
    border-right: 0;
  }

  .stat:first-child {
    border-top: 0;
  }

  .process-card:last-child,
  .value-card:last-child,
  .perk-card:last-child {
    grid-column: auto;
  }

  .page-hero {
    min-height: 680px;
    padding-top: 8.5rem;
  }

  .page-hero__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .filter-bar {
    top: 66px;
  }

  .game-row {
    min-height: auto;
  }

  .game-row__media {
    min-height: 340px;
  }

  .modal {
    padding: 0;
  }

  .modal__panel {
    width: 100%;
    max-height: 100svh;
    min-height: 100svh;
    border: 0;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .form-footer,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

@media (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

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

  [data-reveal] {
    transform: none;
    opacity: 1;
  }

  .hero__media img,
  .page-hero__media img {
    transform: none !important;
  }
}
