@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-normal-300-900.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded Outline";
  src: url("../fonts/unbounded-outline-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded Outline";
  src: url("../fonts/unbounded-outline-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-normal-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-italic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-normal-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-normal-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-mono-normal-300-600.woff2") format("woff2");
  font-weight: 300 600;
  font-stretch: 75% 112.5%;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07080a;
  --bg-1: #0c0e12;
  --bg-2: #13161c;
  --bg-3: #1a1e25;
  --line: rgba(232, 236, 242, 0.09);
  --line-2: rgba(232, 236, 242, 0.2);
  --text: #eef0f3;
  --dim: #a3a9b4;
  --faint: #7d838f;
  --cyan: #12dcdc;
  --cyan-hi: #6ef3f3;
  --cyan-ink: #031f1f;
  --danger: #ff8080;

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --f-outline: "Unbounded Outline", "Unbounded", "Arial Black", sans-serif;

  --header-h: 72px;
  --max: 1440px;
  --gutter: clamp(16px, 4vw, 56px);
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --hvh: max(1svh, 7.6px);
  --cut: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

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

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--cyan);
  color: var(--cyan-ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.cut {
  clip-path: polygon(
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%,
    0 var(--cut)
  );
}

/* ---------- Type ---------- */

.label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.label b {
  font-weight: 500;
  color: var(--cyan);
}

.label--line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.h2 {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.4vw, 4.1rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lead {
  margin: 0;
  font-size: clamp(1.06rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--dim);
  max-width: 54ch;
}

.lead strong {
  color: var(--text);
  font-weight: 500;
}

/* ---------- Buttons ---------- */

.btn {
  --cut: 10px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  min-height: 52px;
  padding: 0 1.45em;
  border: 0;
  background: var(--cyan);
  color: var(--cyan-ink);
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  clip-path: polygon(
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%,
    0 var(--cut)
  );
  transition: background-color 0.25s, color 0.25s;
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  transition: transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--cyan-hi);
}

.btn:hover .icon-arrow {
  transform: translate(2px, -2px);
}

.btn:hover .icon-down {
  transform: translateY(2px);
}

.btn:focus-visible {
  clip-path: none;
}

.btn--ghost {
  background: var(--line-2);
  color: var(--text);
}

.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: var(--bg);
  clip-path: inherit;
  transition: background-color 0.25s;
}

.btn--ghost:hover {
  background: var(--cyan);
}

.btn--ghost:hover::before {
  background: var(--bg-2);
}

.btn--sm {
  --cut: 8px;
  min-height: 42px;
  padding: 0 1.1em;
  font-size: 0.92rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 479px) {
  .btn-row .btn,
  .pack__buy .btn,
  .store-row .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: transform 0.45s var(--ease), background-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: rgba(7, 8, 10, 0.8);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: auto;
}

.brand span {
  font-family: var(--f-display);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  margin-right: -0.4em;
  white-space: nowrap;
}

.nav {
  display: none;
  align-items: center;
  gap: clamp(22px, 2.6vw, 40px);
}

.nav__link {
  position: relative;
  padding: 8px 0;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover,
.nav__link.is-current {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 4px 0 12px;
  border: 0;
  background: none;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-btn__icon {
  position: relative;
  width: 22px;
  height: 10px;
}

.menu-btn__icon::before,
.menu-btn__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.menu-btn__icon::before {
  top: 0;
}

.menu-btn__icon::after {
  top: 8px;
}

.menu-btn[aria-expanded="true"] .menu-btn__icon::before {
  top: 4px;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn__icon::after {
  top: 4px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0s 0.3s;
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s;
}

.mobile-menu__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu__links li {
  border-bottom: 1px solid var(--line);
}

.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 8.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: none;
}

.mobile-menu__links small {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.mobile-menu.is-open .mobile-menu__links li {
  animation: menu-in 0.5s var(--ease) both;
}

.mobile-menu.is-open .mobile-menu__links li:nth-child(2) { animation-delay: 0.04s; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(3) { animation-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(4) { animation-delay: 0.12s; }

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.mobile-menu__foot {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}

.mobile-menu__foot a:not(.btn) {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--dim);
  text-decoration: none;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .menu-btn,
  .mobile-menu {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: calc(var(--header-h) + 18px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(52% 46% at 62% 58%, rgba(18, 220, 220, 0.15), transparent 72%),
    radial-gradient(40% 36% at 78% 20%, rgba(122, 82, 255, 0.13), transparent 70%),
    linear-gradient(180deg, #07080a 0%, #090b10 60%, #07080a 100%);
}

.hero__floor {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -2%;
  height: 58%;
  background-image:
    linear-gradient(rgba(18, 220, 220, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 220, 220, 0.6) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  transform: perspective(380px) rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.75) 40%, transparent 94%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.75) 40%, transparent 94%);
  animation: floor 2.4s linear infinite;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7%;
  background: linear-gradient(to top, var(--bg), transparent);
}

@keyframes floor {
  to {
    background-position: center 64px;
  }
}

.hero__label {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 6px;
  margin: 0;
  padding-inline: var(--edge);
}

.hero__label span:last-child {
  color: var(--faint);
}

.hero__stage {
  --word: min(19vw, calc(var(--hvh) * 24));
  --char-h: clamp(380px, calc(var(--hvh) * 62), 780px);
  position: relative;
  height: calc(var(--word) * 0.98 + var(--char-h));
  margin-top: 22px;
}

.hero__words {
  position: absolute;
  top: 0;
  left: var(--edge);
  right: var(--edge);
  margin: 0;
  font-family: var(--f-display);
  font-size: var(--word);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

.hero__words span {
  display: block;
  animation: word-in 1.1s var(--ease) both;
}

.hero__words span:nth-child(2) {
  animation-delay: 0.08s;
}

@keyframes word-in {
  from {
    opacity: 0;
    transform: translateY(0.25em);
  }
}

.hero__words--solid {
  z-index: 1;
  color: var(--text);
}

.hero__words--outline {
  z-index: 3;
  font-family: var(--f-outline);
  color: transparent;
  -webkit-text-stroke-width: max(2px, calc(var(--word) * 0.014));
  -webkit-text-stroke-color: var(--text);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.hero__char {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 55%;
  width: auto;
  height: var(--char-h);
  max-width: none;
  translate: var(--px, 0) var(--py, 0);
  transform: translateX(-50%);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
  animation: char-in 1.3s var(--ease) 0.12s both;
}

@keyframes char-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(5%) scale(0.97);
  }
}

.hero__intro {
  position: relative;
  z-index: 4;
  padding: 30px var(--edge) 64px;
  animation: word-in 1s var(--ease) 0.35s both;
}

.hero__intro .lead {
  color: var(--text);
  max-width: 38ch;
  margin-bottom: 28px;
}

.hero__intro .lead span {
  color: var(--dim);
}

@media (min-width: 1100px) {
  .hero {
    min-height: calc(var(--hvh) * 100);
    padding-top: 0;
  }

  .hero__label {
    position: absolute;
    top: calc(var(--header-h) + var(--hvh) * 5);
    right: var(--edge);
    padding: 0;
    text-align: right;
  }

  .hero__stage {
    --word: min(17.4vw, calc(var(--hvh) * 28.5), 19.5rem);
    --char-h: min(calc(var(--hvh) * 94), 1080px);
    position: absolute;
    inset: 0;
    height: auto;
    margin: 0;
  }

  .hero__words {
    top: calc(var(--header-h) + var(--hvh) * 5 + 50px);
    text-align: right;
  }

  .hero__char {
    left: calc(var(--edge) + (100vw - 2 * var(--edge)) * 0.24);
  }

  .hero__intro {
    position: absolute;
    right: var(--edge);
    bottom: clamp(32px, calc(var(--hvh) * 7), 88px);
    width: min(500px, 38vw);
    padding: 0;
  }
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  overflow: clip;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: var(--bg);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 70s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marquee li {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 2.4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee li:nth-child(even) {
  font-family: var(--f-outline);
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 240, 243, 0.55);
}

.marquee li::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  background: var(--cyan);
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}

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

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(88px, 11vw, 168px);
}

.section-label {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head {
  display: grid;
  gap: 28px;
  margin-bottom: clamp(44px, 6vw, 84px);
}

.section-head .label {
  margin-bottom: 4px;
}

.section-head__side {
  display: grid;
  gap: 24px;
  align-content: end;
}

@media (min-width: 960px) {
  .section-head {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: 64px;
    align-items: end;
  }

  .section-head .label {
    grid-column: 1 / -1;
  }
}

/* ---------- Gallery ---------- */

.gallery {
  min-width: 0;
}

.gallery__main {
  --cut: 18px;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-2);
}

.gallery__main video,
.gallery__main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__main img {
  animation: fade 0.4s ease both;
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

.gallery__chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(7, 8, 10, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  pointer-events: none;
}

.gallery__chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, var(--cyan));
}

.gallery__toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 8, 10, 0.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.2s;
}

.gallery__toggle:hover {
  background: rgba(7, 8, 10, 0.9);
}

.gallery__toggle svg {
  width: 16px;
  height: 16px;
}

.gallery__toggle .icon-play,
.gallery__toggle.is-paused .icon-pause {
  display: none;
}

.gallery__toggle.is-paused .icon-play {
  display: block;
}

.gallery__main.is-image .gallery__toggle,
.gallery__main.is-image .gallery__chip {
  display: none;
}

.gallery__thumbs {
  display: flex;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.gallery__thumb {
  --cut: 7px;
  position: relative;
  display: block;
  flex: none;
  width: clamp(84px, 10vw, 128px);
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: var(--bg-2);
  opacity: 0.5;
  transition: opacity 0.25s;
}

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

.gallery__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 2px var(--accent, var(--cyan));
  opacity: 0;
  transition: opacity 0.25s;
}

.gallery__thumb:hover {
  opacity: 0.85;
}

.gallery__thumb[aria-pressed="true"] {
  opacity: 1;
}

.gallery__thumb[aria-pressed="true"]::after {
  opacity: 1;
}

.gallery__thumb:focus-visible {
  clip-path: none;
  opacity: 1;
}

.gallery__thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.gallery__thumb-play svg {
  width: 22px;
  height: 22px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(7, 8, 10, 0.7);
}

/* ---------- Game ---------- */

.game {
  display: grid;
  gap: 44px;
}

.game__info {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.game__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.game__meta img {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line-2);
}

.game__meta p {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  line-height: 1.7;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

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

.game__title {
  margin: 0;
}

.game__title img {
  width: min(100%, 440px);
  height: auto;
}

.game__tagline {
  margin: -10px 0 0;
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-block: 1px solid var(--line);
}

.stats div {
  padding: 18px 0 20px;
}

.stats div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.stats dt {
  order: 2;
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.stats dd {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stats div {
  display: flex;
  flex-direction: column;
}

.stats dd small {
  font-size: 0.55em;
  color: var(--cyan);
  margin-left: 2px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.play-badge {
  display: inline-block;
  border-radius: 8px;
  transition: transform 0.25s var(--ease);
}

.play-badge:hover {
  transform: translateY(-2px);
}

.play-badge img {
  height: 54px;
  width: auto;
}

.features {
  display: grid;
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: feature;
}

.feature {
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
  counter-increment: feature;
}

.feature::before {
  content: counter(feature, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--cyan);
}

.feature h3 {
  margin: 14px 0 8px;
  font-family: var(--f-display);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.feature p {
  margin: 0;
  color: var(--dim);
  max-width: 40ch;
}

@media (min-width: 700px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
  }
}

@media (min-width: 1024px) {
  .game {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: start;
  }

  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 48px;
  }
}

/* ---------- Assets ---------- */

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 18px 20px;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(18, 220, 220, 0.1), rgba(18, 220, 220, 0.015));
}

.callout p {
  margin: 0;
  max-width: 34ch;
}

.callout a {
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  white-space: nowrap;
}

.callout a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 6px;
  transition: border-color 0.25s, color 0.25s;
}

.text-link svg {
  width: 14px;
  height: 14px;
}

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

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

.pack {
  --cut: 22px;
  --accent: var(--cyan);
  display: grid;
  gap: 26px;
  padding: clamp(14px, 1.8vw, 26px);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  transform-origin: 50% 0;
  will-change: transform;
}

.pack:nth-child(2) { --i: 1; }
.pack:nth-child(3) { --i: 2; }
.pack:nth-child(4) { --i: 3; }
.pack:nth-child(5) { --i: 4; }

.pack--buzzer { --accent: #ffc83d; }
.pack--leaf { --accent: #4be27f; }
.pack--cyberhero { --accent: #ff4d5e; }
.pack--companions { --accent: #a9abff; }
.pack--goat { --accent: #ff6a4d; }

.pack__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 4px 4px 6px;
}

.pack__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pack__cat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pack__cat::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--accent);
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}

.badge {
  flex: none;
  padding: 6px 9px 5px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.pack__title {
  margin: 20px 0 14px;
  font-family: var(--f-display);
  font-size: clamp(1.55rem, 2.5vw, 2.3rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.pack__pitch {
  margin: 0 0 22px;
  color: var(--dim);
}

.roster {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.roster li {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  grid-template-areas:
    "stage name"
    "stage spec";
  column-gap: 12px;
  row-gap: 2px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.roster__stage {
  grid-area: stage;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.roster__name {
  grid-area: name;
  font-weight: 600;
  line-height: 1.35;
}

.roster__spec {
  grid-area: spec;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  line-height: 1.6;
  color: var(--dim);
}

@media (min-width: 560px) {
  .roster li {
    grid-template-columns: 4.6rem minmax(0, 1fr) auto;
    grid-template-areas: "stage name spec";
  }

  .roster__spec {
    text-align: right;
  }
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 5px 10px;
  background: var(--bg-3);
  font-size: 0.86rem;
  color: var(--dim);
}

.pack__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 26px;
}

.price {
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price small {
  display: block;
  margin-top: 7px;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.price--free {
  color: var(--cyan);
}

.packs__note {
  margin: 28px 0 0;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--faint);
}

@media (min-width: 1024px) {
  .pack {
    grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
    gap: clamp(28px, 3vw, 48px);
  }
}

@media (min-width: 1024px) and (min-height: 760px) {
  .pack {
    position: sticky;
    top: calc(var(--header-h) + 18px + var(--i, 0) * 14px);
  }
}

/* ---------- Studio ---------- */

.statement {
  margin: 30px 0 0;
  max-width: 1120px;
  font-family: var(--f-display);
  font-size: clamp(1.65rem, 3.6vw, 3.35rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.statement span {
  color: var(--faint);
}

.studio__grid {
  display: grid;
  gap: 64px;
  margin-top: clamp(56px, 8vw, 112px);
}

.studio__intro {
  display: grid;
  gap: 40px;
  align-content: start;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.numbers div {
  display: flex;
  flex-direction: column;
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
}

.numbers div:nth-child(odd) {
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.numbers div:nth-child(even) {
  padding-left: 18px;
}

.numbers dd {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.numbers dt {
  order: 2;
  margin-top: 10px;
  font-size: 0.96rem;
  line-height: 1.4;
  color: var(--dim);
}

.specs {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: spec;
}

.spec {
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  counter-increment: spec;
}

.spec::before {
  content: counter(spec, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--cyan);
}

.spec h3 {
  margin: 12px 0 8px;
  font-family: var(--f-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.spec p {
  margin: 0;
  color: var(--dim);
}

.specs__title {
  margin: 0 0 22px;
}

@media (min-width: 700px) {
  .specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 44px;
  }
}

@media (min-width: 1024px) {
  .studio__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(56px, 7vw, 120px);
  }

  .studio__intro {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
  }
}

.quote {
  display: grid;
  gap: 26px;
  margin: clamp(80px, 10vw, 150px) 0 0;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.quote__mark {
  font-family: var(--f-display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.7;
  color: var(--cyan);
}

.quote blockquote {
  margin: 0;
}

.quote blockquote p {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.quote figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.quote figcaption a {
  color: var(--text);
  text-underline-offset: 4px;
}

@media (min-width: 1024px) {
  .quote {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .quote figcaption {
    grid-column: 2;
  }
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  gap: 56px;
}

.contact__title {
  margin: 26px 0 28px;
  font-family: var(--f-display);
  font-size: clamp(3.4rem, 8.4vw, 7.6rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.contact__title span {
  color: var(--cyan);
}

.mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 36px;
}

.mail__link {
  padding-bottom: 4px;
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 2.1vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0 2px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.4s var(--ease);
  overflow-wrap: anywhere;
}

.mail__link:hover {
  background-size: 100% 2px, 100% 1px;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  background: none;
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.2s, border-color 0.2s;
}

.copy-btn svg {
  width: 14px;
  height: 14px;
}

.copy-btn:hover,
.copy-btn.is-done {
  color: var(--cyan);
  border-color: var(--cyan);
}

.form {
  --cut: 22px;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 40px);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
}

.form__row {
  display: grid;
  gap: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a3a9b4' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(18, 220, 220, 0.16);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--danger);
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form__note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--faint);
  max-width: 34ch;
}

.form__note a {
  color: var(--dim);
  text-underline-offset: 3px;
  white-space: nowrap;
}

.form__status {
  margin: 0;
  font-size: 0.98rem;
}

.form__status:empty {
  display: none;
}

.form__status.is-ok {
  color: var(--cyan);
}

.form__status.is-error {
  color: var(--danger);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 600px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  overflow: clip;
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 7vw, 88px);
}

.footer__grid {
  display: grid;
  gap: 40px;
}

.footer__brand p {
  margin: 18px 0 0;
  color: var(--dim);
  max-width: 30ch;
}

.footer__col h2 {
  margin: 0 0 16px;
  font-family: var(--f-mono);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.footer__col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__col a {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 64px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.footer__bottom a {
  color: var(--dim);
  text-decoration: none;
}

.footer__bottom a:hover {
  color: var(--cyan);
}

.footer__word {
  margin: 8px 0 -0.16em;
  font-family: var(--f-outline);
  font-size: 9.6vw;
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 240, 243, 0.13);
  user-select: none;
}

@media (min-width: 800px) {
  .footer__grid {
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Trailer dialog ---------- */

.trailer {
  width: min(1200px, calc(100vw - 2 * var(--gutter)));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}

.trailer::backdrop {
  background: rgba(3, 4, 6, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.trailer[open] {
  animation: dialog-in 0.35s var(--ease) both;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

.trailer__frame {
  --cut: 18px;
  background: #000;
}

.trailer video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.trailer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.trailer__bar .label {
  color: var(--text);
}

.trailer__close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trailer__close:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.trailer__close svg {
  width: 14px;
  height: 14px;
}

/* ---------- Simple pages ---------- */

.page {
  padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(80px, 10vw, 140px);
}

.page__title {
  margin: 22px 0 18px;
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.legal {
  max-width: 760px;
}

.legal h2 {
  margin: 48px 0 12px;
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.legal p {
  margin: 0 0 14px;
  color: var(--dim);
}

.legal a {
  color: var(--cyan);
  text-underline-offset: 3px;
}

.notfound {
  min-height: calc(var(--hvh) * 100);
  display: grid;
  align-content: center;
}

.notfound .lead {
  margin-bottom: 32px;
}

.notfound .page__title {
  font-family: var(--f-outline);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(5rem, 20vw, 16rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 240, 243, 0.5);
}

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .marquee__track {
    animation: none;
  }

  .marquee ul[aria-hidden] {
    display: none;
  }

  .marquee__track {
    flex-wrap: wrap;
    width: auto;
    padding-inline: var(--gutter);
  }
}
