/* Performe - night studio stylesheet */

:root {
  --ink: #0e0c0a;
  --ink-2: #13110e;
  --ink-3: #1b1814;
  --ink-4: #25211c;
  --ivory: #ede6d8;
  --ivory-dim: #d3cbbc;
  --muted: #a59d90;
  --line: rgba(237, 230, 216, .11);
  --line-2: rgba(237, 230, 216, .22);
  --silver: #c9ced6;
  --amber: #e2a04f;
  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(20px, 4.2vw, 64px);
  --gap: clamp(16px, 2vw, 32px);
  --max: 1480px;
  --hh: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--ink);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

.menu-open body { overflow: hidden; }

img, svg, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
em { font-style: italic; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 300;
  padding: 10px 18px; border-radius: 99px;
  background: var(--ivory); color: var(--ink);
  font-size: .9rem; font-weight: 600;
  transform: translate3d(0, -180%, 0);
  transition: transform .4s var(--ease);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.label, .eyebrow, .sec-num, .mono {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- film grain, progress ---------- */

.grain {
  position: fixed; inset: -120px; z-index: 160; pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .93 0 0 0 0 .9 0 0 0 0 .85 0 0 0 1.4 -.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}
@media (prefers-reduced-motion: no-preference) {
  .grain { animation: grain 1.6s steps(6) infinite; }
}
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-48px, 30px, 0); }
  40% { transform: translate3d(36px, -54px, 0); }
  60% { transform: translate3d(-22px, -18px, 0); }
  80% { transform: translate3d(58px, 40px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; pointer-events: none; }
.progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--silver), var(--amber));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- loader ---------- */

.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 140;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px var(--gutter) var(--gutter);
  background: var(--ink-2);
  transition: transform 1.05s var(--ease-io);
}
.is-loaded .loader { transform: translate3d(0, -100%, 0); }
.loader__top { display: flex; justify-content: space-between; gap: 24px; }
.loader__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.loader__word {
  font-family: var(--serif); font-size: clamp(3.6rem, 13vw, 12rem);
  line-height: .86; letter-spacing: -.03em; overflow: hidden; padding-bottom: .04em;
}
.loader__word span { display: inline-block; animation: rise 1s var(--ease) both; }
.loader__line { height: 1px; margin-top: 24px; background: var(--line); overflow: hidden; }
.loader__line i {
  display: block; height: 100%; background: var(--ivory);
  transform-origin: 0 50%; animation: grow .95s var(--ease-io) both;
}
@keyframes rise { from { transform: translate3d(0, 105%, 0); } }
@keyframes grow { from { transform: scaleX(0); } }

/* ---------- buttons, links ---------- */

.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font-size: .95rem; font-weight: 600; letter-spacing: .005em; white-space: nowrap;
  transition: transform .55s var(--ease), color .35s ease, border-color .35s ease;
}
.btn::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 100%;
  width: 150%; aspect-ratio: 1; border-radius: 50%;
  transform: translate3d(-50%, 0, 0) scale(.2);
  opacity: 0;
  transition: transform .7s var(--ease), opacity .35s ease;
}
.btn:hover::before { transform: translate3d(-50%, -62%, 0) scale(1); opacity: 1; }
.btn__label, .btn svg { position: relative; display: inline-block; transition: transform .55s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover .btn__arrow { transform: translate3d(4px, 0, 0); }
.btn--solid { background: var(--ivory); color: var(--ink); }
.btn--solid::before { background: var(--amber); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ivory); }
.btn--ghost::before { background: var(--ivory); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ivory); }
.btn--sm { height: 42px; padding: 0 18px; font-size: .86rem; }
.btn--play { height: 60px; padding: 0 28px 0 22px; gap: 14px; }
.btn--play .play-glyph { width: 22px; height: 22px; }
.btn__two { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: left; }
.btn__two small { font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.btn__two strong { font-size: 1.05rem; font-weight: 700; }

.tlink {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 4px; font-size: .95rem; font-weight: 500; color: var(--ivory);
}
.tlink::before, .tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
}
.tlink::before { background: var(--line-2); }
.tlink::after {
  background: var(--amber); transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }
.tlink svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.tlink:hover svg { transform: translate3d(2px, -2px, 0); }

.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--line-2); border-radius: 50%;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, opacity .3s ease;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover:not(:disabled) { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.icon-btn:disabled { opacity: .3; cursor: default; }

.code {
  display: inline-block; padding: 1px 8px; margin-right: 10px;
  border: 1px solid rgba(226, 160, 79, .45); border-radius: 4px;
  font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--amber);
}

/* ---------- header ---------- */

.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .6s var(--ease); }
.header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(14, 12, 10, .76);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .45s ease;
}
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translate3d(0, -100%, 0); }
.menu-open .header::before { opacity: 0; }
.header__bar { position: relative; display: flex; align-items: center; gap: 32px; height: var(--hh); }

.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__word { font-family: var(--serif); font-size: 1.8rem; line-height: 1; letter-spacing: -.01em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 30px; }
.nav__link {
  position: relative; display: inline-flex; align-items: baseline; gap: 7px;
  padding: 6px 0; font-size: .9rem; font-weight: 500; color: var(--ivory-dim);
  transition: color .3s ease;
}
.nav__num { font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; color: var(--muted); }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--amber); transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease);
}
.nav__link:hover { color: var(--ivory); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__foot { display: none; }
.menu-btn { display: none; }

@media (max-width: 899px) {
  .menu-btn {
    position: relative; z-index: 2; margin-left: auto;
    display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 2px 0 12px;
    font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  }
  .menu-btn__icon { position: relative; width: 26px; height: 11px; }
  .menu-btn__icon i {
    position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
    transition: transform .6s var(--ease);
  }
  .menu-btn__icon i:first-child { top: 0; }
  .menu-btn__icon i:last-child { bottom: 0; }
  .menu-open .menu-btn__icon i:first-child { transform: translate3d(0, 4.75px, 0) rotate(45deg); }
  .menu-open .menu-btn__icon i:last-child { transform: translate3d(0, -4.75px, 0) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; z-index: 1; margin: 0;
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 36px;
    padding: calc(var(--hh) + 24px) var(--gutter) 28px;
    background: var(--ink-2); overflow-y: auto;
    visibility: hidden; transform: translate3d(0, -100%, 0);
    transition: transform .85s var(--ease-io), visibility 0s linear .85s;
  }
  .menu-open .nav { visibility: visible; transform: none; transition: transform .85s var(--ease-io), visibility 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
  .nav__link {
    display: flex; gap: 18px; width: 100%; padding: 12px 0 10px;
    font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 3.8rem); font-weight: 400; line-height: 1.05;
    color: var(--ivory); transform: translate3d(0, 110%, 0);
    transition: transform .9s var(--ease);
  }
  .menu-open .nav__link { transform: none; transition-delay: calc(var(--i) * 70ms + 260ms); }
  .nav__link::after { display: none; }
  .nav__num { font-size: .7rem; color: var(--amber); }
  .nav__cta { align-self: flex-start; opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .6s ease, transform .8s var(--ease); }
  .menu-open .nav__cta { opacity: 1; transform: none; transition-delay: .65s; }
  .nav__foot {
    display: grid; gap: 4px; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em;
    color: var(--muted); opacity: 0; transition: opacity .6s ease;
  }
  .nav__foot a { color: var(--ivory-dim); }
  .menu-open .nav__foot { opacity: 1; transition-delay: .75s; }
}

/* ---------- split text, load and reveal ---------- */

.split .ln { display: block; }
.split .w {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding: 0 .07em .1em; margin: 0 -.07em -.1em;
}
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translate3d(0, 110%, 0); }
.is-loaded .split .w > span {
  transform: none;
  transition: transform 1.25s var(--ease);
  transition-delay: calc(var(--i) * 70ms + var(--base, 120ms));
}

.js [data-load] { opacity: 0; transform: translate3d(0, 22px, 0); }
.is-loaded [data-load] {
  opacity: 1; transform: none;
  transition: opacity 1s ease var(--d, 300ms), transform 1.2s var(--ease) var(--d, 300ms);
}

.js [data-reveal] { opacity: 0; transform: translate3d(0, 36px, 0); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity 1s ease var(--d, 0ms), transform 1.25s var(--ease) var(--d, 0ms);
}

/* ---------- hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: clamp(660px, 100svh, 1100px);
  padding-top: calc(var(--hh) + 40px);
}
.hero .split { --base: 380ms; }
.field { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 62% at 16% 80%, rgba(14, 12, 10, .92) 0%, rgba(14, 12, 10, .6) 45%, rgba(14, 12, 10, 0) 78%),
    linear-gradient(180deg, rgba(14, 12, 10, .65) 0%, rgba(14, 12, 10, 0) 20%, rgba(14, 12, 10, 0) 74%, var(--ink) 100%);
}
.hero__inner {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
  gap: clamp(26px, 3.6vw, 44px); padding-bottom: clamp(36px, 5vw, 64px);
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory-dim); }
.eyebrow__dot {
  width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 4px rgba(226, 160, 79, .16);
}
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 9.4vw, 10.4rem); line-height: .9; letter-spacing: -.028em;
}
.hero__title em, .page-title em, .sec-title em { color: var(--silver); }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 56px; }
.hero__lead { max-width: 47ch; color: var(--ivory-dim); font-size: clamp(1rem, 1.15vw, 1.14rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 36px;
  padding-block: 18px 26px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; color: var(--ivory-dim); }
.hero__scroll i { position: relative; width: 1px; height: 26px; overflow: hidden; background: var(--line-2); }
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--amber);
  transform: translate3d(0, -100%, 0);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll i::after { animation: drip 2.4s var(--ease-io) infinite; }
}
@keyframes drip {
  0% { transform: translate3d(0, -100%, 0); }
  55% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, 100%, 0); }
}
@media (max-width: 760px) {
  .hero__title { font-size: 12.2vw; }
  .hero__row { grid-template-columns: 1fr; }
  .hero__meta span:nth-child(3) { display: none; }
}

/* ---------- marquee ---------- */

.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(16px, 2.2vw, 28px); }
.marquee__track { display: flex; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 64s linear infinite; }
  .marquee.is-paused .marquee__track { animation-play-state: paused; }
}
.marquee__group { display: flex; flex: none; align-items: center; }
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(22px, 3vw, 46px); padding-right: clamp(22px, 3vw, 46px);
  font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 4rem); line-height: 1.1; white-space: nowrap;
}
.marquee__item:nth-child(even) { font-style: italic; color: var(--silver); }
.marquee__item::after {
  content: ""; width: .3em; height: .3em; flex: none;
  border: 1px solid var(--amber); border-radius: 50%;
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- sections ---------- */

.section { position: relative; padding-block: clamp(96px, 13vw, 200px); }
.grid12 {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
.sec-head { row-gap: 22px; margin-bottom: clamp(56px, 8vw, 112px); }
.sec-num { grid-column: 1 / 4; display: flex; align-items: center; gap: 14px; padding-top: .9em; color: var(--ivory-dim); }
.sec-num b { font-weight: 400; color: var(--amber); }
.sec-num i { width: 36px; height: 1px; background: var(--line-2); }
.sec-title {
  grid-column: 4 / -1; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.7rem, 6.4vw, 6.6rem); line-height: .95; letter-spacing: -.022em;
}
.sec-lead { grid-column: 4 / 11; max-width: 54ch; color: var(--muted); font-size: 1.05rem; }
@media (max-width: 899px) {
  .sec-num, .sec-title, .sec-lead { grid-column: 1 / -1; }
  .sec-num { padding-top: 0; }
}

/* about */
.statement {
  grid-column: 4 / -1;
  font-family: var(--serif); font-size: clamp(1.85rem, 3.7vw, 3.75rem); line-height: 1.1; letter-spacing: -.012em;
}
.statement .sw { transition: opacity .25s linear; }
.about__cols {
  grid-column: 4 / -1; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 5vw, 96px);
  margin-top: clamp(56px, 7vw, 100px); padding-top: 40px; border-top: 1px solid var(--line);
}
.about__text p { color: var(--ivory-dim); max-width: 52ch; }
.about__text p + p { margin-top: 1em; }
.kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.kv > div:first-child { padding-top: 0; }
.kv dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kv dd { text-align: right; color: var(--ivory); }
@media (max-width: 899px) {
  .statement, .about__cols { grid-column: 1 / -1; }
  .about__cols { grid-template-columns: 1fr; }
}

/* services */
[data-spot] { position: relative; overflow: hidden; }
.spot {
  position: absolute; left: 0; top: 0; z-index: 0; width: 760px; height: 760px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(236, 222, 194, .09), rgba(236, 222, 194, .035) 55%, rgba(236, 222, 194, 0));
  opacity: 0; transition: opacity .7s ease; will-change: transform;
}
.spot-on .spot { opacity: 1; }
[data-spot] > .wrap { position: relative; z-index: 1; }

.services { background: var(--ink-2); }
.svc-list { border-top: 1px solid var(--line-2); }
.svc { position: relative; row-gap: 16px; padding-block: clamp(30px, 4vw, 54px); border-bottom: 1px solid var(--line-2); }
.svc::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--amber); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1s var(--ease);
}
.svc:hover::after { transform: scaleX(1); }
.svc__num { grid-column: 1 / 4; padding-top: .7em; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; color: var(--muted); }
.svc__title {
  grid-column: 4 / 8; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1; letter-spacing: -.015em;
  transition: transform .8s var(--ease);
}
.svc__title em { color: var(--silver); }
.svc:hover .svc__title { transform: translate3d(14px, 0, 0); }
.svc__body { grid-column: 9 / -1; color: var(--ivory-dim); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li {
  padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 99px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.svc-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 899px) {
  .svc__num, .svc__title, .svc__body { grid-column: 1 / -1; }
  .svc__num { padding-top: 0; }
}

/* games */
.games { padding-bottom: 0; }
.banner__frame { position: relative; overflow: hidden; aspect-ratio: 1024 / 500; background: var(--ink-3); border-radius: 3px; }
.banner__frame picture, .banner__frame img { width: 100%; height: 100%; }
.banner__frame img { object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .banner__frame img { transform: scale(1.14); }
}
.banner__cap {
  display: flex; justify-content: space-between; gap: 16px; padding-top: 14px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.game { row-gap: 56px; margin-top: clamp(56px, 7vw, 104px); }
.game__main { grid-column: 1 / 7; }
.game__side { grid-column: 8 / -1; }
.game__id { display: flex; align-items: center; gap: 20px; }
.game__icon img { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 0 0 1px var(--line-2), 0 22px 44px -14px rgba(0, 0, 0, .7); }
.game__name { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 3vw, 2.8rem); line-height: 1; }
.game__kind { margin-top: 8px; }
.game__pitch {
  margin-top: 36px; max-width: 21ch;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3vw, 2.9rem); line-height: 1.1;
}
.game__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 40px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); }
.facts > div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(even) { padding: 20px 0 20px 22px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin-top: 8px; font-family: var(--serif); font-size: clamp(1.35rem, 1.8vw, 1.7rem); line-height: 1.12; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 11px;
  border: 1px solid var(--line-2); border-radius: 99px; font-size: .86rem; color: var(--ivory-dim);
}
.chips svg { width: 14px; height: 14px; color: var(--amber); }
.game__links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 32px; }
@media (max-width: 899px) {
  .game__main, .game__side { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div:nth-child(even) { padding: 16px 0; border-left: 0; }
  .banner__cap span:last-child { display: none; }
}

/* screenshots reel */
.reel { position: relative; margin-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(96px, 12vw, 180px); }
.reel__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.reel__head .sec-num { padding-top: 0; }
.reel__ctrl { display: flex; align-items: center; gap: 10px; }
.reel__count { min-width: 5ch; margin-right: 10px; font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.reel__count b { font-weight: 500; color: var(--ivory); }
.reel__track {
  position: relative; display: flex; gap: clamp(16px, 2.4vw, 40px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  padding-bottom: 6px; scrollbar-width: none;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__track:focus-visible { outline-offset: -2px; }
.reel__slide { flex: none; width: min(76vw, 360px); scroll-snap-align: start; }
.shot { display: flex; flex-direction: column; gap: 20px; }
.shot__img { overflow: hidden; aspect-ratio: 2 / 3; border-radius: 4px; background: var(--ink-3); box-shadow: 0 0 0 1px var(--line); }
.shot__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.shot:hover .shot__img img { transform: scale(1.04); }
.shot__cap { display: grid; gap: 6px; max-width: 32ch; }
.shot__num { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; color: var(--amber); }
.shot__title { font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.05; }
.shot__txt { font-size: .94rem; color: var(--muted); }
.reel__bar { margin-top: 30px; }
@media (max-width: 560px) {
  .reel__head { gap: 12px; }
  .reel__head .sec-num i { display: none; }
  .reel__ctrl { gap: 6px; }
  .reel__count { margin-right: 6px; }
  .icon-btn { width: 42px; height: 42px; }
}
.reel__progress { height: 1px; overflow: hidden; background: var(--line-2); }
.reel__progress span { display: block; height: 100%; background: var(--ivory); transform: scaleX(0); transform-origin: 0 50%; }

.reel.is-pinned { padding-bottom: 0; }
.reel.is-pinned .reel__sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.reel.is-pinned .reel__track { overflow: visible; scroll-snap-type: none; will-change: transform; }
.reel.is-pinned .reel__slide { width: auto; opacity: .42; transition: opacity .7s ease; }
.reel.is-pinned .reel__slide.is-active { opacity: 1; }
.reel.is-pinned .shot { flex-direction: row; align-items: flex-end; gap: 32px; }
.reel.is-pinned .shot__img { height: min(62vh, 640px); width: calc(min(62vh, 640px) * 2 / 3); flex: none; }
.reel.is-pinned .shot__cap { width: 250px; padding-bottom: 6px; }

/* company */
.ledger { row-gap: 48px; }
.ledger__lead { grid-column: 1 / 5; align-self: start; position: sticky; top: calc(var(--hh) + 28px); }
.ledger__number {
  margin-top: 10px; font-family: var(--serif); font-size: clamp(3.6rem, 7.2vw, 7.4rem);
  line-height: .9; letter-spacing: -.02em; font-variant-numeric: lining-nums;
}
.status {
  display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 30px;
  padding: 5px 14px 5px 12px; border: 1px solid var(--line-2); border-radius: 99px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-dim);
}
.status i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.status i::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--amber); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .status i::after { animation: pulse 2.6s var(--ease) infinite; }
}
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.3); opacity: 0; } }
.ledger__rows { grid-column: 6 / -1; border-top: 1px solid var(--line-2); }
.ledger__row {
  display: grid; grid-template-columns: minmax(150px, 15rem) minmax(0, 1fr); gap: 24px;
  padding-block: 20px; border-bottom: 1px solid var(--line);
}
.ledger__row dt { padding-top: .3em; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ledger__row dd { font-size: 1.04rem; overflow-wrap: anywhere; }
.ledger__row dd a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color .3s ease; }
.ledger__row dd a:hover { text-decoration-color: var(--amber); }
.ledger__strong { font-weight: 600; letter-spacing: .02em; }
@media (max-width: 899px) {
  .ledger__lead, .ledger__rows { grid-column: 1 / -1; }
  .ledger__lead { position: static; }
}
@media (max-width: 560px) {
  .ledger__row { grid-template-columns: 1fr; gap: 6px; }
}

/* contact */
.contact { background: var(--ink-2); }
.contact__email {
  position: relative; display: inline-block; padding-bottom: .06em;
  font-family: var(--serif); font-size: clamp(2rem, 7.4vw, 7.6rem); line-height: 1.02; letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.contact__email::before, .contact__email::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.contact__email::before { background: var(--line-2); }
.contact__email::after { background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease); }
.contact__email:hover::after { transform: scaleX(1); transform-origin: left; }
.contact__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gap);
  margin-top: clamp(56px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--line-2);
}
.contact__grid dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact__grid dd { margin-top: 10px; color: var(--ivory-dim); overflow-wrap: anywhere; }
.contact__grid a { color: var(--ivory); }
.contact__grid a:hover { color: var(--amber); }
@media (max-width: 899px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.footer { position: relative; padding-top: clamp(80px, 9vw, 128px); border-top: 1px solid var(--line); overflow: hidden; }
.footer__grid { row-gap: 48px; }
.footer__brand { grid-column: 1 / 6; }
.footer__legal { margin-top: 24px; max-width: 48ch; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.footer__legal strong { color: var(--ivory-dim); font-weight: 600; }
.footer__col { grid-column: span 2; }
.footer__col:first-of-type { grid-column: 8 / span 2; }
.footer__col h2 { margin-bottom: 18px; }
.footer__col li + li { margin-top: 10px; }
.footer__col a { color: var(--ivory-dim); font-size: .95rem; transition: color .3s ease; }
.footer__col a:hover { color: var(--amber); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px;
  margin-top: clamp(56px, 7vw, 96px); padding-block: 22px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.footer__bottom a:hover { color: var(--ivory); }
.wordmark-wrap { container-type: inline-size; }
.wordmark {
  display: flex; overflow: hidden;
  padding-top: .04em; margin-bottom: -.09em;
  font-family: var(--serif); font-size: 30vw; font-size: 33.8cqw; line-height: 1; letter-spacing: -.035em;
  color: var(--ivory); user-select: none; -webkit-user-select: none;
}
.wordmark span {
  display: inline-block;
  background: linear-gradient(180deg, var(--ivory) 20%, rgba(201, 206, 214, .38) 78%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
@media (max-width: 899px) {
  .footer__brand { grid-column: 1 / -1; }
  .footer__col, .footer__col:first-of-type { grid-column: span 6; }
}

/* ---------- inner pages ---------- */

.page-head { position: relative; padding: calc(var(--hh) + clamp(60px, 9vw, 136px)) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); overflow: hidden; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { transition: color .3s ease; }
.crumbs a:hover { color: var(--ivory); }
.page-title {
  margin-top: 26px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.9rem, 8.6vw, 8.8rem); line-height: .92; letter-spacing: -.026em;
}
.page-meta { margin-top: 26px; }
.page-lead {
  margin-top: 24px; max-width: 26ch;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.14; color: var(--ivory-dim);
}
.gp-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px 56px; }
.gp-icon img { width: clamp(120px, 15vw, 216px); height: auto; border-radius: 22%; box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -20px rgba(0, 0, 0, .8); }
.gp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.gp-banner { padding-top: clamp(48px, 6vw, 88px); }
.gp-reel { margin-top: clamp(56px, 7vw, 96px); padding-bottom: 0; }
@media (max-width: 700px) {
  .gp-head { grid-template-columns: 1fr; }
  .gp-icon { order: -1; }
}

.doc { padding-block: clamp(64px, 8vw, 120px) clamp(96px, 12vw, 180px); }
.doc__aside { grid-column: 1 / 4; align-self: start; position: sticky; top: calc(var(--hh) + 28px); }
.toc { margin-top: 18px; border-left: 1px solid var(--line); }
.toc a {
  display: flex; gap: 12px; margin-left: -1px; padding: 6px 0 6px 18px;
  border-left: 1px solid transparent; font-size: .9rem; color: var(--muted);
  transition: color .3s ease, border-color .3s ease;
}
.toc a span { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; padding-top: .3em; }
.toc a:hover, .toc a.is-current { color: var(--ivory); border-left-color: var(--amber); }
.prose { grid-column: 5 / 12; min-width: 0; }
.prose h2 {
  display: flex; align-items: baseline; gap: 16px; margin: 64px 0 18px;
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1.1;
  scroll-margin-top: calc(var(--hh) + 24px);
}
.prose h2:first-child, .prose .summary + h2 { margin-top: 0; }
.prose h2 .h-num { flex: none; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; color: var(--amber); transform: translate3d(0, -.5em, 0); }
.prose p, .prose li { color: var(--ivory-dim); }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + .card, .prose ul + .card { margin-top: 1em; }
.prose ul:not(.chips) li { position: relative; padding-left: 28px; }
.prose ul:not(.chips) li + li { margin-top: .55em; }
.prose ul:not(.chips) li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 14px; height: 1px; background: var(--amber); }
.prose a { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color .3s ease; }
.prose a:hover { text-decoration-color: var(--amber); }
.prose strong { color: var(--ivory); font-weight: 600; }
.prose code { padding: 2px 7px; border-radius: 4px; background: var(--ink-3); font-family: var(--mono); font-size: .84em; color: var(--silver); overflow-wrap: anywhere; }
.summary { margin-bottom: 64px; padding: 28px 30px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--ink-2); }
.summary p { color: var(--ivory); }
.summary .chips { margin-top: 18px; }
.card { padding: 24px 28px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--ink-2); }
.card p + p { margin-top: 4px; }
.prose .kv { margin-top: 8px; }
.prose .kv dd { color: var(--ivory); }
@media (max-width: 899px) {
  .doc__aside { grid-column: 1 / -1; position: static; margin-bottom: 48px; }
  .prose { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .summary, .card { padding: 22px 20px; }
}

/* 404 */
.nf {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(560px, 88svh, 960px);
  padding: calc(var(--hh) + 64px) 0 clamp(56px, 8vw, 104px);
}
.nf .hero__veil { background: radial-gradient(80% 70% at 20% 85%, rgba(14, 12, 10, .92), rgba(14, 12, 10, .3) 60%, rgba(14, 12, 10, 0) 85%); }
.nf__text { margin-top: 26px; max-width: 48ch; color: var(--ivory-dim); }
.nf .hero__actions { margin-top: 36px; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}
