:root {
  color-scheme: light;
  --bg: #f4f3f7;
  --bg-hero: #f2f0f9;
  --bg-alt: #eeecf4;
  --bg-contact: #eae5f7;
  --surface: #fdfdfd;
  --surface-2: #eceaf3;
  --menubar: #f9f8fb;
  --text: #22212b;
  --text-muted: #6b687b;
  --text-soft: #8a8798;
  --border: #dcd9e7;
  --tag-bg: #ebe9f2;
  --accent: #7057e8;
  --accent-hover: #5f47d9;
  --accent-text: #7057e8;
  --accent-soft: #ebe7fb;
  --on-accent: #ffffff;
  --success: #64bf8a;
  --hero-glow: rgba(112, 87, 232, 0.14);
  --shadow-card: 0 24px 60px -24px rgba(48, 34, 120, 0.25), 0 2px 6px rgba(48, 34, 120, 0.05);
  --font-sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: JetBrains Mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1264px;
  --gutter: 24px;
  --header-h: 80px;
}
@media (min-width: 1024px) {
  :root {
    --header-h: 96px;
  }
}

[data-theme=dark] {
  color-scheme: dark;
  --bg: #141419;
  --bg-hero: #1a1922;
  --bg-alt: #1a1921;
  --bg-contact: #252030;
  --surface: #1f1f25;
  --surface-2: #1b1a22;
  --menubar: #1c1c22;
  --text: #f3f1fa;
  --text-muted: #aca8ba;
  --text-soft: #85818f;
  --border: #34313f;
  --tag-bg: #2a2833;
  --accent-text: #9d8cf5;
  --accent-soft: rgba(157, 140, 245, 0.16);
  --hero-glow: rgba(112, 87, 232, 0.2);
  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
  padding: 0;
}

@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;
  }
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  font-feature-settings: "cv11", "ss01";
  transition: background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

h1,
h2,
h3 {
  font-weight: 600;
  color: var(--text);
}

p {
  color: var(--text-muted);
}

.mono {
  font-family: var(--font-mono);
}

.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
  color: var(--accent-text);
  font-weight: 500;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(36px, 7vw, 52px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 768px) {
  .container {
    --gutter: 40px;
  }
}
@media (min-width: 1024px) {
  .container {
    --gutter: 88px;
    max-width: calc(var(--container) + 176px);
  }
}

.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-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
}
.skip-link:focus {
  top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 48px;
  padding-inline: 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition-property: background-color, border-color, color, transform, box-shadow;
  transition-duration: 0.18s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  height: 40px;
  font-size: 14px;
}
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 8px 20px -10px rgba(112, 87, 232, 0.7);
}
.btn--primary:hover {
  background: var(--accent-hover);
}
.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
[data-theme=dark] .btn--ghost {
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--accent);
}
.btn:hover .icon-arrow-down {
  transform: translateY(2px);
}
.btn:hover .icon-arrow-ne {
  transform: translate(2px, -2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-text);
}
.link-arrow svg {
  width: 11px;
  height: 11px;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.link-arrow:hover svg {
  transform: translate(2px, -2px);
}
.link-arrow--plain {
  color: var(--text);
  font-weight: 500;
}

.window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 43px;
  padding-inline: 15px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.window__title {
  font-size: 12.5px;
  color: var(--text);
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.window__meta {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: auto;
  color: var(--text-muted);
  white-space: nowrap;
}
@media (max-width: 767.98px) {
  .window__meta {
    display: none;
  }
}
.window--shadow {
  box-shadow: var(--shadow-card);
}

.traffic {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.traffic span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.traffic span:nth-child(1) {
  background: #ff5f57;
}
.traffic span:nth-child(2) {
  background: #febc2e;
}
.traffic span:nth-child(3) {
  background: #28c840;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--tag-bg);
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(100, 191, 138, 0.6);
  animation: pulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(100, 191, 138, 0.55);
  }
  70%, 100% {
    box-shadow: 0 0 0 7px rgba(100, 191, 138, 0);
  }
}
.theme-toggle {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}
[data-theme=dark] .theme-toggle {
  background: transparent;
}
.theme-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-theme=dark] .theme-toggle::before {
  transform: translateX(30px);
}
@media (max-width: 575.98px) {
  [data-theme=dark] .theme-toggle::before {
    transform: translateX(28px);
  }
}
@media (max-width: 575.98px) {
  .theme-toggle::before {
    width: 24px;
    height: 24px;
  }
  .theme-toggle__btn {
    width: 24px !important;
    height: 24px !important;
  }
}
.theme-toggle__btn {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--text);
  transition-property: color;
  transition-duration: 0.18s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.theme-toggle__btn svg {
  width: 15px;
  height: 15px;
}
.theme-toggle__btn[aria-pressed=true] {
  color: var(--accent-text);
}

.lang-toggle {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}
[data-theme=dark] .lang-toggle {
  background: transparent;
}
.lang-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent-soft);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
:root[lang=en] .lang-toggle::before {
  transform: translateX(30px);
}
@media (max-width: 575.98px) {
  :root[lang=en] .lang-toggle::before {
    transform: translateX(28px);
  }
}
@media (max-width: 575.98px) {
  .lang-toggle::before {
    width: 24px;
    height: 24px;
  }
  .lang-toggle__btn {
    width: 24px !important;
    height: 24px !important;
  }
}
.lang-toggle__btn {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  transition-property: color;
  transition-duration: 0.18s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.lang-toggle__btn:hover {
  color: var(--text);
}
.lang-toggle__btn[aria-pressed=true] {
  color: var(--accent-text);
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}
.project-card__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding-inline: 15px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.project-card__repo {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project-card__badge {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  white-space: nowrap;
}
.project-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 21px 21px;
}
.project-card__title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.project-card__desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.project-card .tags {
  margin-bottom: 20px;
}
.project-card__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: auto;
}
.project-card--featured {
  background: radial-gradient(120% 90% at 100% 0%, var(--hero-glow), transparent 60%), var(--surface);
}
.project-card--featured .project-card__title {
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.project-card--featured .project-card__desc {
  font-size: 15px;
  max-width: 520px;
}
@media (min-width: 768px) {
  .project-card--featured .project-card__body {
    padding: 30px 30px 28px;
  }
}

.gallery {
  position: relative;
  background: #0d0e14;
}
.gallery__main {
  transition: opacity 0.18s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery__main.is-switching {
  opacity: 0;
}
.gallery__thumbs {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  display: flex;
  gap: 5px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(10, 11, 18, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@media (min-width: 768px) {
  .gallery__thumbs {
    left: 16px;
    bottom: 16px;
    gap: 8px;
  }
}
.gallery__thumb {
  position: relative;
  width: 40px;
  aspect-ratio: 16/10;
  border-radius: 5px;
  overflow: hidden;
  opacity: 0.6;
  outline: 2px solid transparent;
  outline-offset: 0;
  transition: opacity 0.18s, outline-color 0.18s, transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) {
  .gallery__thumb {
    width: 68px;
  }
}
.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__thumb:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.gallery__thumb.is-active {
  opacity: 1;
  outline-color: #fff;
}
.gallery__thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.teaser {
  position: relative;
  overflow: hidden;
  padding: 26px 22px 28px;
  border-radius: 14px;
  border: 1px solid #2a2433;
  background: radial-gradient(70% 90% at 85% 15%, rgba(214, 170, 120, 0.14), transparent 60%), radial-gradient(60% 80% at 10% 100%, rgba(112, 87, 232, 0.18), transparent 65%), #120f17;
  color: #efe7dc;
}
@media (min-width: 768px) {
  .teaser {
    padding: 34px 36px 38px;
  }
}
@media (min-width: 768px) {
  .teaser {
    grid-column: 1/-1;
  }
}
.teaser::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.teaser > * {
  position: relative;
  z-index: 1;
}
.teaser__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.teaser__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8c99b;
}
.teaser__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e0574f;
  animation: rec 1.6s steps(1) infinite;
}
.teaser__count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(239, 231, 220, 0.5);
}
.teaser__grid {
  display: grid;
  gap: 22px;
}
@media (min-width: 1024px) {
  .teaser__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: end;
  }
}
.teaser__date {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(239, 231, 220, 0.55);
  margin-bottom: 12px;
}
.teaser__title {
  font-size: clamp(48px, 13vw, 96px);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #f4ece0;
  margin-bottom: 14px;
}
.teaser__tagline {
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  color: #e8c99b;
}
.teaser__story p {
  font-size: 15px;
  line-height: 1.68;
  color: rgba(239, 231, 220, 0.78);
}
.teaser__story p + p {
  margin-top: 12px;
}
.teaser__story .tags {
  margin-block: 20px 20px;
}
.teaser__story .tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(239, 231, 220, 0.8);
}
.teaser__story .link-arrow {
  color: #e8c99b;
}

@keyframes rec {
  50% {
    opacity: 0.2;
  }
}
.terminal .window__bar {
  height: 43px;
}
.terminal__body {
  padding: 20px 19px 22px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 24px;
  min-height: 124px;
}
.terminal__prompt {
  color: var(--text-muted);
}
.terminal__ok {
  color: var(--accent-text);
}
.terminal__wait {
  color: var(--text);
}
.terminal__line {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.terminal__line.is-visible {
  opacity: 1;
  transform: none;
}
.no-js .terminal__line {
  opacity: 1;
  transform: none;
}
.terminal__cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  margin-left: 4px;
  vertical-align: -2px;
  background: var(--text);
  animation: blink 1.05s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
.game-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.game-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.game-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.game-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.game-card:hover .game-card__media > img {
  transform: scale(1.04);
}
.game-card__body {
  display: flex;
  flex-direction: column;
  padding: 24px 21px 21px;
}
@media (min-width: 768px) {
  .game-card__body {
    padding: 26px 25px 25px;
  }
}
.game-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.game-card__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.game-card__count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}
.game-card__tagline {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.game-card__desc {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.game-card__features {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.game-card__features li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
}
.game-card__features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
.game-card .tags {
  margin-bottom: 20px;
}
.game-card__role {
  font-size: 12.5px;
  color: var(--text-muted);
}
.game-card__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 18px;
}
.game-card .btn {
  align-self: flex-start;
}
.game-card--featured .window__bar {
  order: -1;
}
@media (min-width: 1024px) {
  .game-card--featured:hover {
    transform: none;
  }
  .game-card--featured .game-card__layout {
    display: grid;
    grid-template-columns: 759fr 503fr;
  }
  .game-card--featured .game-card__media {
    aspect-ratio: auto;
    min-height: 430px;
  }
  .game-card--featured .game-card__body {
    justify-content: center;
    padding: 32px 32px 32px 32px;
  }
  .game-card--featured .game-card__title {
    font-size: 36px;
  }
}
@media (min-width: 1024px) {
  .game-card--reverse .game-card__layout {
    grid-template-columns: 503fr 759fr;
  }
  .game-card--reverse .game-card__media {
    order: 2;
  }
}

.stats {
  display: flex;
  gap: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .stats {
    gap: 62px;
  }
}
.stats__item {
  display: flex;
  flex-direction: column;
}
.stats__value {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}
.stats__label {
  font-size: 11px;
  color: var(--text-muted);
}

.menubar {
  display: none;
}
@media (min-width: 1024px) {
  .menubar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 32px;
    padding-inline: 28px 36px;
    background: var(--menubar);
    border-bottom: 1px solid var(--border);
    font-size: 11.5px;
  }
}
.menubar__left, .menubar__right {
  display: flex;
  align-items: center;
}
.menubar__left {
  gap: 24px;
}
.menubar__left a {
  color: var(--text-muted);
  transition-property: color;
  transition-duration: 0.18s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.menubar__left a:hover {
  color: var(--text);
}
.menubar__logo {
  width: 13px;
  height: 13px;
  color: var(--text);
  margin-right: 6px;
}
.menubar__name {
  font-weight: 600;
  color: var(--text);
}
.menubar__right {
  gap: 16px;
  color: var(--text);
}
.menubar__label {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.menubar__wifi {
  width: 14px;
  height: 14px;
}
.menubar__lang {
  font-size: 11px;
  font-weight: 500;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), backdrop-filter 0.35s;
}
.header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (min-width: 576px) {
  .header__actions {
    gap: 12px;
  }
}
.header__actions .burger {
  margin-left: 6px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  flex-shrink: 0;
}
@media (min-width: 576px) {
  .logo {
    gap: 10px;
    font-size: 19px;
  }
}
.logo {
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
}
.logo__icon svg {
  width: 20px;
  height: 20px;
}
.logo strong {
  font-weight: 500;
}

.nav {
  display: none;
}
@media (min-width: 1024px) {
  .nav {
    display: flex;
    gap: 33px;
    margin-right: auto;
    margin-left: auto;
  }
}
.nav__link {
  position: relative;
  font-size: 14px;
  color: var(--text-muted);
  transition-property: color;
  transition-duration: 0.18s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__link:hover {
  color: var(--text);
}
.nav__link.is-active {
  color: var(--accent-text);
  font-weight: 600;
}

.burger {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--text);
}
@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}
.burger span {
  position: relative;
  display: block;
  width: 18px;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: background-color 0.18s;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.burger span::before {
  transform: translateY(-6px);
}
.burger span::after {
  transform: translateY(6px);
}
.burger[aria-expanded=true] span {
  background: transparent;
}
.burger[aria-expanded=true] span::before {
  transform: rotate(45deg);
}
.burger[aria-expanded=true] span::after {
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 80px 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px var(--gutter);
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
@media (min-width: 1024px) {
  .mobile-nav {
    display: none;
  }
}
.mobile-nav__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}
.mobile-nav__link span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--accent-text);
}
.mobile-nav__link b {
  font-weight: inherit;
}

body.menu-open {
  overflow: hidden;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "copy top" "note note";
  row-gap: 20px;
  margin-top: 48px;
  padding-block: 28px 32px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--text-muted);
}
@media (min-width: 1024px) {
  .footer {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "copy note top";
    align-items: center;
    margin-top: 72px;
    padding-block: 24px 26px;
  }
}
.footer__copy {
  grid-area: copy;
}
.footer__note {
  grid-area: note;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}
.footer__top {
  grid-area: top;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition-property: color;
  transition-duration: 0.18s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.footer__top svg {
  width: 12px;
  height: 12px;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer__top:hover {
  color: var(--text);
}
.footer__top:hover svg {
  transform: translateY(-2px);
}

.page-top {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  background: radial-gradient(60% 55% at 22% 58%, var(--hero-glow), transparent 70%), linear-gradient(180deg, var(--bg-hero) 0%, var(--bg) 100%);
}

.hero {
  padding-block: 8px 40px;
}
@media (min-width: 1024px) {
  .hero {
    padding-block: 52px 68px;
  }
}
.hero__grid {
  display: grid;
  gap: 44px;
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 707px;
    gap: 48px;
    align-items: start;
  }
}
@media (min-width: 1024px) {
  .hero__content {
    padding-top: 0;
  }
}
.hero .status {
  margin-bottom: 26px;
}
@media (min-width: 1024px) {
  .hero .status {
    margin-bottom: 30px;
  }
}
.hero__title {
  font-size: clamp(50px, 13vw, 82px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 26px;
}
@media (min-width: 1024px) {
  .hero__title {
    font-size: 82px;
    line-height: 1;
    margin-bottom: 36px;
  }
}
.hero__title span {
  display: block;
}
.hero__lead {
  max-width: 490px;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 26px;
}
@media (min-width: 1024px) {
  .hero__lead {
    font-size: 18px;
    margin-bottom: 26px;
  }
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.hero__ctas .btn {
  flex: 0 0 auto;
}
@media (max-width: 575.98px) {
  .hero__ctas .btn {
    padding-inline: 14px;
    gap: 10px;
    font-size: 14px;
  }
}
.hero__location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.hero__location svg {
  width: 13px;
  height: 13px;
}

@media (min-width: 1024px) {
  .showcase {
    margin-top: 8px;
  }
}
.showcase__screen {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #2b3346;
}
.showcase__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.showcase__screen:hover img {
  transform: scale(1.03);
}
.showcase__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 41px;
  padding-inline: 15px;
  font-size: 11.5px;
}
.showcase__footer .status {
  margin: 0;
  font-size: 11.5px;
  color: var(--text);
}
.showcase__footer .link-arrow {
  font-size: 11.5px;
}

.band {
  border-block: 1px solid var(--border);
}
.band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
@media (min-width: 1024px) {
  .band__inner {
    height: 52px;
    font-size: 11px;
  }
}
.band__aside {
  display: none;
}
@media (min-width: 768px) {
  .band__aside {
    display: inline;
  }
}
.band__arrow {
  display: inline-flex;
  color: var(--accent-text);
  animation: nudge 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.band__arrow svg {
  width: 14px;
  height: 14px;
}
@media (min-width: 768px) {
  .band__arrow {
    display: none;
  }
}

@keyframes nudge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}
.games {
  padding-block: 56px 64px;
}
@media (min-width: 1024px) {
  .games {
    padding-block: 88px 90px;
  }
}
.games__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}
@media (min-width: 1024px) {
  .games__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
  }
}
.games__count {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.games__list {
  display: grid;
  gap: 28px;
}
@media (min-width: 768px) {
  .games__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 37px 25px;
  }
}
@media (min-width: 768px) {
  .games__list .game-card--featured {
    grid-column: 1/-1;
  }
}
.games__foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  font-size: 12.5px;
}
@media (min-width: 1024px) {
  .games__foot {
    margin-top: 38px;
  }
}
.games__foot p {
  max-width: 220px;
}
@media (min-width: 768px) {
  .games__foot p {
    max-width: none;
  }
}

.projects {
  padding-block: 8px 64px;
}
@media (min-width: 1024px) {
  .projects {
    padding-block: 0 96px;
  }
}
.projects__grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) {
  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (min-width: 1024px) {
  .projects__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) {
  .projects__grid .project-card--featured {
    grid-column: 1/-1;
  }
}
@media (min-width: 1024px) {
  .projects__grid .project-card--featured {
    grid-column: span 2;
  }
}

.about {
  padding-block: 44px;
  background: var(--bg-alt);
}
@media (min-width: 1024px) {
  .about {
    padding-block: 64px;
  }
}
.about__body {
  display: grid;
  gap: 26px;
  padding: 20px 19px 20px;
}
@media (min-width: 1024px) {
  .about__body {
    grid-template-columns: 300px 1fr;
    gap: 56px;
    padding: 42px 35px 34px;
  }
}
@media (min-width: 1024px) {
  .about__photo {
    padding-top: 24px;
  }
}
.about__photo img {
  width: 100%;
  aspect-ratio: 310/260;
  object-fit: cover;
  border-radius: 8px;
}
@media (min-width: 1024px) {
  .about__photo img {
    aspect-ratio: 300/316;
  }
}
.about__id {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 14px;
}
.about__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.about__role {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.about__signature {
  font-size: 27px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--accent-text);
  line-height: 1;
}
.about__title {
  font-size: clamp(30px, 8vw, 42px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin-bottom: 22px;
}
@media (min-width: 1024px) {
  .about__title {
    margin-bottom: 30px;
  }
}
.about__title span {
  display: block;
}
.about__text p {
  font-size: 15px;
  line-height: 1.66;
}
.about__text p + p {
  margin-top: 20px;
}
@media (min-width: 1024px) {
  .about__text p + p {
    margin-top: 24px;
  }
}
@media (min-width: 1024px) {
  .about__text p {
    font-size: 14.5px;
  }
}
.about .tags {
  margin-block: 24px 24px;
}

.process {
  padding-block: 56px 60px;
}
@media (min-width: 1024px) {
  .process {
    padding-block: 88px 96px;
  }
}
.process__grid {
  display: grid;
  grid-template-areas: "intro" "steps" "term";
  gap: 34px;
}
@media (min-width: 1024px) {
  .process__grid {
    grid-template-columns: 440px 1fr;
    grid-template-areas: "intro steps" "term  steps";
    grid-template-rows: auto 1fr;
    column-gap: 120px;
    row-gap: 24px;
  }
}
.process__intro {
  grid-area: intro;
}
.process__title {
  font-size: clamp(36px, 9vw, 46px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin-bottom: 20px;
  max-width: 330px;
}
.process__lead {
  font-size: 14.5px;
  line-height: 1.66;
}
.process .terminal {
  grid-area: term;
  align-self: start;
}

.steps {
  grid-area: steps;
  border-top: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .steps {
    margin-top: -6px;
  }
}
.steps__item {
  display: grid;
  grid-template-columns: 46px 1fr;
  padding-block: 26px 28px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .steps__item {
    grid-template-columns: 66px 1fr;
    padding-block: 30px 30px;
  }
}
.steps__item:last-child {
  border-bottom: 0;
}
.steps__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-text);
  padding-top: 4px;
}
.steps__title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 12px;
}
@media (min-width: 1024px) {
  .steps__title {
    font-size: 24px;
    margin-bottom: 14px;
  }
}
.steps__text {
  font-size: 14.5px;
  line-height: 1.72;
}

.contact {
  padding-top: 48px;
  background: var(--bg-contact);
  border-top: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .contact {
    padding-top: 64px;
  }
}
.contact__grid {
  display: grid;
  gap: 22px;
}
@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: 1fr 494px;
    gap: 80px;
    align-items: start;
  }
}
@media (min-width: 1024px) {
  .contact__intro {
    padding-top: 20px;
  }
}
.contact__title {
  font-size: clamp(36px, 9.5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.contact__title span {
  display: block;
}
.contact__text {
  font-size: 14.5px;
  line-height: 1.72;
  margin-block: 20px 22px;
}
@media (min-width: 1024px) {
  .contact__text {
    margin-block: 30px 34px;
  }
}
.contact__mail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--accent-text);
  font-size: clamp(26px, 7vw, 32px);
  letter-spacing: -0.03em;
  color: var(--accent-text);
}
.contact__mail svg {
  width: 20px;
  height: 20px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact__mail:hover svg {
  transform: translate(4px, -4px);
}
.contact__links {
  display: flex;
  gap: 26px;
  margin-top: 20px;
  font-size: 12.5px;
}
.contact__links .link-arrow {
  font-size: 12.5px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
